]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
* stdlib/setenv.c (__add_to_environ):
[thirdparty/glibc.git] / ChangeLog
1 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2
3 * stdlib/setenv.c (__add_to_environ):
4 Dump core quickly if setenv (..., NULL, ...) is called.
5
6 2015-03-13 Roland McGrath <roland@hack.frob.com>
7
8 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
9 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
10 all the necessary asm magic in one place.
11 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12 using those.
13
14 2015-03-13 Carlos O'Donell <carlos@redhat.com>
15
16 [BZ #14906]
17 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18 traced file mtime. Use consistent log message.
19 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20 (register_traced_file): Call install_watches. Always set mtime.
21 (invalidate_cache): Iterate over all trace files. Call install_watches.
22 (inotify_check_files): Don't inline. Handle watching parent
23 directories and configuration file movement in and out.
24 (handle_inotify_events): New function.
25 (main_loop_poll): Call handle_inotify_events.
26 (main_loop_epoll): Likewise.
27 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28 (struct traced_file): Use array of inotify fds. Add parent directory,
29 and basename.
30 (struct database_dyn): Remove unused file_mtime.
31 (init_traced_file): New inline function.
32 (define_traced_file): New macro.
33 * nss/nss_db/db-init.c: Use define_traced_file.
34 (_nss_db_init): Use init_traced_file.
35 * nss/nss_files/files-init.c: Use define_traced_file.
36 (_nss_files_init): Use init_traced_file.
37
38 2015-03-12 Joseph Myers <joseph@codesourcery.com>
39
40 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
41 [_LIBC]: Do not include <stdlib.h>.
42 [!_LIBC] (abort): Remove declaration.
43 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
44 _FP_STATIC_ASSERT instead of conditionally calling abort.
45 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
46 (_FP_EXTEND_CNAN): Likewise.
47 (FP_TRUNC): Likewise.
48 (__FP_CLZ): Likewise.
49 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
50
51 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
52
53 * manual/string.texi (XPG basename): Fix prototype.
54
55 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
56
57 [BZ #18080]
58 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
59 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
60 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
61 (__setcontext): Likewise.
62 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
63 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
64 Call rt_sigprocmask syscall one time to set new signal mask
65 and retrieve the current signal mask instead of two calls.
66 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
67 (__swapcontext): Likewise.
68 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
69 * stdlib/tst-setcontext2.c: New file.
70
71 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
72
73 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
74
75 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
76
77 [BZ #18093]
78 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
79 the wrong size.
80
81 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
82
83 [BZ #18043]
84 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
85
86 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
87
88 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
89 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
90 Remove define.
91 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
92 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
93 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
94 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
95 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
96 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
97 define.
98 * nptl_db/td_symbol_list.c (td_lookup): Remove
99 HAVE_ASM_GLOBAL_DOT_NAME code.
100 * sysdeps/powerpc/powerpc64/configure.ac: Remove
101 HAVE_ASM_GLOBAL_DOT_NAME check.
102 * sysdeps/powerpc/powerpc64/configure: Regenerate.
103 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
104 (DOT_LABEL): Remove define.
105 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
106 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
107 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
108 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
109 (__TLS_GET_ADDR): Likewise.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
111 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
112
113 2015-03-11 Carlos O'Donell <carlos@redhat.com>
114
115 [BZ #18111]
116 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
117 (_FPU_SETCW): Initialize cw from fpsr before storing.
118 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
119 (fesetexceptflag): Rewrite using fpu_control.h.
120 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
121
122 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
123
124 [BZ #18110]
125 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
126 asms.
127 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
128
129 2015-03-11 Joseph Myers <joseph@codesourcery.com>
130
131 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
132 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
133 abort.
134 (_FP_FMA): Likewise.
135 (_FP_DIV): Likewise.
136
137 2015-03-10 Roland McGrath <roland@hack.frob.com>
138
139 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
140 with 0 in that case.
141 * Makefile (summarize-tests): New canned sequence, factored out of
142 commands for targets tests and xtests. Display summary lines that
143 don't start with PASS: or XFAIL: rather than ones that do start with
144 ERROR: or FAIL:. Make the commands fail if any summary lines fail
145 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
146 do start with ERROR: or FAIL:.
147 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
148 (except for [$(build-shared) = yes]).
149 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
150 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
151 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
152 * nptl/Makefile: Revert 2015-03-04 changes.
153 [$(CXX) empty] (tests-unsupported): New variable.
154 * debug/Makefile: Likewise.
155
156 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
157 gnulib file. Replace __attribute with __attribute__ throughout.
158
159 2015-03-10 Carlos O'Donell <carlos@redhat.com>
160
161 * sysdeps/hppa/fpu/libm-test-ulps: Update.
162
163 2015-03-10 Joseph Myers <joseph@codesourcery.com>
164
165 [BZ #18104]
166 * math/auto-libm-test-in: Add another test of pow.
167 * math/auto-libm-test-out: Regenerated.
168
169 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170
171 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
172 $(config-cflags-nofma).
173
174 2015-03-10 Joseph Myers <joseph@codesourcery.com>
175
176 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
177 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
178 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
179 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
180 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
181 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
182 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
183 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
184 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
185 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
186 Add comment on closing #endif.
187
188 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
189
190 * posix/wordexp.c (CHAR_IN_SET): New macro.
191 (parse_param): Use it.
192
193 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
194
195 * sysdeps/powerpc/fpu/libm-test-ulps: update.
196
197 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
198
199 [BZ #18043]
200 * posix/wordexp.c (parse_param): Fix buffer overflow.
201 * posix/wordexp-test.c (test_case): Add test case.
202
203 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
204
205 [BZ #18042]
206 * posix/wordexp.c (parse_backtick): Fix off-by-one.
207 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
208
209 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
210
211 [BZ #18043]
212 * posix/wordexp-test.c (test_case): Add test for BZ #18043
213 (do_bz18043): Delete.
214 (at_page_end): New.
215 (testit): Refactor to have words at the edge of unreadable page.
216
217 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
218
219 [BZ #16734]
220 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
221 Cleanup read-only streams as well.
222 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
223
224 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
225
226 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
227 <bits/libc-lockP.h>
228
229 2015-03-07 Joseph Myers <joseph@codesourcery.com>
230
231 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
232 on [__KERNEL__].
233 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
234 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
235 * soft-fp/op-common.h (_FP_DECL): Likewise.
236
237 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
238
239 * elf/ifuncdep2.c (global): Replace
240 __attribute__((visibility("protected"))) with
241 asm (".protected global").
242 * elf/ifuncmod1.c (global): Likewise.
243 * elf/ifuncmod5.c (global): Likewise.
244
245 2015-03-06 Joseph Myers <joseph@codesourcery.com>
246
247 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
248 <asm/sfp-machine.h> instead of <sfp-machine.h>.
249
250 2015-03-06 Roland McGrath <roland@hack.frob.com>
251
252 * manual/install.texi (Configuring and compiling):
253 Document test-wrapper-env-only.
254 * INSTALL: Regenerated.
255
256 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
257
258 [BZ #18043]
259 * posix/wordexp.c (parse_param): Fix buffer overflow.
260 * posix/wordexp-test.c (do_bz18043): Add test case.
261
262 2015-03-06 Vincent Bernat <vincent@bernat.im>
263
264 * time/tst-strptime2.c (do_test): Ensure failing tests are
265 reported correctly.
266 * time/tst-strptime3.c (do_test): Likewise.
267
268 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
269
270 Fix aio_error thread-safety.
271 * sysdeps/pthread/aio_error.c: New file
272 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
273 synchronization.
274
275 2015-03-06 Florian Weimer <fweimer@redhat.com>
276
277 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
278 (group_number, vfprintf): Use it.
279 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
280 (JUMP, REF): Use it.
281 (WORK_BUFFER_SIZE): New enum constant.
282 (process_arg, vfprintf): Use it.
283
284 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
285
286 * manual/errno.texi (Error Messages): Complete example function
287 by adding missing #define.
288 (program_invocation_name): Add statement indicating GNU
289 extension and reference which header file declares the variable.
290 (program_invocation_short_name): Likewise.
291
292 2015-03-06 Mike Frysinger <vapier@gentoo.org>
293
294 * manual/errno.texi (Error Messages): Delete strerror ISO C89
295 compatibility note.
296
297 2015-03-05 Roland McGrath <roland@hack.frob.com>
298
299 * Makeconfig (test-wrapper-env-only): New variable.
300 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
301 then use that with $(test-wrapper-env-only) rather than using
302 $(test-wrapper-env) $(run-program-env) $($*-ENV).
303
304 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
305
306 [BZ #18082]
307 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
308 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
309 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
310 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
311 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
312 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
313 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
314 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
315 Likewise.
316 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
317 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
318 Likewise.
319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
320 Likewise.
321 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
322 Likewise.
323 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
324 Likewise.
325 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
327 Likewise.
328 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
329 Likewise.
330 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
331 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
332
333 2015-03-04 Roland McGrath <roland@hack.frob.com>
334
335 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
336 (ETH_ALEN): New macro.
337 (struct ether_addr): Use it for length of ether_addr_octet.
338
339 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
340 (setdb): Don't call __nss_configure_lookup for "rpc".
341 (do_test): Don't call test_rpc.
342 (output_rpcent, test_rpc): Functions moved ...
343 * sunrpc/test-rpcent.c: ... to this new file.
344 * sunrpc/Makefile (tests): Add it.
345
346 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
347 __xpg_sigpause.
348 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
349 * nptl/tst-signal6.c: Likewise.
350 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
351 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
352
353 * configure.ac (libc_cv_cxx_link_ok): New check.
354 Reset CXX to empty if it fails to link.
355 * configure: Regenerated.
356 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
357 bug-atexit3-lib only if $(CXX) is nonempty.
358 * nptl/Makefile (tests): Likewise for tst-cancel24.
359 (tests, tests-static): Likewise for tst-cancel24-static.
360 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
361 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
362 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
363 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
364
365 2015-03-04 Andreas Schwab <schwab@suse.de>
366
367 [BZ #17631]
368 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
369 for non-GCC compilers.
370 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
371 Likewise.
372
373 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
374
375 [BZ #17776]
376 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
377 integer before bitwise and assembly operations.
378 (feclearexcept): Likewise.
379 * math/test-fenvinline.c: New file.
380 * math/Makefile: Add test-fenvinline test.
381
382 2015-03-03 Alan Modra <amodra@gmail.com>
383
384 [BZ #16512]
385 * scripts/localplt.awk: Strip off symbol version.
386 * NEWS: Mention bug fix.
387
388 2015-03-02 Roland McGrath <roland@hack.frob.com>
389
390 * sysdeps/pthread/timer_routines.c
391 (timer_free_list, thread_free_list, thread_active_list): Make static.
392
393 2015-03-02 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #17779]
396 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
397 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
398 Undefine.
399 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
400 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
401 Likewise.
402 * sysdeps/unix/sysv/linux/sh/kernel-features.h
403 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
404 Likewise.
405
406 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
407
408 [BZ #18036]
409 * posix/fnmatch_loop.c (END): Detect invalid pattern.
410 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
411
412 2015-03-02 Andreas Schwab <schwab@suse.de>
413
414 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
415 variable name.
416
417 2015-03-02 Florian Weimer <fweimer@redhat.com>
418
419 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
420 Return error status.
421
422 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
423
424 [BZ #15969]
425 * locale/findlocale.c (_nl_find_locale): Introduce const
426 version of loc_name and drop unsafe type casts.
427
428 2015-02-27 Roland McGrath <roland@hack.frob.com>
429
430 * dlfcn/tststatic2.c (main): Converted to ...
431 (do_test): ... this.
432 (TEST_FUNCTION): New macro.
433 Include test-skeleton.c.
434
435 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
436
437 [BZ #17711]
438 * elf/Makefile (tests): Add vismain only if PIE is enabled.
439 (tests-pie): Add vismain.
440 (CFLAGS-vismain.c): New.
441 * elf/vismain.c: Add comments for PIE requirement.
442
443 2015-02-27 Joseph Myers <joseph@codesourcery.com>
444
445 [BZ #18046]
446 [BZ #18047]
447 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
448 0x1p-56L as threshold for just returning the argument.
449 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
450 0x1p-32L as threshold for just returning the argument.
451 * math/auto-libm-test-in: Add more tests of atanh.
452 * math/auto-libm-test-out: Regenerated.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
455
456 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
457
458 * string/bcopy.c (bcopy): Call memmove for performance.
459
460 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
461
462 * string/bzero.c (__bzero): Call memset for performance.
463
464 2015-02-27 John David Anglin <dave.anglin@bell.net>
465
466 [BZ #18068]
467 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
468 to 00100000.
469
470 2015-02-27 Joseph Myers <joseph@codesourcery.com>
471
472 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
473
474 2015-02-26 Joseph Myers <joseph@codesourcery.com>
475
476 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
477 (__kernel_standard): Use CSTR macro when setting exc.name.
478 * sysdeps/ieee754/Makefile [$(subdir) = math]
479 (CFLAGS-k_standard.c): Remove variable.
480
481 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
482 setting p and q from "else if" to "else".
483 (qzero): Likewise.
484 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
485 (qone): Likewise.
486 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
487 (qzerof): Likewise.
488 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
489 (qonef): Likewise.
490 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
491 (qzero): Likewise.
492 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
493 (qone): Likewise.
494
495 [BZ #18038]
496 [BZ #18039]
497 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
498 return pi/2 for arguments below 0x1p-113L.
499 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
500 return pi/2 for arguments below 0x1p-106L.
501 * math/auto-libm-test-in: Add more tests of acos.
502 * math/auto-libm-test-out: Regenerated.
503
504 [BZ #16351]
505 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
506 (MO): New macro.
507 (__ieee754_asin): Force underflow exception for results with small
508 absolute value.
509 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
510 (MO): New macro.
511 (__ieee754_asinf): Force underflow exception for results with
512 small absolute value.
513 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
514 (__ieee754_asin): Force underflow exception for results with small
515 absolute value.
516 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
517 (__ieee754_asinf): Force underflow exception for results with
518 small absolute value.
519 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
520 (__ieee754_asinl): Force underflow exception for results with
521 small absolute value.
522 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
523 (__ieee754_asinl): Force underflow exception for results with
524 small absolute value.
525 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
526 (__ieee754_asinl): Force underflow exception for results with
527 small absolute value.
528 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
529 Include <math.h>.
530 * math/auto-libm-test-in: Do not mark underflow exceptions as
531 possibly missing for bug 16351.
532 * math/auto-libm-test-out: Regenerated.
533
534 [BZ #18030]
535 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
536 of power of 2 down when low part has opposite sign.
537 * math/libm-test.inc (logb_test_data): Add more tests.
538
539 2015-02-26 Andreas Schwab <schwab@suse.de>
540
541 [BZ #18032]
542 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
543 over collating symbol inside a bracket expression. Minor cleanup.
544 * posix/tst-fnmatch3.c (do_test): Add test case.
545
546 2015-02-26 Joseph Myers <joseph@codesourcery.com>
547
548 [BZ #18029]
549 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
550 Adjust exponent of power of 2 down when low part has opposite
551 sign.
552 * math/libm-test.inc (ilogb_test_data): Add more tests.
553
554 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
555
556 [BZ #15969]
557 * locale/findlocale.c (_nl_find_locale): Fix constness error in
558 the previous change.
559
560 [BZ #15969]
561 * locale/findlocale.c (_nl_find_locale): Retry archive search
562 after alias expansion.
563
564 2015-02-25 Roland McGrath <roland@hack.frob.com>
565
566 * iconv/tst-iconv3.c (main): Converted to ...
567 (do_test): ... this.
568 (TEST_FUNCTION): New macro.
569 Include test-skeleton.c.
570
571 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
572 (convert): Make function static.
573 (test_unalign): Likewise. Add const to argument pointee types.
574 (main): Replace with static function do_test.
575 Print "Succeeded." only if RET is zero.
576 (TEST_FUNCTION): New macro.
577 Include test-skeleton.c.
578
579 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
580 returns a null pointer.
581
582 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
583
584 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
585 to __memcpy_ppc only for static builds.
586
587 2015-02-25 Joseph Myers <joseph@codesourcery.com>
588
589 [BZ #18020]
590 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
591 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
592 * math/auto-libm-test-in: Add more tests of asinh.
593 * math/auto-libm-test-out: Regenerated.
594 * sysdeps/i386/fpu/libm-test-ulps: Update.
595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
596
597 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
598
599 [BZ #15850]
600 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
601 and ip6_mtuinfo definitions here.
602 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
603 in this define too. Update comment.
604
605 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
606
607 * elf/sprof.c (load_shobj): Tweak error message to match others.
608
609 2015-02-24 Kevin Easton <kevin@guarana.org>
610
611 [BZ #16145] (partial fix)
612 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
613 to reduce lock contention.
614
615 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
616
617 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
618 (struct timex): Update time comment.
619 (ADJ_SETOFFSET): Define.
620
621 2015-02-24 Joseph Myers <joseph@codesourcery.com>
622
623 [BZ #18019]
624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
625 2**56 not 2**28 as threshold for log (2x) formula.
626 * math/auto-libm-test-in: Add more tests of acosh.
627 * math/auto-libm-test-out: Regenerated.
628 * sysdeps/i386/fpu/libm-test-ulps: Update.
629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
630
631 2015-02-24 Mike Frysinger <vapier@gentoo.org>
632
633 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
634 parenthesis around the buf assignment.
635 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
636
637 2015-02-24 Joseph Myers <joseph@codesourcery.com>
638
639 [BZ #16783]
640 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
641 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
642 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
643 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
644 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
645 * math/libm-test.inc (scalb_test_data): Add more tests.
646
647 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
648
649 [BZ #17916]
650 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
651 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
652
653 2015-02-24 Eric Rannaud <e@nanocritical.com>
654
655 [BZ #17523]
656 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
657 * io/bits/fcntl2.h (open): Use it.
658 (openat): Likewise.
659 * io/open.c (__libc_open): Likewise.
660 * io/open64.c (__libc_open64): Likewise.
661 * io/open64_2.c (__open64_2): Likewise.
662 * io/open_2.c (__open_2): Likewise.
663 * io/openat.c (__openat): Likewise.
664 * io/openat64.c (__openat64): Likewise.
665 * io/openat64_2.c (__openat64_2): Likewise.
666 * io/openat_2.c (__openat_2): Likewise.
667 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
668 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
669 * sysdeps/posix/open64.c (__libc_open64): Likewise.
670 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
671 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
672 (__open_nocancel): Likewise.
673 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
674 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
675 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
676
677 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
678
679 [BZ #14841]
680 * resolv/gethnamaddr.c (getanswer): Skip logging if
681 RES_USE_DNSSEC is set.
682 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
683
684 2015-02-24 Mike Frysinger <vapier@gentoo.org>
685
686 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
687
688 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
689
690 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
691 201304L, for Unicode 7.
692
693 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
694
695 [BZ #17836]
696 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
697 shared library. Add gmon-start.os otherwise.
698 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
699 $(objpfx)gmon-start.os if builing shared library.
700 ($(objpfx)g$(static-start-installed-name)): Likewise.
701
702 2015-02-23 Andreas Schwab <schwab@suse.de>
703
704 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
705
706 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
707
708 [BZ #17269]
709 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
710 (enlarge_userbuf): Likewise.
711
712 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
713
714 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
715 * math/atest-exp.c (TIMEOUT): Adjust to 200.
716 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
717 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
718
719 2015-02-20 Joseph Myers <joseph@codesourcery.com>
720
721 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
722 expression inside statement expression.
723
724 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
725
726 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
727 <sysdeps/nptl/lowlevellock.h> and remove macros and
728 functions that are now defined there.
729 (SYS_futex): Remove.
730 (lll_compare_and_swap): Remove.
731 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
732
733 2015-02-19 Joseph Myers <joseph@codesourcery.com>
734
735 [BZ #17999]
736 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
737 instead of scandirat.
738 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
739 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
740 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
741 __scandirat.
742 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
743 (__scandirat): Declare. Use libc_hidden_proto.
744 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
745 Remove variable.
746 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
747
748 2015-02-18 Joseph Myers <joseph@codesourcery.com>
749
750 [BZ #15319]
751 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
752 (MO): New macro.
753 (__ieee754_atan2): For results with small absolute value, force
754 underflow exception and remove excess range and precision from
755 return value.
756 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
757 (MO): New macro.
758 (__ieee754_atan2f): For results with small absolute value, force
759 underflow exception and remove excess range and precision from
760 return value.
761 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
762 (MO): New macro.
763 (__atan): For results with small absolute value, force underflow
764 exception and remove excess range and precision from return value.
765 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
766 (MO): New macro.
767 (__atanf): For results with small absolute value, force underflow
768 exception and remove excess range and precision from return value.
769 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
770 <math.h>.
771 (__ieee754_atan2): Force underflow exception for results with
772 small absolute value.
773 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
774 <math_private.h>.
775 (atan): Force underflow exception for results with small absolute
776 value.
777 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
778 (__atanf): Force underflow exception for results with small
779 absolute value.
780 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
781 <math.h>.
782 (__atanl): Force underflow exception for results with small
783 absolute value.
784 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
785 (__atanl): Force underflow exception for results with small
786 absolute value.
787 * sysdeps/x86/fpu/bits/mathinline.h
788 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
789 (__ieee754_atan2): Only define inline for long double.
790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
791 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
792 * math/auto-libm-test-in: Do not mark underflow exceptions as
793 possibly missing for bug 15319. Add more tests of atan2.
794 * math/auto-libm-test-out: Regenerated.
795 * math/libm-test.inc (casin_test_data): Do not mark underflow
796 exceptions as possibly missing for bug 15319.
797 (casinh_test_data): Likewise.
798 * sysdeps/i386/fpu/libm-test-ulps: Update.
799
800 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
801
802 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
803 * sysdeps/mips/bits/endian.h: Fix comments.
804
805 2015-02-18 Joseph Myers <joseph@codesourcery.com>
806
807 [BZ #17996]
808 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
809 (hdestroy_r): Likewise.
810 (hsearch_r): Likewise.
811 (__hcreate_r): Declare and use libc_hidden_proto.
812 (__hdestroy_r): Likewise.
813 (__hsearch_r): Likewise.
814 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
815 (hcreate): Call __hcreate_r instead of hcreate_r.
816 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
817 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
818 as weak alias of __hcreate_r.
819 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
820 __hdestroy_r.
821 (hsearch_r): Rename to __hsearch_r and define as weak alias of
822 __hsearch_r.
823 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
824 Remove variable.
825 (test-xfail-XPG4/search.h/linknamespace): Likewise.
826 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
827 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
828 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
829
830 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
831
832 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
833 arena_lock into a single arena_get.
834
835 2015-02-17 Carlos O'Donell <carlos@redhat.com>
836
837 * dl-reloc.c: Inlucde libc-internal.h.
838 (_dl_try_allocate_static_tls): Call ALIGN_UP.
839 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
840 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
841 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
842 (grow_heap): Likewise.
843 * malloc/malloc.c: Include libc-internal.h.
844 (do_check_malloc): Call powerof2.
845 (sysmalloc): Use pagesize. Call ALIGN_UP.
846 (systrim): Use pagesize.
847 (mremap_chunk): Use pagesize. Call ALIGN_UP.
848 (__libc_valloc): Use pagesize.
849 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
850
851 2015-02-17 Joseph Myers <joseph@codesourcery.com>
852
853 [BZ #17991]
854 * include/sys/resource.h (__getrlimit64): Declare. Use
855 libc_hidden_proto.
856 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
857 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
858 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
859 getrlimit64.
860 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
861 __getrlimit64.
862 [!getrlimit64] (getrlimit64): Define as weak alias of
863 __getrlimit64. Use libc_hidden_weak.
864 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
865 using __getrlimit64 not __new_getrlimit64.
866 (__GI_getrlimit64): Likewise.
867 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
868 Likewise.
869 (__GI_getrlimit64): Likewise.
870 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
872 (getrlimit): Add __getrlimit64 alias.
873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
874 Likewise.
875 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
876 Remove variable.
877 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
878 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
879
880 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
881
882 * libio/fileops.c: Add missing sys/mman.h
883 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
884
885 2015-02-17 Joseph Myers <joseph@codesourcery.com>
886
887 * manual/math.texi (Errors in Math Functions): Clarify goals
888 regarding inexact and underflow exceptions.
889
890 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
891
892 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
893 * sysdeps/mips/memset.S: Ditto.
894
895 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
896
897 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
898
899 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
900
901 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
902 (__v1longjmp): Remove versioned symbol.
903 (__v1siglongjmp): Remove alias and versioned symbol.
904 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
905 (__v2siglongjmp): Likewise.
906
907 2015-02-16 Torvald Riegel <triegel@redhat.com>
908
909 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
910
911 2015-02-16 Mike Frysinger <vapier@gentoo.org>
912
913 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
914
915 2015-02-16 Joseph Myers <joseph@codesourcery.com>
916
917 [BZ #17987]
918 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
919 zero result does not depend on the sign resulting from
920 subtraction.
921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
922 Likewise.
923 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
924 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
925 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
926 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
927 * math/libm-test.inc (remquo_test_data): Add more tests.
928
929 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
930
931 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
932 Problem reported by J William Piggott.
933
934 2015-02-16 Joseph Myers <joseph@codesourcery.com>
935
936 [BZ #17978]
937 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
938 products 4 * y and 2 * y where those would overflow.
939 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
940 Likewise.
941 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
942 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
943 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
944 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
945 * math/libm-test.inc (remquo_test_data): Add more tests.
946
947 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
948
949 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
950 [defined _COMPILING_NEWLIB].
951 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
952 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
953
954 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
955 [!defined __mips_isa_rev || __mips_isa_rev < 6].
956
957 2015-02-16 Torvald Riegel <triegel@redhat.com>
958
959 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
960 acquired.
961
962 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
963
964 [BZ #17792]
965 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
966 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
967 HOST_STACK_END_ADDR): Likewise.
968
969 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
970
971 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
972 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
973 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
974
975 2015-02-13 Roland McGrath <roland@hack.frob.com>
976
977 * sysdeps/generic/c++-types.data: New file.
978 * sysdeps/generic/ld.abilist: New file.
979 * sysdeps/generic/libBrokenLocale.abilist: New file.
980 * sysdeps/generic/libanl.abilist: New file.
981 * sysdeps/generic/libc.abilist: New file.
982 * sysdeps/generic/libcrypt.abilist: New file.
983 * sysdeps/generic/libdl.abilist: New file.
984 * sysdeps/generic/libm.abilist: New file.
985 * sysdeps/generic/libpthread.abilist: New file.
986 * sysdeps/generic/libresolv.abilist: New file.
987 * sysdeps/generic/librt.abilist: New file.
988
989 2015-02-13 Joseph Myers <joseph@codesourcery.com>
990
991 [BZ #17569]
992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
993 Compute absolute value of x as modified by fmod, not original
994 value of x.
995 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
996 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
997 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
998 RUN_TEST_ffI_f1_mod8.
999 (remquo_test_data): Add more tests.
1000
1001 2015-02-13 Roland McGrath <roland@hack.frob.com>
1002
1003 * sysdeps/init_array/pt-crti.S: New file.
1004
1005 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1006
1007 [BZ #17967]
1008 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1009 __builtin_fmaf instead of relying on contraction of a * b + c.
1010
1011 2015-02-12 J William Piggott <elseifthen@gmx.com>
1012
1013 [BZ #17969]
1014 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1015 node.
1016
1017 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1018
1019 [BZ #17964]
1020 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1021 __builtin_fma instead of relying on contraction of a * b + c.
1022
1023 2015-02-12 Roland McGrath <roland@hack.frob.com>
1024
1025 * Makeconfig (ASFLAGS): Add -Werror=undef.
1026 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1027 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1028 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1029
1030 * Makeconfig (after-link): New variable.
1031 (+link-pie, +link-pie-tests): Use it.
1032 (+link-static, +link-static-tests): Likewise.
1033 (+link, +link-tests): Likewise.
1034 * Makerules (build-module, build-module-asneeded): Likewise.
1035 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1036 Likewise.
1037 * elf/Makefile ($(objpfx)ld.so): Likewise.
1038
1039 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1040
1041 [BZ #17965]
1042 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1043 both struct timeval and struct timespec.
1044
1045 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1046
1047 [BZ #16560]
1048 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1049 and redefine.
1050 (__ieee754_exp2l): Do not multiply small fractional parts by
1051 M_LN2l.
1052 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1053 small argument.
1054 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1055 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1056 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1057 * math/auto-libm-test-in: Add more tests of exp2.
1058 * math/auto-libm-test-out: Regenerated.
1059
1060 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1061
1062 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1063 unaligned path.
1064
1065 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1066
1067 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1068 little endian.
1069
1070 2015-02-12 Andreas Schwab <schwab@suse.de>
1071
1072 [BZ #15790]
1073 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1074 Filter out elision flags from value returned in kind.
1075 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1076 * nptl/tst-pthread-mutexattr.c: New file.
1077
1078 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1079
1080 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1081 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1082 into gnu-gnu, and update comment to refer to abi-tags.
1083
1084 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1085
1086 [BZ #15467]
1087 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1088 (__sincos): Set errno to EDOM for infinite argument.
1089 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1090 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1091 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1092 (__sincosl): Set errno to EDOM for infinite argument.
1093 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1094 (__sincosl): Set errno to EDOM for infinite argument.
1095 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1096 (__sincosl): Set errno to EDOM for infinite argument.
1097 * math/libm-test.inc (sincos_test_data): Test errno setting.
1098
1099 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1100
1101 * string/strxfrm_l.c: Remove #define STRCMP.
1102 * string/strcoll_l.c: Remove #define STRLEN.
1103 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1104 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1105
1106 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1107
1108 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1109 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1110 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1111 * sysdeps/mips/mips64/Makefile: ... here.
1112 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1113 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1114 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1115 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1116 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1117 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1118 * sysdeps/mips/mips64/n64/Implies: Likewise.
1119
1120 2015-02-10 Roland McGrath <roland@hack.frob.com>
1121
1122 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1123 <sys/time.h>, <string.h>, and <errno.h>.
1124 (dest_offset, dest_address, value, zero): Remove unused variables.
1125 (ldouble): Remove typedef.
1126 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1127 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1128 1). Fix code style.
1129 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1130 (check): Function removed.
1131 (CHECK): New macro.
1132 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1133 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1134 Don't call set_sigaction_FP and remove_sigaction_FP here.
1135 (ldouble_test): Just use 'long double' as macro argument, no need for
1136 the 'ldouble' typedef.
1137 (do_test): Set up SIGFPE handler at start, using plain signal rather
1138 than sigaction. Fix code style.
1139
1140 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1141
1142 [BZ #17949]
1143 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1144 jump label.
1145
1146 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1147
1148 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1149 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1150
1151 * sysdeps/powerpc/configure.ac: Remove file.
1152 * sysdeps/powerpc/configure: Likewise.
1153
1154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1155 [sysdep_routines]: Remove wordcopy-power6 object.
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1157 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1159 (__memmove_ppc32): Likewise.
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1161 file.
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1163 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1164 Remove preprocessor.
1165
1166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1167 [sysdep_routines]: Remove wide chars objects.
1168 [wcsmbs]: New rule for wide char objects.
1169
1170 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1171 Remove wordcopy-power6 obejct.
1172 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1173 Use local call for wordcopy and memcpy symbols.
1174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1176 implementation for loader.
1177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1178
1179 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1180 Remove wordcopy-power7 object.
1181 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1182 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1183 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1184 (_wordcopy_fwd_dest_aligned): Likewise.
1185 (_wordcopy_bwd_aligned): Likewise.
1186 (_wordcopy_bwd_dest_aligned): Likewise.
1187
1188 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1189 Rewrite to call __memmove_ppc instead of include default
1190 implementation.
1191
1192 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1193 Remove wide chars objects.
1194 [wcsmbs]: New rule for wide char objects.
1195
1196 2015-02-09 Andreas Schwab <schwab@suse.de>
1197
1198 [BZ #17912]
1199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1200 in terms of __O_DIRECTORY.
1201
1202 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1203
1204 * time/getdate.c: Include <stdbool.h>.
1205 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1206 call PTR_MANGLE.
1207 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1208 PTR_DEMANGLE.
1209
1210 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1211
1212 Add ersatz _Static_assert on older C hosts
1213 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1214 pre-C11 C platform that is not known to support _Static_assert.
1215
1216 2015-02-07 Richard Braun <rbraun@sceen.net>
1217
1218 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1219 sigstate.
1220 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1221
1222 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1223
1224 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1225 priority against unexistent AIO_PRIO_DELTA_MAX.
1226 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1227 instead of int.
1228 * misc/fchflags.c (fchflags): Likewise.
1229 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1230 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1231 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1232 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1233 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1234 Declare macros.
1235 [__USE_MISC] (chflags, fchflags): Declare functions.
1236 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1237 EINVAL when nfds is greater than FD_SETSIZE.
1238 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1239 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1240 45.
1241 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1242 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1243 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1244 MACH_RCV_TIMED_OUT.
1245 * hurd/hurd/signal.h (_hurd_self_sigstate,
1246 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1247 Explicit casts from void *.
1248 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1249 * abi-tags: Rename gnu-gnu os into gnu.
1250
1251 [BZ #4719]
1252 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1253 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1254 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1255 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1256 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1257 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1258
1259 [BZ #17944]
1260 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1261 duplicates ADDR->sun_path with sockaddr LEN limitation.
1262 * sysdeps/mach/hurd/connect.c: Include <string.h>
1263 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1264 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1265 * sysdeps/mach/hurd/sendto.c: Likewise.
1266 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1267 implementing it by hand.
1268
1269 2015-02-06 Roland McGrath <roland@hack.frob.com>
1270
1271 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1272 Use sfi_breg on ldr.
1273 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1274 Likewise.
1275
1276 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1277 it's defined.
1278 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1279 Test SIGSETXID only if it's defined.
1280
1281 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1282
1283 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1284 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1285
1286 * nptl/tst-align2.c: Moved ...
1287 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1288 * nptl/Makefile (tests): Remove tst-align2.
1289 * sysdeps/unix/sysv/linux/Makefile
1290 [$(subdir) = nptl] (tests): Add tst-align-clone.
1291 * nptl/tst-getpid1.c: Moved ...
1292 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1293 * nptl/tst-getpid2.c: Moved ...
1294 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1295 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1296 * sysdeps/unix/sysv/linux/Makefile
1297 [$(subdir) = nptl] (tests): ... here.
1298 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1299 * sysdeps/unix/sysv/linux/Makefile
1300 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1301
1302 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1303 Drop trailing \n from perror argument. Use return rather than exit.
1304
1305 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1306 on [SA_SIGINFO].
1307 * nptl/tst-cancel21.c (do_test): Likewise.
1308 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1309 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1310 [!SA_SIGINFO]: Make it a stub test.
1311
1312 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1313 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1314
1315 * posix/tst-getlogin.c: Move to ...
1316 * login/tst-getlogin.c: ... here.
1317 * posix/Makefile (tests): Move tst-getlogin to ...
1318 * login/Makefile (tests): ... here.
1319
1320 * libio/tst-atime.c (do_test): Move local variables SV and E
1321 inside [ST_NOATIME] conditional.
1322
1323 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1324
1325 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1326
1327 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1328 (wait_code): New function replaces macro.
1329 Call nanosleep rather than syscall.
1330
1331 * nptl/pt-system.c: Rewritten. Put everything under
1332 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1333 Use IFUNC to redirect when possible.
1334
1335 * nptl/pt-longjmp.c: Rewritten. Put everything under
1336 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1337 Use IFUNC to redirect when possible.
1338
1339 * nptl/pt-fork.c: Rewritten. Put everything under
1340 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1341 Use IFUNC to redirect when possible.
1342 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1343
1344 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1345 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1346 unconditionally nowadays. This included the only reference to
1347 __vdso_clock_gettime that appears outside libc proper.
1348 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1349 Remove version set (containing only __vdso_clock_gettime).
1350 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1351 Add attribute_hidden.
1352 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1353 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1354 libc_hidden_data_def.
1355 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1356 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1357
1358 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1359 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1360 setrpcent, and getrpcport to ...
1361 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1362 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1363 getrpcbynumber_r, and getrpcent_r to ...
1364 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1365 * inet/getrpcbyname.c: Moved ...
1366 * sunrpc/getrpcbyname.c: ... here.
1367 * inet/getrpcbyname_r.c: Moved ...
1368 * sunrpc/getrpcbyname_r.c: ... here.
1369 * inet/getrpcbynumber.c: Moved ...
1370 * sunrpc/getrpcbynumber.c: ... here.
1371 * inet/getrpcbynumber_r.c: Moved ...
1372 * sunrpc/getrpcbynumber_r.c: ... here.
1373 * inet/getrpcent.c: Moved ...
1374 * sunrpc/getrpcent.c: ... here.
1375 * inet/getrpcent_r.c: Moved ...
1376 * sunrpc/getrpcent_r.c: ... here.
1377 * inet/Makefile (routines): Move those to ...
1378 * sunrpc/Makefile (routines): ... here.
1379 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1380 the $(subdirs) list.
1381 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1382 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1383 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1384 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1385
1386 * elf/Makefile (routines): Include $(all-dl-routines), not just
1387 $(dl-routines).
1388 (rtld-routines): Likewise. Use = rather than :=.
1389 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1390 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1391 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1392 * sysdeps/arm/Makefile: Likewise.
1393 * sysdeps/i386/Makefile: Likewise.
1394 * sysdeps/x86_64/Makefile: Likewise.
1395 * sysdeps/hppa/Makefile [$(subdir) = elf]
1396 (sysdep_routines, sysdep-rtld-routines): Don't add
1397 $(sysdep-dl-routines) to these.
1398 * sysdeps/ia64/Makefile: Likewise.
1399 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1400 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1401 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1402 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1403 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1404 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1405 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1406 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1407 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1408 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1409 these; sysdep-dl-routines alone is enough.
1410
1411 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1412
1413 [BZ #17932]
1414 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1415 where multiplication results in zero and third argument is finite
1416 and nonzero.
1417 * math/auto-libm-test-in: Add more tests of fma.
1418 * math/auto-libm-test-out: Regenerated.
1419
1420 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1421 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1422 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1423 (_FP_CMP_EQ): Likewise.
1424 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1425
1426 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1427 extra argument CHECK_NAN. Redefine as wrapper around
1428 _FP_EXTEND_CNAN.
1429
1430 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1431
1432 * version.h (RELEASE): Set to "stable".
1433 (VERSION): Set to "2.21"
1434 * include/features.h (__GLIBC_MINOR__): Set to 21.
1435
1436 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1437
1438 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1439 Paul Eggert <eggert@cs.ucla.edu>
1440
1441 [BZ #16618]
1442 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1443 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1444 size in bytes. Store needed elements in wpmax. Use needed size
1445 in bytes for extend_alloca.
1446
1447 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1448
1449 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1450 binutls 2.25, and texinfo 5.2.
1451 * INSTALL: Regenerate.
1452 * sysdeps/nios2/configure: Regenerate.
1453 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1454 * manual/contrib.texi: Update.
1455 * po/be.po: Update.
1456 * po/bg.po: Update.
1457 * po/ca.po: Update.
1458 * po/cs.po: Update.
1459 * po/da.po: Update.
1460 * po/de.po: Update.
1461 * po/el.po: Update.
1462 * po/eo.po: Update.
1463 * po/es.po: Update.
1464 * po/fi.po: Update.
1465 * po/fr.po: Update.
1466 * po/gl.po: Update.
1467 * po/hr.po: Update.
1468 * po/hu.po: Update.
1469 * po/ia.po: Update.
1470 * po/id.po: Update.
1471 * po/it.po: Update.
1472 * po/ja.po: Update.
1473 * po/ko.po: Update.
1474 * po/lt.po: Update.
1475 * po/nb.po: Update.
1476 * po/nl.po: Update.
1477 * po/pl.po: Update.
1478 * po/pt_BR.po: Update.
1479 * po/ru.po: Update.
1480 * po/rw.po: Update.
1481 * po/sk.po: Update.
1482 * po/sl.po: Update.
1483 * po/sv.po: Update.
1484 * po/tr.po: Update.
1485 * po/uk.po: Update.
1486 * po/vi.po: Update.
1487 * po/zh_CN.po: Update.
1488 * po/zh_TW.po: Update.
1489
1490 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1491 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1492 * sysdeps/hppa/dl-irel.h: Remove #warning.
1493 * sysdeps/hppa/entry.h: Provide prototype for
1494 __canonicalize_funcptr_for_compare and cast argument.
1495 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1496 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1497 * sysdeps/hppa/sotruss-lib.c: New file.
1498 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1499 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1500 (atomic_compare_and_exchange_bool_acq): Likewise.
1501 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1502 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1503
1504 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1505 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1506 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1507
1508 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1509
1510 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1511 called function in non-PIC case.
1512
1513 2015-01-31 David S. Miller <davem@davemloft.net>
1514
1515 * sysdeps/sparc/sparc32/bits/atomic.h
1516 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1517 unlock not after it.
1518 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1519 volatile register usage warnings from the compiler.
1520
1521 * sysdeps/sparc/nptl/sem_init.c: Delete.
1522 * sysdeps/sparc/nptl/sem_post.c: Delete.
1523 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1524 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1525 * sysdeps/sparc/sparc32/sem_init.c: New file.
1526 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1527 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1528 padding explicitly initialized.
1529 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1530 padding for in-semaphore spinlock.
1531 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1532 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1533 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1534 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1535 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1536 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1537 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1538 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1539 version.
1540 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1541 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1542
1543 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1544
1545 [BZ #17801]
1546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1547 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1548 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1549 New.
1550 (index_AVX_Fast_Unaligned_Load): Likewise.
1551 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1552 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1553 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1554 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1555 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1556 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1557 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1558 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1559 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1560
1561 2015-01-29 Andreas Schwab <schwab@suse.de>
1562
1563 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1564
1565 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1566
1567 [BZ #17892]
1568 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1569
1570 2015-01-28 Martin Sebor <msebor@redhat.com>
1571
1572 * math/README.libm-test: Clarify. Add "How to read the test output."
1573
1574 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1575
1576 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1577 Define to 0.
1578
1579 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1580
1581 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1582 (__HAVE_64B_ATOMICS): Define to 0.
1583
1584 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1585
1586 [BZ #17885]
1587 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1588 value to set as new flag.
1589
1590 [BZ #16576]
1591 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1592 and use _ARCH_PPCSQ instead.
1593 (__ieee754_sqrt): Likewise.
1594 (__ieee754_sqrtf): Likewise.
1595 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1596 _ARCH_PPCSQ is defined.
1597 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1598 fsqrt instruction.
1599 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1600 _ARCH_PPCSQ is defined.
1601 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1602 fsqrts instruction.
1603 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1604
1605 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1606
1607 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1608 bug (GCC BZ #64739).
1609
1610 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1611
1612 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1613 Mark _retval as used.
1614 (lll_futex_wake_unlock): Likewise.
1615 (lll_futex_timed_wait_requeue_pi): Likewise.
1616
1617 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1618 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1619 register variables.
1620
1621 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1622 libm_hidden_def.
1623
1624 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1625 (__bswap_64): Mark as __always_inline.
1626
1627 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1628
1629 [BZ #15378]
1630 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1631 when none of the search directories exist.
1632
1633 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1634
1635 [BZ #17869]
1636 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1637 power8 in .machine directive.
1638
1639 [BZ #17868]
1640 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1641 set dependency from opd value.
1642
1643 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1644
1645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1646 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1647 architecture.
1648
1649 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1650
1651 [BZ #17870]
1652 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1653 with uint64_t.
1654 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1655 (uint64_t) 1.
1656 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1657 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1658 Replace 1UL with (uint64_t) 1.
1659 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1660 int with uint64_t.
1661
1662 2015-01-23 Roland McGrath <roland@hack.frob.com>
1663
1664 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1665 (if_freenameindex): Likewise.
1666
1667 * resource/getrlimit64.c: Add missing libc_hidden_def.
1668
1669 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1670
1671 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1672 __label__.
1673 (_FP_FMA): Likewise.
1674 (_FP_TO_INT_ROUND): Likewise.
1675 (_FP_FROM_INT): Likewise.
1676
1677 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678
1679 [BZ #16418]
1680 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1681 Make code racy and cancel safe.
1682
1683 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1684
1685 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1686 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1687 attribution.
1688
1689 * pwd/tst-getpw.c: Rewrite.
1690
1691 [BZ #17702]
1692 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1693 (modules-names): Add moddummy1 and moddummy2.
1694 ($(objpfx)tst-rec-dlopen): Define.
1695 * dlfcn/moddummy1.c: New file.
1696 * dlfcn/moddummy2.c: New file.
1697 * dlfcn/tst-rec-dlopen.c: New file.
1698 * elf/dl-cache.c (_dl_load_cache_lookup):
1699 Return char*. Copy result with alloca/strcpy/strdup.
1700 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1701 returns char*. Free cached. If not saving realname
1702 free cached.
1703 * elf/dl-open.c (dl_open_worker): Do not assert that
1704 _r_debug->r_state is RT_CONSISTENT.
1705 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1706 returns char*.
1707
1708 2015-01-21 Torvald Riegel <triegel@redhat.com>
1709 Carlos O'Donell <carlos@redhat.com>
1710
1711 [BZ #12674]
1712 * nptl/sem_waitcommon.c: New file.
1713 * nptl/sem_wait.c: Include sem_waitcommon.c.
1714 (__sem_wait_cleanup, do_futex_wait): Remove.
1715 (__new_sem_wait): Adapt.
1716 (__new_sem_trywait): New function.
1717 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1718 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1719 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1720 (sem_timedwait): Adapt.
1721 * nptl/sem_post.c (__new_sem_post): Adapt.
1722 (futex_wake): New function.
1723 (__old_sem_post): Add release MO fence.
1724 * nptl/sem_open.c (sem_open): Adapt.
1725 * nptl/sem_init.c (__new_sem_init): Adapt.
1726 (futex_private_if_supported): New function.
1727 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1728 (__old_sem_getvalue): Add using previous code.
1729 * sysdeps/nptl/internaltypes.h: Adapt.
1730 * nptl/tst-sem13.c (do_test): Adapt.
1731 * nptl/tst-sem11.c (main): Adapt.
1732 * nptl/sem_trywait.c: Remove.
1733 * nptl/DESIGN-sem.txt: Remove.
1734 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1735 (gen-as-const-headers): Remove structsem.sym.
1736 * nptl/structsem.sym: Remove.
1737 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1738 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1739 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1740 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1741 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1742 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1743 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1744 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1745 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1746 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1747 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1748 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1749 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1750 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1751 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1752 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1753 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1754 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1755 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1756 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1757 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1758 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1759
1760 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1761
1762 * INSTALL: Regenerated.
1763
1764 * po/libc.pot: Regenerated.
1765
1766 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1767 Sandra Loosemore <sandra@codesourcery.com>
1768 Andrew Jenner <andrew@codesourcery.com>
1769 Joseph Myers <joseph@codesourcery.com>
1770 Nathan Sidwell <nathan@codesourcery.com>
1771
1772 * NEWS: Mention new Nios II port.
1773 * sysdeps/nios2/Implies: New file.
1774 * sysdeps/nios2/Makefile: New file.
1775 * sysdeps/nios2/Subdirs: New file.
1776 * sysdeps/nios2/Versions: New file.
1777 * sysdeps/nios2/__longjmp.S: New file.
1778 * sysdeps/nios2/abort-instr.h: New file.
1779 * sysdeps/nios2/backtrace.c: New file.
1780 * sysdeps/nios2/bits/endian.h: New file.
1781 * sysdeps/nios2/bits/fenv.h: New file.
1782 * sysdeps/nios2/bits/link.h: New file.
1783 * sysdeps/nios2/bits/setjmp.h: New file.
1784 * sysdeps/nios2/bsd-_setjmp.S: New file.
1785 * sysdeps/nios2/bsd-setjmp.S: New file.
1786 * sysdeps/nios2/configure: New generated file.
1787 * sysdeps/nios2/configure.ac: New file.
1788 * sysdeps/nios2/crti.S: New file.
1789 * sysdeps/nios2/crtn.S: New file.
1790 * sysdeps/nios2/dl-init.c: New file.
1791 * sysdeps/nios2/dl-machine.h: New file.
1792 * sysdeps/nios2/dl-sysdep.h: New file.
1793 * sysdeps/nios2/dl-tls.h: New file.
1794 * sysdeps/nios2/dl-trampoline.S: New file.
1795 * sysdeps/nios2/gccframe.h: New file.
1796 * sysdeps/nios2/gmp-mparam.h: New file.
1797 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1798 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1799 * sysdeps/nios2/ldsodefs.h: New file.
1800 * sysdeps/nios2/libc-tls.c: New file.
1801 * sysdeps/nios2/libm-test-ulps: New file.
1802 * sysdeps/nios2/machine-gmon.h: New file.
1803 * sysdeps/nios2/math-tests.h: New file.
1804 * sysdeps/nios2/math_private.h: New file.
1805 * sysdeps/nios2/memusage.h: New file.
1806 * sysdeps/nios2/nptl/Makefile: New file.
1807 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1808 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1809 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1810 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1811 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1812 * sysdeps/nios2/nptl/tls.h: New file.
1813 * sysdeps/nios2/preconfigure: New file.
1814 * sysdeps/nios2/s_fma.c: New file.
1815 * sysdeps/nios2/s_fmaf.c: New file.
1816 * sysdeps/nios2/setjmp.S: New file.
1817 * sysdeps/nios2/sfp-machine.h: New file.
1818 * sysdeps/nios2/sotruss-lib.c: New file.
1819 * sysdeps/nios2/stackguard-macros.h: New file.
1820 * sysdeps/nios2/stackinfo.h: New file.
1821 * sysdeps/nios2/start.S: New file.
1822 * sysdeps/nios2/sysdep.h: New file.
1823 * sysdeps/nios2/tls-macros.h: New file.
1824 * sysdeps/nios2/tst-audit.h: New file.
1825 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1826 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1827 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1828 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1829 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1830 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1831 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1832 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1833 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1834 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1835 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1836 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1837 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1838 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1839 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1840 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1841 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1842 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1843 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1844 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1845 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1846 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1847 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1848 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1849 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1850 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1851 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1852 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1853 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1854 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1855 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1856 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1857 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1858 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1859 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1860 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1861 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1862 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1863 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1864 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1865 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1866 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1867 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1868 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1869
1870 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1871
1872 [BZ #17844]
1873 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1874 (getutent): Use weak_alias in non SHARED case
1875 and default_symbol_version in SHARED case.
1876 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1877 (getutent_r, pututline): Likewise.
1878 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1879 (getutid): Likewise.
1880 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1881 (getutid_r): Likewise.
1882 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1883 (getutline): Likewise.
1884 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1885 (getutline_r): Likewise.
1886 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1887 (updwtmp): Likewise.
1888
1889 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1890
1891 [BZ #17848]
1892 * sysdeps/s390/s390-32/memcmp.S
1893 (memcmp_g5): Rename to __memcmp_g5.
1894 * sysdeps/s390/s390-32/memcpy.S
1895 (memcpy_g5): Rename to __memcpy_g5.
1896 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1897 (memcpy_mvcle) Rename to __memcpy_mvcle.
1898 * sysdeps/s390/s390-32/memset.S
1899 (memset_g5): Rename to __memset_g5.
1900 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1901 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1902 and use prefixed functions.
1903 * sysdeps/s390/s390-32/multiarch/memcmp.S
1904 (memcmp_z196): Rename to __memcmp_z196.
1905 (memcmp_z10): Rename to __memcmp_z10.
1906 (memcmp): Set alias to __memcmp_g5.
1907 (bcmp): Set alias to __memcmp_g5.
1908 * sysdeps/s390/s390-32/multiarch/memcpy.S
1909 (memcpy_z196): Rename to __memcpy_z196.
1910 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1911 (memcpy_z10): Rename to __memcpy_z10.
1912 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1913 (memcpy): Set alias to __memcpy_g5.
1914 * sysdeps/s390/s390-32/multiarch/memset.S
1915 (memset_z196): Rename to __memset_z196.
1916 Jump to __memset_mvcle instead of memset_mvcle.
1917 (memset_z10): Rename to __memset_z10.
1918 Jump to __memset_mvcle instead of memset_mvcle.
1919 (memset_mvcle) Rename to __memset_mvcle.
1920 (memset): Set alias to __memset_g5.
1921 * sysdeps/s390/s390-64/memcmp.S
1922 (memcmp_z900): Rename to __memcmp_z900.
1923 * sysdeps/s390/s390-64/memcpy.S
1924 (memcpy_z900): Rename to __memcpy_z900.
1925 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1926 (memcpy_mvcle) Rename to __memcpy_mvcle.
1927 * sysdeps/s390/s390-64/memset.S
1928 (memset_z900): Rename to __memset_z900.
1929 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1930 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1931 and use prefixed functions.
1932 * sysdeps/s390/s390-64/multiarch/memcmp.S
1933 (memcmp_z196): Rename to __memcmp_z196.
1934 (memcmp_z10): Rename to __memcmp_z10.
1935 (memcmp): Set alias to __memcmp_z900.
1936 (bcmp): Set alias to __memcmp_z900.
1937 * sysdeps/s390/s390-64/multiarch/memcpy.S
1938 (memcpy_z196): Rename to __memcpy_z196.
1939 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1940 (memcpy_z10): Rename to __memcpy_z10.
1941 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1942 (memcpy): Set alias to __memcpy_z900.
1943 * sysdeps/s390/s390-64/multiarch/memset.S
1944 (memset_z196): Rename to __memset_z196.
1945 Jump to __memset_mvcle instead of memset_mvcle.
1946 (memset_z10): Rename to __memset_z10.
1947 Jump to __memset_mvcle instead of memset_mvcle.
1948 (memset_mvcle) Rename to __memset_mvcle.
1949 (memset): Set alias to __memset_z900.
1950
1951 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1952
1953 [BZ #17748]
1954 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1955 __fesetenv instead of fesetenv.
1956
1957 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1958
1959 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1960 macro.
1961
1962 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1963
1964 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1965 regression on LE.
1966
1967 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1968 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1969 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1970 strncmp-power8 object.
1971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1972 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1973 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1974 * NEWS: Update.
1975
1976 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1977 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1978
1979 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1980 trailing byte check.
1981
1982 2015-01-13 David S. Miller <davem@davemloft.net>
1983
1984 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1985
1986 2015-01-13 Roland McGrath <roland@hack.frob.com>
1987
1988 * login/logout.c (logout): Use memset rather than bzero.
1989 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1990 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1991 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1992 (_gethtbyaddr): Likewise.
1993 * locale/programs/simple-hash.c (bcopy): Macro removed.
1994
1995 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1996
1997 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1998 Add strcmp-power8 object.
1999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2000 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2001 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2002 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2003 __strcmp_power8 implementation.
2004 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2005 * NEWS: Update.
2006
2007 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2008 Add strncpy-power8 and stpncpy-power8 objects.
2009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2010 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2011 implementations.
2012 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2013 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2014 __stpncpy_power8 implementation.
2015 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2016 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2017 __strncpy_power8 implementation.
2018 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2019 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2020 * NEWS: Update.
2021
2022 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2023 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2024 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2025
2026 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2027 strncat-power8 object.
2028 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2029 __strcat_power8 implementation.
2030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2031 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2032 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2033 optimized strcat for power8.
2034
2035 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2036 strcpy-power8 and stpcpy-power8 objects.
2037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2038 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2039 implementations.
2040 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2041 multiarch stpcpy implementation for POWER8.
2042 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2043 multiarch strcpy implementation for POWER8.
2044 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2045 __strcpy_power8 function.
2046 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2047 stpcpy for POWER8.
2048 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2049 strcpy for POWER8.
2050 * NEWS: Update.
2051
2052 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2053
2054 [BZ #16009]
2055 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2056 weights and rules. Use do_xfrm_cached if data fits in cache,
2057 do_xfrm otherwise. Moved former main loop to...
2058 * (do_xfrm_cached): New function.
2059 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2060 find_idx, find_position and stack_push.
2061 * (find_idx): New function.
2062 * (find_position): Likewise.
2063 * localedata/sort-test.sh: Added test run for do_xfrm.
2064 * localedata/xfrm-test.c (main): Added command line option
2065 -nocache to run the test with strings that are too large for
2066 the STRXFRM cache.
2067
2068 2015-01-13 Torvald Riegel <triegel@redhat.com>
2069
2070 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2071 variable to lll_futex_wake call, not the value itself.
2072
2073 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2074
2075 [BZ #17803]
2076 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2077 twom64. Adjust value to 0x1p-64L.
2078 (__scalblnl): Only return standard underflowing result for K <=
2079 -64 not K <= -63; adjust exponent for underflowing result by 64
2080 not 63.
2081 * math/libm-test.inc (scalbn_test_data): Add more tests.
2082 (scalbln_test_data): Likewise.
2083
2084 [BZ #17834]
2085 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2086 0x1p63L.
2087 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2088 not HX.
2089 * math/libm-test.inc (scalbn_test_data): Add more tests.
2090 (scalbln_test_data): Likewise.
2091
2092 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093 Stefani Seibold <stefani@seibold.net>
2094
2095 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2096 (sysdep_routines): Add dl-vdso here, ...
2097 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2098 (sysdep_routines): ... not here.
2099 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2100 fallback when vDSO is not presented.
2101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2102 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2103 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2104 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2105 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2106 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2107 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2108 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2109 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2110 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2111 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2112 fallback configurable symbol when vDSO is not available.
2113 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2114 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2115 be able to redefine fallback symbol when vDSO is not available.
2116 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2117 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2118
2119 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2120
2121 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2122 (TLS_INIT_TP): Add tm_capable initialization.
2123 (TLS_DEFINE_INIT_TP): Likewise.
2124 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2125 TCB.
2126 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2127 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2128 calculation.
2129 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2130 transactoion is lock elision is built and TCB tm_capable is set.
2131 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2133 (INTERNAL_SYSCALL_NCS): Likewise.
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2135 (INTERNAL_SYSCALL_NCS): Likewise.
2136 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2137
2138 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2139 for powerpc.
2140 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2141 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2142 and remove it for 32 bits case.
2143 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2145 initialization.
2146 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2147 Disable lock elision with rdlocks if elision is not available.
2148
2149 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2150 (sysdep_routines): Add lock elision objects.
2151 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2152 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2153 [pthread_mutex_t] (__elision): Add field.
2154 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2155 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2156 elision definitions for powerpc.
2157 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2158 implementation of lock elision for powerpc.
2159 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2160 implementation of timed lock elision for powerpc.
2161 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2162 implementation of trylock with lock elision for powerpc.
2163 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2164 implementaion of unlock for lock elision for powerpc.
2165 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2166 automatic enable lock elision for mutexes.
2167 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2168 transaction execution definitions for powerpc.
2169 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2170 definitions.
2171 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2172 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2173 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2174 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2175 * NEWS: Update.
2176
2177 2015-01-09 Roland McGrath <roland@hack.frob.com>
2178
2179 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2180 for #include of <shm-directory.h>.
2181
2182 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2183
2184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2185 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2186
2187 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2188
2189 [BZ #17791]
2190 * NEWS: Mention bug fix.
2191 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2192 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2193 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2194
2195 2015-01-09 Torvald Riegel <triegel@redhat.com>
2196
2197 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2198
2199 2015-01-09 Torvald Riegel <triegel@redhat.com>
2200
2201 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2202
2203 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2204
2205 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2206 pointer and cast to uintptr_t.
2207
2208 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2209
2210 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2211 removed.
2212 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2213
2214 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2215
2216 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2217 of 0.
2218
2219 2015-01-08 Roland McGrath <roland@hack.frob.com>
2220
2221 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2222 <nptl/pthreadP.h> instead.
2223 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2224
2225 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2226 already defined.
2227 [__SIGRTMIN] (init): Function removed.
2228 [__SIGRTMIN] (initialized): Variable removed.
2229 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2230 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2231 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2232 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2233 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2234 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2235 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2236 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2237 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2238 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2239 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2240 * sysdeps/nptl/allocrtsig.c: New file.
2241 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2242 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2243 * sysdeps/generic/testrtsig.h: File removed.
2244
2245 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2246 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2247
2248 * nptl/nptl-init.c (pthread_functions): Conditionalize
2249 .ptr__nptl_setxid initialization on [SIGSETXID].
2250
2251 * sysdeps/nptl/sys/procfs.h: New file.
2252 * nptl_db/Makefile (headers): Add it.
2253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2254
2255 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2256 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2257 * nptl/pthread_attr_setaffinity.c: Include it.
2258 * nptl/pthread_setattr_default_np.c: Likewise.
2259 * nptl/check-cpuset.h: New file.
2260
2261 2015-01-08 Richard Henderson <rth@redhat.com>
2262
2263 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2264 (CFLAGS-tst-execstack-prog.c): Likewise.
2265 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2266
2267 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2268 Sandra Loosemore <sandra@codesourcery.com>
2269 Andrew Jenner <andrew@codesourcery.com>
2270 Joseph Myers <joseph@codesourcery.com>
2271 Nathan Sidwell <nathan@codesourcery.com>
2272
2273 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2274 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2275 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2276 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2277 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2278 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2279 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2280 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2281 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2282 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2283 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2284 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2285 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2286 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2287 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2288 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2289 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2290
2291 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2292
2293 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2294 timespec struct member in syscall macro.
2295 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2296 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2297 first timeval struct member in syscall macro.
2298 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2299
2300 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2301
2302 [BZ #17748]
2303 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2304 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2305 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2306 __feupdateenv and define as weak alias of __feupdateenv. Use
2307 libm_hidden_weak.
2308 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2309 libm_hidden_def.
2310 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2311 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2312 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2313 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2314 libm_hidden_def.
2315 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2316 __feupdateenv and define as weak alias of __feupdateenv. Use
2317 libm_hidden_weak.
2318 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2319 libm_hidden_def.
2320 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2321 __feupdateenv and define as weak alias of __feupdateenv. Use
2322 libm_hidden_weak.
2323 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2324 libm_hidden_def.
2325 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2326 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2327 (__feupdateenv): Likewise.
2328 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2329 __feupdateenv and define as weak alias of __feupdateenv. Use
2330 libm_hidden_weak.
2331 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2332 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2333 libm_hidden_def.
2334 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2335 function.
2336 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2337 libm_hidden_def.
2338 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2339 __feupdateenv instead of feupdateenv.
2340 (default_libc_feupdateenv_test): Likewise.
2341 (libc_feresetround_ctx): Likewise.
2342
2343 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2344
2345 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2346 prototype.
2347
2348 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2349
2350 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2351 COLL_SYM in a couple of places to avoid uninitialized variable
2352 wanings on tilegx gcc 4.8.2.
2353
2354 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2355
2356 * sysdeps/aarch64/strcpy.S: New file.
2357 * sysdeps/aarch64/stpcpy.S: New file.
2358 * NEWS: Updated.
2359
2360 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2361
2362 * sysdeps/aarch64/strrchr.S: New file.
2363 * NEWS: Updated.
2364
2365 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2366
2367 [BZ #17658]
2368 * stdlib/setenv.c: Fix memory leak when setting large,
2369 duplicate string.
2370
2371 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2372
2373 [BZ #17273]
2374 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2375 and tabs from buffer before parsing fstab entry.
2376 * misc/tst-mntent.c (main): Add test for mount entry with
2377 trailing spaces and tabs.
2378
2379 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2380
2381 [BZ #17748]
2382 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2383 * math/fesetround.c (fesetround): Rename to __fesetround and
2384 define as weak alias of __fesetround. Use libm_hidden_weak.
2385 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2386 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2387 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2388 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2389 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2390 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2391 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2392 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2393 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2394 __fesetround_inline.
2395 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2396 __fesetround_inline instead of __fesetround.
2397 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2398 __fesetround and define as weak alias of __fesetround. Use
2399 libm_hidden_weak. Call __fesetround_inline instead of
2400 __fesetround.
2401 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2402 __fesetround and define as weak alias of __fesetround. Use
2403 libm_hidden_weak.
2404 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2405 Likewise.
2406 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2407 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2408 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2409 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2410 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2411 __fesetround and define as weak alias of __fesetround. Use
2412 libm_hidden_weak.
2413 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2414 __fesetround instead of fesetround.
2415 (default_libc_feholdexcept_setround): Likewise.
2416 (libc_feholdsetround_ctx): Likewise.
2417 (libc_feholdsetround_noex_ctx): Likewise.
2418
2419 [BZ #17748]
2420 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2421 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2422 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2423 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2424 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2425 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2426 define as weak alias of __fesetenv. Use libm_hidden_weak.
2427 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2428 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2429 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2430 define as weak alias of __fesetenv. Use libm_hidden_weak.
2431 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2432 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2433 define as weak alias of __fesetenv. Use libm_hidden_weak.
2434 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2435 libm_hidden_def.
2436 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2437 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2438 Likewise.
2439 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2440 define as weak alias of __fesetenv. Use libm_hidden_weak.
2441 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2442 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2443 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2444 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2445 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2446 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2447 __fesetenv instead of fesetenv.
2448 (libc_feresetround_noex_ctx): Likewise.
2449 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2450 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2451 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2452 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2453 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2454 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2455 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2456 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2457 (__feupdateenv): Likewise.
2458 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2459 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2460 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2461 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2462
2463 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2464
2465 [BZ #17806]
2466 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2467 addresses have been freed.
2468
2469 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2470
2471 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2472 and nservall.
2473
2474 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2475
2476 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2477 Clean up check_pf allocation pattern. addresses
2478
2479 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2480
2481 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2482 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2483 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2484 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2485 * nptl/pthread_join.c (pthread_join): Likewise.
2486 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2487 * sysdeps/posix/waitid.c (__waitid): Likewise.
2488 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2489 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2490 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2491 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2492 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2493 Likewise.
2494 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2495 (__libc_pread64): Likewise.
2496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2497 (__libc_pwrite): Likewise.
2498 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2499 (__libc_pwrite64): Likewsie.
2500 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2501 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2502 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2503 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2504 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2505 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2506 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2508 Likewise.
2509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2510 (__libc_pread64): Likewise.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2512 Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2514 (__libc_pwrite64): Likewise.
2515 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2516 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2517 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2518 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2519 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2520 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2521 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2522 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2523 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2524 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2525 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2526 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2527 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2528 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2529 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2531 Likewise.
2532
2533 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2534
2535 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2536 (CFLAGS-test-double.c): Likewise.
2537 (CFLAGS-test-ldouble.c): Likewise.
2538 (CPPFLAGS-test-ifloat.c): Likewise.
2539 (CPPFLAGS-test-idouble.c): Likewise.
2540 (CPPFLAGS-test-ildoubl.c): Likewise.
2541 (CFLAGS-test-test-fenv.c): Remove variable.
2542 (CFLAGS-test-misc.c): Likewise.
2543
2544 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2545
2546 [BZ #17797]
2547 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2548 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2549 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2550 CLOCKS_PER_SEC == 1000000.
2551 * time/clocktest.c (main): Replace %ld with %jd and cast to
2552 intmax_t.
2553
2554 2015-01-05 Roland McGrath <roland@hack.frob.com>
2555
2556 * sysdeps/generic/unwind-resume.h: New file.
2557 * sysdeps/gnu/unwind-resume.c: Include it.
2558 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2559 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2560 argument list.
2561 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2562 global rather than static.
2563 (_Unwind_Resume): Update user.
2564 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2565 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2566 rather than static. Add __attribute__ ((cold)).
2567 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2568 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2569 * sysdeps/arm/arm-unwind-resume.S: New file.
2570 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2571 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2572 * sysdeps/arm/Makefile [$(subdir) = csu]
2573 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2574 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2575 Add rt-arm-unwind-resume.
2576 [$(subdir) = nptl]
2577 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2578 Add pt-arm-unwind-resume.
2579 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2580 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2581
2582 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2583
2584 [BZ #17748]
2585 * include/fenv.h (__feholdexcept): Declare. Use
2586 libm_hidden_proto.
2587 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2588 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2589 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2590 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2591 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2592 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2593 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2594 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2595 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2596 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2597 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2598 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2599 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2600 (feholdexcept): Likewise.
2601 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2602 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2603 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2604 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2605 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2606 __feholdexcept instead of feholdexcept.
2607 (default_libc_feholdexcept_setround): Likewise.
2608
2609 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2610
2611 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2612 to avoid using stl/str to align destination.
2613
2614 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2615
2616 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2617
2618 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2619
2620 [BZ #17796]
2621 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2622 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2623 Define as weak alias not strong alias.
2624
2625 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2626
2627 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2628 bltzal with addiupc.
2629 (RTLD_START): Ditto.
2630
2631 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2632
2633 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2634 for __vdso_* functions in declarations.
2635 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2636 definitions.
2637 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2638 INTERNAL_VSYSCALL): Use struct return types to check for error.
2639
2640 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2641 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2642 function with cast from llround().
2643 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2644 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2645 Define.
2646
2647 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2648
2649 [BZ #17793]
2650 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2651 Define as weak alias not strong alias.
2652
2653 [BZ #17635]
2654 * ctype/ctype-c99.c: New file. isblank implementation moved from
2655 ...
2656 * ctype/ctype-extn.c: ... here.
2657 (__isblank_l): Move to ...
2658 * ctype/ctype-c99_l.c: ... here. New file.
2659 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2660 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2661 Remove variable.
2662 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2663 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2664 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2665 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2666 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2667
2668 [BZ #17777]
2669 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2670 (posix_fadvise64): Define as weak alias not strong alias.
2671 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2672 (posix_fallocate64): Likewise.
2673 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2674 Remove variable.
2675 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2676 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2677 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2678 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2679 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2680
2681 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2682
2683 [BZ #16191]
2684 * NEWS: Mention bug fix.
2685 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2686 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2687 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2688 (HOST_STACK_END_ADDR): Likewise.
2689
2690 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2691
2692 [BZ #17748]
2693 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2694 * math/fegetround.c (fegetround): Rename to __fegetround and
2695 define as weak alias of __fegetround. Use libm_hidden_weak.
2696 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2697 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2698 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2699 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2700 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2701 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2702 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2703 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2704 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2705 Undefine after rather than before function definition; use
2706 parentheses around function name in definition.
2707 (__fegetround): Also undefine macro after function definition.
2708 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2709 __fegetround and define as weak alias of __fegetround. Use
2710 libm_hidden_weak. Do not undefine as macro.
2711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2712 Likewise.
2713 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2714 __fegetround and define as weak alias of __fegetround. Use
2715 libm_hidden_weak.
2716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2717 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2718 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2719 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2720 __fegetround and define as weak alias of __fegetround. Use
2721 libm_hidden_weak.
2722 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2723 __fegetround instead of fegetround.
2724
2725 [BZ #17782]
2726 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2727 Condition macro definition on [__USE_MISC].
2728
2729 [BZ #17781]
2730 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2731 (struct sigaction): Change type of sa_flags field to int.
2732
2733 [BZ #17780]
2734 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2735 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2736 __glibc_reserved0.
2737
2738 * nptl/version.c (banner): Use single year in copyright notice.
2739
2740 * NEWS: Update copyright dates.
2741 * catgets/gencat.c (print_version): Likewise.
2742 * csu/version.c (banner): Likewise.
2743 * debug/catchsegv.sh: Likewise.
2744 * debug/pcprofiledump.c (print_version): Likewise.
2745 * debug/xtrace.sh (do_version): Likewise.
2746 * elf/ldconfig.c (print_version): Likewise.
2747 * elf/ldd.bash.in: Likewise.
2748 * elf/pldd.c (print_version): Likewise.
2749 * elf/sotruss.sh: Likewise.
2750 * elf/sprof.c (print_version): Likewise.
2751 * iconv/iconv_prog.c (print_version): Likewise.
2752 * iconv/iconvconfig.c (print_version): Likewise.
2753 * locale/programs/locale.c (print_version): Likewise.
2754 * locale/programs/localedef.c (print_version): Likewise.
2755 * login/programs/pt_chown.c (print_version): Likewise.
2756 * malloc/memusage.sh (do_version): Likewise.
2757 * malloc/memusagestat.c (print_version): Likewise.
2758 * malloc/mtrace.pl: Likewise.
2759 * manual/libc.texinfo: Likewise.
2760 * nptl/version.c (banner): Likewise.
2761 * nscd/nscd.c (print_version): Likewise.
2762 * nss/getent.c (print_version): Likewise.
2763 * nss/makedb.c (print_version): Likewise.
2764 * posix/getconf.c (main): Likewise.
2765 * scripts/test-installation.pl: Likewise.
2766 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2767
2768 2015-01-02 Will Newton <will.newton@linaro.org>
2769
2770 * sysdeps/arm/armv7/configure: Removed.
2771 * sysdeps/arm/armv7/configure.ac: Likewise.
2772
2773 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2774
2775 * All files with FSF copyright notices: Update copyright dates
2776 using scripts/update-copyrights.
2777 * intl/plural.c: Regenerated.
2778 * locale/programs/charmap-kw.h: Likewise.
2779 * locale/programs/locfile-kw.h: Likewise.
2780
2781 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2782
2783 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2784
2785 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2786
2787 [BZ #17748]
2788 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2789 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2790 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2791 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2792 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2793 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2794 define as weak alias of __fegetenv. Use libm_hidden_weak.
2795 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2796 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2797 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2798 define as weak alias of __fegetenv. Use libm_hidden_weak.
2799 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2800 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2801 define as weak alias of __fegetenv. Use libm_hidden_weak.
2802 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2803 libm_hidden_def.
2804 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2805 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2806 Likewise.
2807 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2808 define as weak alias of __fegetenv. Use libm_hidden_weak.
2809 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2810 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2811 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2812 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2813 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2814 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2815 __fegetenv instead of fegetenv.
2816 (libc_feholdsetround_noex_ctx): Likewise.
2817
2818 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2819
2820 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2821 (Elf_MIPS_ABIFlags_v0): New structure.
2822 (EF_MIPS_FP64): Define.
2823 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2824 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2825 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2826 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2827 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2828 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2829 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2830 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2831 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2832 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2833 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2834 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2835 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2836 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2837 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2838 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2839 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2840 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2841 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2842 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2843 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2844 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2845 field.
2846 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2847 EF_MIPS_FP64.
2848 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2849 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2850 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2851 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2852 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2853 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2854 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2855 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2856 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2857 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2858 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2859 record the current FP ABI extension.
2860 (mips-mode-switch): Define to show if kernel headers support mode
2861 switching.
2862 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2863 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2864 supported SYSV ABI version to 3.
2865 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2866 feature.
2867
2868 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2869 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870
2871 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2872 path.
2873 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2874
2875 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2876
2877 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2878 __fegetround and redefine to call __fegetround. Remove condition
2879 on [!__NO_MATH_INLINES].
2880 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2881 function.
2882 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2883 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2884 Remove macro.
2885 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2886 instead of <fenv_libc.h>.
2887 (__llrintl): Call fegetround instead of __fegetround.
2888 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2889 instead of <fenv_libc.h>.
2890 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2891 (__lrintl): Call fegetround instead of __fegetround.
2892 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2893 instead of <fenv_libc.h>.
2894 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2895 (__rintl): Call fegetround instead of __fegetround.
2896
2897 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2898
2899 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2900 arrays.
2901
2902 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2903
2904 [BZ #17775]
2905 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2906 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2907 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2908
2909 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2910
2911 * sysdeps/i386/tls-macros.h: Include <features.h>.
2912 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2913 (TLS_IE): Likewise.
2914 (TLS_LD): Likewise.
2915 (TLS_GD): Likewise.
2916 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2917 define for GCC >= 5.0.
2918
2919 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2920
2921 * math/test-fenv.c (test_single_exception, set_single_exc,
2922 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2923 feexcp_mask_test, feenable_test, fe_single_test): Add
2924 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2925 case where they are not used.
2926 * math/libm-test.inc: Likewise.
2927 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2928 unused in the absence of FP rounding/exception support.
2929 * stdio-common/tst-printf-round.c: Likewise.
2930 * stdlib/tst-strtod-round.c: Likewise.
2931 * stdlib/tst-strtod-underflow.c: Likewise.
2932
2933 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2934
2935 [BZ #17723]
2936 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2937 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2938 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2939 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2940 libm_hidden_weak.
2941 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2942 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2943 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2944 libm_hidden_def.
2945 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2946 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2947 libm_hidden_weak.
2948 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2949 Likewise.
2950 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2951 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2952 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2953 libm_hidden_weak.
2954 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2955 libm_hidden_def.
2956 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2957 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2958 (__feraiseexcept): Likewise.
2959 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2960 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2961 libm_hidden_weak.
2962 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2963 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2964 libm_hidden_def.
2965 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2966 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2967 Use libm_hidden_def.
2968 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2969 libm_hidden_def.
2970 (feraiseexcept): Define as weak not strong alias. Use
2971 libm_hidden_weak.
2972 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2973 New inline function. Factored out of ...
2974 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2975 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2976 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2977 feraiseexcept.
2978 * math/w_acos.c (__acos): Likewise.
2979 * math/w_asin.c (__asin): Likewise.
2980 * math/w_ilogb.c (__ilogb): Likewise.
2981 * math/w_j0.c (y0): Likewise.
2982 * math/w_j1.c (y1): Likewise.
2983 * math/w_jn.c (yn): Likewise.
2984 * math/w_log.c (__log): Likewise.
2985 * math/w_log10.c (__log10): Likewise.
2986 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2987 * sysdeps/aarch64/fpu/math_private.h
2988 (libc_feupdateenv_test_aarch64): Likewise.
2989 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2990 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2991 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2992 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2993 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2994 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2995 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2996 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2997 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2998 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2999
3000 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3001
3002 [BZ #17732]
3003 * io/test-utime.c (main): Replace %ld with %jd and cast to
3004 intmax_t.
3005 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3006 * nptl/tst-mutex5.c: Include <stdint.h>.
3007 (do_test): Replace %ld with %jd and cast to intmax_t.
3008 * posix/tst-regex.c (run_test): Likewise.
3009 (run_test_backwards): Likewise.
3010 * rt/tst-clock.c: Include <stdint.h>.
3011 (clock_test): Replace %ld with %jd and cast to intmax_t.
3012 * rt/tst-cpuclock1.c: Include <stdint.h>.
3013 (do_test): Replace %lu with %ju and cast to uintmax_t.
3014 * rt/tst-cpuclock2.c: Include <stdint.h>.
3015 (do_test): Replace %lu with %ju and cast to uintmax_t.
3016 * rt/tst-mqueue1.c: Include <stdint.h>.
3017 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3018 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3019 intmax_t.
3020 * rt/tst-mqueue4.c (do_test): Likewise.
3021 * rt/tst-timer4.c: Include <stdint.h>.
3022 (check_ts): Replace %ld with %jd and cast to intmax_t.
3023 (do_test): Likewise.
3024 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3025 and cast to intmax_t.
3026 * sysdeps/pthread/tst-timer.c (main): Likewise.
3027 * time/clocktest.c (main): Likewise.
3028 * time/tst-posixtz.c (do_test): Likewise.
3029 * timezone/tst-timezone.c (main): Likewise.
3030
3031 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3032 H.J. Lu <hongjiu.lu@intel.com>
3033
3034 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3035 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3036 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3037 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3038 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3039 version if bit_Fast_Unaligned_Load is set.
3040 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3041 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3043 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3047 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3048 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3049 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3050 to 4.
3051 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3052 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3053 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3054 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3055
3056 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3057
3058 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3059 instead of #if to avoid a Wundef warning.
3060 * stdlib/tst-limits.c (do_test): Likewise.
3061
3062 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3063 parallel other exception macros.
3064 (fegetenv): Convert from macro to extern inline so that it applies
3065 retroactively to inline functions already seen by the compiler.
3066 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3067
3068 * posix/Makefile (before-compile): Use $(objpfx) for
3069 posix-conf-vars-def.h.
3070
3071 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3072
3073 * posix/getconf.c (main): Use size_t for type of I.
3074 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3075 NSPEC.
3076
3077 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3078 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3079 * posix/posix-envs.def: Likewise.
3080 * sysdeps/posix/sysconf.c: Likewise.
3081 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3082 (specs): Remove array.
3083 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3084 array.
3085
3086 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3087 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3088 (__sysconf): Use CONF_IS_* macros.
3089
3090 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3091 ($(objpfx)posix-conf-vars-def.h): New target.
3092 * posix/posix-conf-vars.list: New file.
3093 * posix/posix-conf-vars.h: New file.
3094 * posix/confstr.c: Include posix-conf-vars.h.
3095 (confstr): Use CONF_IS_* macros.
3096 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3097 CONF_IS_* macros.
3098 * scripts/gen-posix-conf-vars.awk: New file.
3099
3100 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3101
3102 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3103 fegetround): Add no-op macros to avoid linknamespace issues.
3104
3105 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3106 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3107
3108 * sysdeps/unix/sysv/linux/tile/sysdep.h
3109 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3110 assembly-specific section to avoid a redefinition warning.
3111
3112 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3113 long before casting to pointer to avoid a cast warning.
3114
3115 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3116
3117 * sysdeps/tile/tilegx/Implies: New file.
3118
3119 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3120
3121 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3122
3123 2014-12-23 Florian Weimer <fweimer@redhat.com>
3124
3125 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3126
3127 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3128
3129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3130 not define.
3131 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3132 <kernel-features.h>.
3133 (__utimes) [__NR_utimes]: Make code unconditional.
3134 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3135 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3136 (__ASSUME_UTIMES): Do not undefine.
3137 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3138 (__ASSUME_UTIMES): Likewise.
3139 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3140 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3141 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3142 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3143
3144 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3145
3146 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3147
3148 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3149
3150 [BZ #17747]
3151 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3152 alias to weak alias for j0l, y0l.
3153 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3154 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3155
3156 [BZ #17746]
3157 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3158 conversion.
3159
3160 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3161
3162 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3163 to zero if not already defined.
3164
3165 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #17724]
3168 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3169 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3170 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3171 (char *) casts added.
3172 * sysdeps/ieee754/k_standardf.c: New file.
3173 * sysdeps/ieee754/k_standardl.c: Likewise.
3174 * math/Makefile (libm-support): Remove k_standard.
3175 (libm-calls): Add k_standard.
3176
3177 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3178
3179 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3180 Optimize to avoid an unnecessary FPCR read.
3181
3182 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3183
3184 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3185 Optimize to reduce FPCR/FPSR accesses.
3186
3187 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3188
3189 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3190 Call libc_fetestexcept_aarch64.
3191
3192 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3193
3194 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3195 Call libc_fesetround_aarch64.
3196
3197 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3198
3199 [BZ #17733]
3200 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3201 (__bind): Do not define as weak alias.
3202 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3203 define.
3204 (__getsockname): Do not define as weak alias.
3205
3206 2014-12-22 Will Newton <will.newton@linaro.org>
3207
3208 * manual/install.texi: Document that we require bison 2.7
3209 or above.
3210 * INSTALL: Regenerate.
3211 * configure.ac: Use AC_CHECK_PROG_VER instead of
3212 AC_PATH_PROG when checking for bison and check for
3213 version 2.7 or above.
3214 * configure: Regenerate.
3215
3216 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3217
3218 [BZ #17745]
3219 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3220 * sysdeps/tile/ffsll.c (ffsll): To here.
3221
3222 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3223
3224 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3225
3226 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3227 if not defined.
3228 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3229 definition.
3230 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3231 hidden ___tls_get_addr.
3232 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3233 hidden __tls_get_addr.
3234 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3235 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3236 Likewise.
3237
3238 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3239
3240 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3241 _dl_init call.
3242
3243 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3244
3245 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3246 from "call _dl_init@PLT".
3247 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3248
3249 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3250
3251 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3252 guarantees.
3253
3254 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3255
3256 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3257
3258 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3259
3260 [BZ #17744]
3261 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3262 strnlen.
3263
3264 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3265
3266 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3267 of multu on MIPSr6.
3268 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3269 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3270 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3271 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3272 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3273
3274 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3275
3276 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3277 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3278 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3279 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3280 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3281 mips32r6/mips64r6.
3282 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3283
3284 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3285
3286 * string/strncat.c (STRNCAT): Simplify implementation.
3287
3288 2014-12-19 David S. Miller <davem@davemloft.net>
3289
3290 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3291 access the quad as both a long double and as a series of 4 words.
3292
3293 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3294 link_map->l_info array access.
3295
3296 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3297
3298 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3299
3300 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3301 * math/atest-exp2.c (TIMEOUT): Likewise.
3302 * math/atest-sincos.c (TIMEOUT): Likewise.
3303
3304 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3305
3306 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3307 -Wno-error with -fno-builtin-lround.
3308
3309 2014-12-19 Torvald Riegel <triegel@redhat.com>
3310
3311 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3312 Contains futex constants and functions moved over from ...
3313 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3314 <lowlevellock-futex.h>.
3315 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3316 (lll_timedwait_tid): Add comments and parentheses around macro
3317 arguments.
3318
3319 2014-12-19 Torvald Riegel <triegel@redhat.com>
3320
3321 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3322 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3323 (__lll_private_flag): Remove.
3324 (lll_futex_wait): Likewise.
3325 (lll_futex_timed_wait): Likewise.
3326 (lll_futex_wake): Likewise.
3327 (lll_futex_requeue): Likewise.
3328 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3329 (__lll_timedwait_tid): Spell out argument names.
3330 (lll_timedwait_tid): Add comments and parentheses around macro
3331 arguments.
3332 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3333 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3334
3335 2014-12-19 Torvald Riegel <triegel@redhat.com>
3336
3337 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3338 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3339 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3341 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3342 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3343 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3344 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3345 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3348 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3350 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3351 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3352 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3353 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3354 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3355 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3356
3357 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 * sysdeps/x86_64/x32/Makefile: New file.
3360
3361 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3362
3363 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3364 1L with (mp_limb_t) 1.
3365
3366 2014-12-17 Roland McGrath <roland@hack.frob.com>
3367
3368 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3369 * nptl/libc_pthread_init.c: ... here.
3370 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3371 * nptl/register-atfork.c: ... here.
3372
3373 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3374 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3375 Use assert_perror to check its return value.
3376 (__gai_create_helper_thread): Likewise.
3377
3378 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3379
3380 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3381
3382 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #17725]
3385 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3386 __profil_counter.
3387 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3388 Likewise.
3389 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3390 Likewise.
3391 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3392 Likewise.
3393 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3394 (profil_counter): Likewise.
3395 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3396 (profil_counter): Likewise.
3397 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3398 Likewise.
3399 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3400 Likewise.
3401 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3402 (profil_counter): Likewise.
3403 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3404 Likewise.
3405 [!__profil_counter] (profil_counter): Define as weak alias of
3406 __profil_counter.
3407 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3408 (profil_counter): Rename to __profil_counter.
3409 [!__profil_counter] (profil_counter): Define as weak alias of
3410 __profil_counter.
3411 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3412 (profil_counter): Rename to __profil_counter.
3413 [!__profil_counter] (profil_counter): Define as weak alias of
3414 __profil_counter.
3415 * sysdeps/posix/profil.c: Update comment referring to
3416 profil_counter.
3417 (__profil): Use __profil_counter instead of profil_counter.
3418 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3419 __profil_counter. Use __profil_counter_ushort and
3420 __profil_counter_uint in definitions.
3421 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3422 instead of profil_counter_uint and profil_counter_ushort.
3423
3424 [BZ #17722]
3425 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3426 define as weak alias of __inet_makeaddr.
3427 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3428 as weak alias of __inet_addr.
3429 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3430 as weak alias of __inet_pton. Use libc_hidden_weak.
3431 * include/arpa/inet.h (__inet_pton): Declare. Use
3432 libc_hidden_proto.
3433 (inet_makeaddr): Don't use libc_hidden_proto.
3434 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3435 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3436 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3437 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3438 Remove variable.
3439 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3440 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3441
3442 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3443
3444 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3445
3446 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3447
3448 * stdio-common/bug-vfprintf-nargs.c (do_test):
3449 Cast value to intptr_t to avoid format warning
3450 for usage with PRIdPTR printing macro.
3451
3452 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3453
3454 * libio/tst-widetext.c (do_test):
3455 Use format type %td instead of %Zd for ptrdiff_t
3456 in order to avoid format warning.
3457
3458 2014-12-17 Andreas Schwab <schwab@suse.de>
3459
3460 * nscd/mem.c (gc): Add size_t cast to match printf format.
3461
3462 2014-12-16 Roland McGrath <roland@hack.frob.com>
3463
3464 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3465 (init): Apply PTR_MANGLE to pointers before storing them.
3466 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3467 before using them.
3468
3469 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3470
3471 [BZ #17719]
3472 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3473 define as weak alias of __memrchr.
3474 (__memrchr): Do not define as strong alias of memrchr.
3475 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3476 Remove variable.
3477 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3478 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3479 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3480
3481 [BZ #17717]
3482 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3483 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3484 (if_indextoname): Rename to __if_indextoname and define as weak
3485 alias of __if_indextoname. Use libc_hidden_weak.
3486 (if_freenameindex): Rename to __if_freenameindex and define as
3487 weak alias of __if_freenameindex.
3488 (if_nameindex): Rename to __if_nameindex and define as weak alias
3489 of __if_nameindex.
3490 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3491 __if_nametoindex and define as weak alias of __if_nametoindex.
3492 Use libc_hidden_weak.
3493 (if_freenameindex): Rename to __if_freenameindex and define as
3494 weak alias of __if_freenameindex.
3495 (if_nameindex): Rename to __if_nameindex and define as weak alias
3496 of __if_nameindex.
3497 (if_indextoname): Rename to __if_indextoname and define as weak
3498 alias of __if_indextoname. Use libc_hidden_weak.
3499 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3500 __if_nametoindex and define as weak alias of __if_nametoindex.
3501 Use libc_hidden_weak.
3502 (if_freenameindex): Rename to __if_freenameindex and define as
3503 weak alias of __if_freenameindex. Use libc_hidden_weak.
3504 (if_nameindex_netlink): Use __if_freenameindex instead of
3505 if_freenameindex.
3506 (if_nameindex): Rename to __if_nameindex and define as weak alias
3507 of __if_nameindex. Use libc_hidden_weak.
3508 (if_indextoname): Rename to __if_indextoname and define as weak
3509 alias of __if_indextoname. Use libc_hidden_weak.
3510 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3511 libc_hidden_proto.
3512 [!_ISOMAC] (__if_freenameindex): Likewise.
3513 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3514 if_nametoindex.
3515 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3516 variable.
3517 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3518 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3519 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3520 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3521 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3522 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3523 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3524
3525 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3526 Remove variable.
3527 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3528 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3529
3530 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3531
3532 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3533 subscript above bounds'
3534
3535 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3536 bounds.
3537
3538 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3539
3540 * libio/tst-fopenloc.c: Use test-skeleton.c.
3541
3542 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3543 (entry): Rename to ITEM.
3544 (do_test, comp): Adjust.
3545
3546 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3547
3548 2014-12-16 Torvald Riegel <triegel@redhat.com>
3549
3550 * string/tester.c: Include <libc-internal.h>.
3551 (test_memset): Ignore -Wmemset-transposed-args.
3552
3553 2014-12-16 Torvald Riegel <triegel@redhat.com>
3554
3555 * misc/tst-mntent2.c (do_test): Fix warning.
3556
3557 2014-12-16 Torvald Riegel <triegel@redhat.com>
3558
3559 * elf/tst-unique4lib.cc(a): Mark as used.
3560
3561 2014-12-16 Florian Weimer <fweimer@redhat.com>
3562
3563 [BZ #17630]
3564 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3565 names.
3566
3567 2014-12-16 Allan McRae <allan@archlinux.org>
3568
3569 * stdio-common/Makefile (tests): Re-add bug26.
3570
3571 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3572
3573 [BZ #17657]
3574 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3575 static array.
3576
3577 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3578
3579 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3580 (__lll_lock_wait): Likewise.
3581 (__lll_timedlock_wait): Likewise.
3582 (__lll_timedwait_tid): Likewise.
3583 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3584 (__lll_robust_timedlock_wait): Likewise.
3585 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3586 (lll_cond_trylock): Likewise.
3587 (__lll_lock): Likewise.
3588 (__lll_robust_lock): Likewise.
3589 (__lll_cond_lock): Likewise.
3590 (lll_robust_cond_lock): Likewise.
3591 (__lll_timedlock): Likewise.
3592 (__lll_robust_timedlock): Likewise.
3593 (__lll_unlock): Likewise.
3594 (__lll_robust_unlock): Likewise.
3595 (lll_wait_tid): Likewise.
3596 (lll_timedwait_tid): Likewise.
3597
3598 2014-12-15 Torvald Riegel <triegel@redhat.com>
3599
3600 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3601
3602 2014-12-15 Torvald Riegel <triegel@redhat.com>
3603
3604 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3605
3606 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3607
3608 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3609 * stdio-common/tst-sprintf.c: Likewise.
3610
3611 2014-12-15 Torvald Riegel <triegel@redhat.com>
3612
3613 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3614
3615 2014-12-15 Jeff Law <law@redhat.com>
3616
3617 [BZ #16617]
3618 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3619 on the heap. (CVE-2012-3406)
3620 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3621 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3622 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3623
3624 2014-12-15 Will Newton <will.newton@linaro.org>
3625
3626 * manual/install.texi: Bump required version of texinfo
3627 to 4.7 from 4.5.
3628 * INSTALL: Regenerated.
3629 * configure.ac: Check for makeinfo version 4.7 and above.
3630 * configure: Regenerated.
3631
3632 2014-12-12 Roland McGrath <roland@hack.frob.com>
3633
3634 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3635 PREFIX, string constant to insert between directory and name.
3636 * sysdeps/posix/shm_open.c: Update caller.
3637 * sysdeps/posix/shm_unlink.c: Likewise.
3638 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3639 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3640 (SEM_SHM_PREFIX): New macro.
3641 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3642 [$(have-thread-library) = no].
3643 * nptl/Makefile (libpthread-routines): Add shm-directory.
3644 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3645 * sysdeps/nptl/shm-directory.h: New file.
3646 * sysdeps/posix/shm-directory.c
3647 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3648 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3649 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3650 INTERNAL_SYSCALL.
3651 (__where_is_shmfs): Function removed.
3652 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3653 Variables removed.
3654 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3655 Use SHM_GET_NAME.
3656 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3657
3658 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3659 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3660 unconditional for use inside libpthread.
3661 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3662
3663 2014-12-12 Roland McGrath <roland@hack.frob.com>
3664
3665 * nptl/pthread_getaffinity.c: New file.
3666 * nptl/pthread_setaffinity.c: New file.
3667 * nptl/pthread_getname.c: New file.
3668 * nptl/pthread_setname.c: New file.
3669
3670 * nptl/pthread_create.c (START_THREAD_DEFN)
3671 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3672
3673 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3674 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675
3676 * resolv/res_send.c (send_vc): Disable warning resplen may
3677 be used uninitialized.
3678
3679 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3680
3681 * nptl/tst-mutex6.c
3682 (ATTR_NULL): New define checks ATTR against NULL.
3683 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3684 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3685
3686 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3687
3688 [BZ #17581]
3689 * malloc/hooks.c
3690 (mem2mem_check): Revert my previous change.
3691 (malloc_check_get_size): Revert my previous change.
3692 (mem2chunk_check): Revert my previous change.
3693
3694 2014-12-11 Roland McGrath <roland@hack.frob.com>
3695
3696 * sysdeps/posix/shm-directory.c: New file.
3697 * sysdeps/posix/shm-directory.h: New file.
3698 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3699 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3700 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3701 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3702 Transmute EPERM to EACCES.
3703 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3704 from ...
3705 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3706 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3707
3708 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3709
3710 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3711 pointer and cast to uintptr_t.
3712 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3713 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3714 Add cast to avoid warning.
3715 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3716
3717 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3718
3719 * nptl/semaphore.h: Move to ...
3720 * sysdeps/pthread/semaphore.h: ... here.
3721 * Makefile (installed-headers): Change nptl/semaphore.h to
3722 sysdeps/pthread/semaphore.h.
3723
3724 2014-12-11 Roland McGrath <roland@hack.frob.com>
3725
3726 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3727 generated error format strings.
3728
3729 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3730 -Wformat-extra-args warnings for scanf formats.
3731 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3732 test of zero-length format (duh).
3733 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3734 corner-case scanf format test.
3735 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3736 generated fprintf format string.
3737 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3738 corner-case sprintf format tests.
3739 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3740 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3741 -Wformat-extra-args warnings throughout.
3742 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3743 (CFLAGS-scanf4.c): Likewise.
3744 (CFLAGS-scanf7.c): Likewise.
3745 (CFLAGS-tst-sprintf.c): Likewise.
3746 (CFLAGS-tst-printf.c): Likewise.
3747 (CFLAGS-tst-printfsz.c): Likewise.
3748
3749 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3750
3751 * include/cpio.h: New file.
3752 * include/fmtmsg.h: Likewise.
3753
3754 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3755 corresponding format argument to size_t.
3756 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3757 arguments.
3758 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3759 corresponding format argument to size_t.
3760 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3761 arguments.
3762 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3763 corresponding format argument to size_t.
3764 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3765 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3766 (CFLAGS-tst-mbswcs2.c): Likewise.
3767 (CFLAGS-tst-mbswcs3.c): Likewise.
3768 (CFLAGS-tst-mbswcs4.c): Likewise.
3769 (CFLAGS-tst-mbswcs5.c): Likewise.
3770 (CFLAGS-tst-trans.c): Likewise
3771
3772 2014-12-11 Roland McGrath <roland@hack.frob.com>
3773
3774 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3775 rather than assuming they won't contain any '%'s.
3776
3777 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3778
3779 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3780 inhibit_loop_to_libcall to avoid recursive calls.
3781 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3782 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3783
3784 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3785
3786 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3787 prototype.
3788
3789 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3790
3791 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3792 integer value instead of boolean.
3793
3794 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3795
3796 * malloc/malloc.c: Fix powerof2 check.
3797
3798 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3799
3800 * locale/programs/locfile.h (maybe_swap_uint32):
3801 Remove inline and add unused attribute.
3802
3803 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3804
3805 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3806 Truncating assembler expression to a .long expression.
3807
3808 2014-12-11 Andreas Schwab <schwab@suse.de>
3809
3810 * elf/rtld.c (struct map_args): Constify str member.
3811 (do_preload): Constify fname argument.
3812
3813 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3814
3815 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3816 constants definition.
3817
3818 2014-12-11 Andreas Schwab <schwab@suse.de>
3819
3820 [BZ #16657]
3821 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3822 FORCE_ELISION instead of DO_ELISION.
3823 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3824 Remove.
3825 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3826 Likewise.
3827
3828 * iconvdata/gconv-modules: Remove duplicate entry.
3829
3830 2014-12-11 Will Newton <will.newton@linaro.org>
3831
3832 Merge gettext 0.19.3 into intl/.
3833
3834 This involves a number of cosmetic changes to comments
3835 and ANSI function definitions and prototypes throughout
3836 all the files. The gettext copyright header is used but
3837 with the date ranges taken from the glibc copy.
3838
3839 * NEWS: Add gettext merge to 2.21.
3840 * intl/bindtextdom.c: Switch to gettext copyright.
3841 Use ANSI definitions and prototypes.
3842 Use gl_* locking primitives rather than __libc_* ones.
3843 Use __builtin_expect rather than __glibc_likely/unlikely.
3844 * intl/dcgettext.c: Switch to gettext copyright.
3845 Use ANSI definitions and prototypes.
3846 * intl/dcigettext.c: Switch to gettext copyright.
3847 Use ANSI definitions and prototypes.
3848 (INTDIV0_RAISES_SIGFPE): New define.
3849 Use gl_* locking primitives rather than __libc_* ones.
3850 Include eval-plural.h instead of plural-eval.c.
3851 Use __builtin_expect rather than __glibc_likely/unlikely.
3852 * intl/dcngettext.c: Switch to gettext copyright.
3853 Use ANSI definitions and prototypes.
3854 * intl/dgettext.c: Likewise.
3855 * intl/dngettext.c: Likewise.
3856 * intl/plural-eval.c: Renamed to...
3857 * intl/eval-plural.h: ...this.
3858 * intl/explodename.c: Switch to gettext copyright.
3859 Use ANSI definitions and prototypes.
3860 (_nl_explode_name): Use strchr instead of __rawmemchr.
3861 * intl/finddomain.c: Switch to gettext copyright.
3862 Use ANSI definitions and prototypes.
3863 Use gl_* locking primitives rather than __libc_* ones.
3864 (_nl_find_domain): Use malloc rather than alloca for
3865 allocation of temporary locale name.
3866 * intl/gettext.c: Switch to gettext copyright.
3867 Use ANSI definitions and prototypes.
3868 * intl/gettextP.h: Switch to gettext copyright.
3869 Use ANSI definitions and prototypes.
3870 Use gl_* locking primitives rather than __libc_* ones.
3871 * intl/gmo.h: Switch to gettext copyright.
3872 (struct sysdep_string): Move struct segment_pair outside of
3873 struct definition.
3874 * intl/hash-string.c: Use ANSI definitions and prototypes.
3875 * intl/hash-string.h: Switch to gettext copyright.
3876 Use ANSI definitions and prototypes.
3877 * intl/l10nflist.c: Switch to gettext copyright.
3878 Use ANSI definitions and prototypes.
3879 (_nl_normalize_codeset): Avoid integer overflow.
3880 * intl/loadinfo.h: Switch to gettext copyright.
3881 Use ANSI definitions and prototypes.
3882 (LIBINTL_DLL_EXPORTED): New define.
3883 (PATH_SEPARATOR): New define.
3884 * intl/loadmsgcat.c: Switch to gettext copyright.
3885 * intl/localealias.c: Switch to gettext copyright.
3886 Use ANSI definitions and prototypes.
3887 (_nl_expand_alias): Use PATH_SEPARATOR.
3888 * intl/ngettext.c: Switch to gettext copyright.
3889 Use ANSI definitions and prototypes.
3890 * intl/plural-exp.c: Likewise.
3891 * intl/plural-exp.h: Switch to gettext copyright.
3892 Use ANSI definitions and prototypes.
3893 (struct expression): Move definition of enum operator outside
3894 of struct definition.
3895 * intl/plural.c: Regenerate.
3896 * intl/plural.y: Switch to gettext copyright.
3897 Use ANSI definitions and prototypes.
3898 Port to bison 3.0.
3899 * intl/textdomain.c: Switch to gettext copyright.
3900 Use ANSI definitions and prototypes.
3901 Use gl_* locking primitives rather than __libc_* ones.
3902
3903 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3904
3905 * debug/warning-nop.c: Add used atrribute.
3906
3907 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3908
3909 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3910
3911 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3912 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3913 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3914
3915 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3916 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3917
3918 [BZ #17634]
3919 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3920 Undefine after defining function. Define as weak alias of
3921 __wcschr. Use libc_hidden_weak.
3922 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3923 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3924 (libc_hidden_def): Also define __GI___wcschr alias.
3925 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3926 __wcschr and define as weak alias of __wcschr.
3927 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3928 __wcschr.
3929 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3930 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3931 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3932 libc_hidden_weak. Do not use libc_hidden_def.
3933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3934 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3935 __GI___wcschr alias.
3936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3937 [IS_IN (libc)] (wcschr): Define as macro expanding to
3938 __redirect_wcschr.
3939 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3940 [IS_IN (libc)] (__wcschr_power6): Likewise.
3941 [IS_IN (libc)] (__wcschr_power7): Likewise.
3942 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3943 instead of wcschr.
3944 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3945 __libc_wcschr.
3946 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3947 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3948 __wcschr and define as weak alias of __wcschr. Use
3949 libc_hidden_builtin_def.
3950 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3951 as weak alias of __wcschr. Use libc_hidden_weak.
3952 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3953 wcschr.
3954 * time/era.c (_nl_init_era_entries): Likewise.
3955 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3956 variable.
3957 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3958 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3959
3960 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3961
3962 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3963 format for long int variable.
3964
3965 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3966
3967 [BZ #10672]
3968 * manual/search.texi: (Array Sort Function): Remove claim how to make
3969 qsort stable.
3970
3971 2014-12-10 Andreas Schwab <schwab@suse.de>
3972
3973 [BZ #12847]
3974 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3975 user-controlled locks.
3976
3977 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3978
3979 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3980 register.
3981
3982 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3983
3984 * configure.ac (--disable-werror): New configure option.
3985 (enable_werror): New AC_SUBST.
3986 * configure: Regenerated.
3987 * config.make.in (enable-werror): New variable.
3988 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3989 -Wno-error=undef.
3990 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3991 * manual/install.texi (Configuring and compiling): Document
3992 --disable-werror.
3993 * INSTALL: Regenerated.
3994 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3995 (CFLAGS-tst-chk2.c): Likewise.
3996 (CFLAGS-tst-chk3.c): Likewise.
3997 (CFLAGS-tst-chk4.cc): Likewise.
3998 (CFLAGS-tst-chk5.cc): Likewise.
3999 (CFLAGS-tst-chk6.cc): Likewise.
4000 (CFLAGS-tst-lfschk1.c): Likewise.
4001 (CFLAGS-tst-lfschk2.c): Likewise.
4002 (CFLAGS-tst-lfschk3.c): Likewise.
4003 (CFLAGS-tst-lfschk4.cc): Likewise.
4004 (CFLAGS-tst-lfschk5.cc): Likewise.
4005 (CFLAGS-tst-lfschk6.cc): Likewise.
4006
4007 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4008 (main): Disable -Wdeprecated-declarations around calls to
4009 register_printf_function.
4010
4011 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4012 (do_test): Disable -Wdiv-by-zero around some calls to
4013 fwrite_unlocked and fread_unlocked.
4014
4015 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4016 (DIAG_POP_NEEDS_COMMENT): Likewise.
4017 (_DIAG_STR1): Likewise.
4018 (_DIAG_STR): Likewise.
4019 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4020 * stdio-common/bug21.c: Include <libc-internal.h>.
4021 (do_test): Disable -Wformat around call to sscanf.
4022 * stdio-common/scanf14.c: Include <libc-internal.h>.
4023 (main): Disable -Wformat around some calls to scanf functions.
4024
4025 2014-12-09 Torvald Riegel <triegel@redhat.com>
4026
4027 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4028
4029 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4030
4031 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4032 stack variable alignment.
4033
4034 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4035
4036 [BZ #17682]
4037 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4038 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4039 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4040 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4041 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4042 __getrlimit instead of getrlimit.
4043 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4044 __gettimeofday instead of gettimeofday.
4045 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4046 Likewise.
4047 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4048 Likewise.
4049 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4050 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4051 Remove variable.
4052 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4053 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4054
4055 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4056
4057 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4058 for wide-character tests.
4059
4060 2014-12-04 Roland McGrath <roland@hack.frob.com>
4061
4062 * io/openat64.c: #include <libc-internal.h>
4063 (__openat64): Prototypify. Use ignore_value on MODE.
4064 * io/openat.c: Likewise.
4065 * misc/reboot.c: #include <libc-internal.h>
4066 (reboot): Prototypify. Use ignore_value on HOWTO.
4067 * misc/ptrace.c: #include <libc-internal.h>
4068 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4069
4070 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4071
4072 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4073 XPG4, UNIX98 and XOPEN2K.
4074 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4075 Remove variable.
4076 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4077
4078 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4079
4080 * libio/fileops.c: Use ISO C style for function definitions.
4081 * libio/iofopen.c: Likewise.
4082 * libio/wfileops.c: Likewise.
4083
4084 [BZ #17653]
4085 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4086 offset on EOF.
4087 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4088 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4089 (fgets_func): Function pointer to fgets and fgetws.
4090 (do_ftell_test): Add test to verify ftell value after read
4091 EOF.
4092 (do_test): Set fgets_func.
4093
4094 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4095 O_TRUNC flag for w and w+ modes.
4096 (do_rewind_test): Likewise.
4097 (do_ftell_test): Likewise.
4098 (do_write_test): Likewise.
4099
4100 [BZ #17647]
4101 * libio/fileops.c (do_ftell): Seek only when there are
4102 unflushed writes.
4103 * libio/wfileops.c (do_ftell_wide): Likewise.
4104 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4105 test case.
4106 (do_one_test): Call it.
4107
4108 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4109
4110 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4111 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4112 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4113 Remove variable.
4114 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4115 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4116 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4117
4118 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4119
4120 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4121 Remove variable.
4122 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4123
4124 [BZ #17668]
4125 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4126 as weak alias of __getifaddrs. Use libc_hidden_weak.
4127 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4128 __freeifaddrs. Use libc_hidden_weak.
4129 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4130 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4131 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4132 __freeifaddrs. Use libc_hidden_weak.
4133 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4134 __getifaddrs and define as weak alias of __getifaddrs. Use
4135 libc_hidden_weak.
4136 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4137 __freeifaddrs. Use libc_hidden_weak.
4138 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4139 Remove variable.
4140 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4141 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4142
4143 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4144
4145 [BZ #17601]
4146 * sysdeps/mips/start.S (__start): Use indirect jump to call
4147 __libc_start_main.
4148
4149 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4150
4151 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4152
4153 * nptl/tst-mutex1.c: Include <stdbool.h>.
4154 [!ATTR] (ATTR_NULL): New macro.
4155 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4156 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4157 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4158
4159 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4160 to char *.
4161
4162 [BZ #17665]
4163 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4164 Change conditional to [__USE_MISC].
4165
4166 [BZ #17664]
4167 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4168 fgets_unlocked.
4169 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4170 __fgets_unlocked.
4171 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4172 fgets_unlocked.
4173 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4174 Remove variable.
4175 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4176 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4177 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4178 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4179 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4180 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4181 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4182 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4183 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4184
4185 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4186
4187 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4188
4189 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4190 Remove strpbrk objects.
4191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4192 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4193 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4194 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4195 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4196 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4197
4198 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4199 Remove strcspn objects.
4200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4201 (__libc_ifunc_impl_list): Remove strcspn implementation.
4202 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4203 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4204 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4205 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4206
4207 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4208 Remove strspn objetcs.
4209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4210 (__libc_ifunc_impl_list): Remove strspn implementation.
4211 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4212 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4213 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4214 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4215
4216 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4217
4218 [BZ #17581]
4219 * malloc/hooks.c
4220 (mem2mem_check): Add a terminator to the chain of checking blocks.
4221 (malloc_check_get_size): Use it here.
4222 (mem2chunk_check): Ditto.
4223
4224 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4225
4226 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4227 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4228
4229 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4230
4231 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4232
4233 * nptl/nptl-init.c: Include libc-internal.h.
4234 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4235
4236 * elf/ldconfig.c (search_dir): Expand comment.
4237
4238 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4239
4240 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4241 variable.
4242 (linknamespace-symlist-stdlibs-tests): Likewise.
4243 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4244 instead of $(objpfx)symlist-stdlibs.
4245 (linknamespace-libs-isoc): New variable.
4246 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4247 (linknamespace-libs-ISO): New variable.
4248 (linknamespace-libs-ISO99): Likewise.
4249 (linknamespace-libs-ISO11): Likewise.
4250 (linknamespace-libs-XPG3): Likewise.
4251 (linknamespace-libs-XPG4): Likewise.
4252 (linknamespace-libs-POSIX): Likewise.
4253 (linknamespace-libs-UNIX98): Likewise.
4254 (linknamespace-libs-XOPEN2K): Likewise.
4255 (linknamespace-libs-POSIX2008): Likewise.
4256 (linknamespace-libs-XOPEN2K8): Likewise.
4257 ($(objpfx)symlist-stdlibs): Replace by
4258 $(linknamespace-symlist-stdlibs-tests). Use
4259 $(linknamespace-libs-$*) as set of libraries.
4260 ($(linknamespace-header-tests)): Update dependencies. Use
4261 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4262 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4263 * conform/linknamespace.pl: Remove comment about considering
4264 definitions of symbols from irrelevant libraries.
4265
4266 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4267
4268 [BZ #13862]
4269 * elf/dl-tls.c: Include <atomic.h>.
4270 (oom): Remove #ifdef SHARED/#endif.
4271 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4272 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4273 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4274 big enough.
4275 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4276 * nptl/Makefile (tests): Add tst-stack4.
4277 (modules-names): Add tst-stack4mod.
4278 ($(objpfx)tst-stack4): New.
4279 (tst-stack4mod.sos): Likewise.
4280 ($(objpfx)tst-stack4.out): Likewise.
4281 ($(tst-stack4mod.sos)): Likewise.
4282 (clean): Likewise.
4283 * nptl/tst-stack4.c: New file.
4284 * nptl/tst-stack4mod.c: Likewise.
4285
4286 2014-11-27 J. Brown <jb999@gmx.de>
4287
4288 * sysdeps/x86/bits/string.h: Add recent CPUs.
4289
4290 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4291
4292 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4293 sigblock.
4294
4295 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4296 feof.
4297
4298 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4299 variable.
4300
4301 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4302
4303 * nscd/connections.c: Include libc-internal.h because of macro
4304 usage ignore_value.
4305
4306 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4307
4308 * string/bits/string3.h (__warn_memset_zero_len): Don't
4309 declare for gcc newer than 5.0.
4310 (memset): Don't test for zero-length __LEN for gcc newer than
4311 5.0.
4312
4313 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4314
4315 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4316 size_t for %zu format.
4317
4318 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4319 difference, not %ju.
4320
4321 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4322
4323 * include/libc-internal.h (ignore_value): New macro.
4324 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4325 with ignore_value.
4326
4327 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4328 definition.
4329
4330 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4331 pthread_cleanup_push to void *.
4332
4333 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4334 Undefine.
4335
4336 [BZ #16619]
4337 [BZ #16740]
4338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4339 instead of 1L << 52.
4340
4341 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4342 * libio/bug-rewind2.c (do_test): Likewise.
4343
4344 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4345 * debug/test-strcpy_chk-ifunc.c: Likewise.
4346 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4347 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4348 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4349 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4350 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4351 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4352 * Rules [$(multi-arch) = no] (tests): Do not filter out
4353 $(tests-ifunc).
4354 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4355 * debug/Makefile (tests-ifunc): Remove variable.
4356 (tests): Do not add $(tests-ifunc).
4357 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4358 (tests): Do not add $(tests-ifunc).
4359 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4360 [TEST_IFUNC]: Remove conditionals.
4361 * string/test-string.h (TEST_IFUNC): Remove macro.
4362 [TEST_IFUNC]: Remove conditionals.
4363
4364 * string/test-strchr.c [!WIDE] (L): New macro.
4365 [WIDE] (L): Likewise.
4366 (check1): Use CHAR instead of char. Use L on string and character
4367 constants.
4368
4369 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4370
4371 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4372 tests.
4373 * sysdeps/powerpc/bits/atomic.h
4374 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4375 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4376 (atomic_exchange_and_add_acq): Likewise.
4377 (atomic_exchange_and_add_rel): Likewise.
4378 * sysdeps/powerpc/powerpc32/bits/atomic.h
4379 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4380 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4381 * sysdeps/powerpc/powerpc64/bits/atomic.h
4382 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4383 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4384
4385 2014-11-26 Torvald Riegel <triegel@redhat.com>
4386
4387 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4388 Change synchronization of __sched_fifo_min_prio and
4389 __sched_fifo_max_prio.
4390 * nptl/pthread_mutexattr_getprioceiling.c
4391 (pthread_mutexattr_getprioceiling): Likewise.
4392 * nptl/pthread_mutexattr_setprioceiling.c
4393 (pthread_mutexattr_setprioceiling): Likewise.
4394 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4395 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4396 Likewise.
4397
4398 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4399
4400 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4401 void.
4402
4403 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4404
4405 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4406 third argument const.
4407
4408 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4409
4410 fnmatch: work around GCC compiler warning bug with uninit var
4411 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4412 This works around a bug with x86-64 GCC 4.9.2 and earlier
4413 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4414 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4415 used uninitialized in this function [-Wmaybe-uninitialized]".
4416
4417 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4418
4419 * posix/bug-regex31.c (main): Return RES not 0.
4420
4421 2014-11-25 Anton Blanchard <anton@samba.org>
4422
4423 * sysdeps/powerpc/bits/atomic.h
4424 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4425
4426 2014-11-24 Sterling Augustine <saugustine@google.com>
4427
4428 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4429
4430 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4431
4432 [BZ #17608]
4433 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4434
4435 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4436
4437 [BZ #17633]
4438 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4439 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4440 variable.
4441 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4442 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4443
4444 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4445
4446 * string/strncpy.c (strncpy): Improve performance by using memset.
4447
4448 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4449
4450 * string/strcpy.c (strcpy):
4451 Improve performance by using strlen and memcpy.
4452
4453 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4454
4455 * string/strcoll_l.c (get_next_seq): __always_inline.
4456 * string/strcoll_l.c (do_compare): __always_inline.
4457
4458 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4459
4460 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4461 defined.
4462 * include/mqueue.h: Likewise.
4463 * include/stdlib.h: Likewise.
4464
4465 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4466 (get_null_defines): Adjust.
4467 * sunrpc/Makefile: Adjust comment.
4468 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4469 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4470 (CFLAGS-interp.c): Likewise.
4471 (CFLAGS-ldconfig.c): Likewise.
4472 (CPPFLAGS-.os): Likewise.
4473 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4474 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4475 * extra-modules.mk (extra-modules.mk): Likewise.
4476 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4477 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4478 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4479 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4480 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4481 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4482 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4483 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4484 * iconvdata/Makefile (CPPFLAGS): Likewise.
4485 (cpp-srcs-left): Add libof for all iconvdata routines.
4486 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4487 * include/assert.h: Likewise.
4488 * include/ctype.h: Likewise.
4489 * include/errno.h: Likewise.
4490 * include/libc-symbols.h: Likewise.
4491 * include/math.h: Likewise.
4492 * include/netdb.h: Likewise.
4493 * include/resolv.h: Likewise.
4494 * include/stdio.h: Likewise.
4495 * include/stdlib.h: Likewise.
4496 * include/string.h: Likewise.
4497 * include/sys/stat.h: Likewise.
4498 * include/wctype.h: Likewise.
4499 * intl/l10nflist.c: Likewise.
4500 * libidn/idn-stub.c: Likewise.
4501 * libio/libioP.h: Likewise.
4502 * nptl/libc_multiple_threads.c: Likewise.
4503 * nptl/pthreadP.h: Likewise.
4504 * posix/regex_internal.h: Likewise.
4505 * resolv/res_hconf.c: Likewise.
4506 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4507 * sysdeps/arm/memmove.S: Likewise.
4508 * sysdeps/arm/sysdep.h: Likewise.
4509 * sysdeps/generic/_itoa.h: Likewise.
4510 * sysdeps/generic/symbol-hacks.h: Likewise.
4511 * sysdeps/gnu/errlist.awk: Likewise.
4512 * sysdeps/gnu/errlist.c: Likewise.
4513 * sysdeps/i386/i586/memcpy.S: Likewise.
4514 * sysdeps/i386/i586/memset.S: Likewise.
4515 * sysdeps/i386/i686/memcpy.S: Likewise.
4516 * sysdeps/i386/i686/memmove.S: Likewise.
4517 * sysdeps/i386/i686/mempcpy.S: Likewise.
4518 * sysdeps/i386/i686/memset.S: Likewise.
4519 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4521 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4522 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4523 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4524 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4525 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4526 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4527 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4529 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4530 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4531 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4532 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4533 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4534 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4535 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4536 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4537 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4538 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4539 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4540 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4541 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4542 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4543 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4545 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4546 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4547 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4548 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4550 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4552 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4555 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4556 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4557 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4558 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4559 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4560 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4561 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4562 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4563 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4564 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4565 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4566 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4567 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4568 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4569 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4570 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4571 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4573 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4574 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4575 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4576 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4577 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4578 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4579 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4580 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4581 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4582 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4583 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4584 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4585 * sysdeps/posix/closedir.c: Likewise.
4586 * sysdeps/posix/opendir.c: Likewise.
4587 * sysdeps/posix/readdir.c: Likewise.
4588 * sysdeps/posix/rewinddir.c: Likewise.
4589 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4590 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4591 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4592 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4593 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4594 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4595 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4596 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4600 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4601 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4602 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4603 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4604 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4605 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4606 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4607 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4608 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4609 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4610 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4611 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4612 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4613 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4614 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4615 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4616 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4617 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4618 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4621 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4623 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4624 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4625 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4626 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4627 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4628 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4629 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4630 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4631 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4632 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4634 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4635 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4636 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4637 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4638 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4639 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4640 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4641 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4642 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4643 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4646 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4647 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4648 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4649 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4650 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4651 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4652 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4653 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4654 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4655 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4656 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4657 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4658 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4659 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4660 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4661 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4662 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4663 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4664 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4665 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4666 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4667 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4668 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4669 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4670 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4671 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4672 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4673 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4674 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4675 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4676 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4677 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4679 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4680 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4681 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4685 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4686 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4687 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4688 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4689 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4690 * sysdeps/unix/alpha/sysdep.S: Likewise.
4691 * sysdeps/unix/alpha/sysdep.h: Likewise.
4692 * sysdeps/unix/make-syscalls.sh: Likewise.
4693 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4695 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4696 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4697 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4698 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4699 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4700 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4701 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4702 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4703 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4704 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4706 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4707 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4708 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4709 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4710 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4711 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4712 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4713 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4714 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4715 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4716 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4717 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4718 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4719 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4722 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4723 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4727 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4731 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4732 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4733 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4734 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4735 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4736 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4737 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4743 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4744 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4745 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4746 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4747 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4748 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4750 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4751 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4752 * sysdeps/x86_64/memcpy.S: Likewise.
4753 * sysdeps/x86_64/memmove.c: Likewise.
4754 * sysdeps/x86_64/memset.S: Likewise.
4755 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4757 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4758 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4759 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4762 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4763 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4764 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4765 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4766 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4767 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4770 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4771 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4772 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4773 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4774 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4775 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4776 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4779 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4780 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4781 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4782 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4783 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4784 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4785 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4786 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4787 * sysdeps/x86_64/strcmp.S: Likewise.
4788
4789 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4790
4791 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4792 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4793 * elf/rtld-Rules: Likewise.
4794 * elf/setup-vdso.h: Likewise.
4795 * include/assert.h: Likewise.
4796 * include/bits/stdlib-float.h: Likewise.
4797 * include/errno.h: Likewise.
4798 * include/sys/stat.h: Likewise.
4799 * include/unistd.h: Likewise.
4800 * sysdeps/aarch64/setjmp.S: Likewise.
4801 * sysdeps/alpha/setjmp.S: Likewise.
4802 * sysdeps/arm/__longjmp.S: Likewise.
4803 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4804 * sysdeps/arm/setjmp.S: Likewise.
4805 * sysdeps/arm/sysdep.h: Likewise.
4806 * sysdeps/generic/_itoa.h: Likewise.
4807 * sysdeps/generic/dl-sysdep.h: Likewise.
4808 * sysdeps/generic/ldsodefs.h: Likewise.
4809 * sysdeps/i386/dl-tls.h: Likewise.
4810 * sysdeps/i386/setjmp.S: Likewise.
4811 * sysdeps/m68k/setjmp.c: Likewise.
4812 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4813 * sysdeps/mach/hurd/opendir.c: Likewise.
4814 * sysdeps/posix/getcwd.c: Likewise.
4815 * sysdeps/posix/opendir.c: Likewise.
4816 * sysdeps/posix/profil.c: Likewise.
4817 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4818 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4819 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4820 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4821 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4822 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4823 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4824 * sysdeps/s390/dl-tls.h: Likewise.
4825 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4826 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4827 * sysdeps/sh/sh3/setjmp.S: Likewise.
4828 * sysdeps/sh/sh4/setjmp.S: Likewise.
4829 * sysdeps/unix/alpha/sysdep.h: Likewise.
4830 * sysdeps/unix/arm/sysdep.S: Likewise.
4831 * sysdeps/unix/i386/sysdep.S: Likewise.
4832 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4833 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4834 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4835 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4837 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4838 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4839 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4840 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4841 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4842 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4843 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4847 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4850 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4851 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4852 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4855 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4856 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4857 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4859 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4860 * sysdeps/x86_64/setjmp.S: Likewise.
4861
4862 * include/math.h: Use IS_IN instead of IS_IN_libm.
4863 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4874 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4875 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4883 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4884 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4885 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4886 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4887 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4888 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4890 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4891 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4892 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4893 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4894 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4895 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4897 Likewise.
4898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4899 Likewise.
4900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4901 Likewise.
4902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4903 Likewise.
4904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4905 Likewise.
4906 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4907 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4908 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4909 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4911 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4917 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4918 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4919 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4920 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4921 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4922 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4923 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4924 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4925 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4926 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4927 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4929 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4930 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4932 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4933
4934 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4935 * nptl/pthreadP.h: Likewise.
4936 * nptl_db/structs.def: Likewise.
4937 * sysdeps/arm/sysdep.h: Likewise.
4938 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4939 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4940 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4941 * sysdeps/unix/alpha/sysdep.h: Likewise.
4942 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4943 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4944 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4945 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4946 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4947 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4949 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4950 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4951 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4952 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4953 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4954 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4955 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4960 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4961 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4963 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4964 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4965 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4966 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4967 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4968
4969 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4970 * nptl/pthreadP.h: Likewise.
4971 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4972 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4973 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4974 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4975 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4976 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4977 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4978 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4979 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4981 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4982 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4984 Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4986 Likewise.
4987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4989 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4992 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4993 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4994 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4995
4996 * dlfcn/dladdr.c: Use IS_IN.
4997 * dlfcn/dladdr1.c: Likewise.
4998 * dlfcn/dlclose.c: Likewise.
4999 * dlfcn/dlerror.c: Likewise.
5000 * dlfcn/dlinfo.c: Likewise.
5001 * dlfcn/dlmopen.c: Likewise.
5002 * dlfcn/dlopen.c: Likewise.
5003 * dlfcn/dlsym.c: Likewise.
5004 * dlfcn/dlvsym.c: Likewise.
5005
5006 * include/ifaddrs.h: Use IS_IN.
5007 * inet/check_pf.c: Likewise.
5008 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5009 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5010
5011 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5012 IS_IN_ldconfig.
5013 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5014 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5015
5016 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5017 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5018 IS_IN (libc).
5019
5020 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5021
5022 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5023 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5024 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5025 * include/libc-symbols.h (IS_IN_LIB): New macro.
5026 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5027 * include/netdb.h: Likewise.
5028 * include/stap-probe.h: Remove all uses of IN_LIB.
5029
5030 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5031 instead of IN_MODULE.
5032 * include/libc-symbols.h (IN_MODULE): Define using
5033 MODULE_NAME.
5034 (PASTE_NAME, PASTE_NAME1): New macros.
5035 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5036 of IN_LIB.
5037 (STAP_PROBE_ASM): Likewise.
5038
5039 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5040
5041 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5042 __mach_init in dlopened libc.
5043
5044 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5045
5046 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5047 * sysdeps/arm/preconfigure: Regenerate.
5048
5049 2014-11-21 Roland McGrath <roland@hack.frob.com>
5050
5051 * nptl/pthread_create.c (__pthread_create_2_1): Set
5052 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5053 when copying values from IATTR into PD.
5054
5055 2014-11-21 Will Newton <will.newton@linaro.org>
5056 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5057
5058 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5059 Refactor inline-asm. Also add comment.
5060
5061 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5062 ElfW macro instead of hardcoded Elf64 types.
5063 (la_aarch64_gnu_pltenter): Likewise.
5064 * sysdeps/aarch64/dl-machine.h
5065 (elf_machine_runtime_setup): Use ElfW(Addr).
5066
5067 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5068 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5069 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5070 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5071 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5072 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5073 (R_AARCH64_TLS_DTPMOD): This.
5074 (R_AARCH64_TLS_DTPREL64): Rename to ...
5075 (R_AARCH64_TLS_DTPREL): This.
5076 (R_AARCH64_TLS_TPREL64): Rename to ...
5077 (R_AARCH64_TLS_TPREL): This.
5078 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5079 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5080 R_AARCH64_TLS_TPREL64.
5081 (elf_machine_rela): Likewise.
5082
5083 2014-11-21 Torvald Riegel <triegel@redhat.com>
5084
5085 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5086 by setting it to 0. 64b atomics are not supported currently.
5087
5088 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5089
5090 [BZ #16469]
5091 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5092 search domain names.
5093
5094 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5095
5096 [BZ #16469]
5097 * NEWS: Update.
5098 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5099 trailing dot.
5100 * posix/tst-getaddrinfo5.c: New.
5101 * posix/Makefile (tests): Add it.
5102
5103 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5104
5105 [BZ #14498]
5106 * NEWS: Fixed.
5107 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5108 after parsing line but before break_if_match.
5109 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5110 if there is a protocol mismatch.
5111
5112 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5113
5114 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5115 because the potential race is on the user-supplied stream.
5116
5117 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5118
5119 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5120 string literal if not passed a buffer.
5121 * manual/job.texi (ctermid): Update reasoning, note deviation
5122 from posix, suggest mtasurace when not passed a buffer, for
5123 future non-preliminary safety notes.
5124
5125 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5126
5127 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5128 of not passing it a buffer.
5129 Reported by Peng Haitao.
5130
5131 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5132
5133 * manual/Makefile ($(objpfx)stamp-summary): Require
5134 check-safety.sh to pass.
5135 * manual/check-safety.sh: Wish for verification that every
5136 @deftypefn and @deftypefun is followed by a @safety remark.
5137
5138 2014-11-20 Roland McGrath <roland@hack.frob.com>
5139
5140 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5141
5142 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5143 PTHREAD_CANCEL_ASYNCHRONOUS.
5144 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5145 send SIGCANCEL.
5146
5147 * nptl/default-sched.h: New file.
5148 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5149 * nptl/pthread_create.c: Include it.
5150 (__pthread_create_2_1): Use collect_default_sched instead of making
5151 Linux syscalls here directly.
5152
5153 2014-11-20 Torvald Riegel <triegel@redhat.com>
5154
5155 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5156 __pthread_once): Use C11 atomics.
5157
5158 2014-11-20 Torvald Riegel <triegel@redhat.com>
5159
5160 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5161
5162 2014-11-20 Torvald Riegel <triegel@redhat.com>
5163
5164 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5165 atomic_thread_fence_acquire, atomic_thread_fence_release,
5166 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5167 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5168 atomic_compare_exchange_weak_relaxed,
5169 atomic_compare_exchange_weak_acquire,
5170 atomic_compare_exchange_weak_release,
5171 atomic_exchange_acquire, atomic_exchange_release,
5172 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5173 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5174 atomic_fetch_and_acquire,
5175 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5176
5177 2014-11-20 Torvald Riegel <triegel@redhat.com>
5178
5179 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5180 USE_ATOMIC_COMPILER_BUILTINS): Define.
5181 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5182 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5183 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5184 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5185 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5186 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5187 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5188 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5189 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5190 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5191 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5192 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5193 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5194 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5195 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5196 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5197 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5199 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5201 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5203 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5205 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5207 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5209 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5211 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5213 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5215 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5216 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5217 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5218 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5219 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5220 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5221
5222 2014-11-19 Roland McGrath <roland@hack.frob.com>
5223
5224 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5225 the sched_priority value here. It was already checked when the user
5226 called pthread_attr_setschedparam.
5227
5228 * nptl/tst-bad-schedattr.c: New file.
5229 * nptl/Makefile (tests): Add it.
5230
5231 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5232 Florian Weimer <fweimer@redhat.com>
5233 Joseph Myers <joseph@codesourcery.com>
5234 Adam Conrad <adconrad@0c3.net>
5235 Andreas Schwab <schwab@suse.de>
5236 Brooks <bmoses@google.com>
5237
5238 [BZ #17625]
5239 * wordexp-test.c (__dso_handle): Add prototype.
5240 (__register_atfork): Likewise.
5241 (__app_register_atfork): New function.
5242 (registered_forks): New global.
5243 (register_fork): New function.
5244 (test_case): Add 3 new tests for WRDE_CMDSUB.
5245 (main): Call __app_register_atfork.
5246 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5247 fork count is non-zero fail the test.
5248 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5249 is set.
5250 (parse_dollars): Remove check for WRDE_NOCMD.
5251 (parse_dquote): Likewise.
5252
5253 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5254
5255 * Makeconfig (built-modules): List non-library modules to be
5256 built.
5257 (module-cppflags): Include libc-modules.h for
5258 everything except shlib-versions.v.i.
5259 (CPPFLAGS): Use it.
5260 (before-compile): Add libc-modules.h.
5261 ($(common-objpfx)libc-modules.h,
5262 $(common-objpfx)libc-modules.stmp): New targets.
5263 (common-generated): Add libc-modules.h and libc-modules.stmp.
5264 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5265 * include/libc-symbols.h: Don't include libc-modules.h.
5266 * include/libc-modules.h: Remove file.
5267 * scripts/gen-libc-modules.awk: New script to generate
5268 libc-modules.h.
5269 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5270 Depend on libc-modules.stmp.
5271
5272 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5273
5274 * Makeconfig (in-module): Get value of libof set for the
5275 translation unit.
5276 (CPPFLAGS): Use $(in-module).
5277 * Makerules: Don't suffix routine names for nonlib.
5278 * include/libc-modules.h: New file.
5279 * include/libc-symbols.h: Include libc-modules.h
5280 (IS_IN): New macro to replace IS_IN_* macros.
5281 * elf/Makefile: Set libof-* for each routine.
5282 * elf/rtld-Rules: Likewise.
5283 * extra-modules.mk: Likewise.
5284 * iconv/Makefile: Likewise.
5285 * iconvdata/Makefile: Likewise.
5286 * locale/Makefile: Likewise.
5287 * malloc/Makefile: Likewise.
5288 * nss/Makefile: Likewise.
5289 * sysdeps/gnu/Makefile: Likewise.
5290 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5291 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5292 * sysdeps/s390/s390-64/Makefile: Likewise.
5293 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5294 CPPFLAGS for nscd instead of nonlib.
5295
5296 2014-11-18 Roland McGrath <roland@hack.frob.com>
5297
5298 * nptl/createthread.c: New file.
5299
5300 * nptl/createthread.c: Moved ...
5301 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5302
5303 * nptl/createthread.c: Add proper top-line comment.
5304 (do_clone): Folded into ...
5305 (create_thread): ... here. Take new arguments STOPPED_START and
5306 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5307 increment __nptl_threads, do event-reporting logic, do
5308 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5309 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5310 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5311 just send SIGCANCEL.
5312 * nptl/pthread_create.c: Forward-declare create_thread before
5313 including createthread.c.
5314 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5315 declaration, and new macro START_THREAD_SELF to replace argument.
5316 Remove return statement.
5317 (report_thread_creation): New function.
5318 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5319 synchronization logic, and __nptl_nthreads increment here, around
5320 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5321 PD->parent_cancelhandling here, before create_thread. When
5322 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5323 __deallocate_stack, and ENOMEM translation here.
5324
5325 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5326
5327 [BZ #17616]
5328 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5329 (mptwo): Rename to __mptwo.
5330 (__inv): Use __mptwo instead of mptwo.
5331 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5332 (mptwo): Rename to __mptwo.
5333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5334 of mpone and __mptwo instead of mptwo.
5335 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5336 instead of mpone.
5337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5338 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5339 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5340 of mpone and __mptwo instead of mptwo.
5341 (__mpranred): Use __mpone instead of mpone.
5342 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5343 variable.
5344 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5345 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5346 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5347 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5348 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5349 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5350 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5351 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5352 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5353 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5354 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5355 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5356 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5357 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5358 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5359 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5360 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5361 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5362 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5363
5364 2014-11-18 Tom de Vries <tom@codesoucery.com>
5365
5366 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5367 replace BSD Handler xref with BSD Signal Handling.
5368
5369 2014-11-17 Richard Henderson <rth@redhat.com>
5370
5371 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5372 (_FP_PACK_RAW_2): Remove.
5373 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5374 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5375 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5376 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5377 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5378 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5379 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5380 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5381 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5382 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5383 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5384 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5385 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5386 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5387 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5388 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5389
5390 2014-11-14 Roland McGrath <roland@hack.frob.com>
5391
5392 * signal/signal.h [__USE_MISC]
5393 (struct sigvec): Remove type.
5394 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5395 (sigvec): Remove declaration.
5396 * sysdeps/posix/sigvec.c: Moved ...
5397 * signal/sigvec.c: ... here, replacing old file.
5398 (struct sigvec): New type, copied from old signal.h definition.
5399 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5400 (__sigvec): Convert definition to prototype.
5401 (sigvec): Replace weak_alias with compat_symbol.
5402 * signal/Versions (libc: GLIBC_2.21): New version set.
5403 * include/signal.h: Remove __sigvec declaration.
5404 * sysdeps/unix/bsd/sigvec.c: Remove file.
5405 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5406 * manual/signal.texi (BSD Handler): Remove subsection.
5407 Move siginterrupt up to ...
5408 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5409 (Blocking in BSD): Fold subsection into its parent.
5410 * NEWS: Mention sigvec removal.
5411
5412 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5413
5414 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5415 (DLA_FMS): Make definition conditional only on [__FMA4__].
5416 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5417 definition.
5418
5419 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5420 Make definition conditional only on [PROF].
5421 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5422 definition.
5423 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5424 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5425
5426 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5427 !__GNUC__].
5428 * include/signal.h (__sigpause): Move declaration above call to
5429 libc_hidden_proto.
5430 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5431 variable.
5432 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5433 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5434
5435 2014-11-14 David S. Miller <davem@davemloft.net>
5436
5437 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5438 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5439
5440 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5441
5442 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5443 * configure: Regenerated.
5444 * manual/install.texi (Tools for Compilation): Document a
5445 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5446 compiler verified to work.
5447 * INSTALL: Regenerated.
5448
5449 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5450 redeclare with asm name.
5451 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5452 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5453 including <string.h>.
5454 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5455 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5456 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5457 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5458 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5460 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5461
5462 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5463
5464 * stdlib/strtol.c (__strtol): Use prototype definition.
5465
5466 [BZ #17594]
5467 * stdlib/strtol.c (SYM__): New macro.
5468 (SYM__1): Likewise.
5469 (__strtol): Likewise.
5470 (strtol): Rename to __strtol and define as weak alias of
5471 __strtol. Use libc_hidden_weak.
5472
5473 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5474
5475 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5476 Use numbered labels in inline assembly.
5477
5478 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5479
5480 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5481 Add setjmp LIBC_PROBE.
5482 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5483 Likewise.
5484 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5485 Add longjmp, longjmp_target LIBC_PROBE.
5486 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5487 Likewise.
5488
5489 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5490
5491 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5492 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5493 to get rid of unused variable warning.
5494
5495 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5496
5497 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5498 Check for unwind_backtrace == NULL only in SHARED case.
5499 (__backchain_backtrace): Compile only in SHARED case.
5500 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5501 Likewise.
5502 (__backchain_backtrace): Declare as static.
5503
5504 2014-11-12 Roland McGrath <roland@hack.frob.com>
5505
5506 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5507 (__libc_multiple_threads_ptr): Variable moved ...
5508 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5509
5510 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5511
5512 * conform/GlibcConform.pm: New file.
5513 * conform/conformtest.pl: Use GlibcConform module.
5514 * conform/linknamespace.pl: New file.
5515 * conform/list-header-symbols.pl: Likewise.
5516 * conform/Makefile (linknamespace-symlists-base): New variable.
5517 (linknamespace-symlists-tests): Likewise.
5518 (linknamespace-header-base): Likewise.
5519 (linknamespace-header-tests): Likewise.
5520 (tests-special): Add new tests.
5521 ($(linknamespace-symlists-tests)): New rule.
5522 (linknamespace-libs): New variable.
5523 ($(objpfx)symlist-stdlibs): New rule.
5524 ($(linknamespace-header-tests)): Likewise.
5525 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5526 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5527 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5528 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5529 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5530 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5531 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5532 (test-xfail-ISO/math.h/linknamespace): Likewise.
5533 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5534 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5535 (test-xfail-ISO/time.h/linknamespace): Likewise.
5536 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5537 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5538 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5539 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5540 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5541 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5542 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5543 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5544 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5545 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5546 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5547 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5548 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5549 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5550 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5551 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5552 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5553 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5554 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5555 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5556 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5557 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5558 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5559 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5560 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5561 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5562 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5563 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5564 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5565 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5566 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5567 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5568 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5569 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5570 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5571 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5572 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5573 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5574 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5575 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5576 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5577 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5578 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5579 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5580 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5581 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5582 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5583 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5584 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5585 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5586 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5587 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5588 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5589 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5590 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5591 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5592 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5593 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5594 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5595 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5596 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5597 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5598 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5599 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5600 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5601 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5602 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5603 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5604 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5605 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5606 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5607 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5608 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5609 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5610 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5611 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5612 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5613 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5614 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5615 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5616 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5617 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5618 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5619 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5620 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5621 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5622 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5623 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5624 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5625 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5626 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5627 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5628 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5629 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5630 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5631 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5632 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5633 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5634 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5635 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5636 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5637 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5638 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5639 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5640 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5641 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5642 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5643 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5644 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5645 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5646 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5647 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5648 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5649 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5650 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5651 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5652 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5653 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5654 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5655 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5656 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5657 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5658 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5659 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5660 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5661 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5662 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5663 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5664 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5665 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5666 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5667 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5668 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5669 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5670 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5671 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5672 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5673 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5674 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5675 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5676 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5677 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5678 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5679 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5680 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5681 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5682 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5683 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5684 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5685 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5686
5687 [BZ #17589]
5688 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5689 of fgets_unlocked.
5690
5691 [BZ #17585]
5692 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5693 (memmem): Rename to __memmem and define as weak alias of
5694 __memmem. Use libc_hidden_weak.
5695 (__memmem): Use libc_hidden_def.
5696 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5697 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5698 memmem.
5699
5700 [BZ #17582]
5701 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5702 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5703 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5704 and define as weak alias of __fgets_unlocked. Use
5705 libc_hidden_weak.
5706 (__fgets_unlocked): Use libc_hidden_def.
5707 * include/stdio.h (__fgets_unlocked): Declare. Use
5708 libc_hidden_proto.
5709 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5710 __fgets_unlocked instead of fgets_unlocked.
5711 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5712 (GET_NPROCS_CONF_PARSER): Likewise.
5713 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5714 (GET_NPROCS_CONF_PARSER): Likewise.
5715
5716 [BZ #17574]
5717 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5718 weak alias of __wmemset. Use libc_hidden_weak.
5719 (__wmemset): Use libc_hidden_def.
5720 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5721 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5722 of wmemset.
5723
5724 [BZ #17573]
5725 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5726 with asm name __mempcpy.
5727 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5728
5729 [BZ #17572]
5730 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5731 and define as weak alias of __rawmemchr.
5732 (__rawmemchr): Do not define as strong alias of rawmemchr.
5733
5734 [BZ #17571]
5735 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5736 alias of __qsort_r.
5737 (qsort): Call __qsort_r instead of qsort_r.
5738 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5739 (__qsort_r): Declare. Call libc_hidden_proto.
5740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5741 instead of qsort_r.
5742 * nscd/gai.c (__qsort_r): Define to qsort_r.
5743 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5744 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5745 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5746
5747 [BZ #17570]
5748 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5749 define as weak alias of __malloc_info.
5750
5751 [BZ #17584]
5752 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5753 as weak alias of __rewinddir. Don't use libc_hidden_def.
5754 (__rewinddir): Use libc_hidden_def.
5755 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5756 as weak alias of __rewinddir. Don't use libc_hidden_def.
5757 (__rewinddir): Use libc_hidden_def.
5758 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5759 weak alias of __rewinddir. Don't use libc_hidden_def.
5760 (__rewinddir): Use libc_hidden_def.
5761 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5762 (__rewinddir): Use libc_hidden_proto.
5763 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5764 rewinddir.
5765 (__getcwd): Use __rewinddir instead of rewinddir.
5766
5767 [BZ #17583]
5768 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5769 alias of __fileno. Use libc_hidden_weak.
5770 (__fileno): Use libc_hidden_def.
5771 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5772 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5773 alias of __ftello.
5774 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5775 __ftello.
5776 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5777 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5778 libc_hidden_def.
5779 (fread_unlocked): Don't use libc_hidden_ver.
5780 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5781 and define as weak alias of __fread_unlocked. Don't use
5782 libc_hidden_def.
5783 (__fread_unlocked): Use libc_hidden_def.
5784 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5785 (ftello): Don't use libc_hidden_proto.
5786 (__ftello): Declare. Use libc_hidden_proto.
5787 (fread_unlocked): Don't use libc_hidden_proto.
5788 (__fread_unlocked): Declare. Use libc_hidden_proto.
5789 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5790 and __ftello instead of fileno, fread_unlocked and ftello.
5791
5792 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5793
5794 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5795 GOT12.
5796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5797 Likewise.
5798 (_dl_start_user): Likewise.
5799 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5800
5801 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5802 Siddhesh Poyarekar <siddhesh@redhat.com>
5803
5804 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5805 Move argv and envp down instead of moving argc up.
5806 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5807
5808 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5809
5810 [BZ #17506]
5811 * test-skeleton.c (main): Return successful if one of
5812 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5813 * string/tst-strcoll-overflow.c: Define expected status.
5814
5815 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5816
5817 [BZ #17475]
5818 * locale/iso-639.def: Define Bhili and Tulu language codes.
5819
5820 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5821
5822 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5823
5824 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5825
5826 [BZ #17555]
5827 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5828
5829 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5830
5831 * configure.ac: Updated check of minimal required version to
5832 2.22.
5833 * manual/install.texi (Tools for Compilation): Updated version
5834 number.
5835 * configure: Regenerated.
5836 * INSTALL: Likewise.
5837
5838 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5839
5840 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5841 __tls_get_addr.
5842
5843 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5844
5845 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5846 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5847 (__waitpid): Don't define as alias. Use libc_hidden_def not
5848 libc_hidden_weak.
5849 (waitpid): Define as alias of __waitpid.
5850 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5851 __waitpid.
5852 (__waitpid): Don't define as alias. Use libc_hidden_def not
5853 libc_hidden_weak.
5854 (waitpid): Define as alias of __waitpid.
5855 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5856 __libc_waitpid alias.
5857 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5858 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5859 Likewise.
5860 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5861 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5862 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5863 alias.
5864 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5865 __waitpid.
5866 (__waitpid): Don't define as alias. Use libc_hidden_def not
5867 libc_hidden_weak.
5868 (waitpid): Define as alias of __waitpid.
5869
5870 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5871
5872 * manual/llio.texi: Add comment that write safety has been
5873 fixed in Linux.
5874
5875 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5876 (localplt-build-dso): Add elf/ld.so.
5877 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5878 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5879 and free for ld.so.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5881 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5883 Likewise.
5884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5885 Likewise.
5886 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5887 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5888 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5889 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5890 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5891 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5892 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5893 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5894 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5895 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5896 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5897
5898 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5899
5900 [BZ #14132]
5901 * include/libc-symbols.h (INTUSE): Remove macro.
5902 (INTDEF): Likewise.
5903 (INTVARDEF): Likewise.
5904 (_INTVARDEF): Likewise.
5905 (INTDEF2): Likewise.
5906 (INTVARDEF2): Likewise.
5907 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5908 rtld_hidden_def instead of INTVARDEF.
5909 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5910 (_dl_starting_up_internal): Remove declaration.
5911 (_dl_starting_up): Use rtld_hidden_proto.
5912 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5913 declaration.
5914 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5915 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5916 _dl_starting_up.
5917 * elf/dl-writev.h (_dl_writev): Likewise.
5918 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5919 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5920 _dl_starting_up_internal.
5921
5922 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5923
5924 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5925 test-skeleton.c.
5926
5927 2014-11-05 Will Newton <will.newton@linaro.org>
5928
5929 * benchtests/Makefile: (bench-malloc): Add malloc thread
5930 scalability benchmark.
5931 * benchtests/bench-malloc-threads.c: New file.
5932
5933 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5934
5935 * sysdeps/aarch64/strchrnul.S: New file.
5936
5937 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5938
5939 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5940 definition.
5941 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5942 Likwise.
5943 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5944 Likewise.
5945 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5946 Likewise.
5947 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5948 Likewise.
5949 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5950 Likewise.
5951
5952 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5953
5954 * catgets/test-gencat.c: Use test-skeleton.c.
5955 * catgets/tst-catgets.c: Likewise.
5956 * csu/tst-empty.c: Likewise.
5957 * elf/tst-audit2.c: Likewise.
5958 * elf/tst-global1.c: Likewise.
5959 * elf/tst-pathopt.c: Likewise.
5960 * elf/tst-piemod1.c: Likewise.
5961 * elf/tst-tls10.c: Likewise.
5962 * elf/tst-tls11.c: Likewise.
5963 * elf/tst-tls12.c: Likewise.
5964 * gnulib/tst-gcc.c: Likewise.
5965 * iconvdata/tst-e2big.c: Likewise.
5966 * iconvdata/tst-loading.c: Likewise.
5967 * iconv/tst-iconv1.c: Likewise.
5968 * iconv/tst-iconv2.c: Likewise.
5969 * inet/test-inet6_opt.c: Likewise.
5970 * inet/tst-gethnm.c: Likewise.
5971 * inet/tst-network.c: Likewise.
5972 * inet/tst-ntoa.c: Likewise.
5973 * intl/tst-codeset.c: Likewise.
5974 * intl/tst-gettext2.c: Likewise.
5975 * intl/tst-gettext3.c: Likewise.
5976 * intl/tst-ngettext.c: Likewise.
5977 * intl/tst-translit.c: Likewise.
5978 * io/test-stat.c: Likewise.
5979 * libio/test-fmemopen.c: Likewise.
5980 * libio/tst-freopen.c: Likewise.
5981 * libio/tst-sscanf.c: Likewise.
5982 * libio/tst-ungetwc1.c: Likewise.
5983 * libio/tst-ungetwc2.c: Likewise.
5984 * libio/tst-widetext.c: Likewise.
5985 * localedata/tst-ctype.c: Likewise.
5986 * localedata/tst-digits.c: Likewise.
5987 * localedata/tst-leaks.c: Likewise.
5988 * localedata/tst-mbswcs1.c: Likewise.
5989 * localedata/tst-mbswcs2.c: Likewise.
5990 * localedata/tst-mbswcs3.c: Likewise.
5991 * localedata/tst-mbswcs4.c: Likewise.
5992 * localedata/tst-mbswcs5.c: Likewise.
5993 * localedata/tst-setlocale.c: Likewise.
5994 * localedata/tst-trans.c: Likewise.
5995 * localedata/tst-wctype.c: Likewise.
5996 * localedata/tst-xlocale1.c: Likewise.
5997 * login/tst-grantpt.c: Likewise.
5998 * malloc/tst-calloc.c: Likewise.
5999 * malloc/tst-malloc.c: Likewise.
6000 * malloc/tst-mallocstate.c: Likewise.
6001 * malloc/tst-mcheck.c: Likewise.
6002 * malloc/tst-mtrace.c: Likewise.
6003 * malloc/tst-obstack.c: Likewise.
6004 * math/atest-exp2.c: Likewise.
6005 * math/atest-exp.c: Likewise.
6006 * math/atest-sincos.c: Likewise.
6007 * math/test-matherr.c: Likewise.
6008 * math/test-misc.c: Likewise.
6009 * math/test-powl.c: Likewise.
6010 * math/tst-definitions.c: Likewise.
6011 * misc/tst-dirname.c: Likewise.
6012 * misc/tst-efgcvt.c: Likewise.
6013 * misc/tst-fdset.c: Likewise.
6014 * misc/tst-hsearch.c: Likewise.
6015 * misc/tst-mntent2.c: Likewise.
6016 * nptl/tst-sem7.c: Likewise.
6017 * nptl/tst-sem8.c: Likewise.
6018 * nptl/tst-sem9.c: Likewise.
6019 * nss/test-netdb.c: Likewise.
6020 * posix/tst-fnmatch.c: Likewise.
6021 * posix/tst-getlogin.c: Likewise.
6022 * posix/tst-gnuglob.c: Likewise.
6023 * posix/tst-mmap.c: Likewise.
6024 * pwd/tst-getpw.c: Likewise.
6025 * resolv/tst-inet_ntop.c: Likewise.
6026 * rt/tst-timer.c: Likewise.
6027 * stdio-common/test-fseek.c: Likewise.
6028 * stdio-common/test-popen.c: Likewise.
6029 * stdio-common/test-vfprintf.c: Likewise.
6030 * stdio-common/tst-cookie.c: Likewise.
6031 * stdio-common/tst-fileno.c: Likewise.
6032 * stdio-common/tst-gets.c: Likewise.
6033 * stdio-common/tst-obprintf.c: Likewise.
6034 * stdio-common/tst-perror.c: Likewise.
6035 * stdio-common/tst-sprintf2.c: Likewise.
6036 * stdio-common/tst-sprintf3.c: Likewise.
6037 * stdio-common/tst-sprintf.c: Likewise.
6038 * stdio-common/tst-swprintf.c: Likewise.
6039 * stdio-common/tst-tmpnam.c: Likewise.
6040 * stdio-common/tst-unbputc.c: Likewise.
6041 * stdio-common/tst-wc-printf.c: Likewise.
6042 * stdlib/tst-environ.c: Likewise.
6043 * stdlib/tst-fmtmsg.c: Likewise.
6044 * stdlib/tst-limits.c: Likewise.
6045 * stdlib/tst-rand48-2.c: Likewise.
6046 * stdlib/tst-rand48.c: Likewise.
6047 * stdlib/tst-random2.c: Likewise.
6048 * stdlib/tst-random.c: Likewise.
6049 * stdlib/tst-strtol.c: Likewise.
6050 * stdlib/tst-strtoll.c: Likewise.
6051 * stdlib/tst-tls-atexit.c: Likewise.
6052 * stdlib/tst-xpg-basename.c: Likewise.
6053 * string/test-ffs.c: Likewise.
6054 * string/tst-bswap.c: Likewise.
6055 * string/tst-inlcall.c: Likewise.
6056 * string/tst-strtok.c: Likewise.
6057 * string/tst-strxfrm.c: Likewise.
6058 * sysdeps/x86_64/tst-audit10.c: Likewise.
6059 * sysdeps/x86_64/tst-audit3.c: Likewise.
6060 * sysdeps/x86_64/tst-audit4.c: Likewise.
6061 * sysdeps/x86_64/tst-audit5.c: Likewise.
6062 * time/tst-ftime_l.c: Likewise.
6063 * time/tst-getdate.c: Likewise.
6064 * time/tst-mktime3.c: Likewise.
6065 * time/tst-mktime.c: Likewise.
6066 * time/tst-posixtz.c: Likewise.
6067 * time/tst-strptime2.c: Likewise.
6068 * time/tst-strptime3.c: Likewise.
6069 * wcsmbs/tst-btowc.c: Likewise.
6070 * wcsmbs/tst-mbrtowc.c: Likewise.
6071 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6072 * wcsmbs/tst-wchar-h.c: Likewise.
6073 * wcsmbs/tst-wcpncpy.c: Likewise.
6074 * wcsmbs/tst-wcrtomb.c: Likewise.
6075 * wcsmbs/tst-wcsnlen.c: Likewise.
6076 * wcsmbs/tst-wcstof.c: Likewise.
6077
6078 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6079
6080 [BZ #14132]
6081 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6082 INTDEF.
6083 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6084 declaration.
6085 (_dl_mcount): Use rtld_hidden_proto.
6086 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6087 _dl_mcount.
6088 * elf/rtld.c (_rtld_global_ro): Likewise.
6089
6090 [BZ #14132]
6091 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6092 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6093 of _dl_init_internal.
6094 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6095 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6096 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6097 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6098 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6099 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6100 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6101 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6102 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6103 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6104 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6105 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6106 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6107 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6108 * sysdeps/tile/dl-start.S (_start): Likewise.
6109 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6110 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6111
6112 [BZ #14132]
6113 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6114 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6115 (rtld_progname): Make macro definition unconditional.
6116 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6117 INTDEF.
6118 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6119 (dl_main): Likewise.
6120 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6121 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6122 instead of _dl_argv_internal.
6123 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6124 __GI__dl_argv instead of INTUSE(_dl_argv).
6125 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6126 __GI__dl_argv instead of _dl_argv_internal.
6127
6128 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6129 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6130 macro.
6131 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6132 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6133 New macro.
6134 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6135 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6136 macro.
6137 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6138 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6139
6140 2014-11-04 Andreas Schwab <schwab@suse.de>
6141
6142 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6143
6144 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6145
6146 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6147 mtvsrd instruction in binary form.
6148
6149 2014-11-03 Andreas Schwab <schwab@suse.de>
6150
6151 [BZ #17522]
6152 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6153 for less than MB_LEN_MAX use a local buffer of that size.
6154 * libio/tst-fputws.c: New file.
6155 * libio/Makefile (tests): Add tst-fputws.
6156
6157 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6158
6159 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6160 the size of the fpu_fr.fpu_dregs[] array.
6161
6162 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6163
6164 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6165 (__nanosleep): Do not define as alias.
6166 (nanosleep): Define as alias of __nanosleep.
6167 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6168 __libc_nanosleep name.
6169
6170 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6171
6172 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6173 install.texi in comment.
6174
6175 2014-10-31 Torvald Riegel <triegel@redhat.com>
6176
6177 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6178 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6179 ... add here and use lwsync or sync ...
6180 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6181 ... and add here using lwsync.
6182
6183 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6184
6185 * elf/dl-machine-reject-phdr.h: New file.
6186 * elf/dl-load.c: #include that.
6187 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6188 if that returned true.
6189
6190 2014-10-31 Roland McGrath <roland@hack.frob.com>
6191
6192 [BZ #17496]
6193 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6194 gen-as-const-headers chunk. Add a big scare comment after the last
6195 safe place to touch before-compile.
6196
6197 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6198
6199 * manual/install.texi (Tools for Compilation): Update autoconf
6200 version requirements.
6201 * INSTALL: Regenerated.
6202
6203 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6204 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6205 (__libc_pselect): Likewise.
6206
6207 [BZ #14138]
6208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6212
6213 2014-10-31 Torvald Riegel <triegel@redhat.com>
6214
6215 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6216 correct barrier instruction.
6217 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6218 Likewise.
6219 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6220 Likewise.
6221
6222 2014-10-30 Roland McGrath <roland@hack.frob.com>
6223
6224 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6225 after defining inlines. Instead, just use parens to defeat macro
6226 expansion of __isctype in its declaration.
6227
6228 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6229
6230 * include/sys/uio.h (__libc_readv): Remove declaration.
6231 (__libc_writev): Likewise.
6232 * misc/readv.c (__libc_readv): Rename to __readv.
6233 (__readv): Do not define as alias.
6234 (readv): Define as alias of __readv.
6235 * misc/writev.c (__libc_writev): Rename to __writev.
6236 (__writev): Do not define as alias.
6237 (writev): Define as alias of __writev.
6238 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6239 (__readv): Do not define as alias.
6240 (readv): Define unconditionally as alias of __readv.
6241 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6242 (__writev): Do not define as alias.
6243 (writev): Define unconditionally as alias of __writev.
6244 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6245 name.
6246 (writev): Do not define __libc_writev name.
6247
6248 2014-10-30 Roland McGrath <roland@hack.frob.com>
6249
6250 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6251 (convert_charseq): New function, broken out of ...
6252 (use_from_charmap): ... here. Call it.
6253 (use_to_charmap): Use convert_charseq and free instead of duplicating
6254 its code with a variable-length stack struct.
6255
6256 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6257
6258 * include/fcntl.h (__libc_creat): Remove declaration.
6259 * io/creat.c (__libc_creat): Rename to creat.
6260 (creat): Do not define as alias.
6261 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6262 of creat instead of __libc_creat.
6263 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6264 to creat.
6265 (creat): Do not define as alias.
6266 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6267 __libc_creat.
6268 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6269 __libc_creat name.
6270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6271 Likewise.
6272
6273 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6274
6275 * manual/llio.texi: Add comments discussing why write() may be
6276 considered MT-unsafe on Linux.
6277
6278 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6279
6280 * dl-load.c (local_strdup): Remove.
6281 (expand_dynamic_string_token): Use __strdup.
6282 (decompose_rpath): Likewise.
6283 (_dl_map_object): Likewise.
6284
6285 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6286
6287 [BZ #14132]
6288 * sysdeps/generic/unwind-dw2-fde.c
6289 (__register_frame_info_bases_internal): Do not declare.
6290 (__register_frame_info_table_bases_internal): Likewise.
6291 (__deregister_frame_info_bases_internal): Likewise.
6292 (__register_frame_info_bases): Declare and use hidden_proto before
6293 definition. Use hidden_def instead of INTDEF.
6294 (__register_frame_info_table_bases): Likewise.
6295 (__deregister_frame_info_bases): Likewise.
6296 (__register_frame_info): Do not use INTUSE.
6297 (__register_frame): Likewise.
6298 (__register_frame_info_table): Likewise.
6299 (__register_frame_table): Likewise.
6300 (__deregister_frame_info): Likewise.
6301 (__deregister_frame): Likewise.
6302
6303 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6304
6305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6306 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6307 not undefine.
6308 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6309 Likewise.
6310 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6311 Likewise.
6312
6313 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6314
6315 [BZ #14138]
6316 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6317 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6318 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6319 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6320 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6321 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6322 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6323 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6324 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6325 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6326 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6328 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6329 syscall.
6330 (setfsuid): Likewise.
6331 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6332 (setfsuid): Likewise.
6333 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6334 (setfsuid): Likewise.
6335 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6336 Likewise.
6337 (setfsuid): Likewise.
6338 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6339 (setfsuid): Likewise.
6340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6341 Likewise.
6342 (setfsuid): Likewise.
6343
6344 2014-10-27 Andreas Schwab <schwab@suse.de>
6345
6346 [BZ #17501]
6347 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6348 check for Slow_SSE4_2 feature bit.
6349 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6350 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6351 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6352 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6353
6354 2014-10-24 Roland McGrath <roland@hack.frob.com>
6355
6356 * configure.ac: Validate compiler version with a empirical test of
6357 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6358 $CC -v output.
6359 * configure: Regenerated.
6360
6361 * inet/htons.c (htons): Prototypify.
6362 * inet/htonl.c (htonl): Likewise.
6363
6364 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6365
6366 * string/strncat.c (strncat): Improve performance by using strlen.
6367
6368 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6369
6370 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6371
6372 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6373
6374 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6375 Call libc_fetestexcept_aarch64.
6376
6377 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6378
6379 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6380 Call libc_feholdexcept_aarch64.
6381
6382 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6383
6384 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6385 Call get_rounding_mode.
6386
6387 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6388
6389 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6390 Simplify logic.
6391
6392 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6393
6394 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6395 Simplify logic.
6396
6397 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6398
6399 [BZ #14138]
6400 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6401 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6402 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6403 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6404 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6405 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6406 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6407 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6408 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6409 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6410 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6411 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6412 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6413 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6414 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6415 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6416 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6417 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6418 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6419 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6420 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6421 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6422 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6423 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6424 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6425 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6426 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6427 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6428 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6429 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6430 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6431 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6432 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6433 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6434 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6435 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6437 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6438 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6439 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6440 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6441 syscall.
6442 (geteuid): Likewise.
6443 (getgid): Likewise.
6444 (getuid): Likewise.
6445 (getresgid): Likewise.
6446 (getresuid): Likewise.
6447 (getgroups): Likewise.
6448 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6449 (geteuid): Likewise.
6450 (getgid): Likewise.
6451 (getuid): Likewise.
6452 (getresgid): Likewise.
6453 (getresuid): Likewise.
6454 (getgroups): Likewise.
6455 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6456 (geteuid): Likewise.
6457 (getgid): Likewise.
6458 (getuid): Likewise.
6459 (getresgid): Likewise.
6460 (getresuid): Likewise.
6461 (getgroups): Likewise.
6462 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6463 Likewise.
6464 (geteuid): Likewise.
6465 (getgid): Likewise.
6466 (getuid): Likewise.
6467 (getresgid): Likewise.
6468 (getresuid): Likewise.
6469 (getgroups): Likewise.
6470 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6471 (geteuid): Likewise.
6472 (getgid): Likewise.
6473 (getuid): Likewise.
6474 (getresgid): Likewise.
6475 (getresuid): Likewise.
6476 (getgroups): Likewise.
6477 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6478 Likewise.
6479 (geteuid): Likewise.
6480 (getgid): Likewise.
6481 (getuid): Likewise.
6482 (getgroups): Likewise.
6483
6484 [BZ #14138]
6485 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6486 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6487 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6490 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6491 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6492 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6493 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6494 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6495 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6497 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6498 __chown.
6499 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6500 (lchown): Likewise.
6501 (fchown): Likewise.
6502 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6503 Likewise.
6504 (lchown): Likewise.
6505 (fchown): Likewise.
6506 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6507 (lchown): Likewise.
6508 (fchown): Likewise.
6509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6510 Likewise.
6511 (lchown): Likewise.
6512 (fchown): Likewise.
6513
6514 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6515
6516 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6517 Simplify logic.
6518
6519 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6520
6521 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6522 Cleanup logic.
6523
6524 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6525
6526 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6527 Remove unused include.
6528
6529 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6530
6531 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6532 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6533 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6534 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6535
6536 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6537 Helge Deller <deller@gmx.de>
6538
6539 [BZ #17508]
6540 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6541 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6542 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6543
6544 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #14132]
6547 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6548 Remove macro definition.
6549 (__ashrdi3_v_glibc20): Likewise.
6550 (__lshrdi3_v_glibc20): Likewise.
6551 (__cmpdi2_v_glibc20): Likewise.
6552 (__ucmpdi2_v_glibc20): Likewise.
6553 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6554 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6555 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6556 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6557 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6558 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6559
6560 2014-10-22 Roland McGrath <roland@hack.frob.com>
6561
6562 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6563 old GNU extension [0] syntax.
6564 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6565 alloca rather than an array member with variable length.
6566 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6567 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6568 (parse_opt): ... here. Likewise use alloca there.
6569 Validate the -i argument before checking for rootness.
6570 (send_shutdown): New function, broken out of ...
6571 (parse_opt): ... here.
6572
6573 2014-10-22 Roland McGrath <roland@hack.frob.com>
6574
6575 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6576 macro to get at the _rt_local_ro field.
6577 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6578 ([PIC] case) or _dl_hwcap ([!PIC] case).
6579 * sysdeps/arm/setjmp.S: Likewise.
6580
6581 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6582 * sysdeps/arm/configure.ac: New check to define it.
6583 * sysdeps/arm/configure: Regenerated.
6584 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6585 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6586 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6587 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6588 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6589 Use move/movt pair instead of a load.
6590 (LDST_GLOBAL): Macro removed.
6591 (LDR_GLOBAL): New macro replaces it.
6592 (LDR_HIDDEN): New macro.
6593 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6594 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6595
6596 * setjmp/tst-setjmp-static.c: New file.
6597 * setjmp/Makefile (tests): Add it.
6598 (tests-static): New variable.
6599
6600 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6601
6602 [BZ #17485]
6603 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6604
6605 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6606
6607 [BZ #14132]
6608 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6609
6610 2014-10-21 Roland McGrath <roland@hack.frob.com>
6611
6612 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6613
6614 2014-10-20 Roland McGrath <roland@hack.frob.com>
6615
6616 * io/fts.c (dirent_not_directory): New function.
6617 (fts_build): Call it.
6618
6619 2014-10-20 Roland McGrath <roland@hack.frob.com>
6620
6621 * nptl/version.c (__nptl_main): Use normal __write rather than
6622 INTERNAL_SYSCALL.
6623 (banner): Update copyright years.
6624
6625 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6626 gettimeofday.
6627 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6628 * nptl/pthread_cond_timedwait.c: Likewise.
6629 * nptl/pthread_mutex_timedlock.c: Likewise.
6630 * nptl/sem_timedwait.c: Likewise.
6631
6632 * sysdeps/nptl/bits/libc-lock.h
6633 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6634 (__libc_lock_init_recursive): Return void, not 0.
6635 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6636 (__libc_rwlock_init): Likewise.
6637 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6638
6639 2014-10-20 Torvald Riegel <triegel@redhat.com>
6640
6641 [BZ #15215]
6642 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6643 (__pthread_once_slow): ... here.
6644 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6645 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6646
6647 2014-10-20 Torvald Riegel <triegel@redhat.com>
6648
6649 [BZ #15215]
6650 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6651 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6652 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6653 * nptl/pthread_once.c (__pthread_once): Likewise.
6654 Update comments.
6655
6656 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6657
6658 [BZ #14138]
6659 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6660 name.
6661 (writev): Use __libc_writev as strong name.
6662 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6663 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6664
6665 2014-10-17 Roland McGrath <roland@hack.frob.com>
6666
6667 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6668
6669 * sysdeps/i386/nptl/tls.h
6670 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6671 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6672 New macros.
6673 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6674 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6675 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6676 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6677 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6678 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6679
6680 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6681 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6682 on [__NR_futex].
6683 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6684 broken out of ...
6685 (__pthread_mutex_init): ... here. Call it.
6686 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6687 Conditionalize PI cases on [__NR_futex].
6688 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6689 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6690 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6691
6692 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6693 conditional on [SIGSETXID].
6694 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6695 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6696 is defined. Likewise for SIGSETXID.
6697 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6698 Conditionalize definitions on [SIGSETXID].
6699 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6700 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6701 unblocking on [SIGCANCEL].
6702
6703 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6704 [__NR_set_robust_list].
6705
6706 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6707
6708 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6709 (do_compare): Likewise.
6710
6711 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6712
6713 [BZ #15884]
6714 * string/strcoll_l.c: Don't include stdio.h.
6715 (coll_seq): Remove members idxarr and rulearr.
6716 (get_next_seq_cached): Remove function.
6717 (get_next_seq): Likewise.
6718 (get_next_seq_nocache): Rename to get_next_seq.
6719 (do_compare): Remove function.
6720 (do_compare_nocache): Rename to do_compare.
6721 (STRCOLL): Remove weight and rules cache.
6722
6723 2014-10-16 Roland McGrath <roland@hack.frob.com>
6724
6725 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6726 * sysdeps/arm/sfp-machine.h: ... to here.
6727 * sysdeps/arm/Implies: Remove arm/soft-fp.
6728
6729 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6730
6731 * conform/data/sys/utsname.h-data (*_t): Allow.
6732 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6733 [POSIX] (WEXITED): Do not expect constant.
6734 [POSIX] (WSTOPPED): Likewise.
6735 [POSIX] (WNOHANG): Likewise.
6736 [POSIX] (WNOWAIT): Likewise.
6737 [POSIX] (siginfo_t): Do not expect type or elements.
6738 [POSIX] (pid_t): Do not expect type.
6739 [POSIX] (signal.h): Do not allow header.
6740 [POSIX] (sys/resource.h): Likewise.
6741 [POSIX] (si_*): Do not allow pattern.
6742 [POSIX] (W*): Likewise.
6743 [POSIX] (P_*): Likewise.
6744 [POSIX] (BUS_*): Likewise.
6745 [POSIX] (CLD_*): Likewise.
6746 [POSIX] (FPE_*): Likewise.
6747 [POSIX] (ILL_*): Likewise.
6748 [POSIX] (POLL_*): Likewise.
6749 [POSIX] (SEGV_*): Likewise.
6750 [POSIX] (SI_*): Likewise.
6751 [POSIX] (TRAP_*): Likewise.
6752 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6753 variable.
6754
6755 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6756
6757 [BZ #12926]
6758 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6759 infinite loop when __recvmsg returns 0.
6760
6761 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6762
6763 * CANCEL-FCT-WAIVE: Remove file.
6764 * CANCEL-FILE-WAIVE: Likewise.
6765
6766 [BZ #14132]
6767 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6768 instead of INTVARDEF.
6769 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6770 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6771 rtld_hidden_data_def instead of INTVARDEF.
6772 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6773 * elf/dl-deps.c (expand_dst): Likewise.
6774 * elf/dl-load.c (_dl_dst_count): Likewise.
6775 (_dl_dst_substitute): Likewise.
6776 (decompose_rpath): Likewise.
6777 (_dl_init_paths): Likewise.
6778 (open_path): Likewise.
6779 (_dl_map_object): Likewise.
6780 * elf/rtld.c (dl_main): Likewise.
6781 (process_dl_audit): Likewise.
6782 (process_envvars): Likewise.
6783 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6784 Remove declaration.
6785 (__libc_enable_secure): Use rtld_hidden_proto.
6786
6787 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6788
6789 * elf/dl-load.c
6790 (add_path): New function broken out of _dl_rtld_di_serinfo.
6791 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6792
6793 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6794
6795 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6796 parentheses around macro arguments.
6797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6800 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6801 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6802 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6803 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6804 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6806 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6807 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6808 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6809 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6810 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6811 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6812 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6813 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6816 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6825 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6826 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6827 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6828 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6829 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6830 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6831 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6832 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6833 Likewise.
6834 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6835 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6836 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6837 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6838 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6839 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6840 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6841 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6842 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6843 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6844 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6845 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6846 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6847 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6848 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6849 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6850 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6852 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6853 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6854 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6855 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6856 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6857 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6858 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6859 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6860 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6861 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6862 (_FP_FRAC_SRS_1): Likewise.
6863 (_FP_FRAC_CLZ_1): Likewise.
6864 (_FP_MUL_MEAT_1_imm): Likewise.
6865 (_FP_MUL_MEAT_1_wide): Likewise.
6866 (_FP_MUL_MEAT_1_hard): Likewise.
6867 (_FP_SQRT_MEAT_1): Likewise.
6868 (_FP_FRAC_ASSEMBLE_1): Likewise.
6869 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6870 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6871 (__FP_CLZ_2): Likewise.
6872 (_FP_MUL_MEAT_2_wide): Likewise.
6873 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6874 (_FP_MUL_MEAT_2_gmp): Likewise.
6875 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6876 (_FP_SQRT_MEAT_2): Likewise.
6877 (_FP_FRAC_ASSEMBLE_2): Likewise.
6878 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6879 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6880 (_FP_FRAC_CLZ_4): Likewise.
6881 (_FP_MUL_MEAT_4_wide): Likewise.
6882 (_FP_MUL_MEAT_4_gmp): Likewise.
6883 (_FP_SQRT_MEAT_4): Likewise.
6884 (_FP_FRAC_ASSEMBLE_4): Likewise.
6885 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6886 * soft-fp/op-common.h (_FP_CMP): Likewise.
6887 (_FP_CMP_EQ): Likewise.
6888 (_FP_CMP_UNORD): Likewise.
6889 (_FP_TO_INT): Likewise.
6890 (_FP_FROM_INT): Likewise.
6891 [!__FP_CLZ] (__FP_CLZ): Likewise.
6892 (_FP_DIV_HELP_imm): Likewise.
6893 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6894 Likewise.
6895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6896 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6897 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6898 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6899 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6900 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6901 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6904 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6905 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6906 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6907 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6908 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6909 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6910 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6911 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6912 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6914 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6915 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6919 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6923 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6924 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6925 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6926 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6927 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6928 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6929 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6930 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6931 (FP_UNPACK_RAW_SP): Likewise.
6932 (FP_PACK_RAW_S): Likewise.
6933 (FP_PACK_RAW_SP): Likewise.
6934 (FP_UNPACK_S): Likewise.
6935 (FP_UNPACK_SP): Likewise.
6936 (FP_UNPACK_SEMIRAW_S): Likewise.
6937 (FP_UNPACK_SEMIRAW_SP): Likewise.
6938 (FP_PACK_S): Likewise.
6939 (FP_PACK_SP): Likewise.
6940 (FP_PACK_SEMIRAW_S): Likewise.
6941 (FP_PACK_SEMIRAW_SP): Likewise.
6942 (_FP_SQRT_MEAT_S): Likewise.
6943 (FP_CMP_S): Likewise.
6944 (FP_CMP_EQ_S): Likewise.
6945 (FP_CMP_UNORD_S): Likewise.
6946 (FP_TO_INT_S): Likewise.
6947 (FP_FROM_INT_S): Likewise.
6948
6949 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6950
6951 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6952 (FP_EX_INVALID_IMZ): Likewise.
6953 (FP_EX_INVALID_IMZ_FMA): Likewise.
6954 (FP_EX_INVALID_ISI): Likewise.
6955 (FP_EX_INVALID_ZDZ): Likewise.
6956 (FP_EX_INVALID_IDI): Likewise.
6957 (FP_EX_INVALID_SQRT): Likewise.
6958 (FP_EX_INVALID_CVI): Likewise.
6959 (FP_EX_INVALID_VC): Likewise.
6960 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6961 "invalid" exceptions.
6962 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6963 (_FP_ADD_INTERNAL): Likewise.
6964 (_FP_MUL): Likewise.
6965 (_FP_FMA): Likewise.
6966 (_FP_DIV): Likewise.
6967 (_FP_CMP_CHECK_NAN): Likewise.
6968 (_FP_SQRT): Likewise.
6969 (_FP_TO_INT): Likewise.
6970 (FP_EXTEND): Likewise.
6971
6972 2014-10-09 Allan McRae <allan@archlinux.org>
6973
6974 * po/fr.po: Update French translation from translation project.
6975
6976 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6977
6978 [BZ #14132]
6979 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6980 of INTDEF.
6981 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6982 (__cxa_atexit): Use libc_hidden_proto.
6983 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6984
6985 [BZ #14132]
6986 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6987 declaration.
6988 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6989 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6990 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6991 [!_ISOMAC] (__iswctype_internal): Likewise.
6992 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6993 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6994 alias.
6995 (fcntl): Remove __fcntl_internal alias.
6996 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6997 __connect_internal alias.
6998 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6999 Likewise.
7000
7001 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7002 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7003 FP_DENORM_ZERO.
7004 (_FP_CHECK_FLUSH_ZERO): New macro.
7005 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7006 (_FP_CMP): Likewise.
7007 (_FP_CMP_EQ): Likewise.
7008 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7009 FP_DENORM_ZERO.
7010 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7011 (FP_TRUNC): Likewise.
7012
7013 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7014 treated as invalid conversion, not as normal exponent.
7015
7016 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7017 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7018 (_FP_CMP_EQ): Likewise.
7019 (_FP_CMP_UNORD): Likewise.
7020 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7021 (FP_CMP_EQ_D): Likewise.
7022 (FP_CMP_UNORD_D): Likewise.
7023 * soft-fp/extended.h (FP_CMP_E): Likewise.
7024 (FP_CMP_EQ_E): Likewise.
7025 (FP_CMP_UNORD_E): Likewise.
7026 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7027 (FP_CMP_EQ_Q): Likewise.
7028 (FP_CMP_UNORD_Q): Likewise.
7029 * soft-fp/single.h (FP_CMP_S): Likewise.
7030 (FP_CMP_EQ_S): Likewise.
7031 (FP_CMP_UNORD_S): Likewise.
7032 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7033 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7034 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7035 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7036 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7037 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7038 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7039 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7040 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7041 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7042 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7043 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7044 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7045 to FP_CMP_Q.
7046 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7047 FP_CMP_Q.
7048 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7049 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7050 FP_CMP_EQ_Q.
7051 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7052 FP_CMP_Q.
7053 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7054 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7055 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7056 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7057 FP_CMP_EQ_Q.
7058 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7059 FP_CMP_Q.
7060 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7061 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7062 FP_CMP_EQ_Q.
7063 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7064 FP_CMP_Q.
7065 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7066 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7067 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7068 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7069 FP_CMP_EQ_Q.
7070
7071 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7072 a subnormal result, set the underflow exception if trapping on
7073 underflow is enabled.
7074 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7075 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7076 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7077 redefine to 0.
7078 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7079 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7080 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7081 * soft-fp/extendxftf2.c (__extendxftf2): Use
7082 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7083
7084 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7085 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7086 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7087 FP_HANDLE_EXCEPTIONS.
7088 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7089 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7090 FP_HANDLE_EXCEPTIONS.
7091 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7092 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7093 FP_HANDLE_EXCEPTIONS.
7094 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7095 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7096 FP_HANDLE_EXCEPTIONS.
7097
7098 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7099
7100 [BZ #14132]
7101 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7102 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7103 use INTUSE.
7104 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7105 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7106 Remove alias.
7107 (__adjtimex): Define using libc_hidden_ver.
7108 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7109 Remove declaration.
7110 (ntp_gettime): Call __adjtimex directly.
7111 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7112 Remove declaration.
7113 (ntp_gettimex): Call __adjtimex directly.
7114 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7115 __adjtimex_internal alias.
7116
7117 2014-10-08 Roland McGrath <roland@hack.frob.com>
7118
7119 [BZ #17460]
7120 * nscd/nscd.c (more_help): Rewrite list of tables collection
7121 using xstrdup and asprintf.
7122
7123 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7124
7125 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7126 Roland McGrath <roland@hack.frob.com>
7127
7128 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7129 (do_lookup_unique): ... local function 'enter' here; update callers.
7130
7131 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7132
7133 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7134 compat_symbol calls on [SHARED].
7135 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7136 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7137 Remove.
7138 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7139 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7140 (oldsetrlimit): Remove.
7141 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7143 (lchown): New syscall entry.
7144 (oldsetrlimit): Remove.
7145 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7146 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7147 (oldsetrlimit): Remove.
7148 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7149
7150 [BZ #14138]
7151 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7152 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7153 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7154 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7155 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7156 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7157 (fchown): Likewise.
7158 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7159 (fchown): Likewise.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7161 Likewise.
7162
7163 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7164
7165 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7166 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7167 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7168 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7169 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7170 Likewise.
7171 (__old_sem_post): Likewise.
7172
7173 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7174
7175 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7176 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7177 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7178 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7179 Use INLINE_VSYSCALL macro.
7180 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7181 __vdso_clock_gettime.
7182 * sysdeps/unix/sysv/linux/tile/init-first.c
7183 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7184 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7185 __vdso_clock_gettime.
7186
7187 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7188 to set up frame more cleanly.
7189
7190 * sysdeps/tile/memcmp.c: New file.
7191
7192 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7193
7194 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7195 * sysdeps/tile/tilegx/strcasestr.c: New file.
7196 * sysdeps/tile/tilegx/strnlen.c: New file.
7197 * sysdeps/tile/tilegx/strstr.c: New file.
7198
7199 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7200
7201 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7202
7203 * nptl/tst-setuid3.c: Write errors to stdout.
7204
7205 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7206
7207 * elf/dl-deps.c
7208 (preload): New functions broken out of _dl_map_object_deps.
7209 (_dl_map_object_deps): Remove a nested function. Update call sites.
7210
7211 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7212
7213 [BZ #14138]
7214 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7215 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7216
7217 2014-10-01 Steve Ellcey <sellcey@mips.com>
7218
7219 * sysdeps/mips/strcmp.S: New.
7220
7221 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7222
7223 [BZ #14138]
7224 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7225 (linkat): Likewise.
7226 (mkdirat): Likewise.
7227 (readlinkat): Likewise.
7228 (renameat): Likewise.
7229 (symlinkat): Likewise.
7230 (unlinkat): Likewise.
7231 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7232 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7233 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7234 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7235 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7236 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7237 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7238
7239 2014-09-30 Will Newton <will.newton@linaro.org>
7240
7241 * math/math.h: Define long double math functions if
7242 _LIBC_TEST is defined.
7243 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7244
7245 * localedata/Makefile: Move assignment to tests-special
7246 into an ifdef testing run-built-tests.
7247 * timezone/Makefile: Likewise.
7248
7249 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7250
7251 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7252 with $(BASH) not $(SHELL).
7253
7254 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7255 Matthew LeGendre <legendre1@llnl.gov>
7256
7257 [BZ #17411]
7258 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7259 l_reloc_result.
7260
7261 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7262
7263 * stdio-common/printf_fp.c
7264 (hack_digit): New function, broken out of ...
7265 (__printf_fp): ... local function here. Update call sites.
7266 hack_digit now takes an additional parameter that is a pointer
7267 to a struct of the referenced locals. Those locals moved inside
7268 the struct and references updated.
7269
7270 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7271
7272 * aclocal.m4: Require autoconf 2.69.
7273 * configure: Regenerated.
7274 * sysdeps/aarch64/configure: Likewise.
7275 * sysdeps/alpha/configure: Likewise.
7276 * sysdeps/arm/armv7/configure: Likewise.
7277 * sysdeps/arm/configure: Likewise.
7278 * sysdeps/ia64/configure: Likewise.
7279 * sysdeps/mach/configure: Likewise.
7280 * sysdeps/mips/configure: Likewise.
7281 * sysdeps/s390/configure: Likewise.
7282 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7284
7285 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7286 file.
7287 * sysdeps/ia64/configure.ac: Likewise.
7288
7289 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7290
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7292 specify symbol version for ld.so. Do not include entry for
7293 libpthread.
7294 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7295 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7296 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7297
7298 [BZ #14171]
7299 * Makeconfig [$(build-shared) = yes]
7300 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7301 makefiles.
7302 [$(build-shared) = yes && $(soversions.mk-done) = t]
7303 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7304 [$(build-shared) = yes && $(soversions.mk-done) = t]
7305 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7306 to Makerules.
7307 [$(build-shared) = yes && $(soversions.mk-done) = t]
7308 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7309 here.
7310 [$(build-shared) = yes && $(soversions.mk-done) = t]
7311 (common-generated): Don't append gnu/lib-names.h and
7312 gnu/lib-names.stmp here.
7313 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7314 (lib-names-h-abi): New variable.
7315 [$(build-shared) = yes && $(soversions.mk-done) = t]
7316 (lib-names-stmp-abi): Likewise.
7317 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7318 abi-variants] (before-compile): Append
7319 $(common-objpfx)$(lib-names-h-abi).
7320 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7321 abi-variants] (common-generated): Append gnu/lib-names.h.
7322 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7323 abi-variants] (install-others-nosubdir): Depend on
7324 $(inst_includedir)/$(lib-names-h-abi).
7325 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7326 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7327 [$(build-shared) = yes && $(soversions.mk-done) = t]
7328 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7329 [$(build-shared) = yes && $(soversions.mk-done) = t]
7330 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7331 [$(build-shared) = yes && $(soversions.mk-done) = t]
7332 (common-generated): Append $(lib-names-h-abi) and
7333 $(lib-names-stmp-abi).
7334 * scripts/lib-names.awk: Do not handle multi being set.
7335 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7336 Remove variable.
7337 (abi-lp64_be-ld-soname): Likewise.
7338 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7339 Likewise.
7340 (abi-hard-ld-soname): Likewise.
7341 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7342 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7343 Remove variable.
7344 (abi-o32_hard-ld-soname): Likewise.
7345 (abi-o32_soft_2008-ld-soname): Likewise.
7346 (abi-o32_hard_2008-ld-soname): Likewise.
7347 (abi-n32_soft-ld-soname): Likewise.
7348 (abi-n32_hard-ld-soname): Likewise.
7349 (abi-n32_soft_2008-ld-soname): Likewise.
7350 (abi-n32_hard_2008-ld-soname): Likewise.
7351 (abi-n64_soft-ld-soname): Likewise.
7352 (abi-n64_hard-ld-soname): Likewise.
7353 (abi-n64_soft_2008-ld-soname): Likewise.
7354 (abi-n64_hard_2008-ld-soname): Likewise.
7355 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7356 Likewise.
7357 (abi-64-v2-ld-soname): Likewise.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7359 ld.so entries.
7360 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7361 variable.
7362 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7363 entry.
7364 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7365 variable.
7366 (abi-64-ld-soname): Likewise.
7367 (abi-x32-ld-soname): Likewise.
7368 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7369 entry.
7370 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7371
7372 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7373
7374 [BZ #14138]
7375 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7376 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7377 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7378 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7379 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7380 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7381 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7382 syscall entry for GLIBC_2.2 symbol version.
7383 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7384 Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7386 (setrlimit): Likewise.
7387 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7388 Likewise.
7389
7390 2014-09-23 Will Newton <will.newton@linaro.org>
7391
7392 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7393 _LINUX_ARM_SYSDEP_H include guard too.
7394 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7395 define.
7396
7397 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7398
7399 * sysdeps/unix/sysv/linux/eventfd.c:
7400 Make first argument unsigned.
7401 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7402 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7403
7404 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7405
7406 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7407 * socket/sys/socket.h: Likewise
7408 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7409
7410 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7411
7412 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7413
7414 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7415
7416 * time/tst-ftime.c: New test.
7417 * time/Makefile (tests): Add tst-ftime.
7418
7419 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7420
7421 * soft-fp/extended.h: Fix comment formatting.
7422 * soft-fp/op-1.h: Likewise.
7423 * soft-fp/op-2.h: Likewise.
7424 * soft-fp/op-4.h: Likewise.
7425 * soft-fp/op-8.h: Likewise.
7426 * soft-fp/op-common.h: Likewise.
7427 * soft-fp/soft-fp.h: Likewise.
7428
7429 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7430
7431 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7432
7433 [BZ #6652]
7434 * Makeconfig (soversions-default-setname): Remove variable.
7435 ($(common-objpfx)soversions.i): Don't pass default_setname to
7436 soversions.awk.
7437 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7438 oldest_abi to abi-versions.awk.
7439 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7440 * config.make.in (oldest-abi): Remove variable.
7441 * configure.ac (--enable-oldest-abi): Remove configure option.
7442 * configure: Regenerated.
7443 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7444 text.
7445 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7446 * scripts/soversions.awk: Do not handle default_setname variable.
7447 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7448 variable.
7449 * sysdeps/mach/hurd/configure: Regenerated.
7450 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7451 variable.
7452 * sysdeps/unix/sysv/linux/configure: Regenerated.
7453
7454 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7455
7456 * elf/Makefile (CFLAGS-interp.c): Remove.
7457 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7458 path string.
7459 * elf/interp.c: Include generated runtime-linker.h
7460
7461 * Makerules (lib%.so): Don't include $(+interp) in
7462 prerequisites.
7463 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7464 * dlfcn/eval.c: Remove file.
7465
7466 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7467 macros.
7468
7469 [BZ #17266]
7470 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7471 4.2 and newer.
7472
7473 [BZ #17370]
7474 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7475
7476 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7477 Jakub Jelinek <jakub@redhat.com>
7478
7479 [BZ #17266]
7480 * libio/stdio.h: Check definition of __fortify_function
7481 instead of __extern_always_inline to include bits/stdio2.h.
7482 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7483 check if __extern_always_inline is defined.
7484 [__USE_MISC || __USE_XOPEN]: Likewise.
7485 [__USE_ISOC99] Likewise.
7486 * misc/sys/cdefs.h (__fortify_function): Define only if
7487 __extern_always_inline is defined.
7488 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7489 __extern_always_inline and __extern_inline only for g++-4.3
7490 and newer or a compatible gcc.
7491
7492 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7493
7494 [BZ #17371]
7495 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7496 last change to handle zero prefix length.
7497
7498 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7499
7500 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7501 _SC_REGEX_VERSION.
7502
7503 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7504 _POSIX_RAW_SOCKETS.
7505
7506 2014-09-13 Allan McRae <allan@archlinux.org>
7507
7508 * po/ru.po: Update Russian translation from translation project.
7509
7510 2014-09-12 Roland McGrath <roland@hack.frob.com>
7511
7512 * locale/programs/locale.c (show_locale_vars): Inline local function
7513 into its sole call site. Clean up some style nits.
7514 (print_item): New function, broken out of ...
7515 (show_info): ... local function here. Clean up style nits.
7516
7517 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7518 out of ...
7519 (set_class_defaults): ... local function set_default here.
7520 Define set_default as a macro locally to pass constant parameters.
7521 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7522 rather than a shared local.
7523
7524 * stdlib/rpmatch.c (try): New function, broken out of ...
7525 (rpmatch): ... local function here. Also, prototypify definition.
7526
7527 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7528
7529 * scripts/soversions.awk: Do not handle configuration names.
7530 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7531 vendor and os variables to soversions.awk.
7532 * configure.ac: Do not modify gnu-* host_os.
7533 * configure: Regenerated
7534 * shlib-versions: Remove first column with configuration names.
7535 * nptl/shlib-versions: Likewise.
7536 * nptl_db/shlib-versions: Likewise.
7537 * sysdeps/hppa/shlib-versions: Likewise.
7538 * sysdeps/m68k/shlib-versions: Likewise.
7539 * sysdeps/mach/hurd/shlib-versions: Likewise.
7540 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7541 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7542 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7543 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7544 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7545 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7546 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7547 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7549 Likewise.
7550 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7551 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7552 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7553 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7554 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7555 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7556 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7557 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7558
7559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7560 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7562 Regenerated.
7563 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7565 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7566
7567 * shlib-versions: Remove OS-specific entries. Moved to files in
7568 sysdeps.
7569 * sysdeps/mach/hurd/shlib-versions: New file.
7570 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7571
7572 * nptl/shlib-versions: Remove architecture-specific entries.
7573 Moved to files in sysdeps.
7574 * shlib-versions: Likewise.
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7576 file.
7577 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7578 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7579 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7580 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7581
7582 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7583 (UDP_NO_CHECK6_RX): Likewise.
7584
7585 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7586
7587 * sysdeps/posix/sysconf.c (__sysconf): Spell
7588 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7589
7590 2014-08-12 Florian Weimer <fweimer@redhat.com>
7591
7592 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7593 loading.
7594 * iconv/Versions (__gconv_transliterate): Export for use from
7595 gconv modules.
7596 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7597 (struct __gconv_trans_data, __gconv_trans_fct,
7598 __gconv_trans_context_fct, __gconv_trans_query_fct,
7599 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7600 definitions.
7601 (struct __gconv_step_data): Remove __trans member.
7602 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7603 longer hidden. Remove unused trans_data argument.
7604 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7605 (__gconv_translit_find): Remove declaration.
7606 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7607 prototype.
7608 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7609 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7610 trans_data argument. Add hidden definition.
7611 (__gconv_translit_find): Remove.
7612 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7613 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7614 * iconv/skeleton.c: Remove transliteration initialization.
7615 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7616 __gconv_step_data initialization.
7617 * libio/iofwide.c (__libio_translit_): Remove.
7618 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7619 * wcsmbs/btowc.c (__btowc): Likewise.
7620 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7621 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7622 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7623 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7624 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7625 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7626 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7627 * wcsmbs/wctob.c (wctob): Likewise.
7628
7629 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7630
7631 [BZ #16194]
7632 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7633 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7634 register usage.
7635 * sysdeps/x86/Makefile: Adjust.
7636
7637 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7638 Roland McGrath <roland@hack.frob.com>
7639
7640 * locale/weight.h: Add include guard.
7641 (findidx): Make static rather than auto; take new parameters
7642 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7643 * locale/weightwc.h: Likewise.
7644 * posix/fnmatch_loop.c
7645 (FCT): Change type of EXTRA from int32_t to wint_t.
7646 Don't include either header inside the function.
7647 Call FINDIDX rather than findidx, and pass new arguments.
7648 #undef FINDIDX at the end of the file.
7649 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7650 FINDIDX before including fnmatch_loop.c for the non-wide version.
7651 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7652 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7653 for the wide version.
7654 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7655 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7656 Pass new arguments to findidx.
7657 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7658 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7659 Don't #include it inside the function. Pass new arguments to findidx.
7660 * posix/regex_internal.h
7661 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7662 (re_string_elem_size_at): Don't #include it inside the function.
7663 Pass new arguments to findidx.
7664 * string/strcoll_l.c: #include WEIGHT_H at top level.
7665 (get_next_seq): Don't #include it inside the function.
7666 Pass new arguments to findidx.
7667 (get_next_seq_nocache): Likewise.
7668 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7669 (STRXFRM): Don't #include it inside the function.
7670 Pass new arguments to findidx.
7671
7672 2014-09-11 Florian Weimer <fweimer@redhat.com>
7673
7674 [BZ #17344]
7675 * malloc/malloc.c (unlink): Turn asserts into a call to
7676 malloc_printerr.
7677
7678 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7679
7680 [BZ #17370]
7681 * libio/wfileops (do_ftell_wide): Free OUT.
7682
7683 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7684
7685 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7686
7687 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7688
7689 [BZ #17363]
7690 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7691 group if the current group is empty.
7692
7693 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7694
7695 * benchtests/bench-memset.c (test_main): Add more test from size
7696 from 32 to 512 bytes.
7697 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7698 Add POWER8 memset object.
7699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7700 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7701 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7702 implementation.
7703 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7704 Likewise.
7705 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7706 multiarch POWER8 memset optimization.
7707 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7708 POWER8 memset optimization.
7709
7710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7711 Remove bzero multiarch objects.
7712 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7713 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7714 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7715 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7716 Remove define.
7717 [__bzero]: Redefine to specific name.
7718 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7719 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7720 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7721 define.
7722 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7723 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7724
7725 2014-09-10 Florian Weimer <fweimer@redhat.com>
7726
7727 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7728 warnings into errors.
7729
7730 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7731 __cxa_thread_atexit_impl prototype.
7732
7733 2014-09-09 Steve Ellcey <sellcey@mips.com>
7734
7735 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7736 Fix capitalization of error message.
7737
7738 2014-09-09 Steve Ellcey <sellcey@mips.com>
7739
7740 * sysdeps/mips/preconfigure: Modify ABI tests.
7741
7742 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7743
7744 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7745
7746 2014-09-07 Roland McGrath <roland@hack.frob.com>
7747 Carlos O'Donell <carlos@systemhalted.org>
7748
7749 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7750 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7751 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7752 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7753 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7754 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7755 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7756 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7757 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7758 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7759 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7760 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7761 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7762 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7763 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7764 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7765 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7766 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7767 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7768 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7769 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7770 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7771 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7772 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7773 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7774 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7775 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7776 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7777 Deconditionalize the code that was previously under [RESET_PID].
7778 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7779 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7780 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7781 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7782 include sysdep.h.
7783
7784 2014-09-08 Allan McRae <allan@archlinux.org>
7785
7786 * version.h (RELEASE): Set to "development".
7787 (VERSION): Set to "2.20.90"
7788
7789 2014-09-07 Allan McRae <allan@archlinux.org
7790
7791 * version.h (RELEASE): Set to "stable".
7792 (VERSION): Set to "2.20"
7793 * include/features.h (__GLIBC_MINOR__): Set to 20.
7794
7795 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7796 Liebler.
7797
7798 * po/ko.po: Update Korean translation from translation project.
7799
7800 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7801
7802 [BZ #17354]
7803 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7804 macro for handling signed relocations.
7805
7806 2014-09-03 Florian Weimer <fweimer@redhat.com>
7807
7808 [BZ #17325]
7809 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7810 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7811 assert.
7812 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7813 * iconvdata/ibm935.c (BODY): Likewise.
7814 * iconvdata/ibm937.c (BODY): Likewise.
7815 * iconvdata/ibm939.c (BODY): Likewise.
7816 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7817 assert.
7818 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7819 script.
7820 * iconvdata/run-iconv-test.sh: New test loop for checking for
7821 decoder crashers.
7822
7823 2014-09-02 Khem Raj <raj.khem@gmail.com>
7824
7825 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7826 libm_hidden_ver.
7827
7828 2014-09-01 Allan McRae <allan@archlinux.org>
7829
7830 * po/eo.po: Update Esperanto translation from translation project.
7831
7832 * po/ca.po: Update Catalan translation from translation project.
7833
7834 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7835
7836 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7837 __proc_dostop call.
7838
7839 2014-08-27 Mark Wielaard <mjw@redhat.com>
7840
7841 [BZ #17319]
7842 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7843 to call set_thread_area instead of hand written asm.
7844 (__NR_set_thread_area): Removed define.
7845 (TLS_FLAG_WRITABLE): Likewise.
7846 (__ASSUME_SET_THREAD_AREA): Remove check.
7847 (TLS_EBX_ARG): Remove define.
7848 (TLS_LOAD_EBX): Likewise.
7849
7850 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7851
7852 Simplify atomicity of socket creation in bind.
7853
7854 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7855 looking up the name after linking the file.
7856
7857 2014-08-27 Allan McRae <allan@archlinux.org>
7858
7859 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7860
7861 2014-08-26 Florian Weimer <fweimer@redhat.com>
7862
7863 [BZ #17187]
7864 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7865 trans_compare, open_translit, __gconv_translit_find):
7866 Remove module loading code.
7867
7868 2014-08-26 Allan McRae <allan@archlinux.org>
7869
7870 * po/vi.po: Update Vietnamese translation from translation project.
7871
7872 * po/uk.po: Update Ukrainian translation from translation project.
7873
7874 * po/fr.po: Update French translation from translation project.
7875
7876 * po/ru.po: Update Russian translation from translation project.
7877
7878 * po/pl.po: Update Polish translation from translation project.
7879
7880 * po/cs.po: Update Czech translation from translation project.
7881
7882 * po/de.po: Update German translation from translation project.
7883
7884 * po/bg.po: Update Bulgarian translation from translation project.
7885
7886 * po/sv.po: Update Sweedish translation from translation project.
7887
7888 * po/nl.po: Update Dutch translation from translation project.
7889
7890 * po/es.po: Update Spanish translation from translation project.
7891
7892 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7893
7894 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7895
7896 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7897 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7898 (CPPFLAGS-iconvconfig): Likewise.
7899 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7900
7901 * include/libc-symbols.h: Remove unnecessary check for
7902 NOT_IN_libc.
7903 * nptl/pthreadP.h: Likewise.
7904 * sysdeps/aarch64/setjmp.S: Likewise.
7905 * sysdeps/alpha/setjmp.S: Likewise.
7906 * sysdeps/arm/sysdep.h: Likewise.
7907 * sysdeps/i386/setjmp.S: Likewise.
7908 * sysdeps/m68k/setjmp.c: Likewise.
7909 * sysdeps/posix/getcwd.c: Likewise.
7910 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7911 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7912 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7913 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7914 * sysdeps/sh/sh3/setjmp.S: Likewise.
7915 * sysdeps/sh/sh4/setjmp.S: Likewise.
7916 * sysdeps/unix/alpha/sysdep.h: Likewise.
7917 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7919 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7920 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7923 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7925 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7928 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7929 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7930 * sysdeps/x86_64/setjmp.S: Likewise.
7931
7932 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7933
7934 [BZ #17263]
7935 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7936 <stdint.h>.
7937 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7938 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7939
7940 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7941
7942 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7943
7944 [BZ #17262]
7945 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7946 and __x86_64__ when disabling x87 inline functions.
7947
7948 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7949
7950 [BZ #17259]
7951 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7952 asm statement with __cpuid_count.
7953
7954 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7955
7956 * configure.ac: Change __ehdr_start code to dereference the struct.
7957 Run readelf on the output to look for relocations.
7958 * configure: Regenerated.
7959
7960 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7961
7962 [BZ #17261]
7963 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7964 value to 0.
7965 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7966
7967 2014-08-12 Roland McGrath <roland@hack.frob.com>
7968
7969 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7970
7971 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7972
7973 [BZ #16892]
7974 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7975 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7976
7977 2014-08-12 Sean Anderson <seanga2@gmail.com>
7978
7979 * malloc/malloc.c: Fix typo in comment.
7980
7981 2014-08-09 Allan McRae <allan@archlinux.org>
7982
7983 * Regenerate libc.po.
7984
7985 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7986
7987 * intl/tst-gettext2.sh: Check every lang file for creation.
7988
7989 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7990
7991 * sysdeps/aarch64/fpu/math_private.h
7992 (libc_feholdsetround_noex_aarch64_ctx): New function.
7993
7994 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7995
7996 * sysdeps/arm/armv6/strcpy.S (strcpy):
7997 Fix performance issue in misaligned cases.
7998
7999 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8000
8001 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8002 Move definition from termios.h.
8003 (struct termio): Likewise.
8004 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8005 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8006 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8007 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8008 Likewise.
8009 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8010 Move definition to ioctl-types.h
8011 (struct termio): Likewise.
8012 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8013 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8014 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8015 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8016 Likewise.
8017
8018 2014-08-05 Richard Henderson <rth@redhat.com>
8019
8020 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8021 exceptions.
8022 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8023 Add fraiseexcpt.
8024 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8025 Use __feraiseexcept.
8026 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8027 Protect libm symbols with IS_IN_libm.
8028
8029 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8030
8031 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8032
8033 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8034
8035 2014-08-04 Will Newton <will.newton@linaro.org>
8036
8037 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8038 file.
8039
8040 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8041
8042 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8043 variants for each function.
8044
8045 2014-08-04 Roland McGrath <roland@hack.frob.com>
8046
8047 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8048 appended ...
8049 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8050 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8051 appended ...
8052 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8053 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8054 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8055 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8056 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8057 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8058 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8059 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8060 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8061 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8062 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8063 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8064 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8066 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8072 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8074 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8076 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8084 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8085 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8086 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8087 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8088 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8089 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8090 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8091 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8092 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8093 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8094 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8096 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8098 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8099 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8100 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8101 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8102 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8103 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8104 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8105 Update #include.
8106 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8107 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8108
8109 2014-08-04 Roland McGrath <roland@hack.frob.com>
8110
8111 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8112 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8113 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8114 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8115 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8116 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8117
8118 2014-08-04 Roland McGrath <roland@hack.frob.com>
8119
8120 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8121 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8122 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8123 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8124
8125 2014-08-04 Roland McGrath <roland@hack.frob.com>
8126
8127 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8128 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8129 (__libc_vfork): Define function under this name.
8130 (__vfork): Define as an alias.
8131 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8132 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8133
8134 2014-08-04 Roland McGrath <roland@hack.frob.com>
8135
8136 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8137 that was previously under [RESET_PID].
8138 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8139
8140 2014-08-04 Andreas Schwab <schwab@suse.de>
8141
8142 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8143
8144 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8145
8146 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8147 (main): Likewise.
8148
8149 2014-08-01 Roland McGrath <roland@hack.frob.com>
8150
8151 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8152
8153 2014-08-01 Richard Henderon <rth@redhat.com>
8154
8155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8156 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8157 typo in exact zero test.
8158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8159 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8160 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8161
8162 2014-08-01 Roland McGrath <roland@hack.frob.com>
8163
8164 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8165 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8166 * sysdeps/arm/sysdep.h: ... here.
8167 [!__ASSEMBLER__]: Include <stdint.h>.
8168
8169 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8170
8171 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8172 (HAVE_WCTYPE_H): Likewise.
8173 (HAVE_ISWCTYPE): Likewise.
8174 (ENABLE_NLS): Likewise.
8175 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8176 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8177
8178 * posix/regex_internal.c: Check if DEBUG is defined and is
8179 set.
8180
8181 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8182 (HAVE_MBSRTOWCS): Likewise.
8183 * posix/fnmatch.c: Include string.h unconditionally.
8184
8185 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8186
8187 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8188 reversal.
8189
8190 2014-07-31 Roland McGrath <roland@hack.frob.com>
8191
8192 * sysdeps/generic/safe-fatal.h: New file.
8193 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8194 * nptl/forward.c: Include it.
8195 (__pthread_unwind): Use __safe_fatal as default action, rather
8196 than a bogus use of INTERNAL_SYSCALL that could never work.
8197
8198 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8199 * configure.ac (libc_cv_builtin_trap): New test.
8200 * configure: Regenerated.
8201 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8202 (ABORT_INSTRUCTION): Define using __builtin_trap.
8203
8204 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8205 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8206 * sysdeps/nptl/nptl-signals.h: New file.
8207 * nptl/pthreadP.h: Include <nptl-signals.h>.
8208
8209 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8210
8211 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8212 (ONE_DIRECTION): Define.
8213 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8214 (ONE_DIRECTION): Define.
8215 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8216 (ONE_DIRECTION): Define.
8217
8218 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8219
8220 * sysdeps/s390/Makefile: Delete file.
8221 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8222 * sysdeps/s390/__longjmp.c: Delete file.
8223 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8224 Remove fields __flags and __reserved.
8225 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8226 and add versioning.
8227 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8228 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8229 * sysdeps/s390/rtld-setjmp.S: Likewise.
8230 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8231 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8232 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8233 * sysdeps/s390/s390-32/setjmp.S: ... here.
8234 Add versioning.
8235 (__sigsetjmp): Remove setting __flags field.
8236 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8237 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8238 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8239 * sysdeps/s390/s390-64/setjmp.S: ... here.
8240 Add versioning.
8241 (__sigsetjmp): Remove setting __flags field.
8242 * sysdeps/s390/setjmp.S: Delete file.
8243 * sysdeps/s390/sigjmp.c: Likewise.
8244 * sysdeps/s390/v1-longjmp.c: Likewise.
8245 * sysdeps/s390/v1-setjmp.h: Likewise.
8246 * sysdeps/s390/v1-sigjmp.c: Likewise.
8247 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8248 Remove v1-longjmp_chk.
8249 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8250 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8251 Include debug/longjmp_chk.c and add versioning.
8252 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8253 Include nptl/pt-longjmp.c and add versioning.
8254 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8255 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8256 Include __longjmp.c.
8257 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8258 Move to ...
8259 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8260 (__getcontext): Remove setting __flags field.
8261 Add versioning.
8262 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8263 Don't restore upper high grps.
8264 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8265 Likewise.
8266 (__swapcontext): Remove setting uc_flags field.
8267 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8268 Delete file.
8269 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8270 Include __longjmp.c.
8271 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8272 Move to ...
8273 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8274 (__getcontext): Remove setting __flags field.
8275 Add versioning.
8276 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8277 (__swapcontext): Remove setting uc_flags field.
8278 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8280 Remove fields uc_high_gprs and __reserved.
8281 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8282 New file with reverted content.
8283 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8285 Regenerated.
8286 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8287 Regenerated.
8288
8289 2014-07-31 Andreas Schwab <schwab@suse.de>
8290
8291 * config.h.in (HAVE_IFUNC): Define to 0.
8292 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8293 definedness.
8294
8295 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8296
8297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8298 memmove-avx-unaligned, memcpy-avx-unaligned and
8299 mempcpy-avx-unaligned.
8300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8301 Add tests for AVX memcpy functions.
8302 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8304 memcpy_chk.
8305 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8306 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8307 memmove_chk.
8308 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8309 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8310 mempcpy_chk.
8311 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8312 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8313 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8314
8315 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8316
8317 [BZ #17213]
8318 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8319 powerpc64le.
8320
8321 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8322
8323 [BZ #16839]
8324 * manual/llio.texi: Add section about open file description locks.
8325 * manual/examples/ofdlocks.c: Example of open file description
8326 lock usage.
8327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8328 F_OFD_SETLK, and F_OFD_SETLKW.
8329
8330 2014-07-23 Allan McRae <allan@archlinux.org>
8331
8332 * po/es.po: Update Spanish translation from translation project.
8333
8334 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8335
8336 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8337
8338 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8339
8340 [BZ #17078]
8341 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8342 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8343 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8344
8345 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8346
8347 [BZ #17088]
8348 * math/fesetenv.c (__fesetenv)
8349 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8350 * math/feupdateenv.c (__feupdateenv)
8351 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8352
8353 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8354 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8355 (__ASSUME_SOCKETCALL): Do not define.
8356
8357 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8358 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8359 (__ASSUME_SOCKETCALL): Do not define.
8360 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8361 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8362 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8363 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8364 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8365 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8366 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8367 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8368
8369 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8370 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8371 (__ASSUME_SOCKETCALL): Do not define.
8372 (__ASSUME_IPC64): Define unconditionally.
8373 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8374 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8375 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8376 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8377 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8378 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8379 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8380 Likewise.
8381
8382 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8383 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8384 (__ASSUME_SOCKETCALL): Do not define.
8385 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8386 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8387 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8388 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8389 (__ASSUME_REQUEUE_PI): Define unconditionally.
8390 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8391 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8392 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8393 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8394 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8395 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8396
8397 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8398 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8399 (__ASSUME_SOCKETCALL): Do not define.
8400 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8401 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8402 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8403 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8404 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8405 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8406
8407 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8408 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8409 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8410 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8411 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8412 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8413 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8414 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8415 (__ASSUME_GETCPU_SYSCALL): Likewise.
8416
8417 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8418 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8419 cases for individual architectures.
8420 * sysdeps/gnu/configure: Regenerated.
8421 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8422 LIBC_SLIBDIR_RTLDDIR.
8423 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8424 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8425 LIBC_SLIBDIR_RTLDDIR.
8426 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8428 LIBC_SLIBDIR_RTLDDIR.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8430 Regenerated.
8431 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8432 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8433 file.
8434 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8435 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8436 file.
8437 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8438 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8439 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8440 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8441
8442 * sysdeps/aarch64/shlib-versions: Move to ...
8443 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8444 * sysdeps/alpha/shlib-versions: Move to ...
8445 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8446 * sysdeps/arm/shlib-versions: Move to ...
8447 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8448 * sysdeps/hppa/shlib-versions: Move all contents except for
8449 libgcc_s entry to ...
8450 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8451 entry from ...
8452 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8453 * sysdeps/ia64/shlib-versions: Move to ...
8454 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8455 entry from ...
8456 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8457 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8458 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8459 * sysdeps/microblaze/shlib-versions: Move to ...
8460 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8461 * sysdeps/mips/shlib-versions: Move to ...
8462 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8463 entry from ...
8464 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8465 * sysdeps/tile/shlib-versions: Move to ...
8466 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8467 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8468 from ...
8469 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8470 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8471 entry from ...
8472 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8473
8474 2014-07-17 Will Newton <will.newton@linaro.org>
8475
8476 * sysdeps/arm/bits/atomic.h
8477 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8478 (__arch_compare_and_exchange_bool_16_int): Likewise.
8479 (__arch_compare_and_exchange_bool_64_int): Likewise.
8480
8481 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8482 into an #else block.
8483
8484 2014-07-16 Roland McGrath <roland@hack.frob.com>
8485
8486 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8487 just Linux configurations. Test empirically that the compiler sets
8488 __ARM_EABI__, rather than using the tuple to decide.
8489 * sysdeps/arm/preconfigure: Regenerated.
8490 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8491 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8492 contents appended ...
8493 * sysdeps/arm/configure.ac: ... here.
8494 * sysdeps/arm/configure: Regenerated.
8495
8496 2014-07-15 Roland McGrath <roland@hack.frob.com>
8497
8498 * nptl/pthread_kill.c: New file.
8499 * nptl/pthread_sigmask.c: New file.
8500 * nptl/pthread_sigqueue.c: New file.
8501
8502 * sysdeps/nptl/lowlevellock.h: New file.
8503 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8504 * sysdeps/nptl/lowlevellock-futex.h: New file.
8505
8506 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8507 Remove dead declarations.
8508
8509 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8510
8511 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8512 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8513 config-cflags-avx2.
8514 * sysdeps/x86_64/configure.ac: Likewise.
8515 * sysdeps/i386/configure: Regenerated.
8516 * sysdeps/x86_64/configure: Likewise.
8517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8518 memset-avx2 only if config-cflags-avx2 is yes.
8519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8520 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8521 defined.
8522 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8523 only if HAVE_AVX2_SUPPORT is defined.
8524 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8525
8526 2014-07-14 Alan Modra <amodra@gmail.com>
8527
8528 [BZ #17153]
8529 * elf/elf.h (DT_PPC64_NUM): Correct value.
8530 * NEWS: Add to fixed bug list.
8531
8532 2014-07-13 Jim Meyering <meyering@fb.com>
8533
8534 [BZ 17150]
8535 regex: don't deref NULL upon heap allocation failure
8536 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8537 failure in one more place.
8538 To trigger the segfault, configure grep -with-included-regex,
8539 build it, and run these commands:
8540 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8541
8542 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8543
8544 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8545
8546 2014-07-11 Richard Henderson <rth@redhat.com>
8547
8548 * sysdeps/aarch64/libm-test-ulps: Update.
8549
8550 2014-07-10 Florian Weimer <fweimer@redhat.com>
8551
8552 [BZ #17135]
8553 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8554 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8555 (__nptl_setxid): Initialize error member. Call
8556 __nptl_setxid_error.
8557 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8558 * nptl/descr.h (struct xid_command): Add error member.
8559 * nptl/tst-setuid3.c: New file.
8560 * nptl/Makefile (tests): Add it.
8561
8562 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8563
8564 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8565 New define.
8566 (__lll_trylock): Use __lll_base_trylock.
8567 (__lll_cond_trylock): Likewise.
8568
8569 2014-07-10 Roland McGrath <roland@hack.frob.com>
8570
8571 * nptl/pthread_create.c (start_thread): Use atomic_or and
8572 lll_futex_wake directly rather than lll_robust_dead.
8573 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8574 (lll_robust_dead): Macro removed.
8575 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8576 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8577 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8578 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8579 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8580 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8581 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8582 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8583 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8584 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8585 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8586 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8587 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8588 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8589 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8590
8591 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8592 Use atomic_compare_and_exchange_val_acq directly rather than
8593 lll_robust_trylock.
8594 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8595 (__lll_robust_trylock, lll_robust_trylock): Removed.
8596 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8597 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8598 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8599 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8600 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8601 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8602 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8603 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8604 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8605 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8606 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8607 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8608 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8610
8611 2014-07-02 Florian Weimer <fweimer@redhat.com>
8612
8613 * manual/locale.texi (Locale Names): New section documenting
8614 locale name syntax. Adjust menu and node chaining accordingly.
8615 (Choosing Locale): Reference Locale Names, Locale Categories.
8616 Mention setting LC_ALL=C. Reflect that name syntax is now
8617 documented.
8618 (Locale Categories): New section title. Reference Locale Names.
8619 LC_ALL is an environment variable, but not a category.
8620 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8621 description, now in Locale Name. Reference that section. Locale
8622 name syntax is now documented.
8623
8624 2014-07-02 Florian Weimer <fweimer@redhat.com>
8625
8626 [BZ #17137]
8627 * locale/findlocale.c (name_present, valid_locale_name): New
8628 functions.
8629 (_nl_find_locale): Use the loc_name variable to store name
8630 candidates. Call name_present and valid_locale_name to check and
8631 validate locale names. Return an error if the locale is invalid.
8632
8633 2014-07-02 Florian Weimer <fweimer@redhat.com>
8634
8635 * locale/setlocale.c (setlocale): Use strdup for allocating
8636 composite name copy.
8637
8638 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8639
8640 Sync up with gnulib.
8641 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8642 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8643 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8644 and _GL_ARG_NONNULL.
8645 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8646 [!_LIBC]: Include code for Windows and Cygwin.
8647 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8648 Include prototype for int strerror_r.
8649 [!_LIBC] (is_open): New function.
8650 (flush_stdout): New function.
8651 (print_errno_message): Use it.
8652 (error): Likewise.
8653 (error_at_line): Likewise.
8654 (error_tail) Add function attribute macros. Use
8655 __builtin_expect.
8656
8657 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8658
8659 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8660
8661 * io/ftw.c: Include sys/param.h unconditionally.
8662
8663 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8664
8665 [BZ #17125]
8666 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8667 libc_freeres_ptr.
8668 (freecache): New function to free CACHE on exit.
8669
8670 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8671 initialization.
8672
8673 2014-07-09 David S. Miller <davem@davemloft.net>
8674
8675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8676
8677 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8678 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8679 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8680 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8681 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8682 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8683 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8684 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8685 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8686 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8687 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8688 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8689 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8690
8691 2014-07-09 Andreas Schwab <schwab@suse.de>
8692
8693 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8694 output.
8695 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8696 (do_test): Likewise.
8697
8698 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8699
8700 2014-07-09 Will Newton <will.newton@linaro.org>
8701
8702 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8703 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8704 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8705 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8706 * sysdeps/hppa/start.S (_start): Likewise.
8707
8708 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8709
8710 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8711
8712 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8713 defined.
8714
8715 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8716
8717 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8718 after checking that it is non-NULL.
8719
8720 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8721
8722 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8723
8724 * sysdeps/powerpc/memmove.c: Remove file.
8725 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8726 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8727 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8728 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8729 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8730 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8731 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8732 string memmove instead of removed powerpc one.
8733
8734 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8735 [weak_alias]: Fix compiler warning due trailing data.
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8737 [weak_alias]: Likewise.
8738 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8739 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8740
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8742 (__libc_ifunc_impl_list): Add memmove functions.
8743
8744 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8745
8746 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8747 Remove code.
8748 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8749 Likewise
8750 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8751 Likewise
8752 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8753 Likewise
8754 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8755 Likewise
8756 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8757 Likewise
8758 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8759 Likewise
8760 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8761 Likewise
8762 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8763 Likewise
8764 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8765 Likewise
8766 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8767 Likewise
8768 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8769 Likewise
8770 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8771 Likewise
8772 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8773 Likewise
8774 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8775 Likewise
8776 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8777 Likewise
8778 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8779 Likewise
8780
8781 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8782
8783 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8784 to avoid alignment traps in non-cacheable memory.
8785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8786
8787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8788 multiarch objects.
8789 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8790 file: multiarch power7 memmove.
8791 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8792 multiarch default memmove.
8793 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8794 multiarch memove for powerpc32/power4.
8795
8796 * string/bcopy.c: Use full path to include memmove.c.
8797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8798 multiarch objects.
8799 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8800 bcopy for powerpc64.
8801 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8802 bcopy for powerpc64.
8803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8804 and memmove implementations.
8805 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8806 optimized multiarch memmove for POWER7/powerpc64.
8807 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8808 default multiarch memmove for powerpc64.
8809 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8810 multiarch for powerpc64.
8811 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8812 for POWER7/powerpc64.
8813 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8814 memmove for POWER7/powerpc64.
8815
8816 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8817 glibc default one.
8818
8819 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8820 __ELF_NATIVE_CLASS equal to 64.
8821
8822 2014-07-07 Roland McGrath <roland@hack.frob.com>
8823
8824 * sysdeps/nptl/lowlevellock.h: File removed.
8825
8826 * NEWS: NPTL is no longer an add-on!
8827 * nptl/internaltypes.h: Moved ...
8828 * sysdeps/nptl/internaltypes.h: ... here.
8829 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8830 * sysdeps/nptl/fork.c: Likewise.
8831 * sysdeps/nptl/gai_misc.h: Likewise.
8832 * sysdeps/nptl/librt-cancellation.c: Likewise.
8833 * sysdeps/nptl/jmp-unwind.c: Likewise.
8834 * sysdeps/nptl/setxid.h: Likewise.
8835 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8836 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8837 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8838 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8839 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8840 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8841 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8842 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8843 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8844 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8845 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8846 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8847 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8848 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8849 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8850 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8851 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8852 * nptl/Makeconfig: Moved ...
8853 * sysdeps/nptl/Makeconfig: ... here.
8854 * nptl/configure: File removed.
8855 * nptl/ANNOUNCE: File removed.
8856 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8857 * sysdeps/unix/sysv/linux/configure: Regenerated.
8858
8859 * nptl/Makefile (routines): Add libc_pthread_init,
8860 libc_multiple_threads, register-atfork and unregister-atfork.
8861 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8862 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8863 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8864 pthread-pi-defines.sym, structsem.sym.
8865 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8866 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8867 [$(subdir) = nptl] (tests): Add tst-setgetname.
8868 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8869 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8870 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8871 [!LIBC_SIGACTION]: Remove aliases.
8872 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8873 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8874 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8875 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8876 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8877 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8878 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8879 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8880 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8881 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8882 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8883 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8884 __libc_allocate_rtsig_private.
8885 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8886 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8887 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8888 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8889 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8890 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8891 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8892 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8893 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8894 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8895 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8896 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8897 * nptl/internaltypes.h: ... here.
8898 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8899 * sysdeps/nptl/jmp-unwind.c: ... here.
8900 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8901 * nptl/libc-lowlevellock.c: ... here.
8902 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8903 * nptl/libc_multiple_threads.c: ... here.
8904 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8905 * nptl/libc_pthread_init.c: ... here.
8906 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8907 * nptl/lowlevelbarrier.sym: ... here.
8908 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8909 * nptl/lowlevelcond.sym: ... here.
8910 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8911 * nptl/lowlevellock.c: ... here.
8912 * nptl/lowlevellock.h: Moved ...
8913 * sysdeps/nptl/lowlevellock.h: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8915 * nptl/lowlevelrobustlock.c: ... here.
8916 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8917 * nptl/lowlevelrobustlock.sym: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8919 * nptl/lowlevelrwlock.sym: ... here.
8920 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8921 * nptl/pt-fork.c: ... here.
8922 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8923 * nptl/pthread-pi-defines.sym: ... here.
8924 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8925 * nptl/pthread_attr_getaffinity.c: ... here.
8926 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8927 * nptl/pthread_attr_setaffinity.c: ... here.
8928 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8929 * nptl/pthread_mutex_cond_lock.c: ... here.
8930 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8931 Update #include.
8932 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8933 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8934 * nptl/pthread_once.c: ... here, replacing old file.
8935 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8936 * nptl/pthread_yield.c: ... here.
8937 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8938 * nptl/register-atfork.c: ... here.
8939 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8940 * nptl/sem_post.c: ... here.
8941 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8942 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8943 * nptl/sem_timedwait.c: ... here.
8944 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8945 * nptl/sem_trywait.c: ... here.
8946 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8947 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8948 * nptl/sem_wait.c: ... here.
8949 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8950 * nptl/structsem.sym: ... here.
8951 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8952 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8953 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8954 * nptl/unregister-atfork.c: ... here.
8955 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8956 * nptl/unwindbuf.sym: ... here.
8957 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8958 * sysdeps/nptl/fork.c: ... here.
8959 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8960 * sysdeps/nptl/fork.h: ... here.
8961 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8962 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8963 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8964 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8965 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8966 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8967 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8968 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8969 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8970 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8971 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8972 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8973 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8974 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8975 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8976 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8977 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8978 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8979 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8980 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8981 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8982 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8983 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8984 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8985 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8987 * sysdeps/unix/sysv/linux/raise.c: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8989 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8990 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8991 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8992 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8993 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8995 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8996 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8997 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8998 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8999 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9000 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9001 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9002 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9003
9004 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9005
9006 * sysdeps/generic/memcopy.h: Add comment for
9007 MEMCPY_OK_FOR_FWD_MEMMOVE.
9008
9009 2014-07-04 Will Newton <will.newton@linaro.org>
9010
9011 * string/memchr.c: Merge from gnulib.
9012 [_LIBC]: Remove conditionals.
9013 (__ptr_t): Remove define.
9014 (LONG_MAX_32_BITS): Likewise.
9015 (LONG_MAX): Likewise.
9016 (MEMCHR): Use ANSI prototype and optimize algorithm.
9017
9018 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9019
9020 2014-07-03 Roland McGrath <roland@hack.frob.com>
9021
9022 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9023 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9024
9025 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9026 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9027 in a bare environment with no <stdlib.h> installed.
9028 * sysdeps/nptl/configure: Regenerated.
9029
9030 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9031
9032 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9033 AC_EGREP_CPP for kernel header checks, so they only succeed if
9034 including <linux/version.h> actually works right.
9035 * sysdeps/unix/sysv/linux/configure: Regenerated.
9036
9037 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9038 value so it's not diagnosed as unused.
9039
9040 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9041 thing) with "ifeq ($(subdir),rt)".
9042
9043 2014-07-03 Richard Henderson <rth@redhat.com>
9044
9045 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9046 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9047 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9048
9049 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9050 (math_force_eval): New.
9051
9052 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9053 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9054
9055 * sysdeps/alpha/fpu/s_round.c: Remove file.
9056 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9057
9058 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9059 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9060 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9061 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9062 (_dl_start, print_statistics): Likewise.
9063 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9064 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9065
9066 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9067 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9068 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9069 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9070 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9071 (HP_SMALL_TIMING_AVAIL): Define.
9072 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9073 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9074 (HP_SMALL_TIMING_AVAIL): Define.
9075 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9076 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9077
9078 * sysdeps/aarch64/hp-timing.h: New file.
9079
9080 * sysdeps/generic/hp-timing.h: Remove dead comment.
9081 * sysdeps/generic/hp-timing-common.h: New file.
9082 * sysdeps/alpha/hp-timing.h: Include it.
9083 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9084 * sysdeps/i386/i686/hp-timing.h: Likewise.
9085 * sysdeps/ia64/hp-timing.h: Likewise.
9086 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9087 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9088 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9089 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9090 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9091 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9092 (hp_timing_t): New.
9093
9094 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9095 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9096 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9097 * elf/rtld.c (_dl_start_final): Likewise.
9098 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9099 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9100 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9101 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9102 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9103 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9104 (HP_TIMING_DIFF_INIT): Remove.
9105 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9106 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9107 (HP_TIMING_DIFF_INIT): Remove.
9108 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9109 * sysdeps/i386/i686/hp-timing.c: Remove file.
9110 * sysdeps/x86_64/hp-timing.c: Remove file.
9111 * sysdeps/ia64/hp-timing.c: Remove file.
9112 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9113 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9115 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9116
9117 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9118 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9119 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9120 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9121 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9122 (HP_TIMING_ACCUM): Remove.
9123 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9124 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9125 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9126
9127 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9128 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9129 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9130 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9131 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9132 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9133 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9134 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9135
9136 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9137
9138 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9139
9140 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9141
9142 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9143
9144 Sync up with gettext.
9145 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9146 [_MSC_VER]: Include malloc.h
9147 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9148 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9149 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9150 TEMP_FAILURE_RETRY. Cast return of alloca.
9151 [!_LIBC] Call gl_rwlock_init.
9152 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9153
9154 2014-07-02 Roland McGrath <roland@hack.frob.com>
9155
9156 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9157 before checking its value.
9158
9159 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9160
9161 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9162
9163 * debug/memcpy_chk.c: Don't include pagecopy.h.
9164 * debug/mempcpy_chk.c: Likewise.
9165 * string/memcpy.c: Likewise.
9166 * string/memmove.c: Likewise.
9167 * sysdeps/powerpc/memmove.c: Likewise.
9168 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9169 definition of PAGE_COPY_FWD_MAYBE here...
9170 * sysdeps/generic/pagecopy.h: ... from here.
9171 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9172
9173 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9174 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9175
9176 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9178 optimizations.
9179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9180 (__libc_ifunc_impl_list): Likewise.
9181 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9182 multiarch strcat for PPC64.
9183 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9184 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9185
9186 2014-07-02 Roland McGrath <roland@hack.frob.com>
9187
9188 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9189
9190 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9191
9192 * intl/loadmsgcat.c: Remove declaration of
9193 get_sysdep_segment_value.
9194 (get_sysdep_segment_value): Use ISO C style.
9195 (_nl_load_domain): Use ISO C style. Get rid of redundant
9196 semicolon. Fix typo and formatting in comment.
9197 (_nl_unload_domain): Use ISO C style.
9198
9199 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9200
9201 2014-07-02 Will Newton <will.newton@linaro.org>
9202
9203 * malloc/obstack.c: Merge from gnulib master.
9204 [HAVE_CONFIG_H]: Remove conditional code.
9205 [!_LIBC]: Include config.h.
9206 [!ELIDE_CODE]: Don't include inttypes.h, include
9207 stdint.h unconditionally.
9208 (print_and_abort): Mark as _Noreturn.
9209 (_obstack_allocated_p): Mark as __attribute_pure__.
9210 (obstack_free): Rename to __obstack_free.
9211 [!__attribute__]: Remove conditional code.
9212 * malloc/obstack.h: Merge from gnulib master.
9213 [__cplusplus]: Move conditional down.
9214 [!__attribute_pure__]: Define __attribute_pure__ here
9215 if it is not already defined.
9216 (_obstack_memory_used): Mark as __attribute_pure__.
9217 [!__obstack_free]: Define as obstack_free.
9218 [__GNUC__]: Remove check for ancient NeXT gcc.
9219
9220 2014-07-02 Will Newton <will.newton@linaro.org>
9221 Paul Eggert <eggert@cs.ucla.edu>
9222
9223 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9224
9225 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9226
9227 * resolv/gethnamaddr.c: Add comment warning that the file is
9228 not maintained.
9229
9230 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9231
9232 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9233 entries.
9234
9235 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9236 entry for aio_cancel and aio_cancel64.
9237 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9238 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9239 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9240 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9241 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9242 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9243 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9244 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9245 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9246 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9247 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9248 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9249 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9250
9251 2014-07-01 Roland McGrath <roland@hack.frob.com>
9252
9253 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9254 * nptl/pthread_mutex_lock.c: Likewise.
9255 * nptl/pthread_mutex_timedlock.c: Likewise.
9256 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9257
9258 2014-07-01 Richard henderson <rth@redhat.com>
9259
9260 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9261 (__isnan, __isnanl): Remove.
9262 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9263
9264 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9265
9266 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9267
9268 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9269
9270 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9271
9272 * resolv/nss_dns/dns-host.c (getanswer_r)
9273 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9274
9275 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9276
9277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9278 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9279 undefine.
9280 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9281 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9282
9283 2014-07-01 Roland McGrath <roland@hack.frob.com>
9284
9285 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9286 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9287
9288 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9289 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9290
9291 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9292 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9293 ... here.
9294 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9295 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9296
9297 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9298 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9299 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9300 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9301
9302 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9303 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9304 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9307 Moved ...
9308 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9309 ... here.
9310 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9311 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9312 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9313 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9314 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9315 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9316 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9319 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9320 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9321 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9322 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9323 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9324 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9325 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9326 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9327 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9328 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9329 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9330 ... here.
9331 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9332 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9334 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9335 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9336 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9337 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9338 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9339
9340 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9341
9342 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9343 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9344 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9345 Add sysdep.
9346
9347 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9348
9349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9350
9351 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9352
9353 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9354 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9355
9356 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9357
9358 * sysdeps/arm/libm-test-ulps: Regenerated.
9359
9360 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9361 Roland McGrath <roland@hack.frob.com>
9362
9363 * test-skeleton.c (signal_handler): Kill the whole process group
9364 before killing the child individually.
9365 (main): Report any failure on `setpgid'.
9366
9367 2014-06-30 Roland McGrath <roland@hack.frob.com>
9368
9369 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9370 from _TLS_H to _ARM_NPTL_TLS_H.
9371 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9372 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9373
9374 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9375
9376 [BZ #16539]
9377 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9378 (__expm1l): Return argument unchanged when small but not
9379 subnormal.
9380
9381 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9382 include macro name.
9383 (_FP_UNPACK_RAW_1_P): Likewise.
9384 (_FP_PACK_RAW_1): Likewise.
9385 (_FP_PACK_RAW_1_P): Likewise.
9386 (_FP_MUL_MEAT_1_wide): Likewise.
9387 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9388 (_FP_MUL_MEAT_1_hard): Likewise.
9389 (_FP_DIV_MEAT_1_imm): Likewise.
9390 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9391 (_FP_DIV_MEAT_1_udiv): Likewise.
9392 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9393 (_FP_UNPACK_RAW_2): Likewise.
9394 (_FP_UNPACK_RAW_2_P): Likewise.
9395 (_FP_PACK_RAW_2): Likewise.
9396 (_FP_PACK_RAW_2_P): Likewise.
9397 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9398 (_FP_MUL_MEAT_2_wide): Likewise.
9399 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9400 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9401 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9402 (_FP_MUL_MEAT_2_gmp): Likewise.
9403 (_FP_DIV_MEAT_2_udiv): Likewise.
9404 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9405 (_FP_FRAC_SRL_4): Likewise.
9406 (_FP_FRAC_SRST_4): Likewise.
9407 (_FP_FRAC_SRS_4): Likewise.
9408 (_FP_UNPACK_RAW_4): Likewise.
9409 (_FP_UNPACK_RAW_4_P): Likewise.
9410 (_FP_PACK_RAW_4): Likewise.
9411 (_FP_PACK_RAW_4_P): Likewise.
9412 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9413 (_FP_MUL_MEAT_4_wide): Likewise.
9414 (_FP_MUL_MEAT_4_gmp): Likewise.
9415 (umul_ppppmnnn): Likewise.
9416 (_FP_DIV_MEAT_4_udiv): Likewise.
9417 (__FP_FRAC_ADD_4): Likewise.
9418 (__FP_FRAC_SUB_3): Likewise.
9419 (__FP_FRAC_SUB_4): Likewise.
9420 (__FP_FRAC_DEC_3): Likewise.
9421 (__FP_FRAC_DEC_4): Likewise.
9422 (__FP_FRAC_ADDI_4): Likewise.
9423 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9424 (_FP_FRAC_SRL_8): Likewise.
9425 (_FP_FRAC_SRS_8): Likewise.
9426
9427 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9428 include macro name.
9429 (FP_UNPACK_RAW_EP): Likewise.
9430 (FP_PACK_RAW_E): Likewise.
9431 (FP_PACK_RAW_EP): Likewise.
9432 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9433 (_FP_ISSIGNAN): Likewise.
9434 (_FP_ADD_INTERNAL): Likewise.
9435 (_FP_FMA): Likewise.
9436 (_FP_CMP): Likewise.
9437 (_FP_SQRT): Likewise.
9438 (_FP_TO_INT): Likewise.
9439 (_FP_FROM_INT): Likewise.
9440 (FP_EXTEND): Likewise.
9441 (_FP_DIV_MEAT_N_loop): Likewise.
9442
9443 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9444
9445 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9446 throughout.
9447
9448 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9449
9450 [BZ #17097]
9451 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9452 result with correct sign in case of exponents that produce
9453 overflow except for X very close to 1.
9454
9455 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9456
9457 mktime: merge #if/#ifdef usage from glibc
9458 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9459 as that works with both Glibc's and Gnulib's style.
9460 See thread starting at Siddhesh Poyarekar's bug report at:
9461 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9462
9463 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9464
9465 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9466 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9467 * sysdeps/tile/tilegx/memmove.c: Remove file.
9468
9469 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9470
9471 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9472 abi-name definition.
9473 * scripts/soversions.awk: Do not handle or generate ABI lines.
9474 * shlib-versions: Remove ABI entries.
9475 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9476 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9477
9478 2014-06-27 Roland McGrath <roland@hack.frob.com>
9479
9480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9481 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9482 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9483 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9484 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9485 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9486 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9487 Moved ...
9488 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9489 ... here.
9490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9491 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9493 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9495 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9497 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9498 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9499 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9501 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9503 Moved ...
9504 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9506 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9508 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9510 Moved ...
9511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9513 Moved ...
9514 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9515 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9518 Moved ...
9519 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9521 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9523 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9525 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9527 Moved ...
9528 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9530 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9531 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9532 Moved ...
9533 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9534 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9535 Moved ...
9536 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9538 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9540 Moved ...
9541 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9542 ... here.
9543 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9544 Identical file removed.
9545 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9546 Moved ...
9547 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9548 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9549 Identical file removed.
9550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9551 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9553 Moved ...
9554 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9556 Identical file removed.
9557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9558 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9560 Identical file removed.
9561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9562 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9564 Identical file removed.
9565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9566 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9567 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9568 Identical file removed.
9569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9570 Moved ...
9571 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9572 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9573 Identical file removed.
9574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9575 Moved ...
9576 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9578 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9580 Identical file removed.
9581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9582 Moved ...
9583 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9584 ... here.
9585 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9586 Identical file removed.
9587 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9588 Moved ...
9589 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9590 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9591 Identical file removed.
9592 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9593 Moved ...
9594 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9596 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9600 Moved ...
9601 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9602 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9603 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9604
9605 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9606 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9607 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9608 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9609 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9610
9611 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9612
9613 [BZ #17092]
9614 * nscd/nscd.c (monitor_child): Return exit status of child
9615 instead of return value from wait syscall.
9616
9617 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9618
9619 * configure.ac (libc_commonpagesize): Remove variable.
9620 (libc_relro_required): Likewise.
9621 (libc_cv_z_relro): Remove configure test.
9622 * configure: Regenerated.
9623 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9624 variable.
9625 (libc_relro_required): Likewise.
9626 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9627 (libc_relro_required): Likewise.
9628 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9629 (libc_relro_required): Likewise.
9630 * sysdeps/arm/preconfigure: Regenerated.
9631 * sysdeps/ia64/preconfigure: Remove file.
9632 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9633 variable.
9634 (libc_relro_required): Likewise.
9635
9636 [BZ #16561]
9637 [BZ #16562]
9638 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9639 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9640 recompute overflowing results in original rounding mode.
9641 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9642 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9643 recompute overflowing results in original rounding mode.
9644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9645 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9646 recompute overflowing results in original rounding mode.
9647 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9648 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9649 recompute overflowing results in original rounding mode.
9650 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9651 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9652 recompute overflowing results in original rounding mode.
9653 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9654 (libc_feholdsetround_ctx): New macro.
9655 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9656 * sysdeps/i386/fpu/libm-test-ulps: Update.
9657 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9658
9659 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9660
9661 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9662 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9663 corresponding .cpsetup call.
9664
9665 2014-06-26 Roland McGrath <roland@hack.frob.com>
9666
9667 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9668 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9669 * sysdeps/arm/Makefile [$(subdir) = csu]
9670 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9671 (static-only-routines): Add aeabi_read_tp here.
9672 (shared-only-routines): Add libc-aeabi_read_tp here.
9673 (CFLAGS-libc-start.c): Add -fexceptions here.
9674 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9675 (sysdep_routines, static-only-routines, shared-only-routines):
9676 Don't add to these here.
9677 (CFLAGS-libc-start.c): Likewise.
9678
9679 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9680 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9681 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9682 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9683 * sysdeps/arm/Makefile [$(subdir) = rt]
9684 (librt-sysdep_routines, librt-shared-only-routines):
9685 Append rt-aeabi_unwind_cpp_pr1 here.
9686 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9687 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9688 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9689 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9690 Append nptl-aeabi_unwind_cpp_pr1 here.
9691 (tests): Filter out tst-cleanupx4 here.
9692 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9693 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9694 Don't do those here.
9695
9696 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9697
9698 * scripts/list-sources.sh: Do not handle ports specially.
9699
9700 2014-06-26 Roland McGrath <roland@hack.frob.com>
9701
9702 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9703 * sysdeps/arm/feupdateenv.c: Likewise.
9704
9705 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9706
9707 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9708
9709 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9710 trailing whitespace removed.
9711 * scripts/config.guess: Update to version 2014-03-23.
9712 * scripts/config.sub: Update to version 2014-05-01
9713 * scripts/install-sh: Update to version 2013-12-25.23.
9714 * scripts/move-if-change: Update from gnulib.
9715
9716 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9717
9718 * debug/memmove_chk.c: Remove pagecopy.h include.
9719
9720 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9721
9722 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9723 identical to gnulib mktime.
9724
9725 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9726
9727 * configure.ac: Do not test for machine being rs6000. Do not test
9728 for powerpc*-*soft.
9729 * configure: Regenerated.
9730
9731 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9732 test.
9733 * configure: Regenerated.
9734 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9735 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9736 Remove configure test.
9737 * sysdeps/arm/configure: Regenerated.
9738 * sysdeps/nptl/configure.ac: Do not check
9739 libc_cv_asm_cfi_directives.
9740 * sysdeps/nptl/configure: Regenerated.
9741 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9742 * sysdeps/x86_64/nptl/configure: Remove generated file.
9743 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9744 unconditional.
9745 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9746
9747 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9748
9749 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9750 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9751 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9752 it is defined.
9753
9754 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9755 instead of whether it is defined.
9756 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9757 * sysdeps/hppa/dl-machine.h: Likewise.
9758 * sysdeps/ia64/dl-machine.h: Likewise.
9759 * sysdeps/m68k/dl-machine.h: Likewise.
9760 * sysdeps/microblaze/dl-machine.h: Likewise.
9761 * sysdeps/mips/dl-machine.: Likewise.
9762 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9763 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9764 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9765 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9766 * sysdeps/sh/dl-machine.h: Likewise.
9767 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9768 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9769 * sysdeps/tile/dl-machine.h: Likewise.
9770 * sysdeps/x86_64/dl-machine.h: Likewise.
9771
9772 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9773 code.
9774 (verify_persistent_db): Likewise.
9775
9776 2014-06-26 Roland McGrath <roland@hack.frob.com>
9777
9778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9779 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9781 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9783 Moved ...
9784 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9785 ... here.
9786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9789 Identical file removed.
9790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9801 Moved ...
9802 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9806 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9808 Moved ...
9809 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9813 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9815 Identical file removed.
9816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9817 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9819 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9821 Moved ...
9822 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9823 ... here.
9824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9825 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9835 Moved ...
9836 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9838 Moved ...
9839 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9843 Moved ...
9844 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9847
9848 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9849 folded into ...
9850 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9851 * sysdeps/unix/sysv/linux/s390/Versions
9852 (libpthread: GLIBC_2.19): New version set.
9853 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9854 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9855 (librt: GLIBC_2.3.3): New version set.
9856 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9857 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9858 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9859 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9860 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9861 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9862 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9863 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9864 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9865 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9866 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9867 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9868 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9869 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9870 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9871 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9872 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9873 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9874 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9875 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9876 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9877 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9878 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9879 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9880 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9881 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9882 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9883 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9884 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9885 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9886 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9887 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9891 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9892 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9893 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9894 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9896 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9897 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9898 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9899 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9900 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9901
9902 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9903 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9904 (__libc_vfork): Define the function under this name.
9905 [!NOT_IN_libc] (__vfork): Make this an alias.
9906 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9908 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9909 (__libc_vfork): Define the function under this name.
9910 [!NOT_IN_libc] (__vfork): Make this an alias.
9911 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9912 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9913 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9915 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9916 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9917
9918 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9919 code that was previously under [RESET_PID].
9920 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9921 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9923
9924 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9925 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9926 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9927 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9928 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9929 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9930 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9931 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9932 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9933 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9934 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9935 Moved ...
9936 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9938 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9940 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9942 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9943 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9944 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9946 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9947 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9948 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9949 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9950 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9951 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9952 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9956 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9957 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9959 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9960 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9961 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9962 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9964 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9965
9966 2014-06-25 Roland McGrath <roland@hack.frob.com>
9967
9968 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9969 that was previously under [RESET_PID].
9970 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9971
9972 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9973
9974 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9975 not undefine and redefine.
9976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9977 [O_CLOEXEC]: Make code unconditional.
9978 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9979 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9980 <kernel-features.h>.
9981 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9982 conditional variable definition.
9983 (shm_open) [O_CLOEXEC]: Make code unconditional.
9984 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9985 code.
9986
9987 * configure.ac (USE_REGPARMS): Don't define here.
9988 * configure: Regenerated.
9989 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9990 * sysdeps/i386/configure: Regenerated.
9991
9992 * nptl/createthread.c: Don't include kernel-features.h.
9993 * nptl/pthread_cancel.c: Likewise.
9994 * nptl/pthread_condattr_setclock.c: Likewise.
9995 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9996 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9997 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9998 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9999 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10000 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10001 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10002 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10004 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10005 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10006 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10007 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10008 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10009 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10010 * nscd/gai.c: Likewise.
10011 * nss/nss_db/db-open.c: Likewise.
10012 * sysdeps/generic/ldsodefs.h: Likewise.
10013 * sysdeps/sh/nptl/tls.h: Likewise.
10014 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10015 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10016 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10017 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10018 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10019 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10020 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10021 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10022 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10023 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10024 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10025 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10026 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10027 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10028 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10029 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10030 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10031 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10032 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10033 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10036 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10037 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10038 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10039 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10040 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10042 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10043 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10044 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10045 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10046 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10047 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10048 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10049 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10050 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10051 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10052 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10053 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10054 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10055 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10056 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10057 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10058 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10059 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10060 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10061 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10062 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10063 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10064 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10065 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10066 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10067 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10068 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10069 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10070 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10071 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10094 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10095 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10096 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10097 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10098 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10099 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10101 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10102 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10103 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10104 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10105 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10106 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10107 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10108 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10109 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10110 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10111 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10112 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10113 * sysdeps/unix/sysv/linux/system.c: Likewise.
10114 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10115 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10116 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10117 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10118 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10119 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10120 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10121
10122 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10123 * configure: Regenerated.
10124 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10125
10126 * configure.ac (base_machine): Do not set specially for particular
10127 machines here.
10128 * configure: Regenerated.
10129 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10130 settings from configure.ac.
10131 * sysdeps/i386/preconfigure: New file.
10132 * sysdeps/s390/preconfigure: Likewise.
10133 * sysdeps/sh/preconfigure: Likewise.
10134 * sysdeps/sparc/preconfigure: Likewise.
10135
10136 2014-06-25 Roland McGrath <roland@hack.frob.com>
10137
10138 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10139 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10140 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10141 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10142 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10143 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10144 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10145 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10146 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10147 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10148 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10149 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10150 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10151 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10152 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10153 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10154 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10155 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10156 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10157
10158 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10159 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10160 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10161 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10162 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10163 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10164 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10165 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10166 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10167 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10168 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10169 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10170 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10171 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10172 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10173 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10174 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10175 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10176 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10177 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10179 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10180 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10181 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10182 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10183 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10184 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10185 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10186 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10187 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10188 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10189 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10191 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10192 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10193 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10194 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10195 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10196
10197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10198 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10200 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10202 Moved ...
10203 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10204 ... here.
10205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10206 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10208 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10210 Moved ...
10211 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10215 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10217 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10219 Moved ...
10220 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10222 Moved ...
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10225 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10227 Moved ...
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10232 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10234 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10236 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10238 Moved ...
10239 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10240 ... here.
10241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10242 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10244 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10246 Moved ...
10247 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10251 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10253 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10255 Moved ...
10256 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10258 Moved ...
10259 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10263 Moved ...
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10266 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10268 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10269
10270 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10271
10272 * timezone/checktab.awk: Update from tzcode 2014e.
10273 * timezone/private.h: Likewise.
10274 * timezone/tzfile.h: Likewise.
10275 * timezone/zdump.c: Likewise.
10276 * timezone/zic.c: Likewise.
10277
10278 * sysdeps/unix/sysv/linux/kernel-features.h
10279 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10281 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10282 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10283 Remove conditional code.
10284
10285 2014-06-25 Will Newton <will.newton@linaro.org>
10286
10287 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10288 (_dl_arm_cap_flags): Add HWCAP2 values.
10289 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10290 (_DL_HWCAP_COUNT): Increase to 37.
10291 (_DL_HWCAP_LAST): New define.
10292 (_DL_HWCAP2_LAST): New define.
10293 (_dl_procinfo): Add support for printing
10294 AT_HWCAP2 entries.
10295 (_dl_string_hwcap): Use _dl_hwcap_string.
10296
10297 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10298
10299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10300
10301 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10302
10303 * README: Do not mention ports directory.
10304
10305 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10306 Remove macro.
10307 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10308 <kernel-features.h>.
10309 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10310 conditional variable definition.
10311 (__futimes): Update comment.
10312 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10313 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10314
10315 [BZ #16560]
10316 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10317 arguments close to 0.
10318 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10319 Likewise.
10320 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10321 Likewise.
10322 * math/auto-libm-test-in: Add more tests of exp10.
10323 * math/auto-libm-test-out: Regenerated.
10324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10325
10326 * sysdeps/unix/sysv/linux/kernel-features.h
10327 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10328 * sysdeps/unix/sysv/linux/readv.c: Do not include
10329 <kernel-features.h>.
10330 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10331 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10332 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10333 unconditional.
10334 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10335 conditional code.
10336 * sysdeps/unix/sysv/linux/writev.c: Do not include
10337 <kernel-features.h>.
10338 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10339 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10340 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10341 unconditional.
10342 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10343 conditional code.
10344
10345 2014-06-25 Will Newton <will.newton@linaro.org>
10346
10347 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10348 comment changes throughout the file. Remove checks
10349 for HAVE_*_H definitions that are not required.
10350 (__gen_tempname): Call abort if an unknown kind value is
10351 passed.
10352
10353 2014-06-25 Andreas Schwab <schwab@suse.de>
10354
10355 [BZ #17086]
10356 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10357 scalbln, scalblnf, scalblnl in libc.
10358
10359 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10360
10361 [BZ #17086]
10362 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10363 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10364 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10365
10366 2014-06-24 Roland McGrath <roland@hack.frob.com>
10367
10368 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10369 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10370 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10371 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10372 Update #include.
10373 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10374 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10375 Update #include.
10376 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10377 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10378 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10379 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10380 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10381 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10382 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10383 * sysdeps/x86/bits/semaphore.h: ... here.
10384 * sysdeps/x86/nptl/elide.h: Moved ...
10385 * sysdeps/x86/elide.h: ... here.
10386 * sysdeps/x86_64/nptl/Implies: File removed.
10387 * sysdeps/i386/nptl/Implies: File removed.
10388
10389 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10390
10391 [BZ #16539]
10392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10393 return the argument for normal arguments with exponent below -64.
10394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10395 Likewise.
10396 * math/auto-libm-test-in: Add another test of expm1.
10397 * math/auto-libm-test-out: Regenerated.
10398
10399 [BZ #16287]
10400 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10401 calling __erfcl for arguments at least 16.
10402 * math/auto-libm-test-in: Add more tests of erf.
10403 * math/auto-libm-test-out: Regenerated.
10404
10405 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10406 individual architectures.
10407 * sysdeps/unix/sysv/linux/configure: Regenerated.
10408 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10409 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10410 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10411 (ldd_rewrite_script): Define variable.
10412 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10414 file.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10416 generated file.
10417 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10418 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10419 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10420 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10421 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10422 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10423 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10424 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10425
10426 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10427
10428 [BZ #17084]
10429 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10430 Rename member __data.d to __data.__elision_data.
10431
10432 2014-06-24 Wilco <wdijkstr@arm.com>
10433
10434 * NEWS: Add 16918 to fixed bug list.
10435
10436 2014-06-24 Wilco <wdijkstr@arm.com>
10437
10438 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10439
10440 2014-06-24 Wilco <wdijkstr@arm.com>
10441
10442 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10443 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10444 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10445 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10446 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10447 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10448 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10449 Use _FPU_MASK_RM.
10450
10451 2014-06-24 Wilco <wdijkstr@arm.com>
10452
10453 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10454
10455 2014-06-24 Wilco <wdijkstr@arm.com>
10456
10457 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10458 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10459 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10460 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10461
10462 2014-06-24 Wilco <wdijkstr@arm.com>
10463
10464 [BZ #16918]
10465 * sysdeps/arm/feupdateenv.c (feupdateenv):
10466 Rewrite to reduce FPSCR accesses and fix return value.
10467
10468 2014-06-24 Wilco <wdijkstr@arm.com>
10469
10470 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10471 Optimize to avoid unnecessary FPSCR writes.
10472 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10473 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10474 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10475 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10476
10477 2014-06-24 Wilco <wdijkstr@arm.com>
10478
10479 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10480 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10481 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10482 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10483 Call libc_fetestexcept_vfp.
10484 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10485 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10486 __SOFTFP__ ifdef so that they can be built for softfp.
10487
10488 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10489
10490 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10491 argument type signed char.
10492
10493 * Makerules (check-abi): Dump diff of symlist if the test
10494 fails.
10495
10496 2014-06-23 Roland McGrath <roland@hack.frob.com>
10497
10498 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10499 using abort.
10500
10501 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10502 Remove unused variable ST.
10503
10504 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10505
10506 [BZ #16354]
10507 [BZ #17061]
10508 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10509 small arguments before calling __expm1.
10510 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10511 small arguments before calling __expm1f.
10512 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10513 small arguments before calling __expm1l.
10514 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10515 Likewise.
10516 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10517 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10518 spurious underflow for some cosh tests.
10519 * math/auto-libm-test-out: Regenerated.
10520 * sysdeps/i386/fpu/libm-test-ulps: Update.
10521
10522 [BZ #17050]
10523 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10524 (__ieee754_y1): Set errno if return value overflows.
10525 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10526 (__ieee754_y1f): Set errno if return value overflows.
10527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10528 (__ieee754_y1l): Set errno if return value overflows.
10529 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10530 (__ieee754_y1l): Set errno if return value overflows.
10531 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10532 * math/auto-libm-test-out: Regenerated.
10533
10534 * math/gen-auto-libm-tests.c: Document use of
10535 ignore-zero-inf-sign.
10536 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10537 (input_flags): Add ignore-zero-inf-sign.
10538 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10539 * math/gen-libm-test.pl (generate_testfile): Handle
10540 ignore-zero-inf-sign.
10541 * math/auto-libm-test-in: Mark some cpow tests with
10542 ignore-zero-inf-sign and some with xfail-rounding.
10543 * math/auto-libm-test-out: Regenerated.
10544 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10545 * sysdeps/i386/fpu/libm-test-ulps: Update.
10546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10547
10548 [BZ #16315]
10549 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10550 overflowing or underflowing operations take place with sign of
10551 result.
10552 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10553 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10554 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10555 (__ieee754_pow): Recompute overflowing and underflowing results in
10556 original rounding mode.
10557 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10558 (__powl_helper): Allow negative argument X and scale negated value
10559 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10560 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10561 overflowing or underflowing operations take place with sign of
10562 result.
10563 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10564 Include <math.h>.
10565 * math/auto-libm-test-in: Add more tests of pow.
10566 * math/auto-libm-test-out: Regenerated.
10567 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10568 (pow_tonearest_test_data): Remove.
10569 (pow_test_tonearest): Likewise.
10570 (pow_towardzero_test_data): Likewise.
10571 (pow_test_towardzero): Likewise.
10572 (pow_downward_test_data): Likewise.
10573 (pow_test_downward): Likewise.
10574 (pow_upward_test_data): Likewise.
10575 (pow_test_upward): Likewise.
10576 (main): Don't call removed functions.
10577 * sysdeps/i386/fpu/libm-test-ulps: Update.
10578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10579
10580 2014-06-23 Roland McGrath <roland@hack.frob.com>
10581
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10583 Moved ...
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10586 Moved ...
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10589 Moved ...
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10592 Moved ...
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10595 File removed.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10597 File removed.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10599 File removed.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10601 File removed.
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10603 File removed.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10605 File removed.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10607 File removed.
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10609 File removed.
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10611 File removed.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10613 File removed.
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10615 File removed.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10617 File removed.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10619 Moved ...
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10622 Moved ...
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10624 ... here.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10626 Moved ...
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10629 Moved ...
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10632 Moved ...
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10635 Moved ...
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10638 Moved ...
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10641 Moved ...
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10644 Moved ...
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10648 ... here.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10650 Moved ...
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10653 Moved ...
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10655 ... here.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10657 Moved ...
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10659 ... here.
10660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10661 Moved ...
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10663 ... here.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10665 Moved ...
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10668 Moved ...
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10673 Moved ...
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10675 ... here.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10677 Moved ...
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10679 ... here.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10681 Moved ...
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10684 Moved ...
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10687 Moved ...
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10690 Moved ...
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10693 Moved ...
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10695 ... here.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10697 Moved ...
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10700 Moved ...
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10703 Moved ...
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10706 Moved ...
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10711 Moved ...
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10714 Moved ...
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10717 Moved ...
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10719 ... here.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10721 Moved ...
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10723 ... here.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10725 Moved ...
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10727 ... here.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10729 Moved ...
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10732 Moved ...
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10735 Moved ...
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10738 Moved ...
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10740 ... here.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10742 Moved ...
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10744 ... here.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10746 Moved ...
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10748 ... here.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10750 Moved ...
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10753 Moved ...
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10755
10756 2014-06-23 Will Newton <will.newton@linaro.org>
10757 Wilco <wdijkstr@arm.com>
10758
10759 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10760 implementation. Include get-rounding-mode.h.
10761 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10762 [!libc_feholdsetround_noex_ctx]: Define
10763 libc_feholdsetround_noex_ctx.
10764 [!libc_feholdsetround_noexf_ctx]: Define
10765 libc_feholdsetround_noexf_ctx.
10766 [!libc_feholdsetround_noexl_ctx]: Define
10767 libc_feholdsetround_noexl_ctx.
10768 (libc_feholdsetround_ctx): New function.
10769 (libc_feresetround_ctx): New function.
10770 (libc_feholdsetround_noex_ctx): New function.
10771 (libc_feresetround_noex_ctx): New function.
10772
10773 2014-06-23 Roland McGrath <roland@hack.frob.com>
10774
10775 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10776 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10777 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10778 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10779 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10780 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10781
10782 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10783 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10784 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10785 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10786 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10787 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10789 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10791 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10792 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10793 Moved ...
10794 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10795 ... here.
10796 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10797 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10798 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10799 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10801 Moved ...
10802 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10804 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10806 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10807 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10808 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10809 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10810 Moved ...
10811 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10813 Moved ...
10814 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10815 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10816 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10818 Moved ...
10819 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10821 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10823 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10824 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10825 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10826 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10827 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10828 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10829 Moved ...
10830 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10831 ... here.
10832 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10833 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10834 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10835 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10836 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10837 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10838 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10839 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10840 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10841 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10843 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10845 Moved ...
10846 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10848 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10849 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10850 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10852 Moved ...
10853 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10855 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10856 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10857 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10858
10859 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10860 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10861 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10862 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10863 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10864 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10865 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10866 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10867 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10868 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10869 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10870 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10871 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10872 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10873 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10874 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10875 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10876 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10877 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10878 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10879 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10880 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10881 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10882 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10883 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10884 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10885 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10886 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10887
10888 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10889
10890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10891 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10892 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10893 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10894 (IPV6_PMTUDISC_INTERFACE): Likewise.
10895 (IPV6_PMTUDISC_OMIT): Likewise.
10896
10897 2014-06-23 Andreas Schwab <schwab@suse.de>
10898
10899 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10900 Remove unused errout label.
10901
10902 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10903
10904 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10905 macro: hardware supports Vector Crypto instructions.
10906
10907 2014-06-23 Will Newton <will.newton@linaro.org>
10908
10909 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10910 rather than __builtin_expect.
10911
10912 * elf/dl-lookup.c (undefined_msg): Remove variable.
10913 (_dl_lookup_symbol_x): Replace undefined_msg with string
10914 literal.
10915
10916 * elf/dl-lookup.c (do_lookup_unique): New function.
10917 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10918 to a separate function.
10919
10920 2014-06-23 Andreas Schwab <schwab@suse.de>
10921
10922 [BZ #17079]
10923 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10924 before reading the next line.
10925
10926 2014-06-23 Will Newton <will.newton@linaro.org>
10927
10928 * test-skeleton.c (signal_handler): Use printf and %m
10929 rather than perror. Use printf rather than fprintf to
10930 stderr. Use puts rather than fputs to stderr.
10931 (main): Likewise.
10932
10933 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10934
10935 * nscd/nscd.c (thread_info_t): Remove typedef.
10936 (thread_info): Remove variable.
10937
10938 2014-06-21 Allan McRae <allan@archlinux.org>
10939
10940 * NEWS: Mention CVE-2014-4043.
10941
10942 2014-06-20 Roland McGrath <roland@hack.frob.com>
10943
10944 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10945 * nptl/smp.h: ... here.
10946
10947 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10948
10949 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10950 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10951 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10952 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10953
10954 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10955 * nptl/stack-aliasing.h: New file.
10956 * sysdeps/i386/i686/stack-aliasing.h: New file.
10957 * sysdeps/i386/i686/nptl/Makefile: File removed.
10958 * sysdeps/x86_64/stack-aliasing.h: New file.
10959 * sysdeps/x86_64/nptl/Makefile
10960 (CFLAGS-pthread_create.c): Variable removed.
10961
10962 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10963 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10964 old file.
10965 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10966 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10967 old file.
10968
10969 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10970
10971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10972 (__ASSUME_SIGFRAME_V2): Remove macro.
10973 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10974 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10975 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10976 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10977 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10978 Declare as function. Remove conditional macro definitions.
10979 (__default_rt_sa_restorer): Likewise.
10980 (__default_sa_restorer_v1): Remove declaration.
10981 (__default_sa_restorer_v2): Likewise.
10982 (__default_rt_sa_restorer_v1): Likewise.
10983 (__default_rt_sa_restorer_v2): Likewise.
10984 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10985 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10986 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10987
10988 2014-06-20 Roland McGrath <roland@hack.frob.com>
10989
10990 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10991 (libpthread-routines): Add sysdep.
10992 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10993 * sysdeps/unix/sysv/linux/sparc/Versions
10994 (libpthread: GLIBC_2.3.3): New version set.
10995 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10996 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10997 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10998 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10999 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11000 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11001 Moved ...
11002 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11003 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11004 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11005 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11006 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11007 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11008 * sysdeps/sparc/nptl/sem_init.c: ... here.
11009 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11010 * sysdeps/sparc/nptl/sem_post.c: ... here.
11011 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11012 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11013 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11014 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11015 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11016 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11017 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11018 (libpthread-routines): Add cpu_relax.
11019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11020 File removed.
11021 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11022 (librt: GLIBC_2.3.3): New version set.
11023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11024 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11025 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11026 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11029 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11031 Moved ...
11032 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11034 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11036 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11038 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11040 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11042 Moved ...
11043 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11044 Update #include.
11045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11046 Moved ...
11047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11048 Update #include.
11049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11050 Moved ...
11051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11052 Update #include.
11053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11054 Moved ...
11055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11056 Update #include.
11057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11058 Moved ...
11059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11060 Update #include.
11061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11062 Moved ...
11063 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11064 Update #include.
11065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11066 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11070 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11072 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11074 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11076 Moved ...
11077 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11079 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11081 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11082
11083 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11084
11085 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11086 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11087 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11088 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11089 * nscd/nscd.c: Likewise.
11090 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11091 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11092 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11093 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11094
11095 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11096 <kernel-features.h>.
11097 (init_mq_netlink): Remove conditional have_sock_cloexec
11098 definitions. Remove code conditional on have_sock_cloexec < 0.
11099 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11100 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11101 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11102 <kernel-features.h>.
11103 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11104 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11105
11106 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11107
11108 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11109 Add tests for memset_chk and memset.
11110
11111 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11112 with AVX2_Usable.
11113
11114 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11115
11116 [BZ #16046]
11117 * elf/tst-dl-iter-static.c: New file.
11118 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11119
11120 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11121 error.
11122
11123 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11124
11125 * sysdeps/unix/sysv/linux/kernel-features.h
11126 (__ASSUME_F_GETOWN_EX): Remove macro.
11127 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11128 <kernel-features.h>.
11129 (miss_F_GETOWN_EX): Remove variable or macro.
11130 (do_fcntl): Do not check miss_F_GETOWN_EX.
11131 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11132
11133 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11134 Remove macro.
11135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11136 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11137 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11138
11139 * sysdeps/unix/sysv/linux/kernel-features.h
11140 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11141 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11142 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11143 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11144
11145 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11146
11147 [BZ #17075]
11148 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11149 Fix calculation of the symbol's value.
11150 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11151 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11152 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11153 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11154 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11155 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11156 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11157 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11158 (modules-names): Add `tst-armtlsdescmod',
11159 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11160 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11161 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11162 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11163 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11164 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11165 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11166 ($(objpfx)tst-armtlsdescloc): New dependency.
11167 ($(objpfx)tst-armtlsdescextnow): Likewise.
11168 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11169 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11170 TLS scheme support.
11171 * sysdeps/arm/configure: Regenerate.
11172
11173 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11174
11175 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11176 (__atfct_seterrno_2): Likewise.
11177 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11178 <kernel-features.h>.
11179 (__ASSUME_ATFCTS): Do not undefine and redefine.
11180 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11181 (__have_atfcts): Remove conditional definition.
11182 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11183 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11184 unreachable if [__ASSUME_ATFCTS].
11185 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11186 not undefine and redefine.
11187 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11188 <kernel-features.h>.
11189 (faccessat) [__NR_faccessat]: Make code unconditional.
11190 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11191 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11192 <kernel-features.h>.
11193 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11194 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11195 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11196 <kernel-features.h>.
11197 (fchownat) [__NR_fchownat]: Make code unconditional.
11198 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11199 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11200 <kernel-features.h>.
11201 (futimesat) [__NR_futimesat]: Make code unconditional.
11202 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11203 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11204 <kernel-features.h>.
11205 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11206 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11207 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11208 <kernel-features.h>.
11209 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11210 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11211 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11212 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11213 <kernel-features.h>.
11214 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11215 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11216 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11217 <kernel-features.h>.
11218 (linkat) [__NR_linkat]: Make code unconditional.
11219 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11220 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11221 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11222 <kernel-features.h>.
11223 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11224 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11225 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11226 <kernel-features.h>.
11227 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11228 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11229 * sysdeps/unix/sysv/linux/openat.c: Do not include
11230 <kernel-features.h>.
11231 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11232 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11233 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11234 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11235 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11236 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11237 <kernel-features.h>.
11238 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11239 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11240 result of INLINE_SYSCALL directly, not via int variable.
11241 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11242 <kernel-features.h>.
11243 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11244 (renameat) [__NR_renameat]: Make code unconditional.
11245 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11246 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11247 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11248 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11249 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11250 (__ASSUME_ATFCTS): Do not undefine and redefine.
11251 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11252 <kernel-features.h>.
11253 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11254 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11255 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11256 <kernel-features.h>.
11257 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11258 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11259 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11260 (__ASSUME_ATFCTS): Do not undefine and redefine.
11261 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11262 <kernel-features.h>.
11263 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11264 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11265 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11266 <kernel-features.h>.
11267 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11268 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11269
11270 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11271
11272 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11273
11274 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11275
11276 [BZ #17069]
11277 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11278 constructed tree before returning error.
11279 * posix/bug-regexp36.c: Expand test case.
11280
11281 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11282
11283 [BZ #6803]
11284 * math/libm-test.inc (scalbln_test_date):
11285 Add errno expectations.
11286 * math/w_scalblnf.c: New File.
11287 Add wrapper which checks for setting errno to ERANGE.
11288 Add weak_alias for corresponding scalbln function.
11289 * math/w_scalbln.c: Likewise.
11290 * math/w_scalblnl.c: Likewise.
11291 * math/Makefile (libm-calls): Add w_scalbln.
11292 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11293 Remove weak_alias for corresponding scalbln function.
11294 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11296 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11298 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11299 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11300 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11301 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11302 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11303 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11304 Remove long_double_symbol for scalblnl function in libm, libc.
11305 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11306 Add wrapper which checks for setting errno to ERANGE.
11307 Add long_double_symbol for scalblnl function in libm, libc.
11308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11309 Remove long_double_symbol for scalblnl in libm.
11310 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11311 Add wrapper which checks for setting errno to ERANGE.
11312 Add long_double_symbol for scalblnl function in libm.
11313 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11314 Do not use wrapper because of own implementation.
11315
11316 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11317
11318 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11319 3 bytes for __pad1 for x32.
11320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11321
11322 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11323 H.J. Lu <hongjiu.lu@intel.com>
11324
11325 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11326 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11327 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11328 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11329 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11330
11331 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11332
11333 [BZ #17069]
11334 * posix/regcomp.c (parse_expression): Deallocate partially
11335 constructed tree before returning error.
11336 * posix/Makefile.c (tests): Add bug-regex36.
11337 (generated): Add bug-regex36.mtrace.
11338 (tests-special): Add $(objpfx)bug-regex36-mem.out
11339 (bug-regex36-ENV): New variable.
11340 ($(objpfx)bug-regex36-mem.out): New rule.
11341 * posix/bug-regex36.c: New file.
11342
11343 2014-06-19 Will Newton <will.newton@linaro.org>
11344
11345 * malloc/malloc.c (systrim): If extra is zero then return
11346 early.
11347
11348 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11349
11350 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11351
11352 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11353
11354 * sysdeps/aarch64/strchr.S: New file.
11355
11356 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11357
11358 [BZ #17022]
11359 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11360 from arguments -2 or below.
11361 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11362 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11363
11364 2014-06-18 Andreas Schwab <schwab@suse.de>
11365
11366 [BZ #17062]
11367 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11368 of a bracket expr not to run off the end of the string.
11369 * posix/Makefile (tests): Add tst-fnmatch3.
11370 * posix/tst-fnmatch3.c: New file.
11371
11372 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11373
11374 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11375 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11376 [$(cross-compiling) = no]: Likewise.
11377 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11378 [$(cross-compiling) = no]: Likewise.
11379
11380 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11381
11382 [BZ #17031]
11383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11384 double, adjusted for any remainder from the high double.
11385 * math/libm-test.inc (nearbyint): Add tests.
11386 (rint): Likewise.
11387
11388 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11389
11390 * nptl/sysdeps/powerpc/Makefile: Moved ...
11391 * sysdeps/powerpc/nptl/Makefile: ... here.
11392 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11393 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11394 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11395 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11396 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11397 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11398 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11399 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11400 * nptl/sysdeps/powerpc/tls.h: Moved ...
11401 * sysdeps/powerpc/nptl/tls.h: ... here.
11402
11403 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11404
11405 [BZ #16681]
11406 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11407 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11408 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11409 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11410 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11411 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11412 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11413 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11414 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11415
11416 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11417
11418 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11419
11420 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11421
11422 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11423 defined operator.
11424
11425 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11426 $TIMEOUTFACTOR.
11427
11428 2014-06-16 Florian Weimer <fweimer@redhat.com>
11429
11430 [BZ #17058]
11431 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11432 non-executed part of the test.
11433
11434 2014-06-16 Andreas Schwab <schwab@suse.de>
11435
11436 * string/bits/string2.h (strdup, strndup): Update feature guard.
11437
11438 2014-06-14 David S. Miller <davem@davemloft.net>
11439
11440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11441
11442 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11443
11444 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11445 that was previously under [RESET_PID].
11446 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11447
11448 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11449 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11450 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11451 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11452 (__libc_vfork): New strong alias.
11453 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11454
11455 2014-06-14 Andi Kleen <ak@linux.intel.com>
11456
11457 * sysdeps/generic/elide.h: New file.
11458
11459 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11460
11461 * Makefile (installed-headers): Adjust path of pthread.h header.
11462
11463 2014-06-13 Roland McGrath <roland@hack.frob.com>
11464
11465 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11466 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11467 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11468 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11469
11470 * nptl/sysdeps/s390/Makefile: Moved ...
11471 * sysdeps/s390/nptl/Makefile: ... here.
11472 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11473 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11474 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11475 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11476 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11477 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11478 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11479 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11480 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11481 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11482 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11483 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11484 * nptl/sysdeps/s390/tls.h: Moved ...
11485 * sysdeps/s390/nptl/tls.h: ... here.
11486
11487 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11488 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11489
11490 2014-06-13 David S. Miller <davem@davemloft.net>
11491
11492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11495 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11498 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11499 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11500 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11501 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11502 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11503 Remove RESET_PID cpp guards.
11504 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11505 Remove RESET_PID cpp guards.
11506 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11507
11508 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11509
11510 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11511 __sp to uintptr_t.
11512
11513 2014-06-13 Andi Kleen <ak@linux.intel.com>
11514
11515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11516 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11517 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11518 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11519 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11521 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11522 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11523 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11524 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11526 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11527 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11528 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11529 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11531 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11532 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11533 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11534 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11535
11536 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11537 (pthread_rwlock_rdlock): Add elision.
11538 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11539 (pthread_rwlock_wrlock): Add elision.
11540 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11541 (pthread_rwlock_trywrlock): Add elision.
11542 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11543 (pthread_rwlock_tryrdlock): Add elision.
11544 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11545 (pthread_rwlock_tryrdlock): Add elision unlock.
11546 * nptl/sysdeps/pthread/pthread.h:
11547 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11548 (PTHREAD_RWLOCK_INITIALIZER,
11549 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11550 Handle new elision field.
11551 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11552 * sysdeps/arm/nptl/bits/pthreadtypes.h
11553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11554 * sysdeps/sh/nptl/bits/pthreadtypes.h
11555 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11556 * sysdeps/tile/nptl/bits/pthreadtypes.h
11557 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11558 * sysdeps/a/nptl/bits/pthreadtypes.h
11559 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11560 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11561 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11562 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11564 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11565 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11566 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11567 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11568 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11570 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11572 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11574 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11576 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11577 (elision_init): Set try_xbegin to zero when no RTM.
11578 * sysdeps/x86/nptl/bits/pthreadtypes.h
11579 (pthread_rwlock_t): Change __pad1 to __rwelision.
11580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11581
11582 2014-06-13 Andi Kleen <ak@linux.intel.com>
11583
11584 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11585 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11586 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11587 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11588
11589 2014-06-13 Meador Inge <meadori@codesourcery.com>
11590
11591 [BZ #16996]
11592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11593 that the cached result has been set before returning it.
11594
11595 2014-06-12 Roland McGrath <roland@hack.frob.com>
11596
11597 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11598 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11599 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11600 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11601 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11602 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11603
11604 * nptl/sysdeps/sparc/Makefile: Moved ...
11605 * sysdeps/sparc/nptl/Makefile: ... here.
11606 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11607 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11608 * nptl/sysdeps/sparc/tls.h: Moved ...
11609 * sysdeps/sparc/nptl/tls.h: ... here.
11610 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11611 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11612 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11613 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11614 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11615 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11616 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11617 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11618 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11619 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11620 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11621 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11622 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11623 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11624 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11625 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11626 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11627 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11628 Update #include.
11629 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11630 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11631 Update #include.
11632 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11634 Update #include.
11635 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11636 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11637 Update #include.
11638
11639 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11640
11641 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11642 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11643
11644 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11645 (struct list_links): Type removed.
11646 (struct thread_node, struct timer_node): Replace struct list_links
11647 with struct list_head.
11648 (list_unlink_ip): Likewise.
11649 * sysdeps/pthread/timer_routines.c
11650 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11651 (list_append, list_insbefore): Likewise.
11652 (list_init): Function removed.
11653 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11654 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11655 * sysdeps/pthread/Makefile: ... here, new file.
11656
11657 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11658 * sysdeps/nptl/Implies: ... here.
11659 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11660 * nptl/sysdeps/pthread/list.h: Moved ...
11661 * include/list.h: ... here.
11662 * nptl/sysdeps/pthread/createthread.c: Moved ...
11663 * nptl/createthread.c: ... here.
11664 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11665 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11666 * nptl/pt-longjmp.c: ... here.
11667 * nptl/sysdeps/pthread/Makefile: Moved ...
11668 * sysdeps/nptl/Makefile: ... here.
11669 * nptl/sysdeps/pthread/Subdirs: Moved ...
11670 * sysdeps/nptl/Subdirs: ... here.
11671 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11672 * sysdeps/nptl/aio_misc.h: ... here.
11673 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11674 * sysdeps/nptl/bits/libc-lock.h: ... here.
11675 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11676 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11677 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11678 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11679 * nptl/sysdeps/pthread/configure: Moved ...
11680 * sysdeps/nptl/configure: ... here.
11681 * nptl/sysdeps/pthread/configure.ac: Moved ...
11682 * sysdeps/nptl/configure.ac: ... here.
11683 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11684 * sysdeps/nptl/gai_misc.h: ... here.
11685 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11686 * sysdeps/nptl/librt-cancellation.c: ... here.
11687 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11688 * sysdeps/nptl/malloc-machine.h: ... here.
11689 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11690 * sysdeps/nptl/pthread-functions.h: ... here.
11691 * nptl/sysdeps/pthread/pthread.h: Moved ...
11692 * sysdeps/nptl/pthread.h: ... here.
11693 * nptl/sysdeps/pthread/setxid.h: Moved ...
11694 * sysdeps/nptl/setxid.h: ... here.
11695 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11696 * sysdeps/nptl/sigfillset.c: ... here.
11697 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11698 * sysdeps/nptl/tcb-offsets.h: ... here.
11699 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11700 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11701 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11702 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11703 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11704 * sysdeps/pthread/allocalim.h: ... here.
11705 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11706 * sysdeps/pthread/bits/sigthread.h: ... here.
11707 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11708 * sysdeps/pthread/flockfile.c: ... here.
11709 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11710 * sysdeps/pthread/ftrylockfile.c: ... here.
11711 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11712 * sysdeps/pthread/funlockfile.c: ... here.
11713 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11714 * sysdeps/pthread/posix-timer.h: ... here.
11715 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11716 * sysdeps/pthread/timer_create.c: ... here.
11717 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11718 * sysdeps/pthread/timer_delete.c: ... here.
11719 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11720 * sysdeps/pthread/timer_getoverr.c: ... here.
11721 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11722 * sysdeps/pthread/timer_gettime.c: ... here.
11723 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11724 * sysdeps/pthread/timer_routines.c: ... here.
11725 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11726 * sysdeps/pthread/timer_settime.c: ... here.
11727 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11728 * sysdeps/pthread/tst-timer.c: ... here.
11729 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11730 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11731
11732 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11733 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11734
11735 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11736 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11737 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11738 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11739 Update #include target.
11740 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11741 * sysdeps/i386/i686/nptl/Makefile: ... here.
11742 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11743 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11744 Update #include target.
11745 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11746 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11747 * nptl/sysdeps/i386/Makefile: Moved ...
11748 * sysdeps/i386/nptl/Makefile: ... here.
11749 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11750 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11751 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11752 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11753 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11754 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11755 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11756 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11757 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11758 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11759 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11760 * nptl/sysdeps/i386/tls.h: Moved ...
11761 * sysdeps/i386/nptl/tls.h: ... here.
11762
11763 * sysdeps/sh/Makefile [$(subdir) = csu]
11764 (gen-as-const-headers): Add tcb-offsets.sym.
11765 * nptl/sysdeps/sh/Makefile: File removed.
11766 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11767 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11768 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11769 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11770 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11771 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11772 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11773 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11774 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11775 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11776 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11777 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11778 * nptl/sysdeps/sh/tls.h: Moved ...
11779 * sysdeps/sh/nptl/tls.h: ... here.
11780 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11781 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11782 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11783 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11784 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11785 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11786 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11787 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11788 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11789 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11790 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11791 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11792 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11793 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11794 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11795 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11796 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11797 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11798 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11799 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11801 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11802 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11803 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11805 Moved ...
11806 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11808 Moved ...
11809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11811 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11813 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11814 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11815 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11816 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11817 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11818 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11819 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11820 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11821 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11822 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11823 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11824 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11825 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11826 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11827 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11828
11829 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11830
11831 * posix/spawn_faction_addopen.c: Include string.h.
11832
11833 2014-06-11 Roland McGrath <roland@hack.frob.com>
11834
11835 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11836 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11837 * nptl/sysdeps/x86_64/Makefile: Moved ...
11838 * sysdeps/x86_64/nptl/Makefile: ... here.
11839 * nptl/sysdeps/x86_64/configure: Moved ...
11840 * sysdeps/x86_64/nptl/configure: ... here.
11841 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11842 * sysdeps/x86_64/nptl/configure.ac: ... here.
11843 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11844 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11845 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11846 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11847 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11848 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11849 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11850 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11851 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11852 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11853 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11854 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11855 * nptl/sysdeps/x86_64/tls.h: Moved ...
11856 * sysdeps/x86_64/nptl/tls.h: ... here.
11857 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11858 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11859 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11860 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11861
11862 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11863
11864 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11865
11866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11867
11868 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11869
11870 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11871 type.
11872 [POSIX] (off_t): Likewise.
11873 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11874 [POSIX] (S_ISBLK): Require macro.
11875 [POSIX] (S_ISCHR): Likewise.
11876 [POSIX] (S_ISDIR): Likewise.
11877 [POSIX] (S_ISFIFO): Likewise.
11878 [POSIX] (S_ISREG): Likewise.
11879 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11880 optional-macro.
11881 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11882 type.
11883 [POSIX] (time_t): Likewise.
11884 [POSIX] (timer_t): Likewise.
11885
11886 2014-06-11 Florian Weimer <fweimer@redhat.com>
11887
11888 [BZ #17048]
11889 * posix/spawn_int.h (struct __spawn_action): Make the path string
11890 non-const to support deallocation.
11891 * posix/spawn_faction_addopen.c
11892 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11893 * posix/spawn_faction_destroy.c
11894 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11895 path in all spawn_do_open actions.
11896 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11897 posix_spawn_file_actions_addopen.
11898
11899 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11900
11901 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11902 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11903 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11904 conditional code always true.
11905 (__libc_vfork): New alias.
11906
11907 2014-06-11 Roland McGrath <roland@hack.frob.com>
11908
11909 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11910 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11911
11912 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11913
11914 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11915 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11916
11917 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11918 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11919
11920 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11921 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11922
11923 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11924
11925 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11926 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11927 multiarch strcmp for PPC64.
11928 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11929 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11931 multiarch optimizations.
11932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11933 (__libc_ifunc_impl_list): Likewise.
11934
11935 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11936
11937 * benchtests/scripts/validate_benchout.py: New script.
11938 * benchtests/Makefile (bench-func): Call it.
11939 * benchtests/scripts/benchout.schema.json: New file.
11940
11941 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11942
11943 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11944 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11945 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11946 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11947 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11948 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11949 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11950 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11951 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11952 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11953 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11954 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11955 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11956 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11957 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11958 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11960 Moved ...
11961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11962 ... here.
11963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11964 Moved ...
11965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11967 Moved ...
11968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11969 ... here.
11970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11971 Moved ...
11972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11973 ... here.
11974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11975 Moved ...
11976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11978 Moved ...
11979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11980 ... here.
11981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11982 Moved ...
11983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11984 ... here.
11985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11986 Moved ...
11987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11989 Moved ...
11990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11991 ... here.
11992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11993 Moved ...
11994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11995 ... here.
11996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11997 Moved ...
11998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11999 ... here.
12000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12001 Moved ...
12002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12004 Moved ...
12005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12006 ... here.
12007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12008 Moved ...
12009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12010 ... here.
12011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12012 Moved ...
12013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12014 ... here.
12015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12016 Moved ...
12017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12019 Moved ...
12020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12021 ... here.
12022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12023 Moved ...
12024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12025 ... here.
12026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12027 Moved ...
12028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12030 Moved ...
12031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12032 ... here.
12033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12034 Moved ...
12035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12037 Moved ...
12038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12040 Moved ...
12041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12042 ... here.
12043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12044 Moved ...
12045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12046 ... here.
12047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12048 Moved ...
12049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12050 ... here.
12051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12052 Moved ...
12053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12055 Moved ...
12056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12057 ... here.
12058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12059 Moved ...
12060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12061 ... here.
12062 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12063 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12064 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12065 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12067 Moved ...
12068 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12069 ... here.
12070 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12071 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12072 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12073 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12074 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12075 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12076 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12077 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12079 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12080 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12081 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12083 Moved ...
12084 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12086 Moved ...
12087 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12089 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12091 Moved ...
12092 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12093 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12094 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12095 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12096 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12097 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12098 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12099
12100 2014-06-10 Wilco <wdijkstr@arm.com>
12101
12102 * math/test-fenv-return.c: New file.
12103 * math/Makefile: Add new test test-fenv-return.
12104
12105 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12106
12107 [BZ #17042]
12108 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12109 when x - 1 is zero.
12110 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12111 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12112 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12113 0.0L for an argument of 1.0L.
12114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12115 Likewise.
12116 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12117 value when x - 1 is zero.
12118 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12119 * sysdeps/i386/fpu/libm-test-ulps: Update.
12120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12121
12122 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12123
12124 [BZ #15119]
12125 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12126
12127 2014-06-09 Roland McGrath <roland@hack.frob.com>
12128
12129 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12130 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12131
12132 2014-06-09 Roland McGrath <roland@hack.frob.com>
12133
12134 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12135 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12136
12137 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12138 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12139
12140 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12141 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12142
12143 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12144 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12145
12146 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12147 if not already defined.
12148 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12149 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12150 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12151 (TLS_INIT_TP): Use it.
12152 (TLS_DEFINE_INIT_TP): New macro.
12153 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12154
12155 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12156
12157 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12158 constant.
12159 [POSIX] (IXANY): Likewise.
12160 [POSIX] (OLCUC): Likewise.
12161 [POSIX || POSIX2008] (CBAUD): Do not allow.
12162 [POSIX || POSIX2008] (DEFECHO): Likewise.
12163 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12164 [POSIX || POSIX2008] (ECHOKE): Likewise.
12165 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12166 [POSIX || POSIX2008] (EXTA): Likewise.
12167 [POSIX || POSIX2008] (EXTB): Likewise.
12168 [POSIX || POSIX2008] (FLUSHO): Likewise.
12169 [POSIX || POSIX2008] (LOBLK): Likewise.
12170 [POSIX || POSIX2008] (PENDIN): Likewise.
12171 [POSIX || POSIX2008] (SWTCH): Likewise.
12172 [POSIX || POSIX2008] (VDISCARD): Likewise.
12173 [POSIX || POSIX2008] (VDSUSP): Likewise.
12174 [POSIX || POSIX2008] (VLNEXT): Likewise.
12175 [POSIX || POSIX2008] (VREPRINT): Likewise.
12176 [POSIX || POSIX2008] (VSTATUS): Likewise.
12177 [POSIX || POSIX2008] (VWERASE): Likewise.
12178 (B*): Change to B[0123456789]*.
12179 * conform/data/time.h-data [POSIX || UNIX98]
12180 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12181 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12182 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12183 [POSIX] (tm_*): Do not allow.
12184
12185 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12186
12187 * Makefile (install): Don't set LANGUAGE.
12188 * Makefile.in (install): Likewise.
12189 * assert/Makefile (test-assert-ENV): Remove variable.
12190 (test-assert-perr-ENV): Likewise.
12191 * elf/Makefile (neededtest4-ENV): Likewise.
12192 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12193 [$(cross-compiling) = no]: Don't set LANGUAGE.
12194 * io/ftwtest-sh (LANG): Remove variable.
12195 * libio/Makefile (tst-widetext-ENV): Likewise.
12196 * manual/install.texi (Running make install): Don't refer to
12197 environment settings for make install.
12198 * INSTALL: Regenerated.
12199 * nptl/tst-tls6.sh: Don't set LANG.
12200 * posix/globtest.sh (LANG): Remove variable.
12201 * string/Makefile (tester-ENV): Likewise.
12202 (inl-tester-ENV): Likewise.
12203 (noinl-tester-ENV): Likewise.
12204 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12205 [$(cross-compiling) = no]: Don't set LANGUAGE.
12206 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12207 without explicit environment settings.
12208
12209 2014-06-06 Roland McGrath <roland@hack.frob.com>
12210
12211 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12212 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12213 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12214 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12215
12216 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12217
12218 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12219 other files in the crypt directory.
12220 * crypt/crypt.c: Remove duplicate includes.
12221 * crypt/crypt-entry.c: Likewise.
12222 * crypt/crypt_util.c: Likewise.
12223
12224 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12225
12226 * Makeconfig (run-program-env): New variable.
12227 (run-program-prefix-before-env): Likewise.
12228 (run-program-prefix-after-env): Likewise.
12229 (run-program-prefix): Define in terms of new variables.
12230 (built-program-cmd-before-env): New variable.
12231 (built-program-cmd-after-env): Likewise.
12232 (built-program-cmd): Define in terms of new variables.
12233 (test-program-prefix-before-env): New variable.
12234 (test-program-prefix-after-env): Likewise.
12235 (test-program-prefix): Define in terms of new variables.
12236 (test-program-cmd-before-env): New variable.
12237 (test-program-cmd-after-env): Likewise.
12238 (test-program-cmd): Define in terms of new variables.
12239 * Rules (make-test-out): Use $(run-program-env).
12240 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12241 (help): Do not mention environment variables. Mention
12242 --timeoutfactor option.
12243 (timeoutfactor): New variable.
12244 (blacklist_exports): Remove function.
12245 (exports): Remove variable.
12246 (command): Do not include ${exports}.
12247 * manual/install.texi (Configuring and compiling): Do not mention
12248 test wrappers preserving environment variables. Mention that last
12249 assignment to a variable must take precedence.
12250 * INSTALL: Regenerated.
12251 * benchtests/Makefile (run-bench): Use $(run-program-env).
12252 * catgets/Makefile ($(objpfx)test1.cat): Use
12253 $(built-program-cmd-before-env), $(run-program-env) and
12254 $(built-program-cmd-after-env).
12255 ($(objpfx)test2.cat): Do not specify environment variables
12256 explicitly.
12257 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12258 $(run-program-env) and $(built-program-cmd-after-env).
12259 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12260 $(run-program-env) and $(test-program-cmd-after-env).
12261 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12262 explicitly.
12263 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12264 run_program_env and test_program_cmd_after_env arguments.
12265 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12266 * elf/tst-pathopt.sh: Use run_program_env argument.
12267 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12268 $(test-wrapper-env) and $(run-program-env).
12269 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12270 run_program_env arguments.
12271 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12272 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12273 $(test-program-prefix-before-env), $(run-program-env) and
12274 $(test-program-prefix-after-env).
12275 ($(objpfx)tst-gettext2.out): Likewise.
12276 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12277 run_program_env and test_program_prefix_after_env arguments.
12278 * intl/tst-gettext2.sh: Likewise.
12279 * intl/tst-gettext4.sh: Do not set environment variables
12280 explicitly.
12281 * intl/tst-gettext6.sh: Likewise.
12282 * intl/tst-translit.sh: Likewise.
12283 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12284 $(test-program-prefix-before-env), $(run-program-env) and
12285 $(test-program-prefix-after-env).
12286 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12287 run_program_env and test_program_prefix_after_env arguments.
12288 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12289 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12290 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12291 explicitly with each use of ${test_wrapper_env}.
12292 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12293 $(test-program-prefix-before-env), $(run-program-env) and
12294 $(test-program-prefix-after-env).
12295 * posix/tst-getconf.sh: Do not set environment variables
12296 explicitly.
12297 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12298 run_program_env and test_program_prefix_after_env arguments.
12299 * stdio-common/tst-printf.sh: Do not set environment variables
12300 explicitly.
12301 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12302 $(test-program-prefix-before-env), $(run-program-env) and
12303 $(test-program-prefix-after-env).
12304 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12305 run_program_env and test_program_prefix_after_env arguments.
12306 Split $test calls into $test_pre and $test.
12307 * timezone/Makefile (build-testdata): Use
12308 $(built-program-cmd-before-env), $(run-program-env) and
12309 $(built-program-cmd-after-env).
12310
12311 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12312
12313 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12314 strlen for non SHARED builds.
12315
12316 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12317
12318 * nptl/allocatestack.c (check_list): Inlined function...
12319 (__reclaim_stacks): ... here.
12320
12321 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12322
12323 [BZ #15698]
12324 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12325 memory overrun.
12326
12327 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12328
12329 * Rules (make-test-out): Include
12330 LOCPATH=$(common-objpfx)localedata in default environment.
12331 * debug/Makefile (tst-chk1-ENV): Remove variable.
12332 (tst-chk2-ENV): Likewise.
12333 (tst-chk3-ENV): Likewise.
12334 (tst-chk4-ENV): Likewise.
12335 (tst-chk5-ENV): Likewise.
12336 (tst-chk6-ENV): Likewise.
12337 (tst-lfschk1-ENV): Likewise.
12338 (tst-lfschk2-ENV): Likewise.
12339 (tst-lfschk3-ENV): Likewise.
12340 (tst-lfschk4-ENV): Likewise.
12341 (tst-lfschk5-ENV): Likewise.
12342 (tst-lfschk6-ENV): Likewise.
12343 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12344 (tst-iconv7-ENV): Likewise.
12345 * intl/Makefile (LOCPATH-ENV): Likewise.
12346 (tst-codeset-ENV): Likewise.
12347 (tst-gettext3-ENV): Likewise.
12348 (tst-gettext5-ENV): Likewise.
12349 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12350 (tst-fopenloc-ENV): Likewise.
12351 (tst-fgetws-ENV): Remove variable.
12352 (tst-ungetwc1-ENV): Likewise.
12353 (tst-ungetwc2-ENV): Likewise.
12354 (bug-ungetwc2-ENV): Likewise.
12355 (tst-swscanf-ENV): Likewise.
12356 (bug-ftell-ENV): Likewise.
12357 (tst-fgetwc-ENV): Likewise.
12358 (tst-fseek-ENV): Likewise.
12359 (tst-ftell-partial-wide-ENV): Likewise.
12360 (tst-ftell-active-handler-ENV): Likewise.
12361 (tst-ftell-append-ENV): Likewise.
12362 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12363 (tst-regexloc-ENV): Likewise.
12364 (bug-regex1-ENV): Likewise.
12365 (tst-regex-ENV): Likewise.
12366 (tst-regex2-ENV): Likewise.
12367 (bug-regex5-ENV): Likewise.
12368 (bug-regex6-ENV): Likewise.
12369 (bug-regex17-ENV): Likewise.
12370 (bug-regex18-ENV): Likewise.
12371 (bug-regex19-ENV): Likewise.
12372 (bug-regex20-ENV): Likewise.
12373 (bug-regex22-ENV): Likewise.
12374 (bug-regex23-ENV): Likewise.
12375 (bug-regex25-ENV): Likewise.
12376 (bug-regex26-ENV): Likewise.
12377 (bug-regex30-ENV): Likewise.
12378 (bug-regex32-ENV): Likewise.
12379 (bug-regex33-ENV): Likewise.
12380 (bug-regex34-ENV): Likewise.
12381 (bug-regex35-ENV): Likewise.
12382 (tst-rxspencer-ENV): Likewise.
12383 (tst-rxspencer-no-utf8-ENV): Likewise.
12384 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12385 (tst-sscanf-ENV): Likewise.
12386 (tst-swprintf-ENV): Likewise.
12387 (tst-swscanf-ENV): Likewise.
12388 (test-vfprintf-ENV): Likewise.
12389 (scanf13-ENV): Likewise.
12390 (bug14-ENV): Likewise.
12391 (tst-grouping-ENV): Likewise.
12392 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12393 (tst-strtod3-ENV): Likewise.
12394 (tst-strtod4-ENV): Likewise.
12395 (tst-strtod5-ENV): Likewise.
12396 (testmb2-ENV): Likewise./
12397 * string/Makefile (tst-strxfrm-ENV): Likewise.
12398 (tst-strxfrm2-ENV): Likewise.
12399 (bug-strcoll1-ENV): Likewise.
12400 (test-strcasecmp-ENV): Likewise.
12401 (test-strncasecmp-ENV): Likewise.
12402 * time/Makefile (tst-strptime-ENV): Likewise.
12403 (tst-ftime_l-ENV): Likewise.
12404 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12405 (tst-mbrtowc-ENV): Likewise.
12406 (tst-wcrtomb-ENV): Likewise.
12407 (tst-mbrtowc2-ENV): Likewise.
12408 (tst-c16c32-1-ENV): Likewise.
12409 (tst-mbsnrtowcs-ENV): Likewise.
12410
12411 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12412
12413 * manual/resource.texi (How to get information about the memory
12414 subsystem?): Fix typo.
12415 Reported by Peon de la Parra Ivan <peon@keba.com>
12416
12417 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12418
12419 [BZ #16882]
12420 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12421 (pthread_spin_lock): Branch out of spin loop to proper location.
12422 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12423 (pthread_spin_lock): Likewise.
12424
12425 * nptl/tst-spin4.c: New test.
12426 * nptl/Makefile (tests): Add tst-spin4.
12427
12428 2014-06-03 Andreas Schwab <schwab@suse.de>
12429
12430 [BZ #15946]
12431 * resolv/res_send.c (send_dg): Reload file descriptor after
12432 calling reopen.
12433
12434 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12435
12436 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12437
12438 2014-06-03 Richard Henderson <rth@redhat.com>
12439
12440 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12441 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12442 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12443 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12444 in the SAVE_PID block.
12445 (__libc_vfork): New alias.
12446 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12447
12448 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12449 child in registers, not on the stack. Remove RESET_PID conditionals.
12450 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12451
12452 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12453
12454 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12455
12456 2014-06-03 Wilco <wdijkstr@arm.com>
12457
12458 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12459 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12460 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12461 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12462 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12463 Likewise.
12464
12465 2014-06-03 Wilco <wdijkstr@arm.com>
12466
12467 * sysdeps/aarch64/fpu/math_private.h
12468 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12469 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12470 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12471 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12472 Fix declarations.
12473
12474 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12475
12476 * crypt/crypt-private.h: Include ufc-crypt.h.
12477 (__b64_from_24bit): Declare extern.
12478 * crypt/crypt_util.c(__b64_from_24bit): New function.
12479 (b64t): New static const variable.
12480 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12481 (b64t): Remove variable.
12482 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12483 * crypt/sha256-crypt.c: Include crypt-private.h.
12484 (b64t): Remove variable.
12485 (__sha256_crypt_r): Remove b64_from_24bit and replace
12486 with __b64_from_24bit.
12487 * crypt/sha512-crypt.c: Likewise.
12488
12489 2014-06-02 Roland McGrath <roland@hack.frob.com>
12490
12491 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12492 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12493 Label the code __libc_vfork rather than __vfork.
12494 [!NOT_IN_libc] (vfork): Define as weak alias.
12495 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12496 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12497 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12498
12499 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12500
12501 * malloc/malloc.c (malloc_info): Fix format specifier for
12502 n_mmaps.
12503
12504 2014-06-02 Wilco <wdijkstr@arm.com>
12505
12506 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12507 FPCR write.
12508
12509 2014-06-02 Wilco <wdijkstr@arm.com>
12510
12511 [BZ #17009]
12512 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12513 Rewrite to reduce FPCR/FPSR accesses.
12514
12515 2014-06-01 David S. Miller <davem@davemloft.net>
12516
12517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12518
12519 2014-05-31 David S. Miller <davem@davemloft.net>
12520
12521 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12522 to occur in round to nearest mode when |x| >= 2.0
12523
12524 2014-05-30 Richard Henderson <rth@twiddle.net>
12525
12526 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12527 (PSEUDO_RET_NOERRNO): Remove.
12528 (ret): Don't redefine.
12529 (ret_NOERRNO): Define in terms of ret.
12530 (ret_ERRVAL): Likewise.
12531
12532 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12533 use of PSEUDO_RET; perform the error check directly.
12534
12535 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12536
12537 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12538 with __int128_t.
12539
12540 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12541
12542 * malloc/malloc (malloc_info): Fix formatting.
12543
12544 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12545 Roland McGrath <roland@hack.frob.com>
12546
12547 * malloc/malloc (malloc_info): Also print mmapped statistics.
12548
12549 2014-05-30 Roland McGrath <roland@hack.frob.com>
12550
12551 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12552 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12553
12554 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12555
12556 * malloc/malloc.c (malloc_info): Inline mi_arena.
12557
12558 2014-05-29 Richard Henderson <rth@twiddle.net>
12559
12560 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12561 Remove comma before expanding ASM_ARGS_##nr.
12562 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12563 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12564 of ASM_ARGS_##nr.
12565 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12566 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12567 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12568 (ASM_ARGS_1): Add leading comma.
12569
12570 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12571 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12572 to __errno_location.
12573 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12574 Remove the expected plt for __errno_location.
12575
12576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12577 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12578 call to __read_tp.
12579
12580 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12581 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12582 it and break it down.
12583 (DOCARGS_0, DOCARGS_1): Do nothing.
12584 (DOCARGS_2): Update to store into the new stack frame.
12585 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12586 (UNDOCARGS_1): Update to restore from the new stack frame.
12587 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12588 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12589
12590 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12591 (SINGLE_THREAD_P): New parameter for result regno.
12592 (PSEUDO): Update to match; use cbz instead of beq.
12593
12594 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12595 Use ENTRY to define the _nocancel entry point. Share the syscall
12596 and syscall error check paths with the cancel path.
12597 (PSEUDO_END): New.
12598
12599 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12600 whitespace; tabs before and after asm mnemonics.
12601
12602 2014-05-29 Eric Wong <normalperson@yhbt.net>
12603
12604 [BZ #15132]
12605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12606 Call fstat64 or stat64 internally, depending on arguments passed.
12607 Replace stat buffer argument with file descriptor argument.
12608 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12609 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12610 Pass fd to __internal_statvfs instead of calling fstat64.
12611 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12612 Pass fd to __internal_statvfs64 instead of calling fstat64.
12613 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12614 Pass -1 to __internal_statvfs instead of calling stat64.
12615 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12616 Pass -1 to __internal_statvfs64 instead of calling stat64.
12617
12618 2014-05-28 Roland McGrath <roland@hack.frob.com>
12619
12620 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12621 that was previously under [RESET_PID].
12622 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12623
12624 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12625 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12626
12627 2014-05-27 Roland McGrath <roland@hack.frob.com>
12628
12629 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12630
12631 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12632 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12633
12634 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12635
12636 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12637
12638 2014-05-27 Andreas Schwab <schwab@suse.de>
12639
12640 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12641 TLS_INIT_TP macro.
12642 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12643 * elf/rtld.c (init_tls, dl_main): Likewise.
12644 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12645 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12646 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12647 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12648 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12649 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12650 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12651 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12652 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12653 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12654 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12655 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12656 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12657 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12658 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12659 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12660 * sysdeps/generic/tls.h: Update description.
12661
12662 2014-05-27 Will Newton <will.newton@linaro.org>
12663
12664 [BZ #16990]
12665 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12666 and restore r2 rather than just restoring.
12667
12668 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12669
12670 [BZ #16724]
12671 * libio/tst-ftell-append.c: New test case.
12672 * libio/Makefile (tests): Add test case.
12673 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12674 append mode.
12675 * libio/wfileops.c (do_ftell_wide): Likewise.
12676
12677 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12678
12679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12680
12681 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12682 ...
12683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12685 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12686 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12688 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12689 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12690 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12692 Moved ...
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12694 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12695 Moved ...
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12697 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12698 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12699 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12700 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12701 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12702 ...
12703 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12704 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12705 Moved ...
12706 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12707 here.
12708 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12709 ...
12710 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12711 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12712 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12713
12714 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12715 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12716 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12717 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12718
12719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12720 merge into ...
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12723 ...
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12726 ...
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12729 Moved ...
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12731 here.
12732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12733 Moved ...
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12736 Moved ...
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12738
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12740 conditional [RESET_PID].
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12743 removed.
12744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12745 removed.
12746
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12748 <tcb-offsets.h>.
12749 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12750 (__libc_vfork): New strong alias.
12751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12752 removed.
12753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12754 Removed.
12755
12756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12757 <tcb-offsets.h>.
12758 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12759 (__libc_vfork): New strong alias.
12760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12761 removed.
12762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12763 removed.
12764
12765 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12766
12767 * malloc/malloc.c (mi_arena): New function.
12768 (malloc_info): Remove nested function mi_arena. Call non-nosted
12769 function mi_arena.
12770
12771 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12772
12773 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12774 by insrwi.
12775 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12776 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12777 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12778 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12779 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12780 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12781 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12782
12783 2014-05-26 Andreas Schwab <schwab@suse.de>
12784
12785 [BZ #16984]
12786 * locale/programs/repertoire.c (repertoire_read): Add slash
12787 between I18NPATH element and file name.
12788 * locale/programs/locfile.c (locfile_read): Likewise.
12789
12790 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12791
12792 * nptl/pthread_mutexattr_settype.c
12793 (__pthread_mutexattr_settype):
12794 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12795
12796 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12797
12798 * nptl/tst-mutex5 (do_test):
12799 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12800
12801 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12802
12803 * benchtests/README: Document 'init' directive.
12804 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12805 BENCH_INIT.
12806 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12807 (parse_file): Recognize 'init' directive.
12808
12809 2014-05-26 Kyle McMartin <kyle@redhat.com>
12810
12811 [BZ #16796]
12812 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12813 alignment of struct pthread.
12814
12815 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12816
12817 [BZ #16878]
12818 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12819 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12820 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12821 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12822
12823 2014-05-25 Richard Henderson <rth@twiddle.net>
12824
12825 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12826 (SINGLE_THREAD_P_PIC): Remove.
12827 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12828 (SINGLE_THREAD_P_PIC): Remove.
12829
12830 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12831 branch to syscall error ...
12832 (PSEUDO): ... here.
12833 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12834 from __local_syscall_error to .Lsyscall_error.
12835 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12836 (SYSCALL_ERROR): Update label name.
12837
12838 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12839 Do not use DOARGS/UNDOARGS.
12840 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12841 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12842 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12843 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12844 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12845
12846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12847 block comment.
12848
12849 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12850 define if !NOT_IN_libc.
12851 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12852 define with non-default symbol versions.
12853
12854 2014-05-23 Richard Henderson <rth@twiddle.net>
12855
12856 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12857 (vfork, __vfork): Define via compat_symbol.
12858
12859 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12860 [!HAVE_IFUNC] (vfork_compat): Remove.
12861 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12862
12863 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12864
12865 [BZ #16978]
12866 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12867 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12868 variable.
12869
12870 2014-05-23 Richard Henderson <rth@twiddle.net>
12871
12872 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12873 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12874 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12875 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12876
12877 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12878 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12879 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12880 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12881 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12882 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12883 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12884 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12885 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12886 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12887 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12888 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12889 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12890 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12891 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12892 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12894 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12895 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12896 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12897 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12898 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12899 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12900 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12901 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12902 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12903 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12904 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12905 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12906 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12908 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12909 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12910 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12911 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12912 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12913 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12914 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12916 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12917 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12918 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12919 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12920 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12921 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12922 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12924 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12926 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12928 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12929 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12930 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12931 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12932 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12933
12934 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12935 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12936 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12937 before exiting on error.
12938 (__libc_vfork): New strong alias.
12939 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12940 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12941
12942 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12943 that was previously under [RESET_PID].
12944 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12945
12946 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12947
12948 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12949
12950 [BZ #16977]
12951 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12952 value when x - 1 is zero.
12953 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12954 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12955 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12956 0.0L for an argument of 1.0L.
12957 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12958 Likewise.
12959 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12960 value when x - 1 is zero.
12961 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12962 * sysdeps/i386/fpu/libm-test-ulps: Update.
12963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12964
12965 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12966
12967 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12968 alphasort and versionsort.
12969
12970 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12971
12972 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12973 macro.
12974 [copysignf]: Likewise.
12975
12976 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12977
12978 * crypt/md5-crypt.c: Fix formatting.
12979
12980 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12981
12982 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12983 (b64_from_24bit): New function.
12984
12985 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12986
12987 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12988 libc_hidden_builtin_def to ifunc.
12989 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12990 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12991
12992 2014-05-21 Roland McGrath <roland@hack.frob.com>
12993
12994 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12995 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12996
12997 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12998
12999 * nscd/Depend (linuxthreads): Remove.
13000 (nptl): Add.
13001 * resolv/Depend (linuxthreads): Remove.
13002 * rt/Depend (linuxthreads): Remove.
13003
13004 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13005 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13006 $(common-objpfx)elf/.
13007 (link-libc-before-gnulib): Likewise.
13008 (elfobjdir): Remove variable.
13009 * Makefile (install): Use $(elf-objpfx) instead of
13010 $(common-objpfx)elf/.
13011 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13012 $(elfobjdir)/.
13013 (link-libc-deps): Likewise.
13014 ($(common-objpfx)libc.so): Likewise.
13015 ($(common-objpfx)linkobj/libc.so): Likewise.
13016 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13017 instead of $(common-objpfx)elf/.
13018 (symbolic-link-list): Likewise.
13019 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13020 [$(cross-compiling) = no]: Likewise.
13021 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13022 $(elfobjdir)/.
13023 (static-gnulib-arch): Likewise.
13024 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13025 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13026 $(common-objpfx)elf/.
13027
13028 2014-05-21 Richard Henderson <rth@redhat.com>
13029
13030 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13031 (SINGLE_THREAD_P): Use the correct width load. Fold
13032 into the ldr offset.
13033
13034 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13035 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13036
13037 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13038
13039 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13040 (libgcc_s_resume): Use __attribute_used__.
13041 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13042 Likewise.
13043
13044 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13045
13046 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13047 optimization when used with float constants.
13048
13049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13050
13051 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13052
13053 [BZ #16915]
13054 * locale/nl_langinfo_l.c: Make direct reference to every
13055 _nl_current_CATEGORY symbol.
13056 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13057 (tests-static): Add tst-langinfo-static.
13058 (tests-special): Add tst-langinfo-static.out.
13059 ($(objpfx)tst-langinfo.out): Redirect output.
13060 ($(objpfx)tst-langinfo-static.out): New.
13061 * localedata/tst-langinfo.sh: Send output to stdout.
13062 * localedata/tst-langinfo-static.c: New file.
13063
13064 [BZ #16965]
13065 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13066 when the shift amount is modulo the limb size.
13067
13068 2014-05-20 Richard Henderson <rth@redhat.com>
13069
13070 [BZ #16967]
13071 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13072 Change type of sa_flags from unsigned int to int.
13073
13074 [BZ #16966]
13075 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13076
13077 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13078
13079 2014-05-20 Will Newton <will.newton@linaro.org>
13080
13081 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13082 Test the return value of the system call in the nocancel case.
13083
13084 2014-05-20 Will Newton <will.newton@linaro.org>
13085 Yvan Roux <yvan.roux@linaro.org>
13086
13087 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13088 #include of asm/ptrace.h.
13089 (PTRACE_GET_THREAD_AREA): Remove #undef.
13090 (PTRACE_GETHBPREGS): Likewise.
13091 (PTRACE_SETHBPREGS): Likewise.
13092 (struct user_regs_struct): New structure.
13093 (struct user_fpsimd_struct): New structure.
13094 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13095 #include of asm/ptrace.h and second #include of sys/user.h.
13096 (PTRACE_GET_THREAD_AREA): Remove #undef.
13097 (PTRACE_GETHBPREGS): Likewise.
13098 (PTRACE_SETHBPREGS): Likewise.
13099 (ELF_NGREG): Use new struct user_regs_struct.
13100 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13101
13102 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13103
13104 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13106
13107 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13108
13109 [BZ #16958]
13110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13111 membar to avoid block loads/stores to overlap previous stores.
13112
13113 2014-05-17 Richard Henderson <rth@redhat.com>
13114
13115 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13116 Create the __##syscall_name##_nocancel entry point.
13117 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13118 Remove; let the sysdep-cancel.h code create it.
13119
13120 2014-05-17 David S. Miller <davem@davemloft.net>
13121
13122 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13123 Protect with __USE_GNU.
13124 (TIOCSET_TEMPT): Likewise.
13125 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13126 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13127 these are already provided in bits/ioctl-types.h
13128
13129 2014-05-16 Roland McGrath <roland@hack.frob.com>
13130
13131 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13132 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13133
13134 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13135 Use wait4 regardless of [__NR_waitpid].
13136
13137 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13138
13139 PR libgcc/60166
13140 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13141 (_FP_NANSIGN_Q): Set the quiet bit.
13142
13143 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13144
13145 * benchtests/Makefile
13146 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13147 not $(common-objpfx)math/libm.so.
13148 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13149 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13150 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13151 $(common-objpfx)dlfcn/libdl.so.
13152 ($(objpfx)tst-audit8): Depend on $(libm), not
13153 $(common-objpfx)math/libm.so.
13154 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13155 not $(common-objpfx)dlfcn/libdl.so.
13156 * math/Makefile
13157 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13158 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13159 [$(build-shared) = yes].
13160 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13161 $(common-objpfx)nptl/libpthread.so.
13162 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13163 $(common-objpfx)math/libm.so$(libm.so-version) or
13164 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13165 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13166 $(common-objpfx)dlfcn/libdl.so.
13167 * setjmp/Makefile (link-libm): Remove variable.
13168 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13169 * stdio-common/Makefile (link-libm): Remove variable.
13170 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13171 * stdlib/Makefile (link-libm): Remove variable.
13172 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13173 ($(objpfx)tst-strtod-round): Likewise.
13174 ($(objpfx)tst-tininess): Likewise.
13175 ($(objpfx)tst-strtod-underflow): Likewise.
13176 ($(objpfx)tst-strtod6): Likewise.
13177 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13178 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13179 $(common-objpfx)dlfcn/libdl.so.
13180
13181 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13182
13183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13184 BSD terminal modes definitions.
13185
13186 2014-05-16 Roland McGrath <roland@hack.frob.com>
13187
13188 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13189 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13190
13191 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13192 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13193 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13194 Don't do #include_next.
13195 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13196 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13197 Don't do #include_next.
13198 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13199 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13200 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13201 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13202
13203 2014-05-16 Allan McRae <allan@archlinux.org>
13204
13205 * po/sv.po: Update Swedish translation from translation project.
13206
13207 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13208 in sed expression.
13209
13210 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13211
13212 [BZ #16917]
13213 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13214 errno if the TIOCGPTN ioctl fails with an error different than
13215 EINVAL.
13216 * login/tst-ptsname.c: New file.
13217 * login/Makefile (tests): Add tst-ptsname.
13218
13219 [BZ #16943]
13220 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13221 and prlimit64.
13222
13223 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13224
13225 [BZ #16849]
13226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13227 herrno to return EAI_AGAIN.
13228
13229 2014-05-14 Roland McGrath <roland@hack.frob.com>
13230
13231 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13232 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13233 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13234 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13235 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13236 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13237 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13238 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13240 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13241 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13242 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13243 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13244 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13245 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13246 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13247 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13248 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13249 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13250 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13251 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13252 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13253 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13254 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13256 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13257 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13258 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13260 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13262 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13264 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13266 Moved ...
13267 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13269 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13271 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13273 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13275 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13277 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13279 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13281 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13283 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13285 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13287 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13289 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13291 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13293 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13295 Moved ...
13296 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13298 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13300 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13302 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13304 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13306 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13308 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13310 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13312 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13314 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13316 Moved ...
13317 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13319 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13320
13321 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13322 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13323 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13324 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13325 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13326 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13327 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13328 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13329 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13330 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13331 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13332 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13333 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13334 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13335 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13336 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13337 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13338 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13339 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13340 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13341 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13342 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13343 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13344 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13345 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13346 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13347 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13348 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13349 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13350 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13351 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13352
13353 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13354 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13355
13356 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13357 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13358 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13359 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13360 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13362 Moved ...
13363 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13365 Moved ...
13366 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13367 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13368 Moved ...
13369 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13370 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13371 Moved ...
13372 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13373 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13374 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13375 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13376 Moved ...
13377 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13378 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13379 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13381 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13382 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13383 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13384 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13385 Moved ...
13386 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13388 Moved ...
13389 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13390 ... here.
13391 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13392 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13393 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13394 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13396 Moved ...
13397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13398 ... here.
13399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13400 Moved ...
13401 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13402 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13403 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13404 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13405 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13407 Moved ...
13408 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13409 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13410 Moved ...
13411 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13412 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13413 Moved ...
13414 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13415 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13416 Moved ...
13417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13418 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13419 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13420 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13421 Moved ...
13422 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13423 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13424 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13426 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13428 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13429 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13430 Moved ...
13431 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13433 Moved ...
13434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13435 ... here.
13436 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13437 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13438 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13439 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13441 Moved ...
13442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13443 ... here.
13444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13445 Moved ...
13446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13447 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13448 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13449 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13450 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13451 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13452 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13453 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13454 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13455 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13456 Moved ...
13457 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13458 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13459 Moved ...
13460 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13462 Moved ...
13463 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13465 Moved ...
13466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13467 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13468 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13469 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13470 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13472 Moved ...
13473 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13475 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13476 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13477 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13478 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13479 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13481 Moved ...
13482 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13484 Moved ...
13485 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13486 ... here.
13487 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13488 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13489 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13490 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13491 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13492 Moved ...
13493 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13494 ... here.
13495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13496 Moved ...
13497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13498 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13499 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13500 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13501 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13502 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13503 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13504 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13505 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13506 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13507 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13508
13509 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13510 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13511
13512 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13513 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13514
13515 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13516 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13517 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13518 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13519 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13520 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13521 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13522 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13523 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13525 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13526 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13527 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13528 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13529 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13530 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13531 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13533 Moved ...
13534 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13535 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13536 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13538 Moved ...
13539 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13540 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13541 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13543 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13547 Moved ...
13548 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13550 Moved ...
13551 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13552 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13553 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13557 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13558 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13559 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13560 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13561 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13562 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13563 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13564 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13565 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13566 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13567 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13568
13569 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13570 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13571 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13572 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13573 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13574
13575 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13576 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13577 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13578 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13579 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13580 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13581 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13582 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13583 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13584 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13585
13586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13587 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13588
13589 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13590 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13591 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13592 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13593 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13594 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13595 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13596 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13597 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13598 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13599 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13600 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13601 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13602 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13604 Update #include.
13605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13606 Likewise.
13607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13608 Likewise.
13609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13610 Likewise.
13611 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13612 Likewise.
13613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13614 Likewise.
13615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13616 Likewise.
13617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13618 Likewise.
13619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13620 Likewise.
13621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13622 Likewise.
13623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13624 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13626 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13627 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13630 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13631 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13632 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13634 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13636 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13637 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13638
13639 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13640 that was previously under [RESET_PID].
13641 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13642 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13643 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13644
13645 * sysdeps/i386/nptl/Implies: New file.
13646 * sysdeps/x86_64/nptl/Implies: New file.
13647 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13648 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13649 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13650 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13651
13652 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13653 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13654 (__libc_vfork): New strong alias.
13655 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13656 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13657
13658 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13659 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13660 (__libc_vfork): New strong alias.
13661 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13662 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13663
13664 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13665 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13666 (__libc_vfork): New strong alias.
13667 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13668 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13669 * nptl/pt-vfork.c: New file.
13670 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13671 (libpthread: GLIBC_2.20): New version set (empty).
13672
13673 2014-05-14 Will Newton <will.newton@linaro.org>
13674
13675 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13676 rather than #if.
13677
13678 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13679
13680 [BZ #16564]
13681 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13682 arguments with exponent 65 or above.
13683 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13684 arguments 0x1p113L or above.
13685 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13686 to arguments 0x1p107L or above.
13687 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13688 positive arguments with exponent 65 or above.
13689 * math/auto-libm-test-in: Add more tests of log1p.
13690 * math/auto-libm-test-out: Regenerated.
13691
13692 [BZ #16928]
13693 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13694 non-finite arguments is +0.
13695 * math/s_cacosf.c (__cacosf): Likewise.
13696 * math/s_cacosl.c (__cacosl): Likewise.
13697 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13698 * sysdeps/i386/fpu/libm-test-ulps: Update.
13699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13700
13701 [BZ #16927]
13702 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13703 value.
13704 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13705 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13706 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13707 for explicit high bit of mantissa when testing for argument equal
13708 to 1.
13709 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13710 * sysdeps/i386/fpu/libm-test-ulps: Update.
13711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13712
13713 [BZ #16516]
13714 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13715 (__erf): Scale by 16 instead of 8 in potentially underflowing
13716 case. Ensure exception if result actually underflows.
13717 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13718 (__erff): Scale by 16 instead of 8 in potentially underflowing
13719 case. Ensure exception if result actually underflows.
13720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13721 (efx8): Remove variable.
13722 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13723 case. Ensure exception if result actually underflows.
13724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13725 (efx8): Remove variable.
13726 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13727 case. Ensure exception if result actually underflows.
13728 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13729 (efx8): Remove variable.
13730 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13731 case. Ensure exception if result actually underflows.
13732 * math/auto-libm-test-in: Add more tests of erf.
13733 * math/auto-libm-test-out: Regenerated.
13734
13735 2014-05-14 Andreas Schwab <schwab@suse.de>
13736
13737 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13738 Remove code conditionalized on USE___THREAD.
13739
13740 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13741 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13742 not definedness.
13743
13744 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13745
13746 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13747 Define unconditionally.
13748 (__ASSUME_O_CLOEXEC): Likewise.
13749 (__ASSUME_SOCK_CLOEXEC): Likewise.
13750 (__ASSUME_IN_NONBLOCK): Likewise.
13751 (__ASSUME_PIPE2): Likewise.
13752 (__ASSUME_EVENTFD2): Likewise.
13753 (__ASSUME_SIGNALFD4): Likewise.
13754 (__ASSUME_DUP3): Likewise.
13755 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13756 (__ASSUME_DUP3): Do not define.
13757 (__ASSUME_EVENTFD2): Likewise.
13758 (__ASSUME_IN_NONBLOCK): Likewise.
13759 (__ASSUME_O_CLOEXEC): Likewise.
13760 (__ASSUME_PIPE2): Likewise.
13761 (__ASSUME_SIGNALFD4): Likewise.
13762 (__ASSUME_SOCK_CLOEXEC): Likewise.
13763 (__ASSUME_UTIMES): Undefine.
13764 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13765 (__ASSUME_UTIMES): Do not define.
13766 (__ASSUME_O_CLOEXEC): Likewise.
13767 (__ASSUME_SOCK_CLOEXEC): Likewise.
13768 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13769 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13770 0x020621].
13771 (__ASSUME_PIPE2): Likewise.
13772 (__ASSUME_EVENTFD2): Likewise.
13773 (__ASSUME_SIGNALFD4): Likewise.
13774 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13775 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13776 Do not define.
13777 (__ASSUME_EVENTFD2): Likewise.
13778 (__ASSUME_SIGNALFD4): Likewise.
13779 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13780 (__ASSUME_32BITUIDS): Likewise.
13781 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13782 (__ASSUME_IPC64): Likewise.
13783 (__ASSUME_ST_INO_64_BIT): Likewise.
13784 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13785 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13786 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13787 (__ASSUME_UTIMES): Do not define.
13788 (__ASSUME_PSELECT): Likewise.
13789 (__ASSUME_PPOLL): Likewise.
13790 (__ASSUME_O_CLOEXEC): Likewise.
13791 (__ASSUME_SOCK_CLOEXEC): Likewise.
13792 (__ASSUME_IN_NONBLOCK): Likewise.
13793 (__ASSUME_PIPE2): Likewise.
13794 (__ASSUME_EVENTFD2): Likewise.
13795 (__ASSUME_SIGNALFD4): Likewise.
13796 (__ASSUME_DUP3): Likewise.
13797 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13798 (__ASSUME_UTIMES): Likewise.
13799 (__ASSUME_O_CLOEXEC): Likewise.
13800 (__ASSUME_SOCK_CLOEXEC): Likewise.
13801 (__ASSUME_IN_NONBLOCK): Likewise.
13802 (__ASSUME_PIPE2): Likewise.
13803 (__ASSUME_EVENTFD2): Likewise.
13804 (__ASSUME_SIGNALFD4): Likewise.
13805 (__ASSUME_DUP3): Likewise.
13806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13807 (__ASSUME_UTIMES): Likewise.
13808 (__ASSUME_O_CLOEXEC): Likewise.
13809 (__ASSUME_SOCK_CLOEXEC): Likewise.
13810 (__ASSUME_IN_NONBLOCK): Likewise.
13811 (__ASSUME_PIPE2): Likewise.
13812 (__ASSUME_EVENTFD2): Likewise.
13813 (__ASSUME_SIGNALFD4): Likewise.
13814 (__ASSUME_DUP3): Likewise.
13815 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13816 Likewise.
13817 (__ASSUME_UTIMES): Likewise.
13818 (__ASSUME_EVENTFD2): Likewise.
13819 (__ASSUME_SIGNALFD4): Likewise.
13820 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13821 (__ASSUME_O_CLOEXEC): Likewise.
13822 (__ASSUME_SOCK_CLOEXEC): Likewise.
13823 (__ASSUME_IN_NONBLOCK): Likewise.
13824 (__ASSUME_PIPE2): Likewise.
13825 (__ASSUME_EVENTFD2): Likewise.
13826 (__ASSUME_SIGNALFD4): Likewise.
13827 (__ASSUME_DUP3): Likewise.
13828 (__ASSUME_UTIMES): Undefine.
13829
13830 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13831 feclearexcept. Remove symbol versioning code.
13832 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13833 symbol versioning code.
13834 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13835 symbol versioning code.
13836 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13837 feupdateenv. Remove symbol versioning code.
13838 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13839 fegetexceptflag. Remove symbol versioning code.
13840 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13841 fesetexceptflag. Remove symbol versioning code.
13842 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13843 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13844 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13845 (__posix_fadvise64_l32): Remove prototype.
13846 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13847 code.
13848
13849 2014-05-13 Roland McGrath <roland@hack.frob.com>
13850
13851 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13852 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13853 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13854 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13855
13856 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13857
13858 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13859 current working directory
13860
13861 2014-05-13 Roland McGrath <roland@hack.frob.com>
13862
13863 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13864 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13865 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13866 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13867 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13868 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13869 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13870 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13871 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13872 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13873 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13874 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13875 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13876 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13877 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13878 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13879 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13880 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13881 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13882 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13883 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13884 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13885 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13886 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13888 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13889 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13890 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13891 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13892 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13893 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13894 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13895 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13896 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13897 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13898 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13899 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13900 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13901 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13902 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13903 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13904 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13905
13906 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13907 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13908
13909 * sysdeps/unix/sysv/linux/arm/Makefile
13910 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13911 Add rt-aeabi_unwind_cpp_pr1.
13912 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13913 Add nptl-aeabi_unwind_cpp_pr1.
13914 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13915 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13916 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13917 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13918 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13919 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13920
13921 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13922 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13923 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13924 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13925
13926 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13927 Deconditionalize the code that was previously under [RESET_PID].
13928 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13929
13930 * sysdeps/generic/exit-thread.h: New file.
13931 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13932 * include/unistd.h (__exit_thread): Remove declaration.
13933 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13934 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13935 * csu/libc-start.c: Include <exit-thread.h>.
13936 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13937 * nptl/pthread_create.c: Include <exit-thread.h>.
13938 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13939 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13940 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13941 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13942 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13943 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13944 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13945 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13946 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13947 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13948 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13949 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13950 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13951 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13952 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13953 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13954 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13955
13956 2014-05-13 Andreas Schwab <schwab@suse.de>
13957
13958 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13959
13960 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13961
13962 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13963 (__ASSUME_UTIMES): Do not condition on kernel version.
13964 (__ASSUME_PSELECT): Define unconditionally.
13965 (__ASSUME_PPOLL): Likewise.
13966 (__ASSUME_ATFCTS): Likewise.
13967 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13968 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13969 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13970 (__ASSUME_UTIMENSAT): Define unconditionally.
13971 (__ASSUME_PRIVATE_FUTEX): Likewise.
13972 (__ASSUME_FALLOCATE): Likewise.
13973 (__ASSUME_O_CLOEXEC): Likewise.
13974 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13975 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13976 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13977 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13978 (__ASSUME_IN_NONBLOCK): Likewise.
13979 (__ASSUME_PIPE2): Likewise.
13980 (__ASSUME_EVENTFD2): Likewise.
13981 (__ASSUME_SIGNALFD4): Likewise.
13982 (__ASSUME_DUP3): Likewise.
13983 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13984 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13985 (__ASSUME_AT_RANDOM): Likewise.
13986 (__ASSUME_PREADV): Likewise.
13987 (__ASSUME_PWRITEV): Likewise.
13988 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13989 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13990 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13991 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13992 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13993 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13994 (__ASSUME_O_CLOEXEC): Define unconditionally.
13995 (__ASSUME_PSELECT): Do not undefine conditionally.
13996 (__ASSUME_PPOLL): Likewise.
13997 (__ASSUME_ATFCTS): Likewise.
13998 (__ASSUME_SET_ROBUST_LIST): Likewise.
13999 (__ASSUME_UTIMENSAT): Likewise.
14000 (__ASSUME_FDATASYNC): Define unconditionally.
14001 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14002 (__ASSUME_SIGFRAME_V2): Likewise.
14003 )__ASSUME_EVENTFD2): Likewise.
14004 (__ASSUME_SIGNALFD4): Likewise.
14005 (__ASSUME_PSELECT): Do not undefine conditionally.
14006 (__ASSUME_PPOLL): Likewise.
14007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14008 (__ASSUME_PSELECT): Define unconditionally.
14009 (__ASSUME_PPOLL): Likewise.
14010 (__ASSUME_O_CLOEXEC): Likewise.
14011 (__ASSUME_SOCK_CLOEXEC): Likewise.
14012 (__ASSUME_IN_NONBLOCK): Likewise.
14013 (__ASSUME_PIPE2): Likewise.
14014 (__ASSUME_EVENTFD2): Likewise.
14015 (__ASSUME_SIGNALFD4): Likewise.
14016 (__ASSUME_DUP3): Likewise.
14017 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14018 (__ASSUME_O_CLOEXEC): Likewise.
14019 (__ASSUME_SOCK_CLOEXEC): Likewise.
14020 (__ASSUME_IN_NONBLOCK): Likewise.
14021 (__ASSUME_PIPE2): Likewise.
14022 (__ASSUME_EVENTFD2): Likewise.
14023 (__ASSUME_SIGNALFD4): Likewise.
14024 (__ASSUME_DUP3): Likewise.
14025 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14026 (__ASSUME_EVENTFD2): Likewise.
14027 (__ASSUME_SIGNALFD4): Likewise.
14028 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14029
14030 2014-05-12 Andreas Schwab <schwab@suse.de>
14031
14032 [BZ #16932]
14033 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14034 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14035 than maximum RPC packet size.
14036 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14037 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14038 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14039 (_nss_nis_getservbyport_r): Likewise.
14040
14041 2014-05-12 Will Newton <will.newton@linaro.org>
14042
14043 * malloc/Makefile (tests): Add tst-mallopt.
14044 * malloc/tst-mallopt.c: New file.
14045
14046 2014-05-09 Roland McGrath <roland@hack.frob.com>
14047
14048 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14049 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14050
14051 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14052
14053 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14054 (tst-tlsmod6.so): Likewise.
14055
14056 2014-05-09 Roland McGrath <roland@hack.frob.com>
14057
14058 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14059
14060 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14061
14062 [BZ #16064]
14063 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14064 and <dl-procinfo.h>.
14065 (__fegetenv): Save SSE state in envp->__eip if supported.
14066 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14067 envp->__eip if supported.
14068 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14069 and <dl-procinfo.h>.
14070 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14071 __data_offset and __data_selector in environment to 0. Set SSE
14072 state if supported.
14073 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14074 test-fenv-sse.
14075 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14076 -mfpmath=sse.
14077 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14078
14079 2014-05-09 Will Newton <will.newton@linaro.org>
14080
14081 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14082 and libc_relro_required for ARM.
14083 * sysdeps/arm/preconfigure: Regenerate.
14084
14085 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14086 Stefan Liebler <stli@linux.vnet.ibm.com>
14087
14088 * config.make.in (enable-lock-elision): New Makefile variable.
14089 * configure.ac: Likewise.
14090 * configure: Regenerate.
14091 * sysdeps/s390/configure.ac:
14092 Add check for gcc transactions support.
14093 * sysdeps/s390/configure: Regenerate.
14094 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14095 Build elision files if enabled.
14096 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14097 Add lock elision support for s390.
14098 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14099 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14100 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14101 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14102 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14103 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14104 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14105 Likewise.
14106 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14107 Likewise.
14108 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14109 Likewise.
14110 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14111 Likewise.
14112 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14113 (__lll_timedlock_elision, __lll_lock_elision)
14114 (__lll_unlock_elision, __lll_trylock_elision)
14115 (lll_timedlock_elision, lll_lock_elision)
14116 (lll_unlock_elision, lll_trylock_elision): Add.
14117 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14118 (pthread_mutex_t): Add lock elision support for s390.
14119
14120 2014-05-14 Wilco <wdijkstr@arm.com>
14121
14122 * sysdeps/arm/fclrexcpt.c: Cleanup.
14123 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14124 * sysdeps/arm/feenablxcpt.c: Cleanup.
14125 * sysdeps/arm/fegetenv.c: Cleanup.
14126 * sysdeps/arm/fegetexcept.c: Cleanup.
14127 * sysdeps/arm/fegetround.c: Cleanup.
14128 * sysdeps/arm/feholdexcpt.c: Cleanup.
14129 * sysdeps/arm/fesetenv.c: Cleanup.
14130 * sysdeps/arm/fesetround.c: Cleanup.
14131 * sysdeps/arm/feupdateenv.c: Cleanup.
14132 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14133 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14134 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14135 * sysdeps/arm/ftestexcept.c: Cleanup.
14136 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14137 * sysdeps/arm/setfpucw.c: Cleanup.
14138
14139 2014-05-09 Will Newton <will.newton@linaro.org>
14140
14141 * sysdeps/arm/armv7/strcmp.S: New file.
14142 * NEWS: Mention addition of ARMv7 optimized strcmp.
14143
14144 2014-05-08 Roland McGrath <roland@hack.frob.com>
14145
14146 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14147 look for %.ac rather than %.in.
14148
14149 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14150 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14151 * sysdeps/mach/hurd/configure: Regenerated.
14152 * sysdeps/unix/sysv/linux/configure: Regenerated.
14153
14154 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14155
14156 2014-05-07 Steve Ellcey <sellcey@mips.com>
14157
14158 [BZ# 16922]
14159 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14160 (LONG_SUB): Ditto.
14161 (PTR_SUB): Ditto.
14162
14163 2014-05-07 Andreas Schwab <schwab@suse.de>
14164
14165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14166 when skipping over non-matching result from nscd.
14167
14168 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14169
14170 [BZ #16876]
14171 * nptl/sockperf.c (client): Check socket return value.
14172
14173 [BZ #16877]
14174 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14175 nscd security class.
14176
14177 2014-05-06 Roland McGrath <roland@hack.frob.com>
14178
14179 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14180 * sysdeps/arm/unwind.h: ... here.
14181
14182 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14183
14184 [BZ# 16916]
14185 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14186 Define.
14187
14188 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14189
14190 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14191 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14192 multiarch strncpy for PPC64.
14193 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14194 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14196 multiarch optimizations.
14197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14198 (__libc_ifunc_impl_list): Likewise.
14199 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14200 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14201 multiarch stpncpy for PPC64.
14202 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14203 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14204
14205 2014-05-06 Andreas Schwab <schwab@suse.de>
14206
14207 [BZ #16912]
14208 * gmon/mcount.c (_MCOUNT_DECL): Use
14209 atomic_compare_and_exchange_bool_acq instead of
14210 catomic_compare_and_exchange_bool_acq.
14211
14212 2014-05-05 Roland McGrath <roland@hack.frob.com>
14213
14214 * elf/Makefile (others, install-bin): Remove pldd.
14215 (pldd-modules): Variable removed.
14216 ($(objpfx)pldd): Target removed.
14217 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14218 (others, install-bin): Append pldd here.
14219 ($(objpfx)pldd): New target.
14220
14221 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14222 to 0, so the first #if test emitted later doesn't see it undefined.
14223 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14224 * sysdeps/gnu/errlist.c: Regenerated.
14225
14226 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14227
14228 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14229 [libc_hidden_builtin_def]: Define to empty value.
14230 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14231 [libc_hidden_builtin_def]: Likewise.
14232 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14233 [libc_hidden_builtin_def]: Likewise.
14234 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14235 [libc_hidden_builtin_def]: Likewise.
14236 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14237 __redirect_memcpy and define ifunc as default hidden symbol.
14238 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14239 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14240
14241 2014-05-04 Adam Conrad <adconrad@0c3.net>
14242
14243 * locale/iso-4217.def: Reintroduce XDR currency.
14244
14245 2014-05-04 Allan McRae <allan@archlinux.org>
14246
14247 * po/eo.po: Update Esperanto translation from translation project.
14248
14249 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14250
14251 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14252 and FEATURE_INDEX_MAX to 1.
14253 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14254
14255 2014-05-01 Steve Ellcey <sellcey@mips.com>
14256
14257 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14258 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14259 * iconvdata/big5.c (ONE_DIRECTION): Define.
14260 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14261 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14262 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14263 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14264 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14265 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14266 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14267 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14268 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14269 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14270 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14271 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14272 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14273 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14274 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14275 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14276 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14277 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14278 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14279 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14280 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14281 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14282 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14283 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14284 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14285 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14286 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14287 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14288 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14289 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14290 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14291 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14292 * iconvdata/johab.c (ONE_DIRECTION): Define.
14293 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14294 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14295 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14296 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14297 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14298 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14299 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14300 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14301 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14302 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14303
14304 2014-05-01 Roland McGrath <roland@hack.frob.com>
14305
14306 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14307 (_IO_JUMPS_OFFSET): Define to 0.
14308
14309 * nptl/sysdeps/pthread/bits/libc-lock.h
14310 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14311 (__libc_lock_define_initialized_recursive): Always define using
14312 initializer. Modern compilers treat uninitialized (implicit zero) and
14313 explicit zero initializers the same (i.e. put the datum in bss).
14314
14315 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14316
14317 * nscd/nscd-client.h: Include <string.h>.
14318
14319 2014-05-01 David S. Miller <davem@davemloft.net>
14320
14321 [BZ #16885]
14322 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14323 multiple zero bytes exist at the end of a string.
14324 Reported by Aurelien Jarno <aurelien@aurel32.net>
14325
14326 * string/test-strcmp.c (check): Add explicit test for situations where
14327 there are multiple zero bytes after the first.
14328
14329 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14330
14331 [BZ #16890]
14332 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14333 when compiling wprintf.
14334 * stdio-common/tstdiomisc.c (t3): New function.
14335 (main): Call it.
14336
14337 2014-05-01 Steve Ellcey <sellcey@mips.com>
14338
14339 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14340 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14341 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14342 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14343
14344 2014-05-01 Steve Ellcey <sellcey@mips.com>
14345
14346 * stdlib/longlong.h: Updated from GCC.
14347
14348 2014-05-01 Will Newton <will.newton@linaro.org>
14349 Bernard Ogden <bernie.ogden@linaro.org>
14350
14351 * NEWS: Update fixed bug list.
14352
14353 [BZ #15119]
14354 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14355
14356 2014-04-30 David S. Miller <davem@davemloft.net>
14357
14358 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14359 (libc_feholdexcept_setround_sparc_ctx): New function.
14360 (libc_fesetenv_sparc_ctx): Likewise.
14361 (libc_feupdateenv_sparc_ctx): Likewise.
14362 (libc_feholdsetround_sparc_ctx): Likewise.
14363 (libc_feholdexcept_setround_ctx): Define.
14364 (libc_feholdexcept_setroundf_ctx): Likewise.
14365 (libc_feholdexcept_setroundl_ctx): Likewise.
14366 (libc_fesetenv_ctx): Likewise.
14367 (libc_fesetenvf_ctx): Likewise.
14368 (libc_fesetenvl_ctx): Likewise.
14369 (libc_feupdateenv_ctx): Likewise.
14370 (libc_feupdateenvf_ctx): Likewise.
14371 (libc_feupdateenvl_ctx): Likewise.
14372 (libc_feresetround_ctx): Likewise.
14373 (libc_feresetroundf_ctx): Likewise.
14374 (libc_feresetroundl_ctx): Likewise.
14375 (libc_feholdsetround_ctx): Likewise.
14376 (libc_feholdsetroundf_ctx): Likewise.
14377 (libc_feholdsetroundl_ctx): Likewise.
14378
14379 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14380 with __USE_GNU instead of XOPEN cpp guards.
14381
14382 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14383 0.
14384
14385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14386 with XOPEN cpp guards.
14387
14388 2014-04-30 Julian Brown <julian@codesourcery.com>
14389
14390 [BZ #16888]
14391 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14392 handling.
14393
14394 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14395
14396 [BZ #9894]
14397 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14398 Change to 2.6.32.
14399 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14400 * sysdeps/unix/sysv/linux/configure: Regenerated.
14401 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14402 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14403 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14404 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14405 * README: Update reference to required Linux kernel version.
14406 * manual/install.texi (Linux): Update reference to required Linux
14407 kernel headers version.
14408 * INSTALL: Regenerated.
14409
14410 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14411 header inclusion.
14412 [POSIX] (limits.h): Likewise.
14413 [POSIX] (math.h): Likewise.
14414 [POSIX] (sys/wait.h): Likewise.
14415 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14416 function.
14417 [POSIX] (stddef.h): Do not allow header inclusion.
14418
14419 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14420
14421 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14422
14423 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14424
14425 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14426 Return immediately after lll_futex_wake.
14427
14428 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14429
14430 [BZ #16791]
14431 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14432 structure.
14433 (datahead_init_pos): Call datahead_init_common early.
14434 (datahead_init_neg): Likewise.
14435
14436 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14437 datahead_init_neg): New functions.
14438 * nscd/aicache.c (addhstaiX): Use them.
14439 * nscd/grpcache.c (cache_addgr): Likewise.
14440 * nscd/hstcache.c (cache_addhst): Likewise.
14441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14442 * nscd/netgroupcache.c (do_notfound): Likewise.
14443 (addgetnetgrentX): Likewise.
14444 (addinnetgrX): Likewise.
14445 * nscd/pwdcache.c (cache_addpw): Likewise.
14446 * nscd/servicescache.c (cache_addserv): Likewise.
14447
14448 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14449 Atsushi Onoe <atsushi@onoe.org>
14450
14451 [BZ #14308]
14452 [BZ #12994]
14453 [BZ #13651]
14454 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14455 one response is valid.
14456 * resolv/res_send.c (send_dg): Check for validity of other
14457 response if the current response is a referral.
14458
14459 2014-04-29 Steve Ellcey <sellcey@mips.com>
14460
14461 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14462
14463 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14464
14465 [BZ #16823]
14466 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14467 Always divide by positive zero when computing -Inf result.
14468 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14469 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14470
14471 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14472
14473 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14474 FPSCR if value do not change.
14475 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14476 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14477 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14478 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14479 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14480 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14481 function.
14482
14483 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14484
14485 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14486 * sysdeps/unix/sysv/linux/hppa: Move directory from
14487 ports/systeps/unix/sysv/linux/hppa.
14488 * README: Update listing for hppa-*-linux-gnu.
14489
14490 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14491
14492 [BZ #16754]
14493 * manual/stdio.texi (Hook functions): Fix types of stream hook
14494 functions.
14495 [BZ #16854]
14496 * socket/sys/socket.h: Fix typo in comment.
14497
14498 2014-04-28 Wilco <wdijkstr@arm.com>
14499
14500 * sysdeps/arm/fenv_private.h: New file.
14501 * sysdeps/arm/math_private.h: New file.
14502 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14503
14504 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14505
14506 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14507 with __int128_t.
14508 (La_x86_64_retval): Likewise.
14509
14510 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14511
14512 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14513 fpsr if value didn't change.
14514 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14515 to fpcr if value didn't change.
14516 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14517 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14518 fpsr or fpcr if value didn't change.
14519 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14520 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14521 fpcr if value didn't change.
14522 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14523 to fpsr if value didn't change.
14524
14525 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14526
14527 * nptl/tst-sem3.c: Use test-skeleton.c
14528 (main): Rename to do_test. Use return instead of
14529 exit.
14530 * nptl/tst-sem4.c: Use test-skeleton.c
14531 (main): Rename to do_test.
14532
14533 2014-04-22 David S. Miller <davem@davemloft.net>
14534
14535 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14536 (struct sigaction): New struct member __glibc_reserved0, change
14537 type of sa_flags to int.
14538
14539 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14540
14541 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14542 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14543
14544 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14545
14546 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14547 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14548
14549 2014-04-22 Will Newton <will.newton@linaro.org>
14550 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14551
14552 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14553 (__longjmp): Add longjmp and longjmp_target SystemTap
14554 probes.
14555 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14556 (__sigsetjmp): Add setjmp SystemTap probe.
14557
14558 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14559
14560 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14561 match manual order.
14562
14563 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14564
14565 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14566
14567 * sysdeps/powerpc/fpu/fenv_private.h
14568 (libc_feholdexcept_setroundl_ctx): Define to
14569 libc_feholdexcept_setround_ppc_ctx.
14570 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14571 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14572 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14573 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14574
14575 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14576
14577 * sysdeps/aarch64/math-tests.h: New file.
14578
14579 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14580
14581 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14582 New.
14583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14584 Check and set bit_AVX2_Usable.
14585 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14586 macro.
14587 (bit_AVX2): Likewise.
14588 (index_AVX2_Usable): Likewise.
14589 (CPUID_AVX2): Likewise.
14590 (HAS_AVX2): Likewise.
14591
14592 2014-04-17 Will Newton <will.newton@linaro.org>
14593
14594 * manual/setjmp.texi (System V contexts): Add note that
14595 calling setcontext on a context created by a call to a
14596 signal handler is undefined. Update text to note that
14597 setcontext from a signal handler is possible but not
14598 recommended.
14599
14600 [BZ #16629]
14601 * stdlib/tst-setcontext.c: Include signal.h.
14602 (main): Check that the signal stack before and
14603 after swapcontext is the same.
14604
14605 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14606 Re-implement to restore registers in user code and avoid
14607 rt_sigreturn system call.
14608
14609 2014-04-17 Wilco <wdijkstr@arm.com>
14610
14611 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14612 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14613 * math/test-fenv.c: Skip exception trap tests on targets which only
14614 support non-stop mode.
14615
14616 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14617 Wilco Dijkstra <wilco.dijkstra@arm.com>
14618
14619 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14620 (libc_feholdsetround_aarch64_ctx)
14621 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14622 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14623 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14624 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14625 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14626 (libc_feresetround_noexl_ctx): Define.
14627
14628 2014-04-16 Richard Henderson <rth@redhat.com>
14629
14630 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14631
14632 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14633 unwind tables.
14634
14635 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14636 const from the non-libc, non-ldso copy.
14637
14638 * sysdeps/alpha/libm-test-ulps: Regenerate.
14639
14640 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14641 Wilco Dijkstra <wilco.dijkstra@arm.com>
14642
14643 * sysdeps/aarch64/fpu/math_private.h: New file.
14644
14645 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14646
14647 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14648
14649 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14650
14651 [BZ #16275]
14652 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14653 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14655 Intel MPX bound registers before _dl_profile_fixup.
14656 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14657 registers after _dl_profile_fixup. Save and restore bound
14658 registers bnd0/bnd1 when calling _dl_call_pltexit.
14659 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14660 (LR_BND_OFFSET): Likewise.
14661 (LRV_BND0_OFFSET): Likewise.
14662 (LRV_BND1_OFFSET): Likewise.
14663
14664 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14665
14666 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14667 to...
14668 * sysdeps/mach/hurd/i386/tls.h: ... here.
14669 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14670 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14671 fields.
14672
14673 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14674
14675 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14676
14677 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14678
14679 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14680
14681 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14682
14683 [BZ #14770]
14684 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14685 * sysdeps/s390/configure: Regenerate.
14686
14687 [BZ #16824]
14688 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14689 Set round-to-nearest internally to reduce error accumulation.
14690
14691 2014-04-16 Alan Modra <amodra@gmail.com>
14692
14693 [BZ #16740]
14694 [BZ #16619]
14695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14696 * math/libm-test.inc (frexp_test_data): Add tests.
14697 * NEWS: Update fixed bug list.
14698
14699 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14700
14701 * benchtests/Makefile: Depend on libraries in build directory.
14702 (bench-math): Separate out math tests.
14703 (bench-pthread): Separate out pthread tests.
14704 (bench): Include math and pthread tests.
14705
14706 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14707
14708 [BZ #16831]
14709 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14710 _dl_debug_initialize.
14711
14712 * configure.ac: Remove SELinux header check.
14713 * configure: Regenerate.
14714 * nscd/selinux.c (perms): Array of const char* to permission names.
14715 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14716 default policy. Call string_to_security_class and string_to_av_perm to
14717 translate strings. Enforce default policy and call avs_has_perm with
14718 results of translated strings.
14719
14720 2014-04-13 David S. Miller <davem@davemloft.net>
14721
14722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14723
14724 2014-04-12 Allan McRae <allan@archlinux.org>
14725
14726 [BZ #16838]
14727 * manual/string.texi (Collation Functions): Fix qsort argument
14728 order in example.
14729 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14730
14731 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14732
14733 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14734 Make the test a no-op if there are no exceptions defined.
14735
14736 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14737
14738 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14739 enable-hardcoded-path-in-tests
14740
14741 2014-04-11 Will Newton <will.newton@linaro.org>
14742
14743 * benchtests/Makefile (extra-objs): Add json-lib.o.
14744 (bench-func): Tidy up JSON output.
14745 * benchtests/bench-skeleton.c: Include json-lib.h.
14746 (main): Use JSON library functions to do output of
14747 benchmark results.
14748 * benchtests/bench-timing-type.c (main): Output the
14749 timing type simply, leaving formatting to the user.
14750 * benchtests/json-lib.c: New file.
14751 * benchtests/json-lib.h: Likewise.
14752
14753 2014-04-11 Torvald Riegel <triegel@redhat.com>
14754
14755 [BZ #15215]
14756 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14757 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14758 memory barriers. Add comments.
14759 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14760 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14761 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14762 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14763 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14764 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14765
14766 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14767
14768 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14769 * sysdeps/s390/s390-64/configure.ac: ... this ...
14770 * sysdeps/s390/configure.ac: ... to here.
14771 * sysdeps/s390/s390-32/configure: Delete file.
14772 * sysdeps/s390/s390-64/configure: Delete file.
14773 * sysdeps/s390/configure: Regenerate.
14774
14775 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14776
14777 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14778
14779 2014-04-11 Will Newton <will.newton@linaro.org>
14780
14781 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14782 to zero if it is not defined elsewhere. (mtrim): Test
14783 the value of MALLOC_DEBUG with #if rather than #ifdef.
14784
14785 2014-04-10 Torvald Riegel <triegel@redhat.com>
14786
14787 * benchtests/pthread_once-inputs: New file.
14788 * benchtests/pthread_once-source.c: New file.
14789 * benchtests/README: Update documentation.
14790
14791 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14792 H.J. Lu <hongjiu.lu@intel.com>
14793
14794 [BZ #16275]
14795 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14796 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14797 * sysdeps/x86_64/configure: Regenerated.
14798 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14799 macro.
14800 (REGISTER_SAVE_RAX): Likewise.
14801 (REGISTER_SAVE_RCX): Likewise.
14802 (REGISTER_SAVE_RDX): Likewise.
14803 (REGISTER_SAVE_RSI): Likewise.
14804 (REGISTER_SAVE_RDI): Likewise.
14805 (REGISTER_SAVE_R8): Likewise.
14806 (REGISTER_SAVE_R9): Likewise.
14807 (REGISTER_SAVE_BND0): Likewise.
14808 (REGISTER_SAVE_BND1): Likewise.
14809 (REGISTER_SAVE_BND2): Likewise.
14810 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14811 bound registers when calling _dl_fixup.
14812
14813 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14814
14815 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14816 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14817 of its definition.
14818 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14819 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14820 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14821 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14822 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14823 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14824 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14825
14826 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14827
14828 [BZ #15514]
14829 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14830 pathconf(_PC_NAME_MAX).
14831
14832 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14833
14834 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14835 Remove macro usage.
14836 (__PTHREAD_SPINS): Move definition to ...
14837 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14838 (__PTHREAD_SPINS): ... here.
14839 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14840 (__PTHREAD_SPIN): Likewise.
14841 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14842 (__PTHREAD_SPIN): Likewise.
14843 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14844 (__PTHREAD_SPIN): Likewise.
14845 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14846 (__PTHREAD_SPIN): Likewise.
14847 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14848 (__PTHREAD_SPIN): Likewise.
14849 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14850 (__PTHREAD_SPIN): Likewise.
14851 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14852 (__PTHREAD_SPIN): Likewise.
14853 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14854 (__PTHREAD_SPIN): Likewise.
14855 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14856 (__PTHREAD_SPIN): Likewise.
14857 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14858 (__PTHREAD_SPIN): Likewise.
14859 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14860 (__PTHREAD_SPIN): Likewise.
14861 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14862 (__PTHREAD_SPIN): Likewise.
14863
14864 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14865 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14866 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14867 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14868 imply folder.
14869 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14870 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14871 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14872 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14873 correct imply path.
14874 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14875 strlen symbol for non multi-arch builds.
14876 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14877 missing hidden_def and weak_alias.
14878
14879 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14880
14881 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14882
14883 2014-04-07 Will Newton <will.newton@linaro.org>
14884
14885 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14886 and contents. [!_LIBC] Remove #ifndef and contents.
14887 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14888 * string/memccpy.c (__memccpy): Use ANSI prototype.
14889 * string/memfrob.c (memfrob): Likewise.
14890 * string/strcoll.c (STRCOLL): Likewise.
14891 * string/strlen.c (strlen): Likewise.
14892 * string/strtok.c (STRTOK): Likewise.
14893 * string/strcat.c: Remove unused #include of memcopy.h.
14894 (strcat): Use ANSI prototype.
14895 * string/strchr.c: Remove unused #include of memcopy.h.
14896 (strchr): Use ANSI prototype.
14897 * string/strcmp.c: Remove unused #include of memcopy.h.
14898 (strcmp): Use ANSI prototype.
14899 * string/strcpy.c: Remove unused #include of memcopy.h.
14900 (strcpy): Use ANSI prototype.
14901
14902 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14903
14904 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14905 * config.make.in (config-extra-cppflags): Set it from
14906 libc_extra_cppflags.
14907 * configure.ac (libc_extra_cflags): Make it accumulate over
14908 configure fragments.
14909 (libc_extra_cppflags): New flag.
14910 * configure. Regenerate.
14911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14912 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14913 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14915
14916 [BZ #16815]
14917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14918 result for FE_DOWNWARD rounding mode.
14919 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14920 Likewise.
14921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14922
14923 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14924
14925 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14926 in function argument name.
14927
14928 2014-04-03 David Svoboda <svoboda@cert.org>
14929
14930 [BZ #5666]
14931 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14932 explicitly.
14933
14934 2014-04-03 Roland McGrath <roland@hack.frob.com>
14935
14936 * elf/dl-unmap-segments.h: New file.
14937 * sysdeps/generic/ldsodefs.h
14938 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14939 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14940 * elf/dl-fptr.c: Likewise.
14941 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14942 * sysdeps/aarch64/tlsdesc.c: Likewise.
14943 * sysdeps/arm/tlsdesc.c: Likewise.
14944 * sysdeps/i386/tlsdesc.c: Likewise.
14945 * sysdeps/tile/dl-runtime.c: Likewise.
14946 * sysdeps/x86_64/tlsdesc.c: Likewise.
14947 * elf/dl-load.h: New file.
14948 * elf/dl-load.c: Include it.
14949 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14950 Macros moved to dl-load.h.
14951 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14952 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14953 Use _dl_unmap_segments in place of __munmap.
14954 Break out segment-mapping loop into ...
14955 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14956
14957 2014-04-03 Will Newton <will.newton@linaro.org>
14958
14959 * elf/dl-lookup.c (do_lookup_x): Remove comment
14960 referring to nested function and move variable
14961 declarations down to before first use.
14962
14963 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14964
14965 [BZ #16799]
14966 [BZ #16800]
14967 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14968 with 0 numerator.
14969 * math/s_catanf.c (__catanf): Likewise.
14970 * math/s_catanh.c (__catanh): Likewise.
14971 * math/s_catanhf.c (__catanhf): Likewise.
14972 * math/s_catanhl.c (__catanhl): Likewise.
14973 * math/s_catanl.c (__catanl): Likewise.
14974 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14975 by positive zero when computing -Inf result.
14976 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14977 (catanh_test): Likewise.
14978 * sysdeps/i386/fpu/libm-test-ulps: Update.
14979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14980
14981 [BZ #16789]
14982 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14983 instead of using underflowing value in computing result.
14984 * math/s_clog10.c (__clog10): Likewise.
14985 * math/s_clog10f.c (__clog10f): Likewise.
14986 * math/s_clog10l.c (__clog10l): Likewise.
14987 * math/s_clogf.c (__clogf): Likewise.
14988 * math/s_clogl.c (__clogl): Likewise.
14989 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14990 (clog10_test): Likewise.
14991 * sysdeps/i386/fpu/libm-test-ulps: Update.
14992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14993
14994 2014-04-02 Alan Modra <amodra@gmail.com>
14995
14996 [BZ #16739]
14997 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14998 output when value is near a power of two. Use int64_t for lx and
14999 remove casts. Use decimal rather than hex exponent constants.
15000 Don't use long double multiplication when double will suffice.
15001 * math/libm-test.inc (nextafter_test_data): Add tests.
15002 * NEWS: Add 16739 and 16786 to bug list.
15003
15004 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15005
15006 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15007
15008 2014-04-01 Will Newton <will.newton@linaro.org>
15009
15010 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15011 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15012
15013 2014-04-01 Florian Weimer <fweimer@redhat.com>
15014
15015 [BZ #13347]
15016 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15017 * nptl/tst-setuid2.c: New file.
15018 * nptl/Makefile (xtests): Add tst-setuid2.
15019
15020 2014-04-01 Alan Modra <amodra@gmail.com>
15021
15022 [BZ #16786]
15023 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15024
15025 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15026
15027 [BZ #6803]
15028 [BZ #6804]
15029 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15030 set errno as appropriate.
15031 * math/w_scalbf.c (__scalbf): Likewise.
15032 * math/w_scalbl.c (__scalbl): Likewise.
15033 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15034 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15035 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15036 Add more NaN tests.
15037
15038 [BZ #16349]
15039 * math/w_atan2.c: Include <errno.h>.
15040 (__atan2): Set errno for result underflowing to zero.
15041 * math/w_atan2f.c: Include <errno.h>.
15042 (__atan2f): Set errno for result underflowing to zero.
15043 * math/w_atan2l.c: Include <errno.h>.
15044 (__atan2l): Set errno for result underflowing to zero.
15045 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15046 tests.
15047 * math/auto-libm-test-out: Regenerated.
15048
15049 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15050
15051 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15052 Encode instruction correctly in little endian.
15053 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15054 Likewise.
15055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15056 Likewise.
15057 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15058 Likewise.
15059 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15060 Likewise.
15061
15062 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15063
15064 [BZ #9894]
15065 * sysdeps/unix/sysv/linux/kernel-features.h
15066 [__sparc__ && !__arch64__ && !__sparc_v9__]
15067 (__ASSUME_SET_ROBUST_LIST): Do not define.
15068 [__sparc__ && !__arch64__ && !__sparc_v9__]
15069 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15070 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15071 Likewise.
15072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15073 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15074 (__ASSUME_REQUEUE_PI): Likewise.
15075 (__ASSUME_SET_ROBUST_LIST): Likewise.
15076 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15077 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15078 Undefine.
15079 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15080 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15081 Likewise.
15082 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15083 Likewise.
15084 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15085 Likewise.
15086 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15087 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15088 Undefine.
15089 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15090 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15091 Likewise.
15092
15093 [BZ #16648]
15094 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15095 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15096 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15097
15098 2014-03-31 Will Newton <will.newton@linaro.org>
15099
15100 * benchtests/Makefile (bench): Add ffs and ffsll to list
15101 of tests.
15102 * benchtests/ffs-inputs: New file.
15103 * benchtests/ffsll-inputs: Likewise.
15104
15105 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15106
15107 [BZ #16770]
15108 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15109 too large before casting to int.
15110 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15111 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15112 * math/libm-test.inc (scalb_test_data): Add more tests.
15113
15114 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15115
15116 * benchtests/Makefile (DETAILED_OPT): New make option.
15117 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15118 set.
15119 * benchtests/bench-skeleton.c: Include stdbool.h.
15120 (main): Store and print timings per input.
15121 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15122 member to each argument value.
15123 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15124 (_print_arg_data): Initialize per-input timing to 0.
15125
15126 * benchtests/Makefile (timing-type): New binary.
15127 (bench-clean): Also remove bench-timing-type.
15128 (bench): New target for timing-type.
15129 (bench-func): Print output in JSON format.
15130 * benchtests/bench-skeleton.c (main): Print output in JSON
15131 format.
15132 * benchtests/bench-timing-type.c: New file.
15133 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15134 (TIMING_PRINT_STATS): Remove.
15135 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15136 name separately.
15137
15138 * benchtests/bench-modf.c: Remove.
15139 * benchtests/modf-inputs: New inputs file.
15140
15141 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15142
15143 [BZ #16362]
15144 * math/s_clog10.c (M_PI_LOG10E): New macro.
15145 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15146 imaginary parts are 0.
15147 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15148 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15149 imaginary parts are 0.
15150 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15151 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15152 imaginary parts are 0.
15153 * math/libm-test.inc (clog10_test_data): Update expected results
15154 for when real and imaginary parts are 0.
15155
15156 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15157
15158 * elf/dl-load.c: Finish conversion of __builtin_expect into
15159 __glibc_{un}likely.
15160
15161 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15162
15163 [BZ #16348]
15164 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15165 1+x for argument with exponent below -67.
15166 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15167 Likewise.
15168 * math/auto-libm-test-in: Add more tests of exp.
15169 * math/auto-libm-test-out: Regenerated.
15170
15171 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15172
15173 [BZ #16759]
15174 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15175 (nscd_getnetgrent): Use it.
15176
15177 [BZ #16760]
15178 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15179 of stpcpy.
15180
15181 2014-03-27 Andi Kleen <ak@linux.intel.com>
15182
15183 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15184 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15185 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15186 (lll_robust_unlock): Remove out of line section. Use cfi
15187 intrinsics.
15188 (LLL_STUB_UNWIND_INFO*): Remove.
15189 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15190 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15191 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15192 (lll_robust_unlock): Remove out of line section. Use cfi
15193 intrinsics.
15194 (LLL_STUB_UNWIND_INFO*): Remove.
15195
15196 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15197
15198 [BZ #16758]
15199 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15200 blank values.
15201
15202 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15203
15204 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15205
15206 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #16198]
15209 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15210 fnstenv.
15211 * math/test-fenv-preserve.c: New file.
15212 * math/Makefile (tests): Add test-fenv-preserve.
15213
15214 2014-03-26 Will Newton <will.newton@linaro.org>
15215
15216 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15217
15218 2014-03-25 Roland McGrath <roland@hack.frob.com>
15219
15220 * scripts/versionlist.awk: Partition the version sets and emit all
15221 GLIBC_* (sorted) before all others (sorted).
15222
15223 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15224
15225 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15226 GLIBC_2.2.5 version.
15227
15228 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15229
15230 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15231 calls.
15232
15233 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15234 previous change.
15235
15236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15237
15238 2014-03-25 Andreas Schwab <schwab@suse.de>
15239
15240 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15241 label to be used after in6ailist is initialized.
15242
15243 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15244
15245 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15246 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15247
15248 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15249
15250 [BZ #16357]
15251 [BZ #16599]
15252 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15253 min_plus_half.
15254 (fp_formats): Update initializers.
15255 (init_fp_formats): Initialize new field.
15256 (output_for_one_input_case): Allow underflow for results up to
15257 min_plus_half.
15258 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15259 * math/auto-libm-test-in: Don't mark some underflows from asin and
15260 atanh as spurious.
15261 * math/auto-libm-test-out: Regenerated.
15262 * sysdeps/i386/fpu/libm-test-ulps: Update.
15263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15264
15265 2014-03-25 Andreas Schwab <schwab@suse.de>
15266
15267 * libio/Makefile (tst-ftell-partial-wide-ENV)
15268 (tst-ftell-active-handler-ENV): Define.
15269
15270 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15271
15272 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15273
15274 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15275
15276 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15277
15278 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15279
15280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15281 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15282 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15283
15284 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15285
15286 [BZ #16634]
15287 * elf/dl-load.c (open_verify): Add mode parameter.
15288 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15289 (open_path): Change from boolean 'secure' to complete flag 'mode'
15290 (_dl_map_object): Adjust.
15291 * elf/Makefile (tests): Add tst-dlopen-aout.
15292 * elf/tst-dlopen-aout.c: New test.
15293
15294 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15295
15296 [BZ #16714]
15297 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15298 (struct stat): Rename member pad0 to __glibc_reserved0.
15299
15300 [BZ #16712]
15301 * sysdeps/s390/s390-32/bits/wordsize.h
15302 (__WORDSIZE32_SIZE_ULONG): New define.
15303 * sysdeps/s390/s390-64/bits/wordsize.h
15304 (__WORDSIZE32_SIZE_ULONG): Likewise.
15305 * sysdeps/generic/stdint.h (SIZE_MAX):
15306 Define as UL if __WORDSIZE32_SIZE_ULONG.
15307
15308 [BZ #16713]
15309 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15310 (__glibc_reserved0): New variable.
15311 (sa_flags): Change type to int.
15312
15313 * posix/Makefile (before-compile): Use += before-compile instead
15314 of a :=.
15315
15316 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15317 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15318
15319 2014-03-20 Andreas Schwab <schwab@suse.de>
15320
15321 [BZ #16743]
15322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15323 non-matching result from nscd.
15324
15325 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15326
15327 * scripts/bench.py: Moved to ...
15328 * benchtests/scripts/bench.py: ... here.
15329 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15330
15331 2014-03-24 Andreas Schwab <schwab@suse.de>
15332
15333 [BZ #16002]
15334 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15335 alloca_account and account alloca use for struct in6ailist.
15336
15337 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15338
15339 [BZ #16284]
15340 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15341 rounding mode to recompute results that overflow to infinity or
15342 underflow to zero.
15343 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15344 bug 16284.
15345 * math/auto-libm-test-out: Regenerated.
15346 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15347 (ccosh_test): Likewise.
15348 (csin_test_data): Use plus_oflow.
15349 (csin_test): Use ALL_RM_TEST.
15350 (csinh_test_data): Use plus_oflow.
15351 (csinh_test): Use ALL_RM_TEST.
15352 * sysdeps/i386/fpu/libm-test-ulps: Update.
15353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15354
15355 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15356
15357 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15358 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15359 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15360
15361 [BZ #16731]
15362 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15363 when x - 1 is zero.
15364 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15365 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15366 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15368 argument is 1.
15369 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15370 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15371 zero.
15372 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15373 * sysdeps/i386/fpu/libm-test-ulps: Update.
15374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15375
15376 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15377
15378 * scripts/bench.pl: Remove file.
15379 * scripts/bench.py: New benchmark script.
15380 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15381 * benchtests/README: Mention python dependency.
15382 * scripts/pylintrc: New file.
15383 * scripts/pylint: New file.
15384
15385 * bits/mathdef.h: Use #ifdef instead of #if.
15386 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15387 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15388 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15389 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15390 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15391 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15392
15393 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15394 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15395
15396 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15398 and strpbrk-ppc64 objects.
15399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15400 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15401 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15402 multiarch strpbrk for POWER7.
15403 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15404 multiarch strpbrk for PPC64.
15405 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15406 ifunc selector.
15407 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15408 strpbrk for POWER7.
15409
15410 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15411
15412 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15413 (atan_test): Likewise.
15414 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15415 (atanh_test): Use ALL_RM_TEST.
15416 (atan2_test_data): Likewise.
15417 (cabs_test): Likewise.
15418 (cacosh_test): Likewise.
15419 (carg_test): Likewise.
15420 (casin_test): Likewise.
15421 (casinh_test): Likewise.
15422 (cbrt_test): Likewise.
15423 (csqrt_test): Likewise.
15424 (erf_test): Likewise.
15425 (erfc_test): Likewise.
15426 (pow10_test): Likewise.
15427 (exp2_test): Likewise.
15428 (hypot_test): Likewise.
15429 (j0_test): Likewise.
15430 (j1_test): Likewise.
15431 (lgamma_test): Likewise.
15432 (gamma_test): Likewise.
15433 (sincos_test): Likewise.
15434 (tanh_test): Likewise.
15435 (y0_test): Likewise.
15436 (y1_test): Likewise.
15437 * sysdeps/i386/fpu/libm-test-ulps: Update.
15438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15439
15440 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15441
15442 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15444 and strcspn-ppc64 objects.
15445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15446 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15447 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15448 multiarch strcspn for POWER7.
15449 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15450 multiarch strcspn for PPC64.
15451 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15452 ifunc selector.
15453 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15454 strcspn for POWER7.
15455
15456 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15457
15458 * math/gen-libm-test.pl (generate_testfile): Expect only function
15459 name as argument to AUTO_TESTS_* and pass results for all rounding
15460 modes to parse_args.
15461 (parse_auto_input): Separate inputs of automatic tests from
15462 outputs before storing in %auto_tests.
15463 * math/libm-test.inc (acos_test_data): Update call to
15464 AUTO_TESTS_f_f.
15465 (acos_test): Use ALL_RM_TEST.
15466 (acos_tonearest_test_data): Remove.
15467 (acos_test_tonearest): Likewise.
15468 (acos_towardzero_test_data): Likewise.
15469 (acos_test_towardzero): Likewise.
15470 (acos_downward_test_data): Likewise.
15471 (acos_test_downward): Likewise.
15472 (acos_upward_test_data): Likewise.
15473 (acos_test_upward): Likewise.
15474 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15475 (asin_test_data): Likewise.
15476 (asin_test): Use ALL_RM_TEST.
15477 (asin_tonearest_test_data): Remove.
15478 (asin_test_tonearest): Likewise.
15479 (asin_towardzero_test_data): Likewise.
15480 (asin_test_towardzero): Likewise.
15481 (asin_downward_test_data): Likewise.
15482 (asin_test_downward): Likewise.
15483 (asin_upward_test_data): Likewise.
15484 (asin_test_upward): Likewise.
15485 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15486 (atan_test_data): Likewise.
15487 (atanh_test_data): Likewise.
15488 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15489 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15490 (carg_test_data): Likewise.
15491 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15492 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15493 (ccosh_test_data): Likewise.
15494 (cexp_test_data): Likewise.
15495 (clog_test_data): Likewise.
15496 (clog10_test_data): Likewise.
15497 (cos_test_data): Update call to AUTO_TESTS_f_f.
15498 (cos_test): Use ALL_RM_TEST.
15499 (cos_tonearest_test_data): Remove.
15500 (cos_test_tonearest): Likewise.
15501 (cos_towardzero_test_data): Likewise.
15502 (cos_test_towardzero): Likewise.
15503 (cos_downward_test_data): Likewise.
15504 (cos_test_downward): Likewise.
15505 (cos_upward_test_data): Likewise.
15506 (cos_test_upward): Likewise.
15507 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15508 (cosh_test): Use ALL_RM_TEST.
15509 (cosh_tonearest_test_data): Remove.
15510 (cosh_test_tonearest): Likewise.
15511 (cosh_towardzero_test_data): Likewise.
15512 (cosh_test_towardzero): Likewise.
15513 (cosh_downward_test_data): Likewise.
15514 (cosh_test_downward): Likewise.
15515 (cosh_upward_test_data): Likewise.
15516 (cosh_test_upward): Likewise.
15517 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15518 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15519 (ctan_test_data): Likewise.
15520 (ctan_test): Use ALL_RM_TEST.
15521 (ctan_tonearest_test_data): Remove.
15522 (ctan_test_tonearest): Likewise.
15523 (ctan_towardzero_test_data): Likewise.
15524 (ctan_test_towardzero): Likewise.
15525 (ctan_downward_test_data): Likewise.
15526 (ctan_test_downward): Likewise.
15527 (ctan_upward_test_data): Likewise.
15528 (ctan_test_upward): Likewise.
15529 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15530 (ctanh_test): Use ALL_RM_TEST.
15531 (ctanh_tonearest_test_data): Remove.
15532 (ctanh_test_tonearest): Likewise.
15533 (ctanh_towardzero_test_data): Likewise.
15534 (ctanh_test_towardzero): Likewise.
15535 (ctanh_downward_test_data): Likewise.
15536 (ctanh_test_downward): Likewise.
15537 (ctanh_upward_test_data): Likewise.
15538 (ctanh_test_upward): Likewise.
15539 (erf_test_data): Update call to AUTO_TESTS_f_f.
15540 (erfc_test_data): Likewise.
15541 (exp_test_data): Likewise.
15542 (exp_test): Use ALL_RM_TEST.
15543 (exp_tonearest_test_data): Remove.
15544 (exp_test_tonearest): Likewise.
15545 (exp_towardzero_test_data): Likewise.
15546 (exp_test_towardzero): Likewise.
15547 (exp_downward_test_data): Likewise.
15548 (exp_test_downward): Likewise.
15549 (exp_upward_test_data): Likewise.
15550 (exp_test_upward): Likewise.
15551 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15552 (exp10_test): Use ALL_RM_TEST.
15553 (exp10_tonearest_test_data): Remove.
15554 (exp10_test_tonearest): Likewise.
15555 (exp10_towardzero_test_data): Likewise.
15556 (exp10_test_towardzero): Likewise.
15557 (exp10_downward_test_data): Likewise.
15558 (exp10_test_downward): Likewise.
15559 (exp10_upward_test_data): Likewise.
15560 (exp10_test_upward): Likewise.
15561 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15562 (expm1_test_data): Likewise.
15563 (expm1_test): Use ALL_RM_TEST.
15564 (expm1_tonearest_test_data): Remove.
15565 (expm1_test_tonearest): Likewise.
15566 (expm1_towardzero_test_data): Likewise.
15567 (expm1_test_towardzero): Likewise.
15568 (expm1_downward_test_data): Likewise.
15569 (expm1_test_downward): Likewise.
15570 (expm1_upward_test_data): Likewise.
15571 (expm1_test_upward): Likewise.
15572 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15573 (fma_test): Use ALL_RM_TEST.
15574 (fma_towardzero_test_data): Remove.
15575 (fma_test_towardzero): Likewise.
15576 (fma_downward_test_data): Likewise.
15577 (fma_test_downward): Likewise.
15578 (fma_upward_test_data): Likewise.
15579 (fma_test_upward): Likewise.
15580 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15581 (j0_test_data): Update call to AUTO_TESTS_f_f.
15582 (j1_test_data): Likewise.
15583 (jn_test_data): Update call to AUTO_TESTS_if_f.
15584 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15585 (log_test_data): Update call to AUTO_TESTS_f_f.
15586 (log10_test_data): Likewise.
15587 (log1p_test_data): Likewise.
15588 (log2_test_data): Likewise.
15589 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15590 (pow_tonearest_test_data): Likewise.
15591 (sin_test_data): Update call to AUTO_TESTS_f_f.
15592 (sin_test): Use ALL_RM_TEST.
15593 (sin_tonearest_test_data): Remove.
15594 (sin_test_tonearest): Likewise.
15595 (sin_towardzero_test_data): Likewise.
15596 (sin_test_towardzero): Likewise.
15597 (sin_downward_test_data): Likewise.
15598 (sin_test_downward): Likewise.
15599 (sin_upward_test_data): Likewise.
15600 (sin_test_upward): Likewise.
15601 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15602 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15603 (sinh_test): Use ALL_RM_TEST.
15604 (sinh_tonearest_test_data): Remove.
15605 (sinh_test_tonearest): Likewise.
15606 (sinh_towardzero_test_data): Likewise.
15607 (sinh_test_towardzero): Likewise.
15608 (sinh_downward_test_data): Likewise.
15609 (sinh_test_downward): Likewise.
15610 (sinh_upward_test_data): Likewise.
15611 (sinh_test_upward): Likewise.
15612 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15613 (sqrt_test): Use ALL_RM_TEST.
15614 (sqrt_tonearest_test_data): Remove.
15615 (sqrt_test_tonearest): Likewise.
15616 (sqrt_towardzero_test_data): Likewise.
15617 (sqrt_test_towardzero): Likewise.
15618 (sqrt_downward_test_data): Likewise.
15619 (sqrt_test_downward): Likewise.
15620 (sqrt_upward_test_data): Likewise.
15621 (sqrt_test_upward): Likewise.
15622 (tan_test_data): Update call to AUTO_TESTS_f_f.
15623 (tan_test): Use ALL_RM_TEST.
15624 (tan_tonearest_test_data): Remove.
15625 (tan_test_tonearest): Likewise.
15626 (tan_towardzero_test_data): Likewise.
15627 (tan_test_towardzero): Likewise.
15628 (tan_downward_test_data): Likewise.
15629 (tan_test_downward): Likewise.
15630 (tan_upward_test_data): Likewise.
15631 (tan_test_upward): Likewise.
15632 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15633 (tgamma_test_data): Likewise.
15634 (y0_test_data): Likewise.
15635 (y1_test_data): Likewise.
15636 (yn_test_data): Update call to AUTO_TESTS_if_f.
15637 (main): Do not call removed functions.
15638
15639 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15640
15641 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15642 (ldexp_test_data): Remove.
15643 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15644 scalbn_test_data.
15645 (scalb_test): Use ALL_RM_TEST.
15646
15647 2014-03-19 Andreas Schwab <schwab@suse.de>
15648
15649 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15650
15651 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15652
15653 [BZ #16649]
15654 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15655 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15656 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15657 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15658 (__ASSUME_PREADV): Undefine.
15659 (__ASSUME_PWRITEV): Likewise.
15660
15661 2014-03-18 Roland McGrath <roland@hack.frob.com>
15662
15663 * bits/mman-linux.h: Add comment about non-Linux use.
15664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15665 bits/mman-linux.h resting place.
15666
15667 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15668 * bits/mman-linux.h: ... here.
15669
15670 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15671
15672 * conform/conformtest.pl: Add standard definition when calling C
15673 preprocessor on data files.
15674 (checknamespace): Remove unused variable.
15675
15676 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15677
15678 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15679 minus_oflow, plus_uflow and minus_uflow in expected results.
15680 * math/libm-test.inc (scalbn_test_data): Add more tests of
15681 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15682 minus_uflow.
15683 (scalbn_test): Use ALL_RM_TEST.
15684 (scalbln_test_data): Add more tests of negative arguments. Use
15685 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15686 (scalbln_test): Use ALL_RM_TEST.
15687
15688 2014-03-18 Roland McGrath <roland@hack.frob.com>
15689
15690 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15691
15692 2014-03-18 Will Newton <will.newton@linaro.org>
15693
15694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15695 inaccurate comment.
15696
15697 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15698
15699 * Makerules [!subdir] (check-abi): Exit with error status if a
15700 test failed.
15701
15702 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15703
15704 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15705 for rint. Include results for all rounding modes.
15706 (nearbyint_test): Use ALL_RM_TEST.
15707 (rint_test_data): Include all tests used for nearbyint.
15708
15709 2014-03-17 Will Newton <will.newton@linaro.org>
15710
15711 * nptl/sysdeps/pthread/pthread.h: Revert previous
15712 change.
15713
15714 * sysdeps/generic/ldsodefs.h: Revert previous
15715 change.
15716
15717 * libio/genops.c: Revert previous change.
15718 * libio/libioP.h: Likewise.
15719 * stdio-common/vfprintf.c: Likewise.
15720
15721 * sysdeps/generic/math_private.h: Revert previous
15722 change.
15723
15724 * sysdeps/generic/math_private.h: Check whether
15725 HAVE_RM_CTX is defined with #ifdef rather
15726 than #if.
15727
15728 * argp/argp-fmtstream.h: Check whether
15729 __STRICT_ANSI__ is defined with #ifdef rather
15730 than #if.
15731 * argp/argp.h: Likewise.
15732
15733 * libio/genops.c: Check whether
15734 _IO_JUMPS_OFFSET is defined with #ifdef rather
15735 than #if.
15736 * libio/libioP.h: Likewise.
15737 * stdio-common/vfprintf.c: Likewise.
15738
15739 * sysdeps/generic/ldsodefs.h: Check whether
15740 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15741 than #if.
15742
15743 * nptl/sysdeps/pthread/pthread.h: Check
15744 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15745 its value.
15746
15747 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15748
15749 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15750 setting O_APPEND.
15751 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15752 test case.
15753
15754 [BZ #16680]
15755 * libio/fileops.c (_IO_file_open): Seek to end of file but
15756 don't cache the offset.
15757 (get_file_offset): Remove function.
15758 (do_ftell): Use cached offset when available.
15759 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15760 don't cache the offset.
15761 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15762 case.
15763 (do_one_test): Call it.
15764 (do_ftell_test): Fix up expected old offset for a+ mode.
15765 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15766 available.
15767
15768 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15769 up test status with function return status.
15770 (do_write_test): Likewise.
15771 (do_append_test): Likewise.
15772
15773 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15774 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15775 Remove.
15776
15777 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15778
15779 * math/gen-libm-test.pl (parse_args): Handle results specified for
15780 each rounding mode separately.
15781 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15782 tests and results from lrint_tonearest_test_data,
15783 lrint_towardzero_test_data, lrint_downward_test_data and
15784 lrint_upward_test_data.
15785 (lrint_test): Use ALL_RM_TEST.
15786 (lrint_tonearest_test_data): Remove.
15787 (lrint_test_tonearest): Likewise.
15788 (lrint_towardzero_test_data): Likewise.
15789 (lrint_test_towardzero): Likewise.
15790 (lrint_downward_test_data): Likewise.
15791 (lrint_test_downward): Likewise.
15792 (lrint_upward_test_data): Likewise.
15793 (lrint_test_upward): Likewise.
15794 (llrint_test_data): Merge in per-rounding-mode tests and results
15795 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15796 llrint_downward_test_data and llrint_upward_test_data.
15797 (llrint_test): Use ALL_RM_TEST.
15798 (llrint_tonearest_test_data): Remove.
15799 (llrint_test_tonearest): Likewise.
15800 (llrint_towardzero_test_data): Likewise.
15801 (llrint_test_towardzero): Likewise.
15802 (llrint_downward_test_data): Likewise.
15803 (llrint_test_downward): Likewise.
15804 (llrint_upward_test_data): Likewise.
15805 (llrint_test_upward): Likewise.
15806 (rint_test_data): Merge in per-rounding-mode tests and results
15807 from rint_tonearest_test_data, rint_towardzero_test_data,
15808 rint_downward_test_data and rint_upward_test_data. Add
15809 per-rounding-mode results for tests not in those arrays.
15810 (rint_test): Use ALL_RM_TEST.
15811 (rint_tonearest_test_data): Remove.
15812 (rint_test_tonearest): Likewise.
15813 (rint_towardzero_test_data): Likewise.
15814 (rint_test_towardzero): Likewise.
15815 (rint_downward_test_data): Likewise.
15816 (rint_test_downward): Likewise.
15817 (rint_upward_test_data): Likewise.
15818 (rint_test_upward): Likewise.
15819 (main): Don't call removed functions.
15820
15821 2014-03-14 Roland McGrath <roland@hack.frob.com>
15822
15823 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15824 "Compiled on ..." crapola. It is anti-useful.
15825
15826 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15827
15828 * scripts/evaluate-test.sh: Handle fourth argument to determine
15829 whether test run should stop on failure.
15830 * Makeconfig (stop-on-test-failure): New variable.
15831 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15832 $(stop-on-test-failure).
15833 * Makefile (tests): Give a summary of results from testing and
15834 exit with failure status if they include an ERROR or FAIL.
15835 (xtests): Likewise.
15836 * manual/install.texi (Configuring and compiling): Mention
15837 stop-on-test-failure=y.
15838 * INSTALL: Regenerated.
15839
15840 2014-03-14 Roland McGrath <roland@hack.frob.com>
15841
15842 * scripts/versionlist.awk: New file.
15843 * Makerules [$(build-shared) = yes]
15844 (postclean-generated): Add Versions.def, not Versions.def.v and
15845 Versions.def.v.i.
15846 ($(common-objpfx)Versions.def.v.i): Target removed.
15847 ($(common-objpfx)Versions.def): New target.
15848 ($(common-objpfx)Versions.all): Depend on that rather that
15849 $(common-objpfx)Versions.def.v.
15850 * Versions.def: File removed.
15851
15852 * Makeconfig (+gccwarn): Add -Wundef.
15853 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15854 a dl-sysdep.h breaking its contract.
15855 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15856 * include/stackinfo.h: New file.
15857 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15858 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15859 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15860 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15861 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15862 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15863 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15864 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15865 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15866 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15867 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15868 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15869 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15870 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15871 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15872
15873 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15874
15875 [BZ #16707]
15876 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15877 implementation.
15878 * math/libm-test.inc (round_test_data): Add more tests.
15879
15880 [BZ #16706]
15881 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15882 implementation.
15883 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15884
15885 [BZ #16701]
15886 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15887 implementation.
15888 * math/libm-test.inc (ceil_test_data): Add more tests.
15889
15890 * math/libm-test.inc (trunc_test_data): Add more tests related to
15891 BZ#16414.
15892
15893 2014-03-14 Roland McGrath <roland@hack.frob.com>
15894
15895 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15896 with #if rather than #ifdef.
15897 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15898
15899 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15902 first. Disable AVX-512 GCC support if assembler doesn't support
15903 it.
15904 * sysdeps/x86_64/configure: Regenerated.
15905
15906 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15907
15908 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15909 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15910 (__old_pthread_attr_setstack): Likewise.
15911 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15912 [!_STACK_GROWS_DOWN]: Likewise.
15913
15914 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15915
15916 * config.make.in (have-bash2): Delete.
15917 * configure.ac (libc_cv_have_bash2): Delete.
15918 * configure: Regenerate.
15919 * elf/Makefile (common-ldd-rewrite): Rename to ...
15920 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15921 (sh-ldd-rewrite): Delete.
15922 (bash-ldd-rewrite): Delete.
15923 (have-bash2): Delete checks.
15924 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15925 ldd-rewrite.
15926
15927 * config.make.in (have-ksh): Delete.
15928 (KSH): Delete.
15929 * configure.ac (libc_cv_have_ksh): Delete.
15930 * configure: Regenerate.
15931
15932 * elf/Makefile: Delete $(have-ksh) check.
15933 ($(objpfx)sotruss): Change KSH to BASH.
15934 * elf/sotruss.ksh: Rename to ...
15935 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15936 function style to match POSIX. Drop ksh vim mode setting.
15937
15938 * manual/time.texi (Specifying the Time Zone with TZ): Change
15939 Tuesday to Thursday.
15940
15941 * debug/tst-longjmp_chk2.c: Update header comment.
15942 (stackoverflow_handler): Add comment. Call assert on pass value.
15943
15944 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15945
15946 [BZ #16194]
15947 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15948 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15949 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15950 (La_x86_64_vector): Add zmm.
15951 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15952 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15953 ($(objpfx)tst-audit10): New target.
15954 ($(objpfx)tst-audit10.out): Likewise.
15955 (tst-audit10-ENV): New.
15956 (AVX512-CFLAGS): Likewise.
15957 (CFLAGS-tst-audit10.c): Likewise.
15958 (CFLAGS-tst-auditmod10a.c): Likewise.
15959 (CFLAGS-tst-auditmod10b.c): Likewise.
15960 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15961 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15962 * sysdeps/x86_64/configure: Regenerated.
15963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15964 AVX-512 zmm register support.
15965 (_dl_x86_64_save_sse): Likewise.
15966 (_dl_x86_64_restore_sse): Likewise.
15967 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15968 size vector registers.
15969 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15970 (ZMM_SIZE): Likewise.
15971 * sysdeps/x86_64/tst-audit10.c: New file.
15972 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15973 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15974
15975 2014-03-13 Roland McGrath <roland@hack.frob.com>
15976
15977 * configure.ac (HAVE_EHDR_START): New check.
15978 * configure: Regenerated.
15979 * config.h.in (HAVE_EHDR_START): New #undef.
15980 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15981 assuming the lowest-addressed segment maps the start of the file.
15982
15983 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15984
15985 * INSTALL: Regenerated.
15986
15987 2014-03-13 Will Newton <will.newton@linaro.org>
15988
15989 * manual/setjmp.texi (System V contexts): Improve
15990 clarity and grammar of documentation.
15991
15992 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15993
15994 [BZ #16381]
15995 * elf/Makefile (tests): Add tst-pie2.
15996 (tests-pie): Add tst-pie2.
15997 * elf/tst-pie2.c: New file.
15998 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15999 for ET_EXEC.
16000 * elf/rtld.c (map_doit): Load executable as lt_executable.
16001 (dl_main): Likewise.
16002
16003 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16004
16005 [BZ #16642]
16006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16007 (__ASSUME_PSELECT): Undefine.
16008
16009 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16010
16011 [BZ #16689]
16012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16013 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16014 static build.
16015 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16016 selector for static builds.
16017
16018 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16019
16020 [BZ #16695]
16021 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16022 key in the buffer.
16023
16024 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16025
16026 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16027 IFUNC selector for static builds.
16028
16029 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16030
16031 * sysdeps/mips/math_private.h [__mips_hard_float]
16032 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16033 libc_feresetround_mips_ctx.
16034 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16035 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16036 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16037
16038 [BZ #16677]
16039 * math/s_nextafter.c (__nextafter): Do not return value from
16040 overflowing computation.
16041 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16042 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16043 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16044 Likewise.
16045 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16046 Likewise.
16047 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16048 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16049
16050 2014-03-11 Roland McGrath <roland@hack.frob.com>
16051
16052 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16053 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16054 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16055 the new mov targetting sp.
16056
16057 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16058
16059 [BZ #16683]
16060 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16061 Define it for static builds as well.
16062 (NO_BZERO_IMPL): Likewise.
16063
16064 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16065
16066 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16067 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16068 multiarch strspn for PPC64.
16069 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16070 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16072 (__libc_ifunc_impl_list): Likewise.
16073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16074 multiarch optimizations
16075 * string/strspn.c (strspn): Using macro to redefine symbol name.
16076
16077 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16078 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16079
16080 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16081 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16082 multiarch strncat for PPC64.
16083 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16084 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16086 (__libc_ifunc_impl_list): Likewise.
16087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16088 multiarch optimizations
16089
16090 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16091
16092 [BZ #16639]
16093 * nscd/nscd.service: Make service type forking.
16094
16095 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16096
16097 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16098 sign in non default rounding modes.
16099 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16100
16101 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16102
16103 * math/libm-test.inc (ALL_RM_TEST): New macro.
16104 (ceil_test): Use ALL_RM_TEST.
16105 (cimag_test): Likewise.
16106 (conj_test): Likewise.
16107 (copysign_test): Likewise.
16108 (cproj_test): Likewise.
16109 (creal_test): Likewise.
16110 (fabs_test): Likewise.
16111 (floor_test): Likewise.
16112 (fmax_test): Likewise.
16113 (fmin_test): Likewise.
16114 (fmod_test): Likewise.
16115 (fpclassify_test): Likewise.
16116 (frexp_test): Likewise.
16117 (ilogb_test): Likewise.
16118 (isfinite_test): Likewise.
16119 (finite_test): Likewise.
16120 (isgreater_test): Likewise.
16121 (isgreaterequal_test): Likewise.
16122 (isinf_test): Likewise.
16123 (isless_test): Likewise.
16124 (islessequal_test): Likewise.
16125 (islessgreater_test): Likewise.
16126 (isnan_test): Likewise.
16127 (isnormal_test): Likewise.
16128 (issignaling_test): Likewise.
16129 (isunordered_test): Likewise.
16130 (logb_test): Likewise.
16131 (logb_downward_test_data): Remove.
16132 (logb_test_downward): Likewise.
16133 (lround_test): Use ALL_RM_TEST.
16134 (llround_test): Likewise.
16135 (modf_test): Likewise.
16136 (nexttoward_test): Likewise.
16137 (remainder_test): Likewise.
16138 (drem_test): Likewise.
16139 (remainder_tonearest_test_data): Likewise.
16140 (remainder_test_tonearest): Likewise.
16141 (drem_test_tonearest): Likewise.
16142 (remainder_towardzero_test_data): Likewise.
16143 (remainder_test_towardzero): Likewise.
16144 (drem_test_towardzero): Likewise.
16145 (remainder_downward_test_data): Likewise.
16146 (remainder_test_downward): Likewise.
16147 (drem_test_downward): Likewise.
16148 (remainder_upward_test_data): Likewise.
16149 (remainder_test_upward): Likewise.
16150 (drem_test_upward): Likewise.
16151 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16152 (round_test): Use ALL_RM_TEST.
16153 (signbit_test): Likewise.
16154 (trunc_test): Likewise.
16155 (significand_test): Likewise.
16156 (main): Don't call removed functions.
16157
16158 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16159
16160 [BZ #16674]
16161 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16162 || __USE_XOPEN2K8].
16163 (ILL_ILLOPN): Likewise.
16164 (ILL_ILLADR): Likewise.
16165 (ILL_ILLTRP): Likewise.
16166 (ILL_PRVOPC): Likewise.
16167 (ILL_PRVREG): Likewise.
16168 (ILL_COPROC): Likewise.
16169 (ILL_BADSTK): Likewise.
16170 (FPE_INTDIV): Likewise.
16171 (FPE_INTOVF): Likewise.
16172 (FPE_FLTDIV): Likewise.
16173 (FPE_FLTOVF): Likewise.
16174 (FPE_FLTUND): Likewise.
16175 (FPE_FLTRES): Likewise.
16176 (FPE_FLTINV): Likewise.
16177 (FPE_FLTSUB): Likewise.
16178 (SEGV_MAPERR): Likewise.
16179 (SEGV_ACCERR): Likewise.
16180 (BUS_ADRALN): Likewise.
16181 (BUS_ADRERR): Likewise.
16182 (BUS_OBJERR): Likewise.
16183 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16184 (TRAP_TRACE): Likewise.
16185 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16186 __USE_XOPEN2K8].
16187 (CLD_KILLED): Likewise.
16188 (CLD_DUMPED): Likewise.
16189 (CLD_TRAPPED): Likewise.
16190 (CLD_STOPPED): Likewise.
16191 (CLD_CONTINUED): Likewise.
16192 (POLL_IN): Likewise.
16193 (POLL_OUT): Likewise.
16194 (POLL_MSG): Likewise.
16195 (POLL_ERR): Likewise.
16196 (POLL_PRI): Likewise.
16197 (POLL_HUP): Likewise.
16198 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16199 Likewise.
16200 (ILL_ILLOPN): Likewise.
16201 (ILL_ILLADR): Likewise.
16202 (ILL_ILLTRP): Likewise.
16203 (ILL_PRVOPC): Likewise.
16204 (ILL_PRVREG): Likewise.
16205 (ILL_COPROC): Likewise.
16206 (ILL_BADSTK): Likewise.
16207 (FPE_INTDIV): Likewise.
16208 (FPE_INTOVF): Likewise.
16209 (FPE_FLTDIV): Likewise.
16210 (FPE_FLTOVF): Likewise.
16211 (FPE_FLTUND): Likewise.
16212 (FPE_FLTRES): Likewise.
16213 (FPE_FLTINV): Likewise.
16214 (FPE_FLTSUB): Likewise.
16215 (SEGV_MAPERR): Likewise.
16216 (SEGV_ACCERR): Likewise.
16217 (BUS_ADRALN): Likewise.
16218 (BUS_ADRERR): Likewise.
16219 (BUS_OBJERR): Likewise.
16220 (BUS_MCEERR_AR): Likewise.
16221 (BUS_MCEERR_AO): Likewise.
16222 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16223 (TRAP_TRACE): Likewise.
16224 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16225 __USE_XOPEN2K8].
16226 (CLD_KILLED): Likewise.
16227 (CLD_DUMPED): Likewise.
16228 (CLD_TRAPPED): Likewise.
16229 (CLD_STOPPED): Likewise.
16230 (CLD_CONTINUED): Likewise.
16231 (POLL_IN): Likewise.
16232 (POLL_OUT): Likewise.
16233 (POLL_MSG): Likewise.
16234 (POLL_ERR): Likewise.
16235 (POLL_PRI): Likewise.
16236 (POLL_HUP): Likewise.
16237 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16238 (ILL_ILLOPN): Likewise.
16239 (ILL_ILLADR): Likewise.
16240 (ILL_ILLTRP): Likewise.
16241 (ILL_PRVOPC): Likewise.
16242 (ILL_PRVREG): Likewise.
16243 (ILL_COPROC): Likewise.
16244 (ILL_BADSTK): Likewise.
16245 (FPE_INTDIV): Likewise.
16246 (FPE_INTOVF): Likewise.
16247 (FPE_FLTDIV): Likewise.
16248 (FPE_FLTOVF): Likewise.
16249 (FPE_FLTUND): Likewise.
16250 (FPE_FLTRES): Likewise.
16251 (FPE_FLTINV): Likewise.
16252 (FPE_FLTSUB): Likewise.
16253 (SEGV_MAPERR): Likewise.
16254 (SEGV_ACCERR): Likewise.
16255 (BUS_ADRALN): Likewise.
16256 (BUS_ADRERR): Likewise.
16257 (BUS_OBJERR): Likewise.
16258 (BUS_MCEERR_AR): Likewise.
16259 (BUS_MCEERR_AO): Likewise.
16260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16261 (TRAP_TRACE): Likewise.
16262 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16263 __USE_XOPEN2K8].
16264 (CLD_KILLED): Likewise.
16265 (CLD_DUMPED): Likewise.
16266 (CLD_TRAPPED): Likewise.
16267 (CLD_STOPPED): Likewise.
16268 (CLD_CONTINUED): Likewise.
16269 (POLL_IN): Likewise.
16270 (POLL_OUT): Likewise.
16271 (POLL_MSG): Likewise.
16272 (POLL_ERR): Likewise.
16273 (POLL_PRI): Likewise.
16274 (POLL_HUP): Likewise.
16275 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16276 Likewise.
16277 (ILL_ILLOPN): Likewise.
16278 (ILL_ILLADR): Likewise.
16279 (ILL_ILLTRP): Likewise.
16280 (ILL_PRVOPC): Likewise.
16281 (ILL_PRVREG): Likewise.
16282 (ILL_COPROC): Likewise.
16283 (ILL_BADSTK): Likewise.
16284 (ILL_BADIADDR): Likewise.
16285 (ILL_BREAK): Likewise.
16286 (FPE_INTDIV): Likewise.
16287 (FPE_INTOVF): Likewise.
16288 (FPE_FLTDIV): Likewise.
16289 (FPE_FLTOVF): Likewise.
16290 (FPE_FLTUND): Likewise.
16291 (FPE_FLTRES): Likewise.
16292 (FPE_FLTINV): Likewise.
16293 (FPE_FLTSUB): Likewise.
16294 (FPE_DECOVF): Likewise.
16295 (FPE_DECDIV): Likewise.
16296 (FPE_DECERR): Likewise.
16297 (FPE_INVASC): Likewise.
16298 (FPE_INVDEC): Likewise.
16299 (SEGV_MAPERR): Likewise.
16300 (SEGV_ACCERR): Likewise.
16301 (SEGV_PSTKOVF): Likewise.
16302 (BUS_ADRALN): Likewise.
16303 (BUS_ADRERR): Likewise.
16304 (BUS_OBJERR): Likewise.
16305 (BUS_MCEERR_AR): Likewise.
16306 (BUS_MCEERR_AO): Likewise.
16307 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16308 (TRAP_TRACE): Likewise.
16309 (TRAP_BRANCH): Likewise.
16310 (TRAP_HWBKPT): Likewise.
16311 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16312 __USE_XOPEN2K8].
16313 (CLD_KILLED): Likewise.
16314 (CLD_DUMPED): Likewise.
16315 (CLD_TRAPPED): Likewise.
16316 (CLD_STOPPED): Likewise.
16317 (CLD_CONTINUED): Likewise.
16318 (POLL_IN): Likewise.
16319 (POLL_OUT): Likewise.
16320 (POLL_MSG): Likewise.
16321 (POLL_ERR): Likewise.
16322 (POLL_PRI): Likewise.
16323 (POLL_HUP): Likewise.
16324 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16325 (ILL_ILLOPN): Likewise.
16326 (ILL_ILLADR): Likewise.
16327 (ILL_ILLTRP): Likewise.
16328 (ILL_PRVOPC): Likewise.
16329 (ILL_PRVREG): Likewise.
16330 (ILL_COPROC): Likewise.
16331 (ILL_BADSTK): Likewise.
16332 (FPE_INTDIV): Likewise.
16333 (FPE_INTOVF): Likewise.
16334 (FPE_FLTDIV): Likewise.
16335 (FPE_FLTOVF): Likewise.
16336 (FPE_FLTUND): Likewise.
16337 (FPE_FLTRES): Likewise.
16338 (FPE_FLTINV): Likewise.
16339 (FPE_FLTSUB): Likewise.
16340 (SEGV_MAPERR): Likewise.
16341 (SEGV_ACCERR): Likewise.
16342 (BUS_ADRALN): Likewise.
16343 (BUS_ADRERR): Likewise.
16344 (BUS_OBJERR): Likewise.
16345 (BUS_MCEERR_AR): Likewise.
16346 (BUS_MCEERR_AO): Likewise.
16347 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16348 (TRAP_TRACE): Likewise.
16349 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16350 __USE_XOPEN2K8].
16351 (CLD_KILLED): Likewise.
16352 (CLD_DUMPED): Likewise.
16353 (CLD_TRAPPED): Likewise.
16354 (CLD_STOPPED): Likewise.
16355 (CLD_CONTINUED): Likewise.
16356 (POLL_IN): Likewise.
16357 (POLL_OUT): Likewise.
16358 (POLL_MSG): Likewise.
16359 (POLL_ERR): Likewise.
16360 (POLL_PRI): Likewise.
16361 (POLL_HUP): Likewise.
16362 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16363 (ILL_ILLOPN): Likewise.
16364 (ILL_ILLADR): Likewise.
16365 (ILL_ILLTRP): Likewise.
16366 (ILL_PRVOPC): Likewise.
16367 (ILL_PRVREG): Likewise.
16368 (ILL_COPROC): Likewise.
16369 (ILL_BADSTK): Likewise.
16370 (FPE_INTDIV): Likewise.
16371 (FPE_INTOVF): Likewise.
16372 (FPE_FLTDIV): Likewise.
16373 (FPE_FLTOVF): Likewise.
16374 (FPE_FLTUND): Likewise.
16375 (FPE_FLTRES): Likewise.
16376 (FPE_FLTINV): Likewise.
16377 (FPE_FLTSUB): Likewise.
16378 (SEGV_MAPERR): Likewise.
16379 (SEGV_ACCERR): Likewise.
16380 (BUS_ADRALN): Likewise.
16381 (BUS_ADRERR): Likewise.
16382 (BUS_OBJERR): Likewise.
16383 (BUS_MCEERR_AR): Likewise.
16384 (BUS_MCEERR_AO): Likewise.
16385 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16386 (TRAP_TRACE): Likewise.
16387 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16388 __USE_XOPEN2K8].
16389 (CLD_KILLED): Likewise.
16390 (CLD_DUMPED): Likewise.
16391 (CLD_TRAPPED): Likewise.
16392 (CLD_STOPPED): Likewise.
16393 (CLD_CONTINUED): Likewise.
16394 (POLL_IN): Likewise.
16395 (POLL_OUT): Likewise.
16396 (POLL_MSG): Likewise.
16397 (POLL_ERR): Likewise.
16398 (POLL_PRI): Likewise.
16399 (POLL_HUP): Likewise.
16400 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16401 (ILL_ILLOPN): Likewise.
16402 (ILL_ILLADR): Likewise.
16403 (ILL_ILLTRP): Likewise.
16404 (ILL_PRVOPC): Likewise.
16405 (ILL_PRVREG): Likewise.
16406 (ILL_COPROC): Likewise.
16407 (ILL_BADSTK): Likewise.
16408 (FPE_INTDIV): Likewise.
16409 (FPE_INTOVF): Likewise.
16410 (FPE_FLTDIV): Likewise.
16411 (FPE_FLTOVF): Likewise.
16412 (FPE_FLTUND): Likewise.
16413 (FPE_FLTRES): Likewise.
16414 (FPE_FLTINV): Likewise.
16415 (FPE_FLTSUB): Likewise.
16416 (SEGV_MAPERR): Likewise.
16417 (SEGV_ACCERR): Likewise.
16418 (BUS_ADRALN): Likewise.
16419 (BUS_ADRERR): Likewise.
16420 (BUS_OBJERR): Likewise.
16421 (BUS_MCEERR_AR): Likewise.
16422 (BUS_MCEERR_AO): Likewise.
16423 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16424 (TRAP_TRACE): Likewise.
16425 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16426 __USE_XOPEN2K8].
16427 (CLD_KILLED): Likewise.
16428 (CLD_DUMPED): Likewise.
16429 (CLD_TRAPPED): Likewise.
16430 (CLD_STOPPED): Likewise.
16431 (CLD_CONTINUED): Likewise.
16432 (POLL_IN): Likewise.
16433 (POLL_OUT): Likewise.
16434 (POLL_MSG): Likewise.
16435 (POLL_ERR): Likewise.
16436 (POLL_PRI): Likewise.
16437 (POLL_HUP): Likewise.
16438 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16439 (ILL_ILLOPN): Likewise.
16440 (ILL_ILLADR): Likewise.
16441 (ILL_ILLTRP): Likewise.
16442 (ILL_PRVOPC): Likewise.
16443 (ILL_PRVREG): Likewise.
16444 (ILL_COPROC): Likewise.
16445 (ILL_BADSTK): Likewise.
16446 (ILL_DBLFLT): Likewise.
16447 (ILL_HARDWALL): Likewise.
16448 (FPE_INTDIV): Likewise.
16449 (FPE_INTOVF): Likewise.
16450 (FPE_FLTDIV): Likewise.
16451 (FPE_FLTOVF): Likewise.
16452 (FPE_FLTUND): Likewise.
16453 (FPE_FLTRES): Likewise.
16454 (FPE_FLTINV): Likewise.
16455 (FPE_FLTSUB): Likewise.
16456 (SEGV_MAPERR): Likewise.
16457 (SEGV_ACCERR): Likewise.
16458 (BUS_ADRALN): Likewise.
16459 (BUS_ADRERR): Likewise.
16460 (BUS_OBJERR): Likewise.
16461 (BUS_MCEERR_AR): Likewise.
16462 (BUS_MCEERR_AO): Likewise.
16463 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16464 (TRAP_TRACE): Likewise.
16465 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16466 __USE_XOPEN2K8].
16467 (CLD_KILLED): Likewise.
16468 (CLD_DUMPED): Likewise.
16469 (CLD_TRAPPED): Likewise.
16470 (CLD_STOPPED): Likewise.
16471 (CLD_CONTINUED): Likewise.
16472 (POLL_IN): Likewise.
16473 (POLL_OUT): Likewise.
16474 (POLL_MSG): Likewise.
16475 (POLL_ERR): Likewise.
16476 (POLL_PRI): Likewise.
16477 (POLL_HUP): Likewise.
16478 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16479 (ILL_ILLOPN): Likewise.
16480 (ILL_ILLADR): Likewise.
16481 (ILL_ILLTRP): Likewise.
16482 (ILL_PRVOPC): Likewise.
16483 (ILL_PRVREG): Likewise.
16484 (ILL_COPROC): Likewise.
16485 (ILL_BADSTK): Likewise.
16486 (FPE_INTDIV): Likewise.
16487 (FPE_INTOVF): Likewise.
16488 (FPE_FLTDIV): Likewise.
16489 (FPE_FLTOVF): Likewise.
16490 (FPE_FLTUND): Likewise.
16491 (FPE_FLTRES): Likewise.
16492 (FPE_FLTINV): Likewise.
16493 (FPE_FLTSUB): Likewise.
16494 (SEGV_MAPERR): Likewise.
16495 (SEGV_ACCERR): Likewise.
16496 (BUS_ADRALN): Likewise.
16497 (BUS_ADRERR): Likewise.
16498 (BUS_OBJERR): Likewise.
16499 (BUS_MCEERR_AR): Likewise.
16500 (BUS_MCEERR_AO): Likewise.
16501 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16502 (TRAP_TRACE): Likewise.
16503 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16504 __USE_XOPEN2K8].
16505 (CLD_KILLED): Likewise.
16506 (CLD_DUMPED): Likewise.
16507 (CLD_TRAPPED): Likewise.
16508 (CLD_STOPPED): Likewise.
16509 (CLD_CONTINUED): Likewise.
16510 (POLL_IN): Likewise.
16511 (POLL_OUT): Likewise.
16512 (POLL_MSG): Likewise.
16513 (POLL_ERR): Likewise.
16514 (POLL_PRI): Likewise.
16515 (POLL_HUP): Likewise.
16516 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16517 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16518
16519 [BZ #16670]
16520 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16521 before #include of <time.h>.
16522 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16523 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16524 (test-xfail-UNIX98/sched.h/conform): Likewise.
16525
16526 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16527
16528 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16529 error absence of trapping exception support.
16530 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16531
16532 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16533
16534 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16535 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16536 * timezone/Makefile (testdata): Move definition above include of
16537 Rules.
16538 (test-zones): New variable.
16539 (tests-special): Add zone files.
16540 (build-testdata): Use $(evaluate-test).
16541
16542 * elf/Makefile (tests-special): Rename tests to end with .out.
16543 ($(objpfx)noload-mem): Likewise.
16544 ($(objpfx)tst-leaks1-mem): Likewise.
16545 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16546 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16547 $(objpfx)test-iconvconfig.out.
16548 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16549 set -e inside subshell and redirect output to file.
16550 * iconvdata/Makefile (generated): Rename tests to end with .out.
16551 Correct type.
16552 (tests-special): Rename tests to end with .out.
16553 ($(objpfx)mtrace-tst-loading): Likewise.
16554 * intl/Makefile (generated): Likewise.
16555 (tests-special): Likewise.
16556 ($(objpfx)mtrace-tst-gettext): Likewise.
16557 * misc/Makefile (generated): Likewise.
16558 (tests-special): Likewise.
16559 ($(objpfx)tst-error1-mem): Likewise.
16560 * nptl/Makefile (tests-special): Likewise.
16561 ($(objpfx)tst-stack3-mem): Likewise.
16562 (generated): Likewise.
16563 * posix/Makefile (generated): Likewise.
16564 (tests-special): Likewise.
16565 (xtests-special): Likewise.
16566 ($(objpfx)tst-fnmatch-mem): Likewise.
16567 ($(objpfx)bug-regex2-mem): Likewise.
16568 ($(objpfx)bug-regex14-mem): Likewise.
16569 ($(objpfx)bug-regex21-mem): Likewise.
16570 ($(objpfx)bug-regex31-mem): Likewise.
16571 ($(objpfx)tst-vfork3-mem): Likewise.
16572 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16573 ($(objpfx)tst-pcre-mem): Likewise.
16574 ($(objpfx)tst-boost-mem): Likewise.
16575 ($(objpfx)bug-ga2-mem): Likewise.
16576 ($(objpfx)bug-glob2-mem): Likewise.
16577 * resolv/Makefile (generate): Likewise.
16578 (tests-special): Likewise.
16579 (xtests-special): Likewise.
16580 (generated): Likewise.
16581 ($(objpfx)mtrace-tst-leaks): Likewise.
16582 ($(objpfx)mtrace-tst-leaks2): Likewise.
16583
16584 * scripts/merge-test-results.sh: New file.
16585 * Makefile (tests-special-notdir): New variable.
16586 (tests): Run merge-test-results.sh.
16587 (xtests): Likewise.
16588 * Rules (tests-special-notdir): New variable.
16589 (xtests-special-notdir): Likewise.
16590 (tests): Run merge-test-results.sh
16591 (xtests): Likewise.
16592
16593 * Makeconfig (test-xfail-name): New variable.
16594 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16595 compute variable name for expected failures.
16596 * conform/Makefile (conformtest-headers-data): New variable.
16597 (conformtest-standards): Likewise.
16598 (conformtest-headers-ISO): Likewise.
16599 (conformtest-headers-ISO99): Likewise.
16600 (conformtest-headers-ISO11): Likewise.
16601 (conformtest-headers-POSIX): Likewise.
16602 (conformtest-headers-XPG3): Likewise.
16603 (conformtest-headers-XPG4): Likewise.
16604 (conformtest-headers-UNIX98): Likewise.
16605 (conformtest-headers-XOPEN2K): Likewise.
16606 (conformtest-headers-POSIX2008): Likewise.
16607 (conformtest-headers-XOPEN2K8): Likewise.
16608 (conformtest-header-list-base): Likewise.
16609 (conformtest-header-list-tests): Likewise.
16610 (conformtest-header-base): Likewise.
16611 (conformtest-header-tests): Likewise.
16612 (tests-special): Add $(conformtest-header-list-tests). If
16613 [$(fast-check) && !$(cross-compiling)], add
16614 $(conformtest-header-tests) instead of
16615 $(objpfx)run-conformtest.out.
16616 (generated): Add $(conformtest-header-list-base). If
16617 [$(fast-check) && !$(cross-compiling)], add
16618 $(conformtest-header-base). Remove previous setting.
16619 ($(conformtest-header-list-tests)): New target.
16620 (test-xfail-run-conformtest): Remove variable.
16621 ($(objpfx)run-conformtest.out): Remove target.
16622 (test-xfail-ISO11/complex.h/conform): New variable.
16623 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16624 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16625 (test-xfail-XPG3/varargs.h/conform): Likewise.
16626 (test-xfail-XPG4/varargs.h/conform): Likewise.
16627 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16628 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16629 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16630 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16631 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16632 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16633 (test-xfail-XPG3/ftw.h/conform): Likewise.
16634 (test-xfail-XPG3/grp.h/conform): Likewise.
16635 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16636 (test-xfail-XPG3/limits.h/conform): Likewise.
16637 (test-xfail-XPG3/pwd.h/conform): Likewise.
16638 (test-xfail-XPG3/search.h/conform): Likewise.
16639 (test-xfail-XPG3/signal.h/conform): Likewise.
16640 (test-xfail-XPG3/stdio.h/conform): Likewise.
16641 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16642 (test-xfail-XPG3/string.h/conform): Likewise.
16643 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16644 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16645 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16646 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16647 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16648 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16649 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16650 (test-xfail-XPG3/termios.h/conform): Likewise.
16651 (test-xfail-XPG3/time.h/conform): Likewise.
16652 (test-xfail-XPG3/unistd.h/conform): Likewise.
16653 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16654 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16655 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16656 (test-xfail-XPG4/netdb.h/conform): Likewise.
16657 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16658 (test-xfail-XPG4/signal.h/conform): Likewise.
16659 (test-xfail-XPG4/stdio.h/conform): Likewise.
16660 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16661 (test-xfail-XPG4/stropts.h/conform): Likewise.
16662 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16663 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16664 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16665 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16666 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16667 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16668 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16669 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16670 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16671 (test-xfail-XPG4/termios.h/conform): Likewise.
16672 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16673 (test-xfail-XPG4/unistd.h/conform): Likewise.
16674 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16675 (test-xfail-POSIX/sched.h/conform): Likewise.
16676 (test-xfail-POSIX/signal.h/conform): Likewise.
16677 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16678 (test-xfail-POSIX/tar.h/conform): Likewise.
16679 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16680 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16681 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16682 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16683 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16684 (test-xfail-UNIX98/sched.h/conform): Likewise.
16685 (test-xfail-UNIX98/signal.h/conform): Likewise.
16686 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16687 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16688 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16689 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16690 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16691 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16692 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16693 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16694 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16695 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16696 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16697 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16698 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16699 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16700 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16701 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16702 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16703 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16704 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16705 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16706 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16707 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16708 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16709 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16710 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16711 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16712 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16713 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16714 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16715 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16716 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16717 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16718 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16719 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16720 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16721 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16722 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16723 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16724 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16725 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16726 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16727 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16728 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16729 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16730 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16731 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16732 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16733 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16734 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16735 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16736 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16737 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16738 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16739 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16740 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16741 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16742 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16743 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16744 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16745 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16746 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16747 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16748 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16749 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16750 (conformtest-cc-flags): Likewise.
16751 ($(conformtest-header-tests): New target.
16752 * conform/check-header-lists.sh: New file.
16753 * conform/run-conformtest.sh: Remove.
16754
16755 * conform/conformtest.pl: Allow ' and \ in values given for
16756 constants.
16757 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16758 inclusion.
16759 [POSIX] (sys/types.h): Likewise.
16760 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16761 inclusion.
16762 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16763 inclusion.
16764 * conform/data/signal.h-data (SIGIO): Remove expectation.
16765 [XPG3] (SIGBUS): Do not expect.
16766 [POSIX || XPG3] (SIGPOLL): Likewise.
16767 [POSIX || XPG3] (SIGPROF): Likewise.
16768 [POSIX || XPG3] (SIGSYS): Likewise.
16769 [XPG3] (SIGTRAP): Likewise.
16770 [POSIX || XPG3] (SIGURG): Likewise.
16771 [POSIX || XPG3] (SIGVTALRM): Likewise.
16772 [POSIX || XPG3] (SIGXCPU): Likewise.
16773 [POSIX || XPG3] (SIGXFSZ): Likewise.
16774 [POSIX] (SA_SIGINFO): Expect.
16775 [XPG3] (siginfo_t): Do not expect type or contents.
16776 [POSIX] (si_pid): Do not expect element.
16777 [POSIX] (si_uid): Likewise.
16778 [POSIX] (si_addr): Likewise.
16779 [POSIX] (si_status): Likewise.
16780 [POSIX] (si_band): Likewise.
16781 [XPG4] (si_value): Likewise.
16782 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16783 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16784 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16785 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16786 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16787 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16788 [POSIX || XPG3] (ILL_COPROC): Likewise.
16789 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16790 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16791 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16792 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16793 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16794 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16795 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16796 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16797 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16798 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16799 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16800 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16801 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16802 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16803 [POSIX || XPG3] (CLD_EXITED): Likewise.
16804 [POSIX || XPG3] (CLD_KILLED): Likewise.
16805 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16806 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16807 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16808 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16809 [POSIX || XPG3] (POLL_IN): Likewise.
16810 [POSIX || XPG3] (POLL_OUT): Likewise.
16811 [POSIX || XPG3] (POLL_MSG): Likewise.
16812 [POSIX || XPG3] (POLL_ERR): Likewise.
16813 [POSIX || XPG3] (POLL_PRI): Likewise.
16814 [POSIX || XPG3] (POLL_HUP): Likewise.
16815 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16816 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16817 (SIG*): Do not allow.
16818 [XPG3] (si_*): Likewise.
16819 [XPG3] (SI_*): Likewise.
16820 [XPG3 || XPG4] (sigev_*): Likewise.
16821 [XPG3 || XPG4] (SIGEV_*): Likewise.
16822 [XPG3 || XPG4] (sival_*): Likewise.
16823 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16824 [POSIX || XPG3] (BUS_*): Likewise.
16825 [POSIX || XPG3] (CLD_*): Likewise.
16826 [POSIX || XPG3] (FPE_*): Likewise.
16827 [POSIX || XPG3] (ILL_*): Likewise.
16828 [POSIX || XPG3] (POLL_*): Likewise.
16829 [POSIX || XPG3] (SEGV_*): Likewise.
16830 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16831 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16832 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16833 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16834 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16835 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16836 Specify type and value.
16837 (TVERSLEN): Likewise.
16838 (REGTYPE): Likewise.
16839 (AREGTYPE): Likewise.
16840 (LNKTYPE): Likewise.
16841 (SYMTYPE): Likewise.
16842 (CHRTYPE): Likewise.
16843 (BLKTYPE): Likewise.
16844 (DIRTYPE): Likewise.
16845 (FIFOTYPE): Likewise.
16846 (CONTTYPE): Likewise.
16847 (TSUID): Likewise.
16848 (TSGID): Likewise.
16849 (TSVTX): Likewise.
16850 (TUREAD): Likewise.
16851 (TUWRITE): Likewise.
16852 (TUEXEC): Likewise.
16853 (TGREAD): Likewise.
16854 (TGWRITE): Likewise.
16855 (TGEXEC): Likewise.
16856 (TOREAD): Likewise.
16857 (TOWRITE): Likewise.
16858 (TOEXEC): Likewise.
16859 [POSIX] (TSVTX): Expect constant.
16860
16861 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16862
16863 * Makefile (tests): Change dependencies to ....
16864 (tests-special): ... additions to this variable.
16865 (tests): Depend on $(tests-special).
16866 * Makerules (check-abi-list): New variable.
16867 (check-abi): Depend on $(check-abi-list).
16868 [$(subdir) = elf] (tests-special): Add
16869 $(objpfx)check-abi-libc.out.
16870 [$(build-shared) = yes && subdir] (tests-special): Add
16871 $(check-abi-list).
16872 [$(build-shared) = yes && subdir] (tests): Do not depend on
16873 check-abi.
16874 * Rules (tests): Depend on $(tests-special).
16875 (xtests): Depend on $(xtests-special).
16876 * catgets/Makefile (tests): Change dependencies to ....
16877 (tests-special): ... additions to this variable.
16878 * conform/Makefile (tests): Change dependencies to ....
16879 (tests-special): ... additions to this variable.
16880 * elf/Makefile (tests): Change dependencies to ....
16881 (tests-special): ... additions to this variable.
16882 * grp/Makefile (tests): Change dependencies to ....
16883 (tests-special): ... additions to this variable.
16884 * iconv/Makefile (xtests): Change dependencies to ....
16885 (xtests-special): ... additions to this variable.
16886 * iconvdata/Makefile (tests): Change dependencies to ....
16887 (tests-special): ... additions to this variable.
16888 * intl/Makefile (tests): Change dependencies to ....
16889 (tests-special): ... additions to this variable. Also add
16890 $(objpfx)tst-gettext.out.
16891 * io/Makefile (tests): Change dependencies to ....
16892 (tests-special): ... additions to this variable.
16893 * libio/Makefile (tests): Change dependencies to ....
16894 (tests-special): ... additions to this variable.
16895 * malloc/Makefile (tests): Change dependencies to ....
16896 (tests-special): ... additions to this variable.
16897 * misc/Makefile (tests): Change dependencies to ....
16898 (tests-special): ... additions to this variable.
16899 * nptl/Makefile (tests): Change dependencies to ....
16900 (tests-special): ... additions to this variable.
16901 * nptl_db/Makefile (tests): Change dependencies to ....
16902 (tests-special): ... additions to this variable.
16903 * posix/Makefile (tests): Change dependencies to ....
16904 (tests-special): ... additions to this variable.
16905 (xtests): Change dependencies to ....
16906 (xtests-special): ... additions to this variable.
16907 * resolv/Makefile (tests): Change dependencies to ....
16908 (tests-special): ... additions to this variable.
16909 (xtests): Change dependencies to ....
16910 (xtests-special): ... additions to this variable.
16911 * stdio-common/Makefile (tests): Change dependencies to ....
16912 (tests-special): ... additions to this variable.
16913 (do-tst-unbputc): Remove target.
16914 (do-tst-printf): Likewise.
16915 * stdlib/Makefile (tests): Change dependencies to ....
16916 (tests-special): ... additions to this variable.
16917 * string/Makefile (tests): Change dependencies to ....
16918 (tests-special): ... additions to this variable.
16919 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16920 (tests-special): ... additions to this variable.
16921
16922 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16923 whole file.
16924 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16925 whole file.
16926 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16927 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16928
16929 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16930 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16931 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16932 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16933 * conform/data/libgen.h-data [XPG3]: Likewise.
16934 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16935 * conform/data/ndbm.h-data [XPG3]: Likewise.
16936 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16937 * conform/data/netdb.h-data [XPG3]: Likewise.
16938 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16939 * conform/data/poll.h-data [XPG3]: Likewise.
16940 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16941 * conform/data/strings.h-data [XPG3]: Likewise.
16942 * conform/data/stropts.h-data [XPG3]: Likewise.
16943 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16944 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16945 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16946 Likewise.
16947 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16948 * conform/data/sys/time.h-data [XPG3]: Likewise.
16949 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16950 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16951 * conform/data/sys/un.h-data [XPG3]: Likewise.
16952 * conform/data/syslog.h-data [XPG3]: Likewise.
16953 * conform/data/ucontext.h-data [XPG3]: Likewise.
16954 * conform/data/utmpx.h-data [XPG3]: Likewise.
16955 * conform/data/varargs.h-data [UNIX98]: Enable file.
16956
16957 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16958
16959 * math/libm-test.inc (struct test_f_f_data): Move expected results
16960 into structure for each rounding mode.
16961 (struct test_ff_f_data): Likewise.
16962 (struct test_ff_f_data_nexttoward): Likewise.
16963 (struct test_fi_f_data): Likewise.
16964 (struct test_fl_f_data): Likewise.
16965 (struct test_if_f_data): Likewise.
16966 (struct test_fff_f_data): Likewise.
16967 (struct test_c_f_data): Likewise.
16968 (struct test_f_f1_data): Likewise.
16969 (struct test_fF_f1_data): Likewise.
16970 (struct test_ffI_f1_data): Likewise.
16971 (struct test_c_c_data): Likewise.
16972 (struct test_cc_c_data): Likewise.
16973 (struct test_f_i_data): Likewise.
16974 (struct test_ff_i_data): Likewise.
16975 (struct test_f_l_data): Likewise.
16976 (struct test_f_L_data): Likewise.
16977 (struct test_fFF_11_data): Likewise.
16978 (RM_): New macro.
16979 (RM_FE_DOWNWARD): Likewise.
16980 (RM_FE_TONEAREST): Likewise.
16981 (RM_FE_TOWARDZERO): Likewise.
16982 (RM_FE_UPWARD): Likewise.
16983 (RUN_TEST_LOOP_f_f): Update references to expected results.
16984 (RUN_TEST_LOOP_2_f): Likewise.
16985 (RUN_TEST_LOOP_fff_f): Likewise.
16986 (RUN_TEST_LOOP_c_f): Likewise.
16987 (RUN_TEST_LOOP_f_f1): Likewise.
16988 (RUN_TEST_LOOP_fF_f1): Likewise.
16989 (RUN_TEST_LOOP_fI_f1): Likewise.
16990 (RUN_TEST_LOOP_ffI_f1): Likewise.
16991 (RUN_TEST_LOOP_c_c): Likewise.
16992 (RUN_TEST_LOOP_cc_c): Likewise.
16993 (RUN_TEST_LOOP_f_i): Likewise.
16994 (RUN_TEST_LOOP_f_i_tg): Likewise.
16995 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16996 (RUN_TEST_LOOP_f_b): Likewise.
16997 (RUN_TEST_LOOP_f_b_tg): Likewise.
16998 (RUN_TEST_LOOP_f_l): Likewise.
16999 (RUN_TEST_LOOP_f_L): Likewise.
17000 (RUN_TEST_LOOP_fFF_11): Likewise.
17001 * math/gen-libm-test.pl (parse_args): Output four copies of
17002 expected results for each test.
17003
17004 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17005 (__ASSUME_UTIMES): Remove.
17006 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17007 (__ASSUME_UTIMES): Likewise.
17008
17009 * math/gen-auto-libm-tests.c: Update comment on output format.
17010 (output_for_one_input_case): Generate before-rounding and
17011 after-rounding information as conditions on output flags not
17012 floating-point format.
17013 * math/auto-libm-test-out: Regenerated.
17014 * math/gen-libm-test.pl (cond_value): New function.
17015 (or_cond_value): Use cond_value.
17016 (generate_testfile): Handle conditional exceptions.
17017
17018 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17019
17020 * math/libm-test.inc (max_valid_error): New variable.
17021 (init_max_error): Take new argument specifying whether function
17022 results are exactly determined. Set max_valid_error and bound
17023 other variables for errors based on this argument.
17024 (set_max_error): Do not record results above max_valid_error.
17025 (check_float_internal): Only accept errors of up to 0.5ulps if
17026 also at most max_valid_error.
17027 (START): Take new argument EXACT and pass it to init_max_error.
17028 (acos_test): Update call to START.
17029 (acos_test_tonearest): Likewise.
17030 (acos_test_towardzero): Likewise.
17031 (acos_test_downward): Likewise.
17032 (acos_test_upward): Likewise.
17033 (acosh_test): Likewise.
17034 (asin_test): Likewise.
17035 (asin_test_tonearest): Likewise.
17036 (asin_test_towardzero): Likewise.
17037 (asin_test_downward): Likewise.
17038 (asin_test_upward): Likewise.
17039 (asinh_test): Likewise.
17040 (atan_test): Likewise.
17041 (atanh_test): Likewise.
17042 (atan2_test): Likewise.
17043 (cabs_test): Likewise.
17044 (cacos_test): Likewise.
17045 (cacosh_test): Likewise.
17046 (carg_test): Likewise.
17047 (casin_test): Likewise.
17048 (casinh_test): Likewise.
17049 (catan_test): Likewise.
17050 (catanh_test): Likewise.
17051 (cbrt_test): Likewise.
17052 (ccos_test): Likewise.
17053 (ccosh_test): Likewise.
17054 (ceil_test): Likewise.
17055 (cexp_test): Likewise.
17056 (cimag_test): Likewise.
17057 (clog_test): Likewise.
17058 (clog10_test): Likewise.
17059 (conj_test): Likewise.
17060 (copysign_test): Likewise.
17061 (cos_test): Likewise.
17062 (cos_test_tonearest): Likewise.
17063 (cos_test_towardzero): Likewise.
17064 (cos_test_downward): Likewise.
17065 (cos_test_upward): Likewise.
17066 (cosh_test): Likewise.
17067 (cosh_test_tonearest): Likewise.
17068 (cosh_test_towardzero): Likewise.
17069 (cosh_test_downward): Likewise.
17070 (cosh_test_upward): Likewise.
17071 (cpow_test): Likewise.
17072 (cproj_test): Likewise.
17073 (creal_test): Likewise.
17074 (csin_test): Likewise.
17075 (csinh_test): Likewise.
17076 (csqrt_test): Likewise.
17077 (ctan_test): Likewise.
17078 (ctan_test_tonearest): Likewise.
17079 (ctan_test_towardzero): Likewise.
17080 (ctan_test_downward): Likewise.
17081 (ctan_test_upward): Likewise.
17082 (ctanh_test): Likewise.
17083 (ctanh_test_tonearest): Likewise.
17084 (ctanh_test_towardzero): Likewise.
17085 (ctanh_test_downward): Likewise.
17086 (ctanh_test_upward): Likewise.
17087 (erf_test): Likewise.
17088 (erfc_test): Likewise.
17089 (exp_test): Likewise.
17090 (exp_test_tonearest): Likewise.
17091 (exp_test_towardzero): Likewise.
17092 (exp_test_downward): Likewise.
17093 (exp_test_upward): Likewise.
17094 (exp10_test): Likewise.
17095 (exp10_test_tonearest): Likewise.
17096 (exp10_test_towardzero): Likewise.
17097 (exp10_test_downward): Likewise.
17098 (exp10_test_upward): Likewise.
17099 (pow10_test): Likewise.
17100 (exp2_test): Likewise.
17101 (expm1_test): Likewise.
17102 (expm1_test_tonearest): Likewise.
17103 (expm1_test_towardzero): Likewise.
17104 (expm1_test_downward): Likewise.
17105 (expm1_test_upward): Likewise.
17106 (fabs_test): Likewise.
17107 (fdim_test): Likewise.
17108 (floor_test): Likewise.
17109 (fma_test): Likewise.
17110 (fma_test_towardzero): Likewise.
17111 (fma_test_downward): Likewise.
17112 (fma_test_upward): Likewise.
17113 (fmax_test): Likewise.
17114 (fmin_test): Likewise.
17115 (fmod_test): Likewise.
17116 (fpclassify_test): Likewise.
17117 (frexp_test): Likewise.
17118 (hypot_test): Likewise.
17119 (ilogb_test): Likewise.
17120 (isfinite_test): Likewise.
17121 (finite_test): Likewise.
17122 (isgreater_test): Likewise.
17123 (isgreaterequal_test): Likewise.
17124 (isinf_test): Likewise.
17125 (isless_test): Likewise.
17126 (islessequal_test): Likewise.
17127 (islessgreater_test): Likewise.
17128 (isnan_test): Likewise.
17129 (isnormal_test): Likewise.
17130 (issignaling_test): Likewise.
17131 (isunordered_test): Likewise.
17132 (j0_test): Likewise.
17133 (j1_test): Likewise.
17134 (jn_test): Likewise.
17135 (ldexp_test): Likewise.
17136 (lgamma_test): Likewise.
17137 (gamma_test): Likewise.
17138 (lrint_test): Likewise.
17139 (lrint_test_tonearest): Likewise.
17140 (lrint_test_towardzero): Likewise.
17141 (lrint_test_downward): Likewise.
17142 (lrint_test_upward): Likewise.
17143 (llrint_test): Likewise.
17144 (llrint_test_tonearest): Likewise.
17145 (llrint_test_towardzero): Likewise.
17146 (llrint_test_downward): Likewise.
17147 (llrint_test_upward): Likewise.
17148 (log_test): Likewise.
17149 (log10_test): Likewise.
17150 (log1p_test): Likewise.
17151 (log2_test): Likewise.
17152 (logb_test): Likewise.
17153 (logb_test_downward): Likewise.
17154 (lround_test): Likewise.
17155 (llround_test): Likewise.
17156 (modf_test): Likewise.
17157 (nearbyint_test): Likewise.
17158 (nextafter_test): Likewise.
17159 (nexttoward_test): Likewise.
17160 (pow_test): Likewise.
17161 (pow_test_tonearest): Likewise.
17162 (pow_test_towardzero): Likewise.
17163 (pow_test_downward): Likewise.
17164 (pow_test_upward): Likewise.
17165 (remainder_test): Likewise.
17166 (drem_test): Likewise.
17167 (remainder_test_tonearest): Likewise.
17168 (drem_test_tonearest): Likewise.
17169 (remainder_test_towardzero): Likewise.
17170 (drem_test_towardzero): Likewise.
17171 (remainder_test_downward): Likewise.
17172 (drem_test_downward): Likewise.
17173 (remainder_test_upward): Likewise.
17174 (drem_test_upward): Likewise.
17175 (remquo_test): Likewise.
17176 (rint_test): Likewise.
17177 (rint_test_tonearest): Likewise.
17178 (rint_test_towardzero): Likewise.
17179 (rint_test_downward): Likewise.
17180 (rint_test_upward): Likewise.
17181 (round_test): Likewise.
17182 (scalb_test): Likewise.
17183 (scalbn_test): Likewise.
17184 (scalbln_test): Likewise.
17185 (signbit_test): Likewise.
17186 (sin_test): Likewise.
17187 (sin_test_tonearest): Likewise.
17188 (sin_test_towardzero): Likewise.
17189 (sin_test_downward): Likewise.
17190 (sin_test_upward): Likewise.
17191 (sincos_test): Likewise.
17192 (sinh_test): Likewise.
17193 (sinh_test_tonearest): Likewise.
17194 (sinh_test_towardzero): Likewise.
17195 (sinh_test_downward): Likewise.
17196 (sinh_test_upward): Likewise.
17197 (sqrt_test): Likewise.
17198 (sqrt_test_tonearest): Likewise.
17199 (sqrt_test_towardzero): Likewise.
17200 (sqrt_test_downward): Likewise.
17201 (sqrt_test_upward): Likewise.
17202 (tan_test): Likewise.
17203 (tan_test_tonearest): Likewise.
17204 (tan_test_towardzero): Likewise.
17205 (tan_test_downward): Likewise.
17206 (tan_test_upward): Likewise.
17207 (tanh_test): Likewise.
17208 (tgamma_test): Likewise.
17209 (trunc_test): Likewise.
17210 (y0_test): Likewise.
17211 (y1_test): Likewise.
17212 (yn_test): Likewise.
17213 (significand_test): Likewise.
17214
17215 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17216 individual tests in comment.
17217 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17218 (prev_max_error): New variable.
17219 (prev_real_max_error): Likewise.
17220 (prev_imag_max_error): Likewise.
17221 (compare_ulp_data): Don't refer to test names in comment.
17222 (find_test_ulps): Remove function.
17223 (find_function_ulps): Likewise.
17224 (find_complex_function_ulps): Likewise.
17225 (init_max_error): Take function name as argument. Look up ulps
17226 for that function.
17227 (print_ulps): Remove function.
17228 (print_max_error): Use prev_max_error instead of calling
17229 find_function_ulps.
17230 (print_complex_max_error): Use prev_real_max_error and
17231 prev_imag_max_error instead of calling find_complex_function_ulps.
17232 (check_float_internal): Take max_ulp parameter instead of calling
17233 find_test_ulps. Don't call print_ulps.
17234 (check_float): Update call to check_float_internal.
17235 (check_complex): Update calls to check_float_internal.
17236 (START): Pass argument to init_max_error.
17237 * math/gen-libm-test.pl (%results): Don't include "kind"
17238 information.
17239 (parse_ulps): Don't handle ulps of individual tests.
17240 (print_ulps_file): Likewise.
17241 (output_ulps): Likewise.
17242 * math/README.libm-test: Update.
17243 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17244 individual tests.
17245 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17246 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17247 * sysdeps/arm/libm-test-ulps: Likewise.
17248 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17249 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17250 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17251 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17252 * sysdeps/microblaze/libm-test-ulps: Likewise.
17253 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17254 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17255 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17256 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17257 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17258 * sysdeps/sh/libm-test-ulps: Likewise.
17259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17260 * sysdeps/tile/libm-test-ulps: Likewise.
17261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17262
17263 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17264
17265 * math/libm-test.inc (print_complex_max_error): Check separately
17266 whether real and imaginary errors are within allowed range and
17267 pass 0 to print_complex_function_ulps instead of value within
17268 allowed range.
17269
17270 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17271
17272 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17273 formatting.
17274 (get_handles_fopen): Likewise.
17275 (do_write_test): Likewise.
17276
17277 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17278
17279 * libio/fileops.c (do_ftell): Use cached offset when
17280 available.
17281 * libio/iofwide.c (do_ftell_wide): Likewise.
17282 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17283 _IO_file_attach.
17284 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17285
17286 [BZ #16532]
17287 * libio/libioP.h (get_file_offset): New function.
17288 * libio/fileops.c (get_file_offset): Likewise.
17289 (do_ftell): Likewise.
17290 (_IO_new_file_seekoff): Split out ftell logic.
17291 * libio/wfileops.c (do_ftell_wide): Likewise.
17292 (_IO_wfile_seekoff): Split out ftell logic.
17293 * libio/tst-ftell-active-handler.c: New test case.
17294 * libio/Makefile (tests): Add it.
17295
17296 2014-03-03 Roland McGrath <roland@hack.frob.com>
17297
17298 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17299 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17300
17301 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17302
17303 [BZ #16639]
17304 * nscd/connections.c (nscd_init): Call do_exit.
17305 (start_threads): Call do_exit and notify_parent.
17306 (begin_drop_privileges): Call do_exit.
17307 (finish_drop_privileges): Likewise.
17308 * nscd/selinux.c (preserve_capabilities): Likewise.
17309 (install_real_capabilities): Likewise.
17310 (nscd_selinux_enabled): Likewise.
17311 (avc_create_thread): Likewise.
17312 (avc_alloc_lock): Likewise.
17313 (nscd_avc_init): Likewise.
17314 * nscd/nscd.c (parent_fd): New static variable.
17315 (main): Create a pipe between parent and child processes.
17316 Skip closing parent_fd.
17317 (monitor_child): New function.
17318 (do_exit): Likewise.
17319 (notify_parent): Likewise.
17320 * nscd/nscd.h (notify_parent): Likewise.
17321 (do_exit): Likewise.
17322
17323 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17324
17325 * malloc/malloc.c (__libc_calloc): Revert last change.
17326
17327 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17328
17329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17330
17331 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17332
17333 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17334 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17335 implementation.
17336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17337 (__libc_ifunc_impl_list): Likewise.
17338 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17339 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17340 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17341 * string/strrchr.c: Define STRRCHR.
17342
17343 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17344
17345 * benchtest/bench-strtok.c (simple_strtok): Delete.
17346 (strtok_string): Use as benchmark.
17347 * string/strtok (STRTOK): New macro.
17348
17349 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17350
17351 * manual/threads.texi: Add header and standard comments to all
17352 functions.
17353
17354 * elf/dl-lookup.c (check_match): New function.
17355 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17356 (do_lookup_x): Remove nested function check_match. Use non-nested
17357 function check_match.
17358
17359 2014-02-28 Roland McGrath <roland@hack.frob.com>
17360
17361 * csu/Makefile (generated, before-compile): Use += rather than =.
17362 * catgets/Makefile (generated, generated-dirs): Likewise.
17363 * debug/Makefile (generated): Likewise.
17364 * dlfcn/Makefile (generated): Likewise.
17365 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17366 * iconvdata/Makefile (before-compile, generated): Likewise.
17367 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17368 * libio/Makefile (generated): Likewise.
17369 * malloc/Makefile (generated): Likewise.
17370 * manual/Makefile (generated, generated-dirs): Likewise.
17371 * misc/Makefile (generated): Likewise.
17372 * posix/Makefile (generated): Likewise.
17373 * resolv/Makefile (generated): Likewise.
17374 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17375 * timezone/Makefile (generated, generated-dirs): Likewise.
17376
17377 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17378
17379 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17380
17381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17382 power8 implementation.
17383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17384 file: POWER8 llround ifunc implementation.
17385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17386 (__lllround): Add POWER8 implementation.
17387 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17388 POWER8 llround implementation.
17389
17390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17391 power8 implementation.
17392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17393 file: POWER8 llrint ifunc implementation.
17394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17395 Add POWER8 implementation.
17396 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17397 POWER8 llrint implementation.
17398
17399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17400 power8 implementation.
17401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17402 file: POWER8 finite ifunc implementation.
17403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17404 Add POWER8 implementation.
17405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17406 Likewise.
17407 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17408 POWER8 finite implementation.
17409 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17410
17411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17412 power8 implementation.
17413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17414 file: POWER8 isinf ifunc implementation.
17415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17416 POWER8 implementation.
17417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17418 Likewise.
17419 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17420 isinf implementation.
17421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17422
17423 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17424 (INIT_ARCH): Add hwcap2 initialization.
17425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17426 power8 implementation.
17427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17428 file: POWER8 isnan ifunc implementation.
17429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17430 POWER8 implementation.
17431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17432 Likewise.
17433 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17434 isnan implementation.
17435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17436
17437 2014-02-27 Joey Ye <joey.ye@arm.com>
17438
17439 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17440 (_FP_NANFRAC_Q): Set to zero.
17441
17442 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17443
17444 [BZ #16623]
17445 * math/auto-libm-test-in: New test inputs.
17446 * math/auto-libm-test-out: Regenerate.
17447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17448 and DA.
17449 (__cos): Likewise.
17450 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17451
17452 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17453
17454 * scripts/evaluate-test.sh: Take new argument indicating whether
17455 failure is expected.
17456 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17457 indicating whether failure is expected.
17458 * conform/Makefile (test-xfail-run-conformtest): New variable.
17459 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17460 level.
17461 * posix/Makefile (test-xfail-annexc): New variable.
17462 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17463
17464 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17465
17466 * argp/Makefile: Include Makeconfig immediately after defining
17467 subdir.
17468 * assert/Makefile: Likewise.
17469 * benchtests/Makefile: Likewise.
17470 * catgets/Makefile: Likewise.
17471 * conform/Makefile: Likewise.
17472 * crypt/Makefile: Likewise.
17473 * csu/Makefile: Likewise.
17474 (all): Remove target.
17475 * ctype/Makefile: Include Makeconfig immediately after defining
17476 subdir.
17477 * debug/Makefile: Likewise.
17478 * dirent/Makefile: Likewise.
17479 * dlfcn/Makefile: Likewise.
17480 * gmon/Makefile: Likewise.
17481 * gnulib/Makefile: Likewise.
17482 * grp/Makefile: Likewise.
17483 * gshadow/Makefile: Likewise.
17484 * hesiod/Makefile: Likewise.
17485 * hurd/Makefile: Likewise.
17486 (all): Remove target.
17487 * iconvdata/Makefile: Include Makeconfig immediately after
17488 defining subdir.
17489 * inet/Makefile: Likewise.
17490 * intl/Makefile: Likewise.
17491 * io/Makefile: Likewise.
17492 * libio/Makefile: Likewise.
17493 (all): Remove target.
17494 * locale/Makefile: Include Makeconfig immediately after defining
17495 subdir.
17496 * login/Makefile: Likewise.
17497 * mach/Makefile: Likewise.
17498 (all): Remove target.
17499 * malloc/Makefile: Include Makeconfig immediately after defining
17500 subdir.
17501 (all): Remove target.
17502 * manual/Makefile: Include Makeconfig immediately after defining
17503 subdir.
17504 * math/Makefile: Likewise.
17505 * misc/Makefile: Likewise.
17506 * nis/Makefile: Likewise.
17507 * nss/Makefile: Likewise.
17508 * po/Makefile: Likewise.
17509 (all): Remove target.
17510 * posix/Makefile: Include Makeconfig immediately after defining
17511 subdir.
17512 * pwd/Makefile: Likewise.
17513 * resolv/Makefile: Likewise.
17514 * resource/Makefile: Likewise.
17515 * rt/Makefile: Likewise.
17516 * setjmp/Makefile: Likewise.
17517 * shadow/Makefile: Likewise.
17518 * signal/Makefile: Likewise.
17519 * socket/Makefile: Likewise.
17520 * soft-fp/Makefile: Likewise.
17521 * stdio-common/Makefile: Likewise.
17522 * stdlib/Makefile: Likewise.
17523 * streams/Makefile: Likewise.
17524 * string/Makefile: Likewise.
17525 * sunrpc/Makefile: Likewise.
17526 (all): Remove target.
17527 * sysvipc/Makefile: Include Makeconfig immediately after defining
17528 subdir.
17529 * termios/Makefile: Likewise.
17530 * time/Makefile: Likewise.
17531 * timezone/Makefile: Likewise.
17532 (all): Remove target.
17533 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17534 subdir.
17535 * wctype/Makefile: Likewise.
17536
17537 2014-02-26 Steve Ellcey <sellcey@mips.com>
17538
17539 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17540 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17541 (libc_feholdexcept_setround_mips): Ditto.
17542 (libc_feholdsetround): New.
17543 (libc_feholdsetroundf): New.
17544 (libc_feholdsetroundl): New.
17545 (libc_feupdateenv_test_mips): New.
17546 (libc_feupdateenv_test): New.
17547 (libc_feupdateenv_testf): New.
17548 (libc_feupdateenv_testl): New.
17549 (libc_feresetround): New.
17550 (libc_feresetroundf): New.
17551 (libc_feresetroundl): New.
17552 (libc_fetestexcept_mips): New.
17553 (libc_fetestexcept): New.
17554 (libc_fetestexceptf): New.
17555 (libc_fetestexceptl): New.
17556 (HAVE_RM_CTX): New.
17557 (libc_feholdexcept_setround_mips_ctx): New.
17558 (libc_feholdexcept_setround_ctx): New.
17559 (libc_feholdexcept_setroundf_ctx): New.
17560 (libc_feholdexcept_setroundl_ctx): New.
17561 (libc_fesetenv_mips_ctx): New.
17562 (libc_fesetenv_ctx): New.
17563 (libc_fesetenv_ctxf): New.
17564 (libc_fesetenv_ctxl): New.
17565 (libc_feupdateenv_mips_ctx): New.
17566 (libc_feupdateenv_ctx): New.
17567 (libc_feupdateenvf_ctx): New.
17568 (libc_feupdateenvl_ctx): New.
17569 (libc_feholdsetround_mips_ctx): New.
17570 (libc_feholdsetround_ctx): New.
17571 (libc_feholdsetroundf_ctx): New.
17572 (libc_feholdsetroundl_ctx): New.
17573 (libc_feresetround_mips_ctx): New.
17574 (libc_feresetround_ctx): New.
17575 (libc_feresetroundf_ctx): New.
17576 (libc_feresetroundl_ctx): New.
17577
17578 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17579
17580 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17581
17582 * manual/ipc.texi: New file.
17583 * manual/Makefile (chapters): Add ipc.
17584 * manual/job.texi: Add "Inter-Process Communication" to next.
17585 * manual/process.texi: Add "Inter-Process Communication" to prev.
17586
17587 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17588
17589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17590
17591 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17592
17593 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17594
17595 * manual/arith.texi: Fix spaces after sentences.
17596 * manual/charset.texi: Likewise.
17597 * manual/errno.texi: Likewise.
17598 * manual/install.texi: Likewise.
17599 * manual/llio.texi: Likewise.
17600 * manual/locale.texi: Likewise.
17601 * manual/maint.texi: Likewise.
17602 * manual/math.texi: Likewise.
17603 * manual/memory.texi: Likewise.
17604 * manual/message.texi: Likewise.
17605 * manual/probes.texi: Likewise.
17606 * manual/resource.texi: Likewise.
17607 * manual/signal.texi: Likewise.
17608 * manual/socket.texi: Likewise.
17609 * manual/stdio.texi: Likewise.
17610 * manual/string.texi: Likewise.
17611 * manual/time.texi: Likewise.
17612 * manual/users.texi: Likewise.
17613
17614 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17615
17616 [BZ #16632]
17617 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17618 _DEFAULT_SOURCE is defined.
17619
17620 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17621 Carlos O'Donell <carlos@redhat.com>
17622
17623 [BZ #16613]
17624 * elf/dl-tls.c (_dl_count_modids): New function.
17625 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17626 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17627 audit library and increment generation counter.
17628 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17629 * elf/tst-audit9.c: New file.
17630 * elf/tst-auditmod9a.c: New file.
17631 * elf/tst-auditmod9b.c: New file.
17632 * elf/Makefile: Add rules to build and run tst-audit9.
17633
17634 2014-02-25 Florian Weimer <fweimer@redhat.com>
17635
17636 [BZ #15347]
17637 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17638
17639 2014-02-25 Will Newton <will.newton@linaro.org>
17640
17641 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17642 (__longjmp): Restore sp and lr before restoring callee
17643 saved registers. Add longjmp and longjmp_target
17644 SystemTap probe point.
17645 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17646 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17647 Define to zero to match jmpbuf layout.
17648 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17649 (__sigsetjmp): Save sp and lr before saving callee
17650 saved registers. Add setjmp SystemTap probe point.
17651
17652 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17653
17654 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17655
17656 2014-02-24 Andreas Schwab <schwab@suse.de>
17657
17658 [BZ #15804]
17659 * elf/pldd.c (wait_for_ptrace_stop): New function.
17660 (main): Call it after attaching.
17661
17662 2014-02-22 Roland McGrath <roland@hack.frob.com>
17663
17664 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17665 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17666 Versions files is now verboten.
17667 * hurd/Versions (libc: GLIBC_2.0):
17668 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17669 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17670 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17671 * mach/Versions: Likewise.
17672
17673 * csu/Versions: Remove unused %include.
17674 * resolv/Versions: Likewise.
17675
17676 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17677
17678 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17679 ($(objpfx)check-local-headers.out): Likewise.
17680 ($(objpfx)begin-end-check.out): Likewise.
17681 * Makerules (check-abi-%.out): Likewise.
17682 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17683 ($(objpfx)test2.cat): Likewise.
17684 ($(objpfx)de/libc.cat): Likewise.
17685 ($(objpfx)test-gencat.out): Likewise.
17686 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17687 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17688 ($(objpfx)noload-mem): Likewise.
17689 ($(objpfx)tst-pathopt.out): Likewise.
17690 ($(objpfx)tst-rtld-load-self.out): Likewise.
17691 ($(objpfx)tst-array1-cmp.out): Likewise.
17692 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17693 ($(objpfx)tst-array2-cmp.out): Likewise.
17694 ($(objpfx)tst-array3-cmp.out): Likewise.
17695 ($(objpfx)tst-array4-cmp.out): Likewise.
17696 ($(objpfx)tst-array5-cmp.out): Likewise.
17697 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17698 ($(objpfx)check-textrel.out): Likewise.
17699 ($(objpfx)check-execstack.out): Likewise.
17700 ($(objpfx)check-localplt.out): Likewise.
17701 ($(objpfx)order2-cmp.out): Likewise.
17702 ($(objpfx)tst-leaks1-mem): Likewise.
17703 ($(objpfx)tst-leaks1-static-mem): Likewise.
17704 ($(objpfx)tst-initorder-cmp.out): Likewise.
17705 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17706 ($(objpfx)tst-unused-dep.out): Likewise.
17707 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17708 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17709 * iconv/Makefile (test-iconvconfig): Likewise.
17710 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17711 ($(objpfx)iconv-test.out): Likewise.
17712 ($(objpfx)tst-tables.out): Likewise.
17713 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17714 ($(objpfx)tst-gettext.out): Likewise.
17715 ($(objpfx)tst-translit.out): Likewise.
17716 ($(objpfx)tst-gettext2.out): Likewise.
17717 ($(objpfx)tst-gettext4.out): Likewise.
17718 ($(objpfx)tst-gettext6.out): Likewise.
17719 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17720 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17721 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17722 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17723 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17724 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17725 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17726 ($(objpfx)wordexp-tst.out): Likewise.
17727 ($(objpfx)annexc.out): Likewise.
17728 ($(objpfx)tst-fnmatch-mem): Likewise.
17729 ($(objpfx)bug-regex2-mem): Likewise.
17730 ($(objpfx)bug-regex14-mem): Likewise.
17731 ($(objpfx)bug-regex21-mem): Likewise.
17732 ($(objpfx)bug-regex31-mem): Likewise.
17733 ($(objpfx)tst-vfork3-mem): Likewise.
17734 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17735 ($(objpfx)tst-pcre-mem): Likewise.
17736 ($(objpfx)tst-boost-mem): Likewise.
17737 ($(objpfx)tst-getconf.out): Likewise.
17738 ($(objpfx)bug-ga2-mem): Likewise.
17739 ($(objpfx)bug-glob2-mem): Likewise.
17740 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17741 ($(objpfx)mtrace-tst-leaks2): Likewise.
17742 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17743 ($(objpfx)tst-printf.out): Likewise.
17744 ($(objpfx)tst-setvbuf1.out): Likewise.
17745 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17746 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17747 ($(objpfx)tst-fmtmsg.out): Likewise.
17748 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17749 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17750
17751 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17752 * bits/sigaction.h [__USE_MISC]: Likewise.
17753 * bits/waitstatus.h: Update #endif comments.
17754 * ctype/ctype.h: Likewise.
17755 * dirent/dirent.h: Likewise.
17756 [__USE_MISC]: Remove redundant conditionals.
17757 * grp/grp.h: Update #endif comments.
17758 [__USE_GNU]: Remove redundant conditionals.
17759 [__USE_MISC]: Likewise.
17760 * inet/netinet/in.h [__USE_GNU]: Likewise.
17761 * io/sys/stat.h [__USE_MISC]: Likewise.
17762 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17763 * libio/bits/stdio.h: Update #endif comments.
17764 [__USE_MISC]: Remove redundant conditionals.
17765 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17766 * libio/stdio.h: Update #endif comments.
17767 [__USE_MISC]: Remove redundant conditionals.
17768 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17769 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17770 * math/math.h: Update #else and #endif comments.
17771 [__USE_MISC]: Remove redundant conditionals.
17772 * misc/sys/uio.h: Update #endif comments.
17773 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17774 * posix/glob.h [__USE_MISC]: Likewise.
17775 * posix/sys/types.h: Update #endif comments.
17776 [__USE_MISC]: Remove redundant conditionals.
17777 * posix/sys/wait.h: Update #endif comments.
17778 [__USE_MISC]: Remove redundant conditionals.
17779 * posix/unistd.h: Update #endif comments.
17780 [__USE_MISC]: Remove redundant conditionals.
17781 * pwd/pwd.h [__USE_GNU]: Likewise.
17782 [__USE_MISC]: Likewise.
17783 * resolv/netdb.h [__USE_GNU]: Likewise.
17784 * signal/signal.h: Update #endif comments.
17785 [__USE_MISC]: Remove redundant conditionals.
17786 * stdlib/stdlib.h: Update #else and #endif comments.
17787 [__USE_MISC]: Remove redundant conditionals.
17788 [__USE_GNU]: Likewise.
17789 * string/bits/string2.h [__USE_MISC]: Likewise.
17790 * string/string.h: Update #endif comments.
17791 [__USE_MISC]: Remove redundant conditionals.
17792 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17793 Likewise.
17794 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17795 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17796 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17797 Likewise.
17798 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17799 Likewise.
17800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17801 comments.
17802 [__USE_MISC]: Remove redundant conditionals.
17803 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17804 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17805 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17806 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17807 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17808 Likewise.
17809 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17810 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17811 Likewise.
17812 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17813 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17814 Likewise.
17815 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17816 Likewise.
17817 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17818 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17819 Likewise.
17820 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17821 Likewise.
17822 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17823 * sysdeps/x86/bits/string.h: Update #endif comments.
17824 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17825 conditionals.
17826 * time/sys/time.h: Update #endif comments.
17827 * time/time.h: Likewise.
17828 [__USE_MISC]: Remove redundant conditionals.
17829
17830 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17831
17832 [BZ #16600]
17833 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17834
17835 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17836
17837 * Versions.def (librt): Add GLIBC_2.17.
17838
17839 2014-02-21 Adam Conrad <adconrad@0c3.net>
17840
17841 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17842 synonym for _SYS_AUXV_H to allow direct inclusion.
17843 * sysdeps/sparc/bits/hwcap.h: Likewise.
17844 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17845 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17846 * sysdeps/sparc/sysdep.h: Likewise.
17847
17848 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17849
17850 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17851
17852 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17853
17854 * benchtests/bench-strrchr.c: Print length instead of position.
17855
17856 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17857
17858 [BZ #16611]
17859 * sysdeps/unix/sysv/linux/kernel-features.h
17860 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17861 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17862 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17863 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17864 Likewise.
17865 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17866 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17867 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17868 (__ASSUME_SENDMMSG): Define instead of using previous
17869 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17870 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17871 (__ASSUME_SENDMMSG_SYSCALL): Define.
17872 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17873 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17874 Likewise.
17875 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17876 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17877 Likewise.
17878 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17879 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17880 Likewise.
17881 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17882 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17883 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17884 [__ASSUME_SENDMMSG]: Change conditionals to
17885 [__ASSUME_SENDMMSG_SOCKETCALL].
17886 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17887 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17888 Define.
17889 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17890 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17891 Likewise.
17892 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17893 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17894 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17895 [!__ASSUME_SENDMMSG]: Change conditional to
17896 [!__ASSUME_SENDMMSG_SOCKETCALL].
17897 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17898 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17899 Define.
17900
17901 [BZ #16610]
17902 * sysdeps/unix/sysv/linux/kernel-features.h
17903 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17904 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17905 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17906 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17907 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17908 [__i386__ || __sparc__]
17909 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17910 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17911 (__ASSUME_RECVMMSG): Define instead of using previous
17912 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17913 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17914 (__ASSUME_RECVMMSG_SYSCALL): Define.
17915 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17916 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17917 Likewise.
17918 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17919 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17920 Likewise.
17921 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17922 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17923 Likewise.
17924 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17925 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17926 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17927 [__ASSUME_RECVMMSG]: Change condition to
17928 [__ASSUME_RECVMMSG_SOCKETCALL].
17929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17931 Define.
17932 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17933 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17934 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17935 Likewise.
17936 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17937 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17938 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17939 [!__ASSUME_RECVMMSG]: Change condition to
17940 [!__ASSUME_RECVMMSG_SOCKETCALL].
17941 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17942 (__ASSUME_RECVMMSG_SYSCALL): Define.
17943
17944 [BZ #16609]
17945 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17946 __powerpc__ || __s390__ || __sh__ || __sparc__]
17947 (__ASSUME_SOCKETCALL): Define.
17948 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17949 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17950 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17951 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17952 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17953 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17954 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17955 (__ASSUME_ACCEPT4): Define instead of using previous
17956 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17957 __powerpc__ || __sparc__ || __s390__)] condition.
17958 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17959 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17960 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17961 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17962 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17963 [!__ASSUME_ACCEPT4]: Change condition to
17964 [!__ASSUME_ACCEPT4_SOCKETCALL].
17965 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17967 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17968 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17969 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17970 __ASSUME_ACCEPT4_SYSCALL.
17971 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17972 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17973 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17974 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17975 __ASSUME_ACCEPT4_SYSCALL.
17976 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17977 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17978 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17979 [__ASSUME_ACCEPT4]: Change condition to
17980 [__ASSUME_ACCEPT4_SOCKETCALL].
17981 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17982 (__ASSUME_SOCKETCALL): Define.
17983 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17985 (__ASSUME_SOCKETCALL): Define.
17986 (__ASSUME_ACCEPT4): Remove.
17987 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17988 Define.
17989 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17990 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17991 Likewise.
17992 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17993 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17994
17995 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17996 macro.
17997 (HWCAP_ARM_LPAE): Likewise.
17998 (HWCAP_ARM_EVTSTRM): Likewise.
17999 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18000 Add vpfd32, lpae and evtstrm.
18001 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18002 Increase to 22.
18003
18004 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18005
18006 * math/auto-libm-test-in: Add tests of clog10.
18007 * math/auto-libm-test-out: Regenerated.
18008 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18009 * sysdeps/i386/fpu/libm-test-ulps: Update.
18010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18011
18012 2014-02-18 Andreas Schwab <schwab@suse.de>
18013
18014 [BZ #16574]
18015 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18016 Store non-zero if the second buffer was newly allocated.
18017 (send_dg): Likewise.
18018 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18019 to send_vc and send_dg.
18020 (res_nsend): Pass NULL for ansp2_malloced.
18021 * resolv/res_query.c (__libc_res_nquery): Add parameter
18022 answerp2_malloced and pass it down to __libc_res_nsend.
18023 (res_nquery): Pass additional NULL to __libc_res_nquery.
18024 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18025 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18026 second answer buffer if answerp2_malloced was set.
18027 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18028 (__libc_res_nquerydomain): Add parameter
18029 answerp2_malloced and pass it down to __libc_res_nquery.
18030 (res_nquerydomain): Pass additional NULL to
18031 __libc_res_nquerydomain.
18032 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18033 additional NULL to __libc_res_nsend and __libc_res_nquery.
18034 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18035 additional NULL to __libc_res_nsearch.
18036 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18037 parameter of __libc_res_nsearch to check for separately allocated
18038 second buffer.
18039 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18040 __libc_res_nquery.
18041 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18042 additional NULL to __libc_res_nquery.
18043 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18044 __libc_res_nsearch.
18045 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18046 * include/resolv.h: Update prototypes of __libc_res_nquery,
18047 __libc_res_nsearch, __libc_res_nsend.
18048
18049 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18050
18051 * math/auto-libm-test-in: Add tests of fma.
18052 * math/auto-libm-test-out: Regenerated.
18053 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18054 (fma_towardzero_test_data): Likewise.
18055 (fma_downward_test_data): Likewise.
18056 (fma_upward_test_data): Likewise.
18057 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18058 mpc_mode.
18059 (rounding_modes): Add values for new field.
18060 (func_calc_method): Add value mpfr_fff_f.
18061 (func_calc_desc): Add mpfr_fff_f union field.
18062 (test_function): Add field exact_args.
18063 (FUNC): Add macro argument EXACT_ARGS.
18064 (FUNC_mpfr_f_f): Update call to FUNC.
18065 (FUNC_mpfr_f_f): Likewise.
18066 (FUNC_mpfr_ff_f): Likewise.
18067 (FUNC_mpfr_if_f): Likewise.
18068 (FUNC_mpc_c_f): Likewise.
18069 (FUNC_mpc_c_c): Likewise.
18070 (test_functions): Add fma. Update calls to FUNC.
18071 (handle_input_arg): Add argument exact_args.
18072 (add_test): Update call to handle_input_arg.
18073 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18074 (output_for_one_input_case): Update call to calc_generic_results.
18075 Recalculate exact zero results in each rounding mode.
18076
18077 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18078 non-negative before setting low bit.
18079 * math/auto-libm-test-in: Mark one asin test possibly having
18080 spurious underflow.
18081 * math/auto-libm-test-out: Regenerated.
18082 * sysdeps/i386/fpu/libm-test-ulps: Update.
18083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18084
18085 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18086
18087 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18088 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18089 ports/sysdeps/unix/sysv/linux/microblaze.
18090 * README: Add missing listing for microblaze*-*-linux-gnu.
18091
18092 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18093
18094 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18095 duplicate code
18096
18097 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18098
18099 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18100 * sysdeps/unix/sysv/linux/ia64: Move directory from
18101 ports/sysdeps/unix/sysv/linux/ia64.
18102 * README: Update listing for ia64-*-linux-gnu.
18103
18104 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18105 Joseph Myers <joseph@codesourcery.com>
18106
18107 * Makeconfig (test-name): New variable.
18108 (evaluate-test): Likewise.
18109 * Makerules (do-test-clean): Remove .test-result files.
18110 (common-mostlyclean): Likewise.
18111 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18112 * scripts/evaluate-test.sh: New file.
18113
18114 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18115
18116 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18117 separate $(objpfx)tst-fopenloc-cmp.out and
18118 $(objpfx)tst-fopenloc-mem.out targets.
18119 (tests): Update dependencies.
18120 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18121 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18122 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18123 (tst-rxspencer-no-utf8-ARGS): New variable.
18124 (tst-rxspencer-no-utf8-ENV): Likewise.
18125 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18126 instead of $(objpfx)tst-rxspencer-mem.
18127 ($(objpfx)tst-rxspencer-mem): Change target to
18128 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18129 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18130 * posix/tst-rxspencer-no-utf8.c: New file.
18131
18132 * elf/Makefile ($(objpfx)order.out): Remove rule.
18133 [$(run-built-tests) = yes] (tests): Depend on
18134 $(objpfx)order-cmp.out.
18135 ($(objpfx)order-cmp.out): New rule.
18136 [$(run-built-tests) = yes] (tests): Depend on
18137 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18138 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18139 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18140 $(objpfx)tst-array5-static-cmp.out.
18141 ($(objpfx)tst-array1.out): Remove rule.
18142 ($(objpfx)tst-array1-cmp.out): New rule.
18143 ($(objpfx)tst-array1-static.out): Remove rule.
18144 ($(objpfx)tst-array1-static-cmp.out): New rule.
18145 ($(objpfx)tst-array2.out): Remove rule.
18146 ($(objpfx)tst-array2-cmp.out): New rule.
18147 ($(objpfx)tst-array3.out): Remove rule.
18148 ($(objpfx)tst-array3-cmp.out): New rule.
18149 ($(objpfx)tst-array4.out): Remove rule.
18150 ($(objpfx)tst-array4-cmp.out): New rule.
18151 ($(objpfx)tst-array5.out): Remove rule.
18152 ($(objpfx)tst-array5-cmp.out): New rule.
18153 ($(objpfx)tst-array5-static.out): Remove rule.
18154 ($(objpfx)tst-array5-static-cmp.out): New rule.
18155 [$(run-built-tests) = yes] (tests): Depend on
18156 $(objpfx)order2-cmp.out.
18157 ($(objpfx)order2.out): Remove rule.
18158 ($(objpfx)order2-cmp.out): New rule.
18159 ($(objpfx)tst-initorder.out): Remove rule.
18160 [$(run-built-tests) = yes] (tests): Depend on
18161 $(objpfx)tst-initorder-cmp.out.
18162 ($(objpfx)tst-initorder-cmp.out): New rule.
18163 ($(objpfx)tst-initorder2.out): Remove rule.
18164 [$(run-built-tests) = yes] (tests): Depend on
18165 $(objpfx)tst-initorder2-cmp.out.
18166 ($(objpfx)tst-initorder2-cmp.out): New rule.
18167 [$(run-built-tests) = yes] (tests): Depend on
18168 $(objpfx)tst-unused-dep-cmp.out.
18169 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18170 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18171 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18172 on $(objpfx)tst-setvbuf1-cmp.out.
18173 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18174 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18175 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18176 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18177 ($(objpfx)tst-svc.out): Remove rule.
18178 ($(objpfx)tst-svc-cmp.out): New rule.
18179
18180 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18181
18182 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18183 * ctype/ctype.h [__USE_MISC]: Likewise.
18184 * dirent/dirent.h [__USE_MISC]: Likewise.
18185 * grp/grp.h [__USE_MISC]: Likewise.
18186 * io/fcntl.h [__USE_MISC]: Likewise.
18187 * io/sys/stat.h [__USE_MISC]: Likewise.
18188 * libio/stdio.h [__USE_MISC]: Likewise.
18189 * posix/unistd.h [__USE_MISC]: Likewise.
18190 * pwd/pwd.h [__USE_MISC]: Likewise.
18191 * stdlib.h [__USE_MISC]: Likewise.
18192 * string/bits/string2.h [__USE_MISC]: Likewise.
18193 * string/string.h [__USE_MISC]: Likewise.
18194 * time/time.h [__USE_MISC]: Likewise.
18195
18196 2014-02-13 Andreas Schwab <schwab@suse.de>
18197
18198 [BZ #16574]
18199 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18200 second answer buffer if it was separately allocated.
18201
18202 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18203
18204 * sysdeps/mips/math-tests.h: Include <features.h>.
18205 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18206 (ROUNDING_TESTS_long_double): Do not define.
18207 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18208 (EXCEPTION_TESTS_long_double): Likewise.
18209 * sysdeps/mips/mips64/libm-test-ulps: Update.
18210
18211 * include/features.h (__USE_BSD): Remove macro definitions.
18212 (__USE_SVID): Likewise.
18213 (_BSD_SOURCE): Likewise.
18214 (_SVID_SOURCE): Likewise.
18215 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18216 from definition of _DEFAULT_SOURCE.
18217 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18218 [_DEFAULT_SOURCE].
18219 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18220 * bits/mman.h [__USE_BSD]: Likewise.
18221 * bits/termios.h [__USE_BSD]: Likewise.
18222 * bits/waitstatus.h [__USE_BSD]: Likewise.
18223 * ctype/ctype.h [__USE_SVID]: Likewise.
18224 * dirent/dirent.h [__USE_BSD]: Likewise.
18225 * grp/grp.h [__USE_SVID]: Likewise.
18226 [__USE_BSD]: Likewise.
18227 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18228 * io/fcntl.h [__USE_BSD]: Likewise.
18229 * io/ftw.h [__USE_BSD]: Likewise.
18230 * io/sys/stat.h [__USE_BSD]: Likewise.
18231 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18232 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18233 * libio/stdio.h [__USE_SVID]: Likewise.
18234 [__USE_BSD]: Likewise.
18235 * math/math.h [__USE_SVID]: Likewise.
18236 [__USE_BSD]: Likewise.
18237 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18238 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18239 * misc/search.h [__USE_SVID]: Likewise.
18240 * misc/sys/mman.h [__USE_BSD]: Likewise.
18241 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18242 * misc/sys/uio.h [__USE_BSD]: Likewise.
18243 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18244 * posix/glob.h [__USE_BSD]: Likewise.
18245 * posix/regex.h [__USE_BSD]: Likewise.
18246 * posix/sys/types.h [__USE_BSD]: Likewise.
18247 [__USE_SVID]: Likewise.
18248 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18249 * posix/sys/wait.h [__USE_BSD]: Likewise.
18250 [__USE_SVID]: Likewise.
18251 * posix/unistd.h [__USE_BSD]: Likewise.
18252 [__USE_SVID]: Likewise.
18253 * pwd/pwd.h [__USE_SVID]: Likewise.
18254 * resolv/netdb.h [__USE_BSD]: Likewise.
18255 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18256 * signal/signal.h [__USE_BSD]: Likewise.
18257 [__USE_SVID]: Likewise.
18258 * socket/sys/socket.h [__USE_BSD]: Likewise.
18259 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18260 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18261 [__USE_SVID]: Likewise.
18262 * string/bits/string2.h [__USE_BSD]: Likewise.
18263 [__USE_SVID]: Likewise.
18264 * string/bits/string3.h [__USE_BSD]: Likewise.
18265 * string/endian.h [__USE_BSD]: Likewise.
18266 * string/string.h [__USE_SVID]: Likewise.
18267 [__USE_BSD]: Likewise.
18268 * string/strings.h [__USE_BSD]: Likewise.
18269 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18270 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18271 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18272 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18273 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18274 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18275 Likewise.
18276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18277 Likewise.
18278 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18279 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18280 Likewise.
18281 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18282 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18283 Likewise.
18284 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18285 Likewise.
18286 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18287 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18288 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18289 Likewise.
18290 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18291 Likewise.
18292 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18293 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18294 * termios/termios.h [__USE_BSD]: Likewise.
18295 * time/sys/time.h [__USE_BSD]: Likewise.
18296 * time/time.h [__USE_BSD]: Likewise.
18297 [__USE_SVID]: Likewise.
18298
18299 * Makefile (subdir_targets): Remove subdir_lint.out.
18300
18301 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18302 (do-tst-printf): Likewise.
18303 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18304 $(objpfx)tst-printf.out.
18305
18306 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18307
18308 * Makerules (check-abi-%): Change target to
18309 $(objpfx)check-abi-%.out.
18310 (check-abi target): Update dependencies.
18311 (check-abi-pattern variable): Redirect output of diff to $@.
18312 (check-abi variable): Likewise.
18313 * elf/Makefile (check-abi): Update dependencies.
18314
18315 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18316 unused.
18317 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18318 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18319 subnormal range.
18320 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18321 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18322 value has largest subnormal exponent.
18323 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18324 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18325 * sysdeps/aarch64/soft-fp/sfp-machine.h
18326 (_FP_TININESS_AFTER_ROUNDING): New macro.
18327 * sysdeps/alpha/soft-fp/sfp-machine.h
18328 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18329 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18330 Likewise.
18331 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18332 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18333 * sysdeps/mips/soft-fp/sfp-machine.h
18334 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18335 * sysdeps/powerpc/soft-fp/sfp-machine.h
18336 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18337 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18338 Likewise.
18339 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18340 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18341 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18342 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18343 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18344 Likewise.
18345
18346 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18347
18348 [BZ #16545]
18349 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18350 model 1.
18351
18352 2014-02-12 Richard Henderson <rth@redhat.com>
18353
18354 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18355 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18356 * sysdeps/unix/sysv/linux/alpha: Move directory from
18357 ports/sysdeps/unix/sysv/linux/alpha.
18358 * README: Update listing for alpha-*-linux-gnu.
18359
18360 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18361
18362 * include/features.h: Update comment documenting feature test
18363 macros.
18364 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18365 _DEFAULT_SOURCE.
18366 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18367 (_SVID_SOURCE): Likewise.
18368 (_DEFAULT_SOURCE): Update description of default features.
18369 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18370 with _GNU_SOURCE.
18371 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18372 (S_ISVTX): Likewise.
18373 * manual/math.texi (Mathematical Constants): Likewise.
18374 * manual/signal.texi (Interrupted Primitives): Likewise.
18375 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18376 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18377 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18378 Don't refer to _SVID_SOURCE in warning text.
18379
18380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18381
18382 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18383 already defined.
18384 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18385 * sysdeps/mips/dl-lookup.c: Remove.
18386 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18387
18388 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18389
18390 [BZ #16447]
18391 * math/auto-libm-test-in: Add testcase for expl.
18392 * math/auto-libm-test-out: Regenerate.
18393 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18394 calculation of unsafe.
18395 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18396
18397 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18398
18399 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18400 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18401 ports/sysdeps/unix/sysv/linux/aarch64.
18402 * README: Update listing for aarch64*-*-linux-gnu.
18403
18404 2014-02-11 Will Newton <will.newton@linaro.org>
18405
18406 * manual/probes.texi (Mathematical Function Probes): Use
18407 "triggered" instead of "hit".
18408
18409 * manual/probes.texi (Internal Probes): Add documentation
18410 of setjmp, longjmp and longjmp_target probes.
18411
18412 * include/stap-probe.h: Add comment about probe argument
18413 format.
18414
18415 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18416 definition. (tr_where, tr_freehook, tr_mallochook,
18417 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18418
18419 2014-02-11 David S. Miller <davem@davemloft.net>
18420
18421 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18422 processing int_tests.
18423
18424 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18425
18426 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18427 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18428 * sysdeps/unix/sysv/linux/mips: Move directory from
18429 ports/sysdeps/unix/sysv/linux/mips.
18430 * README: Update listing for mips-*-linux-gnu and
18431 mips64-*-linux-gnu.
18432
18433 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18434
18435 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18436 * sysdeps/unix/sysv/linux/m68k: Move directory from
18437 ports/sysdeps/unix/sysv/linux/m68k.
18438 * README: Update listing for m68k-*-linux-gnu.
18439
18440 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18441
18442 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18443 * sysdeps/unix/sysv/linux/generic: Move directory from
18444 ports/sysdeps/unix/sysv/linux/generic.
18445 * sysdeps/unix/sysv/linux/tile: Move directory from
18446 ports/sysdeps/unix/sysv/linux/tile.
18447 * README: Update listing for tile*-*-linux-gnu.
18448
18449 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18450
18451 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18452 __builtin_expect.
18453 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18454 * catgets/open_catalog.c (__open_catalog): Likewise.
18455 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18456 * debug/confstr_chk.c: Likewise.
18457 * debug/fread_chk.c (__fread_chk): Likewise.
18458 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18459 * debug/getgroups_chk.c: Likewise.
18460 * debug/mbsnrtowcs_chk.c: Likewise.
18461 * debug/mbsrtowcs_chk.c: Likewise.
18462 * debug/mbstowcs_chk.c: Likewise.
18463 * debug/memcpy_chk.c: Likewise.
18464 * debug/memmove_chk.c: Likewise.
18465 * debug/mempcpy_chk.c: Likewise.
18466 * debug/memset_chk.c: Likewise.
18467 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18468 * debug/strcat_chk.c (__strcat_chk): Likewise.
18469 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18470 * debug/strncat_chk.c (__strncat_chk): Likewise.
18471 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18472 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18473 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18474 * debug/wcpncpy_chk.c: Likewise.
18475 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18476 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18477 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18478 * debug/wcsncpy_chk.c: Likewise.
18479 * debug/wcsnrtombs_chk.c: Likewise.
18480 * debug/wcsrtombs_chk.c: Likewise.
18481 * debug/wcstombs_chk.c: Likewise.
18482 * debug/wmemcpy_chk.c: Likewise.
18483 * debug/wmemmove_chk.c: Likewise.
18484 * debug/wmempcpy_chk.c: Likewise.
18485 * debug/wmemset_chk.c: Likewise.
18486 * dirent/scandirat.c (SCANDIRAT): Likewise.
18487 * dlfcn/dladdr1.c (dladdr1): Likewise.
18488 * dlfcn/dladdr.c (dladdr): Likewise.
18489 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18490 * dlfcn/dlerror.c (__dlerror): Likewise.
18491 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18492 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18493 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18494 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18495 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18496 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18497 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18498 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18499 Likewise.
18500 * elf/dl-conflict.c: Likewise.
18501 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18502 * elf/dl-dst.h: Likewise.
18503 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18504 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18505 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18506 * elf/dl-init.c (call_init, _dl_init): Likewise.
18507 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18508 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18509 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18510 Likewise.
18511 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18512 Likewise.
18513 * elf/dl-minimal.c (__libc_memalign): Likewise.
18514 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18515 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18516 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18517 * elf/dl-sym.c (do_sym): Likewise.
18518 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18519 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18520 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18521 * elf/dl-writev.h (_dl_writev): Likewise.
18522 * elf/ldconfig.c (search_dir): Likewise.
18523 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18524 (dl_main): Likewise.
18525 * elf/setup-vdso.h (setup_vdso): Likewise.
18526 * grp/compat-initgroups.c (compat_call): Likewise.
18527 * grp/fgetgrent.c (fgetgrent): Likewise.
18528 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18529 * grp/putgrent.c (putgrent): Likewise.
18530 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18531 Likewise.
18532 * hurd/hurdinit.c: Likewise.
18533 * iconvdata/8bit-gap.c (struct): Likewise.
18534 * iconvdata/ansi_x3.110.c : Likewise.
18535 * iconvdata/big5.c : Likewise.
18536 * iconvdata/big5hkscs.c : Likewise.
18537 * iconvdata/cp1255.c: Likewise.
18538 * iconvdata/cp1258.c : Likewise.
18539 * iconvdata/cp932.c : Likewise.
18540 * iconvdata/euc-cn.c: Likewise.
18541 * iconvdata/euc-jisx0213.c : Likewise.
18542 * iconvdata/euc-jp.c: Likewise.
18543 * iconvdata/euc-jp-ms.c : Likewise.
18544 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18545 * iconvdata/gb18030.c : Likewise.
18546 * iconvdata/gbbig5.c (const): Likewise.
18547 * iconvdata/gbgbk.c: Likewise.
18548 * iconvdata/gbk.c : Likewise.
18549 * iconvdata/ibm1364.c : Likewise.
18550 * iconvdata/ibm930.c : Likewise.
18551 * iconvdata/ibm932.c: Likewise.
18552 * iconvdata/ibm933.c : Likewise.
18553 * iconvdata/ibm935.c : Likewise.
18554 * iconvdata/ibm937.c : Likewise.
18555 * iconvdata/ibm939.c : Likewise.
18556 * iconvdata/ibm943.c: Likewise.
18557 * iconvdata/iso_11548-1.c: Likewise.
18558 * iconvdata/iso-2022-cn.c : Likewise.
18559 * iconvdata/iso-2022-cn-ext.c : Likewise.
18560 * iconvdata/iso-2022-jp-3.c: Likewise.
18561 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18562 * iconvdata/iso-2022-kr.c : Likewise.
18563 * iconvdata/iso646.c (gconv_end): Likewise.
18564 * iconvdata/iso_6937-2.c : Likewise.
18565 * iconvdata/iso_6937.c : Likewise.
18566 * iconvdata/iso8859-1.c: Likewise.
18567 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18568 * iconvdata/shift_jisx0213.c : Likewise.
18569 * iconvdata/sjis.c : Likewise.
18570 * iconvdata/t.61.c : Likewise.
18571 * iconvdata/tcvn5712-1.c : Likewise.
18572 * iconvdata/tscii.c: Likewise.
18573 * iconvdata/uhc.c : Likewise.
18574 * iconvdata/unicode.c (gconv_end): Likewise.
18575 * iconvdata/utf-16.c (gconv_end): Likewise.
18576 * iconvdata/utf-32.c (gconv_end): Likewise.
18577 * iconvdata/utf-7.c (base64): Likewise.
18578 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18579 * iconv/gconv_close.c (__gconv_close): Likewise.
18580 * iconv/gconv_open.c (__gconv_open): Likewise.
18581 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18582 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18583 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18584 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18585 (ucs4le_internal_loop_single): Likewise.
18586 * iconv/iconv.c (iconv): Likewise.
18587 * iconv/iconv_close.c: Likewise.
18588 * iconv/loop.c (SINGLE): Likewise.
18589 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18590 * include/atomic.h: Likewise.
18591 * inet/inet6_option.c (option_alloc): Likewise.
18592 * intl/bindtextdom.c (set_binding_values): Likewise.
18593 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18594 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18595 * intl/localealias.c (read_alias_file): Likewise.
18596 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18597 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18598 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18599 * libio/fmemopen.c (fmemopen): Likewise.
18600 * libio/iofgets.c (_IO_fgets): Likewise.
18601 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18602 * libio/iofgetws.c (fgetws): Likewise.
18603 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18604 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18605 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18606 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18607 * locale/findlocale.c (_nl_find_locale): Likewise.
18608 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18609 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18610 Likewise.
18611 * locale/setlocale.c (setlocale): Likewise.
18612 * login/programs/pt_chown.c (main): Likewise.
18613 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18614 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18615 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18616 (mmap, mmap64, mremap, munmap): Likewise.
18617 * math/e_exp2l.c: Likewise.
18618 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18619 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18620 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18621 * math/s_catan.c (__catan): Likewise.
18622 * math/s_catanf.c (__catanf): Likewise.
18623 * math/s_catanh.c (__catanh): Likewise.
18624 * math/s_catanhf.c (__catanhf): Likewise.
18625 * math/s_catanhl.c (__catanhl): Likewise.
18626 * math/s_catanl.c (__catanl): Likewise.
18627 * math/s_ccosh.c (__ccosh): Likewise.
18628 * math/s_ccoshf.c (__ccoshf): Likewise.
18629 * math/s_ccoshl.c (__ccoshl): Likewise.
18630 * math/s_cexp.c (__cexp): Likewise.
18631 * math/s_cexpf.c (__cexpf): Likewise.
18632 * math/s_cexpl.c (__cexpl): Likewise.
18633 * math/s_clog10.c (__clog10): Likewise.
18634 * math/s_clog10f.c (__clog10f): Likewise.
18635 * math/s_clog10l.c (__clog10l): Likewise.
18636 * math/s_clog.c (__clog): Likewise.
18637 * math/s_clogf.c (__clogf): Likewise.
18638 * math/s_clogl.c (__clogl): Likewise.
18639 * math/s_csin.c (__csin): Likewise.
18640 * math/s_csinf.c (__csinf): Likewise.
18641 * math/s_csinh.c (__csinh): Likewise.
18642 * math/s_csinhf.c (__csinhf): Likewise.
18643 * math/s_csinhl.c (__csinhl): Likewise.
18644 * math/s_csinl.c (__csinl): Likewise.
18645 * math/s_csqrt.c (__csqrt): Likewise.
18646 * math/s_csqrtf.c (__csqrtf): Likewise.
18647 * math/s_csqrtl.c (__csqrtl): Likewise.
18648 * math/s_ctan.c (__ctan): Likewise.
18649 * math/s_ctanf.c (__ctanf): Likewise.
18650 * math/s_ctanh.c (__ctanh): Likewise.
18651 * math/s_ctanhf.c (__ctanhf): Likewise.
18652 * math/s_ctanhl.c (__ctanhl): Likewise.
18653 * math/s_ctanl.c (__ctanl): Likewise.
18654 * math/w_pow.c: Likewise.
18655 * math/w_powf.c: Likewise.
18656 * math/w_powl.c: Likewise.
18657 * math/w_scalb.c (sysv_scalb): Likewise.
18658 * math/w_scalbf.c (sysv_scalbf): Likewise.
18659 * math/w_scalbl.c (sysv_scalbl): Likewise.
18660 * misc/error.c (error_tail): Likewise.
18661 * misc/pselect.c (__pselect): Likewise.
18662 * nis/nis_callback.c (__nis_create_callback): Likewise.
18663 * nis/nis_call.c (__nisfind_server): Likewise.
18664 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18665 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18666 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18667 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18668 * nis/nis_lookup.c (nis_lookup): Likewise.
18669 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18670 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18671 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18672 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18673 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18674 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18675 * nis/nss_compat/compat-initgroups.c (add_group)
18676 (internal_getgrent_r): Likewise.
18677 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18678 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18679 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18680 (internal_getspnam_r): Likewise.
18681 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18682 (_nss_nis_getaliasbyname_r): Likewise.
18683 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18684 (_nss_nis_getntohost_r): Likewise.
18685 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18686 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18687 (_nss_nis_getgrgid_r): Likewise.
18688 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18689 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18690 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18691 (_nss_nis_gethostbyname4_r): Likewise.
18692 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18693 (initgroups_netid): Likewise.
18694 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18695 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18696 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18697 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18698 (_nss_nis_getprotobynumber_r): Likewise.
18699 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18700 (_nss_nis_getsecretkey): Likewise.
18701 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18702 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18703 (_nss_nis_getpwuid_r): Likewise.
18704 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18705 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18706 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18707 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18708 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18709 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18710 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18711 Likewise.
18712 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18713 (_nss_nisplus_getntohost_r): Likewise.
18714 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18715 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18716 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18717 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18718 Likewise.
18719 * nis/nss_nisplus/nisplus-initgroups.c
18720 (_nss_nisplus_initgroups_dyn): Likewise.
18721 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18722 (_nss_nisplus_getnetbyaddr_r): Likewise.
18723 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18724 (_nss_nisplus_getprotobynumber_r): Likewise.
18725 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18726 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18727 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18728 Likewise.
18729 * nis/nss_nisplus/nisplus-service.c
18730 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18731 (_nss_nisplus_getservbyport_r): Likewise.
18732 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18733 (_nss_nisplus_getspnam_r): Likewise.
18734 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18735 Likewise.
18736 * nscd/aicache.c (addhstaiX): Likewise.
18737 * nscd/cache.c (cache_search, prune_cache): Likewise.
18738 * nscd/connections.c (register_traced_file, send_ro_fd)
18739 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18740 (main_loop_epoll): Likewise.
18741 * nscd/grpcache.c (addgrbyX): Likewise.
18742 * nscd/hstcache.c (addhstbyX): Likewise.
18743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18744 * nscd/mem.c (gc, mempool_alloc): Likewise.
18745 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18746 (addinnetgrX): Likewise.
18747 * nscd/nscd-client.h (__nscd_acquire_maplock)
18748 (__nscd_drop_map_ref): Likewise.
18749 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18750 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18751 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18752 Likewise.
18753 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18754 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18755 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18756 (__nscd_get_map_ref): Likewise.
18757 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18758 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18759 Likewise.
18760 * nscd/pwdcache.c (addpwbyX): Likewise.
18761 * nscd/selinux.c (preserve_capabilities): Likewise.
18762 * nscd/servicescache.c (addservbyX): Likewise.
18763 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18764 * posix/fnmatch.c (fnmatch): Likewise.
18765 * posix/getopt.c (_getopt_internal_r): Likewise.
18766 * posix/glob.c (glob, glob_in_dir): Likewise.
18767 * posix/wordexp.c (exec_comm_child): Likewise.
18768 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18769 (getanswer_r, gaih_getanswer_slice): Likewise.
18770 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18771 * resolv/res_init.c: Likewise.
18772 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18773 * resolv/res_query.c (__libc_res_nquery): Likewise.
18774 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18775 Likewise.
18776 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18777 * stdio-common/perror.c (perror): Likewise.
18778 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18779 * stdio-common/tmpnam.c (tmpnam): Likewise.
18780 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18781 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18782 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18783 Likewise.
18784 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18785 * stdlib/putenv.c (putenv): Likewise.
18786 * stdlib/setenv.c (__add_to_environ): Likewise.
18787 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18788 * stdlib/strtol_l.c (INTERNAL): Likewise.
18789 * string/memmem.c (memmem): Likewise.
18790 * string/strerror.c (strerror): Likewise.
18791 * string/strnlen.c (__strnlen): Likewise.
18792 * string/test-memmem.c (simple_memmem): Likewise.
18793 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18794 * sunrpc/pm_getport.c (__get_socket): Likewise.
18795 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18796 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18797 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18798 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18799 Likewise.
18800 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18801 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18802 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18803 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18804 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18805 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18806 Likewise.
18807 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18808 Likewise.
18809 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18810 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18811 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18812 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18813 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18815 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18816 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18817 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18818 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18819 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18820 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18821 Likewise.
18822 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18823 Likewise.
18824 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18825 Likewise.
18826 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18827 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18828 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18830 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18831 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18832 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18839 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18841 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18842 Likewise.
18843 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18844 Likewise.
18845 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18846 Likewise.
18847 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18848 Likewise.
18849 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18850 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18851 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18852 Likewise.
18853 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18854 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18855 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18856 * sysdeps/posix/sleep.c: Likewise.
18857 * sysdeps/posix/tempname.c: Likewise.
18858 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18859 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18860 Likewise.
18861 * sysdeps/powerpc/powerpc32/dl-machine.h
18862 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18863 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18865 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18866 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18867 Likewise.
18868 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18870 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18872 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18873 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18874 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18875 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18876 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18877 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18879 (elf_machine_lazy_rel): Likewise.
18880 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18882 (elf_machine_lazy_rel): Likewise.
18883 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18884 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18885 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18886 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18887 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18888 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18889 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18890 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18891 Likewise.
18892 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18893 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18894 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18895 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18896 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18897 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18898 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18899 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18900 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18901 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18902 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18903 Likewise.
18904 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18905 (__posix_fallocate64_l64): Likewise.
18906 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18907 (posix_fallocate): Likewise.
18908 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18909 Likewise.
18910 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18911 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18912 (getifaddrs_internal): Likewise.
18913 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18914 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18915 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18916 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18917 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18918 (__posix_fallocate64_l64): Likewise.
18919 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18920 Likewise.
18921 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18922 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18923 (__get_clockfreq): Likewise.
18924 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18925 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18926 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18927 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18928 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18929 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18930 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18931 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18932 Likewise.
18933 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18934 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18935 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18936 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18937 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18938 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18939 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18940 Likewise.
18941 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18942 (posix_fallocate): Likewise.
18943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18944 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18945 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18946 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18947 (elf_machine_rela, elf_machine_rela_relative)
18948 (elf_machine_lazy_rel): Likewise.
18949 * time/asctime.c (asctime_internal): Likewise.
18950 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18951 * time/tzset.c (__tzset_parse_tz): Likewise.
18952 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18953 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18954 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18955 * wcsmbs/wcsmbsload.h: Likewise.
18956
18957 [BZ #15894]
18958 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18959
18960 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18961 (arena_get2): Remove THREAD_STATS conditionals.
18962 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18963 (__malloc_stats, int): Likewise.
18964
18965 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18966
18967 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18968 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18969
18970 * manual/setjmp.texi: Fix typos/grammar errors.
18971
18972 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18973 Only return early when n is <= 0. Delete unused return statement.
18974
18975 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18976 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18977 * debug/tst-longjmp_chk3.c: New file.
18978
18979 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18980 (test_main): Replace code with set_fortify_handler call.
18981 * debug/test-strcpy_chk.c: Likewise.
18982 * debug/tst-chk1.c: Likewise.
18983 * debug/tst-longjmp_chk.c: Likewise.
18984 * test-skeleton.c: Include fcntl.h & paths.h
18985 (set_fortify_handler): Define.
18986
18987 * debug/tst-longjmp_chk.c: Add header comment and include
18988 ../test-skeleton.c.
18989 (do_test): Mark static.
18990 (TEST_FUNCTION): Define.
18991
18992 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18993 (IP_PMTUDISC_INTERFACE): Likewise.
18994 (IP_MULTICAST_IF): Likewise.
18995 (IP_MULTICAST_TTL): Likewise.
18996 (IP_MULTICAST_LOOP): Likewise.
18997 (IP_ADD_MEMBERSHIP): Likewise.
18998 (IP_DROP_MEMBERSHIP): Likewise.
18999 (IP_UNBLOCK_SOURCE): Likewise.
19000 (IP_BLOCK_SOURCE): Likewise.
19001 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19002 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19003 (IP_MSFILTER): Likewise.
19004 (MCAST_JOIN_GROUP): Likewise.
19005 (MCAST_BLOCK_SOURCE): Likewise.
19006 (MCAST_UNBLOCK_SOURCE): Likewise.
19007 (MCAST_LEAVE_GROUP): Likewise.
19008 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19009 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19010 (MCAST_MSFILTER): Likewise.
19011 (IP_MULTICAST_ALL): Likewise.
19012 (IP_UNICAST_IF): Likewise.
19013
19014 * timezone/Makefile: Delete $(have-ksh) check.
19015 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19016 * timezone/tzselect.ksh: Add +x mode bits.
19017
19018 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19019 (ANON_INODE_FS_MAGIC): Likewise.
19020 (BDEVFS_MAGIC): Likewise.
19021 (BINFMTFS_MAGIC): Likewise.
19022 (BTRFS_TEST_MAGIC): Likewise.
19023 (CRAMFS_MAGIC_WEND): Likewise.
19024 (DEBUGFS_MAGIC): Likewise.
19025 (ECRYPTFS_SUPER_MAGIC): Likewise.
19026 (EXT3_SUPER_MAGIC): Likewise.
19027 (EXT4_SUPER_MAGIC): Likewise.
19028 (FUTEXFS_SUPER_MAGIC): Likewise.
19029 (HOSTFS_SUPER_MAGIC): Likewise.
19030 (HUGETLBFS_MAGIC): Likewise.
19031 (MINIX3_SUPER_MAGIC): Likewise.
19032 (MTD_INODE_FS_MAGIC): Likewise.
19033 (NILFS_SUPER_MAGIC): Likewise.
19034 (OPENPROM_SUPER_MAGIC): Likewise.
19035 (PIPEFS_MAGIC): Likewise.
19036 (PSTOREFS_MAGIC): Likewise.
19037 (QNX6_SUPER_MAGIC): Likewise.
19038 (RAMFS_MAGIC): Likewise.
19039 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19040 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19041 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19042 (SECURITYFS_MAGIC): Likewise.
19043 (SELINUX_MAGIC): Likewise.
19044 (SMACK_MAGIC): Likewise.
19045 (SOCKFS_MAGIC): Likewise.
19046 (SQUASHFS_MAGIC): Likewise.
19047 (STACK_END_MAGIC): Likewise.
19048 (TMPFS_MAGIC): Likewise.
19049 (USBDEVICE_SUPER_MAGIC): Likewise.
19050 (V9FS_MAGIC): Likewise.
19051 (XENFS_SUPER_MAGIC): Likewise.
19052 (CRAMFS_MAGIC): Fix typo in comment.
19053 (EXT2_SUPER_MAGIC): Update comment.
19054 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19055
19056 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19057
19058 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19059 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19060 * sysdeps/unix/sysv/linux/arm: Move directory from
19061 ports/sysdeps/unix/sysv/linux/arm.
19062 * README: Update listing for arm-*-linux-gnueabi.
19063
19064 * README: Remove mention of am33.
19065
19066 2014-02-07 Roland McGrath <roland@hack.frob.com>
19067
19068 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19069 than the comma operator, to avoid "rhs of comma has no effect"
19070 compiler warnings.
19071 (__sigfillset, __sigandset, __sigorset): Likewise.
19072 * include/signal.h (__sigemptyset): Likewise.
19073 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19074
19075 2014-02-07 Allan McRae <allan@archlinux.org>
19076
19077 * version.h (RELEASE): Set to "development".
19078 (VERSION): Set to "2.19.90"
19079 * NEWS: Add 2.20 section.
19080
19081 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19082
19083 [BZ #16529]
19084 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19085
19086 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19087
19088 * manual/contrib.texi: Update entry for Carlos O'Donell,
19089 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19090
19091 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19092
19093 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19094
19095 * sysdeps/unix/sysv/linux/kernel-features.h
19096 [__LINUX_KERNEL_VERSION >= 0x020621]
19097 (__ASSUME_PROC_PID_TASK_COMM): Define.
19098
19099 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19100
19101 [BZ #16398]
19102 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19103 conversion when destination buffer does not have enough space.
19104 * libio/tst-ftell-partial-wide.c: New test case.
19105 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19106
19107 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19108 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19109 Leonard and Allan McRae.
19110
19111 2014-02-04 David S. Miller <davem@davemloft.net>
19112
19113 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19114 32-bit.
19115
19116 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19117
19118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19119 New file
19120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19121 New file
19122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19123 New file.
19124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19125 New file.
19126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19127 New file.
19128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19129 New file.
19130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19131 New file.
19132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19133 New file.
19134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19135 New file.
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19137 New file.
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19139 New file.
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19141 New file.
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19143 New file.
19144
19145 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19146
19147 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19148 * shlib-versions: Likewise.
19149
19150 2014-02-04 Roland McGrath <roland@hack.frob.com>
19151 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19152
19153 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19154 (abilist-pattern): New variable, set to %-le.abilist.
19155
19156 * Makerules (abilist-pattern): New variable.
19157 (vpath): Use $(abilist-pattern) in place of %.abilist.
19158 (check-abi-% pattern rule): Likewise.
19159 (check-abi, update-abi): Likewise.
19160
19161 2014-02-04 Eric Wong <normalperson@yhbt.net>
19162
19163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19164
19165 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19166
19167 * manual/startup.texi: Add next, previous, and top entries for
19168 the `Program Arguments' and `Environment Variables' nodes.
19169
19170 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19171
19172 * manual/macros.texi: Add comments before MTASC-safety macros.
19173
19174 * manual/users.texi: Document MTASC-safety properties.
19175
19176 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19177 (pthread_getspecific, pthread_setspecific): Format with
19178 @deftypefun, and add @safety note.
19179 * manual/signal.texi: Move comments that analyze the above
19180 functions to their home place.
19181
19182 2014-02-03 Allan McRae <allan@archlinux.org>
19183
19184 * po/sl.po: Update Slovenian translation from translation project.
19185
19186 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19187
19188 * manual/time.texi (timegm): Add missing blank after @c.
19189 Reported by Joseph Myers <joseph@codesourcery.com>.
19190
19191 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19192
19193 * manual/check-safety.sh: New.
19194 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19195
19196 * manual/terminal.texi: Document MTASC-safety properties.
19197
19198 * manual/filesys.texi: Document MTASC-safety properties.
19199
19200 * manual/errno.texi: Document MTASC-safety properties.
19201
19202 * manual/intro.texi: Document safety identifiers and
19203 conditionals.
19204
19205 * manual/string.texi (wcstok): Fix prototype.
19206 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19207
19208 * manual/time.texi: Document MTASC-safety properties.
19209
19210 * manual/string.texi: Document MTASC-safety properties.
19211
19212 * manual/threads.texi: Document MTASC-safety properties.
19213
19214 * manual/stdio.texi: Document MTASC-safety properties.
19215
19216 * manual/syslog.texi: Document MTASC-safety properties.
19217
19218 * manual/sysinfo.texi: Document MTASC-safety properties.
19219
19220 * manual/startup.texi: Document MTASC-safety properties.
19221
19222 * manual/socket.texi: Document MTASC-safety properties.
19223
19224 * manual/signal.texi: Document MTASC-safety properties.
19225
19226 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19227
19228 * manual/setjmp.texi: Document MTASC-safety properties.
19229
19230 * manual/search.texi: Document MTASC-safety properties.
19231
19232 * manual/resource.texi: Document MTASC-safety properties.
19233
19234 * manual/process.texi: Document MTASC-safety properties.
19235
19236 * manual/platform.texi: Document MTASC-safety properties.
19237
19238 * manual/pipe.texi: Document MTASC-safety properties.
19239
19240 * manual/pattern.texi: Document MTASC-safety properties.
19241
19242 * manual/message.texi: Document MTASC-safety properties.
19243
19244 [BZ #12751]
19245 * manual/memory.texi: Document MTASC-safety properties.
19246
19247 * manual/math.texi: Document MTASC-safety properties.
19248
19249 * manual/locale.texi: Document MTASC-safety properties.
19250
19251 * manual/llio.texi: Document MTASC-safety properties.
19252
19253 * manual/libdl.texi: New.
19254
19255 * manual/lang.texi: Document MTASC-safety properties.
19256
19257 * manual/job.texi: Document MTASC-safety properties.
19258
19259 * manual/getopt.texi: Document MTASC-safety properties.
19260
19261 * manual/ctype.texi: Document MTASC-safety properties.
19262
19263 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19264
19265 [BZ #16046]
19266 * csu/libc-tls.c (static_map): Remove variable.
19267 (__libc_setup_tls): Use main executable's link map for TLS data.
19268 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19269 casing for LM_ID_BASE and GL(dl_nns).
19270 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19271 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19272 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19273 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19274 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19275 member.
19276 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19277 l_phnum members.
19278
19279 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19280
19281 * manual/debug.texi: Document MTASC-safety properties.
19282
19283 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19284
19285 [BZ #16510]
19286 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19287 of __x86_64__ when disabling x87 inline functions.
19288
19289 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19290
19291 * manual/charset.texi: Document MTASC-safety properties.
19292
19293 * manual/crypt.texi: Document MTASC-safety properties.
19294
19295 * manual/conf.texi: Document MTASC-safety properties.
19296
19297 * manual/arith.texi: Document MTASC-safety properties.
19298
19299 * manual/argp.texi: Document MTASC-safety properties.
19300
19301 * manual/macros.texi: Introduce macros to document multi
19302 thread, asynchronous signal and asynchronous cancellation
19303 safety properties.
19304 * manual/intro.texi: Introduce the properties themselves.
19305
19306 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19307
19308 * sysdeps/sh/sh4/Makefile: New file.
19309
19310 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19311
19312 * math/gen-libm-test.pl ($srcdir): New variable.
19313 ($auto_input): Use it.
19314
19315 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19316
19317 [BZ #16506]
19318 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19319 access beyond array bounds when parsing netgroups file.
19320
19321 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19322 the old buffer before realloc.
19323
19324 2014-01-27 Allan McRae <allan@archlinux.org>
19325
19326 * po/fr.po: Update French translation from translation project.
19327
19328 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19329
19330 * sysdeps/sh/libm-test-ulps: Regenerate.
19331
19332 2014-01-24 David S. Miller <davem@davemloft.net>
19333
19334 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19335
19336 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19337
19338 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19339 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19340
19341 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19342
19343 [BZ #16474]
19344 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19345 string pointers after reallocation.
19346
19347 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19348
19349 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19350 __SH4A__ instead of __SH_FPU_ANY__.
19351
19352 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19353
19354 * sysdeps/sh/fpu_control.h: New file.
19355 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19356 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19357 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19358 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19359 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19360 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19361 * sysdeps/sh/sys/ucontext.h: Remove.
19362 * sysdeps/sh/sys: Remove directory.
19363
19364 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19365
19366 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19367 s390/sys/ucontext.h.
19368 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19369 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19370
19371 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19372
19373 [BZ #15605]
19374 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19375
19376 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19377
19378 [BZ#16431]
19379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19380 Adjust the vDSO correctly for internal calls.
19381 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19382
19383 2014-01-20 Allan McRae <allan@archlinux.org>
19384
19385 * po/ca.po: Update Catalan translation from translation project.
19386
19387 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19388
19389 * sysdeps/s390/sotruss-lib.c: New file.
19390
19391 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19392
19393 [BZ#16430]
19394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19395 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19396 local calls issues by not having a PLT stub required for IFUNC calls.
19397 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19398
19399 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19400
19401 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19402 * math/test-fpucw-static.c: Likewise.
19403
19404 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19405
19406 [BZ #16453]
19407 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19408
19409 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19410
19411 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19412 implementation for powerpc.
19413
19414 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19415
19416 [BZ #14782]
19417 * sysdeps/posix/system.c (__libc_system): Do not enable
19418 asynchronous cancellation.
19419
19420 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19421
19422 [BZ #16427]
19423 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19424 handling only for numbers special also in the IEEE case.
19425
19426 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19427
19428 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19429
19430 2014-01-11 Allan McRae <allan@archlinux.org>
19431
19432 * po/bg.po: Update Bulgarian translation from translation project.
19433
19434 * po/de.po: Update German translation from translation project.
19435
19436 2014-01-10 Roland McGrath <roland@hack.frob.com>
19437
19438 * sysdeps/generic/gcc-compat.h: New file.
19439
19440 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19441
19442 * benchtests/asin-inputs: Correct slow inputs.
19443 * benchtests/acos-inputs: Likewise.
19444
19445 2014-01-10 Allan McRae <allan@archlinux.org>
19446
19447 * po:sv.po: Update Swedish translation from translation project.
19448
19449 * po/vi.po: Update Vietnamese translation from translation project.
19450
19451 * po/eo.po: Update Esperanto translation from translation project.
19452
19453 * po/cs.po: Update Czech translation from translation project.
19454
19455 * po/nl.po: Update Dutch translation from translation project.
19456
19457 * po/pl.po: Update Polish translation from translation project.
19458
19459 * po/ru.po: Update Russian translation from translation project.
19460
19461 * po/uk.po: Update Ukrainian translation from translation project.
19462
19463 2014-01-08 Brooks Moses <bmoses@google.com>
19464
19465 * elf/dl-load.c: Fix comment typo.
19466
19467 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19468
19469 * po/header.pot: Rename to...
19470 * po/pot.header: ... this.
19471 * po/Makefile: Use pot.header.
19472
19473 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19474 Maxim Kuvyrkov <maxim@kugelworks.com>
19475
19476 [BZ #16394]
19477 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19478 SRC and DEST against LEN.
19479
19480 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19481
19482 [BZ #16414]
19483 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19484 implementation.
19485 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19486
19487 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19488
19489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19490
19491 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19492
19493 [BZ #16408]
19494 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19495 for large positive arguments.
19496
19497 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19498
19499 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19500
19501 * math/auto-libm-test-in: Mark various tests with
19502 xfail-rounding:ldbl-128ibm.
19503 * math/auto-libm-test-out: Regenerated.
19504
19505 [BZ #16407]
19506 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19507 Increase overflow threshold.
19508
19509 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19510
19511 [BZ #14286]
19512 * stdio-common/vfprintf.c: Check for integer overflow.
19513
19514 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19515
19516 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19517 the first argument and return value of __tls_get_addr_internal.
19518
19519 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19520
19521 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19522 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19523
19524 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19525
19526 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19527 * sysdeps/s390/rtld-global-offsets.sym: New file.
19528 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19529 GLIBC_2.19 symbol.
19530 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19531 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19532 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19533 ... this.
19534 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19535 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19536 ... this.
19537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19538 Regenerate.
19539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19540 Regenerate.
19541 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19542 halfs of GPRs for high_gprs contexts.
19543 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19544 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19545 field.
19546 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19547 uc_flags field.
19548 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19549 64 bit versions:
19550 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19551 for high GPRs (uc_high_gprs) and for future extensions
19552 (__reserved).
19553 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19554 for future extensions (__reserved).
19555 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19556 64 bit versions:
19557 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19558 SC_HIGHGPRS offset definition.
19559 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19560 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19561
19562 * Versions.def: Add GLIBC_2.19 for libpthread.
19563 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19564 siglongjmp for libpthread with GLIBC_2.19 symver.
19565 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19566 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19567 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19568 * sysdeps/s390/__longjmp.c: New file.
19569 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19570 * sysdeps/s390/longjmp.c: New file.
19571 * sysdeps/s390/setjmp.S: New file.
19572 * sysdeps/s390/sigjmp.S: New file.
19573 * sysdeps/s390/v1-longjmp.c: New file.
19574 * sysdeps/s390/v1-setjmp.h: New file.
19575 * sysdeps/s390/v1-sigjmp.c: New file.
19576 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19577 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19578 GLIBC_2.19 version.
19579 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19580 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19581 versioned symbols for ____longjmp_chk.
19582 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19583 Likewise.
19584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19585 Regenerate.
19586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19587 Regenerate.
19588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19589 Regenerate.
19590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19591 Regenerate.
19592 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19593 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19594 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19595 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19596 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19597 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19598 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19599 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19600 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19601 * sysdeps/s390/rtld-__longjmp.c: New file.
19602 * sysdeps/s390/rtld-setjmp.S: New file.
19603
19604 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19605
19606 [BZ #16400]
19607 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19608 Return -__logl (x) for small positive arguments without evaluating
19609 a polynomial.
19610
19611 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19612
19613 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19614 Rename to ...
19615 (__ptrace_peeksiginfo_args): ... this.
19616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19617 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19618 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19619
19620 2014-01-06 Allan McRae <allan@archlinux.org>
19621
19622 * inet/netinet/in.h: Fix typo in comment.
19623
19624 2014-01-05 Andreas Jaeger <aj@suse.de>
19625
19626 * sysdeps/i386/fpu/libm-test-ulps: Update.
19627
19628 2014-01-05 Allan McRae <allan@archlinux.org>
19629
19630 * po/libc.pot: Regenerated.
19631
19632 * malloc/memusagestat.c: Fix gettext call formatting.
19633
19634 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19635
19636 * nscd/nscd.c: Improve usage() output.
19637
19638 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19639
19640 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19641 * sysdeps/unix/sysv/linux/configure: Regenerated.
19642 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19643 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19644
19645 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19646
19647 [BZ #16390]
19648 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19649 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19650
19651 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19652
19653 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19654 extra tokens at end of #undef directive.
19655 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19656 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19657 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19658
19659 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19660
19661 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19662
19663 * math/auto-libm-test-in: Mark various tests with
19664 xfail-rounding:ldbl-128ibm.
19665 * math/auto-libm-test-out: Regenerated.
19666
19667 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19668
19669 [BZ #16386]
19670 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19671 numbers with subnormal high part when calculating exponent.
19672
19673 [BZ #16385]
19674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19675 fabs.
19676
19677 [BZ #16384]
19678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19679 M_LN2l.
19680 (__ieee754_acoshl): Use __log1pl not __log1p.
19681
19682 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19683
19684 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19685 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19686 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19687 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19688 (reused_arena, arena_get2): Convert to GNU style.
19689 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19690 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19691 (memalign_check, __malloc_set_state): Likewise.
19692 * malloc/mallocbug.c (main): Likewise.
19693 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19694 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19695 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19696 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19697 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19698 (__posix_memalign, malloc_info): Likewise.
19699 * malloc/malloc.h: Likewise.
19700 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19701 (mallochook, memalignhook, reallochook, mabort): Likewise.
19702 * malloc/mcheck.h: Likewise.
19703 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19704 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19705 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19706 * malloc/morecore.c (__default_morecore): Likewise.
19707 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19708 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19709 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19710 (print_and_abort): Likewise.
19711 * malloc/obstack.h: Likewise.
19712 * malloc/set-freeres.c (__libc_freeres): Likewise.
19713 * malloc/tst-mallocstate.c (main): Likewise.
19714 * malloc/tst-mtrace.c (main): Likewise.
19715 * malloc/tst-realloc.c (do_test): Likewise.
19716
19717 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19718
19719 [BZ #16366]
19720 * nscd/netgroupcache.c (do_notfound): New function.
19721 (addgetnetgrentX): Use it.
19722
19723 [BZ # 16365]
19724 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19725 NSS_STATUS_NOTFOUND.
19726
19727 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19728
19729 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19731
19732 2014-01-01 Allan McRae <allan@archlinux.org>
19733
19734 * scripts/update-copyrights: Update configure input file suffix.
19735
19736 * NEWS: Update copyright year.
19737 * catgets/gencat.c: Likewise.
19738 * csu/version.c: Likewise.
19739 * debug/catchsegv.sh: Likewise.
19740 * debug/pcprofiledump.c: Likewise.
19741 * debug/xtrace.sh: Likewise.
19742 * elf/ldconfig.c: Likewise.
19743 * elf/ldd.bash.in: Likewise.
19744 * elf/pldd.c: Likewise.
19745 * elf/sotruss.ksh: Likewise.
19746 * elf/sprof.c: Likewise.
19747 * iconv/iconv_prog.c: Likewise.
19748 * iconv/iconvconfig.c: Likewise.
19749 * locale/programs/locale.c: Likewise.
19750 * locale/programs/localedef.c: Likewise.
19751 * login/programs/pt_chown.c: Likewise.
19752 * malloc/memusage.sh: Likewise.
19753 * malloc/memusagestat.c: Likewise.
19754 * malloc/mtrace.pl: Likewise.
19755 * manual/libc.texinfo: Likewise.
19756 * nscd/nscd.c: Likewise.
19757 * nss/getent.c: Likewise.
19758 * nss/makedb.c: Likewise.
19759 * posix/getconf.c: Likewise.
19760 * scripts/test-installation.pl: Likewise.
19761
19762 * All files with FSF copyright notices: Update copyright dates
19763 using scripts/update-copyrights.
19764 * intl/plural.c: Regenerated.
19765 * locale/programs/charmap-kw.h: Likewise.
19766 * locale/programs/locfile-kw.h: Likewise.
19767
19768 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19769
19770 * sysdeps/unix/sysv/linux/configure: Regenerated.
19771 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19772 the linux/fanotify.h header.
19773 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19774 HAVE_LINUX_FANOTIFY_H is defined.
19775
19776 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19777
19778 * benchtests/cos-inputs: New inputs.
19779 * benchtests/sin-inputs: Likewise.
19780
19781 * benchtests/atan-inputs: New inputs. Fix name of multiple
19782 precision fallback inputs.
19783
19784 * benchtests/atanh-inputs: New inputs.
19785 * benchtests/tanh-inputs: Likewise.
19786
19787 * benchtests/acosh-inputs: New inputs.
19788 * benchtests/asinh-inputs: Likewise.
19789
19790 * benchtests/cosh-inputs: New inputs.
19791 * benchtests/sinh-inputs: Likewise.
19792
19793 * benchtests/acos-inputs: Add more inputs.
19794 * benchtests/asin-inputs: Likewise.
19795
19796 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19797
19798 [BZ #16375]
19799 * manual/arith.texi: Fix spelling.
19800 * manual/charset.texi: Likewise.
19801 * manual/errno.texi: Likewise.
19802 * manual/filesys.texi: Likewise.
19803 * manual/lang.texi: Likewise.
19804 * manual/llio.texi: Likewise.
19805 * manual/locale.texi: Likewise.
19806 * manual/message.texi: Likewise.
19807 * manual/resource.texi: Likewise.
19808 * manual/search.texi: Likewise.
19809 * manual/setjmp.texi: Likewise.
19810 * manual/stdio.texi: Likewise.
19811 * manual/string.texi: Likewise.
19812 * manual/sysinfo.texi: Likewise.
19813 * manual/time.texi: Likewise.
19814
19815 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19816
19817 * po/sl.po: New file.
19818
19819 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19820
19821 * .gitignore: Add core/.gdbinit/.gdb_history.
19822
19823 2013-12-27 Allan McRae <allan@archlinux.org>
19824
19825 [BZ #16369]
19826 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19827 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19828
19829 2013-12-24 Brooks Moses <bmoses@google.com>
19830
19831 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19832 all compilers that claim C++98 compliance, not just GCC.
19833 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19834 Likewise.
19835
19836 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19837
19838 * NEWS: Restore accidentally deleted bug-fix entries.
19839
19840 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19841 Ondřej Bílka <neleai@seznam.cz>
19842
19843 [BZ #15073]
19844 * malloc/malloc.c (_int_free): Perform sanity check only if we
19845 have_lock.
19846
19847 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19848
19849 [BZ #12986]
19850 * manual/stdio.texi (String Input Conversions): Clarify that character
19851 classes are not supported.
19852
19853 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19854
19855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19856
19857 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19858
19859 [BZ #16337]
19860 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19861 Calculate results for small negative arguments directly rather
19862 than using reflection formula with special underflow handling.
19863
19864 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19865 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19866 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19867 (fchflags): Likewise.
19868 (revoke): Likewise.
19869 (setlogin): Likewise.
19870 (sigaltstack): Likewise.
19871 (wait4): Likewise.
19872 (sigblock): Remove.
19873 (sigsetmask): Likewise.
19874 (wait3): Likewise.
19875 (waitpid): Likewise.
19876 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19877 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19878 file.
19879 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19880 * sysdeps/unix/bsd/Makefile: ... here.
19881 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19882 * sysdeps/unix/bsd/Versions: ... here.
19883 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19884 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19885 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19886 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19887 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19888 * sysdeps/unix/bsd/sigblock.c: ... here.
19889 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19890 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19891 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19892 * sysdeps/unix/bsd/sigvec.c: ... here.
19893 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19894 * sysdeps/unix/bsd/tcdrain.c: ... here.
19895 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19896 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19897 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19898 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19899 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19900 * sysdeps/unix/bsd/wait.c: ... here.
19901 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19902 * sysdeps/unix/bsd/wait3.c: ... here.
19903 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19904 * sysdeps/unix/bsd/waitpid.c: ... here.
19905
19906 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19907
19908 [BZ #16356]
19909 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19910 round-to-nearest for [!USE_AS_EXPM1L].
19911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19912 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19913 more tests of exp and exp10. Expect some exp10 tests to miss
19914 exceptions or fail in directed rounding modes.
19915 * math/auto-libm-test-out: Regenerated.
19916 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19917 (exp10_test_tonearest): New function.
19918 (exp10_towardzero_test_data): New array.
19919 (exp10_test_towardzero): New function.
19920 (exp10_downward_test_data): New array.
19921 (exp10_test_downward): New function.
19922 (exp10_upward_test_data): New array.
19923 (exp10_test_upward): New function.
19924 (main): Call the new functions.
19925 * sysdeps/i386/fpu/libm-test-ulps: Update.
19926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19927
19928 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19929
19930 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19931 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19932 * math/auto-libm-test-out: Regenerated.
19933 * math/libm-test.inc (acosh_test_data): Add more tests.
19934 (atanh_test_data): Likewise.
19935 (ceil_test_data): Likewise.
19936 (copysign_test_data): Likewise.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19939
19940 * timezone/checktab.awk: Update from tzcode 2013i.
19941 * timezone/private.h: Likewise.
19942 * timezone/scheck.c: Likewise.
19943 * timezone/tzfile.h: Likewise.
19944 * timezone/tzselect.ksh: Likewise.
19945 * timezone/zdump.c: Likewise.
19946 * timezone/zic.c: Likewise.
19947
19948 * math/auto-libm-test-in: Add tests of cpow.
19949 * math/auto-libm-test-out: Regenerated.
19950 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19952 mpc_cc_c.
19953 (func_calc_desc): Add mpc_cc_c union field.
19954 (test_functions): Add cpow.
19955 (special_fill_2pi): New function.
19956 (special_real_inputs): Add 2pi.
19957 (calc_generic_results): Handle mpc_cc_c.
19958 * sysdeps/i386/fpu/libm-test-ulps: Update.
19959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19960
19961 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19962 csqrt, ctan and ctanh.
19963 * math/auto-libm-test-out: Regenerated.
19964 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19965 (TEST_COND_x86): Likewise.
19966 (ccos_test_data): Use AUTO_TESTS_c_c.
19967 (ccosh_test_data): Likewise.
19968 (cexp_test_data): Likewise.
19969 (clog_test_data): Likewise.
19970 (csqrt_test_data): Likewise.
19971 (ctan_test_data): Likewise.
19972 (ctan_tonearest_test_data): Likewise.
19973 (ctan_towardzero_test_data): Likewise.
19974 (ctan_downward_test_data): Likewise.
19975 (ctan_upward_test_data): Likewise.
19976 (ctanh_test_data): Likewise.
19977 (ctanh_tonearest_test_data): Likewise.
19978 (ctanh_towardzero_test_data): Likewise.
19979 (ctanh_downward_test_data): Likewise.
19980 (ctanh_upward_test_data): Likewise.
19981 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19982 mpc_c_c.
19983 (func_calc_desc): Add mpc_c_c union field.
19984 (FUNC_mpc_c_c): New macro.
19985 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19986 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19987 ctanh.
19988 (special_fill_min_subnorm_p120): New function.
19989 (special_real_inputs): Add min_subnorm_p120.
19990 (calc_generic_results): Handle mpc_c_c.
19991 * sysdeps/i386/fpu/libm-test-ulps: Update.
19992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19993
19994 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19995
19996 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19997 (do_sin_slow): New functions.
19998 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19999 (cslow2, csloww1, csloww2): Use the new functions.
20000
20001 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20002 Use M to change sign of result instead of X. Assume X is
20003 positive.
20004 (csloww1): Likewise.
20005 (__sin): Adjust.
20006 (__cos): Adjust.
20007
20008 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20009 arguments A and DA.
20010 (__sin): Adjust.
20011 (__cos): Likewise.
20012
20013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20014 (__cos): Likewise.
20015 (sloww1): Don't adjust sign of DX.
20016 (csloww1): Likewise.
20017 (sloww2): Use X directly and don't adjust sign of DX.
20018 (csloww2): Likewise.
20019
20020 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20021
20022 * math/auto-libm-test-in: Add tests of cabs and carg.
20023 * math/auto-libm-test-out: Regenerated.
20024 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20025 (carg_test_data): Likewise.
20026 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20027 mpc_c_f.
20028 (func_calc_desc): Add mpc_c_f union field.
20029 (test_functions): Add cabs and carg.
20030 (calc_generic_results): Handle mpc_c_f.
20031
20032 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20033 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20034 as a macro and a compat symbol.
20035 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20036 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20037 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20038 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20039 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20040 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20041 not use .hidden.
20042 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20043 Likewise.
20044 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20045 Likewise.
20046 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20047 Likewise.
20048 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20049 Likewise.
20050 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20051 Likewise.
20052 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20053 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20054 from GLIBC_2.3.2.
20055
20056 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20057
20058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20059
20060 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20061
20062 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20063 trailing whitespace removed.
20064 * scripts/config.guess: Update to version 2013-11-29.
20065 * scripts/config.sub: Update to version 2013-10-01.
20066
20067 * math/auto-libm-test-in: Add tests of sincos.
20068 * math/auto-libm-test-out: Regenerated.
20069 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20070 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20071 mpfr_f_11.
20072 (func_calc_desc): Add mpfr_f_11 union field.
20073 (test_functions): Add sincos.
20074 (calc_generic_results): Handle mpfr_f_11.
20075 * sysdeps/i386/fpu/libm-test-ulps: Update.
20076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20077
20078 2013-12-19 Andreas Schwab <schwab@suse.de>
20079
20080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20081 CALL_MCOUNT.
20082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20084 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20085
20086 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20087
20088 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20089 * sysdeps/i386/fpu/libm-test-ulps: Update.
20090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20091
20092 [BZ #16293]
20093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20094 round-to-nearest mode when using frndint.
20095 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20096 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20097 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20098 Likewise.
20099 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20100 sinh test to fail.
20101 * math/auto-libm-test-out: Regenerated.
20102 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20103 (TEST_COND_x86): Likewise.
20104 (expm1_tonearest_test_data): New array.
20105 (expm1_test_tonearest): New function.
20106 (expm1_towardzero_test_data): New array.
20107 (expm1_test_towardzero): New function.
20108 (expm1_downward_test_data): New array.
20109 (expm1_test_downward): New function.
20110 (expm1_upward_test_data): New array.
20111 (expm1_test_upward): New function.
20112 (main): Run the new test functions.
20113 * sysdeps/i386/fpu/libm-test-ulps: Update.
20114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20115
20116 * include/features.h: Update comment documenting feature test
20117 macros. Mention _DEFAULT_SOURCE in comment.
20118 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20119 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20120 _BSD_SOURCE and _SVID_SOURCE.
20121 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20122 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20123 !_SVID_SOURCE]: Likewise.
20124 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20125 (__USE_POSIX_IMPLICITLY): Define.
20126 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20127 (_POSIX_SOURCE): Undefine and redefine.
20128 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20129 (_POSIX_C_SOURCE): Likewise.
20130 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20131 (Feature Test Macros): Update documentation of default features.
20132
20133 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20134
20135 * benchtests/Makefile: Add bench-strtok.
20136 * benchtests/bench-strtok.c: New file: strtok benchtest.
20137
20138 2013-12-19 Allan McRae <allan@archlinux.org>
20139
20140 * manual/install.texi: Suppress menu for plain text output.
20141 * INSTALL: Regenerated.
20142
20143 2013-12-18 Brooks Moses <bmoses@google.com>
20144
20145 [BZ #15846]
20146 * misc/getauxval.c: Include errno.h.
20147 (__getauxval): Set errno to ENOENT if the requested type is not
20148 found.
20149 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20150 don't declare with __attribute_const__.
20151 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20152 * manual/startup.texi: Document that getauxval sets errno.
20153
20154 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20155
20156 * math/auto-libm-test-in: Add tests of jn and yn.
20157 * math/auto-libm-test-out: Regenerated.
20158 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20159 (yn_test_data): Likewise.
20160 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20161 mpfr_if_f.
20162 (func_calc_desc): Add mpfr_if_f union field.
20163 (FUNC_mpfr_if_f): New macro.
20164 (test_functions): Add jn and yn.
20165 (calc_generic_results): Assert type of second input for
20166 mpfr_ff_f. Handle mpfr_if_f.
20167 (output_for_one_input_case): Disable all checking for arguments
20168 fitting floating-point types in case of an integer argument.
20169 * sysdeps/i386/fpu/libm-test-ulps: Update.
20170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20171
20172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20173 Don't expect fegetround reference in libm.so.
20174
20175 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20176
20177 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20178 $(config-cflags-nofma).
20179
20180 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20181
20182 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20183 * math/auto-libm-test-out: Regenerated.
20184
20185 [BZ #16338]
20186 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20187 to determine exponent and adjust argument to have exponent of -1.
20188 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20189 log2.
20190 * math/auto-libm-test-out: Regenerated.
20191 * sysdeps/i386/fpu/libm-test-ulps: Update.
20192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20193
20194 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20195
20196 * manual/probes.texi: Remove cases when per-thread arenas are
20197 disabled.
20198
20199 2013-12-18 Andreas Schwab <schwab@suse.de>
20200
20201 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20202 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20203 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20204 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20205 * sysdeps/i386/i686/multiarch/Makefile: Update.
20206 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20207
20208 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20209
20210 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20211 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20212
20213 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20214
20215 [BZ #15968]
20216 Support TZ transition times < 00:00:00.
20217 This is needed for version-3 tz-format files; it supports time
20218 stamps past 2037 for America/Godthab (the only entry in the tz
20219 database for which this change is relevant).
20220 * manual/time.texi (TZ Variable): Document transition times
20221 from -167:59:59 through -00:00:01.
20222 * time/tzset.c (tz_rule): Time of day is now signed.
20223 (__tzset_parse_tz): Parse negative time of day.
20224
20225 Document TZ transition times >= 25:00:00.
20226 * manual/time.texi (TZ Variable): Document transition times from
20227 25:00:00 through 167:59:59. These are already supported, and this
20228 support will help with version-3 tz-format files.
20229
20230 * manual/time.texi (TZ Variable): Modernize North America example
20231 to reflect current (i.e., 2007-and-later) daylight saving rules.
20232
20233 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20234
20235 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20236
20237 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20238 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20241 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20242 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20243 * sysdeps/unix/bsd/clock.c: Likewise.
20244 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20245 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20246 * sysdeps/unix/bsd/init-posix.c: Likewise.
20247 * sysdeps/unix/bsd/poll.c: Likewise.
20248 * sysdeps/unix/bsd/ptsname.c: Likewise.
20249 * sysdeps/unix/bsd/seekdir.c: Likewise.
20250 * sysdeps/unix/bsd/setegid.c: Likewise.
20251 * sysdeps/unix/bsd/seteuid.c: Likewise.
20252 * sysdeps/unix/bsd/setgid.c: Likewise.
20253 * sysdeps/unix/bsd/setrgid.c: Likewise.
20254 * sysdeps/unix/bsd/setruid.c: Likewise.
20255 * sysdeps/unix/bsd/setsid.c: Likewise.
20256 * sysdeps/unix/bsd/setuid.c: Likewise.
20257 * sysdeps/unix/bsd/sigaction.c: Likewise.
20258 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20259 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20260 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20261 * sysdeps/unix/bsd/telldir.c: Likewise.
20262 * sysdeps/unix/bsd/times.c: Likewise.
20263 * sysdeps/unix/bsd/usleep.c: Likewise.
20264
20265 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20266 ($(objpfx)libbsd-compat.a): Remove rule.
20267
20268 * include/features.h (__FAVOR_BSD): Do not define.
20269 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20270 features conflicting with POSIX.
20271 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20272 (_BSD_SOURCE): Remove description of not being a subset of other
20273 feature test macros.
20274 * manual/job.texi (getpgrp): Do not document BSD version.
20275 (getpgid): Do not document by reference to BSD getpgrp.
20276 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20277 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20278 * signal/signal.h [__FAVOR_BSD]: Likewise.
20279 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20280 instead of making contents conditional on [__FAVOR_BSD].
20281 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20282
20283 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20284
20285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20286
20287 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20288
20289 [BZ #16314]
20290 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20291 values below 2**-450, not 2**-500.
20292 * math/auto-libm-test-in: Don't allow spurious underflow from
20293 hypot.
20294 * math/auto-libm-test-out: Regenerated.
20295
20296 [BZ #16316]
20297 [BZ #16330]
20298 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20299 values of ha and hb and sort them after adjusting subnormal
20300 arguments.
20301 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20302 Likewise.
20303 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20304 values of ea and eb and sort them after adjusting subnormal
20305 arguments.
20306 * math/auto-libm-test-in: Do not expect some hypot tests of
20307 subnormals to fail. Add more hypot tests.
20308 * math/auto-libm-test-out: Regenerated.
20309
20310 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20311
20312 [BZ #13304]
20313 * sysdeps/sh/s_fma.c: New file.
20314 * sysdeps/sh/s_fmaf.c: New file.
20315 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20316 version.
20317 * sysdeps/sh/Implies: Add sh/soft-fp.
20318
20319 2013-12-16 Roland McGrath <roland@hack.frob.com>
20320
20321 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20322 level of indirection to members `objname', `errstring', `malloced'.
20323 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20324 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20325 it as the __longjmp argument (just pass 1 instead).
20326 (_dl_catch_error): Initialize C with argument pointers and address of
20327 volatile local ERRCODE rather than copying values out of C at return.
20328
20329 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20330
20331 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20332 * math/auto-libm-test-out: Regenerated.
20333 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20334 (hypot_test_data): Likewise.
20335 (pow_test_data): Likewise.
20336 (pow_tonearest_test_data): Likewise.
20337 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20338 mpfr_ff_f.
20339 (func_calc_desc): Add mpfr_ff_f union field.
20340 (FUNC_mpfr_ff_f): New macro.
20341 (test_functions): Add atan2, hypot and pow.
20342 (special_fill_min): New function.
20343 (special_fill_minus_min): Likewise.
20344 (special_fill_min_subnorm): Likewise.
20345 (special_fill_minus_min_subnorm): Likewise.
20346 (special_real_inputs): Add min, -min, min_subnorm and
20347 -min_subnorm.
20348 (calc_generic_results): Handle mpfr_ff_f.
20349 * sysdeps/i386/fpu/libm-test-ulps: Update.
20350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20351
20352 2013-12-16 Will Newton <will.newton@linaro.org>
20353
20354 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20355 (Aligned Memory Blocks): Add documentation for aligned_alloc
20356 and suggest it as an alternative to posix_memalign.
20357 (Hooks for Malloc): Document __memalign_hook is also called
20358 for aligned_alloc. (Summary of Malloc): Add summary for
20359 aligned alloc. Document __memalign_hook is also called
20360 for aligned_alloc.
20361
20362 2013-12-16 Will Newton <will.newton@linaro.org>
20363
20364 * manual/memory.texi (Malloc Examples): Clarify default
20365 alignment documentation. Suggest posix_memalign rather
20366 than memalign or valloc.
20367 (Aligned Memory Blocks): Remove suggestion to use memalign
20368 or valloc. Remove obsolete comment about BSD.
20369 Document memalign errno values and mark the function obsolete.
20370 Document posix_memalign returned error codes. Mark valloc
20371 as obsolete. (Hooks for Malloc): __memalign_hook is also
20372 called for posix_memalign and valloc.
20373 (Summary of Malloc): Add posix_memalign to function summary.
20374 __memalign_hook is also called for posix_memalign and valloc.
20375
20376 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20377
20378 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20379 TAYLOR_SIN.
20380 (__sin): Adjust.
20381 (__cos): Likewise.
20382 (sloww): Use mynumber union. Expand ternary operator into
20383 if-else statements.
20384 (cslow): use mynumber union.
20385
20386 2013-12-16 Allan McRae <allan@archlinux.org>
20387
20388 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20389 * configure: Regenerated.
20390
20391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20392
20393 [BZ #14120]
20394 * configure.ac: Added --enable-maintainer-mode. Check for
20395 autoconf when enabled.
20396 * configure: Regenerated.
20397
20398 * nscd/nscd.service: New file.
20399 * nscd/nscd.tmpfiles: New file.
20400
20401 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20402
20403 [BZ #12100]
20404 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20405 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20406 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20407 (strstr): Add __strstr_sse2_unaligned ifunc.
20408 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20409 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20410 (strcasestr): Remove __strcasestr_sse42 ifunc.
20411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20414
20415 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20416
20417 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20418 * sysdeps/sh/bits/fenv.h: ... here.
20419 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20420
20421 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20422
20423 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20424
20425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20426 hypotf multiarch implementations.
20427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20430 multiarch hypot for PPC64.
20431 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20434 multiarch hypotf for PPC64.
20435
20436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20437 modff multiarch implementations.
20438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20441 multiarch modf for PPC64.
20442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20445 multiarch modff for PPC64.
20446
20447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20448 and logl multiarch implementations.
20449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20452 multiarch logb for PPC64.
20453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20456 multiarch logb for PPC64.
20457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20460 multiarch logb for PPC64.
20461
20462 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20463 isinff multiarch implementation.
20464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20465 file.
20466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20468 multiarch isinf for PPC64.
20469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20470 file.
20471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20472 multiarch isinff for PPC64.
20473
20474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20475 finitef multiarch implementation.
20476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20477 file.
20478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20480 multiarch finite for PPC64.
20481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20482 file.
20483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20484 multiarch finitef for PPC64.
20485
20486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20487 lrint multiarch implementation.
20488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20489 file.
20490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20492 multiarch llrint for PPC64.
20493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20494 multiarch lrint for PPC64.
20495
20496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20497 copysignf multiarch implementation.
20498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20499 file.
20500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20501 file.
20502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20503 multiarch copysign for PPC64.
20504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20505 multiarch copysignf for PPC64.
20506
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20508 multiarch implementation.
20509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20510 file.
20511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20512 file.
20513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20514 file.
20515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20516 file.
20517 multiarch llround for PPC64.
20518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20519 multiarch trunc for PPC64.
20520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20521 multiarch truncf for PPC64.
20522
20523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20524 multiarch implementation.
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20526 file.
20527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20528 file.
20529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20530 file.
20531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20532 file.
20533 multiarch llround for PPC64.
20534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20535 multiarch round for PPC64.
20536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20537 multiarch roundf for PPC64.
20538
20539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20540 multiarch implementation.
20541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20542 file.
20543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20544 file.
20545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20546 file.
20547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20548 file.
20549 multiarch llround for PPC64.
20550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20551 multiarch floor for PPC64.
20552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20553 multiarch floorf for PPC64.
20554
20555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20556 multiarch implementation.
20557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20558 file.
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20560 file.
20561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20562 file.
20563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20564 file.
20565 multiarch llround for PPC64.
20566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20567 multiarch ceil for PPC64.
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20569 multiarch ceilf for PPC64.
20570
20571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20572 multiarch implementation.
20573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20574 file.
20575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20576 file.
20577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20578 file.
20579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20580 multiarch llround for PPC64.
20581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20582 multiarch lround for PPC64.
20583
20584 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20585 multiarch implementation.
20586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20589 file.
20590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20593 multiarch isnan for PPC64.
20594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20595 multiarch isnanf for PPC64.
20596
20597 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20598 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20599 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20600 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20601 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20603
20604 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20605 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20608
20609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20610 multiarch implementations.
20611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20612 (__libc_ifunc_impl_list): Likewise.
20613 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20614 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20615 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20616 multiarch stpcpy for PPC64.
20617
20618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20619 multiarch implementations.
20620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20621 (__libc_ifunc_impl_list): Likewise.
20622 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20623 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20624 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20625 multiarch strcpy for PPC64.
20626
20627 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20628 redefine function name.
20629 (_wordcopy_fwd_dest_aligned): Likewise.
20630 (_wordcopy_bwd_aligned): Likewise.
20631 (_wordcopy_bwd_dest_aligned): Likewise.
20632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20633 multiarch implementations.
20634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20635 (__libc_ifunc_impl_list): Likewise.
20636 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20637 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20638 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20639 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20640 multiarch wcscpy for PPC64.
20641
20642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20643 multiarch implementations.
20644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20645 (__libc_ifunc_impl_list): Likewise.
20646 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20647 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20648 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20649 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20650 multiarch wcscpy for PPC64.
20651
20652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20653 multiarch implementations.
20654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20655 (__libc_ifunc_impl_list): Likewise.
20656 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20657 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20658 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20659 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20660 multiarch wcsrchr for PPC64.
20661
20662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20663 multiarch implementations.
20664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20665 (__libc_ifunc_impl_list): Likewise.
20666 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20667 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20668 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20669 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20670 multiarch wcschr for PPC64.
20671
20672 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20673 multiarch implementations.
20674 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20675 (__libc_ifunc_impl_list): Likewise.
20676 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20677 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20678 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20679 multiarch strchrnul for PPC64.
20680
20681 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20682 implementations.
20683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20684 (__libc_ifunc_impl_list): Likewise.
20685 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20686 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20687 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20688 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20689 strchr for PPC64.
20690
20691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20692 implementations.
20693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20694 (__libc_ifunc_impl_list): Likewise.
20695 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20696 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20697 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20698 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20699 strncmp for PPC64.
20700
20701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20702 multiarch implementations.
20703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20704 (__libc_ifunc_impl_list): Likewise.
20705 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20706 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20707 strncasecmp for PPC64.
20708 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20709 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20710 multiarch strncasecmp_l for PPC64.
20711
20712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20713 multiarch implementations.
20714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20715 (__libc_ifunc_impl_list): Likewise.
20716 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20717 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20718 multiarch strcasecmp for PPC64.
20719 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20720 file.
20721 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20722 multiarch strcasecmp_l for PPC64.
20723
20724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20725 implementations.
20726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20727 (__libc_ifunc_impl_list): Likewise.
20728 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20729 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20730 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20731 strnlen for PPC64.
20732
20733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20734 implementations.
20735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20736 (__libc_ifunc_impl_list): Likewise.
20737 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20738 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20739 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20740 strlen for PPC64.
20741
20742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20743 implementations.
20744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20745 (__libc_ifunc_impl_list): Likewise.
20746 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20747 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20748 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20749 rawmemrchr for PPC64.
20750
20751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20752 implementation.
20753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20754 (__libc_ifunc_impl_list): Likewise.
20755 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20756 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20757 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20758 memrchr for PPC64.
20759
20760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20761 implementation.
20762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20763 (__libc_ifunc_impl_list): Likewise.
20764 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20765 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20766 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20767 memchr for PPC64.
20768
20769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20770 implementation.
20771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20772 (__libc_ifunc_impl_list): Likewise.
20773 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20774 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20775 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20776 mempcpy for PPC64.
20777
20778 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20779 avoid cretion of __bzero symbol.
20780 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20781 Likewise.
20782 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20783 Likewise.
20784 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20785 Likewise.
20786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20787 multiarch implementations.
20788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20789 (__libc_ifunc_impl_list): Likewise.
20790 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20791 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20792 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20793 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20794 bzero for PPC32.
20795 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20796 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20797 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20798 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20799 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20800 memset for PPC64.
20801 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20802
20803 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20805 implementations.
20806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20807 (__libc_ifunc_impl_list): Likewise.
20808 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20809 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20810 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20811 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20812 memcmp for PPC64.
20813
20814 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20815 multiarch for POWER/PPC64.
20816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20817 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20821 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20822 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20823 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20824 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20825 memcpy for PPC64.
20826
20827 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20828 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20829 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20830 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20831 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20832 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20833 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20834 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20835 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20836 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20837 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20838 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20839 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20840 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20841 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20849
20850 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20851
20852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20853
20854 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20855
20856 * benchtests/Makefile (bench): Add exp2 and log2.
20857 (LDLIBS-bench-exp2): Add -lm.
20858 (LDLIBS-bench-log2): Likewise.
20859 * benchtests/exp2-inputs: New inputs file.
20860 * benchtests/log2-inputs: New inputs file.
20861 * benchtests/log-inputs: Add new inputs.
20862 * benchtests/tan-inputs: Likewise.
20863
20864 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20865
20866 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20867 definition...
20868 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20869 (csloww2): ... from here.
20870
20871 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20872 instead of structures.
20873 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20874 (POLYNOMIAL): Likewise.
20875 (TAYLOR_SLOW): Likewise.
20876 (__sin): Likewise.
20877 (__cos): Likewise.
20878 (slow1): Likewise.
20879 (slow2): Likewise.
20880 (sloww): Likewise.
20881 (sloww1); Likewise.
20882 (sloww2): Likewise.
20883 (bsloww1): Likewise.
20884 (bsloww2): Likewise.
20885 (cslow2): Likewise.
20886 (csloww): Likewise.
20887 (csloww1): Likewise.
20888 (csloww2): Likewise.
20889
20890 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20891
20892 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20893 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20894 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20895 * malloc/hooks.c (realloc_check): Likewise.
20896
20897 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20898 * malloc/arena.c: Remove PER_THREAD conditional.
20899 [!PER_THREAD]: Remove code.
20900 (ptmalloc_unlock_all2): Likewise.
20901 (ptmalloc_init): Likewise.
20902 (_int_new_arena): Likewise.
20903 (arena_get2): Likewise.
20904 * malloc/hooks.c (__malloc_get_state): Likewise.
20905 (__malloc_set_state): Likewise.
20906 * malloc/malloc.c: Likewise.
20907 (struct malloc_state): Likewise.
20908 (struct malloc_par): Likewise.
20909 (__libc_realloc): Likewise.
20910 (__libc_mallopt): Likewise.
20911
20912 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20913
20914 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20915
20916 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20917
20918 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20919 macro to a function. Check for zero perturb_byte.
20920 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20921
20922 * malloc/malloc.c: (force_reg): Remove.
20923 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20924 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20925 force_reg by atomic_forced_read.
20926 * malloc/arena.c (ptmalloc_init): Likewise.
20927 * malloc/hooks.c (top_check): Likewise.
20928
20929 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20930
20931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20932
20933 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20934
20935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20936
20937 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20938
20939 * math/auto-libm-test-in: Add tests of lgamma.
20940 * math/auto-libm-test-out: Regenerated.
20941 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20942 (M_LOG_2_SQRT_PIl): Likewise.
20943 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20945 mpfr_f_f1.
20946 (func_calc_desc): Add mpfr_f_f1 union field.
20947 (ARGS1): New macro.
20948 (ARGS2): Likewise.
20949 (ARGS3): Likewise.
20950 (ARGS4): Likewise.
20951 (RET1): Likewise.
20952 (RET2): Likewise.
20953 (CALC): Likewise.
20954 (FUNC): Likewise.
20955 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20956 (test_functions): Add lgamma.
20957 (calc_generic_results): Handle mpfr_f_f1.
20958 * sysdeps/i386/fpu/libm-test-ulps: Update.
20959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20960
20961 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20962
20963 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20964 __mpn_add_n for PowerPC64/POWER7.
20965 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20966 __mpn_sub_n for PowerPC64/POWER7.
20967
20968 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20969 __mpn_addmul_1 for PowerPC64.
20970 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20971 __mpn_submul_1 for PowerPC64.
20972 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20973 for PowerPC64.
20974 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20975 for PowerPC64.
20976
20977 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20978
20979 [BZ #15089]
20980 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20981
20982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20983
20984 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20985
20986 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20987 add multiarch folders.
20988 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20989 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20990 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20991 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20992 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20993 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20994 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20995 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20996 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20997 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20998 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21005
21006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21007 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21009 New file.
21010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21011 New file.
21012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21013 multiarch __ieee754_hypot for PowerPC32.
21014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21015 New file.
21016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21017 New file.
21018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21019 multiarch __ieee754_hypotf for PowerPC32.
21020
21021 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21022 long_double_symbol only if __logbl is defined.
21023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21024 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21026 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21028 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21029 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21030 path for implementation.
21031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21034 logb, and logbl multiarch implementations for PowerPC32.
21035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21036 file.
21037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21038 file.
21039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21040 multiarch logb for PowerPC32.
21041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21042 file.
21043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21044 file.
21045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21046 multiarch logbf for PowerPC32.
21047 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21049 file.
21050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21051 multiarch logbl implementation for PowerPC32.
21052
21053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21054 and modff multiarch implementations.
21055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21056 New file.
21057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21058 New file.
21059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21060 multiarch modf for PowerPC32.
21061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21062 New file.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21064 New file.
21065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21066 multiarch modff for PowerPC32.
21067
21068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21069 and lrintf multiarch implementations.
21070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21071 New file.
21072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21073 New file.
21074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21075 multiarch lrint for PowerPC32.
21076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21077 file: multiarch lrintf for PowerPC32.
21078
21079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21080 and lroundf multiarch implementations.
21081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21082 New file.
21083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21084 New file.
21085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21086 New file.
21087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21088 multiarch lround for PowerPC32.
21089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21090 file: multiarch lroundf for PowerPC32.
21091
21092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21093 copysign and copysignf multiarch implementations.
21094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21095 New file.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21097 New file.
21098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21099 file: multiarch copysign for PowerPC32.
21100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21101 file: multiarch copysignf for PowerPC32.
21102
21103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21104 and truncf multiarch implementations.
21105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21106 New file.
21107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21108 file.
21109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21110 multiarch trunc for PowerPC32.
21111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21112 New file.
21113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21114 New file.
21115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21116 multiarch truncf for PowerPC32.
21117
21118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21119 and roundf multiarch implementations.
21120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21121 New file.
21122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21123 file.
21124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21125 multiarch round for PowerPC32.
21126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21127 New file.
21128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21129 New file.
21130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21131 multiarch roundf for PowerPC32.
21132
21133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21134 and floorf multiarch implementations.
21135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21136 New file.
21137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21138 file.
21139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21140 multiarch floor for PowerPC32.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21142 New file.
21143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21144 New file.
21145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21146 multiarch floorf for PowerPC32.
21147
21148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21149 and ceilf multiarch implementations.
21150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21151 New file.
21152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21153 file.
21154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21155 multiarch ceil for PowerPC32.
21156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21157 New file.
21158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21159 file.
21160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21161 multiarch ceilf for PowerPC32.
21162
21163 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21164 is defined.
21165 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21166 FINITEF is defined.
21167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21168 and finitef multiarch implementations.
21169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21170 New file.
21171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21172 file.
21173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21174 multiarch finite for PowerPC32.
21175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21176 New file.
21177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21178 file: multiarch finitef for PowerPC32.
21179
21180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21181 and isinff multiarch implementations.
21182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21183 file.
21184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21185 file.
21186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21187 multiarch isinf for PowerPC32.
21188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21189 New file.
21190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21191 multiarch isinff for PowerPC32.
21192
21193 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21194 alias when __isnan is defined.
21195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21196 and isnanf multiarch implementations.
21197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21198 file.
21199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21200 file.
21201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21202 file.
21203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21204 file.
21205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21206 multiarch isnan for PowerPC32.
21207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21208 New file.
21209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21210 New file.
21211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21212 multiarch isnanf for PowerPC32.
21213
21214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21215 and sqrtf multiarch implementations.
21216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21217 file.
21218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21219 file.
21220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21221 multiarch sqrt for PowerPC32.
21222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21223 file.
21224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21225 file.
21226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21227 multiarch sqrtf for PowerPC32.
21228
21229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21230 and llroundf multiarch implementations.
21231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21232 New file.
21233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21234 New file.
21235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21236 New file.
21237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21238 file: multiarch llround for PowerPC32.
21239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21240 file: multiarch llroundf for PowerPC32.
21241
21242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21243 multiarch PowerPC32 fpu implementations.
21244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21245 New file.
21246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21247 New file.
21248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21249 multiarch llrint for PowerPC32.
21250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21251 New file.
21252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21253 New file.
21254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21255 file.
21256
21257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21258
21259 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21260 file.
21261 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21262 file.
21263 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21264 file.
21265 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21266 multiarch wordcopy for PPC32.
21267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21268 wordcopy objects.
21269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21270 (__libc_ifunc_impl_list): Likewise.
21271 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21272 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21273 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21274 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21275 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21276 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21277
21278 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21279 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21280 file.
21281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21282 file.
21283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21284 file.
21285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21286 multiarch wcscpy for PPC32.
21287 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21288 multiarch objects.
21289 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21290 (__libc_ifunc_impl_list): Likewise.
21291 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21292 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21293 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21294 sysdeps/powerpc/power6/wcscpy.c.
21295
21296 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21298 file.
21299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21300 file.
21301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21302 file.
21303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21304 multiarch wcsrchr for PPC32.
21305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21306 multiarch objects.
21307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21308 (__libc_ifunc_impl_list): Likewise.
21309 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21310 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21311 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21312 sysdeps/powerpc/power6/wcsrchr.c.
21313
21314 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21315 file.
21316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21317 file.
21318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21320 multiarch wcschr for PPc32.
21321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21322 multiarch objects.
21323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21324 (__libc_ifunc_impl_list): Likewise.
21325 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21326 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21327 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21328 sysdeps/powerpc/power6/wcschr.c.
21329
21330 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21331 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21332 file.
21333 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21334 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21335 file: multiarch strchr for PPC32.
21336 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21337 multiarch objects.
21338 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21339 (__libc_ifunc_impl_list): Likewise.
21340
21341 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21342 name.
21343 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21344 file.
21345 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21346 file.
21347 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21348 multiarch strchrnul for PPC32.
21349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21350 multiarch objects.
21351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21352 (__libc_ifunc_impl_list): Likewise.
21353
21354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21355 file.
21356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21357 multiarch strncasecmp for PPC32.
21358 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21359 file.
21360 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21361 multiarch strncasecmp_l for PPC32.
21362 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21363 strncasecmp multiarch objects.
21364 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21365 (__libc_ifunc_impl_list): Likewise.
21366
21367 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21368 file.
21369 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21370 multiarch strncasecmp for PPC32.
21371 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21372 New file.
21373 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21374 multiarch strcasecmp_l for PPC32.
21375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21376 multiarch objects.
21377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21378 (__libc_ifunc_impl_list): Likewise.
21379
21380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21381 file.
21382 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21383 file.
21384 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21385 multiarch strncmp for PPC32.
21386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21387 multiarch objects.
21388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21389 (__libc_ifunc_impl_list): Likewise.
21390
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21392 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21393 file.
21394 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21395 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21397 multiarch objects.
21398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21399 (__libc_ifunc_impl_list): Likewise.
21400
21401 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21402 file.
21403 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21404 file.
21405 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21407 multiarch objects.
21408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21409 (__libc_ifunc_impl_list): Likewise.
21410
21411 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21412 file.
21413 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21414 file.
21415 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21416 multiarch rawmemchr for PPC32.
21417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21418 multiarch objects.
21419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21420 (__libc_ifunc_impl_list): Likewise.
21421
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21423 file.
21424 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21425 file.
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21427 file: memrchr multiarch for PPC32.
21428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21429 multiarch objects.
21430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21431 (__libc_ifunc_impl_list): Likewise.
21432
21433 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21434 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21435 file.
21436 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21437 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21438 multiarch memchr for PPC32.
21439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21440 multiarch objects.
21441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21442 (__libc_ifunc_impl_list): Likewise.
21443
21444 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21445 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21446 file.
21447 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21448 file.
21449 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21450 file: multiarch mempcpy for PPC32.
21451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21452 multiarch objects.
21453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21454 (__libc_ifunc_impl_list): Likewise.
21455
21456 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21457 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21458 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21459 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21460 multiarch bzero for PPC32.
21461 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21462 file.
21463 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21464 file.
21465 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21466 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21467 file: multiarch memset for PPC32.
21468 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21470 memset multiarch objects.
21471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21472 (__libc_ifunc_impl_list): Likewise.
21473
21474 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21475 file.
21476 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21477 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21478 memcmp for PPC32.
21479 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21481 multiarch objects.
21482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21483 (__libc_ifunc_impl_list): Likewise.
21484
21485 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21487 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21488 file.
21489 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21490 file.
21491 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21492 file.
21493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21494 multiarch memcpy for PPC32.
21495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21496 multiarch objects.
21497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21498 (__libc_ifunc_impl_list): Likewise.
21499
21500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21501 support multiarch for POWER/PPC32.
21502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21503 Likewise.
21504 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21506 Implies file to make multiarch folder appers before the fpu and
21507 default folder for power4 configuration.
21508
21509 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21510
21511 * scripts/bench.pl: Append volatile keyword to type.
21512
21513 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21514
21515 * sysdeps/sh/sotruss-lib.c: New file.
21516 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21517
21518 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21519
21520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21521
21522 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21523
21524 [BZ #6810]
21525 * math/w_tgamma.c: Include <errno.h>.
21526 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21527 * math/w_tgammaf.c: Include <errno.h>.
21528 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21529 * math/w_tgammal.c: Include <errno.h>.
21530 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21531 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21532 underflow. Add more tgamma tests.
21533 * math/auto-libm-test-out: Regenerated.
21534 * sysdeps/i386/fpu/libm-test-ulps: Update.
21535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21536
21537 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21538 sin, sinh, tan, tanh, tgamma, y0 and y1.
21539 * math/auto-libm-test-out: Regenerated.
21540 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21541 (TEST_COND_x86): Likewise.
21542 (M_E2l): Remove macro.
21543 (M_E3l): Likewise.
21544 (M_2_SQRT_PIl): Likewise.
21545 (M_SQRT_PIl): Likewise.
21546 (M_1_DIV_El): Likewise.
21547 (log_test_data): Use AUTO_TESTS_f_f.
21548 (log10_test_data): Likewise.
21549 (log1p_test_data): Likewise.
21550 (log2_test_data): Likewise.
21551 (sin_test_data): Likewise.
21552 (sin_tonearest_test_data): Likewise.
21553 (sin_towardzero_test_data): Likewise.
21554 (sin_downward_test_data): Likewise.
21555 (sin_upward_test_data): Likewise.
21556 (sinh_test_data): Likewise.
21557 (sinh_tonearest_test_data): Likewise.
21558 (sinh_towardzero_test_data): Likewise.
21559 (sinh_downward_test_data): Likewise.
21560 (sinh_upward_test_data): Likewise.
21561 (tan_test_data): Likewise.
21562 (tan_tonearest_test_data): Likewise.
21563 (tan_towardzero_test_data): Likewise.
21564 (tan_downward_test_data): Likewise.
21565 (tan_upward_test_data): Likewise.
21566 (tanh_test_data): Likewise.
21567 (tgamma_test_data): Likewise.
21568 (y0_test_data): Likewise.
21569 (y1_test_data): Likewise.
21570 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21571 (special_real_inputs): Add pi/4.
21572 * sysdeps/i386/fpu/libm-test-ulps: Update.
21573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21574
21575 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21576
21577 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21578 "longjmp_target" static probes.
21579 (__longjmp): Rename to __longjmp_symbol.
21580 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21581 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21582 on which longjmp to generate.
21583 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21584 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21585 probe.
21586 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21587 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21588 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21589 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21590 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21591 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21593 __longjmp_symbol based on which __longjmp to generate.
21594 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21595 probe.
21596 (setjmp): Rename to setjmp_symbol.
21597 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21598 (_setjmp): Rename to _setjmp_symbol.
21599 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21600 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21601 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21602 which setjmp to generate.
21603 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21604 "longjmp_target" static probes.
21605
21606 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21607
21608 * benchtests/README: Add note about output arguments.
21609 * benchtests/bench-sincos.c: Remove file.
21610 * benchtests/sincos-inputs: New file.
21611 * scripts/bench.pl: Identify output arguments and define
21612 static variables for them.
21613
21614 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21615
21616 [BZ #15941]
21617 * Makefile (INSTALL): Add install-plain.texi as the primary
21618 dependency.
21619 * manual/install-plain.texi: New file.
21620 * manual/install.texi: Include node directive only for
21621 non-plaintext output.
21622
21623 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21624
21625 * stdlib/longlong.h: Update from GCC.
21626
21627 [BZ #6807]
21628 [BZ #15901]
21629 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21630 * math/w_j0f.c (y0f): Likewise.
21631 * math/w_j0l.c (__y0l): Likewise.
21632 * math/w_j1.c (y1): Likewise.
21633 * math/w_j1f.c (y1f): Likewise.
21634 * math/w_j1l.c (__y1l): Likewise
21635 * math/w_jn.c (yn): Likewise.
21636 * math/w_jnf.c (ynf): Likewise.
21637 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21638 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21639 value for Bessel function domain errors outside _SVID_ mode.
21640 Adjust sign of return value for yn (negative integer, 0).
21641 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21642 by zero in return for negative x and set sign appropriately for
21643 negative n.
21644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21645 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21646 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21647 expectations in error cases.
21648 (y1_test_data): Likewise.
21649 (yn_test_data): Likewise.
21650 * sysdeps/i386/fpu/libm-test-ulps: Update.
21651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21652
21653 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21654
21655 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21656 "64" to "64-v1". Add "64-v2".
21657 (abi-64-options): Rename to ...
21658 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21659 (abi-64-condition): Rename to ...
21660 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21661 (abi-64-ld-soname): Rename to ...
21662 (abi-64-v1-ld-soname): ... this.
21663 (abi-64-v2-options): Define.
21664 (abi-64-v2-condition): Likewise.
21665 (abi-64-v2-ld-soname): Likewise.
21666 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21667 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21671
21672 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21673 Alan Modra <amodra@gmail.com>
21674
21675 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21676 New versions for use with the ELFv2 ABI.
21677 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21678 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21679 declaration.
21680 (struct La_ppc64v2_retval): Likewise.
21681 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21682 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21683 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21684 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21685 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21686 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21687 Do not save or restore CR.
21688 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21689 (_dl_profile_resolve): Do no save or restore CR. Support extended
21690 return values for ELFv2 ABI. Fix location of FPR return registers.
21691 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21692 updated values for _CALL_ELF == 2.
21693 (La_regs, La_retval, int_retval): Likewise.
21694
21695 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21696
21697 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21698 (FRAME_MIN_SIZE_PARM): Likewise.
21699 (FRAME_BACKCHAIN): Likewise.
21700 (FRAME_CR_SAVE): Likewise.
21701 (FRAME_LR_SAVE): Likewise.
21702 (FRAME_TOC_SAVE): Likewise.
21703 (FRAME_PARM_SAVE): Likewise.
21704 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21705 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21706 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21707 (call_mcount_parm_offset): New macro.
21708 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21709 (PROF): Use symbolic stack frame offsets.
21710 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21712 Redefine in terms of FRAME_MIN_SIZE.
21713 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21714 (_dl_profile_resolve): Likewise. Update comment.
21715 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21716 symbols stack frame offsets.
21717 (__sigsetjmp): Likewise.
21718 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21719 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21720 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21721 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21722
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21724 (FRAME_BACKCHAIN): Remove.
21725 (FRAME_CR_SAVE): Likewise.
21726 (FRAME_LR_SAVE): Likewise.
21727 (FRAME_COMPILER_DW): Likewise.
21728 (FRAME_LINKER_DW): Likewise.
21729 (FRAME_TOC_SAVE): Likewise.
21730 (FRAME_PARM_SAVE): Likewise.
21731 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21732 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21733 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21735 (CHECK_SP): Use symbolic stack frame offsets.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21737 zone" instead of caller's parameter save area for temp storage.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21739 Likewise. Also, use symbolic stack frame offsets.
21740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21741 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21742 our own stack frame instead of the caller's.
21743 (__socket): Use symbolic stack frame offsets.
21744
21745 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21746 Alan Modra <amodra@gmail.com>
21747
21748 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21749 Define.
21750 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21751 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21752 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21753 New function.
21754 (elf_machine_fixup_plt): Call it.
21755 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21756 reloc arguments.
21757 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21759 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21760 r2 before calling target.
21761
21762 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21763 Alan Modra <amodra@gmail.com>
21764
21765 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21766 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21767 versions of macros to support ELFv2 ABI.
21768 (LOCALENTRY): New macro.
21769 (ENTRY, EALIGN): Use it.
21770 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21771 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21772 fall through into ENTRY entry point.
21773 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21774 Only define if _CALL_ELF != 2.
21775
21776 (elf_machine_matches_host): Verify ABI version matches.
21777 (RTLD_START): Use LOCALENTRY.
21778 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21779 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21780 (PLT_ENTRY_WORDS): New macro.
21781 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21782 (elf_machine_runtime_setup): Support ELFv2 ABI.
21783 (elf_machine_fixup_plt): Likewise.
21784 (elf_machine_plt_conflict): Likewise.
21785 (resolve_ifunc): Likewise.
21786 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21788 Likewise.
21789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21790 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21792 (makecontext): Support ELFv2 ABI.
21793 * elf/elf.h (EF_PPC64_ABI): Define.
21794
21795 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21796
21797 * sysdeps/powerpc/powerpc64/sysdep.h
21798 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21799 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21800 (ENTRY) [ASSEMBLER]: ... but instead here ...
21801 (EALIGN) [ASSEMBLER]: ... and here.
21802 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21803 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21804 (ENTRY_2) [!ASSEMBLER]: Use it.
21805 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21806 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21807 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21808 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21809 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21811 Use PPC64_LOAD_FUNCPTR.
21812
21813 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21814
21815 2013-12-04 Alan Modra <amodra@gmail.com>
21816
21817 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21818 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21819 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21820 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21821
21822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21823 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21824 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21825 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21826 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21827 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21828
21829 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21830
21831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21832 (__makecontext): Fix incorrect CFI when backtracing out of
21833 context created via makecontext.
21834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21835 (__setcontext): Fix incorrect CFI during switch to new context.
21836 (__novec_setcontext): Likewise.
21837
21838 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21839
21840 [BZ #4772]
21841 * time/strptime_l.c (__strptime_internal): Allow modifiers
21842 in strptime.
21843 * time/tst-strptime.c (day_tests): Add testcase.
21844
21845 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21846
21847 * scripts/bench.pl: Skip over blank lines.
21848
21849 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21850
21851 [BZ #926]
21852 * manual/time.texi (Calendar Time): Clarify what timezone functions
21853 use.
21854
21855 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21856
21857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21858
21859 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21860
21861 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21862 implementation.
21863 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21864 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21865 * debug/memset_chk.c (__memset_chk): Likewise.
21866 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21867 * debug/strncpy_chk.c: Likewise.
21868
21869 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21870
21871 [BZ #15268]
21872 [BZ #15425]
21873 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21874 (__ieee754_exp): For possibly underflowing results, check size of
21875 result and force underflow exception if required.
21876 * math/auto-libm-test-in: Add more tests of exp.
21877 * math/auto-libm-test-out: Regenerated.
21878 * sysdeps/i386/fpu/libm-test-ulps: Update.
21879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21880
21881 [BZ #16283]
21882 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21883 * math/w_exp2f.c (__exp2f): Likewise.
21884 * math/w_exp2l.c (__exp2l): Likewise.
21885 * math/auto-libm-test-in: Do not allow missing errno on exp2
21886 underflow.
21887 * math/auto-libm-test-out: Regenerated.
21888
21889 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21890
21891 [BZ #16274]
21892 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21893 handle filename validation.
21894 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21895 (do_open): Delete.
21896
21897 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21898
21899 [BZ #6786]
21900 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21901 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21902 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21903 <float.h>.
21904 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21905 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21906 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21907 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21908 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21909 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21910 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21911 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21912 Add more erfc tests.
21913 * math/auto-libm-test-out: Regenerated.
21914 * sysdeps/i386/fpu/libm-test-ulps: Update.
21915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21916
21917 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21918 exp2, expm1, j0 and j1.
21919 * math/auto-libm-test-out: Regenerated.
21920 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21921 (erfc_test_data): Likewise.
21922 (exp_test_data): Likewise.
21923 (exp_tonearest_test_data): Likewise.
21924 (exp_towardzero_test_data): Likewise.
21925 (exp_downward_test_data): Likewise.
21926 (exp_upward_test_data): Likewise.
21927 (exp10_test_data): Likewise.
21928 (exp2_test_data): Likewise.
21929 (expm1_test_data): Likewise.
21930 (j0_test_data): Likewise.
21931 (j1_test_data): Likewise.
21932 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21933 (input_flag_type): Add flag_xfail_rounding.
21934 (input_flags): Add xfail-rounding.
21935 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21936 (output_for_one_input_case): Handle flag_xfail_rounding.
21937 * sysdeps/i386/fpu/libm-test-ulps: Update.
21938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21939
21940 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21941
21942 [BZ #16289]
21943 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21944 division by 0.
21945
21946 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21947
21948 [BZ #16195]
21949 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21950 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21951 (STAP_PROBE0): New macro.
21952 (STAP_PROBE1): Likewise.
21953 (STAP_PROBE2): Likewise.
21954 (STAP_PROBE3): Likewise.
21955 (STAP_PROBE4): Likewise.
21956
21957 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21958
21959 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21960
21961 2013-12-02 Steve Ellcey <sellcey@mips.com>
21962
21963 * benchtests/Makefile (bench): Add sqrt.
21964 (LDLIBS-bench-sqrt): New.
21965 * benchtests/sqrt-input: New.
21966
21967 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21968
21969 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21970 (GAIH_EAI): Likewise.
21971 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21972 (gaih_inet): Likewise.
21973 (getaddrinfo): Don't use GAIH_EAI.
21974
21975 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21976 (struct gaih): Remove definition.
21977
21978 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21979
21980 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21981 Use HERRNOP directly.
21982
21983 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21984
21985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21986
21987 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21988
21989 * math/gen-auto-libm-tests.c (test_functions): Add more
21990 single-argument functions.
21991 (special_fill_pi_2): New function.
21992 (special_fill_minus_pi_2): Likewise.
21993 (special_fill_pi_6): Likewise.
21994 (special_fill_minus_pi_6): Likewise.
21995 (special_fill_pi_3): Likewise.
21996 (special_fill_2pi_3): Likewise.
21997 (special_fill_e): Likewise.
21998 (special_fill_1_e): Likewise.
21999 (special_fill_e_minus_1): Likewise.
22000 (special_real_inputs): Add more special inputs.
22001 (output_for_one_input_case): Do not require ERANGE on underflow to
22002 zero if round-to-nearest result does not underflow to zero, unless
22003 exact results required.
22004 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22005 atan, atanh, cbrt, cos and cosh.
22006 * math/auto-libm-test-out: Regenerated.
22007 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22008 (acos_tonearest_test_data): Likewise.
22009 (acos_towardzero_test_data): Likewise.
22010 (acos_downward_test_data): Likewise.
22011 (acos_upward_test_data): Likewise.
22012 (acosh_test_data): Likewise.
22013 (asin_test_data): Likewise.
22014 (asin_tonearest_test_data): Likewise.
22015 (asin_towardzero_test_data): Likewise.
22016 (asin_upward_test_data): Likewise.
22017 (asinh_test_data): Likewise.
22018 (atan_test_data): Likewise.
22019 (atanh_test_data): Likewise.
22020 (cbrt_test_data): Likewise.
22021 (cos_test_data): Likewise.
22022 (cos_tonearest_test_data): Likewise.
22023 (cos_towardzero_test_data): Likewise.
22024 (cos_downward_test_data): Likewise.
22025 (cos_upward_test_data): Likewise.
22026 (cosh_test_data): Likewise.
22027 (cosh_tonearest_test_data): Likewise.
22028 (cosh_towardzero_test_data): Likewise.
22029 (cosh_downward_test_data): Likewise.
22030 (cosh_upward_test_data): Likewise.
22031 * sysdeps/i386/fpu/libm-test-ulps: Update.
22032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22033
22034 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22035
22036 [BZ #6787]
22037 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22038 * math/w_exp10f.c (__exp10f): Likewise.
22039 * math/w_exp10l.c (__exp10l): Likewise.
22040 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22041 errno settings in existing tests.
22042
22043 [BZ #14032]
22044 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22045 precision control set to double precision.
22046 * sysdeps/i386/fpu/w_sqrt.c: New file.
22047 * math/auto-libm-test-in: Add more tests.
22048 * math/auto-libm-test-out: Update.
22049
22050 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22051 (sqrt_test_tonearest): New function.
22052 (sqrt_towardzero_test_data): New variable.
22053 (sqrt_test_towardzero): New function.
22054 (sqrt_downward_test_data): New variable.
22055 (sqrt_test_downward): New function.
22056 (sqrt_upward_test_data): New variable.
22057 (sqrt_test_upward): New function.
22058 (main): Call the new functions.
22059
22060 * math/gen-auto-libm-tests.c: New file.
22061 * math/auto-libm-test-in: Likewise.
22062 * math/auto-libm-test-out: New generated file.
22063 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22064 variables.
22065 (%beautify): Add generated representations of zero.
22066 (top level): Set $auto_input and call parse_auto_input.
22067 (beautify): Remove trailing "f" from hex float constants.
22068 (parse_args): Handle XFAIL_TEST.
22069 (convert_condition): New function.
22070 (or_value): Likewise.
22071 (or_cond_value): Likewise.
22072 (generate_testfile): Handle AUTO_TESTS_* lines.
22073 (parse_auto_input): New function.
22074 * math/libm-test.inc (XFAIL_TEST): New macro.
22075 (ERRNO_UNCHANGED): Update value.
22076 (ERRNO_EDOM): Likewise.
22077 (ERRNO_ERANGE): Likewise.
22078 (IGNORE_RESULT): Likewise.
22079 (TEST_COND_flt_32): New macro.
22080 (TEST_COND_dbl_64): Likewise.
22081 (TEST_COND_ldbl_96_intel): Likewise.
22082 (TEST_COND_ldbl_96_m68k): Likewise.
22083 (TEST_COND_ldbl_128): Likewise.
22084 (TEST_COND_ldbl_128ibm): Likewise.
22085 (TEST_COND_long32): Likewise.
22086 (TEST_COND_long64): Likewise.
22087 (TEST_COND_before_rounding): Likewise.
22088 (TEST_COND_after_rounding): Likewise.
22089 (enable_test): Handle XFAIL_TEST flag.
22090 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22091 with finite results.
22092 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22093 auto-libm-test-out.
22094
22095 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22096 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22097
22098 [BZ #16214]
22099 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22100 __tls_get_addr_internal instead of __tls_get_offset in order to
22101 avoid GOT pointer dependency. Make rtld export
22102 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22103 __tls_get_addr since we are a __tls_get_offset platform.
22104 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22105 GOT pointer being set up before.
22106 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22107
22108 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22109
22110 * manual/math.texi (Errors in Math Functions): Document accuracy
22111 goals.
22112
22113 [BZ #15004]
22114 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22115 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22116 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22118 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22119 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22120 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22121 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22122 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22123 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22129 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22130
22131 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22132 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22133 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22134 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22135 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22136 Likewise.
22137 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22138 Likewise.
22139 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22140 Likewise.
22141 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22142 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22143 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22144 atomic-feupdateenv and flt-rounds.
22145 * sysdeps/powerpc/nofpu/Versions (libc): Add
22146 __atomic_feholdexcept, __atomic_feclearexcept,
22147 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22148 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22149 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22150 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22151 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22152 here.
22153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22154 Update.
22155
22156 * manual/arith.texi (FP Exceptions): Document that exceptions may
22157 not be raised when matherr is used.
22158 (Math Error Reporting): Document overflow in directed rounding
22159 modes. Document that errno may not be set when finite values are
22160 returned on overflow. Document intent to set errno on underflow
22161 only for underflow to zero.
22162
22163 [BZ #16271]
22164 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22165 round-to-nearest then adjust result for other rounding modes.
22166 * include/fenv.h (fegetround): Use libm_hidden_proto.
22167 * math/fegetround.c (fegetround): Use libm_hidden_def.
22168 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22169 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22170 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22171 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22172 Likewise.
22173 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22174 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22175 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22176 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22177
22178 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22179
22180 [BZ #16077]
22181 * nss/Versions (libnss_files): Add
22182 _nss_files_gethostbyname3_r.
22183 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22184 New function.
22185 (HOST_DB_LOOKUP): Remove macro.
22186 (_nss_files_gethostbyname_r): Implement function without the
22187 HOST_DB_LOOKUP macro.
22188 (_nss_files_gethostbyname2_r): Likewise.
22189
22190 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22191
22192 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22193
22194 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22195
22196 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22197 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22198 warning.
22199
22200 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22201
22202 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22203 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22204 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22205 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22206 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22207 __fe_nomask_env_priv and attribute_hidden.
22208 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22209 (libc_feupdateenv_test_ppc): Likewise.
22210 (libc_feresetround_ppc): Likewise.
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22212 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22213 compat_symbol macro.
22214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22215 (__fe_nomask_env): Likewise.
22216 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22217
22218 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22219
22220 * string/Makefile: Remove ifunc tests.
22221 * string/test-string.h: Define TEST_IFUNC.
22222 * string/test-bcopy-ifunc.c: Remove.
22223 * string/test-bzero-ifunc.c: Likewise.
22224 * string/test-memccpy-ifunc.c: Likewise.
22225 * string/test-memchr-ifunc.c: Likewise.
22226 * string/test-memcmp-ifunc.c: Likewise.
22227 * string/test-memcpy-ifunc.c: Likewise.
22228 * string/test-memmem-ifunc.c: Likewise.
22229 * string/test-memmove-ifunc.c: Likewise.
22230 * string/test-mempcpy-ifunc.c: Likewise.
22231 * string/test-memrchr-ifunc.c: Likewise.
22232 * string/test-memset-ifunc.c: Likewise.
22233 * string/test-rawmemchr-ifunc.c: Likewise.
22234 * string/test-stpcpy-ifunc.c: Likewise.
22235 * string/test-stpncpy-ifunc.c: Likewise.
22236 * string/test-strcasecmp-ifunc.c: Likewise.
22237 * string/test-strcasestr-ifunc.c: Likewise.
22238 * string/test-strcat-ifunc.c: Likewise.
22239 * string/test-strchr-ifunc.c: Likewise.
22240 * string/test-strchrnul-ifunc.c: Likewise.
22241 * string/test-strcmp-ifunc.c: Likewise.
22242 * string/test-strcpy-ifunc.c: Likewise.
22243 * string/test-strcspn-ifunc.c: Likewise.
22244 * string/test-strlen-ifunc.c: Likewise.
22245 * string/test-strncasecmp-ifunc.c: Likewise.
22246 * string/test-strncat-ifunc.c: Likewise.
22247 * string/test-strncmp-ifunc.c: Likewise.
22248 * string/test-strncpy-ifunc.c: Likewise.
22249 * string/test-strnlen-ifunc.c: Likewise.
22250 * string/test-strpbrk-ifunc.c: Likewise.
22251 * string/test-strrchr-ifunc.c: Likewise.
22252 * string/test-strspn-ifunc.c: Likewise.
22253 * string/test-strstr-ifunc.c: Likewise.
22254
22255 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22256
22257 * benchtests/Makefile: Remove ifunc tests.
22258 * benchtests/bench-string.h: Define TEST_IFUNC.
22259 * benchtests/bench-bcopy-ifunc.c: Remove.
22260 * benchtests/bench-bzero-ifunc.c: Likewise.
22261 * benchtests/bench-memccpy-ifunc.c: Likewise.
22262 * benchtests/bench-memchr-ifunc.c: Likewise.
22263 * benchtests/bench-memcmp-ifunc.c: Likewise.
22264 * benchtests/bench-memcpy-ifunc.c: Likewise.
22265 * benchtests/bench-memmem-ifunc.c: Likewise.
22266 * benchtests/bench-memmove-ifunc.c: Likewise.
22267 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22268 * benchtests/bench-memrchr-ifunc.c: Likewise.
22269 * benchtests/bench-memset-ifunc.c: Likewise.
22270 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22271 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22272 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22273 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22274 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22275 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22276 * benchtests/bench-strcat-ifunc.c: Likewise.
22277 * benchtests/bench-strchr-ifunc.c: Likewise.
22278 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22279 * benchtests/bench-strcmp-ifunc.c: Likewise.
22280 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22281 * benchtests/bench-strcpy-ifunc.c: Likewise.
22282 * benchtests/bench-strcspn-ifunc.c: Likewise.
22283 * benchtests/bench-strlen-ifunc.c: Likewise.
22284 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22285 * benchtests/bench-strncat-ifunc.c: Likewise.
22286 * benchtests/bench-strncmp-ifunc.c: Likewise.
22287 * benchtests/bench-strncpy-ifunc.c: Likewise.
22288 * benchtests/bench-strnlen-ifunc.c: Likewise.
22289 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22290 * benchtests/bench-strrchr-ifunc.c: Likewise.
22291 * benchtests/bench-strsep-ifunc.c: Likewise.
22292 * benchtests/bench-strspn-ifunc.c: Likewise.
22293 * benchtests/bench-strstr-ifunc.c: Likewise.
22294
22295 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22296
22297 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22298
22299 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22300
22301 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22302 * rt/aio.h: Likewise.
22303 * sysdeps/gnu/bits/utmp.h: Likewise.
22304 * sysdeps/gnu/bits/utmpx.h: Likewise.
22305 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22306 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22307 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22308 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22309 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22310 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22311 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22312 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22313 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22314 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22315 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22316 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22317 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22319 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22320 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22321 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22322 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22323 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22324 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22325 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22326 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22327 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22328 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22329 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22331 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22332 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22333 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22334 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22335 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22336 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22337 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22338 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22339 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22340 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22341 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22342 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22343 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22344 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22345 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22346 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22347
22348 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22349
22350 [BZ #16245]
22351 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22352 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22353
22354 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22355
22356 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22357 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22358 Likewise.
22359
22360 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22361
22362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22363 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22364 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22365 (__fesetround): Remove define.
22366 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22367 rounding and exceptions handling.
22368 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22369 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22370 (__fe_nomask_env): Likewise.
22371 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22372 __fegetround instead of fegetround.
22373 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22374 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22375
22376 2013-11-21 Roland McGrath <roland@hack.frob.com>
22377
22378 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22379 it's there.
22380
22381 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22382
22383 2013-11-21 Meador Inge <meadori@codesourcery.com>
22384
22385 [BZ #11157]
22386 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22387 (encrypt_r): Likewise.
22388 * malloc/obstack.h (obstack_free): Likewise.
22389 * posix/unistd.h (encrypt): Likewise.
22390
22391 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22392
22393 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22394 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22395 DL_CALL_DT_FINI() that call the functions directly.
22396 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22397 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22398 * elf/dl-fini.c: Likewise.
22399
22400 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22401
22402 * malloc/hooks.c (memalign_check): Add alignment rounding.
22403 * malloc/malloc.c (_mid_memalign): New function.
22404 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22405 Implement by calling _mid_memalign.
22406 * manual/probes.texi (Memory Allocation Probes): Remove
22407 memory_valloc_retry and memory_pvalloc_retry.
22408
22409 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22410
22411 * locale/programs/locarchive.c (open_archive): Add const
22412 qualifier to ARCHIVEFNAME and copy default fname to
22413 DEFAULT_FNAME.
22414
22415 [BZ #15601]
22416 * libio/tst-widetext.input: Rename Oriya to Odia.
22417 * locale/iso-639.def: Likewise.
22418
22419 * manual/probes.texi (Mathematical Function Probes): Add
22420 documentation for sin, cos, asin and acos probes.
22421 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22422 (__sin32): Add slowasin probe.
22423 (__cos32): Add slowacos probe.
22424 (__mpsin): Add slowsin probe.
22425 (__mpcos): Add slowcos probe.
22426
22427 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22428
22429 [BZ #15483]
22430 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22431 thread-local __sim_exceptions_thread and global
22432 __sim_exceptions_global.
22433 (__sim_disabled_exceptions): Change to thread-local
22434 __sim_disabled_exceptions_thread and global
22435 __sim_disabled_exceptions_global.
22436 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22437 and global __sim_round_mode_global.
22438 (__simulate_exceptions): Use thread-local floating-point state and
22439 set global state from it as needed.
22440 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22441 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22442 __sim_round_mode_thread.
22443 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22444 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22445 and global __sim_exceptions_global.
22446 (__sim_disabled_exceptions): Change to thread-local
22447 __sim_disabled_exceptions_thread and global
22448 __sim_disabled_exceptions_global.
22449 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22450 and global __sim_round_mode_global.
22451 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22452 (SIM_SET_GLOBAL): Likewise.
22453 * sysdeps/powerpc/soft-fp/sfp-machine.h
22454 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22455 __sim_round_mode_thread.
22456 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22457 __sim_disabled_exceptions_thread.
22458 (__sim_exceptions): Change to __sim_exceptions_thread.
22459 (__sim_disabled_exceptions): Change to
22460 __sim_disabled_exceptions_thread.
22461 (__sim_round_mode): Change to __sim_round_mode_thread.
22462 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22463 thread-local floating-point state and set global state from it as
22464 needed.
22465 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22466 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22467 (__sim_disabled_exceptions): Remove extern declaration.
22468 (feenableexcept): Use thread-local floating-point state and set
22469 global state from it as needed.
22470 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22471 extern declaration.
22472 (__sim_disabled_exceptions): Likewise.
22473 (__sim_round_mode): Likewise.
22474 (__fegetenv): Use thread-local floating-point state.
22475 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22476 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22477 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22478 floating-point state and set global state from it as needed.
22479 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22480 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22481 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22482 Likewise.
22483 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22484 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22485 Likewise.
22486 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22487 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22488 Use __sim_round_mode_thread.
22489 * math/test-fenv-tls.c: New file.
22490 * math/Makefile (tests): Add test-fenv-tls.
22491 ($(objpfx)test-fenv-tls): Depend on
22492 $(common-objpfx)nptl/libpthread.so.
22493
22494 2013-11-19 Andreas Schwab <schwab@suse.de>
22495
22496 * locale/programs/locale.c (show_info): Decode wordarray elements.
22497 * locale/categories.def (LC_MONETARY): Add element for
22498 _NL_MONETARY_CRNCYSTR.
22499 * locale/C-monetary.c (conversion_rate): New variable.
22500 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22501 element.
22502
22503 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22504
22505 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22506 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22507
22508 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22509
22510 * elf/Makefile (tst-auxv): New test.
22511 * elf/tst-auxv.c: New
22512 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22513
22514 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22515
22516 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22517 (hidden_proto): Caller changed.
22518 (hidden_tls_proto): New macro.
22519 (libc_hidden_tls_proto): Likewise.
22520 (rtld_hidden_tls_proto): Likewise.
22521 (libm_hidden_tls_proto): Likewise.
22522 (libresolv_hidden_tls_proto): Likewise.
22523 (librt_hidden_tls_proto): Likewise.
22524 (libdl_hidden_tls_proto): Likewise.
22525 (libnss_files_hidden_tls_proto): Likewise.
22526 (libnsl_hidden_tls_proto): Likewise.
22527 (libnss_nisplus_hidden_tls_proto): Likewise.
22528 (libutil_hidden_tls_proto): Likewise.
22529
22530 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22531
22532 [BZ #10253]
22533 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22534 (decompose_rpath): Defer expansion to fillin_rpath.
22535 (_dl_init_paths): Pass linkmap to fillin_rpath.
22536
22537 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22538
22539 * benchtests/Makefile: Add strsep.
22540 * benchtests/bench-strsep.c: New file: strsep benchtest.
22541 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22542
22543 2013-11-18 Andreas Schwab <schwab@suse.de>
22544
22545 * locale/programs/locale.c (show_info) [case byte]: Check for
22546 '\377' instead of '\177'.
22547 * locale/C-monetary.c (not_available): Always use "\377".
22548 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22549 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22550 detect unavailable sign_posn locale elements.
22551 * locale/localeconv.c (__localeconv): For grouping and
22552 mon_grouping handle "\177" and "\377" like no grouping.
22553 (INT_ELEM): New macro. Use it to set all numeric members.
22554 * locale/programs/ld-monetary.c (monetary_read)
22555 <tok_mon_grouping>: Normalize single -1 to the empty string.
22556 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22557 Likewise.
22558
22559 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22560
22561 [BZ #16055]
22562 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22563 when we match (nil).
22564 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22565
22566 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22567
22568 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22569 (NO_TEST_INLINE): Update value.
22570 (ERRNO_UNCHANGED): Likewise.
22571 (ERRNO_EDOM): Likewise.
22572 (ERRNO_ERANGE): Likewise.
22573 (IGNORE_RESULT): Likewise.
22574 (check_float_internal): Check signs of NaN results if
22575 TEST_NAN_SIGN used.
22576 (check_complex): Pass TEST_NAN_SIGN flag through to second
22577 check_float_internal call.
22578 (copysign_test_data): Add tests with quiet NaNs as second
22579 argument. Use TEST_NAN_SIGN.
22580 (fabs_test_data): Add test of negative quiet NaN argument. Use
22581 TEST_NAN_SIGN.
22582 (signbit_test_data): Add tests of quiet NaN argument.
22583 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22584
22585 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22586 $ignore_result.
22587 (parse_args): Handle function results specified as IGNORE.
22588 * math/libm-test.inc (IGNORE_RESULT): New macro.
22589 (check_float_internal): Do not check numerical result if flag
22590 IGNORE_RESULT set.
22591 (check_complex): Pass through IGNORE_RESULT to second
22592 check_float_internal call.
22593 (check_int): Do not check numerical result if flag IGNORE_RESULT
22594 set.
22595 (check_long): Likewise.
22596 (check_bool): Likewise.
22597 (check_longlong): Likewise.
22598 (lrint_test_data): Add tests of infinite and NaN arguments.
22599 (lrint_tonearest_test_data): Likewise.
22600 (lrint_towardzero_test_data): Likewise.
22601 (lrint_downward_test_data): Likewise.
22602 (lrint_upward_test_data): Likewise.
22603 (llrint_test_data): Likewise.
22604 (llrint_tonearest_test_data): Likewise.
22605 (llrint_towardzero_test_data): Likewise.
22606 (llrint_downward_test_data): Likewise.
22607 (llrint_upward_test_data): Likewise.
22608 (lround_test_data): Likewise.
22609 (llround_test_data): Likewise.
22610
22611 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22612 (ERRNO_UNCHANGED): Update value.
22613 (ERRNO_EDOM): Likewise.
22614 (ERRNO_ERANGE): Likewise.
22615 (NO_TEST_INLINE_FLOAT): New macro.
22616 (NO_TEST_INLINE_DOUBLE): Likewise.
22617 (enable_test): New function.
22618 (RUN_TEST_f_f): Check enable_test before running test.
22619 (RUN_TEST_2_f): Likewise.
22620 (RUN_TEST_fff_f): Likewise.
22621 (RUN_TEST_c_f): Likewise.
22622 (RUN_TEST_f_f1): Likewise.
22623 (RUN_TEST_fF_f1): Likewise.
22624 (RUN_TEST_fI_f1): Likewise.
22625 (RUN_TEST_ffI_f1): Likewise.
22626 (RUN_TEST_c_c): Likewise.
22627 (RUN_TEST_cc_c): Likewise.
22628 (RUN_TEST_f_i): Likewise.
22629 (RUN_TEST_f_i_tg): Likewise.
22630 (RUN_TEST_ff_i_tg): Likewise.
22631 (RUN_TEST_f_b): Likewise.
22632 (RUN_TEST_f_b_tg): Likewise.
22633 (RUN_TEST_f_l): Likewise.
22634 (RUN_TEST_f_L): Likewise.
22635 (RUN_TEST_fFF_11): Likewise.
22636 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22637 conditionals.
22638 (cosh_test_data): Likewise.
22639 (exp_test_data): Likewise.
22640 (expm1_test_data): Likewise.
22641 (hypot_test_data): Likewise.
22642 (pow_test_data): Likewise.
22643 (sinh_test_data): Likewise.
22644 (tanh_test_data): Likewise.
22645 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22646 flags argument.
22647
22648 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22649 tests with quiet NaN input and output.
22650 (acosh_test_data): Likewise.
22651 (asin_test_data): Likewise.
22652 (asinh_test_data): Likewise.
22653 (atan_test_data): Likewise.
22654 (atanh_test_data): Likewise.
22655 (atan2_test_data): Likewise.
22656 (cbrt_test_data): Likewise.
22657 (cos_test_data): Likewise.
22658 (cosh_test_data): Likewise.
22659 (erf_test_data): Likewise.
22660 (erfc_test_data): Likewise.
22661 (exp_test_data): Likewise.
22662 (exp10_test_data): Likewise.
22663 (exp2_test_data): Likewise.
22664 (expm1_test_data): Likewise.
22665 (hypot_test_data): Likewise.
22666 (j0_test_data): Likewise.
22667 (j1_test_data): Likewise.
22668 (jn_test_data): Likewise.
22669 (lgamma_test_data): Likewise.
22670 (log_test_data): Likewise.
22671 (log10_test_data): Likewise.
22672 (log1p_test_data): Likewise.
22673 (log2_test_data): Likewise.
22674 (pow_test_data): Likewise.
22675 (scalb_test_data): Likewise.
22676 (sin_test_data): Likewise.
22677 (sincos_test_data): Likewise.
22678 (sinh_test_data): Likewise.
22679 (tan_test_data): Likewise.
22680 (tanh_test_data): Likewise.
22681 (tgamma_test_data): Likewise.
22682 (y0_test_data): Likewise.
22683 (y1_test_data): Likewise.
22684 (yn_test_data): Likewise.
22685
22686 [BZ #16167]
22687 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22688 argument being NaN and avoid computations with second argument in
22689 that case.
22690 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22691 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22692 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22693
22694 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22695
22696 * locale/iso-639.def: Add Chitwani Tharu (the).
22697
22698 2013-11-14 Andreas Schwab <schwab@suse.de>
22699
22700 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22701 word instead of empty string.
22702
22703 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22704
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22706 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22708 (__fe_nomask_env): Likewise.
22709
22710 2013-11-13 Steve Ellcey <sellcey@mips.com>
22711
22712 * benchtests/bench-timing.h: Include time.h.
22713
22714 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 [BZ #15997]
22717 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22718 to 3.4.0 for x32.
22719 * sysdeps/unix/sysv/linux/configure: Regenerated.
22720
22721 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22722
22723 [BZ #16151]
22724 * stdlib/strtod_l.c (round_and_return): Do not consider
22725 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22726 exponent one less than half the least subnormal exponent.
22727 * stdlib/test-strtod-round-data: Add more tests.
22728 * stdlib/tst-strtod-round.c (tests): Regenerated.
22729
22730 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22731
22732 [BZ #14143]
22733 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22734 (__fe_mask_env): Likewise.
22735 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22736 libm_hidden_proto and add function prototype.
22737 (__fe_mask_env): Add function prototype.
22738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22739 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22741 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22743 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22744
22745 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22746
22747 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22748 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22749
22750 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22751
22752 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22753 of htab_find_slot().
22754
22755 2013-11-11 David S. Miller <davem@davemloft.net>
22756
22757 [BZ #16150]
22758 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22759 symbol in the non-vis3 case in static builds.
22760 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22761 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22762 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22763 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22764
22765 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22766
22767 [BZ #387]
22768 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22769 it is empty.
22770
22771 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22772
22773 * benchtests/Makefile: Add bench-strtod.
22774 * benchtests/bench-strtod.c: New file: strtod benchtest
22775
22776 2013-11-11 Andreas Schwab <schwab@suse.de>
22777
22778 [BZ #16153]
22779 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22780 terminating NUL in key length.
22781
22782 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22783
22784 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22785 Add artificial ODP entry for vDSO symbol for PPC64.
22786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22787 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22788
22789 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22790
22791 [BZ #15374]
22792 * nss/getent.c (services_keys): Recognize services starting with digit.
22793
22794 2013-11-06 David S. Miller <davem@davemloft.net>
22795
22796 [BZ #15985]
22797 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22798 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22799
22800 2013-11-06 Will Newton <will.newton@linaro.org>
22801
22802 * manual/memory.texi (Malloc Examples): Remove register
22803 keyword from examples.
22804
22805 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22806
22807 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22808
22809 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22810
22811 [BZ #6981]
22812 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22813 depending on [__GCC_IEC_559 > 0].
22814 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22815 depending on [__GCC_IEC_559_COMPLEX > 0].
22816
22817 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22818
22819 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22820 to iso-639.def.
22821
22822 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22823
22824 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22825
22826 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22827
22828 [BZ #16112]
22829 * malloc/malloc (malloc_info): Do not handle first bin as
22830 special case.
22831
22832 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22833
22834 * locale/iso-639.def: Add Central Nahuatl (nhn).
22835
22836 2013-11-01 Bruno Haible <bruno@clisp.org>
22837
22838 [BZ #7003]
22839 * manual/math.texi (BSD Random): Specify range upper bound as
22840 in POSIX.
22841
22842 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22843
22844 * locale/iso-639.def: Add Meadow Mari (mhr).
22845
22846 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22847
22848 [BZ #14752], [BZ #15763]
22849 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22850 Validate name.
22851 * rt/tst_shm.c: Add test for escaping directory.
22852
22853 2013-10-31 Andreas Schwab <schwab@suse.de>
22854
22855 [BZ #15917]
22856 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22857 followed by 'x' as part of digit sequence.
22858 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22859
22860 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22861
22862 [BZ #16037]
22863 * configure.ac: allow GNU Make 4.0 and greater.
22864 * configure: Regenerated.
22865
22866 2013-10-30 Will Newton <will.newton@linaro.org>
22867
22868 [BZ #16038]
22869 * malloc/hooks.c (memalign_check): Limit alignment to the
22870 maximum representable power of two.
22871 * malloc/malloc.c (__libc_memalign): Likewise.
22872 * malloc/tst-memalign.c (do_test): Add test for very
22873 large alignment values.
22874 * malloc/tst-posix_memalign.c (do_test): Likewise.
22875
22876 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22877
22878 [BZ #11087]
22879 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22880 (munmap_chunk): Likewise.
22881 (mremap_chunk): Likewise.
22882
22883 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22884
22885 [BZ #15799]
22886 * stdlib/div.c (div): Remove obsolete code.
22887 * stdlib/ldiv.c (ldiv): Likewise.
22888 * stdlib/lldiv.c (lldiv): Likewise.
22889
22890 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22891
22892 [BZ #16071]
22893 * nss/nss_files/files-XXX.c (get_contents_ret): New
22894 enumerator.
22895 (get_contents): New function.
22896 (internal_getent): Use it. Expand size of LINEBUFLEN.
22897
22898 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22899
22900 * configure.in: Moved to ...
22901 * configure.ac: ... here. Change reference to configure.in
22902 to configure.ac.
22903 * sysdeps/arm/preconfigure.ac: ... here.
22904 configure.in to configure.ac.
22905 * sysdeps/gnu/configure.in: Moved to ...
22906 * sysdeps/gnu/configure.ac: ... here.
22907 * sysdeps/i386/configure.in: Moved to ...
22908 * sysdeps/i386/configure.ac: ... here.
22909 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22910 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22911 * sysdeps/mach/configure.in: Moved to ...
22912 * sysdeps/mach/configure.ac: ... here.
22913 * sysdeps/mach/hurd/configure.in: Moved to ...
22914 * sysdeps/mach/hurd/configure.ac: ... here.
22915 * sysdeps/powerpc/configure.in: Moved to ...
22916 * sysdeps/powerpc/configure.ac: ... here.
22917 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22918 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22919 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22920 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22921 * sysdeps/s390/s390-32/configure.in: Moved to ...
22922 * sysdeps/s390/s390-32/configure.ac: ... here.
22923 * sysdeps/s390/s390-64/configure.in: Moved to ...
22924 * sysdeps/s390/s390-64/configure.ac: ... here.
22925 * sysdeps/sh/configure.in: Moved to ...
22926 * sysdeps/sh/configure.ac: ... here.
22927 * sysdeps/sparc/configure.in: Moved to ...
22928 * sysdeps/sparc/configure.ac: ... here.
22929 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22930 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22931 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22932 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22933 * sysdeps/x86_64/configure.in: Moved to ...
22934 * sysdeps/x86_64/configure.ac: ... here.
22935 * sysdeps/x86_64/preconfigure.in: Moved to ...
22936 * sysdeps/x86_64/preconfigure.ac: ... here.
22937 * aclocal.m4: Change reference to configure.in to configure.ac.
22938 * config.h.in: Likewise.
22939 * manual/install.texi: Likewise.
22940 * manual/maint.texi: Likewise.
22941 * Makefile: Likewise.
22942 * malloc/Makefile: Likewise.
22943 * nscd/Makefile: Likewise.
22944 * Makeconfig: Change reference to configure.in and
22945 preconfigure.in to configure.ac and preconfigure.ac
22946 respectively.
22947 * INSTALL: Regenerated.
22948 * configure: Likewise.
22949 * sysdeps/gnu/configure: Likewise.
22950 * sysdeps/i386/configure: Likewise.
22951 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22952 * sysdeps/mach/configure: Likewise.
22953 * sysdeps/mach/hurd/configure: Likewise.
22954 * sysdeps/powerpc/configure: Likewise.
22955 * sysdeps/powerpc/powerpc32/configure: Likewise.
22956 * sysdeps/powerpc/powerpc64/configure: Likewise.
22957 * sysdeps/s390/s390-32/configure: Likewise.
22958 * sysdeps/s390/s390-64/configure: Likewise.
22959 * sysdeps/sh/configure: Likewise.
22960 * sysdeps/sparc/configure: Likewise.
22961 * sysdeps/unix/sysv/linux/configure: Likewise.
22962 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22963 * sysdeps/x86_64/configure: Likewise.
22964 * sysdeps/x86_64/preconfigure: Likewise.
22965
22966 2013-10-29 Andreas Schwab <schwab@suse.de>
22967
22968 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22969
22970 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22971
22972 * benchtests/pow-inputs: Add new inputs.
22973
22974 * benchtests/exp-inputs: Add new inputs.
22975
22976 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22977 conditional check for return value.
22978 (__cos32): Likewise.
22979
22980 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22981
22982 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22983 to provide a boost for large inputs with word alignment.
22984 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22985 implementation based on optimized PPC64 strcpy.
22986 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22987 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22988 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22989 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22990
22991 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22992
22993 [BZ #2801]
22994 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22995
22996 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22997
22998 [BZ #14876]
22999 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23000 * time/tst-strptime.c (day_tests): Add testcase.
23001
23002 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23003
23004 [BZ #14029]
23005 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23006
23007 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23008
23009 [BZ #16074]
23010 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23011 MAP_FAILED on error.
23012
23013 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23014
23015 [BZ #16072]
23016 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23017 heap for large requests.
23018
23019 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23020
23021 [BZ #9954]
23022 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23023 result if the result has no associated interface.
23024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23025 interface for all 127.X.Y.Z addresses.
23026
23027 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23028
23029 * locale/iso-639.def: Add Ligurian (lij)
23030
23031 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23032
23033 [BZ #15825]
23034 * sunrpc/rpc_main.c: Document rpcgen -5.
23035
23036 2013-10-19 Michael Stahl <mstahl@redhat.com>
23037
23038 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23039
23040 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23041
23042 [BZ #10278]
23043 * posix/glob.c: Match only directories when trailing slash is present.
23044 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23045 (main): Add testcase.
23046
23047 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23048
23049 [BZ #15670]
23050 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23051
23052 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23053
23054 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23055 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23056 AUTH_DES and cindex for FIPS 140-2.
23057 (DES Encryption): Add cindex FIPS 46-3.
23058
23059 * locale/locarchive.h (struct locarhandle): Add fname.
23060 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23061 if an optional argument was specified to --list-archive,
23062 otherwise NULL.
23063 * locale/programs/locarchive.c (show_archive_content): Take new
23064 argument fname and pass it via ah.fname to open_archive.
23065 * locale/programs/localedef.h: Update decl.
23066 (open_archive): If AH->fname is non-null, open that file
23067 rather than the default file name, and don't ignore ENOENT.
23068 (create_archive): Set AH.fname to NULL.
23069 (delete_locales_from_archive): Likewise.
23070 (add_locales_to_archive): Likewise.
23071 * locale/programs/locfile.c (write_all_categories): Likewise.
23072
23073 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23074 Aldy Hernandez <aldyh@redhat.com>
23075
23076 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23077 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23078 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23079 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23080 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23081 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23082 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23083 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23084 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23085 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23086 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23087 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23088 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23089 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23090 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23091 Likewise.
23092 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23093 Likewise.
23094 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23095 Likewise.
23096 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23097 Likewise.
23098 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23099 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23100 Likewise.
23101 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23102 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23103 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23104 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23105 Likewise.
23106 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23107 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23108 * sysdeps/powerpc/preconfigure: Likewise.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23110 Likewise.
23111 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23112 Replace contents of file by #include of <fenv_libc.h>.
23113 * sysdeps/powerpc/soft-fp/sfp-machine.h
23114 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23115 and <sys/prctl.h>.
23116 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23119 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23129 Allow copysignl PLT reference to be missing.
23130
23131 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23132 Joseph Myers <joseph@codesourcery.com
23133
23134 [BZ #15948]
23135 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23136 single character.
23137 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23138
23139 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23140
23141 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23142 * elf/tst-tls1.c: Likewise.
23143 * elf/tst-tls10.h: Likewise.
23144 * elf/tst-tls14.c: Likewise.
23145 * elf/tst-tls2.c: Likewise.
23146 * elf/tst-tls3.c: Likewise.
23147 * elf/tst-tls4.c: Likewise.
23148 * elf/tst-tls5.c: Likewise.
23149 * elf/tst-tls6.c: Likewise.
23150 * elf/tst-tls7.c: Likewise.
23151 * elf/tst-tls8.c: Likewise.
23152 * elf/tst-tls9.c: Likewise.
23153 * elf/tst-tlsmod1.c: Likewise.
23154 * elf/tst-tlsmod13.c: Likewise.
23155 * elf/tst-tlsmod13a.c: Likewise.
23156 * elf/tst-tlsmod14a.c: Likewise.
23157 * elf/tst-tlsmod16a.c: Likewise.
23158 * elf/tst-tlsmod16b.c: Likewise.
23159 * elf/tst-tlsmod2.c: Likewise.
23160 * elf/tst-tlsmod3.c: Likewise.
23161 * elf/tst-tlsmod4.c: Likewise.
23162 * elf/tst-tlsmod5.c: Likewise.
23163 * elf/tst-tlsmod6.c: Likewise.
23164
23165 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23166
23167 [BZ #12486]
23168 * malloc/malloc.c: remove checks for statistics.
23169
23170 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23171
23172 [BZ #15277]
23173 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23174 * inet/tst-network.c: Add testcase.
23175
23176 2013-10-17 Andreas Schwab <schwab@suse.de>
23177
23178 [BZ #15218]
23179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23180 to determine canonical name.
23181
23182 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23183
23184 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23185 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23186 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23208 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23209 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23214 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23242
23243 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23244
23245 [BZ #16041]
23246 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23247 make result into a quiet NaN.
23248
23249 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23250
23251 * soft-fp/adddf3.c: Fix horizontal whitespace.
23252 * soft-fp/addsf3.c: Likewise.
23253 * soft-fp/addtf3.c: Likewise.
23254 * soft-fp/divdf3.c: Likewise.
23255 * soft-fp/divsf3.c: Likewise.
23256 * soft-fp/divtf3.c: Likewise.
23257 * soft-fp/double.h: Likewise.
23258 * soft-fp/eqdf2.c: Likewise.
23259 * soft-fp/eqsf2.c: Likewise.
23260 * soft-fp/eqtf2.c: Likewise.
23261 * soft-fp/extenddftf2.c: Likewise.
23262 * soft-fp/extended.h: Likewise.
23263 * soft-fp/extendsfdf2.c: Likewise.
23264 * soft-fp/extendsftf2.c: Likewise.
23265 * soft-fp/extendxftf2.c: Likewise.
23266 * soft-fp/fixdfdi.c: Likewise.
23267 * soft-fp/fixdfsi.c: Likewise.
23268 * soft-fp/fixdfti.c: Likewise.
23269 * soft-fp/fixsfdi.c: Likewise.
23270 * soft-fp/fixsfsi.c: Likewise.
23271 * soft-fp/fixsfti.c: Likewise.
23272 * soft-fp/fixtfdi.c: Likewise.
23273 * soft-fp/fixtfsi.c: Likewise.
23274 * soft-fp/fixtfti.c: Likewise.
23275 * soft-fp/fixunsdfdi.c: Likewise.
23276 * soft-fp/fixunsdfsi.c: Likewise.
23277 * soft-fp/fixunsdfti.c: Likewise.
23278 * soft-fp/fixunssfdi.c: Likewise.
23279 * soft-fp/fixunssfsi.c: Likewise.
23280 * soft-fp/fixunssfti.c: Likewise.
23281 * soft-fp/fixunstfdi.c: Likewise.
23282 * soft-fp/fixunstfsi.c: Likewise.
23283 * soft-fp/fixunstfti.c: Likewise.
23284 * soft-fp/floatdidf.c: Likewise.
23285 * soft-fp/floatdisf.c: Likewise.
23286 * soft-fp/floatditf.c: Likewise.
23287 * soft-fp/floatsidf.c: Likewise.
23288 * soft-fp/floatsisf.c: Likewise.
23289 * soft-fp/floatsitf.c: Likewise.
23290 * soft-fp/floattidf.c: Likewise.
23291 * soft-fp/floattisf.c: Likewise.
23292 * soft-fp/floattitf.c: Likewise.
23293 * soft-fp/floatundidf.c: Likewise.
23294 * soft-fp/floatundisf.c: Likewise.
23295 * soft-fp/floatunditf.c: Likewise.
23296 * soft-fp/floatunsidf.c: Likewise.
23297 * soft-fp/floatunsisf.c: Likewise.
23298 * soft-fp/floatunsitf.c: Likewise.
23299 * soft-fp/floatuntidf.c: Likewise.
23300 * soft-fp/floatuntisf.c: Likewise.
23301 * soft-fp/floatuntitf.c: Likewise.
23302 * soft-fp/fmadf4.c: Likewise.
23303 * soft-fp/fmasf4.c: Likewise.
23304 * soft-fp/fmatf4.c: Likewise.
23305 * soft-fp/gedf2.c: Likewise.
23306 * soft-fp/gesf2.c: Likewise.
23307 * soft-fp/getf2.c: Likewise.
23308 * soft-fp/ledf2.c: Likewise.
23309 * soft-fp/lesf2.c: Likewise.
23310 * soft-fp/letf2.c: Likewise.
23311 * soft-fp/muldf3.c: Likewise.
23312 * soft-fp/mulsf3.c: Likewise.
23313 * soft-fp/multf3.c: Likewise.
23314 * soft-fp/negdf2.c: Likewise.
23315 * soft-fp/negsf2.c: Likewise.
23316 * soft-fp/negtf2.c: Likewise.
23317 * soft-fp/op-1.h: Likewise.
23318 * soft-fp/op-2.h: Likewise.
23319 * soft-fp/op-4.h: Likewise.
23320 * soft-fp/op-8.h: Likewise.
23321 * soft-fp/op-common.h: Likewise.
23322 * soft-fp/quad.h: Likewise.
23323 * soft-fp/single.h: Likewise.
23324 * soft-fp/soft-fp.h: Likewise.
23325 * soft-fp/sqrtdf2.c: Likewise.
23326 * soft-fp/sqrtsf2.c: Likewise.
23327 * soft-fp/sqrttf2.c: Likewise.
23328 * soft-fp/subdf3.c: Likewise.
23329 * soft-fp/subsf3.c: Likewise.
23330 * soft-fp/subtf3.c: Likewise.
23331 * soft-fp/truncdfsf2.c: Likewise.
23332 * soft-fp/trunctfdf2.c: Likewise.
23333 * soft-fp/trunctfsf2.c: Likewise.
23334 * soft-fp/trunctfxf2.c: Likewise.
23335 * soft-fp/unorddf2.c: Likewise.
23336 * soft-fp/unordsf2.c: Likewise.
23337 * soft-fp/unordtf2.c: Likewise.
23338
23339 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23340
23341 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23342 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23343
23344 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23345
23346 * elf/dl-libc.c: Clear initfini list after freeing.
23347
23348 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23349
23350 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23351 * soft-fp/addsf3.c: Likewise.
23352 * soft-fp/addtf3.c: Likewise.
23353 * soft-fp/divdf3.c: Likewise.
23354 * soft-fp/divsf3.c: Likewise.
23355 * soft-fp/divtf3.c: Likewise.
23356 * soft-fp/double.h: Likewise.
23357 * soft-fp/eqdf2.c: Likewise.
23358 * soft-fp/eqsf2.c: Likewise.
23359 * soft-fp/eqtf2.c: Likewise.
23360 * soft-fp/extenddftf2.c: Likewise.
23361 * soft-fp/extended.h: Likewise.
23362 * soft-fp/extendsfdf2.c: Likewise.
23363 * soft-fp/extendsftf2.c: Likewise.
23364 * soft-fp/extendxftf2.c: Likewise.
23365 * soft-fp/fixdfdi.c: Likewise.
23366 * soft-fp/fixdfsi.c: Likewise.
23367 * soft-fp/fixdfti.c: Likewise.
23368 * soft-fp/fixsfdi.c: Likewise.
23369 * soft-fp/fixsfsi.c: Likewise.
23370 * soft-fp/fixsfti.c: Likewise.
23371 * soft-fp/fixtfdi.c: Likewise.
23372 * soft-fp/fixtfsi.c: Likewise.
23373 * soft-fp/fixtfti.c: Likewise.
23374 * soft-fp/fixunsdfdi.c: Likewise.
23375 * soft-fp/fixunsdfsi.c: Likewise.
23376 * soft-fp/fixunsdfti.c: Likewise.
23377 * soft-fp/fixunssfdi.c: Likewise.
23378 * soft-fp/fixunssfsi.c: Likewise.
23379 * soft-fp/fixunssfti.c: Likewise.
23380 * soft-fp/fixunstfdi.c: Likewise.
23381 * soft-fp/fixunstfsi.c: Likewise.
23382 * soft-fp/fixunstfti.c: Likewise.
23383 * soft-fp/floatdidf.c: Likewise.
23384 * soft-fp/floatdisf.c: Likewise.
23385 * soft-fp/floatditf.c: Likewise.
23386 * soft-fp/floatsidf.c: Likewise.
23387 * soft-fp/floatsisf.c: Likewise.
23388 * soft-fp/floatsitf.c: Likewise.
23389 * soft-fp/floattidf.c: Likewise.
23390 * soft-fp/floattisf.c: Likewise.
23391 * soft-fp/floattitf.c: Likewise.
23392 * soft-fp/floatundidf.c: Likewise.
23393 * soft-fp/floatundisf.c: Likewise.
23394 * soft-fp/floatunsidf.c: Likewise.
23395 * soft-fp/floatunsisf.c: Likewise.
23396 * soft-fp/floatuntidf.c: Likewise.
23397 * soft-fp/floatuntisf.c: Likewise.
23398 * soft-fp/floatuntitf.c: Likewise.
23399 * soft-fp/fmadf4.c: Likewise.
23400 * soft-fp/fmasf4.c: Likewise.
23401 * soft-fp/fmatf4.c: Likewise.
23402 * soft-fp/gedf2.c: Likewise.
23403 * soft-fp/gesf2.c: Likewise.
23404 * soft-fp/getf2.c: Likewise.
23405 * soft-fp/ledf2.c: Likewise.
23406 * soft-fp/lesf2.c: Likewise.
23407 * soft-fp/letf2.c: Likewise.
23408 * soft-fp/muldf3.c: Likewise.
23409 * soft-fp/mulsf3.c: Likewise.
23410 * soft-fp/multf3.c: Likewise.
23411 * soft-fp/negdf2.c: Likewise.
23412 * soft-fp/negsf2.c: Likewise.
23413 * soft-fp/negtf2.c: Likewise.
23414 * soft-fp/op-1.h: Likewise.
23415 * soft-fp/op-2.h: Likewise.
23416 * soft-fp/op-4.h: Likewise.
23417 * soft-fp/op-8.h: Likewise.
23418 * soft-fp/op-common.h: Likewise.
23419 * soft-fp/quad.h: Likewise.
23420 * soft-fp/single.h: Likewise.
23421 * soft-fp/soft-fp.h: Likewise.
23422 * soft-fp/sqrtdf2.c: Likewise.
23423 * soft-fp/sqrtsf2.c: Likewise.
23424 * soft-fp/sqrttf2.c: Likewise.
23425 * soft-fp/subdf3.c: Likewise.
23426 * soft-fp/subsf3.c: Likewise.
23427 * soft-fp/subtf3.c: Likewise.
23428 * soft-fp/truncdfsf2.c: Likewise.
23429 * soft-fp/trunctfdf2.c: Likewise.
23430 * soft-fp/trunctfsf2.c: Likewise.
23431 * soft-fp/trunctfxf2.c: Likewise.
23432 * soft-fp/unorddf2.c: Likewise.
23433 * soft-fp/unordsf2.c: Likewise.
23434 * soft-fp/unordtf2.c: Likewise.
23435
23436 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23437
23438 [BZ #15672]
23439 * misc/error.c (error_tail): Fix possible buffer overflow.
23440
23441 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23442
23443 [BZ #13028]
23444 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23445 address.
23446
23447 2013-10-14 P. J. McDermott <pj@pehjota.net>
23448
23449 [BZ #832]
23450 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23451 testing pipefail option.
23452
23453 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23454
23455 * soft-fp/double.h: Indent preprocessor directives inside #if.
23456 * soft-fp/extended.h: Likewise.
23457 * soft-fp/op-2.h: Likewise.
23458 * soft-fp/op-4.h: Likewise.
23459 * soft-fp/op-common.h: Likewise.
23460 * soft-fp/quad.h: Likewise.
23461 * soft-fp/single.h: Likewise.
23462 * soft-fp/soft-fp.h: Likewise.
23463
23464 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23465
23466 * iconv/iconv_prog.c: Fix typos.
23467 * stdio-common/psiginfo-data.h: Likewise.
23468
23469 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23470
23471 [BZ #15764]
23472 * locale/setlocale.c: Fix typo.
23473
23474 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23475
23476 [BZ #16036]
23477 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23478 signaling NaN arguments.
23479 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23480 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23481
23482 [BZ #14910]
23483 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23484 unordered operands.
23485 * soft-fp/gesf2.c (__gesf2): Likewise.
23486 * soft-fp/getf2.c (__getf2): Likewise.
23487 * soft-fp/ledf2.c (__ledf2): Likewise.
23488 * soft-fp/lesf2.c (__lesf2): Likewise.
23489 * soft-fp/letf2.c (__letf2): Likewise.
23490
23491 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23492 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23493 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23494 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23495 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23496 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23497 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23498 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23499 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23500 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23501 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23502 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23503 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23504 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23505 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23506 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23507 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23508 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23509 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23510 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23511 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23512 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23513 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23514 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23515 * soft-fp/floattidf.c (__floattidf): Likewise.
23516 * soft-fp/floattisf.c (__floattisf): Likewise.
23517 * soft-fp/floattitf.c (__floattitf): Likewise.
23518 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23519 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23520 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23521 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23522 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23523 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23524 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23525 * soft-fp/gesf2.c (__gesf2): Likewise.
23526 * soft-fp/getf2.c (__getf2): Likewise.
23527 * soft-fp/ledf2.c (__ledf2): Likewise.
23528 * soft-fp/lesf2.c (__lesf2): Likewise.
23529 * soft-fp/letf2.c (__letf2): Likewise.
23530
23531 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23532 Undefine and redefine.
23533 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23534 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23535 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23536 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23537 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23538 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23539 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23540 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23541 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23542 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23543 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23544 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23545 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23546 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23547 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23548
23549 [BZ #16032]
23550 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23551 without decrementing exponent if mantissa >= that for the
23552 denominator, not >.
23553 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23554 denominator, not >. Decrement exponent in < case instead of
23555 incrementing in >= case.
23556 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23557 without decrementing exponent if mantissa >= that for the
23558 denominator, not >.
23559
23560 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23561 computing saturated result for unsigned overflow.
23562
23563 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23564 Jeff Law <law@redhat.com>
23565
23566 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23567 (atan2Mp): Add systemtap probe marker.
23568 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23569 (__ieee754_log): Add systemtap probe marker.
23570 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23571 (atanMp): Add systemtap probe marker.
23572 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23573 (tanMp): Add systemtap probe marker.
23574 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23575 (__slowexp): Add systemtap probe marker.
23576 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23577 (__slowpow): Add systemtap probe marker.
23578 * manual/probes.texi: Document probes.
23579
23580 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23581
23582 [BZ #15362]
23583 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23584 written.
23585 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23586 written.
23587 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23588 written to buffer but not flushed.
23589 * libio/iofwrite_u.c: Likewise.
23590 * libio/iopadn.c: Return bytes returned even if EOF was
23591 encountered.
23592 * libio/iowpadn.c: Likewise.
23593 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23594 if _IO_padn does not write the whole buffer.
23595 [!COMPILE_WPRINTF] (PAD): Likewise.
23596
23597 2013-10-10 David S. Miller <davem@davemloft.net>
23598
23599 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23600 directory block.
23601
23602 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23603
23604 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23605 instead of FSF address.
23606 * soft-fp/fixdfti.c: Likewise.
23607 * soft-fp/fixsfti.c: Likewise.
23608 * soft-fp/fixtfti.c: Likewise.
23609 * soft-fp/fixunsdfti.c: Likewise.
23610 * soft-fp/fixunssfti.c: Likewise.
23611 * soft-fp/fixunstfti.c: Likewise.
23612 * soft-fp/floattidf.c: Likewise.
23613 * soft-fp/floattisf.c: Likewise.
23614 * soft-fp/floattitf.c: Likewise.
23615 * soft-fp/floatuntidf.c: Likewise.
23616 * soft-fp/floatuntisf.c: Likewise.
23617 * soft-fp/floatuntitf.c: Likewise.
23618 * soft-fp/trunctfxf2.c: Likewise.
23619
23620 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23621 * soft-fp/fixdfti.c: Likewise.
23622 * soft-fp/fixsfti.c: Likewise.
23623 * soft-fp/fixtfti.c: Likewise.
23624 * soft-fp/fixunsdfti.c: Likewise.
23625 * soft-fp/fixunssfti.c: Likewise.
23626 * soft-fp/fixunstfti.c: Likewise.
23627 * soft-fp/floattidf.c: Likewise.
23628 * soft-fp/floattisf.c: Likewise.
23629 * soft-fp/floattitf.c: Likewise.
23630 * soft-fp/floatuntidf.c: Likewise.
23631 * soft-fp/floatuntisf.c: Likewise.
23632 * soft-fp/floatuntitf.c: Likewise.
23633 * soft-fp/trunctfxf2.c: Likewise.
23634
23635 2013-10-10 David S. Miller <davem@davemloft.net>
23636
23637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23638
23639 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23640
23641 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23642 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23643 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23644 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23645 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23646 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23647 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23648
23649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23650 for NaNs before doing comparisons on argument.
23651 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23652 Likewise.
23653
23654 2013-10-10 Will Newton <will.newton@linaro.org>
23655
23656 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23657 passed to _int_memalign does not overflow.
23658
23659 2013-10-10 Torvald Riegel <triegel@redhat.com>
23660
23661 * scripts/bench.pl: Add include-sources directive.
23662 * benchtests/README: Update documentation.
23663
23664 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23665
23666 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23667 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23668 instead of FP_INIT_ROUNDMODE.
23669 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23670 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23671
23672 [BZ #16034]
23673 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23674 copy class of input value.
23675 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23676 not handle exceptions.
23677 * soft-fp/negsf2.c (__negsf2): Likewise.
23678 * soft-fp/negtf2.c (__negtf2): Likewise.
23679 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23680
23681 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23682
23683 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23684 semicolon. From Linux kernel.
23685
23686 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23687
23688 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23689
23690 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23691
23692 [BZ #156]
23693 * manual/socket.texi: Added statement about buffer
23694 for gethostbyname2_r.
23695
23696 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23697
23698 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23699 Use .p2align directive instead, throughout.
23700 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23701 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23702 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23703 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23704 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23705 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23706 * sysdeps/x86_64/strchr.S: Likewise.
23707 * sysdeps/x86_64/strrchr.S: Likewise.
23708
23709 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23710
23711 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23712
23713 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23714
23715 * sysdeps/generic/math_private.h (__mpsin1): Remove
23716 declaration.
23717 (__mpcos1): Likewise.
23718 (__mpsin): New argument __range_reduce.
23719 (__mpcos): Likewise.
23720 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23721 (slow): Use __mpsin and __mpcos.
23722 (slow1): Likewise.
23723 (slow2): Likewise.
23724 (sloww): Likewise.
23725 (sloww1): Likewise.
23726 (sloww2): Likewise.
23727 (bsloww): Likewise.
23728 (bsloww1): Likewise.
23729 (bsloww2): Likewise.
23730 (cslow2): Likewise.
23731 (csloww): Likewise.
23732 (csloww1): Likewise.
23733 (csloww2): Likewise.
23734 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23735 range_reduce. Merge in __mpsin1.
23736 (__mpcos): Likewise.
23737 (__mpsin1): Remove.
23738 (__mpcos1): Likewise.
23739
23740 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23741
23742 * locale/loadlocale.c (_nl_intern_locale_data): Use
23743 LOCFILE_ALIGNED_P.
23744 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23745 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23746 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23747 obstack data is appropriately aligned.
23748 (obstack_int32_grow_fast): Likewise.
23749 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23750 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23751 (add_locale_uint32_array): Likewise.
23752
23753 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23754
23755 * benchtests/Makefile: Remove ARGLIST and RET variables.
23756 ($(objpfx)bench-%.c): Pass only function name to the script.
23757 * benchtests/README: Update documentation.
23758 * benchtests/acos-inputs: Add new directives.
23759 * benchtests/acosh-inputs: Likewise.
23760 * benchtests/asin-inputs: Likewise.
23761 * benchtests/asinh-inputs: Likewise.
23762 * benchtests/atan-inputs: Likewise.
23763 * benchtests/atanh-inputs: Likewise.
23764 * benchtests/cos-inputs: Likewise.
23765 * benchtests/cosh-inputs: Likewise.
23766 * benchtests/exp-inputs: Likewise.
23767 * benchtests/log-inputs: Likewise.
23768 * benchtests/pow-inputs: Likewise.
23769 * benchtests/rint-inputs: Likewise.
23770 * benchtests/sin-inputs: Likewise.
23771 * benchtests/sinh-inputs: Likewise.
23772 * benchtests/tan-inputs: Likewise.
23773 * benchtests/tanh-inputs: Likewise.
23774 * scripts/bench.pl: Add support for new directives.
23775
23776 2013-10-07 Alan Modra <amodra@gmail.com>
23777
23778 * README: Fix careless merge.
23779
23780 2013-10-05 Alan Modra <amodra@gmail.com>
23781
23782 * NEWS: Mention powerpc64le support and bugs fixed.
23783 * README: Both big-endian and little-endian powerpc64 supported.
23784
23785 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23786
23787 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23788 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23789 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23790 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23791
23792 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23793
23794 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23795 match prototype.
23796
23797 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23798
23799 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23800 Move -mhard-float appending from
23801 ports/sysdeps/powerpc/powerpc32/Makefile.
23802 [$(with-fp) = yes] (ASFLAGS): Likewise.
23803 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23804 * sysdeps/powerpc/nofpu: Move directory from
23805 ports/sysdeps/powerpc/nofpu.
23806 * sysdeps/powerpc/soft-fp: Move directory from
23807 ports/sysdeps/powerpc/soft-fp.
23808 * sysdeps/powerpc/powerpc32/405: Move directory from
23809 ports/sysdeps/powerpc/powerpc32/405.
23810 * sysdeps/powerpc/powerpc32/440: Move directory from
23811 ports/sysdeps/powerpc/powerpc32/440.
23812 * sysdeps/powerpc/powerpc32/464: Move directory from
23813 ports/sysdeps/powerpc/powerpc32/464.
23814 * sysdeps/powerpc/powerpc32/476: Move directory from
23815 ports/sysdeps/powerpc/powerpc32/476.
23816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23817 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23819 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23821 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23823 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23825 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23826 * README: Update for powerpc-*-linux-gnu software floating point
23827 support in libc.
23828
23829 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23830 case to powerpc/powerpc32*.
23831 * sysdeps/unix/sysv/linux/configure: Regenerated.
23832
23833 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23834 (_FPU_MASK_OM): Define as 0x04.
23835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23836 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23837 0x00c10080.
23838 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23839 0x0000003c.
23840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23841
23842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23843 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23844 getcontext_e500.
23845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23846 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23847 setcontext_e500.
23848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23849 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23850 and setcontext_e500.
23851
23852 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23853
23854 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23855
23856 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23857
23858 * manual/threads.texi (Default Thread Attributes): Fix typo.
23859
23860 2013-10-04 Will Newton <will.newton@linaro.org>
23861
23862 * malloc/Makefile: Add tst-memalign.
23863 * malloc/tst-memalign.c: New file.
23864
23865 * malloc/tst-posix_memalign.c: Add comments.
23866 (do_test): Add comments and call free on all potentially
23867 allocated pointers. Add space after cast.
23868
23869 * malloc/tst-pvalloc.c: Add comments.
23870 (do_test): Add comments and call free on all potentially
23871 allocated pointers. Remove duplicate check for NULL pointer.
23872 Add space after cast.
23873
23874 * malloc/tst-valloc.c: Add comments.
23875 (do_test): Add comments and call free on all potentially
23876 allocated pointers. Remove duplicate check for NULL pointer.
23877 Add space after cast.
23878
23879 2013-10-04 Alan Modra <amodra@gmail.com>
23880
23881 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23882 Use stdint types in rather than __attribute__((mode())).
23883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23884
23885 2013-10-04 Alan Modra <amodra@gmail.com>
23886
23887 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23888 Correct handling of unaligned relocs for little-endian.
23889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23890
23891 2013-10-04 Alan Modra <amodra@gmail.com>
23892
23893 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23894 * configure: Regenerate.
23895 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23896 * shlib-versions: Likewise.
23897
23898 2013-10-04 Alan Modra <amodra@gmail.com>
23899
23900 * string/tester.c (test_memrchr): Increment reported test cycle.
23901
23902 2013-10-04 Alan Modra <amodra@gmail.com>
23903
23904 * string/test-memcpy.c (do_one_test): When reporting errors, print
23905 string address and don't overrun end of string.
23906
23907 2013-10-04 Alan Modra <amodra@gmail.com>
23908
23909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23910 insrdi. Make better use of reg selection to speed exit slightly.
23911 Schedule entry path a little better. Remove useless "are we done"
23912 checks on entry to main loop. Handle wrapping around zero address.
23913 Correct main loop count. Handle single left-over word from main
23914 loop inline rather than by using loop_small. Remove extra word
23915 case in loop_small caused by wrong loop count. Add little-endian
23916 support.
23917 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23918 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23919 cache hint.
23920 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23921 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23922 support. Avoid rlwimi.
23923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23924
23925 2013-10-04 Alan Modra <amodra@gmail.com>
23926
23927 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23928 insrdi. Formatting.
23929 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23930 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23931 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23932 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23933 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23934 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23935
23936 2013-10-04 Alan Modra <amodra@gmail.com>
23937
23938 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23939 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23941 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23942 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23943 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23944 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23945 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23946 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23947 use of regs. Use power7 mtocrf. Tidy function tails.
23948
23949 2013-10-04 Alan Modra <amodra@gmail.com>
23950
23951 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23952 Formatting. Consistently use rXXX register defines or rN defines.
23953 Use early exit labels that avoid restoring unused non-volatile regs.
23954 Make cr field use more consistent with rWORDn compares. Rename
23955 regs used as shift registers for unaligned loop, using rN defines
23956 for short lifetime/multiple use regs.
23957 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23959 addi 1,1,64 to pop stack frame. Simplify return value code.
23960 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23961
23962 2013-10-04 Alan Modra <amodra@gmail.com>
23963
23964 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23965 support. Correct typos, formatting. Optimize tail. Use insrdi
23966 rather than rlwimi.
23967 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23968 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23969 little-endian support. Correct typos.
23970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23971 rather than rlwimi.
23972 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23973 in loop and entry code to keep "and." results.
23974 (strchr): Add little-endian support. Comment. Move cntlzd
23975 earlier in tail.
23976 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23977
23978 2013-10-04 Alan Modra <amodra@gmail.com>
23979
23980 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23981 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23982 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23983 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23984
23985 2013-10-04 Alan Modra <amodra@gmail.com>
23986
23987 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23988 (rTMP): Define as r11.
23989 (strcmp): Add little-endian support. Optimise tail.
23990 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23991 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23992 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23994 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23997
23998 2013-10-04 Alan Modra <amodra@gmail.com>
23999
24000 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24001 little-endian support. Remove unnecessary "are we done" tests.
24002 Handle "s" wrapping around zero and extremely large "size".
24003 Correct main loop count. Handle single left-over word from main
24004 loop inline rather than by using small_loop. Correct comments.
24005 Delete "zero" tail, use "end_max" instead.
24006 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24007
24008 2013-10-04 Alan Modra <amodra@gmail.com>
24009
24010 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24011 support. Don't branch over align.
24012 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24013 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24014 support. Rearrange tmp reg use to suit. Comment.
24015 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24016
24017 2013-10-04 Alan Modra <amodra@gmail.com>
24018
24019 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24020
24021 2013-10-04 Alan Modra <amodra@gmail.com>
24022
24023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24024 conditional form of branch and link when obtaining pc.
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24026
24027 2013-10-04 Alan Modra <amodra@gmail.com>
24028
24029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24030 HIWORD/LOWORD.
24031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24033
24034 2013-10-04 Alan Modra <amodra@gmail.com>
24035
24036 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24037 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24038 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24039 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24040 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24041 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24042 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24043 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24045 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24046
24047 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24048 Alistair Popple <alistair@ozlabs.au.ibm.com>
24049 Alan Modra <amodra@gmail.com>
24050
24051 [BZ #15723]
24052 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24054 _dl_hwcap access for little-endian.
24055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24056 destroy vmx regs when saving unaligned.
24057 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24058 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24059 destroy vmx regs when saving unaligned.
24060
24061 2013-10-04 Alan Modra <amodra@gmail.com>
24062
24063 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24064 Don't use a union to pack hi/low value.
24065
24066 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24067
24068 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24069 for little-endian.
24070 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24071 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24072 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24073 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24074 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24075
24076 2013-10-04 Alan Modra <amodra@gmail.com>
24077
24078 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24079 constants to usual value for .cst8 section, and remove redundant
24080 high address load.
24081 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24082 constant for 0x1p52. Load little-endian words of double from
24083 correct stack offsets.
24084
24085 2013-10-04 Alan Modra <amodra@gmail.com>
24086
24087 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24088 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24089 words of double from correct stack offsets.
24090 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24091 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24092 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24095 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24096 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24097 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24098 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24100 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24101 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24102 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24103 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24104 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24105 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24106 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24107
24108 2013-10-04 Alan Modra <amodra@gmail.com>
24109
24110 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24111 64-bit int/double union.
24112 (_FPU_SETCW): Likewise.
24113 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24114 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24115
24116 2013-10-04 Alan Modra <amodra@gmail.com>
24117
24118 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24119 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24120
24121 2013-10-04 Alan Modra <amodra@gmail.com>
24122
24123 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24124 use vector int constants.
24125 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24126
24127 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24128
24129 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24130 array with long long.
24131 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24132 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24133 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24134 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24135 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24136 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24137 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24138 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24139 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24140 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24141 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24142 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24143 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24144
24145 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24146
24147 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24148 (__signbit): Likewise. Correct for little-endian.
24149 (__signbitl): Call __signbit.
24150 (lrint): Correct for little-endian.
24151 (lrintf): Call lrint.
24152
24153 2013-10-04 Alan Modra <amodra@gmail.com>
24154
24155 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24156 union 32-bit int array member with 64-bit int array.
24157 (t515, tm256): Double rather than long double.
24158 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24159
24160 2013-10-04 Alan Modra <amodra@gmail.com>
24161
24162 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24163 Delete.
24164 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24166 version of math_ldbl.h.
24167
24168 2013-10-04 Alan Modra <amodra@gmail.com>
24169
24170 [BZ #15734], [BZ #15735]
24171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24172 all uses of ieee875 long double macros and unions. Simplify test
24173 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24174 ldbl_extract_mantissa value for ix,iy exponents. Properly
24175 normalize after ldbl_extract_mantissa, and don't add hidden bit
24176 already handled. Don't treat low word of ieee854 mantissa like
24177 low word of IBM long double and mask off bit when testing for
24178 zero.
24179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24180 all uses of ieee875 long double macros and unions. Simplify tests
24181 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24182 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24183 two1022, instead use their values. Recognise that tests for large
24184 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24185 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24186 Rewrite all uses of ieee875 long double macros and unions. Simplify
24187 test for 0.0L and nan. Correct negation.
24188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24189 ieee875 long double macros and unions. Correct output for large
24190 magnitude x. Correct absolute value calculation.
24191 (__erfcl): Likewise.
24192 * math/libm-test.inc: Add tests for errors discovered in IBM long
24193 double versions of fmodl, remainderl, erfl and erfcl.
24194
24195 2013-10-04 Alan Modra <amodra@gmail.com>
24196
24197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24198 all uses of ieee854 long double macros and unions. Simplify tests
24199 for long doubles that are fully specified by the high double.
24200 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24201 Likewise.
24202 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24203 Remove dead code too.
24204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24205 (__ieee754_ynl): Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24209 Remove dead code too.
24210 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24214 Simplify.
24215 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24216 Simplify.
24217 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24220 Comment on variable precision.
24221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24222 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24223 Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24228 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24229
24230 2013-10-04 Alan Modra <amodra@gmail.com>
24231
24232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24234 all uses of ieee854 long double macros and unions.
24235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24241 Likewise.
24242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24244 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24245 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24246 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24247 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24248 Simplify sign and nan test too.
24249 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24250 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24251 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24253 Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24256 Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24262 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24263
24264 2013-10-04 Alan Modra <amodra@gmail.com>
24265
24266 * stdio-common/printf_size.c (__printf_size): Don't use
24267 union ieee854_long_double in fpnum union.
24268 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24269 signbit macro to retrieve sign from long double.
24270 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24271 retrieve sign from long double.
24272 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24273 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24274 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24275 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24276 * math/test-misc.c (main): Don't use union ieee854_long_double.
24277
24278 2013-10-04 Alan Modra <amodra@gmail.com>
24279
24280 [BZ #15680]
24281 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24282 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24283 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24284 calculation. Remove unnecessary test for denormal exponent.
24285 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24286 Correct handling of denormals. Avoid undefined shift behaviour.
24287 Correct normalisation of low mantissa when low double is denormal.
24288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24289 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24290 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24291 Correct normalisation of low mantissa. Test for overflow of high
24292 mantissa and normalise.
24293 (ldbl_nearbyint): Use more readable constant for two52.
24294 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24295 (__mpn_construct_long_double): Fix test for overflow of high
24296 mantissa and correct normalisation. Avoid undefined shift.
24297
24298 2013-10-04 Alan Modra <amodra@gmail.com>
24299
24300 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24301 (union ibm_extended_long_double): Define as an array of ieee754_double.
24302 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24303 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24304 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24305 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24309 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24313
24314 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24315
24316 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24317 page size instead of calling getpagesize.
24318
24319 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24320 (LOCFILE_ALIGN_MASK): Likewise.
24321 (LOCFILE_ALIGN_UP): Likewise.
24322 (LOCFILE_ALIGNED_P): Likewise.
24323 * locale/programs/ld-collate.c (collate_output): Use the new
24324 macros instead of __alignof__ (int32_t).
24325 * locale/weight.h (findidx): Likewise.
24326
24327 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24328
24329 [BZ #431]
24330 * manual/string.texi: Fix strncat and wcsncat.
24331
24332 2013-10-03 Brooks Moses <bmoses@google.com>
24333
24334 [BZ #15915]
24335 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24336 * Makerules: ...here, and adjust associated comments.
24337
24338 2013-10-02 Will Newton <will.newton@linaro.org>
24339
24340 * malloc/Makefile: Add tst-pvalloc.
24341 * malloc/tst-pvalloc.c: New file.
24342
24343 2013-10-02 Will Newton <will.newton@linaro.org>
24344
24345 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24346 improve test coverage.
24347
24348 2013-10-02 Will Newton <will.newton@linaro.org>
24349
24350 * malloc/Makefile: Add tst-posix_memalign.
24351 * malloc/tst-posix_memalign.c: New file.
24352
24353 2013-10-01 Eric Blake <eblake@redhat.com>
24354
24355 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24356 Use __THROWNL rather than __THROW on static functions.
24357
24358 2013-09-30 Petr Machata <pmachata@redhat.com>
24359
24360 * elf/elf.h (R_AARCH64_ABS16): New macro.
24361 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24362 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24363 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24364 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24365 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24366 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24367 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24368 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24369 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24370 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24371 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24372 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24373 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24374 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24375 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24376 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24377 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24378 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24379 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24380 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24381 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24382 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24383 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24384 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24385 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24386 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24387 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24388 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24389 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24390 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24391 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24392 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24393 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24394 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24395 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24396 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24397 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24398 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24399 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24400 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24401 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24402 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24403 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24404 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24405 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24406 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24407 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24408 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24409 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24410 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24411 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24412 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24413 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24414 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24415 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24416 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24417 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24418 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24419 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24420 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24421 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24422 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24423 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24424 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24425 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24426 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24427 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24428 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24429 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24430 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24431 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24432 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24433 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24434 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24435 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24436 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24437 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24438 (R_AARCH64_TLSDESC_LDR): Likewise.
24439 (R_AARCH64_TLSDESC_ADD): Likewise.
24440 (R_AARCH64_TLSDESC_CALL): Likewise.
24441
24442 2013-09-30 Andreas Schwab <schwab@suse.de>
24443
24444 [BZ #15048]
24445 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24446 the nss database lookup.
24447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24449
24450 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24451
24452 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24453
24454 2013-09-28 P. J. McDermott <pj@pehjota.net>
24455
24456 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24457 ${Bash-specific parameter/pattern/string} parameter expansion.
24458 * sysdeps/unix/make-syscalls.sh: Likewise.
24459
24460 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24461
24462 * sysdeps/sh/stackguard-macros.h: New file.
24463
24464 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24465
24466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24468 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24469 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24470 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24471 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24472
24473 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24474
24475 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24476 Fix thread ID register.
24477
24478 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24479
24480 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24481 [POSIX || UNIX98]: Require rather than permitting all symbols from
24482 <time.h>.
24483 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24484 element of struct sched_param.
24485 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24486 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24487 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24488 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24489 constant.
24490
24491 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24492
24493 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24494 argument calculation.
24495
24496 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24497
24498 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24499 Expect macro.
24500 [POSIX] (pthread_attr_t): Do not require type.
24501 [POSIX] (pthread_cond_t): Likewise.
24502 [POSIX] (pthread_condattr_t): Likewise.
24503 [POSIX] (pthread_key_t): Likewise.
24504 [POSIX] (pthread_mutex_t): Likewise.
24505 [POSIX] (pthread_mutexattr_t): Likewise.
24506 [POSIX] (pthread_once_t): Likewise.
24507 [POSIX] (pthread_t): Likewise.
24508 [POSIX-based standards] (pthread_atfork): Expect function.
24509
24510 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24511 Richard Sandiford <richard@codesourcery.com>
24512
24513 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24514 (swap_endianness_p): New extern variable.
24515 (set_big_endian): New inline function.
24516 (maybe_swap_uint32): Likewise.
24517 (maybe_swap_uint32_array): Likewise.
24518 (maybe_swap_uint32_obstack): Likewise.
24519 * locale/programs/locfile.c: Include <stdbool.h>.
24520 (swap_endianness_p): New variable.
24521 (add_locale_uint32): Call maybe_swap_uint32.
24522 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24523 (write_locale_data): Call maybe_swap_uint32_array.
24524 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24525 maybe_swap_uint32.
24526 (obstack_int32_grow_fast): Likewise.
24527 (output_weightwc): Call maybe_swap_uint32_obstack.
24528 (collate_output): Likewise.
24529 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24530 (OPT_LITTLE_ENDIAN): Likewise.
24531 (options): Add --little-endian and --big-endian options.
24532 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24533 * locale/programs/locarchive.c: Include "locfile.h".
24534 (GET): New macro.
24535 (SET): Likewise.
24536 (INC): Likewise.
24537 (create_archive): Use the new macros to access fields of
24538 structures directly mapped from or written to locale archives.
24539 (oldlocrecentcmp): Likewise.
24540 (enlarge_archive): Likewise.
24541 (insert_name): Likewise.
24542 (add_alias): Likewise.
24543 (add_locale): Likewise.
24544 (delete_locales_from_archive): Likewise.
24545 (show_archive_content): Likewise.
24546 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24547 locale data.
24548
24549 2013-09-24 Roland McGrath <roland@hack.frob.com>
24550
24551 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24552 http://www.gnu.org/doc/freemanuals.texi.
24553 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24554
24555 2013-09-24 Will Newton <will.newton@linaro.org>
24556
24557 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24558 macro.
24559
24560 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24561
24562 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24563 unsigned char.
24564
24565 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24566
24567 * manual/threads.texi (POSIX Threads): Fix a typo.
24568
24569 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24570
24571 [BZ #14547]
24572 * string/tst-strcoll-overflow.c: New test case.
24573 * string/Makefile (xtests): Add tst-strcoll-overflow.
24574 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24575 cache if string sizes may cause integer overflow.
24576
24577 [BZ #14547]
24578 * string/strcoll_l.c (coll_seq): New members rule, idx,
24579 save_idx and back_us.
24580 (get_next_seq_nocache): New function.
24581 (do_compare_nocache): New function.
24582 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24583 when malloc fails.
24584
24585 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24586
24587 [BZ #15754]
24588 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24589 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24590 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24591
24592 [BZ #15754]
24593 * elf/Makefile (tests): Add tst-ptrguard1.
24594 (tests-static): Add tst-ptrguard1-static.
24595 (tst-ptrguard1-ARGS): Define.
24596 (tst-ptrguard1-static-ARGS): Define.
24597 * elf/tst-ptrguard1.c: New file.
24598 * elf/tst-ptrguard1-static.c: New file.
24599 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24600 * sysdeps/i386/stackguard-macros.h: Likewise.
24601 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24602 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24603 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24604 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24605 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24606 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24607
24608 2013-09-23 Hector Marco <hecmargi@upv.es>
24609 Ismael Ripoll <iripoll@disca.upv.es>
24610 Carlos O'Donell <carlos@redhat.com>
24611
24612 [BZ #15754]
24613 * sysdeps/generic/stackguard-macros.h: Define
24614 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24615 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24616 Define __pointer_chk_guard_local.
24617 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24618 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24619
24620 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24621
24622 [BZ #15859]
24623 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24624
24625 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24626
24627 * include/string.h (__ffs): Declare as hidden.
24628 * string/ffs.c (__ffs): Define as hidden.
24629 * sysdeps/i386/ffs.c (__ffs): Likewise.
24630 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24631 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24632 * sysdeps/s390/ffs.c (__ffs): Likewise.
24633 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24634
24635 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24636
24637 * NEWS: Mention malloc probes.
24638
24639 * malloc/arena.c (new_heap): New memory_heap_new probe.
24640 (grow_heap): New memory_heap_more probe.
24641 (shrink_heap): New memory_heap_less probe.
24642 (heap_trim): New memory_heap_free probe.
24643 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24644 (systrim): New memory_sbrk_less probe.
24645 * manual/probes.texi: Document them.
24646
24647 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24648 * manual/probes.texi: Document it.
24649
24650 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24651 (__libc_realloc): Add memory_realloc_retry probe.
24652 (__libc_memalign): Add memory_memalign_retry probe.
24653 (__libc_valloc): Add memory_valloc_retry probe.
24654 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24655 (__libc_calloc): Add memory_calloc_retry probe.
24656 * manual/probes.texi: Document them.
24657
24658 * malloc/arena.c (get_free_list): Add probe
24659 memory_arena_reuse_free_list.
24660 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24661 and memory_arena_reuse.
24662 (arena_get2) [!PER_THREAD]: Likewise.
24663 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24664 memory_arena_reuse_realloc.
24665 * manual/probes.texi: Document them.
24666
24667 * malloc/malloc.c (__libc_free): Add
24668 memory_mallopt_free_dyn_thresholds probe.
24669 (__libc_mallopt): Add multiple memory_mallopt probes.
24670 * manual/probes.texi: Document them.
24671
24672 * malloc/malloc.c: Include stap-probe.h.
24673 (__libc_mallopt): Add memory_mallopt probe.
24674 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24675 * manual/probes.texi: New.
24676 * manual/Makefile (chapters): Add probes.
24677 * manual/threads.texi: Set next node.
24678
24679 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24680
24681 [BZ #15963, #13985]
24682 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24683 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24684 Add `Chinese' to `nan' entry name.
24685
24686 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24687
24688 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24689 (POLYNOMIAL): Likewise.
24690 (TAYLOR_SINCOS): Likewise.
24691 (TAYLOR_SLOW): Likewise.
24692 (__sin): Use TAYLOR_SINCOS.
24693 (__cos): Likewise.
24694 (slow): Use TAYLOR_SLOW.
24695 (sloww): Likewise.
24696 (bsloww): Likewise.
24697 (csloww): Likewise.
24698
24699 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24700
24701 * stdlib/strtod_l.c: Fix buffer overrun.
24702
24703 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24704
24705 * benchtests/Makefile (bench): Add sincos.
24706 * benchtests/bench-sincos.c: New file.
24707
24708 * math/libm-test.inc (cos_test_data): New test inputs.
24709 (sin_test_data): Likewise.
24710
24711 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24712 macro.
24713 (__sin): Use it.
24714 (__cos): Likewise.
24715 (slow1): Likewise.
24716 (slow2): Likewise.
24717 (sloww1): Likewise.
24718 (sloww2): Likewise.
24719 (bsloww1): Likewise.
24720 (bsloww2): Likewise.
24721 (cslow2): Likewise.
24722 (csloww1): Likewise.
24723 (csloww2): Likewise.
24724
24725 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24726 function.
24727 (__sin): Use it.
24728 (__cos): Likewise.
24729
24730 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24731 gotos.
24732 (__cos): Likewise.
24733
24734 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24735
24736 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24737 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24738 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24739 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24740 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24741 * elf/cache.c (print_entry): Handle the new cache flags.
24742
24743 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24744 Aldy Hernandez <aldyh@redhat.com>
24745
24746 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24747 Change condition to [_SOFT_FLOAT].
24748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24760 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24763 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24764 declaration.
24765
24766 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24767
24768 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24769 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24770 (__longjmp): Use LOAD_GP to load saved GPRs.
24771 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24772 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24773 (__sigsetjmp): Use SAVE_GP to save GPRs.
24774
24775 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24776 Do not append -msoft-float.
24777 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24778
24779 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24780
24781 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24782
24783 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24784
24785 [BZ #15966]
24786 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24787 (_FPU_GETCW): Use initial "__" on variable and field names but not
24788 on macro parameter name.
24789 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24790 parentheses around reference to macro parameter.
24791
24792 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24793
24794 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24795 prototype.
24796 (ctype_startup): Use uint32_t in cast and sizeof for
24797 ctype->charnames.
24798
24799 2013-09-11 Jia Liu <proljc@gmail.com>
24800
24801 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24802 __daddr_t_defined.
24803 [__FreeBSD__]: Likewise.
24804
24805 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24806
24807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24808 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24809 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24810 (strchr): Remove __strchr_sse42 ifunc selection.
24811 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24812 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24813
24814 2013-09-11 Will Newton <will.newton@linaro.org>
24815
24816 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24817 parameter to RES. Remove hardcoded 1000 value.
24818 * benchtests/bench-skeleton.c (main): Pass RES parameter
24819 to TIMING_INIT and multiply result by 1000.
24820
24821 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24822
24823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24824
24825 2013-09-11 Andreas Schwab <schwab@suse.de>
24826
24827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24828 if not defined.
24829 (O_TMPFILE) [__USE_GNU]: Define.
24830 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24831 Define.
24832
24833 2013-09-11 Will Newton <will.newton@linaro.org>
24834
24835 [BZ #15857]
24836 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24837 does not overflow.
24838
24839 2013-09-11 Will Newton <will.newton@linaro.org>
24840
24841 [BZ #15856]
24842 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24843 does not overflow.
24844
24845 2013-09-11 Will Newton <will.newton@linaro.org>
24846
24847 [BZ #15855]
24848 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24849 does not overflow.
24850
24851 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24852
24853 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24854 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24858
24859 2013-09-10 Allan McRae <allan@archlinux.org>
24860
24861 [BZ #15748]
24862 * manual/arith.texi (Parsing of Floats): Clarify
24863 cross-reference.
24864
24865 [BZ #15849]
24866 * manual/install.texi (Running make install): Mention
24867 --enable-pt-chown.
24868 * INSTALL: Regenerated.
24869
24870 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24871
24872 * csu/init-first.c (_init): Remove the !SHARED condition around
24873 FPU control word initialization.
24874 * elf/dl-support.c (_dl_fpu_control): New variable.
24875 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24876 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24877 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24878 * math/test-fpucw-static.c: New file.
24879 * math/test-fpucw-ieee.c: New file.
24880 * math/test-fpucw-ieee-static.c: New file.
24881 * math/Makefile (tests): Add `test-fpucw-ieee' and
24882 `$(tests-static)'.
24883 (tests-static): New variable.
24884 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24885 dependency to...
24886 [($(build-shared),yes)]
24887 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24888 ... this.
24889 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24890 New dependency.
24891
24892 2013-09-09 Allan McRae <allan@archlinux.org>
24893
24894 [BZ #15939]
24895 * manual/string.texi (Collation Functions): Fix typo in
24896 strcoll example.
24897 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24898
24899 [BZ #15893]
24900 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24901
24902 [BZ #15892]
24903 * libio/memstream.c (open_memstream): Fix memory leak.
24904 * libio/wmemstream.c (open_wmemstream): Likewise.
24905
24906 [BZ #15895]
24907 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24908
24909 2013-09-09 Will Newton <will.newton@linaro.org>
24910
24911 * malloc/Makefile: Add tst-realloc to tests.
24912 * malloc/tst-realloc.c: New file.
24913
24914 2013-09-09 Allan McRae <allan@archlinux.org>
24915
24916 [BZ #15844]
24917 * COPYING: Update from GNU website to fix FSF address.
24918 * COPYING.LIB: Likewise.
24919
24920 2013-09-06 David S. Miller <davem@davemloft.net>
24921
24922 * po/zh_TW.po: Update Chinese (traditional) translation from
24923 translation project.
24924
24925 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24926 Joseph Myers <joseph@codesourcery.com>
24927
24928 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24929 "localeinfo.h".
24930 (obstack_chunk_alloc): New macro.
24931 (obstack_chunk_free): Likewise.
24932 (record_offset): New function.
24933 (init_locale_data): Likewise.
24934 (align_locale_data): Likewise.
24935 (add_locale_empty): Likewise.
24936 (add_locale_raw_data): Likewise.
24937 (add_locale_raw_obstack): Likewise.
24938 (add_locale_string): Likewise.
24939 (add_locale_wstring): Likewise.
24940 (add_locale_uint32): Likewise.
24941 (add_locale_uint32_array): Likewise.
24942 (add_locale_char): Likewise.
24943 (start_locale_structure): Likewise.
24944 (end_locale_structure): Likewise.
24945 (start_locale_prelude): Likewise.
24946 (end_locale_prelude): Likewise.
24947 (write_locale_data): Take locale_file structure rather than an
24948 iovec.
24949 * locale/programs/locfile.h: Include "obstack.h".
24950 (struct locale_file): Change to store locale file contents instead
24951 of header.
24952 (init_locale_data): New prototype.
24953 (align_locale_data): Likewise.
24954 (add_locale_empty): Likewise.
24955 (add_locale_raw_data): Likewise.
24956 (add_locale_raw_obstack): Likewise.
24957 (add_locale_string): Likewise.
24958 (add_locale_wstring): Likewise.
24959 (add_locale_uint32): Likewise.
24960 (add_locale_uint32_array): Likewise.
24961 (add_locale_char): Likewise.
24962 (start_locale_structure): Likewise.
24963 (end_locale_structure): Likewise.
24964 (start_locale_prelude): Likewise.
24965 (end_locale_prelude): Likewise.
24966 (write_locale_data): Update prototype.
24967 * locale/programs/3level.h (struct TABLE): Remove result field.
24968 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24969 Use new locale_file interface.
24970 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24971 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24972 * locale/programs/ld-address.c (address_output): Use new
24973 locale_file interface.
24974 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24975 NO_ADD_LOCALE.
24976 (collate_finish): Don't call collseq_table_finalize.
24977 (collate_output): Use new locale_file interface.
24978 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24979 in file.
24980 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24981 (TABLE): Move defines earlier in file.
24982 (ELEMENT): Likewise.
24983 (DEFAULT): Likewise.
24984 (wctrans_table_add): Move macro and inline function earlier in
24985 file.
24986 (struct wctype_table): Move type earlier in file.
24987 (add_locale_wctype_table): New static prototype.
24988 (struct locale_ctype_t): Use logical types instead of struct iovec
24989 pointers for members.
24990 (ctype_output): Use new locale_file interface.
24991 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24992 new locale_file interface.
24993 (allocate_arrays): Update for use of new locale_file interface.
24994 * locale/programs/ld-identification.c (identification_output): Use
24995 new locale_file interface.
24996 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24997 * locale/programs/ld-messages.c (messages_output): Likewise.
24998 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24999 * locale/programs/ld-name.c (name_output): Likewise.
25000 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25001 * locale/programs/ld-paper.c (paper_output): Likewise.
25002 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25003 * locale/programs/ld-time.c (time_output): Likewise.
25004
25005 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25006
25007 * benchtests/Makefile: Add memrchr benchmark.
25008 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25009 benchmark as memrchr.
25010 * benchtests/bench-memrchr-ifunc.c: New file.
25011 * benchtests/bench-memrchr.c: New file.
25012
25013 2013-09-06 Will Newton <will.newton@linaro.org>
25014
25015 * benchtests/Makefile (string-bench): Add memcpy.
25016
25017 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25018 Cong Wang <amwang@redhat.com>
25019
25020 [BZ #15850]
25021 * sysdeps/unix/sysv/linux/bits/in.h
25022 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25023 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25024 before __USE_KERNEL_IPV6_DEFS uses.
25025 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25026 IPPROTO_BEETPH.
25027 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25028 sockaddr_in6, or ipv6_mreq.
25029
25030 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25031
25032 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25033 memory access for final bytes in some large inputs.
25034 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25035
25036 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25037
25038 * string/test-memrchr.c: New file.
25039 * string/test-memrchr-ifunc.c: New file.
25040 * string/Makefile: Add new memrchr testcase.
25041
25042 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25043
25044 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25045 fanotify_init returns EPERM.
25046
25047 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25048
25049 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25050 errors.
25051 (top level): Treat second token from macro or constant entries for
25052 allowed headers as allowed.
25053 * include/complex.h: Condition internal declarations on
25054 [!_ISOMAC].
25055 * include/fenv.h: Condition include of <stdbool.h> and internal
25056 declarations on [!_ISOMAC].
25057
25058 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25059
25060 [BZ #15923]
25061 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25062
25063 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25064
25065 * configure.in (--enable-versioning): Remove configure option.
25066 (libc_cv_asm_symver_directive): Remove configure test.
25067 (libc_cv_ld_version_script_option): Likewise.
25068 (VERSIONING): Remove variable and AC_SUBST.
25069 (DO_VERSIONING): Remove AC_DEFINE.
25070 * configure: Regenerated.
25071 * config.h.in (DO_VERSIONING): Remove macro.
25072 * Makerules [$(versioning) = yes]: Change conditionals to
25073 [$(build-shared) = yes].
25074 * config.make.in (versioning): Remove variable.
25075 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25076 [$(build-shared) = yes].
25077 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25078 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25079 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25080 [$(build-shared) = yes].
25081 * extra-lib.mk [$(versioning) = yes]: Likewise.
25082 * hurd/Makefile [$(versioning) = yes]: Likewise.
25083 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25084 [SHARED].
25085 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25086 [SHARED].
25087 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25088 [SHARED && !NO_HIDDEN].
25089 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25090 [SHARED].
25091 [SHARED && DO_VERSIONING]: Likewise..
25092 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25093 [$(build-shared) = yes].
25094 * manual/install.texi (--disable-versioning): Remove
25095 documentation.
25096 * INSTALL: Regenerated.
25097 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25098 to [SHARED].
25099 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25100 [$(build-shared) = yes].
25101 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25102 * sysdeps/i386/i686/multiarch/strstr-c.c
25103 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25104 [SHARED && !NO_HIDDEN].
25105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25106 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25107 * sysdeps/powerpc/powerpc32/dl-machine.c
25108 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25109 * sysdeps/powerpc/powerpc32/sysdep.h
25110 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25111 to [SHARED && PIC && !NO_HIDDEN].
25112 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25113 conditional to [SHARED].
25114
25115 2013-09-04 Will Newton <will.newton@linaro.org>
25116
25117 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25118 * benchtests/bench-string.h: Include bench-timing.h instead
25119 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25120 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25121 call to HP_TIMING_DIFF_INIT.
25122 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25123 instead of hp-timing.h macros.
25124 * benchtests/bench-memchr.c: Likewise.
25125 * benchtests/bench-memcmp.c: Likewise.
25126 * benchtests/bench-memcpy.c: Likewise.
25127 * benchtests/bench-memmem.c: Likewise.
25128 * benchtests/bench-memmove.c: Likewise.
25129 * benchtests/bench-memset.c: Likewise.
25130 * benchtests/bench-rawmemchr.c: Likewise.
25131 * benchtests/bench-strcasecmp.c: Likewise.
25132 * benchtests/bench-strcasestr.c: Likewise.
25133 * benchtests/bench-strcat.c: Likewise.
25134 * benchtests/bench-strchr.c: Likewise.
25135 * benchtests/bench-strcmp.c: Likewise.
25136 * benchtests/bench-strcpy.c: Likewise.
25137 * benchtests/bench-strcpy_chk.c: Likewise.
25138 * benchtests/bench-strlen.c: Likewise.
25139 * benchtests/bench-strncasecmp.c: Likewise.
25140 * benchtests/bench-strncat.c: Likewise.
25141 * benchtests/bench-strncmp.c: Likewise.
25142 * benchtests/bench-strncpy.c: Likewise.
25143 * benchtests/bench-strnlen.c: Likewise.
25144 * benchtests/bench-strpbrk.c: Likewise.
25145 * benchtests/bench-strrchr.c: Likewise.
25146 * benchtests/bench-strspn.c: Likewise.
25147 * benchtests/bench-strstr.c: Likewise.
25148
25149 2013-09-04 Will Newton <will.newton@linaro.org>
25150
25151 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25152
25153 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25154
25155 [BZ #15427]
25156 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25157 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25158 * math/libm-test.inc (lgamma_test_data): Add more tests.
25159 * sysdeps/i386/fpu/libm-test-ulps: Update.
25160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161
25162 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25163
25164 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25166 Add ifunc.
25167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25168 Add strcmp-sse2-unaligned
25169 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25170
25171 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25172
25173 * Versions.def (libc): Add GLIBC_2.19.
25174
25175 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25176
25177 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25178 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25179
25180 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25181
25182 [BZ #14155]
25183 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25184 intermediate calculations in recurrence.
25185 (__ieee754_ynf): Likewise.
25186 * math/libm-test.inc (jn_test_data): Do not allow spurious
25187 underflow exception. Add more tests.
25188 (yn_test_data): Add more tests.
25189 * sysdeps/i386/fpu/libm-test-ulps: Update.
25190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25191
25192 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25193
25194 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25195
25196 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25197
25198 * csu/init-first.c: Fix then/than typos.
25199 * locale/programs/ld-collate.c: Likewise.
25200 * locale/programs/linereader.h: Likewise.
25201 * manual/charset.texi: Likewise.
25202 * manual/filesys.texi: Likewise.
25203 * manual/stdio.texi: Likewise.
25204 * manual/string.texi: Likewise.
25205 * stdlib/fmtmsg.c: Likewise.
25206 * sysdeps/i386/stpncpy.S: Likewise.
25207 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25208 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25209 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25210 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25211
25212 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25213
25214 * elf/dl-open.c: Fix typos.
25215 * iconvdata/gbbig5.c: Likewise.
25216 * iconvdata/iso-2022-jp.c: Likewise.
25217 * iconv/gconv_int.h: Likewise.
25218 * iconv/loop.c: Likewise.
25219 * nis/rpcsvc/nis.h: Likewise.
25220 * resolv/ns_name.c: Likewise.
25221 * stdio-common/vfscanf.c: Likewise.
25222 * streams/stropts.h: Likewise.
25223 * sunrpc/rpc_thread.c: Likewise.
25224 * sysdeps/i386/strpbrk.S: Likewise.
25225 * sysdeps/ieee754/k_standard.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25228 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25229 * sysdeps/mach/hurd/profil.c: Likewise.
25230 * sysdeps/s390/dl-procinfo.h: Likewise.
25231 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25232 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25233 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25234 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25236
25237 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25238
25239 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25241
25242 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25243
25244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25245 aix specific files.
25246 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25247 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25248 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25249 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25250 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25251 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25252 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25253 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25254
25255 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25256 Roland McGrath <roland@hack.frob.com>
25257
25258 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25259 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25260
25261 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25262
25263 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25264 __executable_start symbol instead of _start.
25265
25266 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25267
25268 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25269 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25270 Move macros to...
25271 * sysdeps/gnu/ldsodefs.h: ... this new file.
25272
25273 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25274 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25275 instead of ELFOSABI_LINUX.
25276
25277 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25278 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25279 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25280 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25281 Likewise.
25282 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25283 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25285 Likewise.
25286 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25287 (ibm_extended_long_double): Add ieee_nan member.
25288 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25289 (do_test): New function.
25290
25291 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25292 TEST_TRUNC.
25293 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25294 functions, renamed from truncdfsf_test, trunctfsf_test,
25295 trunctfdf_test.
25296 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25297 functions.
25298 (do_test): Run all these.
25299
25300 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25301
25302 * argp/argp-help.c: Fix typos.
25303 * argp/argp-parse.c: Likewise.
25304 * debug/backtracesyms.c: Likewise.
25305 * elf/elf.h: Likewise.
25306 * malloc/malloc.c: Likewise.
25307 * nis/nis_print.c: Likewise.
25308 * resolv/res_comp.c: Likewise.
25309 * stdlib/stdlib.h: Likewise.
25310 * sunrpc/clnt_tcp.c: Likewise.
25311 * sunrpc/clnt_udp.c: Likewise.
25312 * sunrpc/clnt_unix.c: Likewise.
25313 * sysdeps/unix/bsd/ptsname.c: Likewise.
25314 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25315 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25317 Likewise.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25319 Likewise.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25321 Likewise.
25322 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25323
25324 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25325
25326 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25328
25329 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25330
25331 [BZ #15897]
25332 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25333 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25334 ($(objpfx)bug-dl-leaf): New rule.
25335 ($(objpfx)bug-dl-leaf.so): Likewise.
25336 ($(objpfx)bug-dl-leaf.out): Likewise.
25337 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25338 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25339 * dlfcn/bug-dl-leaf.c: New test.
25340 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25341 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25342 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25343 (dlclose): Likewise.
25344 (dlmopen): Likewise.
25345
25346 2013-08-27 Roland McGrath <roland@hack.frob.com>
25347
25348 * include/netdb.h [!_ISOMAC]:
25349 Don't include <tls.h>.
25350 (h_errno, __libc_h_errno): Move declaration and macros out of
25351 [_LIBC_REENTRANT].
25352
25353 * include/resolv.h [_RESOLV_H_]:
25354 Don't include <tls.h>.
25355 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25356 * resolv/res_libc.c: Don't include <tls.h>.
25357 (_res): Use __attribute__ ((nocommon)) in place of
25358 __attribute__ ((section (".bss"))).
25359
25360 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25361 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25362
25363 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25364
25365 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25366 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25367
25368 * resolv/res_mkquery.c: Include <sys/time.h>.
25369
25370 * inet/ifreq.c: Moved to ...
25371 * sysdeps/unix/ifreq.c: ... here.
25372 * inet/ifreq.c: New file, true stub version.
25373
25374 * socket/sa_len.c: New file.
25375 * socket/Makefile (aux): Add it.
25376 * sysdeps/unix/sysv/linux/Makefile
25377 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25378 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25379 and #include <socket/sa_len.c>.
25380 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25381 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25382
25383 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25384 * bits/socket.h: ... here.
25385
25386 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25387 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25388 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25389
25390 2013-08-27 Andreas Schwab <schwab@suse.de>
25391
25392 [BZ #15736]
25393 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25394 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25395 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25396 * string/test-strcasecmp.c (test_main): Run tests in several
25397 locales.
25398 * string/test-strncasecmp.c (test_main): Likewise.
25399
25400 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25401 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25402 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25404 (__strncasecmp_ssse3) [PIC]: Likewise.
25405
25406 2013-08-26 Roland McGrath <roland@hack.frob.com>
25407
25408 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25409
25410 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25411 instead of explicitly declaring xdecrypt.
25412 * nis/nss_nis/nis-publickey.c: Likewise.
25413
25414 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25415
25416 [BZ #15890]
25417 * nscd/aicache.c: Include res_hconf.h.
25418 (addhstaiX): Initialize res_hconf.
25419
25420 2013-08-26 Andreas Schwab <schwab@suse.de>
25421
25422 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25423 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25424
25425 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25426
25427 * nscd/aicache.c (addhstaiX): Fix indentation.
25428
25429 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25430
25431 * configure.ac: Quote $build_pt_chown test.
25432 * configure: Regenerated.
25433
25434 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25435
25436 [BZ #15532]
25437 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25438 * math/s_cexpf.c (__cexpf): Likewise.
25439 * math/s_cexpl.c (__cexpl): Likewise.
25440 * math/libm-test.inc (cexp_test_data): Correct expected return
25441 value for NaN + i0. Add another test.
25442
25443 2013-08-22 David S. Miller <davem@davemloft.net>
25444
25445 * po/ca.po: Update Catalan translation from translation project.
25446 * po/uk.po: Add Ukrainian translations from translation project.
25447
25448 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25449
25450 [BZ #15797]
25451 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25452 is infinite, not alongside NaN test.
25453 * math/s_fdimf.c (__fdimf): Likewise.
25454 * math/s_fdiml.c (__fdiml): Likewise.
25455 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25456 errno is unchanged.
25457
25458 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25459
25460 * argp/argp-help.c: Fix typos.
25461 * crypt/speeds.c: Likewise.
25462 * csu/check_fds.c: Likewise.
25463 * elf/dl-load.c: Likewise.
25464 * elf/dl-open.c: Likewise.
25465 * elf/reldep3.c: Likewise.
25466 * elf/reldep.c: Likewise.
25467 * elf/sprof.c: Likewise.
25468 * iconv/iconv_charmap.c: Likewise.
25469 * iconv/skeleton.c: Likewise.
25470 * iconv/strtab.c: Likewise.
25471 * io/lockf64.c: Likewise.
25472 * libio/libioP.h: Likewise.
25473 * resolv/gai_notify.c: Likewise.
25474 * resolv/ns_name.c: Likewise.
25475 * resolv/ns_samedomain.c: Likewise.
25476 * resolv/res_send.c: Likewise.
25477 * stdlib/random.c: Likewise.
25478 * sunrpc/rpc/xdr.h: Likewise.
25479 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25481 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25482 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25487 * sysdeps/mach/hurd/check_fds.c: Likewise.
25488 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25489 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25490 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25492 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25493 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25494 * sysdeps/pthread/aio_notify.c: Likewise.
25495 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25496 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25497 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25498 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25499 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25500
25501 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25502
25503 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25504 version if bit_Slow_SSE4_2 is set.
25505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25506 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25507
25508 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25509
25510 [BZ #15867]
25511 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25512 trampoline stack frame information.
25513 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25514 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25515 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25516 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25517 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25518 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25519 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25520 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25521 sa_flags value.
25522 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25523 interrupting a syscall and set with option SA_SIGINFO.
25524
25525 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25526
25527 [BZ #15531]
25528 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25529 argument is infinite.
25530 * math/s_cprojf.c (__cprojf): Likewise.
25531 * math/s_cprojl.c (__cprojl): Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25533 * math/libm-test.inc (cproj_test_data): Add more tests.
25534
25535 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25536
25537 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25538 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25539 size. Use __ffs to determine corresponding shift.
25540
25541 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25542 Roland McGrath <roland@hack.frob.com>
25543
25544 * Makefile (INSTALL): Remove trailing blank lines from output of
25545 makeinfo.
25546
25547 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25548
25549 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25550 Align 32 bit compat elf_greg to 8 bytes.
25551
25552 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25553
25554 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25555
25556 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25557
25558 * string/strcoll_l.c (coll_seq): New structure.
25559 (get_next_seq_cached): New function.
25560 (get_next_seq): New function.
25561 (do_compare): New function.
25562 (STRCOLL): Use GNU style definition. Simplify implementation
25563 by using get_next_seq, get_next_seq_cached and do_compare.
25564
25565 2013-08-16 Florian Weimer <fweimer@redhat.com>
25566
25567 [BZ #14699]
25568 CVE-2013-4237
25569 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25570 member.
25571 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25572 member.
25573 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25574 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25575 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25576 conditional.
25577 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25578 GETDENTS_64BIT_ALIGNED.
25579 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25580 * manual/filesys.texi (Reading/Closing Directory): Document
25581 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25582 strongly.
25583 * manual/conf.texi (Limits for Files): Add portability note to
25584 NAME_MAX, PATH_MAX.
25585 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25586
25587 2013-08-13 Andreas Schwab <schwab@suse.de>
25588
25589 [BZ #15749]
25590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25591 of fabs.
25592 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25593 LDBL_MAX_EXP >= 16384]: Add tests for it.
25594
25595 2013-08-12 David S. Miller <davem@davemloft.net>
25596
25597 * version.h (RELEASE): Set to "development".
25598 (VERSION): Set to "2.18.90".
25599 * NEWS: Add 2.19 section.
25600
25601 2013-08-03 David S. Miller <davem@davemloft.net>
25602
25603 * po/ko.po: Update Korean translation from translation project.
25604
25605 2013-08-01 David S. Miller <davem@davemloft.net>
25606
25607 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25608 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25609 Bilka.
25610
25611 2013-07-30 David S. Miller <davem@davemloft.net>
25612
25613 * po/fr.po: Update French translation from translation project.
25614
25615 2013-07-28 David S. Miller <davem@davemloft.net>
25616
25617 * po/cs.po: Update Czech translation from translation project.
25618
25619 * po/sv.po: Update Swedish translation from translation project.
25620
25621 2013-07-27 David S. Miller <davem@davemloft.net>
25622
25623 * po/eo.po: Update Esperanto translation from translation project.
25624
25625 * po/vi.po: Update Vietnamese translation from translation project.
25626
25627 * po/de.po: Update German translation from translation project.
25628
25629 2013-07-26 David S. Miller <davem@davemloft.net>
25630
25631 * po/bg.po: Update Bulgarian translation from translation project.
25632
25633 * po/nl.po: Update Dutch translation from translation project.
25634 * po/pl.po: Update Polish translation from translation project.
25635 * po/ru.po: Update Russian translation from translation project.
25636
25637 2013-07-24 David S. Miller <davem@davemloft.net>
25638
25639 * po/libc.pot: Update.
25640
25641 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25642
25643 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25644 variable page size.
25645 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25646 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25647 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25648
25649 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25650
25651 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25652
25653 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25654 Andreas Schwab <schwab@suse.de>
25655 Roland McGrath <roland@hack.frob.com>
25656 Joseph Myers <joseph@codesourcery.com>
25657 Carlos O'Donell <carlos@redhat.com>
25658
25659 [BZ #15755]
25660 * config.h.in: Define HAVE_PT_CHOWN.
25661 * config.make.in (build-pt-chown): New variable.
25662 * configure.in (--enable-pt_chown): New configure option.
25663 * configure: Regenerate.
25664 * login/Makefile: Include Makeconfig. Build pt_chown only if
25665 build-pt-chown is enabled.
25666 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25667 pt_chown to fix pty ownership.
25668 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25669 CLOSE_ALL_FDS.
25670 * manual/install.texi (Configuring and compiling): Mention
25671 --enable-pt_chown. Add @findex for grantpt.
25672 * INSTALL: Regenerate.
25673
25674 2013-07-20 David S. Miller <davem@davemloft.net>
25675
25676 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25677 difference between 32-bit and 64-bit.
25678
25679 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25680
25681 [BZ #15711]
25682 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25683 Avoid system header dependency with -ffreestanding.
25684 ($(objpfx)bits/syscall%d): Likewise.
25685
25686 2013-07-13 David S. Miller <davem@davemloft.net>
25687
25688 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25689 underflows from atanl/atan2l due to bug 15319.
25690 (casinh_test_data): Likewise.
25691
25692 2013-07-07 David S. Miller <davem@davemloft.net>
25693
25694 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25695
25696 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25697
25698 * sysdeps/i386/fpu/libm-test-ulps: Update.
25699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25700
25701 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25702
25703 * configure.in (--enable-lock-elision): Fix message text.
25704 * INSTALL: Regenerate.
25705 * configure: Regenerate.
25706
25707 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25708
25709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25710
25711 2013-07-03 Andreas Jaeger <aj@suse.de>
25712
25713 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25714 define.
25715 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25716 (ptrace_peeksiginfo_args): Add.
25717 (__ptrace_peeksiginfo_flags): Add.
25718 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25721
25722 2013-07-03 Allan McRae <allan@archlinux.org>
25723
25724 * sysdeps/i386/fpu/libm-test-ulps: Update.
25725
25726 2013-07-02 David S. Miller <davem@davemloft.net>
25727
25728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25729
25730 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25731
25732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25733
25734 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25735
25736 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25738
25739 2013-07-02 Andi Kleen <ak@linux.intel.com>
25740
25741 * config.h.in (ENABLE_LOCK_ELISION): Add.
25742 * configure.in (--enable-lock-elision): Add option.
25743 * manual/install.texi: Document --enable lock elision.
25744 * configure: Regenerate
25745 * INSTALL: Regenerate.
25746
25747 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25748
25749 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25750 SSE4.2 strcasecmp for libc.a.
25751 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25752
25753 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25754
25755 [BZ #13304]
25756 * soft-fp/op-common.h (_FP_FMA): New macro.
25757 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25758 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25759 (_FP_MUL_MEAT_1_imm): ... here.
25760 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25761 (_FP_MUL_MEAT_1_wide): ... here.
25762 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25763 (_FP_MUL_MEAT_1_hard): ... here.
25764 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25765 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25766 (_FP_MUL_MEAT_2_wide): ... here.
25767 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25768 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25769 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25770 (_FP_MUL_MEAT_2_gmp): ... here.
25771 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25772 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25773 (_FP_MUL_MEAT_4_wide): ... here.
25774 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25775 (_FP_MUL_MEAT_4_gmp): ... here.
25776 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25777 (_FP_WFRACBITS_DW_S): Likewise.
25778 (_FP_WFRACXBITS_DW_S): Likewise.
25779 (_FP_HIGHBIT_DW_S): Likewise.
25780 (FP_FMA_S): Likewise.
25781 (_FP_FRAC_HIGH_DW_S): Likewise.
25782 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25783 (_FP_WFRACBITS_DW_D): Likewise.
25784 (_FP_WFRACXBITS_DW_D): Likewise.
25785 (_FP_HIGHBIT_DW_D): Likewise.
25786 (FP_FMA_D): Likewise.
25787 (_FP_FRAC_HIGH_DW_D): Likewise.
25788 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25789 (_FP_WFRACBITS_DW_E): Likewise.
25790 (_FP_WFRACXBITS_DW_E): Likewise.
25791 (_FP_HIGHBIT_DW_E): Likewise.
25792 (FP_FMA_E): Likewise.
25793 (_FP_FRAC_HIGH_DW_E): Likewise.
25794 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25795 (_FP_WFRACBITS_DW_Q): Likewise.
25796 (_FP_WFRACXBITS_DW_Q): Likewise.
25797 (_FP_HIGHBIT_DW_Q): Likewise.
25798 (FP_FMA_Q): Likewise.
25799 (_FP_FRAC_HIGH_DW_Q): Likewise.
25800 * soft-fp/fmasf4.c: New file.
25801 * soft-fp/fmadf4.c: Likewise.
25802 * soft-fp/fmatf4.c: Likewise.
25803
25804 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25805
25806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25807 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25808 Silvermont.
25809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25810 macro.
25811 (index_Slow_SSE4_2): Likewise.
25812 (index_Prefer_PMINUB_for_stringop): Likewise.
25813 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25814 bit_Slow_SSE4_2 is set.
25815 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25817
25818 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25819
25820 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25821 rtld_global._dl_hwcap2.
25822 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25823 POWER8.
25824 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25825 POWER8 feature descriptions defined in _dl_hwcap2.
25826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25827 string handling for POWER8 feature bits.
25828 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25829 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25830 _dl_powerpc_cap_flags.
25831 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25832 * sysdeps/powerpc/rtld-global-offsets.sym
25833 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25834 _dl_hwcap2 in the rtld_global_ro structure.
25835
25836 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25837
25838 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25839 hardware capabilities in support of AT_HWCAP2.
25840 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25841 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25842 GLRO(dl_hwcap2).
25843 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25844 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25845 explicitly the unknown a_type display mechanism is used.
25846 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25847 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25848 struct member.
25849 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25850 to macro prototype for AT_HWCAP2 support.
25851 * sysdeps/i386/dl-procinfo.h: Likewise.
25852 * sysdeps/s390/dl-procinfo.h: Likewise.
25853 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25854 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25855 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25856 return -1 for unknown a_type display fallback.
25857 * sysdeps/sparc/dl-procinfo.h: Likewise.
25858 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25859 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25860
25861 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25862
25863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25864 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25865
25866 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25867
25868 [BZ #12492]
25869 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25870 mprotect making __stack_prot writable.
25871
25872 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25873 Joseph Myers <joseph@codesourcery.com>
25874
25875 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25876 as being properly aligned.
25877
25878 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25879
25880 * dlfcn/modstatic5.c: New file.
25881 * dlfcn/tststatic5.c: New file.
25882 * dlfcn/Makefile (tests): Add tststatic5.
25883 (tests-static): Likewise.
25884 (modules-names): Add modstatic5.
25885 (tststatic5-ENV): New variable.
25886 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25887
25888 [BZ #15022]
25889 * elf/dl-support.c (_dl_main_map): New variable.
25890 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25891 (_dl_nns, _dl_load_adds): Set to 1.
25892 (_dl_initial_searchlist): Refer to _dl_main_map.
25893 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25894 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25895 call to _dl_get_origin.
25896 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25897 around call_map.
25898 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25899 * dlfcn/modstatic3.c: New file.
25900 * dlfcn/tststatic3.c: New file.
25901 * dlfcn/tststatic4.c: New file.
25902 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25903 (tests-static): Likewise.
25904 (modules-names): Add modstatic3.
25905 (tststatic3-ENV, tststatic4-ENV): New variables.
25906 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25907 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25908
25909 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25910
25911 * configure.in (CC): Require GCC version 4.4 or later.
25912 * configure: Regenerated.
25913 * manual/install.texi (Tools for Compilation): Update GCC version
25914 requirement.
25915 * INSTALL: Regenerated.
25916
25917 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25918
25919 [BZ #15674]
25920 * string/test-memcmp.c (check2): New.
25921 (main): Call check2.
25922
25923 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25924
25925 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25926
25927 [BZ #15022]
25928 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25929 over to...
25930 (dl_open_worker) [!SHARED]: ... here.
25931
25932 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25933
25934 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25935
25936 2013-06-25 Richard Henderson <rth@redhat.com>
25937
25938 * locale/programs/locarchive.c: Include <libc-internal.h>
25939
25940 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25941
25942 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25943 trailing whitespace removed.
25944
25945 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25946
25947 [BZ #10283]
25948 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25949 * locale/programs/locarchive.c: Include libc-mmap.h.
25950 (prepare_address_space): Take two new outputs (the mmap base and len).
25951 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25952 values.
25953 (create_archive): Declare new mmap base and len values for
25954 prepare_address_space, and store the result in ah.
25955 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25956 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25957 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25958 Declare new mmap base and len values for
25959 prepare_address_space, and store the result in new_ah.
25960 (open_archive): Declare new mmap base and len values for
25961 prepare_address_space, and store the result in ah.
25962 (close_archive): If ah->mmap_base is not NULL, use that and
25963 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25964 * sysdeps/generic/libc-mmap.h: New file.
25965
25966 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25967
25968 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25969 (ALIGN_UP): Likewise.
25970 (PTR_ALIGN_DOWN): Likewise.
25971 (PTR_ALIGN_UP): Likewise.
25972
25973 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25974
25975 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25976 entry mapped to PPC_PLATFORM_POWER8.
25977 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25978 POWER8.
25979 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25980 (_dl_string_platform): Add case for exporting platform position for
25981 POWER8.
25982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25983 search path to sysdeps/powerpc/powerpc32/power8 directory.
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25985 search path to sysdeps/powerpc/powerpc64/power8 directory.
25986 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25987 power7 directories.
25988 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25989 power7 directories.
25990
25991 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25992
25993 * INSTALL: Regenerate.
25994
25995 * nscd/connections.c (nscd_init): Fix comment.
25996
25997 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25998
25999 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26000
26001 [BZ #15667]
26002 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26003 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26004
26005 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26006
26007 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26008 DL_DST_REQ_STATIC.
26009 (DL_DST_REQ_STATIC): Remove macro.
26010
26011 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26012
26013 [BZ #7006]
26014 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26015 with a shift of 0 bits.
26016
26017 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26018
26019 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26020 $(tststatic-ENV).
26021
26022 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26023
26024 [BZ #15655]
26025 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26026
26027 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26028
26029 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26030 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26031 accepts -fno-tree-loop-distribute-patterns.
26032 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26033 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26034 recursive call.
26035 * string/memset.c (memset): Likewise.
26036 * string/test-memmove.c (simple_memmove): Disable loop transformation
26037 to library calls.
26038 * string/test-memset.c (simple_memset): Likewise.
26039 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26040 * benchtests/bench-memset.c (simple_memset): Likewise.
26041 * configure: Regenerated.
26042
26043 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26044
26045 * math/test-misc.c (main): Ignore fesetround failure when failures
26046 of subsequent rounding tests would be ignored.
26047
26048 [BZ #15654]
26049 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26050 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26051 * math/fegetenv.c (__fegetenv): Return 0.
26052 * math/fegetexcept.c (fegetexcept): Return 0.
26053 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26054 FE_TONEAREST.
26055 * math/feholdexcpt.c (feholdexcept): Return 0.
26056 * math/fesetenv.c (__fesetenv): Return 0.
26057 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26058 argument FE_TONEAREST.
26059 * math/feupdateenv.c (__feupdateenv): Return 0.
26060 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26061
26062 2013-06-18 Roland McGrath <roland@hack.frob.com>
26063
26064 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26065 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26066 ($(objpfx)rtld-%.os rules): Use them.
26067
26068 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26069
26070 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26071 fields.
26072
26073 2013-06-17 Roland McGrath <roland@hack.frob.com>
26074
26075 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26076 length of target pattern, then descending length of dependency pattern.
26077 * configure.in (AWK): Require gawk 3.1.2 or newer.
26078 * manual/install.texi (Tools for Compilation): Say that we do.
26079 * configure: Regenerated.
26080
26081 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26082 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26083 * scripts/sysd-rules.awk: ... this new script.
26084 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26085 than a glob-style pattern.
26086
26087 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26088
26089 * math/test-misc.c (main): Do not treat incorrectly rounded
26090 conversions as failure unless ROUNDING_TESTS passes.
26091
26092 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26093
26094 [BZ #15631]
26095 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26096 restore exception state around main square root computation, then
26097 check for inexactness explicitly.
26098
26099 * math/libm-test.inc (fma_test_data): Add another test.
26100
26101 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26102
26103 * manual/threads.texi (Non-POSIX Extensions): New document
26104 node. Document pthread_getattr_default_np and
26105 pthread_setattr_default_np.
26106
26107 * Versions.def (libpthread): Add GLIBC_2.18.
26108 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26110 Likewise.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26112 Likewise.
26113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26114 Likewise.
26115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26116 Likewise.
26117 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26118 Likewise.
26119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26120 Likewise.
26121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26122 Likewise.
26123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26124 Likewise.
26125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26126 Likewise.
26127
26128 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26129
26130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26131 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26132
26133 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26134 H.J. Lu <hjl.tools@gmail.com>
26135
26136 [BZ #15627]
26137 * sysdeps/x86_64/rtld-memset.c: Remove file.
26138 * sysdeps/x86_64/rtld-memset.S: New file.
26139
26140 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26141
26142 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26143 (test_in_one_mode): Take arguments for whether the rounding mode
26144 is supported for each floating-point type.
26145 (do_test): Pass new arguments to test_in_one_mode using
26146 ROUNDING_TESTS.
26147
26148 2013-06-13 Roland McGrath <roland@hack.frob.com>
26149
26150 * posix/tst-waitid.c (do_test): Distinguish different instances of
26151 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26152 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26153 before entering the kernel for waitpid.
26154
26155 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26156
26157 * NEWS: Fix note on clock function precision. Text by Roland
26158 McGrath.
26159
26160 2013-06-13 Roland McGrath <roland@hack.frob.com>
26161
26162 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26163 it into place only when and if the sanity check passes.
26164
26165 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26166
26167 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26168 output for whether conversion result is exact. Take argument
26169 indicating whether type is IBM long double.
26170 (round_for_all): Change need_exact field to ibm_ld.
26171 * stdlib/tst-strtod-round.c (struct exactness): New type.
26172 (struct test): Change bool ld_ok field to struct exactness exact.
26173 (TEST): Update all definitions for change to field.
26174 (tests): Regenerate array contents.
26175 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26176 field value. Check for IBM long double here.
26177 (do_test): Update calls to test_in_one_mode.
26178
26179 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26180
26181 [BZ #12515]
26182 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26183 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26184
26185 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26186
26187 [BZ #15605]
26188 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26189 generated by the compiler on loop optimizations.
26190 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26191 general definitions.
26192
26193 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26194
26195 * math/bug-nextafter.c: Include <math-tests.h>.
26196 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26197 the relevant type.
26198 * math/bug-nexttoward.c: Include <math-tests.h>.
26199 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26200 the relevant type.
26201 * math/test-misc.c: Include <math-tests.h>.
26202 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26203 the relevant type.
26204
26205 2013-06-12 Andreas Jaeger <aj@suse.de>
26206
26207 * po/ia.po: Update Interlingua translation from translation
26208 project.
26209
26210 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26211
26212 * include/fenv.h: Include stdbool.h.
26213 (struct rm_ctx): New structure.
26214 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26215 Define macro.
26216 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26217 (SET_RESTORE_ROUNDF): Likewise.
26218 (SET_RESTORE_ROUNDL): Likewise.
26219 (SET_RESTORE_ROUND_NOEX): Likewise.
26220 (SET_RESTORE_ROUND_NOEXF): Likewise.
26221 (SET_RESTORE_ROUND_NOEXL): Likewise.
26222 (SET_RESTORE_ROUND_53BIT): Likewise.
26223 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26224 (libc_feresetround_noexf_ctx): Likewise.
26225 (libc_feresetround_noexl_ctx): Likewise.
26226 (libc_feholdsetround_53bit_ctx): Likewise.
26227 (libc_feresetround_53bit_ctx): Likewise.
26228 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26229 (libc_feholdexcept_setround_sse_ctx): New function.
26230 (libc_fesetenv_sse_ctx): Likewise.
26231 (libc_feupdateenv_sse_ctx): Likewise.
26232 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26233 (libc_feholdexcept_setround_387_ctx): Likewise.
26234 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26235 (libc_feholdsetround_387_prec_ctx): Likewise.
26236 (libc_feholdsetround_387_ctx): Likewise.
26237 (libc_feholdsetround_387_53bit_ctx): Likewise.
26238 (libc_feholdsetround_sse_ctx): Likewise.
26239 (libc_feresetround_sse_ctx): Likewise.
26240 (libc_feresetround_387_ctx): Likewise.
26241 (libc_feupdateenv_387_ctx): Likewise.
26242 (libc_feholdexcept_setroundf_ctx): Define macro.
26243 (libc_fesetenvf_ctx): Likewise.
26244 (libc_feupdateenvf_ctx): Likewise.
26245 (libc_feholdsetroundf_ctx): Likewise.
26246 (libc_feresetroundf_ctx): Likewise.
26247 (libc_feholdexcept_setround_ctx): Likewise.
26248 (libc_fesetenv_ctx): Likewise.
26249 (libc_feupdateenv_ctx): Likewise.
26250 (libc_feholdsetround_ctx): Likewise.
26251 (libc_feresetround_ctx): Likewise.
26252 (libc_feholdexcept_setroundl_ctx): Likewise.
26253 (libc_feupdateenvl_ctx): Likewise.
26254 (libc_feholdsetroundl_ctx): Likewise.
26255 (libc_feresetroundl_ctx): Likewise.
26256 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26257 (libc_feresetround_53bit_ctx): Likewise.
26258
26259 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26260
26261 * locale/iso-639.def: Convert to UTF-8.
26262
26263 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26264
26265 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26266 (EXCEPTION_TESTS_double): Likewise.
26267 (EXCEPTION_TESTS_long_double): Likewise.
26268 (EXCEPTION_TESTS): Likewise.
26269 * math/libm-test.inc (test_exceptions): Only test exceptions if
26270 EXCEPTION_TESTS (FLOAT).
26271
26272 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26273
26274 * benchtests/Makefile (string-bench): Add strcpy_chk and
26275 stpcpy_chk.
26276 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26277 * benchtests/bench-stpcpy_chk.c: New file.
26278 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26279 * benchtests/bench-strcpy_chk.c: New file.
26280 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26281 code.
26282 (do_test): Likewise.
26283
26284 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26285
26286 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26287 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26288 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26289 with tabs where appropriate.
26290 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26291 dl-procinfo.h.
26292 [PPC_PLATFORM_PPC440]: Likewise.
26293 [PPC_PLATFORM_PPC464]: Likewise.
26294 [PPC_PLATFORM_PPC476]: Likewise.
26295 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26296 ppc464, and ppc476 platform strings merging from ports/
26297 dl-procinfo.h.
26298
26299 2013-06-11 Andreas Schwab <schwab@suse.de>
26300
26301 [BZ #14991]
26302 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26303 (from_ucs4_idx): Regenerate.
26304 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26305 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26306 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26307 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26308 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26309 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26310 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26311 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26312 from FROM_LOOP and TO_LOOP specific macros.
26313 (BODY): Handle combining characters.
26314 * iconvdata/BIG5HKSCS.irreversible: Update.
26315 * iconvdata/BIG5HKSCS.precomposed: New file.
26316 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26317 characters.
26318 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26319
26320 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26321
26322 * include/sys/time.h: Fix indentation and add copyright header.
26323
26324 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26325 (do_test): Likewise.
26326 * string/test-memchr.c (do_one_test): Likewise.
26327 (do_test): Likewise.
26328 * string/test-memcmp.c (do_one_test): Likewise.
26329 (do_test): Likewise.
26330 * string/test-memcpy.c (do_one_test): Likewise.
26331 (do_test): Likewise.
26332 * string/test-memmem.c (do_one_test): Likewise.
26333 (do_test): Likewise.
26334 (do_random_tests): Likewise.
26335 * string/test-memmove.c (do_one_test): Likewise.
26336 (do_test): Likewise.
26337 * string/test-memset.c (do_one_test): Likewise.
26338 (do_test): Likewise.
26339 * string/test-rawmemchr.c (do_one_test): Likewise.
26340 (do_test): Likewise.
26341 * string/test-strcasecmp.c (do_one_test): Likewise.
26342 (do_test): Likewise.
26343 * string/test-strcasestr.c (do_one_test): Likewise.
26344 (do_test): Likewise.
26345 * string/test-strcat.c (do_one_test): Likewise.
26346 (do_test): Likewise.
26347 * string/test-strchr.c (do_one_test): Likewise.
26348 (do_test): Likewise.
26349 * string/test-strcmp.c (do_one_test): Likewise.
26350 (do_test): Likewise.
26351 * string/test-strcpy.c (do_one_test): Likewise.
26352 (do_test): Likewise.
26353 * string/test-string.h: Likewise.
26354 (test_init): Likewise.
26355 * string/test-strlen.c (do_one_test): Likewise.
26356 (do_test): Likewise.
26357 * string/test-strncasecmp.c (do_one_test): Likewise.
26358 (do_test): Likewise.
26359 * string/test-strncat.c (do_one_test): Likewise.
26360 (do_test): Likewise.
26361 * string/test-strncmp.c (do_one_test): Likewise.
26362 (do_test_limit): Likewise.
26363 (do_test): Likewise.
26364 * string/test-strncpy.c (do_one_test): Likewise.
26365 (do_test): Likewise.
26366 * string/test-strnlen.c (do_one_test): Likewise.
26367 (do_test): Likewise.
26368 * string/test-strpbrk.c (do_one_test): Likewise.
26369 (do_test): Likewise.
26370 * string/test-strrchr.c (do_one_test): Likewise.
26371 (do_test): Likewise.
26372 * string/test-strspn.c (do_one_test): Likewise.
26373 (do_test): Likewise.
26374 * string/test-strstr.c (do_one_test): Likewise.
26375 (do_test): Likewise.
26376
26377 * benchtests/Makefile (string-bench): Add string benchmarks.
26378 * benchtests/bench-bcopy-ifunc.c: New file.
26379 * benchtests/bench-bcopy.c: New file.
26380 * benchtests/bench-bzero-ifunc.c: New file.
26381 * benchtests/bench-bzero.c: New file.
26382 * benchtests/bench-memccpy-ifunc.c: New file.
26383 * benchtests/bench-memccpy.c: New file.
26384 * benchtests/bench-memchr-ifunc.c: New file.
26385 * benchtests/bench-memchr.c: New file.
26386 * benchtests/bench-memcmp-ifunc.c: New file.
26387 * benchtests/bench-memcmp.c: New file.
26388 * benchtests/bench-memmem-ifunc.c: New file.
26389 * benchtests/bench-memmem.c: New file.
26390 * benchtests/bench-memmove-ifunc.c: New file.
26391 * benchtests/bench-memmove.c: New file.
26392 * benchtests/bench-mempcpy-ifunc.c: New file.
26393 * benchtests/bench-mempcpy.c: New file.
26394 * benchtests/bench-memset-ifunc.c: New file.
26395 * benchtests/bench-memset.c: New file.
26396 * benchtests/bench-rawmemchr-ifunc.c: New file.
26397 * benchtests/bench-rawmemchr.c: New file.
26398 * benchtests/bench-stpcpy-ifunc.c: New file.
26399 * benchtests/bench-stpcpy.c: New file.
26400 * benchtests/bench-stpncpy-ifunc.c: New file.
26401 * benchtests/bench-stpncpy.c: New file.
26402 * benchtests/bench-strcasecmp-ifunc.c: New file.
26403 * benchtests/bench-strcasecmp.c: New file.
26404 * benchtests/bench-strcasestr-ifunc.c: New file.
26405 * benchtests/bench-strcasestr.c: New file.
26406 * benchtests/bench-strcat-ifunc.c: New file.
26407 * benchtests/bench-strcat.c: New file.
26408 * benchtests/bench-strchr-ifunc.c: New file.
26409 * benchtests/bench-strchr.c: New file.
26410 * benchtests/bench-strchrnul-ifunc.c: New file.
26411 * benchtests/bench-strchrnul.c: New file.
26412 * benchtests/bench-strcmp-ifunc.c: New file.
26413 * benchtests/bench-strcmp.c: New file.
26414 * benchtests/bench-strcpy-ifunc.c: New file.
26415 * benchtests/bench-strcpy.c: New file.
26416 * benchtests/bench-strcspn-ifunc.c: New file.
26417 * benchtests/bench-strcspn.c: New file.
26418 * benchtests/bench-strlen-ifunc.c: New file.
26419 * benchtests/bench-strlen.c: New file.
26420 * benchtests/bench-strncasecmp-ifunc.c: New file.
26421 * benchtests/bench-strncasecmp.c: New file.
26422 * benchtests/bench-strncat-ifunc.c: New file.
26423 * benchtests/bench-strncat.c: New file.
26424 * benchtests/bench-strncmp-ifunc.c: New file.
26425 * benchtests/bench-strncmp.c: New file.
26426 * benchtests/bench-strncpy-ifunc.c: New file.
26427 * benchtests/bench-strncpy.c: New file.
26428 * benchtests/bench-strnlen-ifunc.c: New file.
26429 * benchtests/bench-strnlen.c: New file.
26430 * benchtests/bench-strpbrk-ifunc.c: New file.
26431 * benchtests/bench-strpbrk.c: New file.
26432 * benchtests/bench-strrchr-ifunc.c: New file.
26433 * benchtests/bench-strrchr.c: New file.
26434 * benchtests/bench-strspn-ifunc.c: New file.
26435 * benchtests/bench-strspn.c: New file.
26436 * benchtests/bench-strstr-ifunc.c: New file.
26437 * benchtests/bench-strstr.c: New file.
26438
26439 * benchtests/Makefile: Disable parallel execution of targets.
26440 (string-bench): Add memcpy.
26441 (benchset): New variable to store a list of benchmark sets.
26442 (bench-func): Renamed from bench.
26443 (bench-set): New target.
26444 (bench): Depend on bench-func and bench-set.
26445 * benchtests/README: Add section on benchmark sets.
26446 * benchtests/bench-memcpy-ifunc.c: New file.
26447 * benchtests/bench-memcpy.c: New file.
26448 * benchtests/bench-string.h: New file.
26449
26450 2013-06-11 Andreas Schwab <schwab@suse.de>
26451
26452 [BZ #15577]
26453 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26454 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26455 values in the triple.
26456 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26457 terminator in the group key.
26458
26459 2013-06-11 Andreas Jaeger <aj@suse.de>
26460
26461 * po/zh_TW.po: Update Chinese (traditional) translation from
26462 translation project.
26463
26464 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26465
26466 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26467 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26468 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26469 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26470 (clock_getcpuclockid): Likewise.
26471 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26472 Add weak_alias and libc_hidden_def.
26473 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26474 * rt/clock_gettime.c (clock_gettime): Rename to
26475 __clock_gettime. Add weak_alias and libc_hidden_def.
26476 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26477 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26478 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26479 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26480 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26481 Likewise.
26482 * rt/clock_settime.c (clock_settime): Rename to
26483 __clock_settime. Add weak_alias and libc_hidden_def.
26484 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26485
26486 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26487
26488 * mach/err_boot.sub: Remove trailing whitespace.
26489 * mach/err_ipc.sub: Likewise.
26490 * mach/err_mach.sub: Likewise.
26491
26492 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26493 (ROUNDING_TESTS_double): Likewise.
26494 (ROUNDING_TESTS_long_double): Likewise.
26495 (ROUNDING_TESTS): Likewise.
26496 * math/libm-test.inc: Include <math-tests.h>.
26497 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26498 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26499 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26500 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26501
26502 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26503
26504 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26505 of assigning.
26506
26507 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26508
26509 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26510 otherwise empty TRANS lines.
26511 * sysdeps/gnu/errlist.c: Regenerated.
26512
26513 * catgets/gencat.c (error_print): Use (void) in function
26514 definition.
26515 * crypt/crypt_util.c (__init_des): Likewise.
26516 * crypt/speeds.c (Stop): Likewise.
26517 (main): Likewise.
26518 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26519 * inet/ruserpass.c (token): Likewise.
26520 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26521 * intl/localealias.c (extend_alias_table): Likewise.
26522 * intl/plural-exp.c (init_germanic_plural): Likewise.
26523 * libio/fcloseall.c (__fcloseall): Likewise.
26524 * libio/genops.c (_IO_flush_all): Likewise.
26525 (_IO_flush_all_linebuffered): Likewise.
26526 (_IO_cleanup): Likewise.
26527 (_IO_iter_begin): Likewise.
26528 (_IO_iter_end): Likewise.
26529 (_IO_list_lock): Likewise.
26530 (_IO_list_unlock): Likewise.
26531 (_IO_list_resetlock): Likewise.
26532 * libio/getchar.c (getchar): Likewise.
26533 * libio/getchar_u.c (getchar_unlocked): Likewise.
26534 * libio/getwchar.c (getwchar): Likewise.
26535 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26536 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26537 * login/getpt.c (__getpt): Likewise.
26538 * login/tst-utmp.c (main): Likewise.
26539 * malloc/hooks.c (__malloc_check_init): Likewise.
26540 * malloc/malloc.c (__malloc_stats): Likewise.
26541 * malloc/mtrace.c (tr_break): Likewise.
26542 (mtrace): Likewise.
26543 (muntrace): Likewise.
26544 * misc/fstab.c (endfsent): Likewise.
26545 * misc/getclktck.c (__getclktck): Likewise.
26546 * misc/getdtsz.c (__getdtablesize): Likewise.
26547 * misc/gethostid.c (gethostid): Likewise.
26548 * misc/getpagesize.c (__getpagesize): Likewise.
26549 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26550 (__get_nprocs): Likewise.
26551 (__get_phys_pages): Likewise.
26552 (__get_avphys_pages): Likewise.
26553 * misc/getttyent.c (getttyent): Likewise.
26554 (setttyent): Likewise.
26555 (endttyent): Likewise.
26556 * misc/getusershell.c (getusershell): Likewise.
26557 (endusershell): Likewise.
26558 (setusershell): Likewise.
26559 (initshells): Likewise.
26560 * misc/hsearch.c (__hdestroy): Likewise.
26561 * misc/sync.c (sync): Likewise.
26562 * misc/syslog.c (closelog_internal): Likewise.
26563 (closelog): Likewise.
26564 * misc/ttyslot.c (ttyslot): Likewise.
26565 * misc/vhangup.c (vhangup): Likewise.
26566 * posix/fork.c (__fork): Likewise.
26567 * posix/getegid.c (__getegid): Likewise.
26568 * posix/geteuid.c (__geteuid): Likewise.
26569 * posix/getgid.c (__getgid): Likewise.
26570 * posix/getpid.c (__getpid): Likewise.
26571 * posix/getppid.c (__getppid): Likewise.
26572 * posix/getuid.c (__getuid): Likewise.
26573 * posix/pause.c (pause): Likewise.
26574 * posix/setpgrp.c (setpgrp): Likewise.
26575 * posix/setsid.c (__setsid): Likewise.
26576 * posix/test-vfork.c (noop): Likewise.
26577 * resolv/gethnamaddr.c (_endhtent): Likewise.
26578 (_gethtent): Likewise.
26579 (ht_endhostent): Likewise.
26580 (gethostent): Likewise.
26581 (dns_service): Likewise.
26582 * stdlib/drand48.c (drand48): Likewise.
26583 * stdlib/lrand48.c (lrand48): Likewise.
26584 * stdlib/mrand48.c (mrand48): Likewise.
26585 * stdlib/rand.c (rand): Likewise.
26586 * stdlib/random.c (__random): Likewise.
26587 * stdlib/setenv.c (clearenv): Likewise.
26588 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26589 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26590 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26591 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26592 (__get_nprocs): Likewise.
26593 (__get_phys_pages): Likewise.
26594 (__get_avphys_pages): Likewise.
26595 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26596 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26597 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26598 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26599 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26600 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26601 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26602 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26603 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26604 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26605 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26606 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26607 * sysdeps/posix/clock.c (clock): Likewise.
26608 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26609 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26610 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26611 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26612 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26614 (__get_nprocs_conf): Likewise.
26615 (__get_phys_pages): Likewise.
26616 (__get_avphys_pages): Likewise.
26617 * time/clock.c (clock): Likewise.
26618 * time/tzset.c (__tzname_max): Likewise.
26619
26620 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26621
26622 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26623 (__bswap_32): Do not use "register".
26624 * crypt/crypt.c (_ufc_doit_r): Likewise.
26625 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26626 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26627 * gmon/gmon.c (__monstartup): Likewise.
26628 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26629 * hurd/hurdmalloc.c (more_memory): Likewise.
26630 (malloc): Likewise.
26631 (free): Likewise.
26632 (realloc): Likewise.
26633 (malloc_fork_prepare): Likewise.
26634 (malloc_fork_parent): Likewise.
26635 (malloc_fork_child): Likewise.
26636 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26637 (_svcauth_des): Likewise.
26638 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26639 * inet/inet_net.c (inet_network): Likewise.
26640 * inet/inet_netof.c (inet_netof): Likewise.
26641 * inet/rcmd.c (__validuser2_sa): Likewise.
26642 * io/fts.c (fts_open): Likewise.
26643 (fts_load): Likewise.
26644 (fts_close): Likewise.
26645 (fts_read): Likewise.
26646 (fts_children): Likewise.
26647 (fts_build): Likewise.
26648 (fts_stat): Likewise.
26649 (fts_sort): Likewise.
26650 (fts_alloc): Likewise.
26651 (fts_lfree): Likewise.
26652 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26653 (_IO_file_xsgetn): Likewise.
26654 (_IO_file_xsgetn_mmap): Likewise.
26655 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26656 (_IO_cookie_write): Likewise.
26657 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26658 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26659 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26660 * malloc/obstack.c (_obstack_begin): Likewise.
26661 (_obstack_begin_1): Likewise.
26662 (_obstack_newchunk): Likewise.
26663 (_obstack_allocated_p): Likewise.
26664 (obstack_free): Likewise.
26665 (_obstack_memory_used): Likewise.
26666 * misc/getttyent.c (getttynam): Likewise.
26667 (getttyent): Likewise.
26668 (skip): Likewise.
26669 (value): Likewise.
26670 * misc/getusershell.c (initshells): Likewise.
26671 * misc/syslog.c (__vsyslog_chk): Likewise.
26672 * misc/ttyslot.c (ttyslot): Likewise.
26673 * nis/nis_hash.c (__nis_hash): Likewise.
26674 * posix/fnmatch_loop.c (FCT): Likewise.
26675 * posix/getconf.c (print_all): Likewise.
26676 (main): Likewise.
26677 * posix/getopt.c (exchange): Likewise.
26678 * posix/glob.c (globfree): Likewise.
26679 (prefix_array): Likewise.
26680 (__glob_pattern_type): Likewise.
26681 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26682 (NS_GET32): Likewise.
26683 (NS_PUT16): Likewise.
26684 (NS_PUT32): Likewise.
26685 * resolv/gethnamaddr.c (getanswer): Likewise.
26686 (gethostbyname2): Likewise.
26687 (gethostbyaddr): Likewise.
26688 (_gethtent): Likewise.
26689 (_gethtbyname2): Likewise.
26690 (_gethtbyaddr): Likewise.
26691 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26692 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26693 * resolv/res_init.c (__res_vinit): Likewise.
26694 (net_mask): Likewise.
26695 * resolv/res_mkquery.c (outchar): Likewise.
26696 (PRINT): Likewise.
26697 * stdio-common/printf_fp.c (outchar): Likewise.
26698 (PRINT): Likewise.
26699 * stdio-common/printf_fphex.c (outchar): Likewise.
26700 (PRINT): Likewise.
26701 * stdio-common/printf_size.c (outchar): Likewise.
26702 (PRINT): Likewise.
26703 * stdio-common/test_rdwr.c (main): Likewise.
26704 * stdio-common/tfformat.c (matches): Likewise.
26705 * stdio-common/vfprintf.c (outchar): Likewise.
26706 (printf_unknown): Likewise.
26707 (buffered_vfprintf): Likewise.
26708 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26709 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26710 (ReadFile): Likewise.
26711 * stdlib/qsort.c (SWAP): Likewise.
26712 (_quicksort): Likewise.
26713 * stdlib/setenv.c (__add_to_environ): Likewise.
26714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26715 * stdlib/strtol_l.c (__strtol_l): Likewise.
26716 * stdlib/tst-strtod.c (main): Likewise.
26717 * stdlib/tst-strtol.c (main): Likewise.
26718 * stdlib/tst-strtoll.c (main): Likewise.
26719 * string/bits/string2.h (__strcmp_cc): Likewise.
26720 (__strcmp_cg): Likewise.
26721 (__strcspn_c1): Likewise.
26722 (__strcspn_c2): Likewise.
26723 (__strcspn_c3): Likewise.
26724 (__strspn_c1): Likewise.
26725 (__strspn_c2): Likewise.
26726 (__strspn_c3): Likewise.
26727 (__strsep_1c): Likewise.
26728 (__strsep_2c): Likewise.
26729 (__strsep_3c): Likewise.
26730 * string/memccpy.c (__memccpy): Likewise.
26731 * string/stpcpy.c (__stpcpy): Likewise.
26732 * string/strcmp.c (strcmp): Likewise.
26733 * string/strrchr.c (strrchr): Likewise.
26734 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26735 Likewise.
26736 * sysdeps/mach/hurd/getcwd.c
26737 (_hurd_canonicalize_directory_name_internal): Likewise.
26738 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26739 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26740 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26741 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26742 Likewise, in both definitions.
26743 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26744 definitions.
26745 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26746 64] (__bswap_64): Likewise.
26747 * time/test_time.c (main): Likewise.
26748 * time/tzfile.c (__tzfile_read): Likewise.
26749 (__tzfile_compute): Likewise.
26750 * time/tzset.c (__tzset_parse_tz): Likewise.
26751 (tzset_internal): Likewise.
26752 (compute_change): Likewise.
26753 * wcsmbs/wcscat.c (__wcscat): Likewise.
26754 * wcsmbs/wcschr.c (wcschr): Likewise.
26755 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26756 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26757 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26758 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26759 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26760 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26761 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26762 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26763 * wcsmbs/wmemset.c (wmemset): Likewise.
26764
26765 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26766
26767 * scripts/config.guess: Update to version 2013-05-16.
26768 * scripts/config.sub: Update to version 2013-04-24.
26769 * scripts/install-sh: Update to version 2011-11-20.07.
26770 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26771 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26772
26773 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26774
26775 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26776 * elf/sln.c: Likewise.
26777 * hurd/hurd/ioctl.h: Likewise.
26778 * hurd/hurdmalloc.c: Likewise.
26779 * hurd/xattr.c: Likewise.
26780 * include/shlib-compat.h: Likewise.
26781 * inet/ruserpass.c: Likewise.
26782 * libio/iofgets_u.c: Likewise.
26783 * libio/iofgetws_u.c: Likewise.
26784 * locale/programs/ld-identification.c: Likewise.
26785 * locale/programs/ld-time.c: Likewise.
26786 * mach/msg-destroy.c: Likewise.
26787 * nss/nss_files/files-netgrp.c: Likewise.
26788 * resolv/res_data.c: Likewise.
26789 * soft-fp/op-1.h: Likewise.
26790 * soft-fp/op-2.h: Likewise.
26791 * soft-fp/op-4.h: Likewise.
26792 * soft-fp/op-common.h: Likewise.
26793 * stdio-common/printf_fphex.c: Likewise.
26794 * stdlib/strtod_l.c: Likewise.
26795 * sunrpc/rpc/clnt.h: Likewise.
26796 * sysdeps/generic/framestate.c: Likewise.
26797 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26798 * sysdeps/i386/bsd-setjmp.S: Likewise.
26799 * sysdeps/i386/__longjmp.S: Likewise.
26800 * sysdeps/i386/setjmp.S: Likewise.
26801 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26802 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26803 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26819 * sysdeps/ieee754/support.c: Likewise.
26820 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26821 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26822 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26823 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26824 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26825 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26826 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26827 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26828 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26829 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26830 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26831 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26832 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26833 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26835 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26836 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26838
26839 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26840
26841 * posix/transbug.c: Remove executable mode.
26842
26843 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26844
26845 * crypt/speeds.c: Remove trailing whitespace.
26846 * dlfcn/default.c: Likewise.
26847 * elf/ifuncdep2.c: Likewise.
26848 * elf/ifuncmain1.c: Likewise.
26849 * elf/ifuncmain1vis.c: Likewise.
26850 * elf/testobj.h: Likewise.
26851 * elf/tst-stackguard1.c: Likewise.
26852 * gmon/sys/gmon.h: Likewise.
26853 * hurd/hurdmsg.c: Likewise.
26854 * hurd/new-fd.c: Likewise.
26855 * hurd/ports-get.c: Likewise.
26856 * iconvdata/ibm1008_420.c: Likewise.
26857 * inet/tst-getni1.c: Likewise.
26858 * inet/tst-getni2.c: Likewise.
26859 * libio/ioungetc.c: Likewise.
26860 * libio/wfiledoalloc.c: Likewise.
26861 * manual/libm-err-tab.pl: Likewise.
26862 * math/w_dremf.c: Likewise.
26863 * misc/ftruncate.c: Likewise.
26864 * posix/bug-glob2.c: Likewise.
26865 * posix/tst-pcre.c: Likewise.
26866 * posix/wait4.c: Likewise.
26867 * resolv/README: Likewise.
26868 * resolv/res_debug.h: Likewise.
26869 * resolv/tst-inet_ntop.c: Likewise.
26870 * setjmp/bug269-setjmp.c: Likewise.
26871 * soft-fp/extended.h: Likewise.
26872 * soft-fp/op-1.h: Likewise.
26873 * soft-fp/op-2.h: Likewise.
26874 * soft-fp/op-4.h: Likewise.
26875 * soft-fp/op-8.h: Likewise.
26876 * soft-fp/testit.c: Likewise.
26877 * stdio-common/bug16.c: Likewise.
26878 * stdlib/random.c: Likewise.
26879 * sunrpc/rpcsvc/rquota.x: Likewise.
26880 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26881 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26882 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26883 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26884 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26885 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26886 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26887 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26888 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26889 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26890 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26891 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26892 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26893 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26896 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26907 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26909 * sysdeps/ieee754/s_lib_version.c: Likewise.
26910 * sysdeps/mach/hurd/check_fds.c: Likewise.
26911 * sysdeps/mach/hurd/getsockname.c: Likewise.
26912 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26913 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26914 * sysdeps/powerpc/bits/link.h: Likewise.
26915 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26916 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26917 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26918 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26919 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26920 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26921 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26922 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26923 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26924 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26925 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26926 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26927 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26928 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26929 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26930 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26931 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26935 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26936 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26937 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26938 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26939 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26940 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26941 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26942 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26944 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26945 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26946 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26948 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26949 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26950 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26951 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26952 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26953 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26954 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26955 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26956 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26957 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26958 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26959 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26960 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26961 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26962 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26963 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26964 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26965 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26967 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26968 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26969 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26970 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26971 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26972 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26974 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26975 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26976 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26977 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26978 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26979 * sysdeps/powerpc/sysdep.h: Likewise.
26980 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26981 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26982 * sysdeps/sh/dl-trampoline.S: Likewise.
26983 * sysdeps/sh/memset.S: Likewise.
26984 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26985 * sysdeps/sh/strlen.S: Likewise.
26986 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26987 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26988 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26989 * sysdeps/sparc/sparc32/rem.S: Likewise.
26990 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26991 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26992 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26993 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26994 * sysdeps/sparc/sparc32/urem.S: Likewise.
26995 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26996 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26997 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26998 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26999 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27000 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27001 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27002 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27003 * sysdeps/unix/bsd/times.c: Likewise.
27004 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27005 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27009 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27010 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27011 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27013 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27014 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27015 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27016 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27017 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27018 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27019 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27020 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27021 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27022 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27023 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27024 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27025 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27026 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27027 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27028 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27029 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27030 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27031 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27032 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27033 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27034 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27035 * sysdeps/x86_64/strcspn.S: Likewise.
27036
27037 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27038
27039 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27040 generated file. Regenerate properly from gen-translit.pl.
27041 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27042 locale/C-translit.h.
27043
27044 2013-06-05 Andreas Schwab <schwab@suse.de>
27045
27046 [BZ #15100]
27047 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27048 week as 6 instead of -1.
27049 * time/tst-strptime.c (day_tests): Add test case.
27050
27051 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27052
27053 * sysdeps/generic/math_private.h
27054 (libc_feholdexcept_setround_53bit): Replace with
27055 libc_feholdsetround_53bit.
27056 (libc_feupdateenv_53bit): Replace with
27057 libc_feresetround_53bit.
27058 (SET_RESTORE_ROUND_53BIT): Adjust.
27059
27060 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27061
27062 * string/test-strchrnul.c: Add copyright header.
27063
27064 * posix/tst-getaddrinfo4.c: Increase test timeout.
27065
27066 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27067
27068 [BZ #15536]
27069 * math/libm-test.inc (MAX_EXP): Remove
27070 (MIN_EXP): Define.
27071 (ulp): Use MIN_EXP - MANT_DIG.
27072 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27073
27074 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27075
27076 * po/be.po: Revert last change.
27077 * po/zh_CN.po: Likewise.
27078 * po/header.pot: Likewise.
27079
27080 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27081
27082 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27083 link-libc-deps to empty as target-specific variable.
27084 * Makerules (link-libc-args): New variable.
27085 (libc-for-link): Likewise.
27086 (link-libc-deps): Likewise.
27087 (lib%.so): Depend on $(link-libc-deps). Link with
27088 $(link-libc-args).
27089 (build-module): Link with $(link-libc-args).
27090 (build-module-asneeded): Likewise.
27091 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27092 list of objects.
27093 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27094 target-specific variable.
27095 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27096 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27097 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27098 libc.
27099 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27100 libc and ld.so.
27101 ($(objpfx)libpcprofile.so): Likewise.
27102 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27103 libc_nonshared.a.
27104 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27105 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27106 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27107 $(link-libc-deps).
27108 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27109 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27110 * login/Makefile ($(objpfx)libutil.so): Likewise.
27111 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27112 * math/Makefile ($(objpfx)libm.so): Likewise.
27113 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27114 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27115 variable instead of depending directly on libc.
27116 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27117 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27118 $(link-libc-deps).
27119 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27120 libc.
27121 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27122 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27123 ($(objpfx)libanl.so): Likewise.
27124 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27125 ld.so.
27126 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27127 $(link-libc-deps).
27128 * sysdeps/i386/fpu/Makefile: Remove file.
27129 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27130 ($(objpfx)libm.so): Remove dependency on ld.so.
27131
27132 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27133
27134 [BZ # 15553]
27135 * nis/yp_xdr.c (XDRMAXNAME): Define.
27136 (XDRMAXRECORD): Define.
27137 (xdr_domainname): Use XDRMAXNAME.
27138 (xdr_mapname): Likewise.
27139 (xdr_peername): Likewise.
27140 (xdr_keydat): Use XDRMAXRECORD.
27141 (xdr_valdat): Likewise.
27142
27143 2013-05-30 Jeff Law <law@redhat.com>
27144
27145 [BZ #14256]
27146 * manual/errno.texi (ESTALE): Update to account for more than
27147 just NFS file systems.
27148 * sysdeps/gnu/errlist.c: Regenerated.
27149
27150 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27151
27152 [BZ #15465]
27153 * elf/Makefile (tests): Add tst-null-argv.
27154 (modules-names): Add tst-null-argv-lib.
27155 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27156 (tst-null-argv-ENV): Set environment for tst-null-argv.
27157 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27158 (RTLD_PROGNAME): New macro.
27159 * elf/tst-null-argv.c: New test case.
27160 * elf/tst-null-argv-lib.c: Library for test case.
27161 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27162 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27163 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27164 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27165 * elf/dl-init.c (call_init): Likewise.
27166 (_dl_init): Likewise.
27167 * elf/dl-load.c (print_search_path): Likewise.
27168 (_dl_map_object): Likewise.
27169 * elf/dl-lookup.c (do_lookup_x): Likewise.
27170 (add_dependency): Likewise.
27171 (_dl_lookup_symbol_x): Likewise.
27172 (_dl_debug_bindings): Likewise.
27173 * elf/dl-open.c (_dl_show_scope): Likewise.
27174 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27175 * elf/dl-version.c (match_symbol): Likewise.
27176 (_dl_check_map_versions): Likewise.
27177 * elf/rtld.c (dl_main): Likewise.
27178 (print_unresolved): Use RTLD_PROGNAME.
27179 (print_missing_version): Likewise.
27180 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27181 (elf_machine_rela): Likewise.
27182 * sysdeps/powerpc/powerpc32/dl-machine.c
27183 (__process_machine_rela): Likewise.
27184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27185 Likewise.
27186 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27187 Likewise.
27188 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27189 Likewise.
27190 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27191 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27192 Likewise.
27193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27194 Likewise.
27195 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27196
27197 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27198
27199 * po/be.po: Add descriptive title.
27200 * po/zh_CN.po: Likewise.
27201 * po/header.pot: Likewise.
27202
27203 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27204
27205 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27206 error message.
27207 (enlarge_archive): Likewise.
27208
27209 2013-05-28 Ben North <ben@redfrontdoor.org>
27210
27211 * manual/arith.texi (frexp): It is the magnitude of the return
27212 value which lies in [0.5, 1), not the return value itself.
27213
27214 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27215
27216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27217
27218 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27219
27220 * stdio-common/bug26.c (main): Correct fscanf template.
27221
27222 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27223 declare _dl_skip_args.
27224
27225 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27226 Don't declare.
27227
27228 * manual/platform.texi: Add missing @end deftypefun.
27229
27230 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27231
27232 [BZ #15529]
27233 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27234 bit of mantissa of 2^16382.
27235 * math/libm-test.inc (hypot_test_data): Add more tests.
27236
27237 * math/libm-test.inc: Add drem and pow10 to list of tested
27238 functions.
27239 (pow10_test): New function.
27240 (drem_test): Likewise.
27241 (drem_test_tonearest): Likewise.
27242 (drem_test_towardzero): Likewise.
27243 (drem_test_downward): Likewise.
27244 (drem_test_upward): Likewise.
27245 (main): Call the new functions.
27246
27247 * math/libm-test.inc (finite_test_data): Remove.
27248 (finite_test): Run tests from isfinite_test_data.
27249 (gamma_test_data): Remove.
27250 (gamma_test): Run tests from lgamma_test_data.
27251 * sysdeps/i386/fpu/libm-test-ulps: Update.
27252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27253
27254 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27255
27256 * manual/platform.texi: Add PowerPC PPR function set documentation.
27257 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27258 implementation.
27259
27260 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27261
27262 * math/libm-test.inc (MAX_EXP): Define.
27263 (ULPDIFF): Define.
27264 (ulp): New function.
27265 (check_float_internal): Use ULPDIFF.
27266 (cpow_test): Disable failing test.
27267 (check_ulp): Test ulp() implemetnation.
27268 (main): Call check_ulp before starting tests.
27269
27270 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27271
27272 * math/gen-libm-test.pl (generate_testfile): Do not handle
27273 START_DATA and END_DATA.
27274 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27275 END_DATA.
27276 (acos_tonearest_test_data): Likewise.
27277 (acos_towardzero_test_data): Likewise.
27278 (acos_downward_test_data): Likewise.
27279 (acos_upward_test_data): Likewise.
27280 (acosh_test_data): Likewise.
27281 (asin_test_data): Likewise.
27282 (asin_tonearest_test_data): Likewise.
27283 (asin_towardzero_test_data): Likewise.
27284 (asin_downward_test_data): Likewise.
27285 (asin_upward_test_data): Likewise.
27286 (asinh_test_data): Likewise.
27287 (atan_test_data): Likewise.
27288 (atanh_test_data): Likewise.
27289 (atan2_test_data): Likewise.
27290 (cabs_test_data): Likewise.
27291 (cacos_test_data): Likewise.
27292 (cacosh_test_data): Likewise.
27293 (carg_test_data): Likewise.
27294 (casin_test_data): Likewise.
27295 (casinh_test_data): Likewise.
27296 (catan_test_data): Likewise.
27297 (catanh_test_data): Likewise.
27298 (cbrt_test_data): Likewise.
27299 (ccos_test_data): Likewise.
27300 (ccosh_test_data): Likewise.
27301 (ceil_test_data): Likewise.
27302 (cexp_test_data): Likewise.
27303 (cimag_test_data): Likewise.
27304 (clog_test_data): Likewise.
27305 (clog10_test_data): Likewise.
27306 (conj_test_data): Likewise.
27307 (copysign_test_data): Likewise.
27308 (cos_test_data): Likewise.
27309 (cos_tonearest_test_data): Likewise.
27310 (cos_towardzero_test_data): Likewise.
27311 (cos_downward_test_data): Likewise.
27312 (cos_upward_test_data): Likewise.
27313 (cosh_test_data): Likewise.
27314 (cosh_tonearest_test_data): Likewise.
27315 (cosh_towardzero_test_data): Likewise.
27316 (cosh_downward_test_data): Likewise.
27317 (cosh_upward_test_data): Likewise.
27318 (cpow_test_data): Likewise.
27319 (cproj_test_data): Likewise.
27320 (creal_test_data): Likewise.
27321 (csin_test_data): Likewise.
27322 (csinh_test_data): Likewise.
27323 (csqrt_test_data): Likewise.
27324 (ctan_test_data): Likewise.
27325 (ctan_tonearest_test_data): Likewise.
27326 (ctan_towardzero_test_data): Likewise.
27327 (ctan_downward_test_data): Likewise.
27328 (ctan_upward_test_data): Likewise.
27329 (ctanh_test_data): Likewise.
27330 (ctanh_tonearest_test_data): Likewise.
27331 (ctanh_towardzero_test_data): Likewise.
27332 (ctanh_downward_test_data): Likewise.
27333 (ctanh_upward_test_data): Likewise.
27334 (erf_test_data): Likewise.
27335 (erfc_test_data): Likewise.
27336 (exp_test_data): Likewise.
27337 (exp_tonearest_test_data): Likewise.
27338 (exp_towardzero_test_data): Likewise.
27339 (exp_downward_test_data): Likewise.
27340 (exp_upward_test_data): Likewise.
27341 (exp10_test_data): Likewise.
27342 (exp2_test_data): Likewise.
27343 (expm1_test_data): Likewise.
27344 (fabs_test_data): Likewise.
27345 (fdim_test_data): Likewise.
27346 (finite_test_data): Likewise.
27347 (floor_test_data): Likewise.
27348 (fma_test_data): Likewise.
27349 (fma_towardzero_test_data): Likewise.
27350 (fma_downward_test_data): Likewise.
27351 (fma_upward_test_data): Likewise.
27352 (fmax_test_data): Likewise.
27353 (fmin_test_data): Likewise.
27354 (fmod_test_data): Likewise.
27355 (fpclassify_test_data): Likewise.
27356 (frexp_test_data): Likewise.
27357 (gamma_test_data): Likewise.
27358 (hypot_test_data): Likewise.
27359 (ilogb_test_data): Likewise.
27360 (isfinite_test_data): Likewise.
27361 (isgreater_test_data): Likewise.
27362 (isgreaterequal_test_data): Likewise.
27363 (isinf_test_data): Likewise.
27364 (isless_test_data): Likewise.
27365 (islessequal_test_data): Likewise.
27366 (islessgreater_test_data): Likewise.
27367 (isnan_test_data): Likewise.
27368 (isnormal_test_data): Likewise.
27369 (issignaling_test_data): Likewise.
27370 (isunordered_test_data): Likewise.
27371 (j0_test_data): Likewise.
27372 (j1_test_data): Likewise.
27373 (jn_test_data): Likewise.
27374 (ldexp_test_data): Likewise.
27375 (lgamma_test_data): Likewise.
27376 (lrint_test_data): Likewise.
27377 (lrint_tonearest_test_data): Likewise.
27378 (lrint_towardzero_test_data): Likewise.
27379 (lrint_downward_test_data): Likewise.
27380 (lrint_upward_test_data): Likewise.
27381 (llrint_test_data): Likewise.
27382 (llrint_tonearest_test_data): Likewise.
27383 (llrint_towardzero_test_data): Likewise.
27384 (llrint_downward_test_data): Likewise.
27385 (llrint_upward_test_data): Likewise.
27386 (log_test_data): Likewise.
27387 (log10_test_data): Likewise.
27388 (log1p_test_data): Likewise.
27389 (log2_test_data): Likewise.
27390 (logb_test_data): Likewise.
27391 (logb_downward_test_data): Likewise.
27392 (lround_test_data): Likewise.
27393 (llround_test_data): Likewise.
27394 (modf_test_data): Likewise.
27395 (nearbyint_test_data): Likewise.
27396 (nextafter_test_data): Likewise.
27397 (nexttoward_test_data): Likewise.
27398 (pow_test_data): Likewise.
27399 (pow_tonearest_test_data): Likewise.
27400 (pow_towardzero_test_data): Likewise.
27401 (pow_downward_test_data): Likewise.
27402 (pow_upward_test_data): Likewise.
27403 (remainder_test_data): Likewise.
27404 (remainder_tonearest_test_data): Likewise.
27405 (remainder_towardzero_test_data): Likewise.
27406 (remainder_downward_test_data): Likewise.
27407 (remainder_upward_test_data): Likewise.
27408 (remquo_test_data): Likewise.
27409 (rint_test_data): Likewise.
27410 (rint_tonearest_test_data): Likewise.
27411 (rint_towardzero_test_data): Likewise.
27412 (rint_downward_test_data): Likewise.
27413 (rint_upward_test_data): Likewise.
27414 (round_test_data): Likewise.
27415 (scalb_test_data): Likewise.
27416 (scalbn_test_data): Likewise.
27417 (scalbln_test_data): Likewise.
27418 (signbit_test_data): Likewise.
27419 (sin_test_data): Likewise.
27420 (sin_tonearest_test_data): Likewise.
27421 (sin_towardzero_test_data): Likewise.
27422 (sin_downward_test_data): Likewise.
27423 (sin_upward_test_data): Likewise.
27424 (sincos_test_data): Likewise.
27425 (sinh_test_data): Likewise.
27426 (sinh_tonearest_test_data): Likewise.
27427 (sinh_towardzero_test_data): Likewise.
27428 (sinh_downward_test_data): Likewise.
27429 (sinh_upward_test_data): Likewise.
27430 (sqrt_test_data): Likewise.
27431 (tan_test_data): Likewise.
27432 (tan_tonearest_test_data): Likewise.
27433 (tan_towardzero_test_data): Likewise.
27434 (tan_downward_test_data): Likewise.
27435 (tan_upward_test_data): Likewise.
27436 (tanh_test_data): Likewise.
27437 (tgamma_test_data): Likewise.
27438 (trunc_test_data): Likewise.
27439 (y0_test_data): Likewise.
27440 (y1_test_data): Likewise.
27441 (yn_test_data): Likewise.
27442 (significand_test_data): Likewise.
27443
27444 * math/gen-libm-test.pl (@functions): Remove variable.
27445 (generate_testfile): Don't handle START and END lines.
27446 * math/libm-test.inc (START): New macro.
27447 (END): Likewise.
27448 (END_COMPLEX): Likewise.
27449 (acos_test): Use END macro without arguments.
27450 (acos_test_tonearest): Likewise.
27451 (acos_test_towardzero): Likewise.
27452 (acos_test_downward): Likewise.
27453 (acos_test_upward): Likewise.
27454 (acosh_test): Likewise.
27455 (asin_test): Likewise.
27456 (asin_test_tonearest): Likewise.
27457 (asin_test_towardzero): Likewise.
27458 (asin_test_downward): Likewise.
27459 (asin_test_upward): Likewise.
27460 (asinh_test): Likewise.
27461 (atan_test): Likewise.
27462 (atanh_test): Likewise.
27463 (atan2_test): Likewise.
27464 (cabs_test): Likewise.
27465 (cacos_test): Use END_COMPLEX macro without arguments.
27466 (cacosh_test): Likewise.
27467 (carg_test): Use END macro without arguments.
27468 (casin_test): Use END_COMPLEX macro without arguments.
27469 (casinh_test): Likewise.
27470 (catan_test): Likewise.
27471 (catanh_test): Likewise.
27472 (cbrt_test): Use END macro without arguments.
27473 (ccos_test): Use END_COMPLEX macro without arguments.
27474 (ccosh_test): Likewise.
27475 (ceil_test): Use END macro without arguments.
27476 (cexp_test): Use END_COMPLEX macro without arguments.
27477 (cimag_test): Use END macro without arguments.
27478 (clog_test): Use END_COMPLEX macro without arguments.
27479 (clog10_test): Likewise.
27480 (conj_test): Likewise.
27481 (copysign_test): Use END macro without arguments.
27482 (cos_test): Likewise.
27483 (cos_test_tonearest): Likewise.
27484 (cos_test_towardzero): Likewise.
27485 (cos_test_downward): Likewise.
27486 (cos_test_upward): Likewise.
27487 (cosh_test): Likewise.
27488 (cosh_test_tonearest): Likewise.
27489 (cosh_test_towardzero): Likewise.
27490 (cosh_test_downward): Likewise.
27491 (cosh_test_upward): Likewise.
27492 (cpow_test): Use END_COMPLEX macro without arguments.
27493 (cproj_test): Likewise.
27494 (creal_test): Use END macro without arguments.
27495 (csin_test): Use END_COMPLEX macro without arguments.
27496 (csinh_test): Likewise.
27497 (csqrt_test): Likewise.
27498 (ctan_test): Likewise.
27499 (ctan_test_tonearest): Likewise.
27500 (ctan_test_towardzero): Likewise.
27501 (ctan_test_downward): Likewise.
27502 (ctan_test_upward): Likewise.
27503 (ctanh_test): Likewise.
27504 (ctanh_test_tonearest): Likewise.
27505 (ctanh_test_towardzero): Likewise.
27506 (ctanh_test_downward): Likewise.
27507 (ctanh_test_upward): Likewise.
27508 (erf_test): Use END macro without arguments.
27509 (erfc_test): Likewise.
27510 (exp_test): Likewise.
27511 (exp_test_tonearest): Likewise.
27512 (exp_test_towardzero): Likewise.
27513 (exp_test_downward): Likewise.
27514 (exp_test_upward): Likewise.
27515 (exp10_test): Likewise.
27516 (exp2_test): Likewise.
27517 (expm1_test): Likewise.
27518 (fabs_test): Likewise.
27519 (fdim_test): Likewise.
27520 (finite_test): Likewise.
27521 (floor_test): Likewise.
27522 (fma_test): Likewise.
27523 (fma_test_towardzero): Likewise.
27524 (fma_test_downward): Likewise.
27525 (fma_test_upward): Likewise.
27526 (fmax_test): Likewise.
27527 (fmin_test): Likewise.
27528 (fmod_test): Likewise.
27529 (fpclassify_test): Likewise.
27530 (frexp_test): Likewise.
27531 (gamma_test): Likewise.
27532 (hypot_test): Likewise.
27533 (ilogb_test): Likewise.
27534 (isfinite_test): Likewise.
27535 (isgreater_test): Likewise.
27536 (isgreaterequal_test): Likewise.
27537 (isinf_test): Likewise.
27538 (isless_test): Likewise.
27539 (islessequal_test): Likewise.
27540 (islessgreater_test): Likewise.
27541 (isnan_test): Likewise.
27542 (isnormal_test): Likewise.
27543 (issignaling_test): Likewise.
27544 (isunordered_test): Likewise.
27545 (j0_test): Likewise.
27546 (j1_test): Likewise.
27547 (jn_test): Likewise.
27548 (ldexp_test): Likewise.
27549 (lgamma_test): Likewise.
27550 (lrint_test): Likewise.
27551 (lrint_test_tonearest): Likewise.
27552 (lrint_test_towardzero): Likewise.
27553 (lrint_test_downward): Likewise.
27554 (lrint_test_upward): Likewise.
27555 (llrint_test): Likewise.
27556 (llrint_test_tonearest): Likewise.
27557 (llrint_test_towardzero): Likewise.
27558 (llrint_test_downward): Likewise.
27559 (llrint_test_upward): Likewise.
27560 (log_test): Likewise.
27561 (log10_test): Likewise.
27562 (log1p_test): Likewise.
27563 (log2_test): Likewise.
27564 (logb_test): Likewise.
27565 (logb_test_downward): Likewise.
27566 (lround_test): Likewise.
27567 (llround_test): Likewise.
27568 (modf_test): Likewise.
27569 (nearbyint_test): Likewise.
27570 (nextafter_test): Likewise.
27571 (nexttoward_test): Likewise.
27572 (pow_test): Likewise.
27573 (pow_test_tonearest): Likewise.
27574 (pow_test_towardzero): Likewise.
27575 (pow_test_downward): Likewise.
27576 (pow_test_upward): Likewise.
27577 (remainder_test): Likewise.
27578 (remainder_test_tonearest): Likewise.
27579 (remainder_test_towardzero): Likewise.
27580 (remainder_test_downward): Likewise.
27581 (remainder_test_upward): Likewise.
27582 (remquo_test): Likewise.
27583 (rint_test): Likewise.
27584 (rint_test_tonearest): Likewise.
27585 (rint_test_towardzero): Likewise.
27586 (rint_test_downward): Likewise.
27587 (rint_test_upward): Likewise.
27588 (round_test): Likewise.
27589 (scalb_test): Likewise.
27590 (scalbn_test): Likewise.
27591 (scalbln_test): Likewise.
27592 (signbit_test): Likewise.
27593 (sin_test): Likewise.
27594 (sin_test_tonearest): Likewise.
27595 (sin_test_towardzero): Likewise.
27596 (sin_test_downward): Likewise.
27597 (sin_test_upward): Likewise.
27598 (sincos_test): Likewise.
27599 (sinh_test): Likewise.
27600 (sinh_test_tonearest): Likewise.
27601 (sinh_test_towardzero): Likewise.
27602 (sinh_test_downward): Likewise.
27603 (sinh_test_upward): Likewise.
27604 (sqrt_test): Likewise.
27605 (tan_test): Likewise.
27606 (tan_test_tonearest): Likewise.
27607 (tan_test_towardzero): Likewise.
27608 (tan_test_downward): Likewise.
27609 (tan_test_upward): Likewise.
27610 (tanh_test): Likewise.
27611 (tgamma_test): Likewise.
27612 (trunc_test): Likewise.
27613 (y0_test): Likewise.
27614 (y1_test): Likewise.
27615 (yn_test): Likewise.
27616 (significand_test): Likewise.
27617
27618 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27619
27620 [BZ #15381]
27621 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27622
27623 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27624
27625 [BZ #14894]
27626 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27627 __ppc_mdoio and __ppc_mdoom.
27628 * manual/platform.texi: Document new functions __ppc_yield,
27629 __ppc_mdoio and __ppc_mdoom.
27630
27631 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27632
27633 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27634 (main): Mention "tls" pseudo-hwcap is legacy.
27635 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27636
27637 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27638
27639 * math/gen-libm-test.pl (parse_args): Output only string of
27640 arguments as text for test name, not full call or descriptions of
27641 tests for extra outputs.
27642 (generate_testfile): Do not pass function name to parse_args.
27643 Generate this_func variable from START.
27644 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27645 field to arg_str.
27646 (struct test_ff_f_data): Likewise.
27647 (test_ff_f_data_nexttoward): Likewise.
27648 (struct test_fi_f_data): Likewise.
27649 (struct test_fl_f_data): Likewise.
27650 (struct test_if_f_data): Likewise.
27651 (struct test_fff_f_data): Likewise.
27652 (struct test_c_f_data): Likewise.
27653 (struct test_f_f1_data): Likewise. Remove field extra_name.
27654 (struct test_fF_f1_data): Likewise.
27655 (struct test_ffI_f1_data): Likewise.
27656 (struct test_c_c_data): Rename test_name field to arg_str.
27657 (struct test_cc_c_data): Likewise.
27658 (struct test_f_i_data): Likewise.
27659 (struct test_ff_i_data): Likewise.
27660 (struct test_f_l_data): Likewise.
27661 (struct test_f_L_data): Likewise.
27662 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27663 and extra2_name.
27664 (COMMON_TEST_SETUP): New macro.
27665 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27666 (COMMON_TEST_CLEANUP): Likewise.
27667 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27668 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27669 macros.
27670 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27671 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27672 macros.
27673 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27674 (RUN_TEST_fff_f): Take argument string. Call new setup and
27675 cleanup macros.
27676 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27677 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27678 macros.
27679 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27680 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27681 macros.
27682 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27683 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27684 cleanup macros.
27685 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27686 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27687 cleanup macros.
27688 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27689 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27690 cleanup macros.
27691 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27692 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27693 macros.
27694 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27695 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27696 macros.
27697 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27698 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27699 macros.
27700 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27701 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27702 cleanup macros.
27703 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27704 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27705 cleanup macros.
27706 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27707 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27708 macros.
27709 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27710 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27711 cleanup macros.
27712 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27713 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27714 macros.
27715 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27716 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27717 macros.
27718 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27719 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27720 cleanup macros.
27721 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27722
27723 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27724
27725 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27726 to _sifields.sigfault.
27727 (si_addr_lsb): Define new macro.
27728 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27729 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27730 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27731
27732 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27733
27734 [BZ #15441]
27735 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27736 returns -1.
27737 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27738 null return -1.
27739 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27740 loading the domain.
27741
27742 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27743
27744 * math/gen-libm-test.pl (parse_args): Do not include expected
27745 result in test name.
27746 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27748 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27749 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27750 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27752
27753 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27754
27755 * benchtests/Makefile: Sort function entries.
27756
27757 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27758 tanh, asinh, acosh, atanh.
27759 * benchtests/acos-inputs: New file.
27760 * benchtests/acosh-inputs: New file.
27761 * benchtests/asin-inputs: New file.
27762 * benchtests/asinh-inputs: New file.
27763 * benchtests/atanh-inputs: New file.
27764 * benchtests/cosh-inputs: New file.
27765 * benchtests/log-inputs: New file.
27766 * benchtests/sinh-inputs: New file.
27767 * benchtests/tanh-inputs: New file.
27768
27769 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27770
27771 [BZ #15339]
27772 * posix/tst-getaddrinfo4.c: New test.
27773 * posix/Makefile (tests): Add it.
27774
27775 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27776
27777 [BZ #15339]
27778 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27779 when no services were used.
27780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27781 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27782
27783 2013-05-21 Andreas Schwab <schwab@suse.de>
27784
27785 [BZ #15014]
27786 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27787 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27788 successful.
27789 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27790 redundant variable declarations and reallocation of buffer when
27791 parsing as IPv6 address. Always set NSS status when called from
27792 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27793 buffer too small. Correct computation of needed size.
27794 * nss/Makefile (tests): Add test-digits-dots.
27795 * nss/test-digits-dots.c: New test.
27796
27797 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27798
27799 * benchtests/Makefile: Remove instructions for adding
27800 benchmark tests.
27801 * benchtests/README: New file to explain how to execute and
27802 enhance the benchmark tests.
27803
27804 2013-05-21 Andreas Schwab <schwab@suse.de>
27805
27806 [BZ #15493]
27807 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27808 * setjmp/tst-sigsetjmp.c: New test.
27809
27810 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27811
27812 * sysdeps/x86_64/memset.S (memset): New implementation.
27813 (__bzero): Likewise.
27814 (__memset_tail): New function.
27815
27816 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27817
27818 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27819 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27820 __memcpy_sse2_unaligned ifunc selection.
27821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27822 Add memcpy-sse2-unaligned.S.
27823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27824 Add: __memcpy_sse2_unaligned.
27825
27826 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27827
27828 [BZ #15490]
27829 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27830 math_force_eval before restoring floating-point envrionment.
27831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27833 Likewise.
27834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27835 <math_private.h>.
27836 (__nearbyintl): Use math_force_eval before restoring
27837 floating-point environment.
27838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27839
27840 * math/gen-libm-test.pl (special_functions): Remove.
27841 (parse_args): Don't handle TEST_extra. Handle functions with no
27842 return value.
27843 * math/libm-test.inc (struct test_sincos_data): Replace with
27844 struct test_fFF_11_data.
27845 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27846 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27847 (sincos_test_data): Change element type to struct
27848 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27849 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27850 RUN_TEST_LOOP_sincos.
27851 * math/README.libm-test: Don't mention special handling of
27852 individual functions.
27853 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27854 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27855 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27856 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27857 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27859
27860 * math/gen-libm-test.pl (get_variable): Remove function.
27861 (parse_args): Don't show pointer parameters to call in test
27862 names. Use "extra output N" in test names for extra outputs
27863 rather than naming variables.
27864
27865 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27866
27867 [BZ #15488]
27868 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27869 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27870 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27871 double tests.
27872 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27873 disable.
27874 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27875 check_long_double.
27876
27877 * math/gen-libm-test.pl (@tests): Remove variable.
27878 ($count): Likewise.
27879 (new_test): Remove function.
27880 (show_exceptions): New function.
27881 (special_functions): Use show_exceptions instead of new_test.
27882 (parse_args): Likewise.
27883 (generate_testfile): Pass only function name in generated call to
27884 print_max_error or print_complex_max_error.
27885 (get_ulps): Do not handle complex tests specially.
27886 (output_test): Rename to ...
27887 (get_all_ulps_for_test): ... this. Return a string rather than
27888 printing to a file. Require ulps to be present.
27889 (output_ulps): Generate arrays rather than #defines.
27890 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27891 (struct ulp_data): New type.
27892 (BUILD_COMPLEX_ULP): Remove macro.
27893 (compare_ulp_data): New function.
27894 (find_ulps): Likewise.
27895 (find_test_ulps): Likewise.
27896 (find_function_ulps): Likewise.
27897 (find_complex_function_ulps): Likewise.
27898 (print_max_error): Determine allowed ulps using
27899 find_function_ulps.
27900 (print_complex_max_error): Determine allowed ulps using
27901 find_complex_function_ulps.
27902 (check_float_internal): Determine max ulps using find_test_ulps.
27903 (check_float): Do not take max_ulp parameter. Update call to
27904 check_float_internal.
27905 (check_complex): Likewise.
27906 (check_int): Do not take max_ulp parameter.
27907 (check_long): Likewise.
27908 (check_bool): Likewise.
27909 (check_longlong): Likewise.
27910 (struct test_f_f_data): Remove max_ulp field.
27911 (struct test_ff_f_data): Likewise.
27912 (struct test_ff_f_data_nexttoward): Likewise.
27913 (struct test_fi_f_data): Likewise.
27914 (struct test_fl_f_data): Likewise.
27915 (struct test_if_f_data): Likewise.
27916 (struct test_fff_f_data): Likewise.
27917 (struct test_c_f_data): Likewise.
27918 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27919 (struct test_fF_f1_data): Likewise.
27920 (struct test_ffI_f1_data): Likewise.
27921 (struct test_c_c_data): Remove max_ulp field.
27922 (struct test_cc_c_data): Likewise.
27923 (struct test_f_i_data): Likewise.
27924 (struct test_ff_i_data): Likewise.
27925 (struct test_f_l_data): Likewise.
27926 (struct test_f_L_data): Likewise.
27927 (struct test_sincos_data): Likewise.
27928 (RUN_TEST_f_f): Do not handle ulps.
27929 (RUN_TEST_LOOP_f_f): Likewise.
27930 (RUN_TEST_2_f): Likewise.
27931 (RUN_TEST_LOOP_2_f): Likewise.
27932 (RUN_TEST_fff_f): Likewise.
27933 (RUN_TEST_LOOP_fff_f): Likewise.
27934 (RUN_TEST_c_f): Likewise.
27935 (RUN_TEST_LOOP_c_f): Likewise.
27936 (RUN_TEST_f_f1): Likewise.
27937 (RUN_TEST_LOOP_f_f1): Likewise.
27938 (RUN_TEST_fF_f1): Likewise.
27939 (RUN_TEST_LOOP_fF_f1): Likewise.
27940 (RUN_TEST_fI_f1): Likewise.
27941 (RUN_TEST_LOOP_fI_f1): Likewise.
27942 (RUN_TEST_ffI_f1): Likewise.
27943 (RUN_TEST_LOOP_ffI_f1): Likewise.
27944 (RUN_TEST_c_c): Likewise.
27945 (RUN_TEST_LOOP_c_c): Likewise.
27946 (RUN_TEST_cc_c): Likewise.
27947 (RUN_TEST_LOOP_cc_c): Likewise.
27948 (RUN_TEST_f_i): Likewise.
27949 (RUN_TEST_LOOP_f_i): Likewise.
27950 (RUN_TEST_f_i_tg): Likewise.
27951 (RUN_TEST_LOOP_f_i_tg): Likewise.
27952 (RUN_TEST_ff_i_tg): Likewise.
27953 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27954 (RUN_TEST_f_b): Likewise.
27955 (RUN_TEST_LOOP_f_b): Likewise.
27956 (RUN_TEST_f_b_tg): Likewise.
27957 (RUN_TEST_LOOP_f_b_tg): Likewise.
27958 (RUN_TEST_f_l): Likewise.
27959 (RUN_TEST_LOOP_f_l): Likewise.
27960 (RUN_TEST_f_L): Likewise.
27961 (RUN_TEST_LOOP_f_L): Likewise.
27962 (RUN_TEST_sincos): Likewise.
27963 (RUN_TEST_LOOP_sincos): Likewise.
27964
27965 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27966
27967 [BZ #15480]
27968 [BZ #15485]
27969 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27970 main case of finite arguments, set rounding mode to FE_TONEAREST
27971 and discard exceptions.
27972 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27973 exceptions.
27974 (remainder_tonearest_test_data): New variable.
27975 (remainder_test_tonearest): New function.
27976 (remainder_towardzero_test_data): New variable.
27977 (remainder_test_towardzero): New function.
27978 (remainder_downward_test_data): New variable.
27979 (remainder_test_downward): New function.
27980 (remainder_upward_test_data): New variable.
27981 (remainder_test_upward): New function.
27982 (main): Call the new test functions.
27983
27984 * math/libm-test.inc (struct test_f_f1_data): Remove field
27985 extra_init.
27986 (struct test_fF_f1_data): Likewise.
27987 (struct test_ffI_f1_data): Likewise.
27988 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27989 based on value of EXTRA_EXPECTED.
27990 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27991 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27992 EXTRA_VAR based on value of EXTRA_EXPECTED.
27993 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27994 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27995 EXTRA_VAR based on value of EXTRA_EXPECTED.
27996 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27997 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27998 EXTRA_VAR based on value of EXTRA_EXPECTED.
27999 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28000 * math/gen-libm-test.pl (parse_args): Don't output initializers
28001 for extra output values.
28002
28003 * math/libm-test.inc (check_int): Expect result to be exactly
28004 equal to expected value and do not handle ulps.
28005 (check_long): Likewise.
28006 (check_longlong): Likewise.
28007
28008 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28009 exceptions.
28010 (cimag_test_data): Likewise.
28011 (conj_test_data): Likewise.
28012 (copysign_test_data): Likewise.
28013 (cproj_test_data): Likewise.
28014 (creal_test_data): Likewise.
28015 (fabs_test_data): Likewise.
28016 (fdim_test_data): Likewise.
28017 (finite_test_data): Likewise.
28018 (floor_test_data): Likewise.
28019 (fmax_test_data): Likewise.
28020 (fmin_test_data): Likewise.
28021 (fmod_test_data): Likewise.
28022 (fpclassify_test_data): Likewise.
28023 (frexp_test_data): Likewise.
28024 (ilogb_test_data): Likewise.
28025 (isfinite_test_data): Likewise.
28026 (isgreater_test_data): Likewise.
28027 (isgreaterequal_test_data): Likewise.
28028 (isinf_test_data): Likewise.
28029 (isless_test_data): Likewise.
28030 (islessequal_test_data): Likewise.
28031 (islessgreater_test_data): Likewise.
28032 (isnan_test_data): Likewise.
28033 (isnormal_test_data): Likewise.
28034 (issignaling_test_data): Likewise.
28035 (isunordered_test_data): Likewise.
28036 (ldexp_test_data): Likewise.
28037 (lrint_test_data): Likewise.
28038 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28039 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28040 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28041 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28042 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28043 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28044 test input.
28045 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28046 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28047 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28048 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28049 that test input.
28050 (lrint_downward_test_data): Test for "inexact" exceptions.
28051 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28052 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28053 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28054 test input.
28055 (lrint_upward_test_data): Test for "inexact" exceptions.
28056 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28057 test input.
28058 (llrint_test_data): Test for "inexact" exceptions.
28059 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28060 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28061 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28062 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28063 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28064 (llrint_downward_test_data): Test for "inexact" exceptions.
28065 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28066 (llrint_upward_test_data): Test for "inexact" exceptions.
28067 (logb_test_data): Likewise.
28068 (logb_downward_test_data): Likewise.
28069 (nextafter_test_data): Likewise.
28070 (nexttoward_test_data): Likewise.
28071 (remainder_test_data): Likewise.
28072 (remquo_test_data): Likewise.
28073 (scalbn_test_data): Likewise.
28074 (scalbln_test_data): Likewise.
28075 (signbit_test_data): Likewise.
28076 (sqrt_test_data): Likewise.
28077 (significand_test_data): Likewise.
28078
28079 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28080
28081 [BZ #15424]
28082 * benchtests/bench-modf.c (struct args): Mark arg0 as
28083 volatile.
28084 * scripts/bench.pl: Mark members of struct args as volatile.
28085
28086 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28087
28088 [BZ # 15497]
28089 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28090 negative infinity on POWER6 or lower.
28091 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28092
28093 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28094
28095 [BZ #15442]
28096 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28097 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28098 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28099 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28100 (_FP_SETQNAN): New macro.
28101 (_FP_SETQNAN_SEMIRAW): Likewise.
28102 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28103 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28104 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28105 (FP_EXTEND): Use _FP_FRAC_SNANP.
28106 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28107 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28108 into account.
28109 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28110 New macro.
28111 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28112 Likewise.
28113
28114 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28115
28116 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28117 with DIVIDE_BY_ZERO_EXCEPTION.
28118 (gamma_test_data): Likewise.
28119 (lgamma_test_data): Likewise.
28120 (log_test_data): Likewise.
28121 (log10_test_data): Likewise.
28122 (log2_test_data): Likewise.
28123 (tgamma_test_data): Likewise.
28124
28125 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28126 (acos_test_tonearest): Likewise.
28127 (acos_test_towardzero): Likewise.
28128 (acos_test_downward): Likewise.
28129 (acos_test_upward): Likewise.
28130 (acosh_test): Likewise.
28131 (asin_test): Likewise.
28132 (asin_test_tonearest): Likewise.
28133 (asin_test_towardzero): Likewise.
28134 (asin_test_downward): Likewise.
28135 (asin_test_upward): Likewise.
28136 (asinh_test): Likewise.
28137 (atan_test): Likewise.
28138 (atanh_test): Likewise.
28139 (atan2_test): Likewise.
28140 (cabs_test): Likewise.
28141 (cacos_test): Likewise.
28142 (cacosh_test): Likewise.
28143 (casin_test): Likewise.
28144 (casinh_test): Likewise.
28145 (catan_test): Likewise.
28146 (catanh_test): Likewise.
28147 (cbrt_test): Likewise.
28148 (ccos_test): Likewise.
28149 (ccosh_test): Likewise.
28150 (cexp_test): Likewise.
28151 (clog_test): Likewise.
28152 (clog10_test): Likewise.
28153 (cos_test): Likewise.
28154 (cos_test_tonearest): Likewise.
28155 (cos_test_towardzero): Likewise.
28156 (cos_test_downward): Likewise.
28157 (cos_test_upward): Likewise.
28158 (cosh_test): Likewise.
28159 (cosh_test_tonearest): Likewise.
28160 (cosh_test_towardzero): Likewise.
28161 (cosh_test_downward): Likewise.
28162 (cosh_test_upward): Likewise.
28163 (cpow_test): Likewise.
28164 (csin_test): Likewise.
28165 (csinh_test): Likewise.
28166 (csqrt_test): Likewise.
28167 (ctan_test): Likewise.
28168 (ctan_test_tonearest): Likewise.
28169 (ctan_test_towardzero): Likewise.
28170 (ctan_test_downward): Likewise.
28171 (ctan_test_upward): Likewise.
28172 (ctanh_test): Likewise.
28173 (ctanh_test_tonearest): Likewise.
28174 (ctanh_test_towardzero): Likewise.
28175 (ctanh_test_downward): Likewise.
28176 (ctanh_test_upward): Likewise.
28177 (erf_test): Likewise.
28178 (erfc_test): Likewise.
28179 (exp_test): Likewise.
28180 (exp_test_tonearest): Likewise.
28181 (exp_test_towardzero): Likewise.
28182 (exp_test_downward): Likewise.
28183 (exp_test_upward): Likewise.
28184 (exp10_test): Likewise.
28185 (exp2_test): Likewise.
28186 (expm1_test): Likewise.
28187 (fmod_test): Likewise.
28188 (gamma_test): Likewise.
28189 (hypot_test): Likewise.
28190 (j0_test): Likewise.
28191 (j1_test): Likewise.
28192 (jn_test): Likewise.
28193 (lgamma_test): Likewise.
28194 (log_test): Likewise.
28195 (log10_test): Likewise.
28196 (log1p_test): Likewise.
28197 (log2_test): Likewise.
28198 (logb_test_downward): Likewise.
28199 (pow_test): Likewise.
28200 (pow_test_tonearest): Likewise.
28201 (pow_test_towardzero): Likewise.
28202 (pow_test_downward): Likewise.
28203 (pow_test_upward): Likewise.
28204 (remainder_test): Likewise.
28205 (remquo_test): Likewise.
28206 (sin_test): Likewise.
28207 (sin_test_tonearest): Likewise.
28208 (sin_test_towardzero): Likewise.
28209 (sin_test_downward): Likewise.
28210 (sin_test_upward): Likewise.
28211 (sincos_test): Likewise.
28212 (sinh_test): Likewise.
28213 (sinh_test_tonearest): Likewise.
28214 (sinh_test_towardzero): Likewise.
28215 (sinh_test_downward): Likewise.
28216 (sinh_test_upward): Likewise.
28217 (sqrt_test): Likewise.
28218 (tan_test): Likewise.
28219 (tan_test_tonearest): Likewise.
28220 (tan_test_towardzero): Likewise.
28221 (tan_test_downward): Likewise.
28222 (tan_test_upward): Likewise.
28223 (tanh_test): Likewise.
28224 (tgamma_test): Likewise.
28225 (y0_test): Likewise.
28226 (y1_test): Likewise.
28227 (yn_test): Likewise.
28228
28229 * math/gen-libm-test.pl (adjust_arg): Remove function.
28230 (special_function): Remove argument $in_func. Only handle
28231 generating output for tables of tests, not inside functions.
28232 (parse_args): Likewise.
28233 (generate_testfile): Remove variable $in_func. Update call to
28234 parse_args.
28235 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28236 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28237 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28238 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28239 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28240 (MAX_VALUE_INIT): Rename macro to max_value.
28241 (MIN_VALUE_INIT): Rename macro to min_value.
28242 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28243 (plus_zero): Remove variable.
28244 (minus_zero): Likewise.
28245 (plus_infty): Likewise.
28246 (minus_infty): Likewise.
28247 (qnan_value): Likewise.
28248 (max_value): Likewise.
28249 (min_value): Likewise.
28250 (min_subnorm_value): Likewise.
28251
28252 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28253
28254 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28255 uint64_t or uint32_t usage.
28256 * crypt/sha256-block.c: Likewise.
28257 * crypt/sha256-crypt.c: Likewise.
28258 * crypt/sha256.c: Likewise.
28259 * crypt/sha512-block.c: Likewise.
28260 * crypt/sha512-crypt.c: Likewise.
28261 * crypt/sha512.c: Likewise.
28262 * debug/backtrace-tst.c: Likewise.
28263 * debug/pcprofiledump.c: Likewise.
28264 * elf/cache.c: Likewise.
28265 * elf/dl-cache.c: Likewise.
28266 * elf/dl-misc.c: Likewise.
28267 * elf/dl-profile.c: Likewise.
28268 * elf/dl-support.c: Likewise.
28269 * elf/ldconfig.c: Likewise.
28270 * elf/sprof.c: Likewise.
28271 * iconv/dummy-repertoire.c: Likewise.
28272 * iconv/iconv_charmap.c: Likewise.
28273 * iconv/skeleton.c: Likewise.
28274 * iconvdata/8bit-generic.c: Likewise.
28275 * iconvdata/cp737.h: Likewise.
28276 * iconvdata/cp775.h: Likewise.
28277 * iconvdata/ibm1008.h: Likewise.
28278 * iconvdata/ibm1025.h: Likewise.
28279 * iconvdata/ibm1046.h: Likewise.
28280 * iconvdata/ibm1097.h: Likewise.
28281 * iconvdata/ibm1112.h: Likewise.
28282 * iconvdata/ibm1122.h: Likewise.
28283 * iconvdata/ibm1123.h: Likewise.
28284 * iconvdata/ibm1124.h: Likewise.
28285 * iconvdata/ibm1129.h: Likewise.
28286 * iconvdata/ibm1130.h: Likewise.
28287 * iconvdata/ibm1132.h: Likewise.
28288 * iconvdata/ibm1133.h: Likewise.
28289 * iconvdata/ibm1137.h: Likewise.
28290 * iconvdata/ibm1140.h: Likewise.
28291 * iconvdata/ibm1141.h: Likewise.
28292 * iconvdata/ibm1142.h: Likewise.
28293 * iconvdata/ibm1143.h: Likewise.
28294 * iconvdata/ibm1144.h: Likewise.
28295 * iconvdata/ibm1145.h: Likewise.
28296 * iconvdata/ibm1146.h: Likewise.
28297 * iconvdata/ibm1147.h: Likewise.
28298 * iconvdata/ibm1148.h: Likewise.
28299 * iconvdata/ibm1149.h: Likewise.
28300 * iconvdata/ibm1153.h: Likewise.
28301 * iconvdata/ibm1154.h: Likewise.
28302 * iconvdata/ibm1155.h: Likewise.
28303 * iconvdata/ibm1156.h: Likewise.
28304 * iconvdata/ibm1157.h: Likewise.
28305 * iconvdata/ibm1158.h: Likewise.
28306 * iconvdata/ibm1160.h: Likewise.
28307 * iconvdata/ibm1161.h: Likewise.
28308 * iconvdata/ibm1162.h: Likewise.
28309 * iconvdata/ibm1163.h: Likewise.
28310 * iconvdata/ibm1164.h: Likewise.
28311 * iconvdata/ibm1166.h: Likewise.
28312 * iconvdata/ibm1167.h: Likewise.
28313 * iconvdata/ibm12712.h: Likewise.
28314 * iconvdata/ibm1390.h: Likewise.
28315 * iconvdata/ibm1399.h: Likewise.
28316 * iconvdata/ibm16804.h: Likewise.
28317 * iconvdata/ibm4517.h: Likewise.
28318 * iconvdata/ibm4899.h: Likewise.
28319 * iconvdata/ibm4909.h: Likewise.
28320 * iconvdata/ibm4971.h: Likewise.
28321 * iconvdata/ibm5347.h: Likewise.
28322 * iconvdata/ibm803.h: Likewise.
28323 * iconvdata/ibm856.h: Likewise.
28324 * iconvdata/ibm901.h: Likewise.
28325 * iconvdata/ibm902.h: Likewise.
28326 * iconvdata/ibm9030.h: Likewise.
28327 * iconvdata/ibm9066.h: Likewise.
28328 * iconvdata/ibm921.h: Likewise.
28329 * iconvdata/ibm922.h: Likewise.
28330 * iconvdata/ibm9448.h: Likewise.
28331 * iconvdata/isiri-3342.h: Likewise.
28332 * iconvdata/jis0201.h: Likewise.
28333 * include/link.h: Likewise.
28334 * include/netdb.h: Likewise.
28335 * inet/check_native.c: Likewise.
28336 * inet/check_pf.c: Likewise.
28337 * inet/getipv4sourcefilter.c: Likewise.
28338 * inet/getnameinfo.c: Likewise.
28339 * inet/getsourcefilter.c: Likewise.
28340 * inet/htonl.c: Likewise.
28341 * inet/setipv4sourcefilter.c: Likewise.
28342 * inet/setsourcefilter.c: Likewise.
28343 * inet/test-inet6_opt.c: Likewise.
28344 * inet/tst-network.c: Likewise.
28345 * locale/C-collate.c: Likewise.
28346 * locale/C-ctype.c: Likewise.
28347 * locale/C-time.c: Likewise.
28348 * locale/C-translit.h: Likewise.
28349 * locale/loadarchive.c: Likewise.
28350 * locale/programs/3level.h: Likewise.
28351 * locale/programs/charmap.c: Likewise.
28352 * locale/programs/charmap.h: Likewise.
28353 * locale/programs/ld-address.c: Likewise.
28354 * locale/programs/ld-collate.c: Likewise.
28355 * locale/programs/ld-ctype.c: Likewise.
28356 * locale/programs/ld-identification.c: Likewise.
28357 * locale/programs/ld-measurement.c: Likewise.
28358 * locale/programs/ld-messages.c: Likewise.
28359 * locale/programs/ld-monetary.c: Likewise.
28360 * locale/programs/ld-name.c: Likewise.
28361 * locale/programs/ld-numeric.c: Likewise.
28362 * locale/programs/ld-paper.c: Likewise.
28363 * locale/programs/ld-telephone.c: Likewise.
28364 * locale/programs/ld-time.c: Likewise.
28365 * locale/programs/linereader.c: Likewise.
28366 * locale/programs/locale.c: Likewise.
28367 * locale/programs/locarchive.c: Likewise.
28368 * locale/programs/locfile.h: Likewise.
28369 * locale/programs/repertoire.c: Likewise.
28370 * locale/programs/simple-hash.c: Likewise.
28371 * locale/programs/simple-hash.h: Likewise.
28372 * malloc/memusage.c: Likewise.
28373 * malloc/memusagestat.c: Likewise.
28374 * nis/nis_defaults.c: Likewise.
28375 * nis/nis_hash.c: Likewise.
28376 * nis/nis_print.c: Likewise.
28377 * nis/nis_xdr.c: Likewise.
28378 * nscd/connections.c: Likewise.
28379 * nscd/hstcache.c: Likewise.
28380 * nscd/nscd_gethst_r.c: Likewise.
28381 * nscd/nscd_getserv_r.c: Likewise.
28382 * nscd/nscd_helper.c: Likewise.
28383 * nscd/servicescache.c: Likewise.
28384 * nss/makedb.c: Likewise.
28385 * nss/nss_db/db-XXX.c: Likewise.
28386 * nss/nss_db/db-initgroups.c: Likewise.
28387 * nss/nss_db/db-netgrp.c: Likewise.
28388 * nss/nss_files/files-network.c: Likewise.
28389 * nss/nss_files/files-parse.c: Likewise.
28390 * posix/bug-regex5.c: Likewise.
28391 * posix/fnmatch_loop.c: Likewise.
28392 * posix/regcomp.c: Likewise.
28393 * posix/regexec.c: Likewise.
28394 * posix/tst-rfc3484-2.c: Likewise.
28395 * posix/tst-rfc3484-3.c: Likewise.
28396 * posix/tst-rfc3484.c: Likewise.
28397 * resolv/nss_dns/dns-canon.c: Likewise.
28398 * resolv/nss_dns/dns-network.c: Likewise.
28399 * resolv/res_init.c: Likewise.
28400 * resolv/res_mkquery.c: Likewise.
28401 * resolv/tst-aton.c: Likewise.
28402 * stdlib/cxa_atexit.c: Likewise.
28403 * stdlib/cxa_finalize.c: Likewise.
28404 * stdlib/gen-fpioconst.c: Likewise.
28405 * stdlib/strtol_l.c: Likewise.
28406 * string/tst-endian.c: Likewise.
28407 * sunrpc/auth_des.c: Likewise.
28408 * sunrpc/clnt_udp.c: Likewise.
28409 * sunrpc/rtime.c: Likewise.
28410 * sunrpc/svcauth_des.c: Likewise.
28411 * sunrpc/xdr.c: Likewise.
28412 * sunrpc/xdr_intXX_t.c: Likewise.
28413 * sunrpc/xdr_rec.c: Likewise.
28414 * sysdeps/generic/ldconfig.h: Likewise.
28415 * sysdeps/generic/ldsodefs.h: Likewise.
28416 * sysdeps/generic/memusage.h: Likewise.
28417 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28419 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28420 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28423 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28426 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28427 * sysdeps/posix/getaddrinfo.c: Likewise.
28428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28430 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28432 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28433 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28434 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28435 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28436 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28437 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28438 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28440 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28441 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28442 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28443 * sysdeps/x86_64/dl-tls.h: Likewise.
28444 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28445 * time/alt_digit.c: Likewise.
28446 * time/era.c: Likewise.
28447 * wcsmbs/tst-c16c32-1.c: Likewise.
28448
28449 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28450
28451 * math/libm-test.inc (struct test_sincos_data): New type.
28452 (RUN_TEST_LOOP_sincos): New macro.
28453 (sincos_test_data): New variable.
28454 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28455
28456 2013-05-16 Richard Henderson <rth@redhat.com>
28457
28458 * math/atest-exp2.c (LIMB64): New macro.
28459 (CONSTSZ): New macro.
28460 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28461 (hexdig): Move ...
28462 (print_mpn_fp): ... to function scope.
28463 (read_mpn_hex): Remove.
28464 (get_log2): Remove.
28465 (exp2_mpn): Use mp_log2.
28466 (main): Use mp_exp1.
28467
28468 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28469
28470 * math/libm-test.inc: Remove comment about not testing "inexact"
28471 exceptions.
28472 (INEXACT_EXCEPTION): New macro.
28473 (NO_INEXACT_EXCEPTION): Likewise.
28474 (INVALID_EXCEPTION_OK): Update value.
28475 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28476 (OVERFLOW_EXCEPTION_OK): Likewise.
28477 (UNDERFLOW_EXCEPTION_OK): Likewise.
28478 (IGNORE_ZERO_INF_SIGN): Likewise.
28479 (ERRNO_UNCHANGED): Likewise.
28480 (ERRNO_EDOM): Likewise.
28481 (ERRNO_ERANGE): Likewise.
28482 (test_exceptions): Handle testing "inexact" exceptions.
28483 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28484 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28485 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28486 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28487 INEXACT_EXCEPTION.
28488 (rint_towardzero_test_data): Likewise.
28489 (rint_downward_test_data): Likewise.
28490 (rint_upward_test_data): Likewise.
28491
28492 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28493 with OVERFLOW_EXCEPTION.
28494 (exp10_test_data): Likewise.
28495 (exp2_test_data): Likewise.
28496 (expm1_test_data): Likewise.
28497 (lgamma_test_data): Likewise.
28498 (pow_test_data): Likewise.
28499 (tgamma_test_data): Likewise.
28500 (yn_test_data): Remove duplicate test of overflow.
28501
28502 * math/libm-test.inc (struct test_cc_c_data): New type.
28503 (RUN_TEST_LOOP_cc_c): New macro.
28504 (cpow_test_data): New variable.
28505 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28506
28507 * math/libm-test.inc (struct test_f_L_data): New type.
28508 (RUN_TEST_LOOP_f_L): New macro.
28509 (llrint_test_data): New variable.
28510 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28511 (llrint_tonearest_test_data): New variable.
28512 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28513 (llrint_towardzero_test_data): New variable.
28514 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28515 (llrint_downward_test_data): New variable.
28516 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28517 (llrint_upward_test_data): New variable.
28518 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28519 (llround_test_data): New variable.
28520 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28521
28522 2013-05-13 Peter Collingbourne <pcc@google.com>
28523
28524 * math/atest-exp2.c (get_log2): Remove const attribute.
28525
28526 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28527
28528 * math/libm-test.inc (struct test_f_l_data): New type.
28529 (RUN_TEST_LOOP_f_l): New macro.
28530 (lrint_test_data): New variable.
28531 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28532 (lrint_tonearest_test_data): New variable.
28533 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28534 (lrint_towardzero_test_data): New variable.
28535 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28536 (lrint_downward_test_data): New variable.
28537 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28538 (lrint_upward_test_data): New variable.
28539 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28540 (lround_test_data): New variable.
28541 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28542
28543 2013-05-15 Peter Collingbourne <pcc@google.com>
28544
28545 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28546 (EXTRACT_WORDS64) Use where appropriate.
28547 (INSERT_WORDS64) Likewise.
28548
28549 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28550 constraints with x constraints.
28551 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28552
28553 * malloc/obstack.c (_obstack_compat): Add initializer.
28554
28555 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28556
28557 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28558 si_trapno and add si_addr_lsb to _sifields.sigfault.
28559 (si_trapno): Remove macro.
28560 (si_addr_lsb): Define new macro.
28561 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28562
28563 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28564
28565 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28566 instead of TEST_f_l.
28567 (llrint_test_tonearest): Likewise.
28568 (llrint_test_towardzero): Likewise.
28569 (llrint_test_downward): Likewise.
28570 (llrint_test_upward): Likewise.
28571 (llround_test): Likewise.
28572
28573 * math/libm-test.inc (struct test_f_i_data): Add comment.
28574 (RUN_TEST_LOOP_f_b): New macro.
28575 (RUN_TEST_LOOP_f_b_tg): Likewise.
28576 (finite_test_data): New variable.
28577 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28578 (isfinite_test_data): New variable.
28579 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28580 (isinf_test_data): New variable.
28581 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28582 (isnan_test_data): New variable.
28583 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28584 (isnormal_test_data): New variable.
28585 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28586 (issignaling_test_data): New variable.
28587 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28588 (signbit_test_data): New variable.
28589 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28590
28591 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28592 with INVALID_EXCEPTION.
28593 (acosh_test_data): Likewise.
28594 (asin_test_data): Likewise.
28595 (atanh_test_data): Likewise.
28596 (fmod_test_data): Likewise.
28597 (log_test_data): Likewise.
28598 (log10_test_data): Likewise.
28599 (log2_test_data): Likewise.
28600 (pow_test_data): Likewise.
28601 (sqrt_test_data): Likewise.
28602 (y0_test_data): Likewise.
28603 (y1_test_data): Likewise.
28604 (yn_test_data): Likewise.
28605
28606 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28607 function contents.
28608
28609 * math/libm-test.inc (struct test_ff_i_data): New type.
28610 (RUN_TEST_LOOP_ff_i_tg): New macro.
28611 (isgreater_test_data): New variable.
28612 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28613 (isgreaterequal_test_data): New variable.
28614 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28615 (isless_test_data): New variable.
28616 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28617 (islessequal_test_data): New variable.
28618 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28619 (islessgreater_test_data): New variable.
28620 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28621 (isunordered_test_data): New variable.
28622 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28623
28624 2013-05-14 David S. Miller <davem@davemloft.net>
28625
28626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28627
28628 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28629
28630 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28631
28632 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28633 extra_test to int.
28634 (struct test_f_i_data): Change type of max_ulp to int.
28635
28636 * math/libm-test.inc (test_ffI_f1_data): New type.
28637 (RUN_TEST_LOOP_ffI_f1): New macro.
28638 (remquo_test_data): New variable.
28639 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28640
28641 * setjmp/tst-setjmp-fp.c: New file.
28642 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28643 (link-libm): New variable.
28644 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28645
28646 * math/libm-test.inc (struct test_f_i_data): New type.
28647 (RUN_TEST_LOOP_f_i): New macro.
28648 (RUN_TEST_LOOP_f_i_tg): Likewise.
28649 (fpclassify_test_data): New variable.
28650 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28651 (ilogb_test_data): New variable.
28652 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28653
28654 * math/libm-test.inc (scalbln_test): Correct function name in END
28655 call.
28656
28657 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28658 (RUN_TEST_LOOP_fI_f1): New macro.
28659 (frexp_test_data): New variable.
28660 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28661
28662 * math/libm-test.inc (struct test_fF_f1_data): New type.
28663 (RUN_TEST_LOOP_fF_f1): New macro.
28664 (modf_test_data): New variable.
28665 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28666
28667 * math/libm-test.inc (struct test_f_f1_data): New type.
28668 (RUN_TEST_LOOP_f_f1): New macro.
28669 (gamma_test_data): New variable.
28670 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28671 (lgamma_test_data): New variable.
28672 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28673
28674 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28675
28676 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28677 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28678 (main): Comment "tls" pseudo-hwcap.
28679
28680 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28681
28682 * math/libm-test.inc (struct test_fl_f_data): New type.
28683 (RUN_TEST_LOOP_fl_f): New variable.
28684 (scalbln_test_data): New variable.
28685 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28686
28687 * math/libm-test.inc (struct test_fi_f_data): New type.
28688 (RUN_TEST_LOOP_fi_f): New macro.
28689 (ldexp_test_data): New variable.
28690 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28691 (scalbn_test_data): New variable.
28692 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28693
28694 * math/libm-test.inc (struct test_c_f_data): New type.
28695 (RUN_TEST_LOOP_c_f): New macro.
28696 (cabs_test_data): New variable.
28697 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28698 (carg_test_data): New variable.
28699 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28700 (cimag_test_data): New variable.
28701 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28702 (creal_test_data): New variable.
28703 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28704
28705 * math/libm-test.inc (struct test_if_f_data): New type.
28706 (RUN_TEST_LOOP_if_f): New macro.
28707 (jn_test_data): New variable.
28708 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28709 (yn_test_data): New variable.
28710 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28711
28712 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28713
28714 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28715
28716 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28717 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28718
28719 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28720
28721 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28722 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28723 (bench-deps): Add bench-timing.h.
28724 * benchtests-bench-skeleton.c: Include bench-timing.h.
28725 (main): Use TIMING_* macros instead of clock_gettime.
28726 * benchtests/bench-timing.h: New file.
28727
28728 [BZ #14582]
28729 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28730 Renamed from _LIB_VERSION.
28731 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28732
28733 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28734
28735 * math/libm-test.inc (struct test_fff_f_data): New type.
28736 (RUN_TEST_LOOP_fff_f): New macro.
28737 (fma_test_data): New variable.
28738 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28739 (fma_towardzero_test_data): New variable.
28740 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28741 (fma_downward_test_data): New variable.
28742 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28743 (fma_upward_test_data): New variable.
28744 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28745
28746 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28747 (struct test_c_c_data): New type.
28748 (RUN_TEST_LOOP_c_c): New macro.
28749 (cacos_test_data): New variable.
28750 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28751 (cacosh_test_data): New variable.
28752 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28753 (casin_test_data): New variable.
28754 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28755 (casinh_test_data): New variable.
28756 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28757 (catan_test_data): New variable.
28758 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28759 (catanh_test_data): New variable.
28760 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28761 (ccos_test_data): New variable.
28762 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28763 (ccosh_test_data): New variable.
28764 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28765 (cexp_test_data): New variable.
28766 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28767 (clog_test_data): New variable.
28768 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28769 (clog10_test_data): New variable.
28770 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28771 (conj_test_data): New variable.
28772 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28773 (cproj_test_data): New variable.
28774 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28775 (csin_test_data): New variable.
28776 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28777 (csinh_test_data): New variable.
28778 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28779 (csqrt_test_data): New variable.
28780 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28781 (ctan_test_data): New variable.
28782 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28783 (ctan_tonearest_test_data): New variable.
28784 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28785 (ctan_towardzero_test_data): New variable.
28786 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28787 (ctan_downward_test_data): New variable.
28788 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28789 (ctan_upward_test_data): New variable.
28790 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28791 (ctanh_test_data): New variable.
28792 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28793 (ctanh_tonearest_test_data): New variable.
28794 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28795 (ctanh_towardzero_test_data): New variable.
28796 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28797 (ctanh_downward_test_data): New variable.
28798 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28799 (ctanh_upward_test_data): New variable.
28800 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28801 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28802 of BUILD_COMPLEX.
28803
28804 * math/libm-test.inc (struct test_ff_f_data): New type.
28805 (struct test_ff_f_data_nexttoward): Likewise.
28806 (RUN_TEST_LOOP_2_f): New macro.
28807 (RUN_TEST_LOOP_ff_f): Likewise.
28808 (atan2_test_data): New variable.
28809 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28810 (copysign_test_data): New variable.
28811 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28812 (fdim_test_data): New variable.
28813 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28814 (fmax_test_data): New variable.
28815 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28816 (fmin_test_data): New variable.
28817 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28818 (fmod_test_data): New variable.
28819 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28820 (hypot_test_data): New variable.
28821 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28822 (nextafter_test_data): New variable.
28823 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28824 (nexttoward_test_data): New variable.
28825 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28826 (pow_test_data): New variable.
28827 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28828 (pow_tonearest_test_data): New variable.
28829 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28830 (pow_towardzero_test_data): New variable.
28831 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28832 (pow_downward_test_data): New variable.
28833 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28834 (pow_upward_test_data): New variable.
28835 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28836 (remainder_test_data): New variable.
28837 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28838 (scalb_test_data): New variable.
28839 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28840 * sysdeps/i386/fpu/libm-test-ulps: Update.
28841
28842 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28843
28844 * math/libm-test.inc (fma_test): Use max_value instead of local
28845 variable fltmax.
28846 (nextafter_test): Likewise.
28847
28848 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28849 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28850 (acos_downward_test_data): New variable.
28851 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28852 (acos_upward_test_data): New variable.
28853 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28854 (acosh_test_data): New variable.
28855 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28856 (asin_test_data): New variable.
28857 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28858 (asin_tonearest_test_data): New variable.
28859 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28860 (asin_towardzero_test_data): New variable.
28861 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28862 (asin_downward_test_data): New variable.
28863 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28864 (asin_upward_test_data): New variable.
28865 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28866 (asinh_test_data): New variable.
28867 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28868 (atan_test_data): New variable.
28869 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28870 (atanh_test_data): New variable.
28871 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28872 (cbrt_test_data): New variable.
28873 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28874 (ceil_test_data): New variable.
28875 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28876 (cos_test_data): New variable.
28877 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28878 (cos_tonearest_test_data): New variable.
28879 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28880 (cos_towardzero_test_data): New variable.
28881 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28882 (cos_downward_test_data): New variable.
28883 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28884 (cos_upward_test_data): New variable.
28885 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28886 (cosh_test_data): New variable.
28887 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28888 (cosh_tonearest_test_data): New variable.
28889 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28890 (cosh_towardzero_test_data): New variable.
28891 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28892 (cosh_downward_test_data): New variable.
28893 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28894 (cosh_upward_test_data): New variable.
28895 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28896 (erf_test_data): New variable.
28897 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28898 (erfc_test_data): New variable.
28899 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28900 (exp_test_data): New variable.
28901 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28902 (exp_tonearest_test_data): New variable.
28903 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28904 (exp_towardzero_test_data): New variable.
28905 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28906 (exp_downward_test_data): New variable.
28907 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28908 (exp_upward_test_data): New variable.
28909 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28910 (exp10_test_data): New variable.
28911 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28912 (exp2_test_data): New variable.
28913 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28914 (expm1_test_data): New variable.
28915 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28916 (fabs_test_data): New variable.
28917 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28918 (floor_test_data): New variable.
28919 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28920 (j0_test_data): New variable.
28921 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28922 (j1_test_data): New variable.
28923 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28924 (log_test_data): New variable.
28925 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28926 (log10_test_data): New variable.
28927 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28928 (log1p_test_data): New variable.
28929 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28930 (log2_test_data): New variable.
28931 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28932 (logb_test_data): New variable.
28933 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28934 (logb_downward_test_data): New variable.
28935 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28936 (nearbyint_test_data): New variable.
28937 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28938 (rint_test_data): New variable.
28939 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28940 (rint_tonearest_test_data): New variable.
28941 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28942 (rint_towardzero_test_data): New variable.
28943 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28944 (rint_downward_test_data): New variable.
28945 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28946 (rint_upward_test_data): New variable.
28947 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28948 (round_test_data): New variable.
28949 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28950 (sin_test_data): New variable.
28951 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28952 (sin_tonearest_test_data): New variable.
28953 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28954 (sin_towardzero_test_data): New variable.
28955 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28956 (sin_downward_test_data): New variable.
28957 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28958 (sin_upward_test_data): New variable.
28959 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28960 (sinh_test_data): New variable.
28961 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28962 (sinh_tonearest_test_data): New variable.
28963 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28964 (sinh_towardzero_test_data): New variable.
28965 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28966 (sinh_downward_test_data): New variable.
28967 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28968 (sinh_upward_test_data): New variable.
28969 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28970 (sqrt_test_data): New variable.
28971 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28972 (tan_test_data): New variable.
28973 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28974 (tan_tonearest_test_data): New variable.
28975 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28976 (tan_towardzero_test_data): New variable.
28977 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28978 (tan_downward_test_data): New variable.
28979 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28980 (tan_upward_test_data): New variable.
28981 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28982 (tanh_test_data): New variable.
28983 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28984 (tgamma_test_data): New variable.
28985 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28986 (trunc_test_data): New variable.
28987 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28988 (y0_test_data): New variable.
28989 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28990 (y1_test_data): New variable.
28991 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28992 (significand_test_data): New variable.
28993 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28994
28995 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28996
28997 [BZ #12387]
28998 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28999
29000 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29001
29002 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29003
29004 2013-05-10 Andreas Jaeger <aj@suse.de>
29005
29006 [BZ #15448]
29007 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29008 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29009
29010 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29011
29012 * math/gen-libm-test.pl (adjust_arg): New function.
29013 (special_functions): Handle generating output in both functions
29014 and arrays.
29015 (parse_args): Likewise.
29016 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29017 $in_func argument to parse_args.
29018 * math/libm-test.inc (struct test_f_f_data): New type.
29019 (IF_ROUND_INIT_): New macro.
29020 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29021 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29022 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29023 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29024 (ROUND_RESTORE_): Likewise.
29025 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29026 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29027 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29028 (ROUND_RESTORE_FE_UPWARD): Likewise.
29029 (RUN_TEST_LOOP_f_f): New macro.
29030 (acos_test_data): New variable.
29031 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29032 (acos_tonearest_test_data): New variable.
29033 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29034
29035 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29036
29037 * benchtests/bench-skeleton.c (startup): Fix coding style.
29038
29039 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29040
29041 [BZ #6809]
29042 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29043 negative infinity argument.
29044 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29045 negative infinity argument.
29046 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29047 negative infinity argument.
29048 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29049 domain errors.
29050
29051 2013-05-10 Florian Weimer <fweimer@redhat.com>
29052
29053 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29054 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29055 * iconv/iconv_prog.c (main): Likewise.
29056 * locale/programs/charmap-dir.c (charmap_readdir)
29057 (fopen_uncompressed): Likewise.
29058 * locale/programs/locfile.c (siblings_uncached)
29059 (write_locale_data): Use lstat64 instead of lstat.
29060 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29061 stat.
29062
29063 2013-05-10 Andreas Jaeger <aj@suse.de>
29064
29065 [BZ #15395]
29066 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29067 localization.
29068 Include <locale.h>.
29069
29070 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29071
29072 * elf/dl-close.c (_dl_close_worker): Add comments.
29073
29074 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29075
29076 [BZ #15359]
29077 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29078 high part of pi/2.
29079 (__ieee754_rem_pio2l): Update comments.
29080
29081 [BZ #15429]
29082 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29083 high part of pi/2.
29084 (__ieee754_rem_pio2l): Update comments.
29085
29086 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29087 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29088
29089 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29090 M_PI_4l.
29091
29092 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29093 (M_PI_34_LOG10El): Likewise.
29094 (M_PI2_LOG10El): Likewise.
29095 (M_PI4_LOG10El): Likewise.
29096 (M_PI_LOG10El): Likewise.
29097
29098 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29099
29100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29101
29102 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29103
29104 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29105 (MINUS_ZERO_INIT): Likewise.
29106 (PLUS_INFTY_INIT): Likewise.
29107 (MINUS_INFTY_INIT): Likewise.
29108 (QNAN_VALUE_INIT): Likewise.
29109 (MAX_VALUE_INIT): Likewise.
29110 (MIN_VALUE_INIT): Likewise.
29111 (MIN_SUBNORM_VALUE_INIT): Likewise.
29112 (plus_zero): Initialize with PLUS_ZERO_INIT.
29113 (minus_zero): Initialize with MINUS_ZERO_INIT.
29114 (plus_infty): Initialize with PLUS_INFTY_INIT.
29115 (minus_infty): Initialize with MINUS_INFTY_INIT.
29116 (qnan_value): Initialize with QNAN_VALUE_INIT.
29117 (max_value): Initialize with MAX_VALUE_INIT.
29118 (min_value): Initialize with MIN_VALUE_INIT.
29119 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29120
29121 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29122 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29123 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29124 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29125
29126 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29127 (RUN_TEST_2_f): Likewise.
29128 (RUN_TEST_ff_f): Likewise.
29129 (RUN_TEST_fi_f): Likewise.
29130 (RUN_TEST_fl_f): Likewise.
29131 (RUN_TEST_fff_f): Likewise.
29132 (RUN_TEST_c_f): Likewise.
29133 (RUN_TEST_f_f1): Likewise.
29134 (RUN_TEST_fF_f1): Likewise.
29135 (RUN_TEST_fI_f1): Likewise.
29136 (RUN_TEST_ffI_f1): Likewise.
29137 (RUN_TEST_c_c): Likewise.
29138 (RUN_TEST_cc_c): Likewise.
29139 (RUN_TEST_f_i): Likewise.
29140 (RUN_TEST_f_i_tg): Likewise.
29141 (RUN_TEST_ff_i_tg): Likewise.
29142 (RUN_TEST_f_b): Likewise.
29143 (RUN_TEST_f_b_tg): Likewise.
29144 (RUN_TEST_f_l): Likewise.
29145 (RUN_TEST_f_L): Likewise.
29146 (RUN_TEST_sincos): Likewise.
29147 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29148 whether to show exceptions. Do not include ");\n" in return
29149 value.
29150 (special_functions): Output call to RUN_TEST_sincos instead of
29151 check_float calls. Update calls to new_test.
29152 (parse_args): Output call to single RUN_TEST_* macro instead of
29153 check_* calls and other assignments. Update calls to new_test.
29154
29155 [BZ #2546]
29156 [BZ #2560]
29157 [BZ #5159]
29158 [BZ #15426]
29159 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29160 input to result for tgamma overflow.
29161 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29162 (gamma_coeff): New variable.
29163 (NCOEFF): New macro.
29164 (gamma_positive): New function.
29165 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29166 underflow here. Use gamma_positive instead of exp (lgamma) for
29167 other arguments.
29168 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29169 (gamma_coeff): New variable.
29170 (NCOEFF): New macro.
29171 (gammaf_positive): New function.
29172 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29173 underflow here. Use gamma_positive instead of exp (lgamma) for
29174 other arguments.
29175 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29176 (gamma_coeff): New variable.
29177 (NCOEFF): New macro.
29178 (gammal_positive): New function.
29179 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29180 underflow here. Use gamma_positive instead of exp (lgamma) for
29181 other arguments.
29182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29183 (gamma_coeff): New variable.
29184 (NCOEFF): New macro.
29185 (gammal_positive): New function.
29186 (__ieee754_gammal_r): Handle positive infinity, overflow and
29187 underflow here. Handle NaN the same as positive infinity. Remove
29188 check x < 0xffffffff for negative integers. Use gamma_positive
29189 instead of exp (lgamma) for other arguments.
29190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29191 (gamma_coeff): New variable.
29192 (NCOEFF): New macro.
29193 (gammal_positive): New function.
29194 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29195 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29199 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29200 * sysdeps/generic/math_private.h (__gamma_productf): New
29201 prototype.
29202 (__gamma_product): Likewise.
29203 (__gamma_productl): Likewise.
29204 * math/Makefile (libm-calls): Add gamma_product.
29205 * math/libm-test.inc (tgamma_test): Add more tests.
29206 * sysdeps/i386/fpu/libm-test-ulps: Update.
29207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29208
29209 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29210
29211 * benchtests/bench-skeleton.c (main): Preheat CPU.
29212
29213 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29214
29215 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29216
29217 2013-05-07 Roland McGrath <roland@hack.frob.com>
29218
29219 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29220 and _dl_skip_args_internal.
29221
29222 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29223
29224 * manual/message.texi (Message Translation): Talk about users.
29225 Message to key mapping impacts design.
29226
29227 2013-05-06 Roland McGrath <roland@hack.frob.com>
29228
29229 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29230
29231 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29232
29233 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29234 * sysdeps/wordsize-64/glob64.c: ... here.
29235
29236 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29237 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29238 New macros.
29239
29240 * debug/getlogin_r_chk.c: Moved to ...
29241 * login/getlogin_r_chk.c: ... here.
29242 * debug/Makefile (routines): Move getlogin_r_chk to ...
29243 * login/Makefile (routines): ... here.
29244 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29245 * login/Versions (libc: GLIBC_2.4): ... here.
29246
29247 * io/poll.c (__poll): Renamed from poll.
29248 Add libc_hidden_def.
29249 (poll): Define as weak alias.
29250
29251 * debug/ptsname_r_chk.c: Moved to ...
29252 * login/ptsname_r_chk.c: ... here.
29253 * debug/Makefile (routines): Move ptsname_r_chk to ...
29254 * login/Makefile (routines): ... here.
29255 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29256 * login/Versions (libc: GLIBC_2.4): ... here.
29257
29258 * posix/getlogin.c: Moved to ...
29259 * login/getlogin.c: ... here.
29260 * posix/getlogin_r.c: Moved to ...
29261 * login/getlogin_r.c: ... here.
29262 * posix/getlogin_r.c: Moved to ...
29263 * login/getlogin_r.c: ... here.
29264 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29265 * login/Makefile (routines): ... here.
29266 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29267 * login/Versions (libc: GLIBC_2.0): ... here.
29268
29269 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29270 (setrlimit): Define as weak alias.
29271
29272 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29273 Call __ names for open, ftruncate, and close.
29274 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29275 (truncate): Define as weak alias.
29276
29277 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29278
29279 * math/gen-libm-test.pl (parse_args): Initialize x before each
29280 test of frexp, modf and remquo.
29281
29282 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29283 test signgam value.
29284
29285 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29286
29287 [BZ #15418]
29288 [BZ #15419]
29289 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29290 internal tests.
29291 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29292
29293 2013-05-06 Roland McGrath <roland@hack.frob.com>
29294
29295 * elf/dl-writev.h: New file.
29296 * elf/dl-misc.c: Include it.
29297 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29298 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29299
29300 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29301
29302 * math/libm-test.inc (noXFails): Remove variable.
29303 (noXPasses): Likewise.
29304 (BUILD_COMPLEX_INT): Remove macro.
29305 (print_screen): Remove xfail argument.
29306 (print_screen_max_error): Likewise.
29307 (update_stats): Likewise.
29308 (print_max_error): Likewise. Update calls to other affected
29309 functions.
29310 (print_complex_max_error): Likewise.
29311 (test_single_exception): Update calls to print_screen.
29312 (test_single_errno): Likewise.
29313 (check_float_internal): Remove xfail argument. Update calls to
29314 other affected functions.
29315 (check_float): Likewise.
29316 (check_complex): Likewise.
29317 (check_int): Likewise.
29318 (check_long): Likewise.
29319 (check_bool): Likewise.
29320 (check_longlong): Likewise.
29321 (main): Don't print noXFails and noXPasses.
29322 * math/gen-libm-test.pl (top level): Don't mention expected
29323 failure handling in comment.
29324 (new_test): Don't handle expected failures.
29325 (parse_args): Don't mention expected failure handling in comment.
29326 (generate_testfile): Don't handle expected failures.
29327 (parse_ulps): Likewise.
29328 (print_ulps_file): Likewise.
29329 (get_failure): Remove function.
29330 (output_test): Don't handle expected failures.
29331 * make/README.libm-test: Don't mention expected failure handling.
29332
29333 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29334 (minus_zero): Likewise.
29335 (plus_infty): Likewise.
29336 (minus_infty): Likewise.
29337 (qnan_value): Likewise.
29338 (max_value): Likewise.
29339 (min_value): Likewise.
29340 (min_subnorm_value): Likewise.
29341 (initialize): Do not initialize those variables dynamically.
29342
29343 2013-05-03 Roland McGrath <roland@hack.frob.com>
29344
29345 * io/open.c (__open_2): Moved to ...
29346 * io/open_2.c: ... this new file.
29347 * io/open64.c (__open64_2): Moved to ...
29348 * io/open64_2.c: ... this new file.
29349 * io/openat.c (__openat_2): Moved to ...
29350 * io/openat_2.c: ... this new file.
29351 * io/openat64.c (__openat64_2): Moved to ...
29352 * io/openat64_2.c: ... this new file.
29353 * io/Makefile (routines): Add them.
29354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29355 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29356 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29357 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29358 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29359 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29360 (__openat64): Add hidden_ver.
29361 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29362 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29363
29364 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29365 Separately conditionalize setting of GLRO(dl_sysinfo) so
29366 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29367 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29368
29369 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29370
29371 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29372 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29373 definition.
29374 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29375 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29376 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29377 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29378 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29379
29380 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29381
29382 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29383 test signgam value.
29384
29385 * math/libm-test.inc (hypot_test): Do not use
29386 IGNORE_ZERO_INF_SIGN.
29387
29388 2013-05-03 Andreas Jaeger <aj@suse.de>
29389
29390 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29391 Linux 3.9.
29392 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29393 (PF_MAX): Adjust for VSOCK change.
29394
29395 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29396
29397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29398
29399 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29400
29401 [BZ #15264]
29402 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29403 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29404 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29405
29406 2013-05-02 David S. Miller <davem@davemloft.net>
29407
29408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29409
29410 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29411
29412 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29413
29414 2013-05-01 Roland McGrath <roland@hack.frob.com>
29415
29416 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29417
29418 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29419
29420 [BZ #14952]
29421 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29422 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29423 Use __attribute__ ((__gnu_inline__)).
29424 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29425 Don't use __attribute__ ((__gnu_inline__)).
29426
29427 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29428
29429 [BZ #15423]
29430 * math/s_catan.c (__catan): Handle small real or imaginary part of
29431 input specially to avoid spurious underflow.
29432 * math/s_catanf.c (__catanf): Likewise.
29433 * math/s_catanh.c (__catanh): Likewise.
29434 * math/s_catanhf.c (__catanhf): Likewise.
29435 * math/s_catanhl.c (__catanhl): Likewise.
29436 * math/s_catanl.c (__catanl): Likewise.
29437 * math/libm-test.inc (catan_test): Add more tests.
29438 (catanh_test): Likewise.
29439 * sysdeps/i386/fpu/libm-test-ulps: Update.
29440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29441
29442 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29443
29444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29445
29446 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29447
29448 [BZ #15416]
29449 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29450 accurately for denominator in atan2.
29451 * math/s_catanf.c (__catanf): Likewise.
29452 * math/s_catanh.c (__catanh): Likewise.
29453 * math/s_catanhf.c (__catanhf): Likewise.
29454 * math/s_catanhl.c (__catanhl): Likewise.
29455 * math/s_catanl.c (__catanl): Likewise.
29456 * math/libm-test.inc (catan_test): Add more tests.
29457 (catanh_test): Likewise.
29458 * sysdeps/i386/fpu/libm-test-ulps: Update.
29459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29460
29461 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29462
29463 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29464
29465 * benchtests/Makefile (bench): Remove slow benchmarks.
29466 * benchtests/atan-inputs: Add slow benchmark inputs.
29467 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29468 (BENCH_FUNC): Accept variant offset.
29469 (VARIANT): Define.
29470 * benchtests/bench-skeleton.c (main): Run benchmark for each
29471 variant.
29472 * benchtests/cos-inputs: Add slow benchmark inputs.
29473 * benchtests/exp-inputs: Likewise.
29474 * benchtests/pow-inputs: Likewise.
29475 * benchtests/sin-inputs: Likewise.
29476 * benchtests/slowatan-inputs: Remove.
29477 * benchtests/slowatan.c: Remove.
29478 * benchtests/slowcos-inputs: Remove.
29479 * benchtests/slowcos.c: Remove.
29480 * benchtests/slowexp-inputs: Remove.
29481 * benchtests/slowexp.c: Remove.
29482 * benchtests/slowpow-inputs: Remove.
29483 * benchtests/slowpow.c: Remove.
29484 * benchtests/slowsin-inputs: Remove.
29485 * benchtests/slowsin.c: Remove.
29486 * benchtests/slowtan-inputs: Remove.
29487 * benchtests/slowtan.c: Remove.
29488 * benchtests/tan-inputs: Add slow benchmark inputs.
29489 * scripts/bench.pl: Parse comments and directives.
29490
29491 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29492 in CPPFLAGS.
29493 ($(objpfx)bench-%.c): Remove *-ITER.
29494 * benchtests/bench-modf.c: Remove definition of ITER.
29495 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29496 (main): Loop for DURATION seconds instead of fixed number of
29497 iterations.
29498 * scripts/bench.pl: Don't expect iterations in parameters.
29499
29500 2013-04-29 Roland McGrath <roland@hack.frob.com>
29501
29502 * io/fchdir.c (__fchdir): Renamed from fchdir.
29503 (fchdir): Define as weak alias.
29504
29505 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29506
29507 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29508 (ERRNO_EDOM): Likewise.
29509 (ERRNO_ERANGE): Likewise.
29510 (noErrnoTests): New variable.
29511 (init_max_error): Set errno to 0.
29512 (test_single_errno): New function.
29513 (test_errno): Likewise.
29514 (check_float_internal): Call test_errno. Set errno to 0.
29515 (check_complex): Refer to errno tests in comment.
29516 (check_int): Call test_errno. Set errno to 0.
29517 (check_long): Likewise.
29518 (check_bool): Likewise.
29519 (check_longlong): Likewise.
29520 (cos_test): Use ERRNO_* flags for errno tests instead of
29521 check_int.
29522 (expm1_test): Likewise.
29523 (fmod_test): Likewise.
29524 (ilogb_test): Likewise.
29525 (lgamma_test): Likewise.
29526 (pow_test): Likewise.
29527 (remainder_test): Likewise.
29528 (sin_test): Likewise.
29529 (tan_test): Likewise.
29530 (yn_test): Likewise.
29531 (initialize): Set errno to 0.
29532 (main): Print number of errno tests.
29533 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29534
29535 2013-04-29 Andreas Jaeger <aj@suse.de>
29536
29537 [BZ #15084]
29538 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29539 and RES_USEVC.
29540
29541 [BZ #15085]
29542 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29543 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29544 unimplemented.
29545
29546 [BZ #15380]
29547 * stdlib/random.c (__initstate): Return NULL if
29548 __initstate fails.
29549
29550 [BZ #15086]
29551 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29552 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29553 RES_SNGLKUPREOP.
29554
29555 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29556
29557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29558
29559 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29560
29561 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29562 of individual tests.
29563 (casin_test): Likewise.
29564 (casinh_test): Likewise.
29565
29566 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29567
29568 [BZ #15409]
29569 * math/s_catan.c (__catan): Handle arguments with large real or
29570 imaginary part separately without squaring.
29571 * math/s_catanf.c (__catanf): Likewise.
29572 * math/s_catanh.c (__catanh): Likewise.
29573 * math/s_catanhf.c (__catanhf): Likewise.
29574 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29575 and redefine.
29576 (__catanhl): Handle arguments with large real or imaginary part
29577 separately without squaring.
29578 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29579 and redefine.
29580 (__catanl): Handle arguments with large real or imaginary part
29581 separately without squaring.
29582 * math/libm-test.inc (catan_test): Add more tests.
29583 (catanh_test): Likewise.
29584 * sysdeps/i386/fpu/libm-test-ulps: Update.
29585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29586
29587 2013-04-27 Andreas Jaeger <aj@suse.de>
29588
29589 [BZ #15007]
29590 * stdlib/stdlib.h: Update guards for qecvt.
29591 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29592 <stdlib.h>.
29593
29594 2013-04-27 Allan McRae <allan@archlinux.org>
29595
29596 * sysdeps/i386/fpu/libm-test-ulps: Update.
29597
29598 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29599
29600 [BZ #15406]
29601 * math/s_catan.c: Include <float.h>.
29602 (__catan): Ensure underflow exception occurs for underflowed
29603 result.
29604 * math/s_catanf.c: Include <float.h>.
29605 (__catanf): Ensure underflow exception occurs for underflowed
29606 result.
29607 * math/s_catanh.c: Include <float.h>.
29608 (__catanh): Ensure underflow exception occurs for underflowed
29609 result.
29610 * math/s_catanhf.c: Include <float.h>.
29611 (__catanhf): Ensure underflow exception occurs for underflowed
29612 result.
29613 * math/s_catanhl.c: Include <float.h>.
29614 (__catanhl): Ensure underflow exception occurs for underflowed
29615 result.
29616 * math/s_catanl.c: Include <float.h>.
29617 (__catanl): Ensure underflow exception occurs for underflowed
29618 result.
29619 * math/libm-test.inc (catan_test): Add more tests.
29620 (catanh_test): Likewise.
29621
29622 [BZ #15405]
29623 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29624 underflowed result.
29625 * math/s_ccoshf.c (__ccoshf): Likewise.
29626 * math/s_ccoshl.c (__ccoshl): Likewise.
29627 * math/s_csin.c (__csin): Likewise.
29628 * math/s_csinf.c (__csinf): Likewise.
29629 * math/s_csinh.c (__csinh): Likewise.
29630 * math/s_csinhf.c (__csinhf): Likewise.
29631 * math/s_csinhl.c (__csinhl): Likewise.
29632 * math/s_csinl.c (__csinl): Likewise.
29633 * math/libm-test.inc (ccos_test): Add more tests.
29634 (ccosh_test): Likewise.
29635 (csin_test): Likewise.
29636 (csinh_test): Likewise.
29637
29638 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29639
29640 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29641 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29642 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29643 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29644 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29645 powerpc/power5+/fpu folders.
29646 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29647
29648
29649 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29650
29651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29652
29653 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29654
29655 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29656 additions to variable.
29657 [$(config-machine) = x86_64] (modules-names): Likewise.
29658 ($(objpfx)tst-audit3): Remove dependency.
29659 ($(objpfx)tst-audit3.out): Likewise.
29660 ($(objpfx)tst-audit4): Likewise.
29661 ($(objpfx)tst-audit4.out): Likewise.
29662 ($(objpfx)tst-audit5): Likewise.
29663 ($(objpfx)tst-audit5.out): Likewise.
29664 ($(objpfx)tst-audit6): Likewise.
29665 ($(objpfx)tst-audit6.out): Likewise.
29666 ($(objpfx)tst-audit7): Likewise.
29667 ($(objpfx)tst-audit7.out): Likewise.
29668 (tst-audit3-ENV): Remove variable.
29669 (tst-audit4-ENV): Likewise.
29670 (tst-audit5-ENV): Likewise.
29671 (tst-audit6-ENV): Likewise.
29672 (tst-audit7-ENV): Likewise.
29673 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29674 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29675 addition to variable.
29676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29677 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29678 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29679 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29681 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29682 tst-audit3, tst-audit4 and tst-audit5.
29683 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29684 tst-audit6 and tst-audit7.
29685 [$(subdir) = elf] (modules-names): Add audit modules for those
29686 tests.
29687 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29688 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29689 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29690 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29691 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29692 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29693 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29694 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29695 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29696 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29697 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29698 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29699 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29700 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29701 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29702 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29703 Likewise.
29704 [$(subdir) = elf && $(config-cflags-avx) = yes]
29705 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29706 [$(subdir) = elf && $(config-cflags-avx) = yes]
29707 (CFLAGS-tst-auditmod4a.c): Likewise.
29708 [$(subdir) = elf && $(config-cflags-avx) = yes]
29709 (CFLAGS-tst-auditmod4b.c): Likewise.
29710 [$(subdir) = elf && $(config-cflags-avx) = yes]
29711 (CFLAGS-tst-auditmod6b.c): Likewise.
29712 [$(subdir) = elf && $(config-cflags-avx) = yes]
29713 (CFLAGS-tst-auditmod6c.c): Likewise.
29714 [$(subdir) = elf && $(config-cflags-avx) = yes]
29715 (CFLAGS-tst-auditmod7b.c): Likewise.
29716 * elf/tst-audit3.c: Move to ...
29717 * sysdeps/x86_64/tst-audit3.c: ... here.
29718 * elf/tst-audit4.c: Move to ...
29719 * sysdeps/x86_64/tst-audit4.c: ... here.
29720 * elf/tst-audit5.c: Move to ...
29721 * sysdeps/x86_64/tst-audit5.c: ... here.
29722 * elf/tst-audit6.c: Move to ...
29723 * sysdeps/x86_64/tst-audit6.c: ... here.
29724 * elf/tst-audit7.c: Move to ...
29725 * sysdeps/x86_64/tst-audit7.c: ... here.
29726 * elf/tst-auditmod3a.c: Move to ...
29727 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29728 * elf/tst-auditmod3b.c: Move to ...
29729 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29730 * elf/tst-auditmod4a.c: Move to ...
29731 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29732 * elf/tst-auditmod4b.c: Move to ...
29733 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29734 * elf/tst-auditmod5a.c: Move to ...
29735 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29736 * elf/tst-auditmod5b.c: Move to ...
29737 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29738 * elf/tst-auditmod6a.c: Move to ...
29739 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29740 * elf/tst-auditmod6b.c: Move to ...
29741 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29742 * elf/tst-auditmod6c.c: Move to ...
29743 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29744 * elf/tst-auditmod7a.c: Move to ...
29745 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29746 * elf/tst-auditmod7b.c: Move to ...
29747 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29748
29749 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29750
29751 [BZ #15366]
29752 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29753 define unconditionally.
29754 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29755 define unconditionally.
29756 (INT8_C, INT16_C, etc.): Likewise.
29757
29758 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29759
29760 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29761 __ehdr_start with hidden visibility.
29762
29763 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29764
29765 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29766
29767 * math/libm-test.inc (cos_test): Use accurate hex constants.
29768 (sincost_test): Likewise.
29769
29770 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29771
29772 * math/libm-test.inc (catan_test): Add more tests.
29773 (catanh_test): Likewise.
29774
29775 * math/s_catanf.c (__catanf): Use suffixed floating-point
29776 constants.
29777 * math/s_catanhf.c (__catanhf): Likewise.
29778 * math/s_catanhl.c (__catanhl): Likewise.
29779 * math/s_catanl.c (__catanl): Likewise.
29780
29781 [BZ #15394]
29782 * math/s_catan.c (__catan): Calculate imaginary part of result
29783 with log1p not log unless computing log of number close to 0.
29784 * math/s_catanf.c (__catanf): Likewise.
29785 * math/s_catanl.c (__catanl): Likewise.
29786 * math/s_catanh.c (__catanh): Calculate real part of result with
29787 log1p not log unless computing log of number close to 0.
29788 * math/s_catanhf.c (__catanhf): Likewise.
29789 * math/s_catanhl.c (__catanhl): Likewise.
29790 * math/libm-test.inc (catan_test): Add more tests.
29791 (catanh_test): Likewise.
29792 * sysdeps/i386/fpu/libm-test-ulps: Update.
29793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29794
29795 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29796
29797 * benchtests/Makefile: Mention files in which fast and slow
29798 paths of math functions are implemented.
29799
29800 2013-04-23 Roland McGrath <roland@hack.frob.com>
29801
29802 * sysdeps/posix/timespec_get.c: New file.
29803
29804 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29805
29806 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29807 POWER.
29808 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29809 for POWER.
29810 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29811 powerpc/power5/fpu folders.
29812 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29813 * benchtests/Makefile: Add modf testcase.
29814 * benchtests/bench-modf.c: New file: Benchmark test for mo
29815
29816 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29817
29818 [BZ #14888]
29819 * time/Makefile (tests): Add tst-strptime-whitespace.
29820 * time/strptime_l.c (get_number): Use ISSPACE.
29821 (__strptime_internal): Likewise.
29822 * time/tst-strptime-whitespace.c: New test case.
29823
29824 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29825
29826 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29827 member.
29828 (_nss_files_init): Set it here.
29829
29830 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29831
29832 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29833 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29834 unsigned.
29835
29836 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29837
29838 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29839
29840 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29841
29842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29843 size just once.
29844
29845 2013-04-21 David S. Miller <davem@davemloft.net>
29846
29847 * po/ru.po: Update Russion translation from translation project.
29848
29849 2013-04-17 Adam Conrad <adconrad@0c3.net>
29850
29851 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29852 and setfsgid.
29853
29854 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29855
29856 * configure.in: Remove i386 configure warning. Remove i386 case.
29857 * configure: Regenerate.
29858 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29859 Add example to error message.
29860 * sysdeps/i386/configure: Regenerate.
29861
29862 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29863
29864 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29865 slowtan.
29866 * benchtests/cos-inputs: New file.
29867 * benchtests/slowcos-inputs: New file.
29868 * benchtests/slowcos.c: New file.
29869 * benchtests/slowtan-inputs: New file.
29870 * benchtests/slowtan.c: New file.
29871 * benchtests/tan-inputs: New file.
29872
29873 2013-04-16 Roland McGrath <roland@hack.frob.com>
29874
29875 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29876 considered kosher.
29877
29878 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29879
29880 * benchtests/Makefile: Include cppflags-iterator.mk to add
29881 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29882
29883 * Makefile.in (bench-clean): New target.
29884 * benchtests/Makefile (bench-clean): Likewise.
29885
29886 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29887
29888 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29889
29890 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29891
29892 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29893
29894 2013-04-15 Andreas Schwab <schwab@suse.de>
29895
29896 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29897 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29898 * nscd/pwdcache.c (cache_addpw): Likewise.
29899 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29900 more than recsize.
29901
29902 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29903
29904 * benchtests/Makefile (bench): Write all output to
29905 bench-out.tmp together.
29906
29907 2013-04-15 Andreas Schwab <schwab@suse.de>
29908
29909 * nscd/nscd.c (main): Don't fork again after closing files.
29910
29911 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29912
29913 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29914
29915 * benchtests/Rules (bench-deps): Collect dependencies into a
29916 single variable. Add Makefile to dependencies.
29917 ($(objpfx)bench-%.c): Depend on bench-deps.
29918
29919 2013-04-12 Roland McGrath <roland@hack.frob.com>
29920 Xavier Roche <roche+kml2@exalead.com>
29921
29922 [BZ #15361]
29923 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29924 just that it's a file descriptor.
29925 * manual/llio.texi (Synchronizing AIO Operations): Update description
29926 for EBADF error from aio_fsync.
29927
29928 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29929
29930 * Rules (bench): Move target definition...
29931 * benchtests/Makefile: ... here.
29932
29933 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29934
29935 * math/libm-test.inc (cos_test): Fix PI/2 test.
29936 (sincos_test): Likewise.
29937 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29938 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29939
29940 2013-04-11 Andreas Schwab <schwab@suse.de>
29941
29942 [BZ #13988]
29943 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29944 accept exponent character only when digits were seen.
29945 * stdio-common/Makefile (tests): Add bug26.
29946 * stdio-common/bug26.c: New file.
29947
29948 [BZ #14293]
29949 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29950 non-freeable.
29951
29952 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29953
29954 * Makeconfig (rtld-prefix): Define built linker prefix.
29955 * Rules (run-bench): Use it.
29956 * math/Makefile (run-regen-ulps): Likewise.
29957
29958 * Rules (bench): Remove eval.
29959
29960 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29961 Roland McGrath <roland@hack.frob.com>
29962 Ondrej Bilka <neleai@seznam.cz>
29963
29964 [BZ #15346]
29965 * time/getdate.c: Include ctype.h and alloca.h.
29966 (__getdate_r): Trim leading and trailing spaces of input.
29967 * time/tst-getdate.c (tests): Add tests with leading and
29968 trailing spaces.
29969
29970 2013-04-08 Roland McGrath <roland@hack.frob.com>
29971
29972 [BZ #14280]
29973 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29974 when computing value.
29975
29976 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29977
29978 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29979 Use testrun.sh to run libm tests.
29980
29981 [BZ #15309]
29982 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29983
29984 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29985
29986 [BZ #15264]
29987 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29988
29989 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29990
29991 * Makefile.in (regen-ulps): New target.
29992 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29993 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29994 [ifneq (no,$(PERL)] (regen-ulps): New target.
29995 [ifeq (no,$(PERL)] (regen-ulps): New target.
29996 * math/libm-test.inc (ulps_file_name): Define.
29997 (output_dir): New variable.
29998 (options): Add "output-dir" option.
29999 (parse_opt): Handle 'o' case.
30000 (main): If output_dir is non-NULL use it as a prefix
30001 otherwise use "".
30002 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30003
30004 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30005
30006 [BZ #10060, #10062]
30007 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30008 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30009 fail configure if __sync_val_compare_and_swap is not inlined.
30010 * sysdeps/i386/configure: Regenerate.
30011 * configure.in: Build for i686 when configured for i386.
30012 * configure: Regenerate.
30013 * README: Remove i386 reference.
30014
30015 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30016
30017 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30018 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30019
30020 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30021
30022 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30023 (lmsnanval): New variables.
30024 (F): Add conversion tests.
30025 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30026 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30027
30028 * stdio-common/tstdiomisc.c (F): Properly collect individual
30029 tests' results.
30030
30031 [BZ #14686, #15336]
30032 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30033 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30034 Instead, use input NaN values or generate a qNaN by arithmetic
30035 operation. Also fix bugs to comply with the standard.
30036 * math/libm-test.inc (remainder_test): Add more tests.
30037
30038 [BZ #15335, #15342]
30039 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30041 input NaN values or generate a qNaN by arithmetic operation.
30042
30043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30044 unreachable code.
30045
30046 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30047 definitions.
30048
30049 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30050
30051 [BZ #14478]
30052 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30053 underflowed result.
30054 * math/s_cexpf.c (__cexpf): Likewise.
30055 * math/s_cexpl.c (__cexpl): Likewise.
30056 * math/libm-test.inc (cexp_test): Add more tests.
30057
30058 2013-04-03 Andreas Schwab <schwab@suse.de>
30059
30060 [BZ #15330]
30061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30062 order arrays from heap if bigger than alloca cutoff.
30063
30064 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30065
30066 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30067 (SNAN_TESTS_double): Refer to GCC PR56831.
30068 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30069 GCC PR56828.
30070
30071 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30072
30073 * Rules (bench): Move bench.out after the run is complete.
30074
30075 * Rules (bench): Echo currently running benchmark.
30076
30077 * benchtests/Makefile (bench): Add atan and slowatan.
30078 * benchtests/atan-inputs: New file.
30079 * benchtests/slowatan-inputs: New file.
30080 * benchtests/slowatan.c: New file.
30081
30082 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30083 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30084 its value.
30085
30086 [BZ #15305]
30087 * sysdeps/unix/sysv/linux/kernel-features.h
30088 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30089 __ASSUME_XFS_RESTRICTED_CHOWN.
30090 * sysdeps/unix/sysv/linux/pathconf.c
30091 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30092 Save and restore errno.
30093
30094 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30095
30096 [BZ #15327]
30097 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30098 arguments using __kernel_casinh.
30099 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30100 arguments using __kernel_casinhf.
30101 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30102 arguments using __kernel_casinhl.
30103 * math/libm-test.inc (cacosh_test): Add more tests.
30104 * sysdeps/i386/fpu/libm-test-ulps: Update.
30105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30106
30107 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30108
30109 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30111
30112 * bench/Makefile (bench): Add sin and slowsin.
30113 * benchtests/sin-inputs: New file.
30114 * benchtests/slowsin-inputs: New file.
30115 * benchtests/slowsin.c: New file.
30116
30117 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30118 (bench): Add slowexp and slowpow.
30119 (exp-ITER): Increase iterations.
30120 (pow-ITER): Likewise.
30121 * benchtests/exp-inputs: Change input.
30122 * benchtests/pow-inputs: Likewise.
30123 * benchtests/slowexp-inputs: New file.
30124 * benchtests/slowexp.c: New file.
30125 * benchtests/slowpow-inputs: New file.
30126 * benchtests/slowpow.c: New file.
30127
30128 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30129
30130 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30131 instructions.
30132 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30133 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30134 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30135 * benchtests/Makefile: Add rint benchtest.
30136 * benchtests/rint-inputs: Input for rint benchtest.
30137
30138 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30139
30140 * Versions.def (libm): Add GLIBC_2.18.
30141 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30142 hidden libm prototypes.
30143 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30144 * math/Makefile (libm-calls): Add s_issignaling.
30145 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30146 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30147 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30148 declaration.
30149 * math/math.h [__USE_GNU] (issignaling): New macro.
30150 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30151 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30152 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30153 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30154 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30155 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30156 * manual/arith.texi (issignaling): New section.
30157 * manual/libm-err-tab.pl (@all_functions): Update comment.
30158 * math/gen-libm-test.pl (parse_args): Apply special handling for
30159 issignaling.
30160 * math/libm-test.inc (print_float, issignaling_test): New
30161 functions.
30162 (check_float_internal): Add issignaling checks.
30163 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30164 default definition.
30165 * sysdeps/powerpc/math-tests.h: New file.
30166 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30167 tests.
30168 * math/test-snan.c (TEST_FUNC): Likewise.
30169
30170 2013-03-30 David S. Miller <davem@davemloft.net>
30171
30172 * po/de.po: Update from translation team.
30173
30174 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30175
30176 [BZ #10357]
30177 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30178 imaginary part less than 1.0 and real part less than 0.5
30179 specially.
30180 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30181 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30182 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30183 (cacos_test): Add more tests.
30184 (casin_test): Likewise.
30185 (casinh_test): Likewise.
30186 * sysdeps/i386/fpu/libm-test-ulps: Update.
30187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30188
30189 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30190
30191 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30192 ONE with its value.
30193
30194 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30195 (__pow_mp): Replace ONE and MONE with their values.
30196 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30197 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30198 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30199 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30200 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30202
30203 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30204
30205 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30206 (__pow_mp): Replace ZERO and MZERO with their values.
30207 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30209 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30210 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30211 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30212 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30213 (__sqr): Likewise.
30214
30215 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30216
30217 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30218
30219 2013-03-28 Roland McGrath <roland@hack.frob.com>
30220
30221 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30222 Declare with __attribute__ ((weak)).
30223 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30224 Call __call_tls_dtors only if it's not NULL.
30225
30226 2013-03-28 Roland McGrath <roland@hack.frob.com>
30227
30228 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30229 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30230 magic __ehdr_start linker symbol if it's defined.
30231 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30232 them up here if it was already done.
30233
30234 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30235 (_dl_aux_init): Use const in cast when setting it.
30236 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30237 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30238 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30239
30240 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30241 Declare them here.
30242 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30243 * csu/libc-tls.c: Nor here.
30244 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30245
30246 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30247 (__libc_message): Never call vsyslog.
30248
30249 2013-03-28 Alan Modra <amodra@gmail.com>
30250
30251 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30252 Define as empty.
30253 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30254 Likewise.
30255
30256 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30257
30258 [BZ #15214]
30259 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30260 underflow.
30261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30262
30263 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30264
30265 [BZ #15304]
30266 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30267 Don't add gid passed as argument.
30268
30269 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30270
30271 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30272
30273 [BZ #15307]
30274 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30275 imaginary part between 1.0 and 1.5 and real part less than 0.5
30276 specially.
30277 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30278 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30279 * math/libm-test.inc (cacos_test): Add more tests.
30280 (casin_test): Likewise.
30281 (casinh_test): Likewise.
30282 * sysdeps/i386/fpu/libm-test-ulps: Update.
30283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30284
30285 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30286
30287 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30288 constants.
30289 (norm): Likewise.
30290 (denorm): Likewise.
30291 (__dbl_mp): Likewise.
30292 (add_magnitudes): Likewise.
30293 (sub_magnitudes): Likewise.
30294 (__add): Likewise.
30295 (__sub): Likewise.
30296 (__mul): Likewise.
30297 (__sqr): Likewise.
30298 (__inv): Likewise.
30299 (__dvd): Likewise.
30300
30301 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30302 commented code.
30303 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30304 (__dubcos): Likewise.
30305 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30306 (__ieee754_acos): Likewise.
30307 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30308 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30309 (__exp1): Likewise.
30310 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30312 (log1): Likewise.
30313 (my_log2): Likewise.
30314 (checkint): Likewise.
30315 * sysdeps/ieee754/dbl-64/e_remainder.c
30316 (__ieee754_remainder): Likewise.
30317 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30319 (bsloww): Likewise.
30320 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30321
30322 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30323 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30324 MANTISSA_STORE_T to store computations on mantissa. Use
30325 macros for rounding and division.
30326 (denorm): Likewise.
30327 (__dbl_mp): Likewise.
30328 (add_magnitudes): Likewise.
30329 (sub_magnitudes): Likewise.
30330 (__mul): Likewise.
30331 (__sqr): Likewise.
30332 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30333 powers of two in terms of TWOPOW macro.
30334 (mp_no): Make type of mantissa as MANTISSA_T.
30335 [!RADIXI]: Define RADIXI.
30336 [!TWO52]: Define TWO52.
30337 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30338
30339 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30340
30341 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30342 llroundl symbol when building for PPC32.
30343
30344 2013-03-24 Mark H Weaver <mhw@netris.org>
30345
30346 * manual/arith.texi (Normalization Functions): Fix prototypes for
30347 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30348
30349 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30350
30351 [BZ #13889]
30352 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30353 high value to check if expl overflow.
30354 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30355 to check for underflow and overflow.
30356 * math/libm-test.inc: Add exp test.
30357
30358 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30359
30360 [BZ #11120]
30361 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30362 with NOT_IN_libc.
30363
30364 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30365
30366 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30367 symbol.
30368
30369 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30370
30371 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30372 wrap blocks consisting of several statements.
30373
30374 * sysdeps/generic/math-tests.h: New file.
30375 * sysdeps/i386/fpu/math-tests.h: Likewise.
30376 * math/test-snan.c: Include it.
30377 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30378
30379 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30380
30381 [BZ #15285]
30382 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30383 (__ieee754_j0l): Do not improve calculations using cos of twice
30384 input for inputs above LDBL_MAX / 2.0L.
30385 (__ieee754_y0l): Likewise.
30386 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30387 (__ieee754_j1l): Do not improve calculations using cos of twice
30388 input for inputs above LDBL_MAX / 2.0L.
30389 (__ieee754_y1l): Likewise.
30390 * math/libm-test.inc (j0_test): Add another test.
30391 (j1_test): Likewise.
30392 (y0_test): Likewise.
30393 (y1_test): Likewise.
30394 * sysdeps/i386/fpu/libm-test-ulps: Update.
30395
30396 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30397
30398 * Rules ($(objpfx)bench-%.c): Include code from a C source
30399 file.
30400
30401 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30402
30403 [BZ #15287]
30404 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30405 imaginary part 1.0 and real part less than 0.5 specially.
30406 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30407 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30408 * math/libm-test.inc (cacos_test): Add more tests.
30409 (casin_test): Likewise.
30410 (casinh_test): Likewise.
30411 * sysdeps/i386/fpu/libm-test-ulps: Update.
30412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30413
30414 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30415
30416 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30417 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30418
30419 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30420
30421 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30422 * config.make.in (config-cflags-sse4): Remove variable.
30423 (config-cflags-avx): Likewise.
30424 (config-cflags-sse2avx): Likewise.
30425 (config-cflags-novzeroupper): Likewise.
30426 (config-asflags-i686): Likewise.
30427 (have-mfma4): Likewise.
30428 (have-as-vis3): Likewise.
30429 (MIG): Likewise.
30430 * configure.in (MIG): Do not AC_SUBST.
30431 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30432 (libc_cv_cc_sse4): Do not AC_SUBST.
30433 (libc_cv_cc_avx): Likewise.
30434 (libc_cv_cc_sse2avx): Likewise.
30435 (libc_cv_cc_novzeroupper): Likewise.
30436 (libc_cv_cc_fma4): Likewise.
30437 (libc_cv_as_i686): Likewise.
30438 (libc_cv_sparc_as_vis3): Likewise.
30439 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30440 LIBC_CONFIG_VAR.
30441 (config-asflags-i686): Likewise.
30442 (config-cflags-avx): Likewise.
30443 (config-cflags-sse2avx): Likewise.
30444 (have-mfma4): Likewise.
30445 (config-cflags-novzeroupper): Likewise.
30446 * sysdeps/mach/configure.in (MIG): Likewise.
30447 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30448 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30449 LIBC_CONFIG_VAR.
30450 (config-cflags-avx): Likewise.
30451 (config-cflags-sse2avx): Likewise.
30452 (have-mfma4): Likewise.
30453 (config-cflags-novzeroupper): Likewise.
30454 * configure: Regenerated.
30455 * sysdeps/i386/configure: Likewise.
30456 * sysdeps/mach/configure: Likewise.
30457 * sysdeps/sparc/configure: Likewise.
30458 * sysdeps/x86_64/configure: Likewise.
30459
30460 2013-03-20 Roland McGrath <roland@hack.frob.com>
30461
30462 [BZ #14812]
30463 * locale/programs/localedef.c (options): Put N_ translation marker
30464 on argument names, not just descriptions.
30465
30466 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30467
30468 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30469
30470 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30471
30472 [BZ #14176]
30473 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30474
30475 2013-03-19 Roland McGrath <roland@hack.frob.com>
30476
30477 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30478 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30479 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30480 [!BEFORE_ABORT] (before_abort): New function.
30481 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30482 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30483 (writev_for_fatal): New function.
30484 (WRITEV_FOR_FATAL): New macro; call that.
30485 (backtrace_and_maps): New function.
30486 (BEFORE_ABORT): New macro; call that.
30487 (struct str_list): Type removed.
30488 (__libc_message, __libc_fatal): Functions removed.
30489 Include <sysdeps/posix/libc_fatal.c> instead.
30490
30491 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30492
30493 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30494 constants.
30495 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30496 double constants.
30497
30498 2013-03-19 Andreas Schwab <schwab@suse.de>
30499
30500 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30501 * sysdeps/gnu/configure: Regenerate.
30502
30503 * configure.in: Substitute libc_cv_rtlddir.
30504 * configure: Regenerate.
30505 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30506 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30507 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30508 * elf/Makefile (install-others, CFLAGS-interp.c)
30509 (ldso_install, common-ldd-rewrite): Likewise.
30510 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30511 $(inst_slibdir)/$(rtld-installed-name).
30512 * scripts/rellns-sh: Add -p option.
30513 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30514 for source.
30515
30516 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30517
30518 * manual/nptl.texi: Renamed to ...
30519 * manual/threads.texi: ... this.
30520 * manual/Makefile (chapters): Update.
30521
30522 2013-03-18 Roland McGrath <roland@hack.frob.com>
30523
30524 [BZ #14812]
30525 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30526 on argument names, not just descriptions.
30527 * malloc/memusagestat.c (options): Likewise.
30528 * nss/getent.c (options): Likewise.
30529
30530 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30531
30532 [BZ #14812]
30533 * iconv/iconv_prog.c (options): Put N_ translation marker
30534 on argument names, not just descriptions.
30535 * iconv/iconvconfig.c (options): Likewise.
30536
30537 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30538
30539 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30540 implementation which is faster on all x86_64 architectures.
30541 Tested on AMD, Intel Nehalem, SNB, IVB.
30542 * sysdeps/x86_64/strnlen.S: Likewise.
30543
30544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30545 Remove all multiarch strlen and strnlen versions.
30546 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30547 Remove strlen and strnlen related parts.
30548
30549 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30550 Inline strlen part.
30551 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30552
30553 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30554 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30555 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30556 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30557 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30559
30560 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30561
30562 * manual/memory.texi (Malloc Tunable Parameters):
30563 Sort parameters alphabetically. Add comments for missing entries.
30564
30565 2013-03-17 David S. Miller <davem@davemloft.net>
30566
30567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30568
30569 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30570
30571 [BZ #15283]
30572 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30573 for arguments at most half maximum finite value.
30574 * math/libm-test.inc (j0_test): Add more tests.
30575 (j1_test): Likewise.
30576 (y0_test): Likewise.
30577 (y1_test): Likewise.
30578 * sysdeps/i386/fpu/libm-test-ulps: Update.
30579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30580
30581 [BZ #14155]
30582 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30583 1 / x and functions P and Q for arguments above 0x1p256L.
30584 (__ieee754_y0l): Likewise.
30585 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30586 (__ieee754_y1l): Likewise.
30587 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30588 (j1_test): Likewise.
30589 (y0_test): Likewise.
30590 (y1_test): Likewise.
30591
30592 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30593
30594 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30595 variable.
30596
30597 2013-03-15 Roland McGrath <roland@hack.frob.com>
30598
30599 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30600 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30601 zero since it's initialized to EXEC_PAGESIZE.
30602
30603 * sysdeps/unix/sysv/linux/ldsodefs.h
30604 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30605 * sysdeps/generic/ldsodefs.h: ... here.
30606
30607 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30608
30609 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30610
30611 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30612 math/test-snan.c.
30613 * math/test-snan.c: Renamed from
30614 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30615 * math/Makefile (tests): Add test-snan.
30616 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30617 test-powerpc-snan.
30618
30619 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30620 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30621 functions.
30622 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30623 __builtin_nan family of functions.
30624 * math/libm-test.inc (initialize): Initialize qnan_value with
30625 __builtin_nan family of functions.
30626 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30627 Remove variables.
30628 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30629 Remove functions.
30630 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30631 storage class. Initialize qNaN_var and sNaN_var with
30632 __builtin_nan and __builtin_nans families of functions,
30633 respectively.
30634
30635 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30636 (sqrt_test): Remove duplicate test with qNaN input.
30637 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30638 (round_test, signbit_test, significand_test): Note missing +/-Inf
30639 as well as qNaN tests.
30640
30641 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30642 qNaN_var. Fix a few strings, too.
30643 * math/libm-test.inc (nan_value): Rename to qnan_value.
30644 * math/gen-libm-test.pl (%beautify): Adjust to that.
30645 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30646 * math/test-misc.c (main): Likewise.
30647 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30648 to __qnan_bytes, and __qnan_union, respectively.
30649 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30650 Likewise.
30651 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30652 and lqnanval, respectively.
30653 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30654 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30655 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30656 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30657
30658 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30659 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30660 doubles.
30661
30662 * math/test-misc.c (main): Fix copy'n'pastos.
30663 * misc/tst-efgcvt.c (special): Likewise.
30664
30665 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30666 Remove declarations.
30667
30668 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30669
30670 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30671 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30672 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30673 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30674
30675 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30676
30677 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30678 macro to return vdso values correctly in IFUNC implementations.
30679 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30680 Optimization by using IFUNC.
30681
30682 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30683 Richard Henderson <rth@redhat.com>
30684 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30685
30686 * Makefile.in (bench): New target.
30687 * NEWS: Mention the benchmark framework.
30688 * Rules (bench): Likewise.
30689 (binaries-bench): Generate binaries for functions to
30690 benchmark.
30691 * benchtests/Makefile: New makefile for benchmark tests.
30692 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30693 programs.
30694 * benchtests/exp-inputs: New input file for EXP function.
30695 * benchtests/pow-inputs: New input file for POW function.
30696 * scripts/bench.pl: New script to generate source files for
30697 benchmark programs.
30698
30699 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30700
30701 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30702 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30703 computations on mantissa. Use macros for rounding and
30704 division.
30705 (denorm): Likewise.
30706 (__dbl_mp): Likewise.
30707 (add_magnitudes): Likewise.
30708 (sub_magnitudes): Likewise.
30709 (__mul): Likewise.
30710 (__sqr): Likewise.
30711 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30712 powers of two in terms of TWOPOW macro.
30713 (mp_no): Make type of mantissa as MANTISSA_T.
30714 [!RADIXI]: Define RADIXI.
30715 [!TWO52]: Define TWO52.
30716 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30717
30718 * manual/nptl.texi (cindex): Modify threads to pthreads.
30719
30720 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30721
30722 * sysdeps/x86_64/preconfigure: Regenerated.
30723
30724 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30725
30726 [BZ #14155]
30727 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30728 0x1p28 and above.
30729 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30730 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30731 0x1p28 and above.
30732 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30733 * math/libm-test.inc (j0_test): Do not allow one spurious
30734 underflow exception.
30735 (y1_test): Likewise.
30736
30737 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30738
30739 * manual/Makefile (chapters): Add nptl.
30740 * manual/debug.texi (Debugging Support): Add link to Threads
30741 chapter.
30742 * manual/nptl.texi: New file.
30743
30744 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30745
30746 2013-03-14 Petr Baudis <pasky@ucw.cz>
30747
30748 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30749 for non-NULL pointer before the memory validity test. Pointed
30750 out by Holger Brunck <holger.brunck@keymile.com>.
30751
30752 2013-03-13 Andreas Schwab <schwab@suse.de>
30753
30754 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30755 instead of .os.
30756
30757 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30758
30759 * timezone/zic.c: Update from tzcode 2013b.
30760
30761 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30762
30763 * manual/install.texi (Configuring and compiling):
30764 Mention i686 and i586.
30765 * INSTALL: Regenerate.
30766
30767 2013-03-12 Roland McGrath <roland@hack.frob.com>
30768
30769 * sysdeps/init_array/elf-init.c: New file.
30770 * csu/elf-init.c
30771 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30772 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30773
30774 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30775 __gmon_start__ as global, but as static with a .preinit_array pointer.
30776 * sysdeps/init_array/gmon-start.c: New file. Use that.
30777 * sysdeps/init_array/crti.S: New file, empty except for comments.
30778 * sysdeps/init_array/crtn.S: Likewise.
30779
30780 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30781
30782 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30783 definining bcopy.
30784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30785 Remove Prefer_SSE_for_memop.
30786 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30787 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30788 HAS_PREFER_SSE_FOR_MEMOP.
30789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30790 memset-x86-64.
30791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30792 Remove bzero, memset ifunc support.
30793 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30794 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30795 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30796 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30797
30798 2013-03-11 Andreas Schwab <schwab@suse.de>
30799
30800 [BZ #15234]
30801 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30802 by SHLIB_COMPAT.
30803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30804 (GLIBC_2.16): Remove pthread_atfork.
30805
30806 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30807
30808 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30809 (ptestcases.h): Likewise.
30810
30811 2013-03-08 Roland McGrath <roland@hack.frob.com>
30812
30813 * Makeconfig ($(common-objpfx)config.status): Depend on
30814 sysdeps/*/preconfigure{,.in} too.
30815
30816 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30817
30818 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30819 (__free_hook): Use void * instead of __malloc_ptr_t.
30820 (__malloc_hook): Likewise.
30821 (__realloc_hook): Likewise.
30822 (__memalign_hook): Likewise.
30823 (__after_morecore_hook): Likewise.
30824 * malloc/arena.c (save_malloc_hook): Likewise.
30825 (save_free_hook): Likewise.
30826 * malloc/hooks.c (malloc_hook_ini): Likewise.
30827 (realloc_hook_ini): Likewise.
30828 (memalign_hook_ini): Likewise.
30829 * malloc/malloc.c (malloc_hook_ini): Likewise.
30830 (realloc_hook_ini): Likewise.
30831 (memalign_hook_ini): Likewise.
30832 (__free_hook): Likewise.
30833 (__malloc_hook): Likewise.
30834 (__realloc_hook): Likewise.
30835 (__memalign_hook): Likewise.
30836 (__libc_malloc): Likewise.
30837 (__libc_free): Likewise.
30838 (__libc_realloc): Likewise.
30839 (__libc_memalign): Likewise.
30840 (__libc_valloc): Likewise.
30841 (__libc_pvalloc): Likewise.
30842 (__libc_calloc): Likewise.
30843 (__posix_memalign): Likewise.
30844 * malloc/morecore.c (__sbrk): Likewise.
30845 (__default_morecore): Likewise.
30846
30847 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30848
30849 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30850 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30851 __malloc_ptrdiff_t.
30852
30853 * malloc/malloc.h (__malloc_size_t): Remove macro.
30854 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30855 __malloc_size_t.
30856 (old_memalign_hook): Likewise.
30857 (old_realloc_hook): Likewise.
30858 (struct hdr): Likewise.
30859 (flood): Likewise.
30860 (mallochook): Likewise.
30861 (memalignhook): Likewise.
30862 (reallochook): Likewise.
30863 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30864 (tr_old_realloc_hook): Likewise.
30865 (tr_old_memalign_hook): Likewise.
30866 (tr_mallochook): Likewise.
30867 (tr_reallochook): Likewise.
30868 (tr_memalignhook): Likewise.
30869
30870 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30871
30872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30873 default_ldbl_pack and using as default implementation.
30874 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30875 implementation.
30876 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30877 redundant definition.
30878 (ldbl_insert_mantissa): Likewise.
30879 (ldbl_canonicalize): Likewise.
30880 (ldbl_nearbyint): Likewise.
30881 (ldbl_pack): Rename to ldbl_pack_ppc.
30882 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30883 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30884 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30885
30886 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30887
30888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30889 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30891 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30894 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30895 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30896
30897 2013-03-07 Andreas Jaeger <aj@suse.de>
30898
30899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30900 bits/mman-linux.h.
30901
30902 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30903
30904 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30905 Include mpa.h and declare __MPEXP.
30906 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30907 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30908 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30909 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30910 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30911 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30912 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30913
30914 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30915 (__slowpow): Use long double EXPL and LOGL functions to
30916 compute POW.
30917 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30918 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30919 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30920 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30921 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30923
30924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30925 intermediate variable to calculate exponent.
30926 (__sqr): Likewise.
30927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30928 Likewise.
30929 (__sqr): Likewise.
30930
30931 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30932 [!NO__SQR]: Define __sqr.
30933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30934 and NO__SQR. Remove all code except __mul and __sqr. Include
30935 sysdeps/ieee754/dbl-64/mpa.c.
30936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30937
30938 [BZ #12723]
30939 * posix/Makefile (tests): Add tst-pathconf.
30940 * posix/tst-pathconf.c: New test case.
30941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30942 _PC_PIPE_BUF.
30943 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30944
30945 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30946
30947 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30948
30949 2013-03-06 Andreas Jaeger <aj@suse.de>
30950
30951 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30952 definition via __MAP_ANONYMOUS.
30953
30954 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30955 it's not part of Linux headers.
30956
30957 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30958 (MAP_HUGE_MASK): Define.
30959
30960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30961 Define.
30962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30964 Define.
30965 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30966 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30967 Define.
30968 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30970 Define.
30971 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30972
30973 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30974 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30975 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30976 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30977 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30978 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30979
30980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30981 Handle f2fs.
30982
30983 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30984 Handle f2fs and efivarfs.
30985
30986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30987 f2fs.
30988
30989 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30990 (EFIVARFS_MAGIC): Add.
30991 (F2FS_LINK_MAX): Add.
30992
30993 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30994
30995 * stdio-common/vfprintf.c: Replace __builtin_expect with
30996 __glibc_unlikely.
30997
30998 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30999
31000 [BZ #13550]
31001 * sysdeps/generic/bp-sym.h: Remove file.
31002 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31003 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31004 <bp-sym.h> and <bp-asm.h>.
31005 (__longjmp): Don't use BP_SYM.
31006 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31007 and <bp-asm.h>.
31008 (memcpy): Don't use BP_SYM.
31009 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31010 <bp-sym.h> and <bp-asm.h>.
31011 (memcpy): Don't use BP_SYM.
31012 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31013 <bp-asm.h>.
31014 (memcpy): Don't use BP_SYM.
31015 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31016 <bp-asm.h>.
31017 (memset): Don't use BP_SYM.
31018 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31019 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31020 (__bzero): Don't use BP_SYM.
31021 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31022 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31023 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31024 <bp-sym.h> and <bp-asm.h>.
31025 (memcmp): Don't use BP_SYM. Remove comment about bounded
31026 pointers.
31027 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31028 <bp-sym.h> and <bp-asm.h>.
31029 (memcpy): Don't use BP_SYM.
31030 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31031 <bp-sym.h> and <bp-asm.h>.
31032 (memset): Don't use BP_SYM.
31033 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31034 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31035 (__bzero): Don't use BP_SYM.
31036 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31037 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31039 <bp-sym.h> and <bp-asm.h>.
31040 (strncmp): Don't use BP_SYM. Remove comment about bounded
31041 pointers.
31042 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31043 <bp-sym.h> and <bp-asm.h>.
31044 (memcpy): Don't use BP_SYM.
31045 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31046 <bp-sym.h> and <bp-asm.h>.
31047 (memset): Don't use BP_SYM.
31048 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31049 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31050 (__bzero): Don't use BP_SYM.
31051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31054 <bp-sym.h> and <bp-asm.h>.
31055 (__memchr): Don't use BP_SYM.
31056 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31057 <bp-sym.h> and <bp-asm.h>.
31058 (memcmp): Don't use BP_SYM. Remove comment about bounded
31059 pointers.
31060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31061 <bp-sym.h> and <bp-asm.h>.
31062 (memcpy): Don't use BP_SYM.
31063 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31064 <bp-sym.h> and <bp-asm.h>.
31065 (__mempcpy): Don't use BP_SYM.
31066 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31067 <bp-sym.h> and <bp-asm.h>.
31068 (__memrchr): Don't use BP_SYM.
31069 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31070 <bp-sym.h> and <bp-asm.h>.
31071 (memset): Don't use BP_SYM.
31072 (__bzero): Likewise.
31073 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31074 <bp-sym.h> and <bp-asm.h>.
31075 (__rawmemchr): Don't use BP_SYM.
31076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31077 <bp-sym.h> and <bp-asm.h>.
31078 (__STRCMP): Don't use BP_SYM.
31079 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31080 <bp-sym.h> and <bp-asm.h>.
31081 (strchr): Don't use BP_SYM.
31082 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31083 <bp-sym.h> and <bp-asm.h>.
31084 (__strchrnul): Don't use BP_SYM.
31085 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31086 <bp-sym.h> and <bp-asm.h>.
31087 (strlen): Don't use BP_SYM.
31088 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31089 <bp-sym.h> and <bp-asm.h>.
31090 (strncmp): Don't use BP_SYM. Remove comment about bounded
31091 pointers.
31092 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31093 <bp-sym.h> and <bp-asm.h>.
31094 (__strnlen): Don't use BP_SYM.
31095 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31096 <bp-sym.h> and <bp-asm.h>.
31097 (__GI__setjmp): Don't use BP_SYM.
31098 (_setjmp): Likewise.
31099 (__sigsetjmp): Likewise.
31100 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31101 (L(start_addresses)): Don't use BP_SYM.
31102 (_start): Likewise.
31103 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31104 <bp-asm.h>.
31105 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31106 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31107 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31108 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31109 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31110 <bp-asm.h>.
31111 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31112 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31113 about bounded pointers.
31114 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31115 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31116 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31117 <bp-asm.h>.
31118 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31119 about bounded pointers. Remove GKM FIXME comments.
31120 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31121 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31122 <bp-asm.h>.
31123 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31124 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31125 Remove GKM FIXME comments.
31126 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31127 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31128 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31129 <bp-asm.h>.
31130 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31131 about bounded pointers. Remove GKM FIXME comment.
31132 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31133 and <bp-asm.h>.
31134 (strncmp): Don't use BP_SYM. Remove comment about bounded
31135 pointers.
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31137 <bp-sym.h> and <bp-asm.h>.
31138 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31140 <bp-sym.h> and <bp-asm.h>.
31141 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31142 comment.
31143
31144 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31145
31146 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31147 call free(NULL).
31148
31149 2013-03-05 David S. Miller <davem@davemloft.net>
31150
31151 * po/es.po: Update from translation team.
31152
31153 2013-03-05 Andreas Jaeger <aj@suse.de>
31154
31155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31156 <bits/mman-linux.h>.
31157 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31158 is fine.
31159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31160 <bits/mman-linux.h> to end of file.
31161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31162 is fine.
31163 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31164 <bits/mman-linux.h> to end of file.
31165 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31166 is fine.
31167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31168 <bits/mman-linux.h> to end of file.
31169
31170 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31171 (MCL_CURRENT, MCL_FUTURE): Define here.
31172
31173 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31174
31175 [BZ #15232]
31176 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31177 attribute_hidden.
31178 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31179
31180 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31181
31182 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31183 fourth parameter needed for rt_sigprocmask syscall.
31184 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31185 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31186 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31187 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31188 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31189 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31190
31191 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31192
31193 [BZ #13550]
31194 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31195 comment about bounded pointers.
31196 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31197 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31198
31199 2013-03-04 Andreas Jaeger <aj@suse.de>
31200
31201 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31202 common definitions.
31203
31204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31205 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31206 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31207 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31209 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31210
31211 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31212
31213 [BZ #15055]
31214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31215 __ieee754_sqrl instead of __sqrl.
31216
31217 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31218
31219 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31220 * sysdeps/powerpc/fpu_control.h: ... here.
31221 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31222 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31223 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31224 * sysdeps/powerpc/bits/mathinline.h: ... here.
31225
31226 2013-03-01 Roland McGrath <roland@hack.frob.com>
31227
31228 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31229 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31230 to just [NEED_DL_SYSINFO_DSO].
31231 * elf/dl-support.c: Likewise.
31232 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31233 * elf/rtld.c (dl_main): Likewise.
31234 * elf/setup-vdso.h (setup_vdso): Likewise.
31235 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31236 * sysdeps/unix/sysv/linux/dl-sysdep.c
31237 (_dl_discover_osversion): Likewise.
31238
31239 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31240
31241 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31242 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31243
31244 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31245
31246 * NEWS: Mention libm performance improvements and non-x86 PI
31247 futex support.
31248
31249 * csu/libc-start.c (__pthread_initialize_minimal): Change
31250 function arguments.
31251 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31252
31253 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31254
31255 [BZ #13550]
31256 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31257 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31258 <bp-sym.h> and <bp-asm.h>.
31259 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31260 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31261 and <bp-asm.h>.
31262 (memcpy): Don't use BP_SYM.
31263 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31264 <bp-asm.h>.
31265 (__mpn_add_n): Don't use BP_SYM.
31266 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31267 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31268 and <bp-asm.h>.
31269 (__mpn_addmul_1): Don't use BP_SYM.
31270 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31271 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31272 <bp-sym.h>.
31273 (_setjmp): Don't use BP_SYM.
31274 (__novmx_setjmp): Likewise.
31275 (__GI__setjmp): Likewise.
31276 (__vmx_setjmp): Likewise.
31277 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31278 <bp-sym.h>.
31279 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31280 (__bzero): Don't use BP_SYM.
31281 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31282 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31283 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31284 <bp-sym.h> and <bp-asm.h>.
31285 (memcpy): Don't use BP_SYM.
31286 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31287 <bp-sym.h> and <bp-asm.h>.
31288 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31289 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31290 <bp-sym.h> and <bp-asm.h>.
31291 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31292 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31293 <bp-asm.h>.
31294 (__mpn_lshift): Don't use BP_SYM.
31295 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31296 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31297 <bp-asm.h>.
31298 (memset): Don't use BP_SYM.
31299 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31300 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31301 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31302 <bp-asm.h>.
31303 (__mpn_mul_1): Don't use BP_SYM.
31304 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31306 <bp-sym.h> and <bp-asm.h>.
31307 (memcmp): Don't use BP_SYM.
31308 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31309 <bp-sym.h> and <bp-asm.h>.
31310 (memcpy): Don't use BP_SYM.
31311 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31312 <bp-sym.h> and <bp-asm.h>.
31313 (memset): Don't use BP_SYM.
31314 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31315 <bp-sym.h> and <bp-asm.h>.
31316 (strncmp): Don't use BP_SYM.
31317 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31318 <bp-sym.h> and <bp-asm.h>.
31319 (memcpy): Don't use BP_SYM.
31320 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31321 <bp-sym.h> and <bp-asm.h>.
31322 (memset): Don't use BP_SYM.
31323 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31324 <bp-sym.h> and <bp-asm.h>.
31325 (__memchr): Don't use BP_SYM.
31326 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31327 <bp-sym.h> and <bp-asm.h>.
31328 (memcmp): Don't use BP_SYM.
31329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31330 <bp-sym.h> and <bp-asm.h>.
31331 (memcpy): Don't use BP_SYM.
31332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31333 <bp-sym.h> and <bp-asm.h>.
31334 (__mempcpy): Don't use BP_SYM.
31335 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31336 <bp-sym.h> and <bp-asm.h>.
31337 (__memrchr): Don't use BP_SYM.
31338 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31339 <bp-sym.h> and <bp-asm.h>.
31340 (memset): Don't use BP_SYM.
31341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31342 <bp-sym.h> and <bp-asm.h>.
31343 (__rawmemchr): Don't use BP_SYM.
31344 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31345 <bp-sym.h> and <bp-asm.h>.
31346 (__STRCMP): Don't use BP_SYM.
31347 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31348 <bp-sym.h> and <bp-asm.h>.
31349 (strchr): Don't use BP_SYM.
31350 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31351 <bp-sym.h> and <bp-asm.h>.
31352 (__strchrnul): Don't use BP_SYM.
31353 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31354 <bp-sym.h> and <bp-asm.h>.
31355 (strlen): Don't use BP_SYM.
31356 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31357 <bp-sym.h> and <bp-asm.h>.
31358 (strncmp): Don't use BP_SYM.
31359 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31360 <bp-sym.h> and <bp-asm.h>.
31361 (__strnlen): Don't use BP_SYM.
31362 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31363 <bp-asm.h>.
31364 (__mpn_rshift): Don't use BP_SYM.
31365 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31366 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31367 <bp-sym.h> and <bp-asm.h>.
31368 (__sigsetjmp): Don't use BP_SYM.
31369 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31370 (L(start_addresses)): Don't use BP_SYM.
31371 (_start): Likewise.
31372 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31373 <bp-asm.h>.
31374 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31375 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31376 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31377 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31378 <bp-asm.h>.
31379 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31380 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31381 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31382 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31383 <bp-asm.h>.
31384 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31385 comments.
31386 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31387 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31388 <bp-asm.h>.
31389 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31390 FIXME comments.
31391 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31392 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31393 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31394 <bp-asm.h>.
31395 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31396 comment.
31397 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31398 and <bp-asm.h>.
31399 (strncmp): Don't use BP_SYM,
31400 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31401 <bp-asm.h>.
31402 (__mpn_sub_n): Don't use BP_SYM.
31403 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31404 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31405 and <bp-asm.h>.
31406 (__mpn_submul_1): Don't use BP_SYM.
31407 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31409 <bp-sym.h> and <bp-asm.h>.
31410 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31412 <bp-sym.h> and <bp-asm.h>.
31413 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31414 comment.
31415
31416 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31417
31418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31419 Use ZK to minimize writes to Z.
31420 (sub_magnitudes): Simplify code a bit.
31421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31422 Use ZK to minimize writes to Z.
31423 (sub_magnitudes): Simplify code a bit.
31424
31425 2013-02-27 Roland McGrath <roland@hack.frob.com>
31426
31427 * csu/gmon-start.c: Add special exception to license text.
31428
31429 2013-02-27 Richard Henderson <rth@redhat.com>
31430
31431 * scripts/config.guess: Update from config.git.
31432 * scripts/config.sub: Likewise.
31433
31434 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31435
31436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31437
31438 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31439
31440 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31441
31442 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31443
31444 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31445
31446 2013-02-26 Roland McGrath <roland@hack.frob.com>
31447
31448 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31449 [$(build-shared = yes].
31450
31451 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31452
31453 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31454 (__mul): Reduce iterations for calculating mantissa.
31455
31456 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31457 MPTWO.
31458 (__mpranred): Likewise.
31459
31460 [BZ #15160]
31461 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31462 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31463
31464 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31465
31466 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31467 Define __attribute__.
31468
31469 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31470
31471 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31472 unused.
31473 * posix/regex_internal.h (__attribute): Remove.
31474 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31475 (re_string_context_at): Likewise.
31476 (bitset_not): Use __attribute__ and mark function as possibly
31477 unused.
31478 (bitset_merge): Likewise.
31479 (bitset_mask): Likewise.
31480 (re_string_char_size_at): Likewise.
31481 (re_string_wchar_at): Likewise.
31482 (re_string_elem_size_at): Likewise.
31483
31484 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31485
31486 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31487 code.
31488 (cc32): Likewise.
31489
31490 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31491 (__acr): Likewise.
31492 (__cpy): Likewise.
31493 (norm): Likewise.
31494 (denorm): Likewise.
31495 (__dbl_mp): Likewise.
31496 (add_magnitudes): Likewise.
31497 (sub_magnitudes): Likewise.
31498 (__mul): Likewise.
31499 (__inv): Likewise.
31500
31501 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31502 style.
31503
31504 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31505 style.
31506
31507 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31508 code.
31509
31510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31511 up changes with default code.
31512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31513 Likewise.
31514
31515 2013-02-24 Allan McRae <allan@archlinux.org>
31516
31517 * manual/socket.texi (The Internet Namespace): Order menu items
31518 to match that in the file.
31519
31520 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31521 node listing of the info page menu.
31522
31523 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31524
31525 [BZ #13550]
31526 * sysdeps/i386/bp-asm.h: Remove file.
31527 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31528 (PARMS): Do not use macros from bp-asm.h.
31529 (S1): Likewise.
31530 (S2): Likewise.
31531 (SIZE): Likewise.
31532 (__mpn_add_n): Do not use BP_SYM
31533 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31534 "bp-asm.h".
31535 (PARMS): Do not use macros from bp-asm.h.
31536 (S1): Likewise.
31537 (SIZE): Likewise.
31538 (__mpn_addmul_1): Do not use BP_SYM
31539 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31540 "bp-asm.h".
31541 (PARMS): Do not use macros from bp-asm.h.
31542 (SIGMSK): Likewise.
31543 (_setjmp): Likewise. Do not use BP_SYM.
31544 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31545 "bp-asm.h".
31546 (PARMS): Do not use macros from bp-asm.h.
31547 (SIGMSK): Likewise.
31548 (setjmp): Likewise. Do not use BP_SYM.
31549 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31550 "bp-asm.h".
31551 (PARMS): Do not use macros from bp-asm.h.
31552 (__frexp): Do not use BP_SYM.
31553 (frexp): Likewise.
31554 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31555 "bp-asm.h".
31556 (PARMS): Do not use macros from bp-asm.h.
31557 (__frexpf): Do not use BP_SYM.
31558 (frexpf): Likewise.
31559 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31560 "bp-asm.h".
31561 (PARMS): Do not use macros from bp-asm.h.
31562 (__frexpl): Do not use BP_SYM.
31563 (frexpl): Likewise.
31564 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31565 "bp-asm.h".
31566 (PARMS): Do not use macros from bp-asm.h.
31567 (__remquo): Do not use BP_SYM.
31568 (remquo): Likewise.
31569 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31570 "bp-asm.h".
31571 (PARMS): Do not use macros from bp-asm.h.
31572 (__remquof): Do not use BP_SYM.
31573 (remquof): Likewise.
31574 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31575 "bp-asm.h".
31576 (PARMS): Do not use macros from bp-asm.h.
31577 (__remquol): Do not use BP_SYM.
31578 (remquol): Likewise.
31579 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31580 "bp-asm.h".
31581 (PARMS): Do not use macros from bp-asm.h.
31582 (DEST): Likewise.
31583 (SRC): Likewise.
31584 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31585 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31586 "bp-asm.h".
31587 (PARMS): Do not use macros from bp-asm.h.
31588 (strlen): Do not use BP_SYM.
31589 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31590 "bp-asm.h".
31591 (PARMS): Do not use macros from bp-asm.h.
31592 (S1): Likewise.
31593 (S2): Likewise.
31594 (SIZE): Likewise.
31595 (__mpn_add_n): Do not use BP_SYM.
31596 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31597 "bp-asm.h".
31598 (PARMS): Do not use macros from bp-asm.h.
31599 (S1): Likewise.
31600 (SIZE): Likewise.
31601 (__mpn_addmul_1): Do not use BP_SYM.
31602 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31603 weak_alias.
31604 (bzero): Likewise.
31605 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31606 "bp-asm.h".
31607 (PARMS): Do not use macros from bp-asm.h.
31608 (S): Likewise.
31609 (SIZE): Likewise.
31610 (__mpn_lshift): Do not use BP_SYM.
31611 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31612 "bp-asm.h".
31613 (PARMS): Do not use macros from bp-asm.h.
31614 (DEST): Likewise.
31615 (SRC): Likewise.
31616 (LEN): Likewise.
31617 (memcpy): Likewise. Do not use BP_SYM.
31618 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31619 libc_hidden_def and weak_alias.
31620 (mempcpy): Do not use BP_SYM in weak_alias.
31621 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31622 "bp-asm.h".
31623 (PARMS): Do not use macros from bp-asm.h.
31624 (DEST): Likewise.
31625 (LEN): Likewise.
31626 [!BZERO_P] (CHR): Likewise.
31627 (memset): Likewise. Do not use BP_SYM.
31628 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31629 "bp-asm.h".
31630 (PARMS): Do not use macros from bp-asm.h.
31631 (S1): Likewise.
31632 (SIZE): Likewise.
31633 (__mpn_mul_1): Do not use BP_SYM.
31634 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31635 "bp-asm.h".
31636 (PARMS): Do not use macros from bp-asm.h.
31637 (S): Likewise.
31638 (SIZE): Likewise.
31639 (__mpn_rshift): Do not use BP_SYM.
31640 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31641 "bp-asm.h".
31642 (PARMS): Do not use macros from bp-asm.h.
31643 (STR): Likewise.
31644 (CHR): Likewise.
31645 (strchr): Likewise. Do not use BP_SYM.
31646 (index): Do not use BP_SYM in weak_alias.
31647 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31648 "bp-asm.h".
31649 (PARMS): Do not use macros from bp-asm.h.
31650 (DEST): Likewise.
31651 (SRC): Likewise.
31652 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31653 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31654 "bp-asm.h".
31655 (PARMS): Do not use macros from bp-asm.h.
31656 (strlen): Do not use BP_SYM.
31657 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31658 "bp-asm.h".
31659 (PARMS): Do not use macros from bp-asm.h.
31660 (S1): Likewise.
31661 (S2): Likewise.
31662 (SIZE): Likewise.
31663 (__mpn_sub_n): Do not use BP_SYM.
31664 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31665 "bp-asm.h".
31666 (PARMS): Do not use macros from bp-asm.h.
31667 (S1): Likewise.
31668 (SIZE): Likewise.
31669 (__mpn_submul_1): Do not use BP_SYM.
31670 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31671 "bp-asm.h".
31672 (PARMS): Do not use macros from bp-asm.h.
31673 (S1): Likewise.
31674 (S2): Likewise.
31675 (SIZE): Likewise.
31676 (__mpn_add_n): Do not use BP_SYM.
31677 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31678 weak_alias.
31679 (bzero): Likewise.
31680 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31681 "bp-asm.h".
31682 (PARMS): Do not use macros from bp-asm.h.
31683 (BLK2): Likewise.
31684 (LEN): Likewise.
31685 (memcmp): Do not use BP_SYM.
31686 (bcmp): Do not use BP_SYM in weak_alias.
31687 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31688 "bp-asm.h".
31689 (PARMS): Do not use macros from bp-asm.h.
31690 (DEST): Likewise.
31691 (SRC): Likewise.
31692 (LEN): Likewise.
31693 (memcpy): Likewise. Do not use BP_SYM.
31694 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31695 "bp-asm.h".
31696 (PARMS): Do not use macros from bp-asm.h.
31697 (DEST): Likewise.
31698 (SRC): Likewise.
31699 (LEN): Likewise.
31700 (memmove): Likewise. Do not use BP_SYM.
31701 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31702 "bp-asm.h".
31703 (PARMS): Do not use macros from bp-asm.h.
31704 (DEST): Likewise.
31705 (SRC): Likewise.
31706 (LEN): Likewise.
31707 (__mempcpy): Likewise. Do not use BP_SYM.
31708 (mempcpy): Do not use BP_SYM in weak_alias.
31709 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31710 "bp-asm.h".
31711 (PARMS): Do not use macros from bp-asm.h.
31712 (DEST): Likewise.
31713 (LEN): Likewise.
31714 [!BZERO_P] (CHR): Likewise.
31715 (memset): Likewise. Do not use BP_SYM.
31716 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31717 "bp-asm.h".
31718 (PARMS): Do not use macros from bp-asm.h.
31719 (STR2): Likewise.
31720 (strcmp): Do not use BP_SYM.
31721 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31722 "bp-asm.h".
31723 (PARMS): Do not use macros from bp-asm.h.
31724 (STR): Likewise.
31725 (DELIM): Likewise.
31726 [USE_AS_STRTOK_R] (SAVE): Likewise.
31727 (FUNCTION): Likewise. Do not use BP_SYM.
31728 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31729 aliases.
31730 (strtok_r): Likewise.
31731 (__GI___strtok_r): Likewise.
31732 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31733 (PARMS): Do not use macros from bp-asm.h.
31734 (S): Likewise.
31735 (SIZE): Likewise.
31736 (__mpn_lshift): Do not use BP_SYM.
31737 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31738 (PARMS): Do not use macros from bp-asm.h.
31739 (STR): Likewise.
31740 (CHR): Likewise.
31741 (__memchr): Do not use BP_SYM.
31742 (memchr): Do not use BP_SYM in weak_alias.
31743 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31744 (PARMS): Do not use macros from bp-asm.h.
31745 (BLK2): Likewise.
31746 (LEN): Likewise.
31747 (memcmp): Do not use BP_SYM.
31748 (bcmp): Do not use BP_SYM in weak_alias.
31749 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31750 (PARMS): Do not use macros from bp-asm.h.
31751 (S1): Likewise.
31752 (SIZE): Likewise.
31753 (__mpn_mul_1): Do not use BP_SYM.
31754 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31755 "bp-asm.h".
31756 (PARMS): Do not use macros from bp-asm.h.
31757 (STR): Likewise.
31758 (CHR): Likewise.
31759 (__rawmemchr): Do not use BP_SYM.
31760 (rawmemchr): Do not use BP_SYM in weak_alias.
31761 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31762 (PARMS): Do not use macros from bp-asm.h.
31763 (S): Likewise.
31764 (SIZE): Likewise.
31765 (__mpn_rshift): Do not use BP_SYM.
31766 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31767 (PARMS): Do not use macros from bp-asm.h.
31768 (SIGMSK): Likewise.
31769 (__sigsetjmp): Likewise. Do not use BP_SYM.
31770 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31771 (_start): Do not use BP_SYM.
31772 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31773 (PARMS): Do not use macros from bp-asm.h.
31774 (DEST): Likewise.
31775 (SRC): Likewise.
31776 (__stpcpy): Likewise. Do not use BP_SYM.
31777 (stpcpy): Do not use BP_SYM in weak_alias.
31778 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31779 "bp-asm.h".
31780 (PARMS): Do not use macros from bp-asm.h.
31781 (DEST): Likewise.
31782 (SRC): Likewise.
31783 (LEN): Likewise.
31784 (__stpncpy): Likewise. Do not use BP_SYM.
31785 (stpncpy): Do not use BP_SYM in weak_alias.
31786 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31787 (PARMS): Do not use macros from bp-asm.h.
31788 (STR): Likewise.
31789 (CHR): Likewise.
31790 (strchr): Likewise. Do not use BP_SYM.
31791 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31792 "bp-asm.h".
31793 (PARMS): Do not use macros from bp-asm.h.
31794 (STR): Likewise.
31795 (CHR): Likewise.
31796 (__strchrnul): Likewise. Do not use BP_SYM.
31797 (strchrnul): Do not use BP_SYM in weak_alias.
31798 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31799 "bp-asm.h".
31800 (PARMS): Do not use macros from bp-asm.h.
31801 (STOP): Likewise.
31802 (strcspn): Do not use BP_SYM.
31803 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31804 "bp-asm.h".
31805 (PARMS): Do not use macros from bp-asm.h.
31806 (STR): Likewise.
31807 (STOP): Likewise.
31808 (strpbrk): Likewise. Do not use BP_SYM.
31809 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31810 "bp-asm.h".
31811 (PARMS): Do not use macros from bp-asm.h.
31812 (STR): Likewise.
31813 (CHR): Likewise.
31814 (strrchr): Likewise. Do not use BP_SYM.
31815 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31816 (PARMS): Do not use macros from bp-asm.h.
31817 (SKIP): Likewise.
31818 (strspn): Do not use BP_SYM.
31819 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31820 (PARMS): Do not use macros from bp-asm.h.
31821 (STR): Likewise.
31822 (DELIM): Likewise.
31823 (SAVE): Likewise.
31824 (FUNCTION): Likewise. Do not use BP_SYM.
31825 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31826 aliases.
31827 (strtok_r): Likewise.
31828 (__GI___strtok_r): Likewise.
31829 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31830 (PARMS): Do not use macros from bp-asm.h.
31831 (S1): Likewise.
31832 (S2): Likewise.
31833 (SIZE): Likewise.
31834 (__mpn_sub_n): Do not use BP_SYM.
31835 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31836 "bp-asm.h".
31837 (PARMS): Do not use macros from bp-asm.h.
31838 (S1): Likewise.
31839 (SIZE): Likewise.
31840 (__mpn_submul_1): Do not use BP_SYM.
31841 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31842 <bp-sym.h>.
31843 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31844 and <bp-asm.h>.
31845 (PARMS): Do not use macros from bp-asm.h.
31846 (FLAGS): Likewise.
31847 (PTID): Likewise.
31848 (TLS): Likewise.
31849 (CTID): Likewise.
31850 (__clone): Do not use BP_SYM.
31851 (clone): Do not use BP_SYM in weak_alias.
31852 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31853 and <bp-asm.h>.
31854 (PARMS): Do not use macros from bp-asm.h.
31855 (LEN): Likewise.
31856 (__mmap64): Do not use BP_SYM.
31857 (mmap64): Do not use BP_SYM in weak_alias.
31858 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31859 <bp-sym.h> and <bp-asm.h>.
31860 (PARMS): Do not use macros from bp-asm.h.
31861 (__posix_fadvise64_l64): Do not use BP_SYM.
31862 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31863 (PARMS): Do not use macros from bp-asm.h.
31864 (NSOPS): Likewise.
31865 (semtimedop): Do not use BP_SYM.
31866 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31867 and <bp-asm.h>.
31868
31869 2013-02-21 Allan McRae <allan@archlinux.org>
31870
31871 * manual/message.texi (Charset conversion in gettext):
31872 Move @end statement to beginning of line.
31873
31874 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31875
31876 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31877 static.
31878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31879 Likewise.
31880
31881 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31882 (denorm): Likewise.
31883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31885
31886 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31887
31888 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31889 tail-call to the resolved function if pltexit isn't needed.
31890
31891 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31892
31893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31894 or Y being zero as being unlikely.
31895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31896 Likewise.
31897
31898 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31899
31900 * manual/nss.texi (System Databases and Name Service Switch):
31901 Remove frobnicate @pxref.
31902
31903 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31904
31905 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31906 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31907
31908 2013-02-20 Petr Machata <pmachata@redhat.com>
31909
31910 * elf/elf.h (R_ARM_TARGET1): New macro.
31911 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31912 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31913 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31914 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31915 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31916 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31917 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31918 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31919 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31920 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31921 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31922 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31923 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31924 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31925 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31926 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31927 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31928 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31929 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31930 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31931 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31932 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31933 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31934 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31935 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31936 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31937 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31938 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31939 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31940 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31941 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31942 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31943 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31944 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31945 (R_ARM_THM_GOT_BREL12): Likewise.
31946 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31947 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31948 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31949 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31950 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31951 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31952 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31953 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31954 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31955
31956 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31957
31958 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31959 __attribute_used__ to __attribute__ ((unused)).
31960
31961 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31962
31963 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31964 powerpc mpa.c.
31965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31966 comment formatting.
31967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31968
31969 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31970
31971 [BZ #13550]
31972 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31973 Remove macro.
31974 (ENTER): Remove both macro definitions.
31975 (LEAVE): Likewise.
31976 (CHECK_BOUNDS_LOW): Likewise.
31977 (CHECK_BOUNDS_HIGH): Likewise.
31978 (CHECK_BOUNDS_BOTH): Likewise.
31979 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31980 (RETURN_BOUNDED_POINTER): Likewise.
31981 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31982 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31983 (POP_ERRNO_LOCATION_RETURN): Likewise.
31984 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31985 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31986 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31987 macros.
31988 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31989 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31990 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31991 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31992 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31993 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31994 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31995 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31996 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31997 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31998 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31999 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32000 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32001 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32002 removed macros.
32003 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32004 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32005 macros.
32006 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32007 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32008 * sysdeps/i386/i586/memset.S (memset): Likewise.
32009 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32010 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32011 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32012 macros.
32013 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32014 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32015 Change uses of L(2) to L(out).
32016 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32017 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32018 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32019 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32020 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32021 removed macros.
32022 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32023 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32024 macros.
32025 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32026 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32027 (RETURN): Do not use macro LEAVE.
32028 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32029 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32030 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32031 * sysdeps/i386/i686/memset.S (memset): Likewise.
32032 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32033 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32034 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32035 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32036 Likewise.
32037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32038 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32039 L(1_2) and L(1_3) into L(1).
32040 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32041 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32042 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32043 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32044 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32045 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32046 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32047 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32048 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32049 macros.
32050 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32051 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32052 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32053 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32054 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32055 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32056 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32057 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32058 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32059 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32060 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32061 * sysdeps/i386/strspn.S (strspn): Likewise.
32062 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32063 conditional code.
32064 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32065 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32066 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32067 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32068 L(1_3) into L(1_1).
32069 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32070 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32071 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32072 macros.
32073 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32074
32075 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32076
32077 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32078 macro.
32079
32080 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32081
32082 * math/atest-exp.c (exp_mpn): Remove ROUND.
32083 * math/atest-exp2.c (exp_mpn): Likewise.
32084 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32085
32086 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32087 * stdlib/tst-tls-atexit-lib.c: Likewise.
32088 * stdlib/tst-tls-atexit.c: Likewise.
32089
32090 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32091
32092 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32093 and __attribute_alloc_size__.
32094
32095 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32096
32097 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32098 __attribute_alloc_size__.
32099 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32100 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32101
32102 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32103
32104 * include/programs/xmalloc.h: New file.
32105 * catgets/gencat.c: Include it.
32106 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32107 * elf/pldd.c: Likewise.
32108 * iconv/iconv_charmap.c: Likewise.
32109 * iconv/iconvconfig.c: Likewise.
32110 * iconv/strtab.c: Likewise.
32111 * locale/programs/locale.c: Likewise.
32112 * locale/programs/localedef.h: Likewise.
32113 * locale/programs/simple-hash.c: Likewise.
32114 * nscd/nscd.h: Likewise.
32115 * nss/makedb.c: Likewise.
32116 * sysdeps/generic/ldconfig.h: Likewise.
32117
32118 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32119
32120 * Versions.def: Add GLIBC_2.18.
32121 * include/link.h (struct link_map): New member l_tls_dtor_count.
32122 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32123 (__call_tls_dtors): Likewise.
32124 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32125 __cxa_thread_atexit_impl.
32126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32127 Likewise.
32128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32129 Likewise.
32130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32131 Likewise.
32132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32133 Likewise.
32134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32136 Likewise.
32137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32138 Likewise.
32139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32141 Likewise.
32142 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32143 (tests): Add test case tst-tls-atexit.
32144 (modules-names): Add shared library for tst-tls-atexit.
32145 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32146 (GLIBC_PRIVATE): Add __call_tls_dtors.
32147 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32148 for libstdc++.
32149 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32150 * stdlib/tst-tls-atexit.c: New test case.
32151 * stdlib/tst-tls-atexit-lib.c: New test case.
32152
32153 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32154
32155 * elf/Versions (ld): Add _dl_find_dso_for_object.
32156 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32157 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32158 (dl_open_worker): Use _dl_find_dso_for_object.
32159 * elf/dl-sym.c (do_sym): Likewise.
32160 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32161
32162 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32163
32164 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32165 Syntactic changes only.
32166 (_dl_runtime_profile): Do a tail-call to the resolved function.
32167
32168 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32169
32170 [BZ #13550]
32171 * sysdeps/x86_64/bp-asm.h: Remove file.
32172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32173 <bp-sym.h> and <bp-asm.h>.
32174 (__clone): Do not use BP_SYM.
32175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32176 <bp-sym.h> and <bp-asm.h>.
32177 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32178 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32179 "bp-asm.h".
32180 (_setjmp): Do not use BP_SYM.
32181 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32182 "bp-asm.h".
32183 (setjmp): Do not use BP_SYM.
32184 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32185 libc_hidden_def.
32186 (mempcpy): Do not use BP_SYM in weak_alias.
32187 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32188 "bp-asm.h".
32189 (strchr): Do not use BP_SYM.
32190 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32191 "bp-asm.h".
32192 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32193 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32194 (_start): Do not use BP_SYM.
32195 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32196 "bp-asm.h".
32197 (strcat): Do not use BP_SYM.
32198 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32199 "bp-asm.h".
32200 (STRCMP): Do not use BP_SYM.
32201 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32202 "bp-asm.h".
32203 (STRCPY): Do not use BP_SYM.
32204 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32205 "bp-asm.h".
32206 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32207 "bp-asm.h".
32208 (FUNCTION): Do not use BP_SYM.
32209 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32210 weak_alias.
32211 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32212
32213 2013-02-17 Andreas Jaeger <aj@suse.de>
32214
32215 * time/Versions: Sort entries.
32216 * string/Versions: Likewise.
32217 * resolv/Versions: Likewise.
32218 * posix/Versions: Likewise.
32219 * iconv/Versions: Likewise.
32220 * elf/Versions: Likewise.
32221 * wcsmbs/Versions: Likewise.
32222
32223 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32224
32225 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32226 loop termination condition.
32227
32228 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32229 variable to calculate EZ.
32230 (__sqr): Likewise.
32231
32232 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32233 the lower precision input.
32234
32235 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32236
32237 [BZ #13550]
32238 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32239 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32240 (run-via-rtld-prefix): Do not handle %-bp tests.
32241 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32242 (all-object-suffixes): Remove .ob.
32243 (bppfx): Remove variable.
32244 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32245 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32246 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32247 [$(build-bounded) = yes] (libtype.ob): Likewise.
32248 * Makerules (elide-routines.ob): Remove variable.
32249 (do-tests-clean): Do not handle *-bp.out.
32250 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32251 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32252 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32253 (tests): Do not include $(tests-bp.out).
32254 (xtests): Do not include $(xtests-bp.out).
32255 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32256 [$(build-bounded) = yes] ($(addprefix
32257 $(objpfx),$(binaries-bounded))): Remove rule.
32258 ($(objpfx)%-bp.out): Remove rule.
32259 * config.make.in (build-bounded): Remove variable.
32260 * crypt/Makefile [$(build-bounded) = yes]
32261 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32262 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32263 append to variable.
32264 [$(build-bounded) = yes] (install-lib): Likewise.
32265 [$(build-bounded) = yes] (generated): Likewise.
32266 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32267 Remove rule.
32268 * intl/Makefile [$(build-bounded) = yes]
32269 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32270 * math/Makefile [$(build-bounded) = yes]
32271 ($(tests:%=$(objpfx)%-bp): Likewise.
32272 * misc/Makefile [$(build-bounded) = yes]
32273 ($(objpfx)tst-tsearch-bp): Likewise.
32274 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32275 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32276 Remove dependency.
32277 * string/Makefile (o-objects.ob): Remove variable.
32278 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32279 (CFLAGS-.ob): Remove variable.
32280 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32281 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32282 both definitions of variable.
32283 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32284 (ASFLAGS-.ob): Remove variable.
32285
32286 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32287
32288 [BZ #13550]
32289 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32290 Remove __BOUNDED_POINTERS__ from condition.
32291 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32292 * string/bits/string2.h [!__NO_STRING_INLINES &&
32293 !__BOUNDED_POINTERS__]: Likewise.
32294 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32295 Likewise.
32296 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32297 Remove conditional code.
32298 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32299 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32300 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32301 condition.
32302
32303 [BZ #13550]
32304 * csu/libc-start.c: Do not include <bp-sym.h>.
32305 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32306 * elf/dl-open.c: Do not include <bp-sym.h>.
32307 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32308 * math/fegetenv.c: Do not include <bp-sym.h>.
32309 (fegetenv): Do not use BP_SYM in versioned symbols.
32310 * nptl/sysdeps/pthread/bits/libc-lockP.h
32311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32312 <bp-sym.h>.
32313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32314 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32316 (__pthread_mutex_destroy): Likewise.
32317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32318 (__pthread_mutex_lock): Likewise.
32319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32320 (__pthread_mutex_trylock): Likewise.
32321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32322 (__pthread_mutex_unlock): Likewise.
32323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32324 (__pthread_mutexattr_init): Likewise.
32325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32326 (__pthread_mutexattr_destroy): Likewise.
32327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32328 (__pthread_mutexattr_settype): Likewise.
32329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32330 (__pthread_rwlock_init): Likewise.
32331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32332 (__pthread_rwlock_destroy): Likewise.
32333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32334 (__pthread_rwlock_rdlock): Likewise.
32335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32336 (__pthread_rwlock_tryrdlock): Likewise.
32337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32338 (__pthread_rwlock_wrlock): Likewise.
32339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32340 (__pthread_rwlock_trywrlock): Likewise.
32341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32342 (__pthread_rwlock_unlock): Likewise.
32343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32344 (__pthread_key_create): Likewise.
32345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32346 (__pthread_setspecific): Likewise.
32347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32348 (__pthread_getspecific): Likewise.
32349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32350 Likewise.
32351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32352 (_pthread_cleanup_push_defer): Likewise.
32353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32354 (_pthread_cleanup_pop_restore): Likewise.
32355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32356 (pthread_setcancelstate): Likewise.
32357 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32358 <bp-sym.h>.
32359 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32360 (memchr): Do not use BP_SYM in weak_alias.
32361 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32362 (fegetenv): Do not use BP_SYM in versioned symbols.
32363 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32364 (fesetenv): Do not use BP_SYM in versioned symbols.
32365 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32366 (feupdateenv): Do not use BP_SYM in versioned symbols.
32367 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32368 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32369 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32370 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32371 (open64): Do not use BP_SYM in weak_alias.
32372 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32373 (fegetenv): Do not use BP_SYM in versioned symbols.
32374 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32375 (fesetenv): Do not use BP_SYM in versioned symbols.
32376 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32377 (feupdateenv): Do not use BP_SYM in versioned symbols.
32378 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32379 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32380 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32381 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32382 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32383 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32384 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32385 <bp-sym.h>.
32386 (__libc_start_main): Do not use BP_SYM.
32387
32388 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32389
32390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32391 redundant return line.
32392 (norm): Likewise.
32393 (denorm): Likewise.
32394 (dbl_mp): Likewise.
32395 (sub_magnitudes): Likewise.
32396 (__add): Likewise.
32397 (__sub): Likewise.
32398 (__mul): Likewise.
32399 (__inv): Likewise.
32400 (__dvd): Likewise.
32401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32402 (norm): Likewise.
32403 (denorm): Likewise.
32404 (dbl_mp): Likewise.
32405 (sub_magnitudes): Likewise.
32406 (__add): Likewise.
32407 (__sub): Likewise.
32408 (__mul): Likewise.
32409 (__inv): Likewise.
32410 (__dvd): Likewise.
32411
32412 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32413 instead of __mul.
32414 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32415 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32416 (cc32): Likewise.
32417
32418 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32419 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32421 of __mul for squares.
32422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32423 function
32424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32425 Likewise.
32426 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32427 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32428
32429 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32430
32431 [BZ #13550]
32432 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32433 code.
32434 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32435 prototype or function definition. Rename ubp_* variables and
32436 parameters. Remove argv definitions conditional on
32437 [__BOUNDED_POINTERS__].
32438 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32439 * elf/dl-runtime.c (_dl_fixup): Likewise.
32440 * include/set-hooks.h (RUN_HOOK): Likewise.
32441 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32442 definition.
32443 * string/strcpy.c (strcpy): Do not use __unbounded.
32444 * sysdeps/generic/frame.h (struct layout): Likewise.
32445 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32446 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32447 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32448 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32449 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32450 (__backtrace): Likewise.
32451 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32452 use __ptrvalue.
32453 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32454 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32455 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32456 Likewise.
32457 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32458 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32459 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32460 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32461 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32462 Do not use __unbounded.
32463 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32464 Rename __unboundedrlimits parameter to rlimits in prototype.
32465 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32466 Do not use __unbounded.
32467 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32468 not use __ptrvalue.
32469 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32470 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32471 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32472 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32473 __ptrvalue or __unbounded.
32474 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32475 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32476 use __unbounded.
32477 (__new_msgctl): Do not use __ptrvalue.
32478 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32479 __unbounded.
32480 (__libc_msgrcv): Do not use __ptrvalue.
32481 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32482 startup_info): Do not use __unbounded.
32483 (__libc_start_main): Likewise. Rename ubp_* variables and
32484 parameters. Remove argv definitions conditional on
32485 [__BOUNDED_POINTERS__].
32486 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32487 __ptrvalue.
32488 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32489 use __unbounded.
32490 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32491 or __ptrvalue.
32492 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32493 use __unbounded.
32494 (__new_shmctl): Do not use __ptrvalue.
32495 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32496 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32497 Likewise.
32498 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32499 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32500 (__libc_sigaction): Likewise.
32501 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32502 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32503 Likewise.
32504 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32505
32506 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32507
32508 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32509
32510 * string/mempcpy.c: Implement by calling memcpy.
32511
32512 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32513
32514 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32515
32516 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32517 evaluation.
32518
32519 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32520 values in the mantissa.
32521
32522 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32523 minimize writes to Z.
32524 (sub_magnitudes): Simplify code a bit.
32525
32526 2013-02-12 Roland McGrath <roland@hack.frob.com>
32527
32528 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32529 from the message. The linker prefixes all warnings with that already.
32530
32531 2013-02-12 Andreas Schwab <schwab@suse.de>
32532
32533 [BZ #15078]
32534 * posix/regexec.c (extend_buffers): Add parameter min_len.
32535 (check_matching): Pass minimum needed length.
32536 (clean_state_log_if_needed): Likewise.
32537 (get_subexp): Likewise.
32538 * posix/Makefile (tests): Add bug-regex34.
32539 (bug-regex34-ENV): Define.
32540 * posix/bug-regex34.c: New file.
32541
32542 [BZ #11561]
32543 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32544 elements compare against the byte sequence of it, not its name.
32545 * posix/Makefile (tests): Add bug-regex35.
32546 (bug-regex35-ENV): Define.
32547 * posix/bug-regex35.c: New file.
32548
32549 2013-02-11 Tom de Vries <tom@codesourcery.com>
32550
32551 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32552 comment.
32553 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32554 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32555 (CHECK_EOL): Add undef.
32556
32557 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32558
32559 * bits/stdlib-bsearch.h: New file.
32560 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32561 * stdlib/stdlib.h: Likewise.
32562
32563 2013-02-11 Roland McGrath <roland@hack.frob.com>
32564
32565 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32566 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32567 declaration.
32568 * manual/search.texi (Array Search Function): Add missing const in
32569 lfind prototype.
32570 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32571 declaration to use rlim_t.
32572 (Basic Scheduling Functions): Remove erroneous const from
32573 sched_getparam prototype. Remove erroneous * from
32574 sched_get_priority_max and sched_get_priority_min prototypes.
32575 (Resource Usage): Fix summary @comment on vtimes to refer to
32576 sys/vtimes.h rather than vtimes.h.
32577 Add missing *s in vtimes prototype.
32578 (Limits on Resources): Fix ulimit prototype to return long int.
32579 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32580 prototypes to use long int rather than double.
32581 (BSD Random): Fix initstate and setstate to use char *, not void *.
32582 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32583 prototype to make second argument 'struct aiocb64 *const[]'.
32584 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32585 (Status of AIO Operations): Remove erroneous const in aio_return and
32586 aio_return64 prototypes.
32587 (Synchronizing I/O): Fix sync prototype to return void.
32588 * manual/startup.texi (Suboptions): Remove an erroneous const in
32589 getsubopt prototype.
32590 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32591 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32592 use size_t rather than int.
32593 (Scanning All Users): Likewise for getpwent_r.
32594 (Setting Groups): Add missing const to setgroups prototype.
32595 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32596 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32597 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32598 'const void *' rather than 'const char *'.
32599 (Host Address Functions): Likewise for inet_ntop.
32600 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32601 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32602 ssize_t for return value.
32603 (Sending Data): Likewise for send, sendto, sendmsg.
32604 (Socket Option Functions): Add a missing const in setsockopt prototype.
32605 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32606 use wchar_t for the argument.
32607 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32608 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32609 take no arguments.
32610 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32611 double/float/long double for second argument.
32612 Fix return types of significand, significandf, significandl.
32613 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32614 argument in fchmod prototype.
32615 (File Owner): Use uid_t and gid_t in fchown prototype.
32616 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32617 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32618 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32619 use 'const struct dirent **' as argument types to CMP function pointer
32620 argument.
32621 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32622 (File Times): Fix summary magic @comment for struct utimbuf and utime
32623 to refer to utime.h, not time.h.
32624 * manual/string.texi (Argz Functions): Add missing const in
32625 argz_extract and argz_next prototypes.
32626 (Finding Tokens in a String): Likewise for basename.
32627 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32628 (Copying and Concatenation): Fix typo in wmemmove prototype.
32629 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32630 (Signal Stack): Remove erroneous const in sigstack prototype.
32631 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32632 prototype.
32633 (Simple Calendar Time): Likewise for stime.
32634 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32635 prototype.
32636 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32637 say sys/sysctl.h instead.
32638 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32639 and vsyslog prototypes.
32640
32641 2013-02-11 Tom de Vries <tom@codesourcery.com>
32642
32643 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32644 Remove.
32645
32646 2013-02-11 Roland McGrath <roland@hack.frob.com>
32647
32648 * misc/sys/mman.h: Fix typo in mremap comment.
32649
32650 2013-02-08 Roland McGrath <roland@hack.frob.com>
32651
32652 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32653 the '\0' terminator.
32654
32655 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32656
32657 [BZ #13550]
32658 * debug/segfault.c: Don't include <bp-checks.h>.
32659 * sysdeps/generic/bp-checks.h: Remove file.
32660 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32661 (__GETDENTS): Don't use CHECK_N.
32662 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32663 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32664 (__getgroups): Don't use CHECK_N.
32665 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32666 (setgroups): Don't use CHECK_N.
32667 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32668 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32669 (__libc_msgrcv): Don't use CHECK_N.
32670 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32671 (__libc_msgsnd): Don't use CHECK_N.
32672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32673 <bp-checks.h>.
32674 (__libc_pread): Don't use CHECK_N.
32675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32676 include <bp-checks.h>.
32677 (__libc_pread64): Don't use CHECK_N.
32678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32679 include <bp-checks.h>.
32680 (__libc_pwrite): Don't use CHECK_N.
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32682 include <bp-checks.h>.
32683 (__libc_pwrite64): Don't use CHECK_N.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32685 <bp-checks.h>.
32686 (__libc_pread): Don't use CHECK_N.
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32688 include <bp-checks.h>.
32689 (__libc_pread64): Don't use CHECK_N.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32691 include <bp-checks.h>.
32692 (__libc_pwrite): Don't use CHECK_N.
32693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32694 include <bp-checks.h>.
32695 (__libc_pwrite64): Don't use CHECK_N.
32696 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32697 (do_pread): Don't use CHECK_N.
32698 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32699 (do_pread64): Don't use CHECK_N.
32700 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32701 (do_pwrite): Don't use CHECK_N.
32702 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32703 (do_pwrite64): Don't use CHECK_N.
32704 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32705 (__libc_readv): Don't use CHECK_N.
32706 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32707 (semop): Don't use CHECK_N.
32708 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32709 <bp-checks.h>.
32710 (semtimedop): Don't use CHECK_N.
32711 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32712 (__libc_pread): Don't use CHECK_N.
32713 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32714 <bp-checks.h>.
32715 (__libc_pread64): Don't use CHECK_N.
32716 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32717 <bp-checks.h>.
32718 (__libc_pwrite): Don't use CHECK_N.
32719 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32720 <bp-checks.h>.
32721 (__libc_pwrite64): Don't use CHECK_N.
32722 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32723 <bp-checks.h>.
32724 (__libc_msgrcv): Don't use CHECK_N.
32725 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32726 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32727 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32728 (__libc_writev): Don't use CHECK_N.
32729
32730 2013-02-08 Roland McGrath <roland@hack.frob.com>
32731
32732 * string/strcpy.c: Removed unused variable.
32733
32734 * Makeconfig (+sysdep-includes): Define with := rather than =.
32735 Use an existing include/ subdir of each sysdeps dir before it.
32736
32737 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32738
32739 * nscd/connection.c (register_traced_file): Comment function.
32740 [HAVE_INOTIFY] (union __inev): Define.
32741 [HAVE_INOTIFY] (inotify_check_files): New function.
32742 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32743 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32744 clear_db_cache.
32745 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32746
32747 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32748
32749 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32750 loaded if not already and that a failure is permanent.
32751
32752 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32753
32754 [BZ #15006]
32755 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32756 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32757
32758 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32759
32760 [BZ #13550]
32761 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32762 (CHECK_1_NULL_OK): Likewise.
32763 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32764 (__fxstat): Do not use CHECK_1.
32765 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32766 <bp-checks.h>.
32767 (___fxstat64): Do not use CHECK_1.
32768 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32769 <bp-checks.h>.
32770 (__fxstatat): Do not use CHECK_1.
32771 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32772 <bp-checks.h>.
32773 (__fxstatat64): Do not use CHECK_1.
32774 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32775 <bp-checks.h>.
32776 (__fxstat): Do not use CHECK_1.
32777 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32778 <bp-checks.h>.
32779 (__fxstatat): Do not use CHECK_1.
32780 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32781 <bp-checks.h>.
32782 (__getresgid): Do not use CHECK_1.
32783 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32784 <bp-checks.h>.
32785 (__getresuid): Do not use CHECK_1.
32786 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32787 <bp-checks.h>.
32788 (__lxstat): Do not use CHECK_1.
32789 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32790 <bp-checks.h>.
32791 (__old_msgctl): Do not use CHECK_1.
32792 (__new_msgctl): Likewise.
32793 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32794 <bp-checks.h>.
32795 (__new_setrlimit): Do not use CHECK_1.
32796 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32797 <bp-checks.h>.
32798 (__old_shmctl): Do not use CHECK_1.
32799 (__new_shmctl): Likewise.
32800 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32801 <bp-checks.h>.
32802 (__xstat): Do not use CHECK_1.
32803 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32804 (__lxstat): Do not use CHECK_1.
32805 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32806 <bp-checks.h>.
32807 (___lxstat64): Do not use CHECK_1.
32808 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32809 (__old_msgctl): Do not use CHECK_1.
32810 (__new_msgctl): Likewise.
32811 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32812 <bp-checks.h>.
32813 (__gettimeofday): Do not use CHECK_1.
32814 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32815 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32817 <bp-checks.h>.
32818 (__gettimeofday): Do not use CHECK_1.
32819 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32820 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32821 (__new_shmctl): Do not use CHECK_1.
32822 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32823 <bp-checks.h>.
32824 (do_sigtimedwait): Do not use CHECK_1.
32825 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32826 <bp-checks.h>.
32827 (do_sigwaitinfo): Do not use CHECK_1.
32828 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32829 <bp-checks.h>.
32830 (msgctl): Do not use CHECK_1.
32831 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32832 <bp-checks.h>.
32833 (shmctl): Do not use CHECK_1.
32834 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32835 (ustat): Do not use CHECK_1.
32836 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32837 <bp-checks.h>.
32838 (__fxstat): Do not use CHECK_1.
32839 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32840 <bp-checks.h>.
32841 (__fxstatat): Do not use CHECK_1.
32842 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32843 <bp-checks.h>.
32844 (__lxstat): Do not use CHECK_1.
32845 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32846 <bp-checks.h>.
32847 (__xstat): Do not use CHECK_1.
32848 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32849 (__xstat): Do not use CHECK_1.
32850 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32851 (___xstat64): Do not use CHECK_1.
32852
32853 [BZ #13550]
32854 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32855 definitions.
32856 (CHECK_BOUNDS_HIGH): Likewise.
32857 * string/strcpy.c: Do not include <bp-checks.h>.
32858 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32859
32860 2013-02-07 Roland McGrath <roland@hack.frob.com>
32861
32862 * nscd/nscd-client.h (__nscd_drop_map_ref):
32863 Add __attribute__ ((unused)).
32864 * nis/nss-nisplus.h (niserr2nss): Likewise.
32865
32866 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32867 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32868
32869 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32870 Remove inline keyword.
32871 * include/rounding-mode.h (round_away): Likewise.
32872 * libio/wfileops.c (adjust_wide_data): Likewise.
32873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32874 (__m128i_strloadu_tolower): Likewise.
32875 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32876 (__m128i_strloadu_tolower): Likewise.
32877 * time/mktime.c (ydhms_diff): Likewise.
32878 * locale/elem-hash.h (elem_hash): Likewise.
32879 * locale/setlocale.c (setdata): Likewise.
32880 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32881 (re_string_wchar_at): Likewise.
32882 (bitset_not, bitset_merge, bitset_mask): Likewise.
32883 [!(__GNUC__ > 3)] (inline): Remove macro.
32884 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32885 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32886 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32887 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32888 * string/memcmp.c (memcmp_bytes): Likewise.
32889 * locale/programs/locarchive.c (compute_hashval): Likewise.
32890 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32891 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32892 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32893 * nss/getent.c (print_rpc, print_protocols): Likewise.
32894 (print_passwd, print_group, print_aliases): Likewise.
32895 * nis/nss-nisplus.h (niserr2nss): Likewise.
32896 * nscd/connections.c (restart_p): Likewise.
32897 Change return type to bool.
32898
32899 2013-02-05 Roland McGrath <roland@hack.frob.com>
32900
32901 * Makeconfig (all-Depend-files): Add existing
32902 $(sorted-subdirs:=/Depend) files.
32903 (all-subdirs): Remove nss.
32904 * sysdeps/unix/inet/Subdirs: Add it here instead.
32905 * hesiod/Depend: New file.
32906
32907 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32908 instead of calling alloca.
32909
32910 * io/lseek.c (__lseek): Rename to __libc_lseek.
32911 Define __lseek as an alias.
32912
32913 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32914
32915 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32916
32917 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32918 else clause and remove check for non-standard endianness.
32919
32920 2013-02-04 David S. Miller <davem@davemloft.net>
32921
32922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32923
32924 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32925
32926 [BZ #13550]
32927 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32928 (__ubp_memchr): Remove prototype.
32929 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32930 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32931 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32932 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32933 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32934 Remove alias.
32935 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32936 (__ubp_memchr): Likewise.
32937 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32938 (__ubp_memchr): Likewise.
32939 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32940 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32941 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32942 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32943 CHECK_STRING.
32944 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32945 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32946 (__getcwd): Do not use CHECK_STRING.
32947 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32948 <bp-checks.h>.
32949 (__real_chown): Do not use CHECK_STRING.
32950 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32951 <bp-checks.h>.
32952 (fchownat): Do not use CHECK_STRING.
32953 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32954 CHECK_STRING.
32955 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32956 <bp-checks.h>.
32957 (__lchown): Do not use CHECK_STRING.
32958 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32959 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32960 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32961 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32963 include <bp-checks.h>.
32964 (truncate64): Do not use CHECK_STRING.
32965 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32966 <bp-checks.h>.
32967 (__real_chown): Do not use CHECK_STRING.
32968 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32969 <bp-checks.h>.
32970 (__lchown): Do not use CHECK_STRING.
32971 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32972 <bp-checks.h>.
32973 (__chown): Do not use CHECK_STRING.
32974 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32975 <bp-checks.h>.
32976 (truncate64): Do not use CHECK_STRING.
32977 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32978 Likewise.
32979 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32980 (__xmknod): Do not use CHECK_STRING.
32981 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32982 <bp-checks.h>.
32983 (__xmknodat): Do not use CHECK_STRING.
32984 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32985 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32986
32987 2013-02-04 Andreas Schwab <schwab@suse.de>
32988
32989 [BZ #14142]
32990 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32991 * include/netdb.h: Likewise for h_errno.
32992 * elf/tst-stackguard1.c: Include <tls.h>.
32993
32994 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32995
32996 * elf/link.h (struct link_map): Extend the l_addr comment.
32997 * include/link.h (struct link_map): Likewise.
32998
32999 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33000
33001 [BZ #13550]
33002 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33003 (BOUNDED_1): Remove macro.
33004 * debug/backtrace.c: Don't include <bp-checks.h>.
33005 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33006 (__backtrace): Likewise.
33007 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33008 <bp-checks.h>.
33009 (__backtrace): Don't use BOUNDED_1.
33010 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33011 <bp-checks.h>.
33012 (__backtrace): Don't use BOUNDED_1.
33013 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33014 (__backtrace): Don't use BOUNDED_1.
33015 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33016 (shmat): Don't use BOUNDED_N.
33017
33018 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33019
33020 [BZ #13550]
33021 * sysdeps/generic/bp-start.h: Remove file.
33022 * csu/libc-start.c: Don't include <bp-start.h>.
33023 (LIBC_START_MAIN): Set up __environ directly instead of using
33024 INIT_ARGV_and_ENVIRON.
33025 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33026 <bp-start.h>.
33027
33028 [BZ #13550]
33029 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33030 definitions.
33031 (CHECK_FCNTL): Likewise.
33032 (CHECK_N_PAGES): Likewise.
33033
33034 [BZ #13550]
33035 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33036 definitions.
33037 (CHECK_SIGSET_NULL_OK): Likewise.
33038 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33039 <bp-checks.h>.
33040 (sigpending): Don't use CHECK_SIGSET.
33041 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33042 <bp-checks.h>.
33043 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33044 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33045 <bp-checks.h>.
33046 (do_sigsuspend): Don't use CHECK_SIGSET.
33047 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33048 use CHECK_SIGSET.
33049 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33050 (do_sigwait): Don't use CHECK_SIGSET.
33051 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33052 use CHECK_SIGSET.
33053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33054 include <bp-checks.h>.
33055 (sigpending): Don't use CHECK_SIGSET.
33056 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33057 include <bp-checks.h>.
33058 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33059 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33060 <bp-checks.h>.
33061 (sigpending): Don't use CHECK_SIGSET.
33062 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33063 <bp-checks.h>.
33064 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33065
33066 [BZ #13550]
33067 * sysdeps/generic/bp-semctl.h: Remove file.
33068 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33069 <bp-checks.h> and <bp-semctl.h>.
33070 (__old_semctl): Don't use CHECK_SEMCTL.
33071 (__new_semctl): Likewise.
33072 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33073 and <bp-semctl.h>.
33074 (__old_semctl): Don't use CHECK_SEMCTL.
33075 (__new_semctl): Likewise.
33076 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33077 <bp-checks.h> and <bp-semctl.h>.
33078 (__old_semctl): Don't use CHECK_SEMCTL.
33079 (__new_semctl): Likewise.
33080 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33081 <bp-checks.h> and <bp-semctl.h>.
33082 (semctl): Don't use CHECK_SEMCTL.
33083
33084 [BZ #13550]
33085 * Makerules (elide-bp-thunks): Remove variable.
33086 (elide-routines.oS): Don't use $(elide-bp-thunks).
33087 (elide-routines.os): Likewise.
33088 (elide-routines.o): Likewise.
33089 (elide-routines.op): Likewise.
33090 (elide-routines.og): Likewise.
33091 (objects): Don't use $(bp-thunks).
33092 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33093 include.
33094 (common-generated): Do not add s-proto-bp.d.
33095 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33096 (int): Likewise.
33097 (typ): Likewise.
33098 Do not generate makefile rules for bounded-pointer thunks.
33099 * sysdeps/generic/bp-thunks.h: Remove file.
33100 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33101 * sysdeps/unix/s-proto-bp.S: Likewise.
33102
33103 [BZ #15062]
33104 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33105 parts of result separately when argument is not close to line from
33106 -i to i and one part of argument is small.
33107 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33108 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33109 * math/libm-test.inc (cacos_test): Add more tests.
33110 (casin_test): Likewise.
33111 (casinh_test): Likewise.
33112 * sysdeps/i386/fpu/libm-test-ulps: Update.
33113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33114
33115 2013-01-31 David S. Miller <davem@davemloft.net>
33116
33117 * po/de.po: Update from translation team.
33118
33119 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33120
33121 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33122
33123 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33124
33125 * configure.in (_AC_PROG_CC_C89): New definition.
33126 * configure: Regenerate.
33127
33128 * configure.in (AC_PROG_CPP): New definition.
33129 * configure: Regenerate.
33130
33131 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33132
33133 * debug/tst-backtrace.h: New file.
33134 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33135 (ret): Remove variable.
33136 (x): Likewise.
33137 (FAIL): Remove macro.
33138 (NO_INLINE): Likewise.
33139 (fn1): Use match function instead of strstr.
33140 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33141 (ret): Remove variable.
33142 (x): Likewise.
33143 (FAIL): Remove macro.
33144 (NO_INLINE): Likewise.
33145 (fn): Use match function instead of strstr.
33146 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33147 (ret): Remove variable.
33148 (x): Likewise.
33149 (FAIL): Remove macro.
33150 (NO_INLINE): Likewise.
33151 (handle_signal): Use match function instead of strstr.
33152 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33153 (ret): Remove variable.
33154 (x): Likewise.
33155 (FAIL): Remove macro.
33156 (NO_INLINE): Likewise.
33157 (handle_signal): Use match function instead of strstr.
33158
33159 2013-01-23 Roland McGrath <roland@hack.frob.com>
33160
33161 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33162
33163 2013-01-23 David S. Miller <davem@davemloft.net>
33164
33165 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33166 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33167 argument of CAS if possible.
33168 * sysdeps/sparc/sparc64/bits/atomic.h
33169 (__arch_compare_and_exchange_val_32_acq): Likewise.
33170 (__arch_compare_and_exchange_val_64_acq): Likewise.
33171
33172 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33173
33174 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33175 * sysdeps/posix/ulimit.c: ... this.
33176 Include <limits.h>.
33177 * sysdeps/unix/bsd/ulimit.c: Remove file.
33178
33179 2013-01-23 Adam Conrad <adconrad@0c3.net>
33180
33181 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33182 (LDFLAGS-tst-array5): Likewise.
33183
33184 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33185
33186 [BZ #15036]
33187 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33188 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33189 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33190 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33191
33192 2013-01-21 David S. Miller <davem@davemloft.net>
33193
33194 * sysdeps/sparc/backtrace.c: New file.
33195 * sysdeps/sparc/sparc32/backtrace.h: New file.
33196 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33197 * sysdeps/sparc/sparc64/backtrace.h: New file.
33198 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33199 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33200 -funwind-tables.
33201
33202 2013-01-21 Andreas Schwab <schwab@suse.de>
33203
33204 [BZ #15020]
33205 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33206 closed its stdout.
33207
33208 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33209
33210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33211 "mpa2.h".
33212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33213
33214 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33215 Mark Mitchell <mark@codesourcery.com>
33216 Tom de Vries <tom@codesourcery.com>
33217 Paul Pluzhnikov <ppluzhnikov@google.com>
33218
33219 * debug/tst-backtrace2.c: New file.
33220 * debug/tst-backtrace3.c: Likewise.
33221 * debug/tst-backtrace4.c: Likewise.
33222 * debug/tst-backtrace5.c: Likewise.
33223 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33224 (CFLAGS-tst-backtrace3.c): Likewise.
33225 (CFLAGS-tst-backtrace4.c): Likewise.
33226 (CFLAGS-tst-backtrace5.c): Likewise.
33227 (LDFLAGS-tst-backtrace2): Likewise.
33228 (LDFLAGS-tst-backtrace3): Likewise.
33229 (LDFLAGS-tst-backtrace4): Likewise.
33230 (LDFLAGS-tst-backtrace5): Likewise.
33231 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33232 tst-backtrace4 and tst-backtrace5.
33233
33234 2013-01-18 Anton Blanchard <anton@samba.org>
33235 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33236
33237 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33238 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33240 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33242 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33243 "+r" and remove output regs list as redundant. Add explicit inline
33244 asm to specify register of return val to work around compiler codegen
33245 bug. Remove (int) cast on return value. Add return type parameter to
33246 use in macro so that this macro does not truncate return value for
33247 64-bit values.
33248 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33249 pass to INTERNAL_VSYSCALL_NCS.
33250 (INLINE_VSYSCALL): Add 'long int' as return type to
33251 INTERNAL_VSYSCALL_NCS macro invocation.
33252 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33253 INTERNAL_VSYSCALL_NCS macro invocation.
33254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33255
33256 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33257
33258 [BZ #14496]
33259 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33260 Fix application of SIMD FP exception mask.
33261
33262 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33263 mp_no from a power of two.
33264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33265 __mpexp_twomm1. Use __pow_mp.
33266
33267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33268 multiplication.
33269
33270 2013-01-17 David S. Miller <davem@davemloft.net>
33271
33272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33273
33274 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33275
33276 [BZ #15023]
33277 * include/complex.h: Condition contents on [!_COMPLEX_H].
33278 (__kernel_casinhf): New prototype.
33279 (__kernel_casinh): Likewise.
33280 (__kernel_casinhl): Likewise.
33281 * math/Makefile (libm_calls): Add k_casinh.
33282 * math/k_casinh.c: New file.
33283 * math/k_casinhf.c: Likewise.
33284 * math/k_casinhl.c: Likewise.
33285 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33286 finite nonzero arguments.
33287 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33288 finite nonzero arguments.
33289 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33290 finite nonzero arguments.
33291 * math/s_casinh.c: Do not include <float.h>.
33292 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33293 * math/s_casinhf.c: Do not include <float.h>.
33294 (__casinhf): Move code for finite nonzero arguments to
33295 k_casinhf.c.
33296 * math/s_casinhl.c: Do not include <float.h>.
33297 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33298 redefine.
33299 (__casinhl): Move code for finite nonzero arguments to
33300 k_casinhl.c.
33301 * math/libm-test.inc (cacos_test): Add more tests.
33302 * sysdeps/i386/fpu/libm-test-ulps: Update.
33303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33304
33305 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33306
33307 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33308 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33309 [!HAVE_MREMAP]: Remove [defined linux] case.
33310 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33311
33312 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33313
33314 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33315
33316 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33317
33318 * elf/elf.h (R_386_SIZE32): New relocation.
33319 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33320 R_386_SIZE32.
33321 (elf_machine_rela): Likewise.
33322 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33323 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33324
33325 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33326
33327 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33328 (FP_FAST_FMA): Do not define.
33329 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33330 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33331 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33332 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33333 !_SOFT_FLOAT]: Likewise.
33334 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33335 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33336 value.
33337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33338 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33339 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33340 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33341 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33342 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33343 file.
33344
33345 2013-01-16 Andreas Schwab <schwab@suse.de>
33346
33347 [BZ #14327]
33348 * include/stdlib.h (__mktemp): Add declaration.
33349 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33350 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33351
33352 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33353
33354 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33355 definitions.
33356 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33357 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33358 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33359 definitions here.
33360 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33361 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33362 definitions.
33363 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33364 and ONE.
33365 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33366 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33367 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33368 definitions.
33369 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33370 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33371 definitions.
33372 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33373
33374 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33375
33376 2013-01-15 David S. Miller <davem@davemloft.net>
33377
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33379 trunc{,f} to libm-sysdep_routes.
33380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33382 file.
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33385 file.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33387 file.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33390 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33391 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33392 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33393 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33394 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33395 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33396
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33398 nearbyint{,f} to libm-sysdep_routes.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33401 New file.
33402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33403 file.
33404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33405 New file.
33406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33407 file.
33408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33411 file.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33414 file.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33416 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33418
33419 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33420 libc_feholdexcept and libc_fesetenv.
33421
33422 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33423
33424 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33425
33426 2013-01-14 David S. Miller <davem@davemloft.net>
33427
33428 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33429 (SPARC_ASM_VIS2_IFUNC): Likewise.
33430 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33432 use of 'siam' instruction.
33433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33434 Likewise.
33435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33436 Likewise.
33437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33438 Likewise.
33439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33444 file.
33445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33446 file.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33448 file.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33450 file.
33451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33456 new VIS2 routines.
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33460 Likewise.
33461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33462 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33463 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33464 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33466 routines to libm-sysdep_routines.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33468
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33470 fdim/fdimf to libm-sysdep_routines.
33471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33472 file.
33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33475 file.
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33479 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33480 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33481 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33482 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33483
33484 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33485
33486 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33487 to optimize copies.
33488
33489 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33492
33493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33494 local variable MPTWO.
33495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33496 Likewise.
33497
33498 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33499
33500 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33501 GLOB_NOESCAPE.
33502
33503 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33504
33505 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33506
33507 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33508
33509 * manual/pattern.texi (glob_t): Document gl_flags.
33510 (glob64_t): Likewise.
33511
33512 2013-01-11 David S. Miller <davem@davemloft.net>
33513
33514 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33515 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33516 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33517 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33518 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33519 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33520 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33521 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33522 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33523 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33524 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33525 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33526 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33527
33528 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33529 sparc V9 rather than using V8 code.
33530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33532
33533 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33534 Move to...
33535 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33536 Here.
33537
33538 2013-01-11 Roland McGrath <roland@hack.frob.com>
33539
33540 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33541 not in the main loop.
33542 * configure: Regenerated.
33543
33544 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33545
33546 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33547 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33548 to just #else.
33549 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33550 [!__GLIBC_HAVE_LONG_LONG] case.
33551 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33552 condition to just #else.
33553 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33554 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33555 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33556 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33557 unconditional.
33558 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33559 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33560 #elif condition to just #else.
33561 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33562 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33563 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33564 #elif condition to just #else.
33565
33566 2013-01-11 Steve Ellcey <sellcey@mips.com>
33567
33568 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33569 (EF_MIPS_ARCH_64): Fix value.
33570 (EF_MIPS_ARCH_32R2): New.
33571 (EF_MIPS_ARCH_64R2): New.
33572
33573 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33574
33575 * Makeconfig (+link-pie-before-libc): New.
33576 (+link-pie-after-libc): Likewise.
33577 (+link-pie-tests): Likewise.
33578 (+link-pie): Rewritten.
33579 (link-before-libc): Remove $(config-LDFLAGS).
33580 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33581 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33582 (config-LDFLAGS): Renamed to ...
33583 (rtld-LDFLAGS): This.
33584 (rtld-tests-LDFLAGS): New macro.
33585 (link-libc-rpath-link): Likewise.
33586 (link-libc-tests-rpath-link): Likewise.
33587 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33588 (link-libc): Prepand $(link-libc-rpath-link).
33589 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33590 (test-program-prefix): New macro.
33591 (test-via-rtld-prefix): Likewise.
33592 (test-program-cmd): Likewise.
33593 (host-test-program-cmd): Likewise.
33594 * Makefile ($(common-objpfx)testrun.sh): Replace
33595 $(run-program-prefix) with $(test-program-prefix).
33596 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33597 $(rtld-LDFLAGS).
33598 ($(common-objpfx)shlib.lds): Likewise.
33599 (build-module-helper): Likewise.
33600 ($(common-objpfx)format.lds): Likewise.
33601 * Rules (binaries-pie-tests): New.
33602 (binaries-pie-notests): Likewise.
33603 (binaries-pie): Rewritten.
33604 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33605 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33606 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33607 (make-test-out): Replace $(host-built-program-cmd) with
33608 $(host-test-program-cmd).
33609 * config.make.in (build-hardcoded-path-in-tests): New variable.
33610 * configure.in (--enable-hardcoded-path-in-tests): New configure
33611 option.
33612 (hardcoded_path_in_tests): New AC_SUBST.
33613 * configure: Regenerated.
33614 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33615 $(built-program-cmd) with $(test-program-cmd).
33616 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33617 (test_program_cmd): This.
33618 * elf/Makefile ($(objpfx)order.out): Run test with
33619 $(test-program-prefix).
33620 ($(objpfx)order2.out): Likewise.
33621 ($(objpfx)tst-initorder.out): Likewise.
33622 ($(objpfx)tst-initorder2.out): Likewise.
33623 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33624 $(test-program-cmd).
33625 ($(objpfx)tst-array1-static.out): Likewise.
33626 ($(objpfx)tst-array2.out): Likewise.
33627 ($(objpfx)tst-array3.out): Likewise.
33628 ($(objpfx)tst-array4.out): Likewise.
33629 ($(objpfx)tst-array5.out): Likewise.
33630 ($(objpfx)tst-array5-static.out): Likewise.
33631 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33632 $(test-program-cmd).
33633 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33634 $(run-program-prefix) with $(test-program-prefix).
33635 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33636 (test_program_prefix): This.
33637 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33638 $(run-program-prefix) with $(test-program-prefix).
33639 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33640 (test_program_prefix): This.
33641 * iconvdata/tst-tables.sh: Likewise.
33642 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33643 $(run-program-prefix) with $(test-program-prefix).
33644 ($(objpfx)tst-translit.out): Likewise.
33645 ($(objpfx)tst-gettext2.out): Likewise.
33646 ($(objpfx)tst-gettext4.out): Likewise.
33647 ($(objpfx)tst-gettext6.out): Likewise.
33648 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33649 (test_program_prefix): This.
33650 * intl/tst-gettext2.sh: Likewise.
33651 * intl/tst-gettext4.sh Likewise.
33652 * intl/tst-gettext6.sh: Likewise.
33653 * intl/tst-translit.sh: Likewise.
33654 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33655 with $(test-program-cmd).
33656 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33657 $(run-program-prefix) with $(test-program-prefix).
33658 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33659 (test_program_prefix): This.
33660 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33661 $(run-program-prefix) with $(test-program-prefix).
33662 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33663 (test_program_prefix): This.
33664 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33665 * posix/Makefile ($(objpfx)globtest.out): Replace
33666 $(run-via-rtld-prefix) and $(test-wrapper) with
33667 $(test-program-prefix) and $(test-via-rtld-prefix).
33668 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33669 $(test-program-prefix).
33670 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33671 $(host-test-program-cmd).
33672 (tst-spawn-ARGS): Likewise.
33673 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33674 $(test-program-prefix).
33675 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33676 (test_via_rtld_prefix): This.
33677 (test_wrapper): Renamed to ...
33678 (test_program_prefix): This.
33679 (run_program_prefix): Replaced by test_program_prefix.
33680 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33681 (test_program_prefix): This.
33682 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33683 with $(host-test-program-cmd).
33684 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33685 $(run-program-prefix) with $(test-program-prefix).
33686 ($(objpfx)tst-printf.out): Likewise.
33687 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33688 $(test-program-cmd).
33689 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33690 (test_program_prefix): This.
33691 * stdio-common/tst-unbputc.sh: Likewise.
33692 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33693 $(run-program-prefix) with $(test-program-prefix).
33694 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33695 (test_program_prefix): This.
33696 * string/Makefile ($(objpfx)tst-svc.out): Replace
33697 $(built-program-cmd) with $(test-program-cmd).
33698
33699 2013-01-11 Andreas Jaeger <aj@suse.de>
33700
33701 [BZ #15003]
33702 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33703 value. Sync with Linux 3.7.
33704
33705 2013-01-10 David S. Miller <davem@davemloft.net>
33706
33707 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33710
33711 2013-01-10 Roland McGrath <roland@hack.frob.com>
33712
33713 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33714 never set.
33715 * configure: Regenerated.
33716
33717 2013-01-10 David S. Miller <davem@davemloft.net>
33718
33719 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33720 sparc V9 rather than using V8 code.
33721 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33722 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33723
33724 2013-01-10 Roland McGrath <roland@hack.frob.com>
33725
33726 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33727 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33728 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33729 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33730 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33731 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33732 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33733 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33734 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33735 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33736 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33737 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33738 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33739 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33740 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33741 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33742 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33743 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33744 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33745 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33746 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33747 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33748 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33749 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33750 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33751 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33752 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33753
33754 2013-01-10 David S. Miller <davem@davemloft.net>
33755
33756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33757
33758 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33759
33760 * posix/Makefile (tests-static): New variable.
33761 (tests): Add $(tests-static).
33762 (tst-exec-static-ARGS): New variable.
33763 (tst-spawn-static-ARGS): Likewise.
33764 * posix/tst-exec-static.c: New file.
33765 * posix/tst-spawn-static.c: Likewise.
33766 * posix/tst-exec.c: Support run directly.
33767 * posix/tst-spawn.c: Likewise.
33768
33769 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33770
33771 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33772 long.
33773 * math/bits/mathcalls.h (llrint): Likewise.
33774 (llround): Likewise.
33775 * stdlib/stdlib.h (struct drand48_data): Likewise.
33776 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33777 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33778 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33779 Likewise.
33780 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33781 Likewise.
33782 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33783 (elf_greg_t): Likewise.
33784 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33785 (__jmp_buf): Likewise.
33786 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33787 definitions.
33788 (llrint): Likewise, for all definitions.
33789 (llrintl): Likewise.
33790
33791 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33792 Remove [__GNUC__] condition.
33793 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33794 condition to just [__USE_ISOC99].
33795 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33796
33797 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33798
33799 [BZ #14200]
33800 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33801 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33802 defined.
33803 (_POSIX_V6_ILP32_OFF32): Likewise.
33804 (_XBS5_ILP32_OFF32): Likewise.
33805 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33806 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33807
33808 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33809
33810 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33811
33812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33813 doubles __mpexp_twomm1. Adjust usage.
33814 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33815 Remove.
33816
33817 2013-01-10 Andreas Schwab <schwab@suse.de>
33818
33819 [BZ #14964]
33820 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33821 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33822
33823 2013-01-09 David S. Miller <davem@davemloft.net>
33824
33825 [BZ #15003]
33826 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33827 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33828 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33829 (TCP_FASTOPEN): Define.
33830 (tcp_repair_opt): New structure.
33831 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33832 enum values.
33833 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33834 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33835 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33836 (tcp_cookie_transactions): New structure.
33837
33838 2013-01-09 Anton Blanchard <anton@samba.org>
33839
33840 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33841 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33843 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33844
33845 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33846
33847 * include/features.h (__USE_ANSI): Remove.
33848
33849 2013-01-09 Roland McGrath <roland@hack.frob.com>
33850
33851 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33852
33853 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33854
33855 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33856
33857 * sysdeps/s390/fpu/libm-test-ulps: Update.
33858
33859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33860
33861 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33862 (__acr): Likewise.
33863 (__cpy): Likewise.
33864 (norm): Likewise.
33865 (denorm): Likewise.
33866 (__mp_dbl): Likewise.
33867 (__dbl_mp): Likewise.
33868 (add_magnitudes): Likewise.
33869 (sub_magnitudes): Likewise.
33870 (__add): Likewise.
33871 (__sub): Likewise.
33872 (__mul): Likewise.
33873 (__inv): Likewise.
33874 (__dvd): Likewise.
33875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33876 (__acr): Likewise.
33877 (__cpy): Likewise.
33878 (norm): Likewise.
33879 (denorm): Likewise.
33880 (__mp_dbl): Likewise.
33881 (__dbl_mp): Likewise.
33882 (add_magnitudes): Likewise.
33883 (sub_magnitudes): Likewise.
33884 (__add): Likewise.
33885 (__sub): Likewise.
33886 (__mul): Likewise.
33887 (__inv): Likewise.
33888 (__dvd): Likewise.
33889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33890 (__acr): Likewise.
33891 (__cpy): Likewise.
33892 (norm): Likewise.
33893 (denorm): Likewise.
33894 (__mp_dbl): Likewise.
33895 (__dbl_mp): Likewise.
33896 (add_magnitudes): Likewise.
33897 (sub_magnitudes): Likewise.
33898 (__add): Likewise.
33899 (__sub): Likewise.
33900 (__mul): Likewise.
33901 (__inv): Likewise.
33902 (__dvd): Likewise.
33903
33904 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33905
33906 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33907 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33908 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33909 2 && __USE_EXTERN_INLINES]: Likewise.
33910
33911 2013-01-08 Andreas Jaeger <aj@suse.de>
33912
33913 [BZ# 14985]
33914 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33915 Remove.
33916 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33917 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33918
33919 2013-01-07 Anton Blanchard <anton@samba.org>
33920
33921 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33922 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33923 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33924 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33925 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33926 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33927 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33928 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33930 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33935 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33936 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33937 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33938 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33939 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33940 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33941 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33942 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33944 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33945 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33946 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33947 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33948 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33949 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33950 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33951 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33953 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33954 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33956 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33957 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33958 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33960 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33961 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33963 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33964
33965 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33966
33967 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33968 (__MALLOC_PMT): Likewise.
33969 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33970 [__GNUC__], only on [_LIBC].
33971 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33972 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33973 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33974 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33975 forward declaration.
33976 (realloc_hook_ini): Likewise.
33977 (memalign_hook_ini): Likewise.
33978 (__libc_memalign): Do not use __MALLOC_PMT in variable
33979 declaration.
33980 (__libc_valloc): Likewise.
33981 (__libc_pvalloc): Likewise.
33982 (__libc_calloc): Likewise.
33983 (__posix_memalign): Likewise.
33984
33985 [BZ #14996]
33986 * math/s_casinh.c: Include <float.h>.
33987 (__casinh): Do not do computation with squaring and square root
33988 for large arguments.
33989 * math/s_casinhf.c: Include <float.h>.
33990 (__casinhf): Do not do computation with squaring and square root
33991 for large arguments.
33992 * math/s_casinhl.c: Include <float.h>.
33993 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33994 (__casinhl): Do not do computation with squaring and square root
33995 for large arguments.
33996 * math/libm-test.inc (casin_test): Add more tests.
33997 (casinh_test): Likewise.
33998 * sysdeps/i386/fpu/libm-test-ulps: Update.
33999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34000
34001 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34002
34003 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34004 (__x86_64_raw_data_cache_size): Likewise.
34005 (__x86_64_data_cache_size_half): Likewise.
34006 (__x86_64_raw_data_cache_size_half): Likewise.
34007 (__x86_64_shared_cache_size): Likewise.
34008 (__x86_64_raw_shared_cache_size): Likewise.
34009 (__x86_64_shared_cache_size_half): Likewise.
34010 (__x86_64_raw_shared_cache_size_half): Likewise.
34011 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34012 to ...
34013 (__x86_data_cache_size): This.
34014 (__x86_64_raw_data_cache_size): Renamed to ...
34015 (__x86_raw_data_cache_size): This.
34016 (__x86_64_data_cache_size_half): Renamed to ...
34017 (__x86_data_cache_size_half): This.
34018 (__x86_64_raw_data_cache_size_half): Renamed to ...
34019 (__x86_raw_data_cache_size_half): This.
34020 (__x86_64_shared_cache_size): Renamed to ...
34021 (__x86_shared_cache_size): This.
34022 (__x86_64_raw_shared_cache_size): Renamed to ...
34023 (__x86_raw_shared_cache_size): This.
34024 (__x86_64_shared_cache_size_half): Renamed to ...
34025 (__x86_shared_cache_size_half): This.
34026 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34027 (__x86_raw_shared_cache_size_half): This.
34028 * sysdeps/x86_64/memcpy.S: Updated.
34029 * sysdeps/x86_64/memset.S: Likewise.
34030 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34033
34034 2013-01-04 David S. Miller <davem@davemloft.net>
34035
34036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34037
34038 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34039
34040 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34041 1 to avoid redefinition warning.
34042 (__USE_GNU): Don't define.
34043 (init_signaling_nan): Protoize.
34044
34045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34046
34047 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34048
34049 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34051 (__cpymn): Likewise.
34052 (norm): Remove commented code.
34053 (denorm): Likewise.
34054 (__mp_dbl): Likewise.
34055 (__inv): Likewise.
34056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34057 (__cpymn): Likewise.
34058 (norm): Remove commented code.
34059 (denorm): Likewise.
34060 (__mp_dbl): Likewise.
34061 (__inv): Likewise.
34062
34063 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34064 mp_no value for 1.0 and 2.0.
34065 (norm): Use RADIXI instead of radixi.d.
34066 (denorm): Likewise.
34067 (__mul): Use 0.0 instead of zero.d.
34068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34069 mp_no value for 1.0 and 2.0.
34070 (norm): Use RADIXI instead of radixi.d.
34071 (denorm): Likewise.
34072 (__mul): Use 0.0 instead of zero.d.
34073
34074 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34075
34076 [BZ #14994]
34077 * math/s_casinh.c (__casinh): Reduce finite argument to first
34078 quadrant then set signs of results at the end.
34079 * math/s_casinhf.c (__casinhf): Likewise.
34080 * math/s_casinhl.c (__casinhl): Likewise.
34081 * math/libm-test.inc (casin_test): Add more tests.
34082 (casinh_test): Likewise.
34083 * sysdeps/i386/fpu/libm-test-ulps: Update.
34084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34085
34086 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34087
34088 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34089
34090 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34091
34092 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34093 declarations.
34094 (denorm): Likewise.
34095 (__mp_dbl): Likewise.
34096 (__inv): Likewise.
34097
34098 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34099 and adjust the header comment.
34100
34101 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34102 variable name from declaration.
34103
34104 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34105
34106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34107 Initialize COMMON_CPUID_INDEX_7 element.
34108 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34109 (CPUID_RTM): Likewise.
34110 (HAS_RTM): Likewise.
34111 (COMMON_CPUID_INDEX_7): New enum.
34112
34113 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34114
34115 [BZ #14981]
34116 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34117 size is zero, record memory as freed.
34118
34119 2013-01-03 Andreas Jaeger <aj@suse.de>
34120
34121 * po/ia.po: Add new Interlingua translation.
34122
34123 2012-01-03 Allan McRae <allan@archlinux.org>
34124
34125 * locale/programs/localedef.c: Fix description of '--posix' flag.
34126
34127 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34128
34129 * NEWS: Update dates in second copyright notice.
34130 * README: Update copyright dates in example.
34131 * manual/libc.texinfo: Update copyright dates.
34132 * scripts/test-installation.pl: Update copyright date in --version
34133 output.
34134
34135 * hurd/ctty-input.c: Fix copyright notice formatting.
34136 * hurd/ctty-output.c: Likewise.
34137 * hurd/dtable.c: Likewise.
34138 * hurd/hurd-raise.c: Likewise.
34139 * hurd/hurdprio.c: Likewise.
34140 * hurd/msgportdemux.c: Likewise.
34141 * misc/sys/file.h: Likewise.
34142 * misc/sys/ioctl.h: Likewise.
34143 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34144 * sysdeps/mach/hurd/chdir.c: Likewise.
34145 * sysdeps/mach/hurd/fchdir.c: Likewise.
34146 * sysdeps/mach/hurd/rename.c: Likewise.
34147 * sysdeps/mach/hurd/rmdir.c: Likewise.
34148 * sysdeps/mach/hurd/seekdir.c: Likewise.
34149 * sysdeps/mach/hurd/setsid.c: Likewise.
34150 * sysdeps/posix/wait3.c: Likewise.
34151
34152 * All files with FSF copyright notices: Update copyright dates
34153 using scripts/update-copyrights.
34154 * intl/plural.c: Regenerated.
34155 * locale/programs/charmap-kw.h: Likewise.
34156 * locale/programs/locfile-kw.h: Likewise.
34157
34158 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34159
34160 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34161 four values.
34162
34163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34164 calculation loop and add branch prediction.
34165
34166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34167 check access beyond bounds of m1np.
34168
34169 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34170 MPTWO.
34171 (__inv): Remove local variable MPTWO to use the global
34172 constant.
34173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34175 variable MPTWO.
34176 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34177 MP3HALFS static const.
34178
34179 2013-01-01 David S. Miller <davem@davemloft.net>
34180
34181 * po/ca.po: Update from translation team.
34182
34183 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34184
34185 * scripts/update-copyrights: New file.
34186 * Makeconfig: Reformat copyright notice.
34187 * ctype/ctype.h: Likewise.
34188 * debug/swprintf_chk.c: Likewise.
34189 * elf/dl-cache.c: Likewise.
34190 * elf/dl-debug.c: Likewise.
34191 * elf/dl-object.c: Likewise.
34192 * grp/initgroups.c: Likewise.
34193 * hurd/Makefile: Likewise.
34194 * hurd/hurd/signal.h: Likewise.
34195 * hurd/hurdfault.c: Likewise.
34196 * hurd/hurdioctl.c: Likewise.
34197 * hurd/hurdlookup.c: Likewise.
34198 * hurd/intr-msg.c: Likewise.
34199 * iconv/gconv_open.c: Likewise.
34200 * libio/swprintf.c: Likewise.
34201 * locale/lc-ctype.c: Likewise.
34202 * locale/nl_langinfo.c: Likewise.
34203 * mach/Machrules: Likewise.
34204 * mach/Makefile: Likewise.
34205 * malloc/obstack.h: Likewise.
34206 * manual/Makefile: Likewise.
34207 * manual/tsort.awk: Likewise.
34208 * misc/bits/stab.def: Likewise.
34209 * nis/nis_print_group_entry.c: Likewise.
34210 * nis/nis_table.c: Likewise.
34211 * nis/nss_compat/compat-pwd.c: Likewise.
34212 * nis/nss_compat/compat-spwd.c: Likewise.
34213 * po/Makefile: Likewise.
34214 * posix/fnmatch.c: Likewise.
34215 * posix/regex.h: Likewise.
34216 * resolv/Makefile: Likewise.
34217 * resolv/nss_dns/dns-network.c: Likewise.
34218 * resolv/res_hconf.c: Likewise.
34219 * scripts/gen-sorted.awk: Likewise.
34220 * soft-fp/soft-fp.h: Likewise.
34221 * stdio-common/printf.h: Likewise.
34222 * stdlib/monetary.h: Likewise.
34223 * stdlib/random.c: Likewise.
34224 * stdlib/random_r.c: Likewise.
34225 * sysdeps/generic/Makefile: Likewise.
34226 * sysdeps/gnu/Makefile: Likewise.
34227 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34234 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34237 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34239 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34240 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34241 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34242 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34243 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34244 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34247 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34248 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34249 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34250 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34251 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34252 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34254 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34255 * sysdeps/mach/hurd/errnos.awk: Likewise.
34256 * sysdeps/mach/hurd/fork.c: Likewise.
34257 * sysdeps/mach/hurd/getcwd.c: Likewise.
34258 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34259 * sysdeps/mach/hurd/mmap.c: Likewise.
34260 * sysdeps/mach/hurd/utimes.c: Likewise.
34261 * sysdeps/mach/hurd/xmknod.c: Likewise.
34262 * sysdeps/posix/profil.c: Likewise.
34263 * sysdeps/posix/readdir_r.c: Likewise.
34264 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34265 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34266 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34267 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34269 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34270 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34271 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34273 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34274 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34275 * sysdeps/pthread/lio_listio.c: Likewise.
34276 * sysdeps/sparc/dl-procinfo.h: Likewise.
34277 * sysdeps/unix/i386/sysdep.S: Likewise.
34278 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34279 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34280 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34281 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34283 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34284 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34285 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34286 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34287 * sysdeps/wordsize-32/divdi3.c: Likewise.
34288 * time/sys/time.h: Likewise.
34289 * wcsmbs/Makefile: Likewise.
34290
34291 2013-01-01 David S. Miller <davem@davemloft.net>
34292
34293 * po/fr.po: Update from translation team.
34294
34295 * catgets/gencat.c: Update copyright year.
34296 * csu/version.c: Likewise.
34297 * debug/catchsegv.sh: Likewise.
34298 * debug/pcprofiledump.c: Likewise.
34299 * debug/xtrace.sh: Likewise.
34300 * elf/ldconfig.c: Likewise.
34301 * elf/ldd.bash.in: Likewise.
34302 * elf/pldd.c: Likewise.
34303 * elf/sotruss.ksh: Likewise.
34304 * elf/sprof.c: Likewise.
34305 * iconv/iconv_prog.c: Likewise.
34306 * iconv/iconvconfig.c: Likewise.
34307 * locale/programs/locale.c: Likewise.
34308 * locale/programs/localedef.c: Likewise.
34309 * login/programs/pt_chown.c: Likewise.
34310 * malloc/memusage.sh: Likewise.
34311 * malloc/memusagestat.c: Likewise.
34312 * malloc/mtrace.pl: Likewise.
34313 * nscd/nscd.c: Likewise.
34314 * nss/getent.c: Likewise.
34315 * nss/makedb.c: Likewise.
34316 * posix/getconf.c: Likewise.
34317
34318 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34319
34320 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34321 numbers.
34322
34323 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34324
34325 * math/bits/mathcalls.h (modf): Use __nonnull.
34326
34327 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34328
34329 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34330 (split): Use macro CN instead of the bare value.
34331 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34332 could be used.
34333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34334 instead of the bare value.
34335 (power1): Likewise.
34336
34337 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34338
34339 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34340 __ATAN_TWOM.
34341 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34342
34343 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34344 their values.
34345 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34346 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34347 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34348 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34349
34350 2012-12-28 Andreas Jaeger <aj@suse.de>
34351
34352 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34353 values are from Linux 3.7.
34354
34355 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34356 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34357
34358 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34359
34360 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34361 TRUE case.
34362
34363 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34364 (norm): Likewise.
34365 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34366 variables with preprocessor constants.
34367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34368 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34370
34371 2012-12-27 Bruno Haible <bruno@clisp.org>
34372
34373 [BZ #14317]
34374 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34375 only if needed.
34376
34377 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34378
34379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34380 and use variable directly.
34381 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34382
34383 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34384 MPONE.
34385 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34387 variable MPONE.
34388 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34390 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34391 include directive. Remove local variable MPONE.
34392 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34395
34396 2012-12-25 David S. Miller <davem@davemloft.net>
34397
34398 * version.h (RELEASE): Set to "development".
34399 (VERSION): Set to "2.17.90".
34400 * NEWS: Add 2.18 section.
34401
34402 2012-12-21 David S. Miller <davem@davemloft.net>
34403
34404 * po/hr.po: Update from translation team.
34405
34406 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34407
34408 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34409
34410 2012-12-19 Steve Ellcey <sellcey@mips.com>
34411
34412 * NEWS: Mention new memcpy for MIPS.
34413
34414 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34415
34416 * manual/contrib.texi (Contributors): Spelling correction.
34417
34418 2012-12-15 David S. Miller <davem@davemloft.net>
34419
34420 * po/ru.po: Update from translation team.
34421
34422 2012-12-13 David S. Miller <davem@davemloft.net>
34423
34424 * NEWS: Mention IFUNC testsuite enhancements.
34425
34426 * po/pl.po: Update from translation team.
34427 * po/bg.po: Likewise.
34428
34429 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34430 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34431
34432 2012-12-11 David S. Miller <davem@davemloft.net>
34433
34434 * po/sv.po: Update from translation team.
34435
34436 * po/vi.po: Update from translation team.
34437
34438 * po/cs.po: Update from translation team.
34439
34440 * po/de.po: Update from translation team.
34441 * po/eo.po: Likewise.
34442 * po/nl.po: Likewise.
34443
34444 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34445
34446 [BZ #14246]
34447 * manual/argp.texi (Argp Helper Functions): Move node to follow
34448 Argp Parsing State.
34449
34450 [BZ #14872]
34451 * manual/conf.texi (Limits on File System Capacity): Mention if
34452 terminating null is included in the max size.
34453
34454 2012-12-10 Andreas Jaeger <aj@suse.de>
34455
34456 * po/cs.po: Update from translation team.
34457
34458 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34459
34460 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34461 void pointer and cast to uintptr_t.
34462 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34463 path.
34464 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34465 * sysdeps/s390/s390-64/memset.S: Likewise.
34466
34467 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34468
34469 [BZ #14833]
34470 * menual/message.texi (Message Translation): Fix typos.
34471 (Helper programs for gettext): Likewise.
34472
34473 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34474
34475 [BZ #14898]
34476 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34477 Change to -1.
34478
34479 2012-12-07 David S. Miller <davem@davemloft.net>
34480
34481 * po/libc.pot: Update.
34482
34483 2012-12-07 Richard Henderson <rth@redhat.com>
34484
34485 [BZ #10114]
34486 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34487 normal/normal case to before the switch.
34488 (_FP_DIV): Likewise.
34489
34490 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34491 Mike Frysinger <vapier@gentoo.org>
34492
34493 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34494 check for __NR_fadvise64_64.
34495
34496 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34497
34498 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34499 0, not just to plain "0" as a statement.
34500 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34501 with cw.
34502
34503 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34504
34505 * NEWS: Use sourceware.org in Bugzilla URL.
34506
34507 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34508
34509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34510 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34511
34512 * stdio-common/tst-put-error.c (do_test): Add newline to the
34513 padded test to ensure flush.
34514
34515 2012-12-05 Jeff Law <law@redhat.com>
34516
34517 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34518
34519 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34520
34521 * README: Don't refer to ports add-on as distributed separately.
34522 Mention AArch64 in list of systems supported in the ports add-on.
34523
34524 * LICENSES: Add more non-FSF copyright and license notices.
34525
34526 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34527 ((unused)).
34528
34529 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34530
34531 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34532 10000 as width of padded output.
34533
34534 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34535
34536 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34537
34538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34539 variable LX with __attribute__ ((unused)).
34540 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34541 Likewise.
34542 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34543 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34545 with __attribute__ ((unused)).
34546
34547 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34548
34549 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34550
34551 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34552
34553 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34554 (CFLAGS-nldbl-acos.c): New variable.
34555 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34556 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34557 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34558 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34559 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34560 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34561 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34562 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34563 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34564 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34565 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34566 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34567 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34568 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34569 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34570 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34571 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34572 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34573 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34574 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34575 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34576 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34577 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34578 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34579 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34580 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34581 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34582 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34583 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34584 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34585 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34586 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34587 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34588 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34589 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34590 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34591 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34592 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34593 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34594 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34595 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34596 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34597 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34598 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34599 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34600 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34601 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34602 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34603 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34604 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34605 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34606 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34607 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34608 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34609 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34610 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34611 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34612 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34613 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34614 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34615 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34616 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34617 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34618 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34619 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34620 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34621 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34622 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34623 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34624 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34625 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34626 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34627 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34628 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34629 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34630 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34631 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34632 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34633 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34634 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34635 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34636 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34637 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34638 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34639 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34640 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34641 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34642 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34643 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34644 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34645 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34646 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34647 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34648 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34649 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34650 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34651 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34652
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34654 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34655
34656 [BZ #14914]
34657 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34658 whole low double instead of just low 47 bits when splitting values
34659 into two parts.
34660
34661 2012-12-03 Allan McRae <allan@archlinux.org>
34662
34663 * manual/stdio.texi (Predefined Printf Handlers): Remove
34664 @hsep and @vsep usage.
34665
34666 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34667
34668 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34669 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34670
34671 2012-12-03 Jeff Law <law@redhat.com>
34672
34673 * time/sys/time.h (settimeofday): Do not mark TV argument
34674 as __nonnull.
34675
34676 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34677
34678 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34679 when currently writing and seek to current position when not.
34680 * libio/Makefile (tests): Remove bug-fclose1.
34681 * libio/bug-fclose1.c: Delete.
34682
34683 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34684
34685 * manual/arith.texi (feenableexcept): Fix typo.
34686 (fedisableexcept): Likewise.
34687
34688 2012-11-30 Roland McGrath <roland@hack.frob.com>
34689
34690 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34691 second, differently-typed declaration, rather than a cast.
34692
34693 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34694
34695 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34696 * include/rpc/svc.h: ... here.
34697
34698 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34699
34700 [BZ #13013]
34701 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34702 depending n and resplen2 to catch cases where answer
34703 equals answerp2.
34704
34705 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34706
34707 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34708 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34709
34710 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34711
34712 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34713
34714 2012-11-29 Roland McGrath <roland@hack.frob.com>
34715
34716 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34717
34718 2012-11-28 Jeff Law <law@redhat.com>
34719
34720 [BZ #13761]
34721 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34722 dataset_temporary. Track alloca usage into alloca_used.
34723 If dataset is large allocate and release it via malloc/free.
34724
34725 2012-06-04 Florian Weimer <fweimer@redhat.com>
34726
34727 [BZ #14197]
34728 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34729
34730 2012-11-28 David S. Miller <davem@davemloft.net>
34731
34732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34733
34734 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34735
34736 [BZ #14803]
34737 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34738 of pi/2 rounded to nearest to 64 bits.
34739 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34740 nearest to 64 bits.
34741 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34742 bits.
34743
34744 2012-11-28 Jeff Law <law@redhat.com>
34745 Martin Osvald <mosvald@redhat.com>
34746
34747 [BZ #14889]
34748 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34749 * sunrpc/svc.c: Include time.h.
34750 (__svc_accept_failed): New function.
34751 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34752 any reason other than EINTR, call __svc_accept_failed.
34753 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34754 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34755
34756 2012-11-28 Andreas Schwab <schwab@suse.de>
34757
34758 * scripts/abilist.awk: Also handle indirect functions in .opd
34759 section.
34760
34761 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34762
34763 [BZ #13881]
34764 * sysdeps/x86/fpu/powl_helper.c: New file.
34765 * sysdeps/x86/fpu/Makefile: Likewise.
34766 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34767 (p3): New object.
34768 (__ieee754_powl): Use __powl_helper for finite arguments except
34769 integer exponents below 8.
34770 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34771 (p3): New object.
34772 (__ieee754_powl): Use __powl_helper for finite arguments except
34773 integer exponents below 8.
34774 * math/libm-test.inc (pow_test): Add more tests and enable some
34775 previously disabled tests.
34776 * sysdeps/i386/fpu/libm-test-ulps: Update.
34777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34778
34779 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34780 Carlos O'Donell <carlos_odonell@mentor.com>
34781
34782 * nss/makedb.c (is_prime): Assert that input is odd and greater
34783 than 4. Note that fact in a comment too.
34784 (next_prime): Add 4 to input.
34785
34786 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34787
34788 [BZ #11741]
34789 * libio/Makefile (tests): Add test case tst-fwrite-error.
34790 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34791 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34792 * libio/tst-fwrite-error.c: New test case.
34793
34794 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34795
34796 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34797 before casting to void *.
34798 * include/libc-internal.h (__pointer_type): New macro.
34799 (__integer_if_pointer_type_sub): Likewise.
34800 (__integer_if_pointer_type): Likewise.
34801 (cast_to_integer): Likewise.
34802 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34803 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34804 before casting to atomic64_t.
34805 (atomic_exchange_acq): Likewise.
34806 (__arch_exchange_and_add_body): Likewise.
34807 (__arch_add_body): Likewise.
34808 (atomic_add_negative): Likewise.
34809 (atomic_add_zero): Likewise.
34810
34811 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34812
34813 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34814 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34815 (add_fdes): Likewise.
34816 (linear_search_fdes): Likewise.
34817 (binary_search_unencoded_fdes): Likewise.
34818
34819 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34820
34821 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34822
34823 2012-11-24 Adam Conrad <adconrad@0c3.net>
34824
34825 * configure.in: Autodetect C++ header directories.
34826 * configure: Regenerated.
34827
34828 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34829
34830 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34831
34832 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34833
34834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34835
34836 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34837
34838 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34839 LDBL_MANT_DIG == 106]: Disable some tests.
34840 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34841 Likewise.
34842 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34843 Likewise.
34844
34845 [BZ #14871]
34846 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34847 input for small inputs. Return +/- pi/2 for large inputs.
34848 * math/libm-test.inc (atan_test): Add more tests.
34849
34850 * sysdeps/generic/unwind-dw2-fde-glibc.c
34851 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34852 __attribute__ ((unused)).
34853
34854 [BZ #14645]
34855 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34856 x * y if x and y are nonzero and z is zero.
34857
34858 [BZ #14811]
34859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34860 nonzero exponents with absolute value below 0x1p-117 to +/-
34861 0x1p-117.
34862
34863 [BZ #14869]
34864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34865 up arguments below 2**-450, not just those below 2**-500.
34866 * math/libm-test.inc (hypot_test): Add another test.
34867
34868 [BZ #14868]
34869 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34870 Return a+b for ratio over 2**120, not 2**60.
34871 * math/libm-test.inc (hypot_test): Add another test.
34872
34873 * math/libm-test.inc (clog_test): Use
34874 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34875 (clog10_test): Likewise.
34876
34877 [BZ #6778]
34878 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34879
34880 2012-11-22 Andreas Schwab <schwab@suse.de>
34881
34882 * sysdeps/i386/fpu/libm-test-ulps: Update.
34883
34884 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34885
34886 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34887 printf output with newline.
34888
34889 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34890
34891 [BZ #14865]
34892 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34893 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34894 -z nodlopen, -z initfirst and -z execstack support.
34895 * configure: Regenerated.
34896
34897 * elf/elf.h (DF_1_NODIRECT): New macro.
34898 (DF_1_IGNMULDEF): Likewise.
34899 (DF_1_NOKSYMS): Likewise.
34900 (DF_1_NOHDR): Likewise.
34901 (DF_1_EDITED): Likewise.
34902 (DF_1_NORELOC): Likewise.
34903 (DF_1_SYMINTPOSE): Likewise.
34904 (DF_1_GLOBAUDIT): Likewise.
34905 (DF_1_SINGLETON): Likewise.
34906 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34907 DT_1_SUPPORTED_MASK bits.
34908 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34909
34910 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34911
34912 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34913
34914 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34915
34916 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34917 macro.
34918
34919 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34920 (sendmmsg): Move declarations...
34921 * socket/sys/socket.h: ... here.
34922 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34923 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34924 include it from...
34925 * socket/recvmmsg.c: ... this new file.
34926 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34927 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34928 definition of __sendmmsg hidden.
34929 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34930 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34931 Move ENOSYS stub into and include it from...
34932 * socket/sendmmsg.c: ... this new file.
34933 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34934 (sysdep_routines): Move recvmmsg and sendmmsg...
34935 * socket/Makefile (routines): ... here.
34936 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34937 (GLIBC_PRIVATE): Add __sendmmsg.
34938 * include/sys/socket.h (__sendmmsg): Add declarations.
34939 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34940 sendmmsg.
34941
34942 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34943
34944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34945 variable I1 with __attribute__ ((unused)).
34946 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34947
34948 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34949
34950 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34951 DUMMY variables with __attribute__ ((unused)).
34952
34953 * bits/byteswap.h: Include <bits/types.h>.
34954 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34955
34956 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34957
34958 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34959 string_t. Do not manually set errno.
34960 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34961 length with __strnlen. Make sure to both set errno and return it on
34962 failure.
34963
34964 2012-11-19 David S. Miller <davem@davemloft.net>
34965
34966 With help from Joseph Myers.
34967 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34968 very large arguments properly.
34969 * math/libm-test.inc (atan_test): New tests.
34970 (atan2_test): New tests.
34971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34973
34974 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34975
34976 [BZ #14856]
34977 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34978 Define to 3.
34979
34980 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34981 [POSIX] (EADDRNOTAVAIL): Likewise.
34982 [POSIX] (EAFNOSUPPORT): Likewise.
34983 [POSIX] (EALREADY): Likewise.
34984 [POSIX] (ECONNABORTED): Likewise.
34985 [POSIX] (ECONNREFUSED): Likewise.
34986 [POSIX] (ECONNRESET): Likewise.
34987 [POSIX] (EDESTADDRREQ): Likewise.
34988 [POSIX] (EDQUOT): Likewise.
34989 [POSIX] (EHOSTUNREACH): Likewise.
34990 [POSIX] (EIDRM): Likewise.
34991 [POSIX] (EISCONN): Likewise.
34992 [POSIX] (ELOOP): Likewise.
34993 [POSIX] (EMULTIHOP): Likewise.
34994 [POSIX] (ENETDOWN): Likewise.
34995 [POSIX] (ENETUNREACH): Likewise.
34996 [POSIX] (ENOBUFS): Likewise.
34997 [POSIX] (ENODATA): Likewise.
34998 [POSIX] (ENOLINK): Likewise.
34999 [POSIX] (ENOMSG): Likewise.
35000 [POSIX] (ENOPROTOOPT): Likewise.
35001 [POSIX] (ENOSR): Likewise.
35002 [POSIX] (ENOSTR): Likewise.
35003 [POSIX] (ENOTCONN): Likewise.
35004 [POSIX] (ENOTSOCK): Likewise.
35005 [POSIX] (EOPNOTSUPP): Likewise.
35006 [POSIX] (EOVERFLOW): Likewise.
35007 [POSIX] (EPROTO): Likewise.
35008 [POSIX] (EPROTONOSUPPORT): Likewise.
35009 [POSIX] (EPROTOTYPE): Likewise.
35010 [POSIX] (ESTALE): Likewise.
35011 [POSIX] (ETIME): Likewise.
35012 [POSIX] (ETXTBSY): Likewise.
35013 [POSIX] (EWOULDBLOCK): Likewise.
35014 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35015 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35016 [POSIX] (SEEK_CUR): Likewise.
35017 [POSIX] (SEEK_END): Likewise.
35018 [POSIX || UNIX98] (mode_t): Do not require.
35019 [POSIX] (off_t): Likewise.
35020 [POSIX] (pid_t): Likewise.
35021 [POSIX] (sys/stat.h): Do not allow header.
35022 [POSIX] (unistd.h): Likewise.
35023 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35024 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35025 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35026 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35027 require.
35028 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35029 sigevent): Specify elements.
35030 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35031 entry.
35032 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35033 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35034
35035 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35036 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35037 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35038 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35039 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35040 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35041 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35042 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35043 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35044 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35045 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35046 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35047 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35048 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35049 Likewise.
35050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35051 Likewise.
35052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35053 Likewise.
35054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35055 Likewise.
35056 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35057 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35058 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35060 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35061 Specify lower bound on value.
35062 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35063 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35064 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35065 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35066 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35067 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35068 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35069 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35070 value.
35071 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35072 as optional.
35073 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35074 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35075 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35076 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35077 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35078 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35079 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35080 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35081 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35082 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35083 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35084 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35085 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35086 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35087 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35088 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35089 entry.
35090 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35091 optional.
35092 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35093 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35094 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35095 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35096 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35097 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35098 Likewise.
35099 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35100 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35101 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35102 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35103 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35104 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35106 as optional.
35107 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35108 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35110 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35111 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35112 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35113 specify as optional.
35114 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35115 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35116 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35117 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35118 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35119 [XPG3] (NL_LANGMAX): Likewise.
35120 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35121 [POSIX || XPG3] (NL_NMAX): Likewise.
35122 [POSIX || XPG3] (NL_SETMAX): Likewise.
35123 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35124 [XPG3] (NZERO): Likewise.
35125 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35126 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35127 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35128 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35129 (REG_ERANGE): Expect.
35130 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35131 optional-constant.
35132 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35133 Use (void) in prototype.
35134 [POSIX] (*_t): Allow.
35135 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35136 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35137 (WRDE_BADVAL): Expect.
35138
35139 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35140 expect.
35141 [XPG3 || XPG4] (O_RSYNC): Likewise.
35142 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35143 Likewise.
35144 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35145 [XPG3 || XPG4] (sigqueue): Likewise.
35146 [XPG3 || XPG4] (sigtimedwait): Likewise.
35147 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35148 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35149 [XPG3 || XPG4] (vsnprintf): Likewise.
35150 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35151 Likewise.
35152 [XPG3 || XPG4] (blksize_t): Likewise.
35153 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35154 Likewise.
35155 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35156 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35157 [XPG3 || XPG4] (struct itimerspec): Likewise.
35158 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35159 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35160 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35161 [XPG3 || XPG4] (clockid_t): Likewise.
35162 [XPG3 || XPG4] (timer_t): Likewise.
35163 [XPG3 || XPG4] (clock_getres): Likewise.
35164 [XPG3 || XPG4] (clock_gettime): Likewise.
35165 [XPG3 || XPG4] (clock_settime): Likewise.
35166 [XPG3 || XPG4] (nanosleep): Likewise.
35167 [XPG3 || XPG4] (timer_create): Likewise.
35168 [XPG3 || XPG4] (timer_delete): Likewise.
35169 [XPG3 || XPG4] (timer_gettime): Likewise.
35170 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35171 [XPG3 || XPG4] (timer_settime): Likewise.
35172 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35173 [XPG3 || XPG4] (getlogin_r): Likewise.
35174 [XPG3 || XPG4] (pread): Likewise.
35175 [XPG3 || XPG4] (pthread_atfork): Likewise.
35176 [XPG3 || XPG4] (pwrite): Likewise.
35177
35178 [BZ #14835]
35179 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35180 <bits/siginfo.h>.
35181
35182 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35183
35184 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35185 finalizing MALLSTREAM.
35186
35187 * sysdeps/mach/hurd/syncfs.c: New file.
35188
35189 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35190
35191 [BZ #14719]
35192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35193 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35194 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35195 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35196 (_nss_dns_gethostbyname4_r): Likewise.
35197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35198 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35199
35200 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35201
35202 [BZ #13763]
35203 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35204
35205 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35206
35207 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35208 * elf/cache.c (print_entry): Print ",AArch64" for
35209 FLAG_AARCH64_LIB64
35210
35211 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35212 * elf/cache.c (print_entry): Print ",hard-float" for
35213 FLAG_ARM_LIBHF.
35214
35215 2012-11-18 David S. Miller <davem@davemloft.net>
35216
35217 With help from Joseph Myers.
35218 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35219 cutoff to 2**-13.
35220 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35221 cutoff to 2**-25.
35222 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35223 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35224 small.
35225 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35226 * math/libm-test.inc (y0_test): New tests.
35227 (y1_test): New tests.
35228 * sysdeps/i386/fpu/libm-test-ulps: Update.
35229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35231
35232 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35233
35234 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35235 64-bit targets.
35236 * configure: Regenerated.
35237
35238 2012-11-17 David S. Miller <davem@davemloft.net>
35239
35240 [BZ #14811]
35241 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35242 nonzero exponents with absolute value below 0x1p-128 to +/-
35243 0x1p-128.
35244
35245 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35246
35247 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35248
35249 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35250
35251 * posix/getconf-speclist.c: New file.
35252 * posix/posix-envs.def: Likewise.
35253 * posix/confstr.c (START_ENV_GROUP): New macro.
35254 (END_ENV_GROUP): Likewise.
35255 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35256 (KNOWN_PRESENT_ENV_STRING): Likewise.
35257 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35258 (UNKNOWN_ENVIRONMENT): Likewise.
35259 (confstr): Include posix-envs.def instead of handling
35260 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35261 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35262 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35263 (END_ENV_GROUP): Likewise.
35264 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35265 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35266 (UNKNOWN_ENVIRONMENT): Likewise.
35267 (__sysconf): Include posix-envs.def instead of handling associated
35268 cases directly here.
35269 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35270 preprocessing getconf-speclist.c rather than running getconf or
35271 generating empty file.
35272
35273 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35274
35275 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35276
35277 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35278
35279 [BZ #14672]
35280 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35281
35282 2012-11-16 David S. Miller <davem@davemloft.net>
35283
35284 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35285 smaller than LDBL_EPSILON/2.0L, just return xm1.
35286
35287 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35288
35289 * elf/tst-array1.c (init): Set constructor priority to 1000.
35290 (fini): Set destructor priority to 1000.
35291 * elf/tst-array2dep.c: Likewise.
35292
35293 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35294
35295 [BZ #11741]
35296 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35297 (_IO_new_file_xsputn): Also return EOF if none of the input
35298 data was written when overflow failed.
35299 * libio/iopadn.c (_IO_padn): Likewise.
35300 * libio/iowpadn.c (_IO_wpadn): Likewise.
35301 * stdio-common/tst-put-error.c: Add copyright notice.
35302 (do_test): Add case for printing padded string.
35303 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35304 _IO_padn returned error.
35305 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35306 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35307 return EOF.
35308
35309 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35310
35311 * libio/libioP.h: Add comment note that the references to C++
35312 bits are now obsolete.
35313
35314 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35315
35316 * math/libm-test.inc (check_complex): Use asprintf.
35317
35318 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35319
35320 * debug/pcprofiledump.c (print_version): Update copyright year.
35321 * malloc/memusagestat.c (print_version): Likewise.
35322
35323 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35324
35325 [BZ #14831]
35326 * elf/Makefile (tests): Add tst-audit8.
35327 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35328 ($(objpfx)tst-audit8.out): New target.
35329 (tst-audit8-ENV): New variable.
35330 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35331 audit if l_reloc_result is NULL.
35332 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35333 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35334 * elf/tst-audit8.c: New file.
35335
35336 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35337
35338 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35339 * misc/Makefile (CFLAGS-select.c): Define.
35340 * posix/Makefile (CFLAGS-pause.c): Define.
35341
35342 2012-11-13 David S. Miller <davem@davemloft.net>
35343
35344 * crypt/Makefile: Move test targets after toplevel Rules
35345 inclusion. Grab any necessary sysdep routines when linking.
35346 * crypt/md5.c (md5_process_block): Remove define, we will always
35347 name it __md5_process_block.
35348 (md5_finish_ctx): Update md5_process_block call.
35349 (md5_stream): Likewise.
35350 (md5_process_bytes): Likewise.
35351 (md5_process_block): Rename to __md5_process_block and move to ...
35352 * crypt/md5-block.c: ... here.
35353 * crypt/sha256.c (sha256_process_block): Move to ...
35354 * crypt/sha256-block.c: ... here.
35355 * crypt/sha512.c (sha512_process_block): Move to ...
35356 * crypt/sha512-block.c: ... here.
35357 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35358 path.
35359 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35360 * sysdeps/sparc/sparc64/multiarch/Makefile
35361 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35362 crypt subdir.
35363 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35364 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35365 multiarch changes.
35366 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35367 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35368 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35369 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35370 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35371 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35372 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35373 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35375 file.
35376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35377 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35378 file.
35379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35380
35381 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35382
35383 * timezone/tzselect.ksh: Update from tzcode git revision
35384 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35385 * timezone/zdump.c: Likewise.
35386 * timezone/zic.c: Likewise.
35387 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35388 in TZVERSION setting, not $(PKGVERSION).
35389 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35390 REPORT_BUGS_TO settings.
35391
35392 [BZ #14838]
35393 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35394 macro.
35395
35396 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35397
35398 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35399 detection to immediately after _FP_ROUND().
35400 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35401 bits are 0.
35402
35403 2012-11-11 David S. Miller <davem@davemloft.net>
35404
35405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35406 inttypes.h
35407 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35408 __close rather than their public counterparts.
35409
35410 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35411
35412 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35413 file.
35414 [UNIX98] (sem_timedwait): Do not expect.
35415 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35416 [XPG4 || UNIX98] (sockatmark): Do not expect.
35417 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35418 (clock_getcpuclockid): Do not expect.
35419 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35420 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35421 Do not expect.
35422 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35423 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35424 [UNIX98] (vwscanf): Likewise.
35425 [UNIX98] (vswscanf): Likewise.
35426
35427 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35428
35429 * timezone/version.h: Remove file.
35430 * timezone/README: Do not refer to version.h.
35431 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35432 $(objpfx)version.h.
35433 ($(objpfx)zdump.o): Likewise.
35434 ($(objpfx)version.h): New target.
35435
35436 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35437 2012i.
35438 * timezone/README: Don't mention modification to tzselect.ksh.
35439 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35440 work on unmodified tzselect.ksh. Substitute version numbers in
35441 tzselect.ksh.
35442
35443 * Makefile (format-me): Remove.
35444 (INSTALL): Adjust indentation. Use commands directly instead of
35445 using $(format-me).
35446
35447 * aclocal.m4 (ACX_PKGVERSION): New macro.
35448 (ACX_BUGURL): Likewise.
35449 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35450 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35451 (REPORT_BUGS_TO): Likewise.
35452 * configure: Regenerated.
35453 * config.h.in (PKGVERSION): New macro.
35454 (REPORT_BUGS_TO): Likewise.
35455 * config.make.in (PKGVERSION): New variable.
35456 (PKGVERSION_TEXI): Likewise.
35457 (REPORT_BUGS_TO): Likewise.
35458 (REPORT_BUGS_TEXI): Likewise.
35459 * Makefile (format-me): Use -I$(common-objpfx)manual.
35460 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35461 ($(common-objpfx)manual/%): New target.
35462 (manual/%): Remove target.
35463 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35464 (print_version): Use PKGVERSION.
35465 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35466 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35467 and REPORT_BUGS_TO.
35468 ($(objpfx)xtrace): Likewise.
35469 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35470 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35471 (print_version): Use PKGVERSION.
35472 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35473 (do_version): Use PKGVERSION.
35474 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35475 REPORT_BUGS_TO.
35476 (common-ldd-rewrite): Likewise.
35477 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35478 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35479 (print_version): Use PKGVERSION.
35480 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35481 * elf/pldd.c (argp_program_bug_address): Remove variable.
35482 (more_help): New function.
35483 (argp): Use more_help.
35484 (print_version): Use PKGVERSION.
35485 * elf/sln.c (main): Use PKGVERSION.
35486 (usage): Use REPORT_BUGS_TO.
35487 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35488 (top level): Use PKGVERSION.
35489 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35490 (print_version): Use PKGVERSION.
35491 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35492 (print_version): Use PKGVERSION.
35493 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35494 (print_version): Use PKGVERSION.
35495 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35496 (print_version): Use PKGVERSION.
35497 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35498 (print_version): Use PKGVERSION.
35499 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35500 (print_version): Use PKGVERSION.
35501 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35502 and BUGURL.
35503 ($(objpfx)memusage): Likewise.
35504 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35505 (do_version): Use PKGVERSION.
35506 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35507 (print_version): Use PKGVERSION.
35508 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35509 ($PKGVERSION): New variable.
35510 ($REPORT_BUGS_TO): Likewise.
35511 (usage): Use $REPORT_BUGS_TO.
35512 (top level): Use $PKGVERSION.
35513 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35514 ($(objpfx)pkgvers.texi): New rule.
35515 ($(objpfx)stamp-pkgvers): Likewise.
35516 * manual/install.texi: Include pkgvers.texi.
35517 (--with-pkgversion): Document new configure option.
35518 (--with-bugurl): Likewise.
35519 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35520 than necessarily for this particular distribution. Use
35521 REPORT_BUGS_TO for where to report bugs.
35522 * INSTALL: Regenerated.
35523 * manual/libc.texinfo: Include pkgvers.texi.
35524 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35525 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35526 (print_version): Use PKGVERSION.
35527 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35528 (print_version): Use PKGVERSION.
35529 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35530 (print_version): Use PKGVERSION.
35531 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35532 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35533 macro.
35534 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35535 (print_version): Use PKGVERSION.
35536 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35537 (print_version): Use PKGVERSION.
35538 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35539 and PKGVERSION.
35540
35541 * timezone/checktab.awk: Update from tzcode 2012i.
35542 * timezone/ialloc.c: Likewise.
35543 * timezone/private.h: Likewise.
35544 * timezone/scheck.c: Likewise.
35545 * timezone/tzfile.h: Likewise.
35546 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35547 (TZVERSION): Hardcode tzcode version number.
35548 * timezone/zdump.c: Update from tzcode 2012i.
35549 * timezone/zic.c: Likewise.
35550 * timezone/version.h: New file.
35551 * timezone/README: Describe version.h. Update upstream location.
35552
35553 [BZ #14824]
35554 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35555 (mktemp): Enable declaration.
35556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35557 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35560 Likewise.
35561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35562 Likewise.
35563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35564 Likewise.
35565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35566 Likewise.
35567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35568 Likewise.
35569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35570 Likewise.
35571
35572 [BZ #14821]
35573 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35574 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35575 for copies of such integer values.
35576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35578
35579 2012-11-09 Andreas Jaeger <aj@suse.de>
35580
35581 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35582 definitions and declarations that are provided by
35583 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35584
35585 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35586
35587 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35588 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35589 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35590 definition.
35591
35592 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35593
35594 * elf/elf.h: Update comment before AArch64 relocations.
35595
35596 2012-11-07 David S. Miller <davem@davemloft.net>
35597
35598 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35599 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35600 (__start_context): Declare.
35601 (__makecontext_ret): Delete.
35602 (__makecontext): Hook up __start_context instead of
35603 __makecontext_ret.
35604 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35605 (sysdep_routines): Add __start_context when in stdlib.
35606
35607 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35608
35609 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35610 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35611 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35612 hardcoded "nm".
35613 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35614 (READELF): New variable. Use it instead of hardcoded "readelf".
35615
35616 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35617
35618 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35619 * sysdeps/x86/Makefile: Here.
35620 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35621 * sysdeps/x86/tst-xmmymm.sh: This.
35622
35623 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35624
35625 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35626 expectations.
35627 [UNIX98] (pthread_barrier_t): Do not expect.
35628 [UNIX98] (pthread_barrierattr_t): Likewise.
35629 [UNIX98] (pthread_spinlock_t): Likewise.
35630 [UNIX98] (pthread_barrier_destroy): Likewise.
35631 [UNIX98] (pthread_barrier_init): Likewise.
35632 [UNIX98] (pthread_barrier_wait): Likewise.
35633 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35634 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35635 [UNIX98] (pthread_barrierattr_init): Likewise.
35636 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35637 [UNIX98] (pthread_getcpuclockid): Likewise.
35638 [UNIX98] (pthread_mutex_timedlock): Likewise.
35639 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35640 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35641 [UNIX98] (pthread_sigmask): Likewise.
35642 [UNIX98] (pthread_spin_destroy): Likewise.
35643 [UNIX98] (pthread_spin_init): Likewise.
35644 [UNIX98] (pthread_spin_lock): Likewise.
35645 [UNIX98] (pthread_spin_trylock): Likewise.
35646 [UNIX98] (pthread_spin_unlock): Likewise.
35647 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35648 Do not expect.
35649 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35650 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35651 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35652 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35653 [XPG3 || XPG4] (pthread_key_t): Likewise.
35654 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35655 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35656 [XPG3 || XPG4] (pthread_once_t): Likewise.
35657 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35658 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35659 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35660 [XPG3 || XPG4] (pthread_t): Likewise.
35661
35662 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35663 not expect.
35664 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35665
35666 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35667 Change function return type to int.
35668
35669 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35670 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35671 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35672 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35673 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35674 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35675 [!POSIX] (posix_madvise): Likewise.
35676 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35677 && !UNIX98].
35678 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35679 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35680 (mode_t): Likewise.
35681 (posix_mem_offset): Likewise.
35682 (posix_typed_mem_get_info): Likewise.
35683 (posix_typed_mem_open): Likewise.
35684
35685 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35686 Change condition to [XOPEN2K8].
35687
35688 * conform/conformtest.pl: Preprocess allow-header data with -x c
35689 instead of from stdin.
35690 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35691 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35692 [C99-based standards] (cerfc): Likewise.
35693 [C99-based standards] (cexp2): Likewise.
35694 [C99-based standards] (cexpm1): Likewise.
35695 [C99-based standards] (clog10): Likewise.
35696 [C99-based standards] (clog1p): Likewise.
35697 [C99-based standards] (clog2): Likewise.
35698 [C99-based standards] (clgamma): Likewise.
35699 [C99-based standards] (ctgamma): Likewise.
35700 [C99-based standards] (cerff): Likewise.
35701 [C99-based standards] (cerfcf): Likewise.
35702 [C99-based standards] (cexp2f): Likewise.
35703 [C99-based standards] (cexpm1f): Likewise.
35704 [C99-based standards] (clog10f): Likewise.
35705 [C99-based standards] (clog1pf): Likewise.
35706 [C99-based standards] (clog2f): Likewise.
35707 [C99-based standards] (clgammaf): Likewise.
35708 [C99-based standards] (ctgammaf): Likewise.
35709 [C99-based standards] (cerfl): Likewise.
35710 [C99-based standards] (cerfcl): Likewise.
35711 [C99-based standards] (cexp2l): Likewise.
35712 [C99-based standards] (cexpm1l): Likewise.
35713 [C99-based standards] (clog10l): Likewise.
35714 [C99-based standards] (clog1pl): Likewise.
35715 [C99-based standards] (clog2l): Likewise.
35716 [C99-based standards] (clgammal): Likewise.
35717 [C99-based standards] (ctgammal): Likewise.
35718 * conform/data/inttypes.h-data [C99-based standards]: Include
35719 stdint.h-data. Remove all expectations for stdint.h contents.
35720 [C99-based standards] (PRI*): Do not allow.
35721 [C99-based standards] (SCN*): Likewise.
35722 [C99-based standards] (*_t): Likewise.
35723 [C99-based-standards] (PRId8): Expect macro.
35724 [C99-based-standards] (PRIi8): Likewise.
35725 [C99-based-standards] (PRIo8): Likewise.
35726 [C99-based-standards] (PRIu8): Likewise.
35727 [C99-based-standards] (PRIx8): Likewise.
35728 [C99-based-standards] (PRIX8): Likewise.
35729 [C99-based-standards] (SCNd8): Likewise.
35730 [C99-based-standards] (SCNi8): Likewise.
35731 [C99-based-standards] (SCNo8): Likewise.
35732 [C99-based-standards] (SCNu8): Likewise.
35733 [C99-based-standards] (SCNx8): Likewise.
35734 [C99-based-standards] (PRIdLEAST8): Likewise.
35735 [C99-based-standards] (PRIiLEAST8): Likewise.
35736 [C99-based-standards] (PRIoLEAST8): Likewise.
35737 [C99-based-standards] (PRIuLEAST8): Likewise.
35738 [C99-based-standards] (PRIxLEAST8): Likewise.
35739 [C99-based-standards] (PRIXLEAST8): Likewise.
35740 [C99-based-standards] (SCNdLEAST8): Likewise.
35741 [C99-based-standards] (SCNiLEAST8): Likewise.
35742 [C99-based-standards] (SCNoLEAST8): Likewise.
35743 [C99-based-standards] (SCNuLEAST8): Likewise.
35744 [C99-based-standards] (SCNxLEAST8): Likewise.
35745 [C99-based-standards] (PRIdFAST8): Likewise.
35746 [C99-based-standards] (PRIiFAST8): Likewise.
35747 [C99-based-standards] (PRIoFAST8): Likewise.
35748 [C99-based-standards] (PRIuFAST8): Likewise.
35749 [C99-based-standards] (PRIxFAST8): Likewise.
35750 [C99-based-standards] (PRIXFAST8): Likewise.
35751 [C99-based-standards] (SCNdFAST8): Likewise.
35752 [C99-based-standards] (SCNiFAST8): Likewise.
35753 [C99-based-standards] (SCNoFAST8): Likewise.
35754 [C99-based-standards] (SCNuFAST8): Likewise.
35755 [C99-based-standards] (SCNxFAST8): Likewise.
35756 [C99-based-standards] (PRId16): Likewise.
35757 [C99-based-standards] (PRIi16): Likewise.
35758 [C99-based-standards] (PRIo16): Likewise.
35759 [C99-based-standards] (PRIu16): Likewise.
35760 [C99-based-standards] (PRIx16): Likewise.
35761 [C99-based-standards] (PRIX16): Likewise.
35762 [C99-based-standards] (SCNd16): Likewise.
35763 [C99-based-standards] (SCNi16): Likewise.
35764 [C99-based-standards] (SCNo16): Likewise.
35765 [C99-based-standards] (SCNu16): Likewise.
35766 [C99-based-standards] (SCNx16): Likewise.
35767 [C99-based-standards] (PRIdLEAST16): Likewise.
35768 [C99-based-standards] (PRIiLEAST16): Likewise.
35769 [C99-based-standards] (PRIoLEAST16): Likewise.
35770 [C99-based-standards] (PRIuLEAST16): Likewise.
35771 [C99-based-standards] (PRIxLEAST16): Likewise.
35772 [C99-based-standards] (PRIXLEAST16): Likewise.
35773 [C99-based-standards] (SCNdLEAST16): Likewise.
35774 [C99-based-standards] (SCNiLEAST16): Likewise.
35775 [C99-based-standards] (SCNoLEAST16): Likewise.
35776 [C99-based-standards] (SCNuLEAST16): Likewise.
35777 [C99-based-standards] (SCNxLEAST16): Likewise.
35778 [C99-based-standards] (PRIdFAST16): Likewise.
35779 [C99-based-standards] (PRIiFAST16): Likewise.
35780 [C99-based-standards] (PRIoFAST16): Likewise.
35781 [C99-based-standards] (PRIuFAST16): Likewise.
35782 [C99-based-standards] (PRIxFAST16): Likewise.
35783 [C99-based-standards] (PRIXFAST16): Likewise.
35784 [C99-based-standards] (SCNdFAST16): Likewise.
35785 [C99-based-standards] (SCNiFAST16): Likewise.
35786 [C99-based-standards] (SCNoFAST16): Likewise.
35787 [C99-based-standards] (SCNuFAST16): Likewise.
35788 [C99-based-standards] (SCNxFAST16): Likewise.
35789 [C99-based-standards] (PRId32): Likewise.
35790 [C99-based-standards] (PRIi32): Likewise.
35791 [C99-based-standards] (PRIo32): Likewise.
35792 [C99-based-standards] (PRIu32): Likewise.
35793 [C99-based-standards] (PRIx32): Likewise.
35794 [C99-based-standards] (PRIX32): Likewise.
35795 [C99-based-standards] (SCNd32): Likewise.
35796 [C99-based-standards] (SCNi32): Likewise.
35797 [C99-based-standards] (SCNo32): Likewise.
35798 [C99-based-standards] (SCNu32): Likewise.
35799 [C99-based-standards] (SCNx32): Likewise.
35800 [C99-based-standards] (PRIdLEAST32): Likewise.
35801 [C99-based-standards] (PRIiLEAST32): Likewise.
35802 [C99-based-standards] (PRIoLEAST32): Likewise.
35803 [C99-based-standards] (PRIuLEAST32): Likewise.
35804 [C99-based-standards] (PRIxLEAST32): Likewise.
35805 [C99-based-standards] (PRIXLEAST32): Likewise.
35806 [C99-based-standards] (SCNdLEAST32): Likewise.
35807 [C99-based-standards] (SCNiLEAST32): Likewise.
35808 [C99-based-standards] (SCNoLEAST32): Likewise.
35809 [C99-based-standards] (SCNuLEAST32): Likewise.
35810 [C99-based-standards] (SCNxLEAST32): Likewise.
35811 [C99-based-standards] (PRIdFAST32): Likewise.
35812 [C99-based-standards] (PRIiFAST32): Likewise.
35813 [C99-based-standards] (PRIoFAST32): Likewise.
35814 [C99-based-standards] (PRIuFAST32): Likewise.
35815 [C99-based-standards] (PRIxFAST32): Likewise.
35816 [C99-based-standards] (PRIXFAST32): Likewise.
35817 [C99-based-standards] (SCNdFAST32): Likewise.
35818 [C99-based-standards] (SCNiFAST32): Likewise.
35819 [C99-based-standards] (SCNoFAST32): Likewise.
35820 [C99-based-standards] (SCNuFAST32): Likewise.
35821 [C99-based-standards] (SCNxFAST32): Likewise.
35822 [C99-based-standards] (PRId64): Likewise.
35823 [C99-based-standards] (PRIi64): Likewise.
35824 [C99-based-standards] (PRIo64): Likewise.
35825 [C99-based-standards] (PRIu64): Likewise.
35826 [C99-based-standards] (PRIx64): Likewise.
35827 [C99-based-standards] (PRIX64): Likewise.
35828 [C99-based-standards] (SCNd64): Likewise.
35829 [C99-based-standards] (SCNi64): Likewise.
35830 [C99-based-standards] (SCNo64): Likewise.
35831 [C99-based-standards] (SCNu64): Likewise.
35832 [C99-based-standards] (SCNx64): Likewise.
35833 [C99-based-standards] (PRIdLEAST64): Likewise.
35834 [C99-based-standards] (PRIiLEAST64): Likewise.
35835 [C99-based-standards] (PRIoLEAST64): Likewise.
35836 [C99-based-standards] (PRIuLEAST64): Likewise.
35837 [C99-based-standards] (PRIxLEAST64): Likewise.
35838 [C99-based-standards] (PRIXLEAST64): Likewise.
35839 [C99-based-standards] (SCNdLEAST64): Likewise.
35840 [C99-based-standards] (SCNiLEAST64): Likewise.
35841 [C99-based-standards] (SCNoLEAST64): Likewise.
35842 [C99-based-standards] (SCNuLEAST64): Likewise.
35843 [C99-based-standards] (SCNxLEAST64): Likewise.
35844 [C99-based-standards] (PRIdFAST64): Likewise.
35845 [C99-based-standards] (PRIiFAST64): Likewise.
35846 [C99-based-standards] (PRIoFAST64): Likewise.
35847 [C99-based-standards] (PRIuFAST64): Likewise.
35848 [C99-based-standards] (PRIxFAST64): Likewise.
35849 [C99-based-standards] (PRIXFAST64): Likewise.
35850 [C99-based-standards] (SCNdFAST64): Likewise.
35851 [C99-based-standards] (SCNiFAST64): Likewise.
35852 [C99-based-standards] (SCNoFAST64): Likewise.
35853 [C99-based-standards] (SCNuFAST64): Likewise.
35854 [C99-based-standards] (SCNxFAST64): Likewise.
35855 [C99-based-standards] (PRIdMAX): Likewise.
35856 [C99-based-standards] (PRIiMAX): Likewise.
35857 [C99-based-standards] (PRIoMAX): Likewise.
35858 [C99-based-standards] (PRIuMAX): Likewise.
35859 [C99-based-standards] (PRIxMAX): Likewise.
35860 [C99-based-standards] (PRIXMAX): Likewise.
35861 [C99-based-standards] (SCNdMAX): Likewise.
35862 [C99-based-standards] (SCNiMAX): Likewise.
35863 [C99-based-standards] (SCNoMAX): Likewise.
35864 [C99-based-standards] (SCNuMAX): Likewise.
35865 [C99-based-standards] (SCNxMAX): Likewise.
35866 [C99-based-standards] (PRIdPTR): Likewise.
35867 [C99-based-standards] (PRIiPTR): Likewise.
35868 [C99-based-standards] (PRIoPTR): Likewise.
35869 [C99-based-standards] (PRIuPTR): Likewise.
35870 [C99-based-standards] (PRIxPTR): Likewise.
35871 [C99-based-standards] (PRIXPTR): Likewise.
35872 [C99-based-standards] (SCNdPTR): Likewise.
35873 [C99-based-standards] (SCNiPTR): Likewise.
35874 [C99-based-standards] (SCNoPTR): Likewise.
35875 [C99-based-standards] (SCNuPTR): Likewise.
35876 [C99-based-standards] (SCNxPTR): Likewise.
35877 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35878 allow.
35879 * conform/data/stdint.h-data: Update comments to clarify
35880 requirements.
35881 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35882 type.
35883 [C99-based standards] (INT8_MAX): Likewise.
35884 [C99-based standards] (INT16_MIN): Likewise.
35885 [C99-based standards] (INT16_MAX): Likewise.
35886 [C99-based standards] (INT32_MIN): Likewise.
35887 [C99-based standards] (INT32_MAX): Likewise.
35888 [C99-based standards] (INT64_MIN): Likewise.
35889 [C99-based standards] (INT64_MAX): Likewise.
35890 [C99-based standards] (UINT8_MAX): Likewise.
35891 [C99-based standards] (UINT16_MAX): Likewise.
35892 [C99-based standards] (UINT32_MAX): Likewise.
35893 [C99-based standards] (UINT64_MAX): Likewise.
35894 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35895 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35896 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35897 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35898 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35899 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35900 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35901 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35902 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35903 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35904 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35905 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35906 [C99-based standards] (INT_FAST8_MIN): Likewise.
35907 [C99-based standards] (INT_FAST8_MAX): Likewise.
35908 [C99-based standards] (INT_FAST16_MIN): Likewise.
35909 [C99-based standards] (INT_FAST16_MAX): Likewise.
35910 [C99-based standards] (INT_FAST32_MIN): Likewise.
35911 [C99-based standards] (INT_FAST32_MAX): Likewise.
35912 [C99-based standards] (INT_FAST64_MIN): Likewise.
35913 [C99-based standards] (INT_FAST64_MAX): Likewise.
35914 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35915 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35916 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35917 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35918 [C99-based standards] (INTPTR_MIN): Likewise.
35919 [C99-based standards] (INTPTR_MAX): Likewise.
35920 [C99-based standards] (UINTPTR_MAX): Likewise.
35921 [C99-based standards] (INTMAX_MIN): Likewise.
35922 [C99-based standards] (INTMAX_MAX): Likewise.
35923 [C99-based standards] (UINTMAX_MAX): Likewise.
35924 [C99-based standards] (PTRDIFF_MIN): Likewise.
35925 [C99-based standards] (PTRDIFF_MAX): Likewise.
35926 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35927 [C99-based standards] (SIZE_MAX): Likewise.
35928 [C99-based standards] (WCHAR_MAX): Likewise.
35929 [C99-based standards] (WINT_MAX): Likewise.
35930 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35931 constraint on value.
35932 [C99-based standards] (WCHAR_MIN): Likewise.
35933 [C99-based standards] (WINT_MIN): Likewise.
35934 [C99-based standards] (*_t): Allow.
35935 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35936 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35937 Include math.h-data and complex.h-data. Remove all expectations
35938 of math.h and complex.h contents.
35939 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35940 at end of line.
35941 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35942 (struct tm): Expect tag.
35943 [C99-based-standards] (wcstof): Expect function.
35944 [C99-based-standards] (wcstold): Likewise.
35945 [C99-based-standards] (wcstoll): Likewise.
35946 [C99-based-standards] (wcstoull): Likewise.
35947 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35948 macro-int-constant. Specify type.
35949 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35950 constraint on value.
35951 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35952 Specify type.
35953 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35954 Specify value.
35955 [ISO C standards]: Do not allow headers.
35956 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35957 wcs[abcdefghijklmnopqrstuvwxyz]*.
35958 [ISO C standards] (*_t): Do not allow.
35959 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35960 Expect function.
35961 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35962 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35963 Specify type.
35964 [ISO C standards]: Do not allow headers.
35965 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35966 is[abcdefghijklmnopqrstuvwxyz]*.
35967 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35968 to[abcdefghijklmnopqrstuvwxyz]*.
35969 [ISO C standards] (*_t): Do not allow.
35970 * conform/data/stdalign.h-data: New file.
35971 * conform/data/stdbool.h-data: Likewise.
35972 * conform/data/stdnoreturn.h-data: Likewise.
35973
35974 2012-11-07 Roland McGrath <roland@hack.frob.com>
35975
35976 [BZ #14815]
35977 * manual/filesys.texi (Directory Entries): Typo fix.
35978 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35979
35980 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35981
35982 * elf/elf.h (EM_AARCH64): New macro.
35983 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35984 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35985 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35986 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35987 (R_AARCH64_TLSDESC): Likewise.
35988 (NT_ARM_TLS): Likewise.
35989 (NT_ARM_HW_BREAK): Likewise.
35990 (NT_ARM_HW_WATCH): Likewise.
35991
35992 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35993
35994 [BZ #14811]
35995 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35996 (__ieee754_powl): Saturate nonzero exponents with absolute value
35997 below 0x1p-79 to +/- 0x1p-79.
35998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35999 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36000 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36001 nonzero exponents with absolute value below 0x1p-32 to +/-
36002 0x1p-32.
36003 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36004 (__ieee754_powl): Saturate nonzero exponents with absolute value
36005 below 0x1p-79 to +/- 0x1p-79.
36006 * math/libm-test.inc (pow_test): Add more tests.
36007
36008 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36009
36010 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36011 _dl_s390_cap_flags with kernel. Increase string length.
36012 (_dl_s390_platforms): Add z196 and zEC12.
36013
36014 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36015
36016 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36017 Change XOPEN21K to XOPEN2K.
36018
36019 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36020
36021 * string/memmove.c: Use memcpy when possible.
36022
36023 2012-11-06 Andreas Jaeger <aj@suse.de>
36024
36025 * po/eo.po: Update from translation team.
36026
36027 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36028
36029 [BZ #14793]
36030 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36031 exponent and small x and y exponents, scale x or y up. Increase
36032 by 2 the exponent used in scaling up.
36033 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36034 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36035 * math/libm-test.inc (fma_test): Add more tests.
36036 (fma_test_towardzero): Likewise.
36037 (fma_test_downward): Likewise.
36038 (fma_test_upward): Likewise.
36039
36040 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36041
36042 [BZ #14805]
36043 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36044 fenv_t *.
36045
36046 [BZ #14801]
36047 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36048 namespace for names of struct fields.
36049 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36050 fenv_t fields.
36051 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36052 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36053
36054 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36055
36056 [BZ #3665]
36057 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36058
36059 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36060
36061 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36062 PTR_DEMANGLE.
36063
36064 [BZ #5246]
36065 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36066 PTR_DEMANGLE.
36067
36068 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36069
36070 [BZ #14797]
36071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36072 definitely overflow as x * y not x * y + z.
36073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36075 * math/libm-test.inc (fma_test): Add more tests.
36076 (fma_test_towardzero): Likewise.
36077 (fma_test_downward): Likewise.
36078 (fma_test_upward): Likewise.
36079
36080 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36081
36082 [BZ #157]
36083
36084 * include/stub-tag.h: Remove file.
36085 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36086 '#include' of it.
36087 * manual/maint.texi (Porting): Don't reference it.
36088 * Makerules ($(objpfx)stubs): Likewise.
36089 * dirent/closedir.c: Don't include <stub-tag.h>.
36090 * dirent/dirfd.c: Likewise.
36091 * dirent/fdopendir.c: Likewise.
36092 * dirent/getdents.c: Likewise.
36093 * dirent/getdents64.c: Likewise.
36094 * dirent/opendir.c: Likewise.
36095 * dirent/readdir.c: Likewise.
36096 * dirent/readdir64.c: Likewise.
36097 * dirent/readdir64_r.c: Likewise.
36098 * dirent/readdir_r.c: Likewise.
36099 * dirent/rewinddir.c: Likewise.
36100 * dirent/seekdir.c: Likewise.
36101 * dirent/telldir.c: Likewise.
36102 * gmon/profil.c: Likewise.
36103 * grp/setgroups.c: Likewise.
36104 * inet/if_index.c: Likewise.
36105 * io/access.c: Likewise.
36106 * io/chdir.c: Likewise.
36107 * io/chmod.c: Likewise.
36108 * io/chown.c: Likewise.
36109 * io/close.c: Likewise.
36110 * io/dup.c: Likewise.
36111 * io/dup2.c: Likewise.
36112 * io/dup3.c: Likewise.
36113 * io/euidaccess.c: Likewise.
36114 * io/faccessat.c: Likewise.
36115 * io/fchdir.c: Likewise.
36116 * io/fchmod.c: Likewise.
36117 * io/fchmodat.c: Likewise.
36118 * io/fchown.c: Likewise.
36119 * io/fchownat.c: Likewise.
36120 * io/fcntl.c: Likewise.
36121 * io/flock.c: Likewise.
36122 * io/fstatfs.c: Likewise.
36123 * io/fstatfs64.c: Likewise.
36124 * io/fstatvfs.c: Likewise.
36125 * io/fstatvfs64.c: Likewise.
36126 * io/futimens.c: Likewise.
36127 * io/fxstat.c: Likewise.
36128 * io/fxstat64.c: Likewise.
36129 * io/fxstatat.c: Likewise.
36130 * io/fxstatat64.c: Likewise.
36131 * io/getcwd.c: Likewise.
36132 * io/isatty.c: Likewise.
36133 * io/lchmod.c: Likewise.
36134 * io/lchown.c: Likewise.
36135 * io/link.c: Likewise.
36136 * io/linkat.c: Likewise.
36137 * io/lseek.c: Likewise.
36138 * io/lseek64.c: Likewise.
36139 * io/lxstat64.c: Likewise.
36140 * io/mkdir.c: Likewise.
36141 * io/mkdirat.c: Likewise.
36142 * io/mkfifo.c: Likewise.
36143 * io/mkfifoat.c: Likewise.
36144 * io/open.c: Likewise.
36145 * io/open64.c: Likewise.
36146 * io/openat.c: Likewise.
36147 * io/openat64.c: Likewise.
36148 * io/pipe.c: Likewise.
36149 * io/pipe2.c: Likewise.
36150 * io/poll.c: Likewise.
36151 * io/posix_fadvise.c: Likewise.
36152 * io/posix_fadvise64.c: Likewise.
36153 * io/posix_fallocate.c: Likewise.
36154 * io/posix_fallocate64.c: Likewise.
36155 * io/read.c: Likewise.
36156 * io/readlink.c: Likewise.
36157 * io/readlinkat.c: Likewise.
36158 * io/rmdir.c: Likewise.
36159 * io/sendfile.c: Likewise.
36160 * io/sendfile64.c: Likewise.
36161 * io/statfs.c: Likewise.
36162 * io/statfs64.c: Likewise.
36163 * io/statvfs.c: Likewise.
36164 * io/statvfs64.c: Likewise.
36165 * io/symlink.c: Likewise.
36166 * io/symlinkat.c: Likewise.
36167 * io/ttyname.c: Likewise.
36168 * io/ttyname_r.c: Likewise.
36169 * io/umask.c: Likewise.
36170 * io/unlink.c: Likewise.
36171 * io/unlinkat.c: Likewise.
36172 * io/utime.c: Likewise.
36173 * io/utimensat.c: Likewise.
36174 * io/write.c: Likewise.
36175 * io/xmknod.c: Likewise.
36176 * io/xmknodat.c: Likewise.
36177 * io/xstat.c: Likewise.
36178 * io/xstat64.c: Likewise.
36179 * login/getpt.c: Likewise.
36180 * login/grantpt.c: Likewise.
36181 * login/unlockpt.c: Likewise.
36182 * math/e_acoshl.c: Likewise.
36183 * math/e_acosl.c: Likewise.
36184 * math/e_asinl.c: Likewise.
36185 * math/e_atan2l.c: Likewise.
36186 * math/e_atanhl.c: Likewise.
36187 * math/e_coshl.c: Likewise.
36188 * math/e_expl.c: Likewise.
36189 * math/e_fmodl.c: Likewise.
36190 * math/e_gammal_r.c: Likewise.
36191 * math/e_hypotl.c: Likewise.
36192 * math/e_j0l.c: Likewise.
36193 * math/e_j1l.c: Likewise.
36194 * math/e_jnl.c: Likewise.
36195 * math/e_lgammal_r.c: Likewise.
36196 * math/e_log10l.c: Likewise.
36197 * math/e_log2l.c: Likewise.
36198 * math/e_logl.c: Likewise.
36199 * math/e_powl.c: Likewise.
36200 * math/e_rem_pio2l.c: Likewise.
36201 * math/e_sinhl.c: Likewise.
36202 * math/e_sqrtl.c: Likewise.
36203 * math/fclrexcpt.c: Likewise.
36204 * math/fedisblxcpt.c: Likewise.
36205 * math/feenablxcpt.c: Likewise.
36206 * math/fegetenv.c: Likewise.
36207 * math/fegetexcept.c: Likewise.
36208 * math/fegetround.c: Likewise.
36209 * math/feholdexcpt.c: Likewise.
36210 * math/fesetenv.c: Likewise.
36211 * math/fesetround.c: Likewise.
36212 * math/feupdateenv.c: Likewise.
36213 * math/fgetexcptflg.c: Likewise.
36214 * math/fraiseexcpt.c: Likewise.
36215 * math/fsetexcptflg.c: Likewise.
36216 * math/ftestexcept.c: Likewise.
36217 * math/k_cosl.c: Likewise.
36218 * math/k_rem_pio2l.c: Likewise.
36219 * math/k_sinl.c: Likewise.
36220 * math/k_tanl.c: Likewise.
36221 * math/s_asinhl.c: Likewise.
36222 * math/s_atanl.c: Likewise.
36223 * math/s_cbrtl.c: Likewise.
36224 * math/s_erfl.c: Likewise.
36225 * math/s_expm1l.c: Likewise.
36226 * math/s_log1pl.c: Likewise.
36227 * math/s_tanhl.c: Likewise.
36228 * misc/acct.c: Likewise.
36229 * misc/brk.c: Likewise.
36230 * misc/chflags.c: Likewise.
36231 * misc/chroot.c: Likewise.
36232 * misc/fchflags.c: Likewise.
36233 * misc/fgetxattr.c: Likewise.
36234 * misc/flistxattr.c: Likewise.
36235 * misc/fremovexattr.c: Likewise.
36236 * misc/fsetxattr.c: Likewise.
36237 * misc/fsync.c: Likewise.
36238 * misc/ftruncate.c: Likewise.
36239 * misc/futimes.c: Likewise.
36240 * misc/futimesat.c: Likewise.
36241 * misc/getdomain.c: Likewise.
36242 * misc/getdtsz.c: Likewise.
36243 * misc/gethostid.c: Likewise.
36244 * misc/gethostname.c: Likewise.
36245 * misc/getloadavg.c: Likewise.
36246 * misc/getpagesize.c: Likewise.
36247 * misc/getsysstats.c: Likewise.
36248 * misc/getxattr.c: Likewise.
36249 * misc/gtty.c: Likewise.
36250 * misc/ioctl.c: Likewise.
36251 * misc/lgetxattr.c: Likewise.
36252 * misc/listxattr.c: Likewise.
36253 * misc/llistxattr.c: Likewise.
36254 * misc/lremovexattr.c: Likewise.
36255 * misc/lsetxattr.c: Likewise.
36256 * misc/lutimes.c: Likewise.
36257 * misc/madvise.c: Likewise.
36258 * misc/mincore.c: Likewise.
36259 * misc/mlock.c: Likewise.
36260 * misc/mlockall.c: Likewise.
36261 * misc/mmap.c: Likewise.
36262 * misc/mprotect.c: Likewise.
36263 * misc/msync.c: Likewise.
36264 * misc/munlock.c: Likewise.
36265 * misc/munlockall.c: Likewise.
36266 * misc/munmap.c: Likewise.
36267 * misc/preadv.c: Likewise.
36268 * misc/preadv64.c: Likewise.
36269 * misc/ptrace.c: Likewise.
36270 * misc/pwritev.c: Likewise.
36271 * misc/pwritev64.c: Likewise.
36272 * misc/readv.c: Likewise.
36273 * misc/reboot.c: Likewise.
36274 * misc/remap_file_pages.c: Likewise.
36275 * misc/removexattr.c: Likewise.
36276 * misc/revoke.c: Likewise.
36277 * misc/select.c: Likewise.
36278 * misc/setdomain.c: Likewise.
36279 * misc/setegid.c: Likewise.
36280 * misc/seteuid.c: Likewise.
36281 * misc/sethostid.c: Likewise.
36282 * misc/sethostname.c: Likewise.
36283 * misc/setregid.c: Likewise.
36284 * misc/setreuid.c: Likewise.
36285 * misc/setxattr.c: Likewise.
36286 * misc/sstk.c: Likewise.
36287 * misc/stty.c: Likewise.
36288 * misc/swapoff.c: Likewise.
36289 * misc/swapon.c: Likewise.
36290 * misc/sync.c: Likewise.
36291 * misc/syncfs.c: Likewise.
36292 * misc/syscall.c: Likewise.
36293 * misc/truncate.c: Likewise.
36294 * misc/ualarm.c: Likewise.
36295 * misc/usleep.c: Likewise.
36296 * misc/ustat.c: Likewise.
36297 * misc/utimes.c: Likewise.
36298 * misc/vhangup.c: Likewise.
36299 * misc/writev.c: Likewise.
36300 * posix/_exit.c: Likewise.
36301 * posix/alarm.c: Likewise.
36302 * posix/execve.c: Likewise.
36303 * posix/fexecve.c: Likewise.
36304 * posix/fork.c: Likewise.
36305 * posix/fpathconf.c: Likewise.
36306 * posix/getaddrinfo.c: Likewise.
36307 * posix/getegid.c: Likewise.
36308 * posix/geteuid.c: Likewise.
36309 * posix/getgid.c: Likewise.
36310 * posix/getgroups.c: Likewise.
36311 * posix/getlogin.c: Likewise.
36312 * posix/getlogin_r.c: Likewise.
36313 * posix/getpgid.c: Likewise.
36314 * posix/getpid.c: Likewise.
36315 * posix/getppid.c: Likewise.
36316 * posix/getresgid.c: Likewise.
36317 * posix/getresuid.c: Likewise.
36318 * posix/getsid.c: Likewise.
36319 * posix/getuid.c: Likewise.
36320 * posix/glob64.c: Likewise.
36321 * posix/nanosleep.c: Likewise.
36322 * posix/pathconf.c: Likewise.
36323 * posix/pause.c: Likewise.
36324 * posix/posix_madvise.c: Likewise.
36325 * posix/pread.c: Likewise.
36326 * posix/pread64.c: Likewise.
36327 * posix/pwrite.c: Likewise.
36328 * posix/pwrite64.c: Likewise.
36329 * posix/sched_getaffinity.c: Likewise.
36330 * posix/sched_getp.c: Likewise.
36331 * posix/sched_gets.c: Likewise.
36332 * posix/sched_primax.c: Likewise.
36333 * posix/sched_primin.c: Likewise.
36334 * posix/sched_rr_gi.c: Likewise.
36335 * posix/sched_setaffinity.c: Likewise.
36336 * posix/sched_setp.c: Likewise.
36337 * posix/sched_sets.c: Likewise.
36338 * posix/sched_yield.c: Likewise.
36339 * posix/setgid.c: Likewise.
36340 * posix/setlogin.c: Likewise.
36341 * posix/setpgid.c: Likewise.
36342 * posix/setresgid.c: Likewise.
36343 * posix/setresuid.c: Likewise.
36344 * posix/setsid.c: Likewise.
36345 * posix/setuid.c: Likewise.
36346 * posix/sleep.c: Likewise.
36347 * posix/spawni.c: Likewise.
36348 * posix/sysconf.c: Likewise.
36349 * posix/times.c: Likewise.
36350 * posix/wait.c: Likewise.
36351 * posix/wait3.c: Likewise.
36352 * posix/wait4.c: Likewise.
36353 * posix/waitpid.c: Likewise.
36354 * resolv/gai_sigqueue.c: Likewise.
36355 * resource/getpriority.c: Likewise.
36356 * resource/getrlimit.c: Likewise.
36357 * resource/getrusage.c: Likewise.
36358 * resource/nice.c: Likewise.
36359 * resource/setpriority.c: Likewise.
36360 * resource/setrlimit.c: Likewise.
36361 * resource/ulimit.c: Likewise.
36362 * rt/aio_cancel.c: Likewise.
36363 * rt/aio_fsync.c: Likewise.
36364 * rt/aio_read.c: Likewise.
36365 * rt/aio_sigqueue.c: Likewise.
36366 * rt/aio_suspend.c: Likewise.
36367 * rt/aio_write.c: Likewise.
36368 * rt/clock_getres.c: Likewise.
36369 * rt/clock_gettime.c: Likewise.
36370 * rt/clock_nanosleep.c: Likewise.
36371 * rt/clock_settime.c: Likewise.
36372 * rt/lio_listio.c: Likewise.
36373 * rt/mq_close.c: Likewise.
36374 * rt/mq_getattr.c: Likewise.
36375 * rt/mq_notify.c: Likewise.
36376 * rt/mq_open.c: Likewise.
36377 * rt/mq_receive.c: Likewise.
36378 * rt/mq_send.c: Likewise.
36379 * rt/mq_setattr.c: Likewise.
36380 * rt/mq_timedreceive.c: Likewise.
36381 * rt/mq_timedsend.c: Likewise.
36382 * rt/mq_unlink.c: Likewise.
36383 * rt/shm_open.c: Likewise.
36384 * rt/shm_unlink.c: Likewise.
36385 * rt/timer_create.c: Likewise.
36386 * rt/timer_delete.c: Likewise.
36387 * rt/timer_getoverr.c: Likewise.
36388 * rt/timer_gettime.c: Likewise.
36389 * rt/timer_settime.c: Likewise.
36390 * setjmp/__longjmp.c: Likewise.
36391 * setjmp/setjmp.c: Likewise.
36392 * signal/kill.c: Likewise.
36393 * signal/killpg.c: Likewise.
36394 * signal/raise.c: Likewise.
36395 * signal/sigaction.c: Likewise.
36396 * signal/sigaltstack.c: Likewise.
36397 * signal/sigblock.c: Likewise.
36398 * signal/sigignore.c: Likewise.
36399 * signal/sigintr.c: Likewise.
36400 * signal/signal.c: Likewise.
36401 * signal/sigpause.c: Likewise.
36402 * signal/sigpending.c: Likewise.
36403 * signal/sigqueue.c: Likewise.
36404 * signal/sigreturn.c: Likewise.
36405 * signal/sigset.c: Likewise.
36406 * signal/sigsetmask.c: Likewise.
36407 * signal/sigstack.c: Likewise.
36408 * signal/sigsuspend.c: Likewise.
36409 * signal/sigtimedwait.c: Likewise.
36410 * signal/sigvec.c: Likewise.
36411 * signal/sigwait.c: Likewise.
36412 * signal/sigwaitinfo.c: Likewise.
36413 * signal/sysv_signal.c: Likewise.
36414 * socket/accept.c: Likewise.
36415 * socket/accept4.c: Likewise.
36416 * socket/bind.c: Likewise.
36417 * socket/connect.c: Likewise.
36418 * socket/getpeername.c: Likewise.
36419 * socket/getsockname.c: Likewise.
36420 * socket/getsockopt.c: Likewise.
36421 * socket/isfdtype.c: Likewise.
36422 * socket/listen.c: Likewise.
36423 * socket/recv.c: Likewise.
36424 * socket/recvfrom.c: Likewise.
36425 * socket/recvmsg.c: Likewise.
36426 * socket/send.c: Likewise.
36427 * socket/sendmsg.c: Likewise.
36428 * socket/sendto.c: Likewise.
36429 * socket/setsockopt.c: Likewise.
36430 * socket/shutdown.c: Likewise.
36431 * socket/sockatmark.c: Likewise.
36432 * socket/socket.c: Likewise.
36433 * socket/socketpair.c: Likewise.
36434 * stdio-common/ctermid.c: Likewise.
36435 * stdio-common/cuserid.c: Likewise.
36436 * stdio-common/remove.c: Likewise.
36437 * stdio-common/rename.c: Likewise.
36438 * stdio-common/renameat.c: Likewise.
36439 * stdio-common/tempname.c: Likewise.
36440 * stdlib/getcontext.c: Likewise.
36441 * stdlib/makecontext.c: Likewise.
36442 * stdlib/setcontext.c: Likewise.
36443 * stdlib/swapcontext.c: Likewise.
36444 * stdlib/system.c: Likewise.
36445 * streams/fattach.c: Likewise.
36446 * streams/fdetach.c: Likewise.
36447 * streams/getmsg.c: Likewise.
36448 * streams/getpmsg.c: Likewise.
36449 * streams/putmsg.c: Likewise.
36450 * streams/putpmsg.c: Likewise.
36451 * sysdeps/unix/bsd/getpt.c: Likewise.
36452 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36453 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36454 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36456 Likewise.
36457 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36459 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36460 * sysvipc/msgctl.c: Likewise.
36461 * sysvipc/msgget.c: Likewise.
36462 * sysvipc/msgrcv.c: Likewise.
36463 * sysvipc/msgsnd.c: Likewise.
36464 * sysvipc/semctl.c: Likewise.
36465 * sysvipc/semget.c: Likewise.
36466 * sysvipc/semop.c: Likewise.
36467 * sysvipc/semtimedop.c: Likewise.
36468 * sysvipc/shmat.c: Likewise.
36469 * sysvipc/shmctl.c: Likewise.
36470 * sysvipc/shmdt.c: Likewise.
36471 * sysvipc/shmget.c: Likewise.
36472 * termios/tcdrain.c: Likewise.
36473 * termios/tcflow.c: Likewise.
36474 * termios/tcflush.c: Likewise.
36475 * termios/tcgetattr.c: Likewise.
36476 * termios/tcgetpgrp.c: Likewise.
36477 * termios/tcsendbrk.c: Likewise.
36478 * termios/tcsetattr.c: Likewise.
36479 * termios/tcsetpgrp.c: Likewise.
36480 * time/adjtime.c: Likewise.
36481 * time/clock.c: Likewise.
36482 * time/getitimer.c: Likewise.
36483 * time/gettimeofday.c: Likewise.
36484 * time/setitimer.c: Likewise.
36485 * time/settimeofday.c: Likewise.
36486 * time/stime.c: Likewise.
36487 * time/time.c: Likewise.
36488
36489 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36490
36491 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36492 /usr/old/bin.
36493
36494 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36495 instead of spaces.
36496 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36497
36498 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36499
36500 [BZ #14796]
36501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36502 FE_TONEAREST before applying Dekker multiplication and Knuth
36503 addition. Clear inexact exceptions and check for exact zero
36504 results afterwards.
36505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36506 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36508 * math/libm-test.inc (fma_test): Add more tests.
36509 (fma_test_towardzero): Likewise.
36510 (fma_test_downward): Likewise.
36511 (fma_test_upward): Likewise.
36512 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36513 function.
36514 (libc_fesetround): New macro.
36515 (libc_fesetroundf): Likewise.
36516 (libc_fesetroundl): Likewise.
36517 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36518 function.
36519 (libc_fesetround_387): Likewise.
36520 (libc_fesetroundf): New macro.
36521 (libc_fesetround): Likewise.
36522 (libc_fesetroundl): Likewise.
36523 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36524 function.
36525 (libc_fesetroundf): New macro.
36526 (libc_fesetround): Likewise.
36527 (libc_fesetroundl): Likewise.
36528 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36529 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36530 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36531 libm_hidden_ver.
36532 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36533 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36534 libm_hidden_def.
36535 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36536 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36537 libm_hidden_ver.
36538 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36539 libm_hidden_def.
36540
36541 [BZ #3439]
36542 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36543 integer constant usable in #if and use that to give value to enum
36544 constant.
36545 (FE_DIVBYZERO): Likewise.
36546 (FE_UNDERFLOW): Likewise.
36547 (FE_OVERFLOW): Likewise.
36548 (FE_INVALID): Likewise.
36549 (FE_INVALID_SNAN): Likewise.
36550 (FE_INVALID_ISI): Likewise.
36551 (FE_INVALID_IDI): Likewise.
36552 (FE_INVALID_ZDZ): Likewise.
36553 (FE_INVALID_IMZ): Likewise.
36554 (FE_INVALID_COMPARE): Likewise.
36555 (FE_INVALID_SOFTWARE): Likewise.
36556 (FE_INVALID_SQRT): Likewise.
36557 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36558 (FE_TONEAREST): Likewise.
36559 (FE_TOWARDZERO): Likewise.
36560 (FE_UPWARD): Likewise.
36561 (FE_DOWNWARD): Likewise.
36562 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36563 (FE_DIVBYZERO): Likewise.
36564 (FE_OVERFLOW): Likewise.
36565 (FE_UNDERFLOW): Likewise.
36566 (FE_INEXACT): Likewise.
36567 (FE_TONEAREST): Likewise.
36568 (FE_DOWNWARD): Likewise.
36569 (FE_UPWARD): Likewise.
36570 (FE_TOWARDZERO): Likewise.
36571 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36572 (FE_UNDERFLOW): Likewise.
36573 (FE_OVERFLOW): Likewise.
36574 (FE_DIVBYZERO): Likewise.
36575 (FE_INVALID): Likewise.
36576 (FE_TONEAREST): Likewise.
36577 (FE_TOWARDZERO): Likewise.
36578 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36579 (FE_OVERFLOW): Likewise.
36580 (FE_UNDERFLOW): Likewise.
36581 (FE_DIVBYZERO): Likewise.
36582 (FE_INEXACT): Likewise.
36583 (FE_TONEAREST): Likewise.
36584 (FE_TOWARDZERO): Likewise.
36585 (FE_UPWARD): Likewise.
36586 (FE_DOWNWARD): Likewise.
36587 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36588 (FE_DIVBYZERO): Likewise.
36589 (FE_OVERFLOW): Likewise.
36590 (FE_UNDERFLOW): Likewise.
36591 (FE_INEXACT): Likewise.
36592 (FE_TONEAREST): Likewise.
36593 (FE_DOWNWARD): Likewise.
36594 (FE_UPWARD): Likewise.
36595 (FE_TOWARDZERO): Likewise.
36596
36597 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36598
36599 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36600
36601 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36602
36603 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36604 commands. Quote $PWD.
36605 (blacklist_exports): Don't use remove_newlines. Replace "declare
36606 -x" by "export".
36607 (remove_newlines): Remove.
36608
36609 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36610
36611 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36612 * stdlib/stdlib.h (atof): Moved to ...
36613 * include/bits/stdlib-float.h: Here. New file.
36614 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36615 * stdlib/bits/stdlib-float.h: New file.
36616 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36617 -mno-sse -mno-mmx.
36618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36619 <xmmintrin.h>.
36620
36621 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36622
36623 * conform/conformtest.pl (@headers): Add fenv.h.
36624 * conform/data/fenv.h-data: New file.
36625 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36626 include of <math/fenv.h>.
36627
36628 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36629 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36630 && !UNIX98]. Enables tests for XOPEN2K8.
36631 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36632 POSIX2008]: Likewise.
36633
36634 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36635 (struct rusage): Do not expect type or its members.
36636
36637 [BZ #3439]
36638 * math/math.h (FP_NAN): Define macro to integer constant usable in
36639 #if and use that to give value to enum constant.
36640 (FP_INFINITE): Likewise.
36641 (FP_ZERO): Likewise.
36642 (FP_SUBNORMAL): Likewise.
36643 (FP_NORMAL): Likewise.
36644
36645 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36646
36647 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36648 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36649 arguments.
36650
36651 2012-11-02 Roland McGrath <roland@hack.frob.com>
36652
36653 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36654 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36655 autoconf-time if not.
36656 * configure.in: Remove AC_PREREQ.
36657
36658 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36659
36660 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36661 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36662 of the internal implementation.
36663
36664 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36665
36666 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36667 except include of <misc/sys/syslog.h>.
36668
36669 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36670
36671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36672 function returns with a NULL context exit with zero.
36673
36674 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36675
36676 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36677
36678 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36679
36680 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36681 (run_program_cmd): This.
36682 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36683 (tst_langinfo): New variable. Use it.
36684
36685 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36686
36687 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36688 floating point opcodes.
36689
36690 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36691
36692 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36693 variable.
36694
36695 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36696
36697 * sysdeps/mach/hurd/powerpc: Remove directory.
36698 * sysdeps/mach/powerpc: Likewise.
36699
36700 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36701
36702 * scripts/check-local-headers.sh: Ignore c++ headers.
36703
36704 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36705
36706 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36707 __libc_cleanup_region_start argument.
36708
36709 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36710
36711 [BZ #14784]
36712 [BZ #14785]
36713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36714 x * y using scaling, not as x * y + z.
36715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36717 * math/libm-test.inc (fma_test): Add more tests.
36718 (fma_test_towardzero): Likewise.
36719 (fma_test_downward): Likewise.
36720 (fma_test_upward): Likewise.
36721
36722 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36723
36724 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36725
36726 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36727
36728 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36729 New variable.
36730
36731 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36732
36733 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36734
36735 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36736
36737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36738 Fix sort order.
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36740 Likewise.
36741
36742 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36743
36744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36745 Fix the order of the list for glibc 2.17.
36746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36747 Likewise.
36748
36749 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36750
36751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36752
36753 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36754
36755 [BZ #14610]
36756 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36757 for low part of x being zero before using __atanl (y).
36758 * math/libm-test.inc (atan2_test): Add another test.
36759
36760 * manual/install.texi (Configuring and compiling): Document
36761 general use of test-wrapper and test-wrapper-env.
36762 * INSTALL: Regenerated.
36763
36764 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36765 (__fma): Do not extract and scale down low bits on after-rounding
36766 systems when result rounded to normal precision would have normal
36767 exponent.
36768 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36769 (__fmal): Do not extract and scale down low bits on after-rounding
36770 systems when result rounded to normal precision would have normal
36771 exponent.
36772 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36773 (__fmal): Do not extract and scale down low bits on after-rounding
36774 systems when result rounded to normal precision would have normal
36775 exponent.
36776 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36777 macro.
36778 (fma_test): Add more tests.
36779 (fma_test_towardzero): Likewise.
36780 (fma_test_downward): Likewise.
36781 (fma_test_upward): Likewise.
36782
36783 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36784
36785 * sysdeps/i386/tininess.h: Renamed to ...
36786 * sysdeps/x86/tininess.h: This.
36787 * sysdeps/x86_64/tininess.h: Removed.
36788
36789 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36790
36791 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36792 input. Use $(build-program-cmd).
36793 ($(objpfx)tst-array1-static.out): Likewise.
36794 ($(objpfx)tst-array2.out): Likewise.
36795 ($(objpfx)tst-array3.out): Likewise.
36796 ($(objpfx)tst-array4.out): Likewise.
36797 ($(objpfx)tst-array5.out): Likewise.
36798 ($(objpfx)tst-array5-static.out): Likewise.
36799
36800 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36801
36802 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36803 if defined.
36804
36805 * nss/nsswitch.h (nss_interface_function): Provide new
36806 macro for use with NSS functions.
36807 * grp/initgroups.c: Use new macro.
36808 * nss/getXXbyYY.c: Likewise.
36809 * nss/getXXbyYY_r.c: Likewise.
36810 * nss/getXXent.c: Likewise.
36811 * nss/getXXent_r.c: Likewise.
36812 * sysdeps/posix/getaddrinfo.c: Likewise.
36813
36814 2012-10-30 Andreas Jaeger <aj@suse.de>
36815
36816 * po/ru.po: Update Russion translation from translation project.
36817
36818 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36819
36820 [BZ #14152]
36821 [BZ #14783]
36822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36823 result and shift together with sticky bit instead of replicating
36824 round-to-nearest rounding.
36825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36827 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36828 missing underflow exceptions.
36829 (fma_test_towardzero): Add more tests.
36830 (fma_test_downward): Likewise.
36831 (fma_test_upward): Likewise.
36832
36833 [BZ #14047]
36834 * sysdeps/generic/tininess.h: New file.
36835 * sysdeps/i386/tininess.h: Likewise.
36836 * sysdeps/sh/tininess.h: Likewise.
36837 * sysdeps/x86_64/tininess.h: Likewise.
36838 * stdlib/tst-strtod-underflow.c: Likewise.
36839 * stdlib/tst-tininess.c: Likewise.
36840 * stdlib/strtod_l.c: Include <tininess.h>.
36841 (round_and_return): Do not set errno for exact underflow cases.
36842 Force an underflow exception when setting errno for underflow.
36843 Determine underflow based on rounding to normal precision if
36844 TININESS_AFTER_ROUNDING.
36845 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36846 ERANGE for exact underflow cases.
36847 * stdlib/Makefile (tests): Add tst-tininess and
36848 tst-strtod-underflow.
36849 ($(objpfx)tst-tininess): Use $(link-libm).
36850 ($(objpfx)tst-strtod-underflow): Likewise.
36851
36852 2012-10-30 Andreas Jaeger <aj@suse.de>
36853
36854 [BZ#14767]
36855 * elf/Makefile (tests): Remove conditional for have-initfini-array
36856 since this is now always required and the variable does not exist
36857 anymore.
36858 (tests-static): Likewise.
36859 (modules-names): Likewise.
36860
36861 * po/eo.po: Add Esperanto translation from translation project.
36862
36863 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36864 merged with constructor/destructor.
36865 (init_array): Likewise.
36866 * elf/tst-array2dep.c (fini_array): Likewise.
36867 (init_array): Likewise.
36868
36869 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36870
36871 * manual/message.texi: Delete @cartouche tags.
36872
36873 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36874
36875 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36876 EOPNOTSUPP.
36877 * sysdeps/mach/hurd/fsync.c: Likewise.
36878
36879 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36880 [_POSIX_REALTIME_SIGNALS]: Change condition to
36881 [_POSIX_REALTIME_SIGNALS > 0].
36882
36883 2012-10-27 Andreas Jaeger <aj@suse.de>
36884
36885 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36886 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36888 [__WORDSIZE != 64]: Likewise.
36889
36890 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36891
36892 * iconvdata/tst-table.sh: Remove ${SHELL}.
36893 * iconvdata/tst-tables.sh: Likewise.
36894
36895 2012-10-25 David S. Miller <davem@davemloft.net>
36896
36897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36898 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36899 of strtoull.
36900
36901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36902 ifunc-impl-list.c
36903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36904 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36905 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36906 file.
36907
36908 2012-10-25 Roland McGrath <roland@hack.frob.com>
36909
36910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36911 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36912 __getdirentries.
36913
36914 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36915 Jim Blandy <jimb@codesourcery.com>
36916
36917 * scripts/cross-test-ssh.sh: New file.
36918 * manual/install.texi (Configuring and compiling): Document use of
36919 cross-test-ssh.sh.
36920 * INSTALL: Regenerated.
36921
36922 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36923
36924 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36925 EOPNOTSUPP.
36926
36927 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36928
36929 * Makeconfig (run-program-prefix): Fix comment.
36930
36931 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36932 Jim Blandy <jimb@codesourcery.com>
36933
36934 * Makeconfig (test-wrapper): New variable,
36935 (test-wrapper-env): Likewise.
36936 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36937 (run-built-tests): Define to yes.
36938 (run-program-prefix): Use $(test-wrapper).
36939 (built-program-cmd): Likewise.
36940 * Rules (make-test-out): Use $(test-wrapper-env) and
36941 $(host-built-program-cmd).
36942 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36943 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36944 tst-pathopt.sh.
36945 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36946 $(test-wrapper-env) to tst-rtld-load-self.sh.
36947 ($(objpfx)order2.out): Use $(test-wrapper).
36948 ($(objpfx)tst-initorder.out): Likewise.
36949 ($(objpfx)tst-initorder2.out): Likewise.
36950 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36951 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36952 (test_wrapper_env): New variable. Use it to run ld.so.
36953 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36954 Use it to run ld.so.
36955 (test_wrapper_env): Likewise.
36956 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36957 $(test-wrapper) to run-iconv-test.sh.
36958 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36959 (ICONV): Use $test_wrapper.
36960 * posix/Makefile ($(objpfx)globtest.out): Pass
36961 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36962 globtest.sh, not $(run-program-prefix).
36963 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36964 (test_wrapper): Likewise.
36965 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36966 set together with run_via_rtld_prefix.
36967 (run_program_prefix): Define in terms of test_wrapper and
36968 run_via_rtld_prefix.
36969
36970 2012-10-24 Roland McGrath <roland@hack.frob.com>
36971
36972 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36973 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36974 Targets removed.
36975
36976 [BZ #14743]
36977 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36978 Declare __clock_getres, __clock_gettime, __clock_settime,
36979 __clock_nanosleep, and __clock_getcpuclockid.
36980 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36981 Remove librt_hidden_def (clock_gettime).
36982 * sysdeps/unix/clock_gettime.c: Likewise.
36983 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36984 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36985 * rt/clock_getres.c: Define __clock_getres as an alias.
36986 * sysdeps/posix/clock_getres.c: Likewise.
36987 * rt/clock_settime.c: Define __clock_settime as an alias.
36988 * sysdeps/unix/clock_settime.c: Likewise.
36989 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36990 * sysdeps/unix/clock_nanosleep.c: Likewise.
36991 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36992 * rt/clock-compat.c: New file.
36993 * rt/Makefile (librt-routines): Add clock-compat and move
36994 $(clock-routines) to ...
36995 (routines): ... here, new variable.
36996 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36997 Don't add get_clockfreq here.
36998 * rt/Versions (libc: GLIBC_2.17): New version set.
36999 Add clock_* symbols here.
37000 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37002 (GLIBC_2.17): Add clock_* symbols.
37003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37007 Likewise.
37008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37009 Likewise.
37010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37014 * NEWS: Mention the move.
37015
37016 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37017 Use __open, __read, __close rather than their public counterparts.
37018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37019 (__get_clockfreq_via_cpuinfo): Likewise.
37020 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37021 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37022
37023 * config.h.in (HAVE_IFUNC): New #undef.
37024 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37025 was successful.
37026 * configure: Regenerated.
37027
37028 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37029
37030 * configure.in: Move READELF check to start of file.
37031 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37032 libc_cv_asm_gnu_indirect_function in the process.
37033 * configure: Regenerated.
37034
37035 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37036
37037 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37038 send the output to /dev/null.
37039 (libc_cv_cc_with_libunwind): Likewise.
37040 (libc_cv_as_noexecstack): Likewise.
37041 * configure: Regenerate.
37042
37043 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37044
37045 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37046
37047 * posix/globtest.sh (TMPDIR): Do not set.
37048 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37049 (testout): Likewise.
37050
37051 2012-10-24 Andreas Jaeger <aj@suse.de>
37052
37053 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37054 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37055 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37056 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37057 posix_fadvise64, posix_fallocate64.
37058
37059 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37060 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37061 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37062 Likewise.
37063 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37064 Likewise.
37065 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37066
37067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37068 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37069 <bits/fcntl-linux.h>.
37070 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37071
37072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37073 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37074 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37075 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37076 [__WORDSIZE != 64]: Likewise.
37077
37078 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37079
37080 * Makeconfig (run-built-tests): New variable.
37081 * Rules [$(cross-compiling) = yes]: Change condition to
37082 [$(run-built-tests) = no].
37083 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37084 to [$(run-built-tests) = yes].
37085 * elf/Makefile [$(cross-compiling) = no]: Likewise
37086 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37087 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37088 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37089 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37090 * io/Makefile [$(cross-compiling) = no]: Likewise.
37091 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37092 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37093 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37094 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37095 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37096 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37097 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37098 * string/Makefile [$(cross-compiling) = no]: Likewise.
37099
37100 * posix/Makefile ($(objpfx)globtest.out): Pass
37101 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37102 $(rtld-installed-name).
37103 * posix/globtest.sh (elf_objpfx): Remove variable.
37104 (rtld_installed_name): Likewise.
37105 (library_path): Likewise.
37106 (run_program_prefix): New variable. Use for running globtest
37107 binary.
37108
37109 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37110 Joseph Myers <joseph@codesourcery.com>
37111
37112 * Makeconfig (host-built-program-cmd): New variable.
37113 * elf/Makefile (tst-stackguard1-ARGS): Use
37114 $(host-built-program-cmd).
37115 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37116 (tst-spawn-ARGS): Likewise.
37117 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37118
37119 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37120 Jim Blandy <jimb@codesourcery.com>
37121
37122 * Makeconfig (run-via-rtld-prefix): New variable.
37123 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37124 (built-program-cmd): Likewise.
37125
37126 2012-10-22 Andreas Jaeger <aj@suse.de>
37127
37128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37129 __O_RSYNC if it exists, otherwise to O_SYNC.
37130
37131 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37132 Joseph Myers <joseph@codesourcery.com>
37133
37134 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37135 /dev/null.
37136 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37137 from /dev/null
37138 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37139 /dev/null.
37140
37141 2012-10-22 Andreas Jaeger <aj@suse.de>
37142
37143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37144 Define always.
37145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37146
37147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37148 bits/fcntl-linux.h.
37149
37150 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37151 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37152
37153 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37154 to __O_LARGEFILE.
37155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37156 to __O_LARGEFILE.
37157
37158 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37159 Joseph Myers <joseph@codesourcery.com>
37160
37161 * config.make.in (NM): New variable.
37162
37163 2012-10-21 Andreas Jaeger <aj@suse.de>
37164
37165 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37166 definitions and declarations that are provided by
37167 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37168
37169 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37170
37171 [BZ #14683]
37172 * elf/Makefile (tests-static): Add tst-leaks1-static.
37173 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37174 ($(objpfx)tst-leaks1-static): New rule.
37175 ($(objpfx)tst-leaks1-static-mem): Likewise.
37176 (tst-leaks1-static-ENV): New macro.
37177 * elf/dl-open.c (dl_open_worker): Check the main application
37178 only if SHARED is defined.
37179 * elf/tst-leaks1-static.c: New file.
37180
37181 2012-10-20 Andreas Jaeger <aj@suse.de>
37182
37183 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37184 generic values for Linux.
37185 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37186 and declarations that are provided by <bits/fcntl-linux.h> and
37187 include <bits/fcntl-linux.h>.
37188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37189 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37190
37191 2012-10-20 Roland McGrath <roland@hack.frob.com>
37192
37193 * io/fcntl.h: Move include of <bits/types.h> to the top and
37194 include it unconditionally.
37195
37196 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37197
37198 * wcsmbs/Makefile (tests-ifunc): New variable.
37199 (tests): Add $(tests-ifunc).
37200 * wcsmbs/test-wcschr-ifunc.c: New file.
37201 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37202 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37203 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37204 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37205 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37206
37207 * string/Makefile (tests-ifunc): New variable.
37208 (tests): Add $(tests-ifunc).
37209 * string/test-memccpy.c (TEST_NAME): New macro.
37210 * string/test-memchr.c (TEST_NAME): Likewise.
37211 * string/test-memcmp.c (TEST_NAME): Likewise.
37212 * string/test-memcpy.c (TEST_NAME): Likewise.
37213 * string/test-memmem.c (TEST_NAME): Likewise.
37214 * string/test-memmove.c (TEST_NAME): Likewise.
37215 * string/test-memset.c (TEST_NAME): Likewise.
37216 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37217 * string/test-stpcpy.c (TEST_NAME): Likewise.
37218 * string/test-stpncpy.c (TEST_NAME): Likewise.
37219 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37220 * string/test-strcasestr.c (TEST_NAME): Likewise.
37221 * string/test-strcat.c (TEST_NAME): Likewise.
37222 * string/test-strchr.c (TEST_NAME): Likewise.
37223 * string/test-strcmp.c(TEST_NAME): Likewise.
37224 * string/test-strcpy.c (TEST_NAME): Likewise.
37225 * string/test-strcspn.c (TEST_NAME): Likewise.
37226 * string/test-strlen.c (TEST_NAME): Likewise.
37227 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37228 * string/test-strncmp.c (TEST_NAME): Likewise.
37229 * string/test-strncpy.c (TEST_NAME): Likewise.
37230 * string/test-strnlen.c (TEST_NAME): Likewise.
37231 * string/test-strpbrk.c (TEST_NAME): Likewise.
37232 * string/test-strrchr.c (TEST_NAME): Likewise.
37233 * string/test-strspn.c (TEST_NAME): Likewise.
37234 * string/test-strstr.c (TEST_NAME): Likewise.
37235 * string/test-bcopy-ifunc.c: New file.
37236 * string/test-bzero-ifunc.c: Likewise.
37237 * string/test-memccpy-ifunc.c: Likewise.
37238 * string/test-memchr-ifunc.c: Likewise.
37239 * string/test-memcmp-ifunc.c: Likewise.
37240 * string/test-memcpy-ifunc.c: Likewise.
37241 * string/test-memmem-ifunc.c: Likewise.
37242 * string/test-memmove-ifunc.c: Likewise.
37243 * string/test-mempcpy-ifunc.c: Likewise.
37244 * string/test-memset-ifunc.c: Likewise.
37245 * string/test-rawmemchr-ifunc.c: Likewise.
37246 * string/test-stpcpy-ifunc.c: Likewise.
37247 * string/test-stpncpy-ifunc.c: Likewise.
37248 * string/test-strcasecmp-ifunc.c: Likewise.
37249 * string/test-strcasestr-ifunc.c: Likewise.
37250 * string/test-strcat-ifunc.c: Likewise.
37251 * string/test-strchr-ifunc.c: Likewise.
37252 * string/test-strchrnul-ifunc.c: Likewise.
37253 * string/test-strcmp-ifunc.c: Likewise.
37254 * string/test-strcpy-ifunc.c: Likewise.
37255 * string/test-strcspn-ifunc.c: Likewise.
37256 * string/test-strlen-ifunc.c: Likewise.
37257 * string/test-strncasecmp-ifunc.c: Likewise.
37258 * string/test-strncat-ifunc.c: Likewise.
37259 * string/test-strncmp-ifunc.c: Likewise.
37260 * string/test-strncpy-ifunc.c: Likewise.
37261 * string/test-strnlen-ifunc.c: Likewise.
37262 * string/test-strpbrk-ifunc.c: Likewise.
37263 * string/test-strrchr-ifunc.c: Likewise.
37264 * string/test-strspn-ifunc.c: Likewise.
37265 * string/test-strstr-ifunc.c: Likewise.
37266
37267 * debug/Makefile (tests-ifunc): New variable.
37268 (tests): Add $(tests-ifunc).
37269 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37270 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37271 * debug/test-stpcpy_chk-ifunc.c: New file.
37272 * debug/test-strcpy_chk-ifunc.c: Likewise.
37273
37274 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37275
37276 [BZ #13601]
37277 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37278 header is not read in.
37279
37280 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37281
37282 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37283 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37284 directly. Pass built executable to script as
37285 $(built-program-cmd).
37286 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37287 $testprogram without using LD_LIBRARY_PATH and $ldso.
37288
37289 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37290 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37291 $(rtld-installed-name).
37292 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37293 (rtld_installed_name): Likewise.
37294 (library_path): Likewise.
37295 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37296 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37297 $(run-program-prefix) to tst-tables.sh.
37298 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37299 it to run tst-table-from and tst-table-to.
37300 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37301 Pass it to tst-table.sh.
37302 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37303 $(run-program-prefix) to tst-gettext.sh.
37304 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37305 tst-translit.sh.
37306 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37307 tst-gettext2.sh.
37308 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37309 to run tst-gettext.
37310 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37311 to run tst-gettext2.
37312 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37313 to run tst-translit.
37314 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37315 $(run-program-prefix) to tst-mtrace.sh.
37316 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37317 to run tst-mtrace.
37318 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37319 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37320 $(rtld-installed-name).
37321 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37322 (rtld_installed_name): Likewise.
37323 (run_program_prefix): New variable. Use it to run wordexp-test.
37324
37325 * Makeconfig (ARCH): Remove all definitions.
37326 (machine): Likewise.
37327 [ARCH]: Remove conditional code.
37328 [!objdir]: Give error.
37329 [!objdir] (objpfx): Remove.
37330 [!objdir] (common-objpfx): Likewise.
37331 [!objdir] (common-objdir): Likewise.
37332 * configure.in (config_makefile): Remove. Hardcode Makefile in
37333 AC_CONFIG_FILES call.
37334 * configure: Regenerated.
37335
37336 [BZ #13888]
37337 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37338 or TMPDIR.
37339 (testout): Likewise.
37340
37341 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37342 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37343 $(rtld-installed-name).
37344 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37345 (rtld_installed_name): Likwise.
37346 (runit): Remove function.
37347 (run_getconf): New variable, Use it for running getconf binary.
37348
37349 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37350
37351 [BZ #14716]
37352 * string/test-memmem.c (check_result): New function.
37353 (do_one_test): Use it.
37354 (check1): New function.
37355 (test_main): Use it.
37356
37357 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37358
37359 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37360
37361 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37362
37363 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37364 (_G_LSEEK64): Likewise.
37365 (_G_MMAP64): Likewise.
37366 (_G_FSTAT64): Likewise.
37367 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37368 (_G_LSEEK64): Likewise.
37369 (_G_MMAP64): Likewise.
37370 (_G_FSTAT64): Likewise.
37371 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37372 unconditional. Call __mmap64 directly.
37373 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37374 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37375 __lseek64 directly.
37376 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37377 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37378 __mmap64 directly.
37379 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37380 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37381 __lseek64 directly.
37382 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37383 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37384 __lseek64 directly.
37385 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37386 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37387 __lseek64 directly.
37388 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37389 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37390 __fxstat64 directly.
37391 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37392 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37393 unconditional.
37394 (freopen64) [!_G_OPEN64]: Remove conditional code.
37395 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37396 unconditional.
37397 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37398 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37399 unconditional.
37400 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37401 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37402 unconditional.
37403 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37404 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37405 unconditional.
37406 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37407 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37408 unconditional.
37409 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37410 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37411 unconditional.
37412 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37413 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37414 unconditional.
37415 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37416
37417 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37418
37419 [BZ #12140]
37420 * manual/memory.texi (Malloc Tunable Parameters): Add note
37421 about free list pointers overwriting some perturb bytes.
37422 Wording suggested by Roland McGrath.
37423
37424 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37425
37426 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37427 (lgamma_test): Likewise.
37428 (tgamma_test): Likewise.
37429
37430 2012-10-16 Florian Weimer <fweimer@redhat.com>
37431
37432 [BZ #14700]
37433 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37434 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37435
37436 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37437
37438 * NEWS: Mention BZ #14716.
37439 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37440 when removing AVAILABLE1_USES_J macro.
37441
37442 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37443
37444 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37445 (__bswap_64): __uint64_t for unsigned 64-bit int.
37446
37447 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37448
37449 * include/string.h (memmem): Declare libc hidden alias.
37450 * string/memmem.c (memmem): Define libc hidden alias.
37451 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37452 __read, __close instead of open, read, close.
37453
37454 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37455
37456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37457 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37458 global and hidden.
37459 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37460 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37461 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37462 Likewise.
37463 (__rawmemchr_sse2): Likewise.
37464 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37465 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37466 (__strchr_sse2): Likewise.
37467 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37468 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37469 (__strcasecmp_sse2): Likewise.
37470 (__strncasecmp_sse2): Likewise.
37471 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37472 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37473 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37474 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37475 (__strrchr_sse2): Likewise.
37476 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37477 ifunc-impl-list.c.
37478 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37479 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37480 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37481 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37482 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37483 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37484 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37485 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37486 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37487 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37488 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37489 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37490 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37491 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37492 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37493 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37494 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37495 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37496 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37497 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37498 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37499 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37500 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37501 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37502 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37503 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37504 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37505 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37506 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37507 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37508
37509 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37510 global and hidden.
37511 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37512 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37513 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37514 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37515 Likewise.
37516 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37517 Likewise.
37518 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37519 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37520 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37521 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37522 ifunc-impl-list.c.
37523 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37524 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37525 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37526 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37527 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37528 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37529 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37530 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37531 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37532 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37533 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37534 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37535 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37536 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37537 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37538 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37539 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37540 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37541 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37542 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37544 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37545 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37546 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37547 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37548 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37551 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37553 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37555 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37557 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37561 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37563 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37564
37565 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37566 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37567 * include/ifunc-impl-list.h: New file.
37568 * misc/ifunc-impl-list.c: Likewise.
37569 * misc/Makefile (routines): Add ifunc-impl-list.
37570 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37571 * string/test-string.h: Include <ifunc-impl-list.h>.
37572 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37573 TEST_NAME]: New variables.
37574 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37575 are defined.
37576 (test_init): Call __libc_ifunc_impl_list to initialize
37577 func_list if TEST_IFUNC and TEST_NAME are defined.
37578
37579 * string/Makefile (strop-tests): Add bcopy and bzero.
37580 * string/test-bcopy.c: New file.
37581 * string/test-bzero.c: Likewise.
37582 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37583 defined.
37584 * string/test-memset.c: Support bzero test if TEST_BZERO is
37585 defined.
37586 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37587 __libc_memmove.
37588 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37589 __libc_memset.
37590 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37591 of memset.
37592
37593 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37594
37595 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37596 * configure: Regenerated.
37597
37598 * Makeconfig (+link-static-before-libc): Don't include
37599 $(link-static-libc).
37600
37601 * libio/libio.h (_IO_pos_t): Remove.
37602
37603 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37604
37605 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37606 McGrath.
37607
37608 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37609
37610 * crypt/crypt-entry.c: Include fips-private.h.
37611 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37612 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37613 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37614 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37615
37616 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37617
37618 * crypt/crypt-private.h: Include stdbool.h.
37619 (_ufc_setup_salt_r): Return bool.
37620 * crypt/crypt-entry.c: Include errno.h.
37621 (__crypt_r): Return NULL with EINVAL for bad salt.
37622 * crypt/crypt_util.c (bad_for_salt): New.
37623 (_ufc_setup_salt_r): Check that salt is long enough and within
37624 the specified alphabet.
37625 * crypt/badsalttest.c: New file.
37626 * crypt/Makefile (tests): Add it.
37627 ($(objpfx)badsalttest): New.
37628
37629 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37630
37631 * NEWS: Add entry for BZ #14602.
37632
37633 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37634
37635 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37636 type-generic.
37637 * math/libm-test.inc: Update comment listing what functions and
37638 macros are tested.
37639 (isgreater_test): New function.
37640 (isgreaterequal_test): Likewise.
37641 (isless_test): Likewise.
37642 (islessequal_test): Likewise.
37643 (islessgreater_test): Likewise.
37644 (isunordered_test): Likewise.
37645 (main): Call the new functions.
37646
37647 2012-10-09 Roland McGrath <roland@hack.frob.com>
37648
37649 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37650 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37651 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37652 * sysdeps/i386/configure: Regenerated.
37653 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37654 * sysdeps/mach/configure: Regenerated.
37655 * sysdeps/mach/hurd/configure: Regenerated.
37656 * sysdeps/powerpc/configure: Regenerated.
37657 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37658 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37659 * sysdeps/s390/s390-32/configure: Regenerated.
37660 * sysdeps/s390/s390-64/configure: Regenerated.
37661 * sysdeps/sh/configure: Regenerated.
37662 * sysdeps/sparc/configure: Regenerated.
37663 * sysdeps/unix/sysv/linux/configure: Regenerated.
37664 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37665 * sysdeps/x86_64/configure: Regenerated.
37666
37667 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37668 defined. Don't check if MAP is NULL.
37669
37670 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37671
37672 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37673 (_G_stat64): Likewise.
37674 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37675 (_G_stat64): Likewise.
37676 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37677 instead of struct _G_stat64.
37678 * libio/fileops.c (mmap_remap_check): Likewise.
37679 (decide_maybe_mmap): Likewise.
37680 (_IO_new_file_seekoff): Likewise.
37681 (_IO_file_stat): Likewise.
37682 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37683 _G_off64_t.
37684 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37685 instead of struct _G_stat64.
37686 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37687
37688 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37689
37690 [BZ #14602]
37691 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37692 Replace with ...
37693 (CHECK_EOL): New macro.
37694 (two_way_short_needle): Check beginning of haystack for EOL. Use
37695 CHECK_EOL.
37696 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37697 Replace with CHECK_EOL.
37698 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37699 Replace with CHECK_EOL.
37700
37701 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37702
37703 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37704 type-generic.
37705 * math/libm-test.inc: Update comment listing what functions and
37706 macros are tested.
37707 (finite_test): New function.
37708 (isinf_test): Likewise.
37709 (isnan_test): Likewise.
37710 (fpclassify_test): Test subnormal input.
37711 (isfinite_test): Likewise.
37712 (isnormal_test): Likewise.
37713 (main): Call the new functions.
37714
37715 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37716
37717 [BZ #14660]
37718 * Makerules (%.dynsym): Force C locale when running
37719 $(OBJDUMP) --dynamic-syms.
37720
37721 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37722
37723 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37724 <stdint.h>.
37725
37726 2012-10-06 David S. Miller <davem@davemloft.net>
37727
37728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37729 upper 32-bits of the length value in %o2 since we use branch-on-register
37730 tests which consider the entire 64-bit register.
37731
37732 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37733
37734 * string/test-strstr.c (check2): Add a test for page boundary.
37735
37736 2012-10-05 David S. Miller <davem@davemloft.net>
37737
37738 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37739 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37740 file.
37741 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37742 sysdep_routines.
37743 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37744 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37745 and bzero when HWCAP_SPARC_CRYPTO is present.
37746
37747 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37748
37749 [BZ #14602]
37750 * string/test-strstr.c (check2): New function.
37751 (test_main): Call check2.
37752
37753 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37754 and bug-strchr1.
37755 * string/bug-strcasestr1.c (do_test): Moved to ...
37756 * string/test-strcasestr.c (check1): Here. New function.
37757 (do_one_test): Break out result checking code into ...
37758 (check_result): This. New function.
37759 (do_one_test): Call check_result.
37760 (test_main): Call check1.
37761 * string/bug-strchr1.c (do_test): Moved to ...
37762 * string/test-strchr.c (check1): Here. New function.
37763 (do_one_test): Break out result checking code into ...
37764 (check_result): This. New function.
37765 (do_one_test): Call check_result.
37766 (test_main): Call check1.
37767 * string/bug-strstr1.c (main): Moved to ...
37768 * string/test-strstr.c (check1): Here. New function.
37769 (do_one_test): Break out result checking code into ...
37770 (check_result): This. New function.
37771 (do_one_test): Call check_result.
37772 (test_main): Call check1.
37773 * string/bug-strcasestr1.c: Removed.
37774 * string/bug-strchr1.c: Likewise.
37775 * string/bug-strstr1.c: Likewise.
37776
37777 * elf/Makefile (dl-routines): Add hwcaps.
37778 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37779 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37780 (_dl_important_hwcaps): Moved to ...
37781 * elf/dl-hwcaps.c: Here. New file.
37782 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37783
37784 [BZ #14557]
37785 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37786 if IS_IN_rtld isn't defined.
37787
37788 * elf/dl-support.c (_dl_sysinfo_map): New.
37789 Include "get-dynamic-info.h" and "setup-vdso.h".
37790 (_dl_non_dynamic_init): Call setup_vdso.
37791 * elf/dynamic-link.h: Don't include <assert.h>.
37792 (elf_get_dynamic_info): Moved to ...
37793 * elf/get-dynamic-info.h: Here. New file.
37794 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37795 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37796 * elf/setup-vdso.h: Here. New file.
37797 * elf/rtld.c: Include "setup-vdso.h".
37798 (dl_main): Call setup_vdso.
37799
37800 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37801
37802 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37803 creal in comment listing functions tested. List finite, isinf,
37804 isnan, isless, islessequal, isgreater, isgreaterequal,
37805 islessgreater, isunordered, lgamma_r and pow10 as functions and
37806 macros not tested. Mention which functions not tested are aliases
37807 for other functions. Fix typo. Note that signs of NaNs are not
37808 tested.
37809
37810 * scripts/config.guess: Update from config.git.
37811 * scripts/config.sub: Likewise.
37812
37813 2012-10-04 Roland McGrath <roland@hack.frob.com>
37814
37815 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37816 * misc/madvise.c (madvise): Renamed to __madvise.
37817 Make madvise a weak alias.
37818 * include/sys/mman.h: Declare __madvise.
37819 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37820 * sysdeps/unix/syscalls.list
37821 (madvise): Make __madvise the strong name, and madvise a weak alias.
37822 * sysdeps/unix/sysv/linux/syscalls.list
37823 (madvise, mmap): Remove redundant entries.
37824 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37825 * malloc/malloc.c (mtrim): Likewise.
37826 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37827
37828 2012-10-03 Roland McGrath <roland@hack.frob.com>
37829
37830 * sysdeps/mach/hurd/dl-cache.c: File removed.
37831 * config.h.in (USE_LDCONFIG): New #undef.
37832 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37833 * configure: Regenerated.
37834 * elf/Makefile (dl-routines): Add dl-cache only under
37835 [$(use-ldconfig) = yes].
37836 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37837 cache on [USE_LDCONFIG].
37838 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37839 [USE_LDCONFIG].
37840 * elf/rtld.c (dl_main): Likewise.
37841
37842 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37843
37844 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37845 _SC_LEVEL4_CACHE_LINESIZE.
37846
37847 2012-10-03 Roland McGrath <roland@hack.frob.com>
37848
37849 * sysdeps/unix/bsd/confstr.h: File removed.
37850
37851 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37852
37853 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37854 sys/sdt-config.h.
37855
37856 2012-10-02 Roland McGrath <roland@hack.frob.com>
37857
37858 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37859 Make 'mapoff' field ElfW(Off) rather than off_t.
37860
37861 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37862
37863 * nscd/Makefile: Remove nscd-cflags and all its users.
37864 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37865 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37866
37867 [BZ #10631]
37868 * malloc.c (malloc_printerr): Clarify error message.
37869
37870 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37871
37872 [BZ #14648]
37873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37874 Set bit_FMA_Usable if FMA is supported.
37875 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37876 macro.
37877 (bit_FMA4_Usable): Updated.
37878 (index_FMA_Usable): New macro.
37879 (CPUID_FMA): Likewise
37880 (HAS_FMA): Defined with bit_FMA_Usable.
37881
37882 2012-10-01 Roland McGrath <roland@hack.frob.com>
37883
37884 * bits/types.h (__swblk_t): Type removed.
37885 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37886 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37888 (__SWBLK_T_TYPE): Likewise.
37889 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37890 (__SWBLK_T_TYPE): Likewise.
37891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37892 (__SWBLK_T_TYPE): Likewise.
37893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37894 (__SWBLK_T_TYPE): Likewise.
37895
37896 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37897 Honza Horak <hhorak@redhat.com>
37898
37899 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37900 (xdr_mapname): Use YPMAXMAP as maxsize.
37901 (xdr_peername): Use YPMAXPEER as maxsize.
37902 (xdr_keydat): Use YPAXRECORD as maxsize.
37903 (xdr_valdat): Use YPMAXRECORD as maxsize.
37904
37905 2012-10-01 Roland McGrath <roland@hack.frob.com>
37906
37907 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37908
37909 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37910 * csu/init-first.c: ... here.
37911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37912 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37913 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37914 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37915 * sysdeps/i386/init-first.c: File removed.
37916 * sysdeps/sh/init-first.c: File removed.
37917
37918 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37919
37920 [BZ #14645]
37921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37922 if x * y might underflow to zero and z is zero.
37923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37925 * math/libm-test.inc (min_subnorm_value): New variable.
37926 (fma_test): Add more tests.
37927 (fma_test_towardzero): Likewise.
37928 (fma_test_downward): Likewise
37929 (fma_test_upward): Likewise.
37930 (initialize): Set min_subnorm_value.
37931
37932 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37933
37934 [BZ #14638]
37935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37936 0 + 0.
37937 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37938 mode for addition resulting in exact zero.
37939 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37941 exact 0 + 0.
37942 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37943 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37944 * math/libm-test.inc (fma_test): Add more tests.
37945 (fma_test_towardzero): New function.
37946 (fma_test_downward): Likewise.
37947 (fma_test_upward): Likewise.
37948 (main): Call the new functions.
37949
37950 2012-09-28 David S. Miller <davem@davemloft.net>
37951
37952 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37953
37954 2012-09-28 Roland McGrath <roland@hack.frob.com>
37955
37956 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37957 instead of SIGALRM.
37958
37959 * sysdeps/gnu/_G_config.h: Moved to ...
37960 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37961 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37962 * sysdeps/generic/_G_config.h: ... here.
37963
37964 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37965
37966 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37967
37968 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37969 Conditionalize target on [libnss_test1.so-version].
37970
37971 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37972
37973 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37974 (elfobjdir): Move out of conditionals.
37975
37976 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37977 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37978 (__nss_lookup_function): Conditionalize label remove_from_tree on
37979 [!DO_STATIC_NSS || SHARED], matching its only use.
37980
37981 2012-09-28 David S. Miller <davem@davemloft.net>
37982
37983 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37984 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37985 file.
37986 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37987 sysdep_routines.
37988 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37990 when HWCAP_SPARC_CRYPTO is present.
37991
37992 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37993
37994 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37995
37996 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37997
37998 [BZ #6530]
37999 * stdio-common/vfprintf.c (process_string_arg): Revert
38000 2000-07-22 change.
38001
38002 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38003
38004 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38005 for testcase.
38006 * stdio-common/tst-sprintf.c: Include <locale.h>
38007 (main): Test sprintf's handling of incomplete multibyte
38008 characters.
38009
38010 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38011
38012 * elf/dl-runtime.c (VERSYMIDX): Removed.
38013 * elf/dl-version.c (VERSYMIDX): Likewise.
38014 * elf/do-rel.h (VERSYMIDX): Likewise.
38015 (VALIDX): Likewise.
38016 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38017 * elf/rtld.c (VALIDX): Likewise.
38018 (ADDRIDX): Likewise.
38019 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38020 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38021 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38022 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38023 (VALIDX): Likewise.
38024 (ADDRIDX): Likewise.
38025
38026 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38027
38028 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38029
38030 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38031
38032 [BZ #11438]
38033 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38034 to global scope.
38035 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38036 addresses are in the same scope as 192.0.2/24.
38037 * posix/gai.conf: Document new scope table defaults.
38038
38039 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38040
38041 [BZ #5298]
38042 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38043 for ftell. Compute offsets from write pointers instead.
38044 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38045
38046 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38047
38048 [BZ #14543]
38049 * libio/Makefile (tests): New test case tst-fseek.
38050 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38051 combination works in wide mode.
38052 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38053 state when the external buffer state changes.
38054
38055 2012-09-27 David S. Miller <davem@davemloft.net>
38056
38057 [BZ #14376]
38058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38059 pass reloc->r_addend in as the 'high' argument to
38060 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38061
38062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38063
38064 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38065
38066 * rt/tst-aio2.c: Include <pthread.h>.
38067 * rt/tst-aio3.c: Likewise.
38068
38069 2012-09-27 Steve Ellcey <sellcey@mips.com>
38070
38071 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38072
38073 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38074
38075 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38076 contents on [SHARED].
38077
38078 2012-09-26 Marek Polacek <polacek@redhat.com>
38079
38080 [BZ #14530]
38081 [BZ #13741]
38082 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38083 for C++ and GCC <4.3 as well as for non GCC compilers.
38084
38085 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38086
38087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38088
38089 2012-09-25 Roland McGrath <roland@hack.frob.com>
38090
38091 * Makefile.in (all, install): Declare with .PHONY.
38092 Reported by Michael Hope <michael.hope@linaro.org>.
38093
38094 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38095
38096 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38097 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38098 system header.
38099 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38100 Likewise.
38101 (sydep_routines): Add the new and the internal functions.
38102 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38103 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38105 (GLIBC_2.17): Add the new function.
38106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38107 (GLIBC_2.17): Likewise.
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38109 (GLIBC_2.17): Likewise.
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38111 (GLIBC_2.17): Likewise.
38112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38113
38114 2012-09-25 Alan Modra <amodra@gmail.com>
38115
38116 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38117 Add release barrier before setting once_control to say
38118 initialisation is done. Add hints on lwarx. Use macro in
38119 place of isync.
38120 (clear_once_control): Add release barrier.
38121
38122 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38123
38124 [BZ #13629]
38125 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38126 specially.
38127 * math/s_clog10.c (__clog10): Likewise.
38128 * math/s_clog10f.c (__clog10f): Likewise.
38129 * math/s_clog10l.c (__clog10l): Likewise.
38130 * math/s_clogf.c (__clogf): Likewise.
38131 * math/s_clogl.c (__clogl): Likewise.
38132 * math/Makefile (libm-calls): Add x2y2m1.
38133 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38134 (__x2y2m1): Likewise.
38135 (__x2y2m1l): Likewise.
38136 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38137 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38138 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38139 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38142 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38143 * sysdeps/i386/fpu/libm-test-ulps: Update.
38144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38145
38146 [BZ #14621]
38147 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38148 int as type of variable DEPTH.
38149 (glob): Use size_t instead of int as type of variables NEWCOUNT
38150 and OLD_PATHC.
38151
38152 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38153
38154 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38155 Add s_sincosf-sse2.
38156 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38157 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38158 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38159 macros for using routine as __sincosf_ia32.
38160 Use macro for function declaration and weak_alias.
38161 * sysdeps/i386/fpu/libm-test-ulps: Update.
38162
38163 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38165
38166 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38167 subnormal argument.
38168 * math/s_cexpf.c (__cexpf): Likewise.
38169 * math/s_csinf.c (__csinf): Likewise.
38170 * math/s_csinhf.c (__csinhf): Likewise.
38171 * math/s_ctanf.c (__ctanf): Likewise.
38172 * math/s_ctanhf.c (__ctanhf): Likewise.
38173 * math/s_ccosh.c (__ccoshf): Likewise.
38174 * math/s_cexp.c (__cexpl): Likewise.
38175 * math/s_csin.c (__csin): Likewise.
38176 * math/s_csinh.c (__csinh): Likewise.
38177 * math/s_ctan.c (__ctan): Likewise.
38178 * math/s_ctanh.c (ctanh): Likewise.
38179 * math/s_ccoshl.c (__ccoshl): Likewise.
38180 * math/s_cexpl.c (__cexpl): Likewise.
38181 * math/s_csinl.c (__csinl): Likewise.
38182 * math/s_csinhl.c (__csinhl): Likewise.
38183 * math/s_ctanl.c (__ctanl): Likewise.
38184 * math/s_ctanhl.c (__ctanhl): Likewise.
38185
38186 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38187
38188 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38189 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38190 (_IO_off_t): Define to __off_t, not _G_off_t.
38191 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38192 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38193 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38194 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38195 type of __dummy and __dummy2 fields.
38196 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38197 (_G_ssize_t): Likewise.
38198 (_G_off_t): Likewise.
38199 (_G_pid_t): Likewise.
38200 (_G_uid_t): Likewise.
38201 (_G_wchar_t): Likewise.
38202 (_G_wint_t): Likewise.
38203 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38204 (_G_ssize_t): Likewise.
38205 (_G_off_t): Likewise.
38206 (_G_pid_t): Likewise.
38207 (_G_uid_t): Likewise.
38208 (_G_wchar_t): Likewise.
38209 (_G_wint_t): Likewise.
38210 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38211 (_G_ssize_t): Likewise.
38212 (_G_off_t): Likewise.
38213 (_G_pid_t): Likewise.
38214 (_G_uid_t): Likewise.
38215 (_G_wchar_t): Likewise.
38216 (_G_wint_t): Likewise.
38217
38218 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38219
38220 * malloc/arena.c: Include malloc-sysdep.h.
38221 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38222 is sufficient to shrink the heap or an unmap is needed.
38223 * sysdeps/generic/malloc-sysdep.h: New file. Define
38224 new function check_may_shrink_heap.
38225 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38226 new function check_may_shrink_heap.
38227
38228 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38229
38230 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38231 comments.
38232
38233 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38234
38235 * catgets/test-gencat.sh: Add "set -e".
38236 * elf/tst-pathopt.sh: Likewise.
38237 * grp/tst_fgetgrent.sh: Likewise.
38238 * iconvdata/run-iconv-test.sh: Likewise.
38239 * intl/tst-gettext.sh: Likewise.
38240 * intl/tst-gettext2.sh: Likewise.
38241 * intl/tst-gettext4.sh: Likewise.
38242 * intl/tst-gettext6.sh: Likewise.
38243 * intl/tst-translit.sh: Likewise.
38244 * io/ftwtest-sh: Likewise.
38245 * libio/test-freopen.sh: Likewise.
38246 * malloc/tst-mtrace.sh: Likewise.
38247 * posix/globtest.sh: Likewise.
38248 * posix/tst-getconf.sh: Likewise.
38249 * posix/wordexp-tst.sh: Likewise.
38250 * stdio-common/tst-printf.sh: Likewise.
38251 * stdio-common/tst-unbputc.sh: Likewise.
38252 * stdlib/tst-fmtmsg.sh: Likewise.
38253 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38254 * catgets/Makefile: Do not specify -e option when running
38255 testsuite shell scripts.
38256 * elf/Makefile: Likewise.
38257 * grp/Makefile: Likewise.
38258 * iconvdata/Makefile: Likewise.
38259 * intl/Makefile: Likewise.
38260 * io/Makefile: Likewise.
38261 * libio/Makefile: Likewise.
38262 * malloc/Makefile: Likewise.
38263 * posix/Makefile: Likewise.
38264 * stdio-common/Makefile: Likewise.
38265 * stdlib/Makefile: Likewise.
38266 * sysdeps/x86_64/Makefile: Likewise.
38267
38268 * io/ftwtest-sh: Add copyright header.
38269 * posix/globtest.sh: Likewise.
38270 * posix/tst-getconf.sh: Likewise.
38271 * posix/wordexp-tst.sh: Likewise.
38272 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38273
38274 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38275
38276 [BZ #13679]
38277 * Makeconfig (+link): Defined as $(+link-static) if
38278 $(build-shared) isn't yes.
38279 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38280 isn't yes.
38281 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38282
38283 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38284
38285 [BZ #14562]
38286 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38287 new chunk size with MALLOC_ALIGN_MASK.
38288
38289 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38290
38291 [BZ #5044]
38292 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38293 <rounding-mode.h>.
38294 (__printf_fphex): Determine rounding using get_rounding_mode and
38295 round_away.
38296 * stdio-common/tst-printf-round.c (struct hex_test): New
38297 structure.
38298 (hex_tests): New variable.
38299 (test_hex_in_one_mode): New function.
38300 (do_test): Also run tests for hex float output.
38301
38302 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38303
38304 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38305 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38306 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38307 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38308 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38309 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38310 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38312
38313 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38314
38315 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38316 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38317 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38318 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38319
38320 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38321
38322 [BZ #14579]
38323 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38324 mode only.
38325 * elf/tst-rtld-load-self.sh: New test.
38326 * elf/Makefile: Run it.
38327
38328 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38329
38330 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38331 (tst-writev-ENV): Remove.
38332 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38333
38334 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38335
38336 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38337
38338 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38339
38340 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38341 unconditional.
38342 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38343 Likewise.
38344 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38345 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38346 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38347 Likewise.
38348
38349 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38350
38351 [BZ #14587]
38352 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38353 * config.make.in (have-cpp-asm-debuginfo): Removed.
38354 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38355 * configure: Regenerated.
38356
38357 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38358
38359 [BZ #5044]
38360 * stdio-common/printf_fp.c: Include <stdbool.h> and
38361 <rounding-mode.h>.
38362 (___printf_fp): Determine rounding using get_rounding_mode and
38363 round_away.
38364 * stdio-common/tst-printf-round.c: New file.
38365 * stdio-common/Makefile (tests): Add tst-printf-round.
38366 (link-libm): New variable.
38367 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38368
38369 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38370
38371 [BZ #14576]
38372 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38373 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38374 Likewise.
38375 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38376 Likewise.
38377
38378 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38379
38380 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38381 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38382 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38383 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38384
38385 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38386
38387 [BZ #14518]
38388 * include/rounding-mode.h: New file.
38389 * sysdeps/generic/get-rounding-mode.h: Likewise.
38390 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38391 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38392 (MAX_VALUE): New macro.
38393 (MIN_VALUE): Likewise.
38394 (overflow_value): New function.
38395 (underflow_value): Likewise.
38396 (round_and_return): Use overflow_value and underflow_value to
38397 determine return values in overflow and underflow cases. Use
38398 round_away to determine rounding depending on rounding mode.
38399 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38400 determine return values in overflow and underflow cases.
38401 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38402 (struct test_results): New structure.
38403 (struct test): Use struct test_results to store expected results
38404 for all rounding modes.
38405 (TEST): Include expected results for all rounding modes.
38406 (test_in_one_mode): New function.
38407 (do_test): Use test_in_one_mode to compute and check results.
38408 Check results for all rounding modes.
38409 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38410 $(link-libm).
38411
38412 2012-12-09 Allan McRae <allan@archlinux.org>
38413
38414 * sysdeps/i386/fpu/libm-test-ulps: Update
38415
38416 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38417
38418 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38419 (_G_int32_t): Likewise.
38420 (_G_uint16_t): Likewise.
38421 (_G_uint32_t): Likewise.
38422 (_G_HAVE_BOOL): Likewise.
38423 (_G_HAVE_ATEXIT): Likewise.
38424 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38425 (_G_HAVE_IO_FILE_OPEN): Likewise.
38426 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38427 (_G_int32_t): Likewise.
38428 (_G_uint16_t): Likewise.
38429 (_G_uint32_t): Likewise.
38430 (_G_HAVE_BOOL): Likewise.
38431 (_G_HAVE_ATEXIT): Likewise.
38432 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38433 (_G_HAVE_IO_FILE_OPEN): Likewise.
38434 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38435 (_G_int32_t): Likewise.
38436 (_G_uint16_t): Likewise.
38437 (_G_uint32_t): Likewise.
38438 (_G_HAVE_BOOL): Likewise.
38439 (_G_HAVE_ATEXIT): Likewise.
38440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38441 (_G_HAVE_IO_FILE_OPEN): Likewise.
38442
38443 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38444
38445 * csu/libc-tls.c: Update copyright years.
38446
38447 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38448
38449 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38450 [!_G_USING_THUNKS]: Remove conditional code.
38451 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38452 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38453
38454 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38455 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38456 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38457 (_G_VTABLE_LABEL_PREFIX): Likewise.
38458 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38459 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38461 (_G_VTABLE_LABEL_PREFIX): Likewise.
38462 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38463 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38464 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38465 (_G_VTABLE_LABEL_PREFIX): Likewise.
38466 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38467
38468 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38469
38470 * libio/Makefile: Include ../Makeconfig before tests.
38471 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38472 only if $(build-shared) is yes.
38473
38474 * iconv/gconv_db.c: Update copyright years.
38475
38476 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38477
38478 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38479 unwind info if defined PIC. Fix special cases description.
38480 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38481
38482 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38483 DP_HI_MASK entry.
38484 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38485
38486 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38487
38488 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38489
38490 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38491 is NULL.
38492
38493 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38494 (LDLIBS-tst-chk4): This.
38495 (LDFLAGS-tst-chk5): Renamed to ...
38496 (LDLIBS-tst-chk5): This.
38497 (LDFLAGS-tst-chk6): Renamed to ...
38498 (LDLIBS-tst-chk6): This.
38499 (LDFLAGS-tst-lfschk4): Renamed to ...
38500 (LDLIBS-tst-lfschk4): This.
38501 (LDFLAGS-tst-lfschk5): Renamed to ...
38502 (LDLIBS-tst-lfschk5): This.
38503 (LDFLAGS-tst-lfschk6): Renamed to ...
38504 (LDLIBS-tst-lfschk6): This.
38505
38506 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38507 on $(common-objpfx)soversions.mk.
38508
38509 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38510
38511 [BZ #10014]
38512 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38513 example host name.
38514
38515 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38516
38517 * malloc/arena.c (arena_get_retry): New function that gets
38518 another arena for the caller to try its request on.
38519 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38520 current arena cannot fulfill the request.
38521 (__libc_memalign): Likewise.
38522 (__libc_memalign): Likewise.
38523 (__libc_pvalloc): Likewise.
38524 (__libc_calloc): Likewise.
38525
38526 2012-09-05 John Tobey <john.tobey@gmail.com>
38527
38528 [BZ #13542]
38529 * manual/arith.texi (Operations on Complex): Fix description
38530 of carg branch cut.
38531
38532 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38533
38534 [BZ #10014]
38535 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38536 host name.
38537
38538 [BZ #10038]
38539 * manual/memory.texi (Memory): Make order of menu items match
38540 order of sections.
38541
38542 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38543
38544 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38545 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38546 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38547
38548 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38549
38550 * csu/libc-tls.c (static_dtv): Renamed to ...
38551 (_dl_static_dtv): This. Make it global.
38552 (_dl_initial_dtv): Removed.
38553 (__libc_setup_tls): Updated.
38554 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38555 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38556 DL_INITIAL_DTV.
38557
38558 2012-09-06 Petr Machata <pmachata@redhat.com>
38559
38560 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38561 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38562 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38563 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38564
38565 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38566
38567 [BZ #14545]
38568 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38569 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38570 freeing dtv[-1].
38571
38572 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38573
38574 [BZ #14544]
38575 * Makeconfig (link-static-before-libc): Replace $(+prector)
38576 with $(+prectorT).
38577 (link-static-after-libc): Replace $(+postctor) with
38578 $(+postctorT).
38579 (link-bounded): Replace $(+prector)/$(+postctor) with
38580 $(+prectorT)/$(+postctorT).
38581 (+prectorT): New macro.
38582 (+postctorT): Likewise.
38583
38584 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38585
38586 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38587 (round_str): Handle values above the maximum for IBM long double
38588 as inexact.
38589 * stdlib/tst-strtod-round.c (tests): Regenerated.
38590
38591 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38592
38593 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38594 assembler flag.
38595 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38596 zarch_nohighgprs around the zarch optimized routines.
38597 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38598 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38599 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38600 for zarch.
38601
38602 2012-09-05 David S. Miller <davem@davemloft.net>
38603
38604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38605
38606 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38607 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38608 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38609 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38610 entries.
38611
38612 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38613
38614 * malloc/arena.c: Fold copyright years.
38615 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38616
38617 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38618
38619 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38620
38621 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38622
38623 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38624
38625 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38626
38627 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38628 change internal state upon failure.
38629
38630 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38631
38632 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38633 * malloc/memusage.c (mmap): Likewise.
38634 (mmap64, mremap): Likewise. Adjust name in comment.
38635
38636 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38637
38638 * libio/fileops.c: Fix typos in comments.
38639 * libio/oldfileops.c: Likewise.
38640 * libio/wfileops.c: Likewise.
38641
38642 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38643
38644 [BZ #1349]
38645 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38646 (tst-malloc-usable-ENV): Set environment for test case.
38647 * malloc/hooks.c (malloc_check_get_size): New function to get
38648 requested size.
38649 * malloc/malloc.c (musable): Use malloc_check_get_size.
38650 * malloc/tst-malloc-usable.c: New test case.
38651
38652 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38653
38654 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38655
38656 2012-09-05 Allan McRae <allan@archlinux.org>
38657
38658 [BZ #13966]
38659 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38660 determine header location.
38661 * configure: Regenerated.
38662
38663 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38664
38665 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38666 float format.
38667 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38668 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38669 format.
38670 (test): Regenerate.
38671
38672 2012-09-04 David S. Miller <davem@davemloft.net>
38673
38674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38676 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38677
38678 2012-09-04 Florian Weimer <fweimer@redhat.com>
38679
38680 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38681 failures.
38682
38683 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38684
38685 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38686
38687 [BZ #9914]
38688 * libio/iogetdelim.c: Include <limits.h>.
38689 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38690 + len + 1 would overflow.
38691
38692 2012-09-03 Andreas Jaeger <aj@suse.de>
38693
38694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38695 * sysdeps/i386/fpu/libm-test-ulps: Update.
38696
38697 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38698
38699 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38700 Add s_sinf-sse2, s_conf-sse2.
38701
38702 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38703 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38704 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38705 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38706
38707 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38708 for using routine as __sinf_ia32.
38709 Use macro for function declaration and weak_alias.
38710 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38711 for using routine as __cosf_ia32.
38712 Use macro for function declaration and weak_alias.
38713
38714 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38715 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38716
38717 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38718 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38720
38721 * math/libm-test.inc (cos_test): Add more test cases.
38722 (sin_test): Likewise.
38723 (sincos_test): Likewise.
38724
38725 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38726
38727 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38728 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38729 hidden.
38730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38731
38732 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38733
38734 [BZ #14538]
38735 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38736 first element of the GOT.
38737 (elf_machine_load_address): Return the difference between
38738 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38739
38740 2012-09-01 Allan McRae <allan@archlinux.org>
38741
38742 [BZ #13412]
38743 * configure.in (AWK): Require gawk version 3.0 or later.
38744 * configure: Regenerated.
38745
38746 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38747
38748 * sysdeps/unix/sysv/linux/kernel-features.h
38749 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38751 [__NR_clock_getres]: Make code unconditional.
38752 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38753 (clock_getcpuclockid): Remove code left unreachable by removal of
38754 conditionals.
38755 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38756 code unconditional.
38757 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38758 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38759 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38760 Make code unconditional.
38761 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38762 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38763 * sysdeps/unix/sysv/linux/clock_settime.c
38764 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38765 conditional code.
38766 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38767 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38768
38769 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38770
38771 [BZ #14476]
38772 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38773 scripts/test-installation.pl.
38774
38775 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38776 and $ld_so_version if it is set.
38777
38778 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38779
38780 [BZ #14516]
38781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38782 failure if reading from procfs failed.
38783 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38784
38785 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38786
38787 * sysdeps/unix/sysv/linux/kernel-features.h
38788 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38789 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38790 Remove conditional code.
38791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38792 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38793 Remove conditional code.
38794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38795 * sysdeps/unix/sysv/linux/i386/fxstat.c
38796 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38798 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38801 * sysdeps/unix/sysv/linux/i386/lxstat.c
38802 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38804 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38805 Remove conditional code.
38806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38807 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38808 Remove conditional code.
38809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38810 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38811 <kernel-features.h>.
38812 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38813 Remove.
38814 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38815 Remove conditional code.
38816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38817 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38818 Remove conditional.
38819
38820 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38821
38822 [BZ #5400]
38823 * NEWS: Add fixed bug number.
38824
38825 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38826
38827 [BZ #14519]
38828 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38829 underflowing exponent in case of negative sign.
38830 * stdlib/tst-strtod-round-data: Add more tests.
38831 * stdlib/tst-strtod-round.c (tests): Regenerated.
38832
38833 [BZ #3479]
38834 * stdlib/strtod_l.c (NDIG): Remove.
38835 (HEXNDIG): Likewise.
38836 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38837 smallest representable value.
38838 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38839 lie within an exact representation of 1/2 ulp of the result.
38840 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38841 unconditionally.
38842 (TENS_P9_IDX): Define unconditionally.
38843 (TENS_P9_SIZE): Likewise.
38844 (TENS_P10_IDX): Likewise.
38845 (TENS_P10_SIZE): Likewise.
38846 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38847 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38848 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38849 entries for 10^2^13 and 10^2^14.
38850 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38851 (TENS_P13_IDX): Define.
38852 (TENS_P13_SIZE): Likewise.
38853 (TENS_P14_IDX): Likewise.
38854 (TENS_P14_SIZE): Likewise.
38855 (_fpioconst_pow10): Change array size to
38856 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38857 unconditional.
38858 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38859 1024]: Add entries for 10^2^13 and 10^2^14.
38860 [LAST_POW10 > _LAST_POW10]: Remove #error.
38861 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38862 (_fpioconst_pow10): Change array size to
38863 FPIOCONST_POW10_ARRAY_SIZE.
38864 * stdlib/gen-fpioconst.c: New file.
38865 * stdlib/gen-tst-strtod-round.c: Likewise.
38866 * stdlib/tst-strtod-round-data: Likewise.
38867 * stdlib/tst-strtod-round.c: Likewise.
38868 * stdlib/Makefile (tests): Add tst-strtod-round.
38869
38870 [BZ #14459]
38871 * stdlib/strtod_l.c: Include <stdint.h>.
38872 (NDEBUG): Do not define.
38873 (round_and_return): Change EXPONENT parameter to type intmax_t.
38874 Rearrange calculations to avoid internal overflow possibilities.
38875 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38876 Rearrange calculations to avoid internal overflow possibilities.
38877 Assert that number fits inside MPNSIZE limbs.
38878 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38879 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38880 calculations and add assertions to avoid internal overflow
38881 possibilities. Add casts to avoid signed/unsigned operations.
38882 * stdlib/tst-strtod-overflow.c: New file.
38883 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38884
38885 2012-08-25 Marek Polacek <polacek@redhat.com>
38886
38887 * time/time.h: Fix some typos in comments.
38888
38889 2012-08-23 Roland McGrath <roland@hack.frob.com>
38890
38891 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38892 * posix/tst-rfc3484-2.c: Likewise.
38893 * posix/tst-rfc3484-3.c: Likewise.
38894
38895 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38896
38897 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38898 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38899
38900 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38901
38902 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38903 #include of fxstatat64.c.
38904
38905 2012-08-22 Roland McGrath <roland@hack.frob.com>
38906
38907 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38908 * shadow/getspent_r.c: Likewise.
38909 * shadow/getspnam.c: Likewise.
38910 * shadow/getspnam_r.c: Likewise.
38911 * gshadow/getsgent.c: Likewise.
38912 * gshadow/getsgent_r.c: Likewise.
38913 * gshadow/getsgnam.c: Likewise.
38914 * gshadow/getsgnam_r.c: Likewise.
38915 * inet/getnetbyad.c: Likewise.
38916 * inet/getnetbyad_r.c: Likewise.
38917 * inet/getnetbynm.c: Likewise.
38918 * inet/getnetbynm_r.c: Likewise.
38919 * inet/getnetent.c: Likewise.
38920 * inet/getnetent_r.c: Likewise.
38921 * inet/getproto.c: Likewise.
38922 * inet/getproto_r.c: Likewise.
38923 * inet/getprtent.c: Likewise.
38924 * inet/getprtent_r.c: Likewise.
38925 * inet/getprtname.c: Likewise.
38926 * inet/getprtname_r.c: Likewise.
38927 * inet/getrpcbyname.c: Likewise.
38928 * inet/getrpcbyname_r.c: Likewise.
38929 * inet/getrpcbynumber.c: Likewise.
38930 * inet/getrpcbynumber_r.c: Likewise.
38931 * inet/getrpcent.c: Likewise.
38932 * inet/getrpcent_r.c: Likewise.
38933 * inet/getaliasent.c: Likewise.
38934 * inet/getaliasent_r.c: Likewise.
38935 * inet/getaliasname.c: Likewise.
38936 * inet/getaliasname_r.c: Likewise.
38937 * nscd/getgrgid_r.c: Likewise.
38938 * nscd/getgrnam_r.c: Likewise.
38939 * nscd/gethstbyad_r.c: Likewise.
38940 * nscd/gethstbynm3_r.c: Likewise.
38941 * nscd/getpwnam_r.c: Likewise.
38942 * nscd/getpwuid_r.c: Likewise.
38943 * nscd/getsrvbynm_r.c: Likewise.
38944 * nscd/getsrvbypt_r.c: Likewise.
38945 * nscd/gai.c: Likewise.
38946
38947 * configure.in (build_nscd): New substituted variable, set
38948 by --disable-build-nscd and defaults to $use_nscd.
38949 * configure: Regenerated.
38950 * config.make.in (build-nscd): New substituted variable.
38951 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38952 Change conditional to require [$(build-nscd) = yes] as well.
38953 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38954
38955 [BZ# 13696]
38956 * configure.in (use_nscd): New substituted variable, set by
38957 --disable-nscd. If enabled, define USE_NSCD.
38958 * configure: Regenerated.
38959 * config.h.in: Add USE_NSCD.
38960 * config.make.in (use-nscd): New substituted variable.
38961 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38962 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38963 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38964 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38965 (CFLAGS-getgrnam_r.c): Likewise.
38966 (CFLAGS-initgroups.c): Likewise.
38967 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38968 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38969 Variables removed.
38970 * inet/getnetgrent_r.c
38971 (nscd_setnetgrent): New function, broken out of ...
38972 (setnetgrent): ... here. Call it.
38973 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38974 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38975 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38976 * nscd/Makefile (routines, aux): Move definitions after include of
38977 Makeconfig. Conditionalize on [$(use-nscd) != no].
38978 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38979 Conditionalize on [USE_NSCD].
38980 (is_nscd, nscd_init_cb): Likewise.
38981 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38982 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38983 * nss/nss_db/db-init.c: Likewise.
38984 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38985 [USE_NSCD].
38986 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38987 (make_request): Use it.
38988 (cache_valid_p): New function.
38989 (__check_pf): Use it.
38990 * NEWS: Add item for --disable-nscd.
38991
38992 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38993
38994 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38995 to support sed >= 4.2.1-20-ga9bf076.
38996 * configure: Regenerated.
38997
38998 2012-08-22 Roland McGrath <roland@hack.frob.com>
38999
39000 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39001 Conditionalize whole body on [IREL].
39002
39003 2012-08-22 Jeff Law <law@redhat.com>
39004
39005 [BZ #14505]
39006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39007 if the family is PF_UNSPEC.
39008
39009 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39010
39011 * Makerules (lib-version): Rename from V.
39012 (install-lib-nosubdir): Change V to lib-version.
39013
39014 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39015
39016 [BZ #14252]
39017 * powerpc32/power6/wcschr.c: New file.
39018 * powerpc32/power6/wcscpy.c: New file.
39019 * powerpc32/power6/wcsrchr.c: New file.
39020 * powerpc64/power6/wcschr.c: New file.
39021 * powerpc64/power6/wcscpy.c: New file.
39022 * powerpc64/power6/wcsrchr.c: New file.
39023
39024 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39025
39026 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39027 (two_way_short_needle): Use it.
39028 * string/strstr.c (AVAILABLE1_USES_J): Define.
39029 * string/strcasestr.c: Likewise.
39030
39031 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39032 array references.
39033 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39034
39035 [BZ #11607]
39036 * NEWS: Add an entry.
39037 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39038 define their defaults.
39039 (two_way_short_needle): Detect end-of-string on-the-fly.
39040 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39041 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39042 * string/bug-strcasestr1.c: New test.
39043 * string/Makefile: Run it.
39044
39045 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39046
39047 [BZ #11607]
39048 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39049 the first character.
39050
39051 2012-08-21 Roland McGrath <roland@hack.frob.com>
39052
39053 * csu/elf-init.c (__libc_csu_irel): Function removed.
39054 * csu/libc-start.c (apply_irel): New function.
39055 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39056
39057 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39058
39059 * sysdeps/unix/sysv/linux/kernel-features.h
39060 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39061 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39062 <kernel-features.h>.
39063 [__NR_fadvise64_64]: Make code unconditional.
39064 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39065 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39066 !__NR_fadvise64_64)]: Likewise.
39067 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39068 !__NR_fadvise64_64))]: Likewise.
39069 [__NR_fadvise64]: Make code unconditional.
39070 [!__NR_fadvise64]: Remove conditional code.
39071 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39072 <kernel-features.h>.
39073 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39074 unconditional.
39075 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39076 conditional code.
39077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39078 not include <kernel-features.h>.
39079 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39080 unconditional.
39081 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39082 conditional code.
39083 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39084 include <kernel-features.h>.
39085 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39086 unconditional.
39087 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39088 conditional code.
39089
39090 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39091
39092 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39093 slight instruction rearrangements per scrollpipe analysis.
39094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39095
39096 2012-08-20 Roland McGrath <roland@hack.frob.com>
39097
39098 * manual/syslog.texi (syslog; vsyslog, closelog):
39099 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39100 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39101
39102 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39103 DSOCAPS to match condition on defining it.
39104
39105 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39106
39107 * sysdeps/unix/sysv/linux/kernel-features.h
39108 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39110 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39111 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39116 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39117 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39118
39119 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39120 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39121
39122 * sysdeps/unix/sysv/linux/kernel-features.h
39123 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39124 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39125 unconditional.
39126 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39127 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39128 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39129 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39130 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39131 Make code unconditional.
39132 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39133 (__mmap64) [!__NR_mmap2]: Likewise.
39134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39135 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39136 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39137 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39138 [__NR_mmap2]: Make code unconditional.
39139 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39140 (__mmap64) [!__NR_mmap2]: Likewise.
39141
39142 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39143
39144 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39145
39146 2012-08-18 Andreas Jaeger <aj@suse.de>
39147
39148 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39149
39150 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39151
39152 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39153 * include/unistd.h (__have_sock_cloexec): Likewise.
39154 (__have_pipe2): Likewise.
39155 (__have_dup3): Likewise.
39156
39157 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39158
39159 [BZ #9685]
39160 * include/unistd.h (__have_pipe2): Change define into an extern int.
39161 (__have_dup3): Likewise.
39162 * socket/have_sock_cloexec.c: Include fcntl.h.
39163 (__have_pipe2): New variable.
39164 (__have_dup3): Likewise.
39165
39166 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39167
39168 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39169
39170 2012-08-17 Marek Polacek <polacek@redhat.com>
39171
39172 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39173 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39174
39175 2012-08-17 Roland McGrath <roland@hack.frob.com>
39176
39177 * configure.in: Add AC_SUBST for sysheaders.
39178 * configure: Regenerated.
39179 * config.make.in (sysheaders): New substituted variable.
39180
39181 * sysdeps/unix/mkfifo.c: Moved ...
39182 * sysdeps/posix/mkfifo.c: ... here.
39183 * sysdeps/unix/mkfifoat.c: Moved ...
39184 * sysdeps/posix/mkfifoat.c: ... here.
39185
39186 * sysdeps/unix/utime.c: Moved ...
39187 * sysdeps/posix/utime.c: ... here.
39188
39189 * sysdeps/unix/time.c: Moved ...
39190 * sysdeps/posix/time.c: ... here.
39191 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39192 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39193
39194 * sysdeps/unix/nice.c: Moved ...
39195 * sysdeps/posix/nice.c: ... here.
39196
39197 * sysdeps/unix/alarm.c: Moved ...
39198 * sysdeps/posix/alarm.c: ... here.
39199
39200 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39201
39202 2012-08-17 Jeff Law <law@redhat.com>
39203
39204 * intl/Makefile (codeset_mo): New variable.
39205 ($(codeset_mo)): New target.
39206 (tst-codeset.out): Depend on that. Remove explicit rule.
39207 (tst-gettext3.out, tst-gettext5.out): Likewise.
39208 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39209 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39210 * intl/tst-codeset.sh: Remove.
39211 * intl/tst-gettext3.sh: Likewise.
39212 * intl/tst-gettext5.sh: Likewise.
39213
39214 2012-08-17 Roland McGrath <roland@hack.frob.com>
39215
39216 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39217 * sysdeps/unix/syscalls.list: ... here.
39218
39219 * sysdeps/posix/getaddrinfo.c
39220 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39221 (gaiconf_init, gaiconf_reload): Use them.
39222 [!_STATBUF_ST_NSEC]
39223 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39224 Define using time_t rather than struct timespec.
39225
39226 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39227 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39228 Macros removed.
39229 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39230 [!NO_THREADS].
39231 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39232 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39233 Likewise.
39234
39235 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39236 __libc_cleanup_push argument.
39237
39238 * bits/param.h: New file.
39239 * misc/sys/param.h: New file.
39240 * include/sys/param.h: New file.
39241 * misc/Makefile (headers): Add bits/param.h.
39242 * sysdeps/generic/sys/param.h: File removed.
39243 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39244 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39245 * sysdeps/mach/hurd/bits/param.h: New file.
39246 * sysdeps/mach/hurd/sys/param.h: File removed.
39247
39248 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39249 last change.
39250
39251 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39252 [_IO_MTSAFE_IO].
39253 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39254 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39255 New macros.
39256
39257 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39258 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39259 rather than -D_IO_MTSAFE_IO conditionally.
39260 * stdio-common/Makefile (CPPFLAGS): Likewise.
39261 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39262 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39263 Use $(libio-mtsafe).
39264 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39265 of -D_IO_MTSAFE_IO.
39266 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39267 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39268 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39269 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39270 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39271 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39272 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39273 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39274 (CFLAGS-fread_u_chk.c): Likewise.
39275 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39276 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39277 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39278 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39279 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39280 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39281 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39282 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39283 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39284
39285 * libio/Makefile: Test [$(libc-reentrant) = yes]
39286 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39287
39288 * Makeconfig
39289 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39290 * sysdeps/pthread/configure: File removed.
39291 * sysdeps/pthread/Makeconfig: New file.
39292 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39293 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39294
39295 2012-08-16 Gary Benson <gbenson@redhat.com>
39296
39297 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39298 unmapping the first object in a namespace.
39299
39300 2012-08-16 Roland McGrath <roland@hack.frob.com>
39301
39302 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39303 (__internal_setnetgrent): ... this. Add internal_function to
39304 definition. Add libc_hidden_def.
39305 (setnetgrent): Update caller.
39306 (internal_endnetgrent): Renamed to ...
39307 (__internal_endnetgrent): ... this. Add internal_function to
39308 definition. Add libc_hidden_def.
39309 (endnetgrent): Update caller.
39310 (internal_getnetgrent_r): Renamed to ...
39311 (__internal_getnetgrent_r): ... this. Add internal_function to
39312 definition. Add libc_hidden_def.
39313 (__getnetgrent_r): Update caller.
39314 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39315
39316 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39317
39318 * stdlib/longlong.h: Update from GCC.
39319
39320 2012-08-16 Roland McGrath <roland@hack.frob.com>
39321
39322 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39323 on _QL, which is set by umul_ppmm but never used.
39324 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39325 variables, which are set by GMP macros but never used.
39326 * stdio-common/_itowa.c (_itowa): Likewise.
39327 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39328 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39329
39330 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39331
39332 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39333 struct La_sh_regs is not constant.
39334 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39335 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39336 and struct La_sparc64_regs are not constant.
39337
39338 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39339
39340 * sysdeps/unix/sysv/linux/kernel-features.h
39341 (__ASSUME_POSIX_TIMERS): Remove.
39342 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39344 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39345 Make code unconditional.
39346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39347 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39348 Make code unconditional.
39349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39350 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39351 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39353 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39354 Make code unconditional.
39355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39356 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39357 (__libc_missing_posix_timers): Remove.
39358
39359 2012-08-15 Roland McGrath <roland@hack.frob.com>
39360
39361 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39362 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39363
39364 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39365
39366 * elf/dl-sym.c: Include <stdlib.h>.
39367
39368 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39369 constants, which avoids warnings in 32-bit builds.
39370
39371 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39372 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39373
39374 * misc/lseek.c: File moved to ...
39375 * io/lseek.c: ... here.
39376
39377 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39378
39379 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39380 shifting LEN more than 31 bits at once.
39381
39382 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39383
39384 [BZ #14195]
39385 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39386 segmentation fault for a case of two empty input strings.
39387 * string/test-strncasecmp.c (check1): Renamed to...
39388 (bz12205): ...this.
39389 (bz14195): Add new testcase for two empty input strings and N > 0.
39390 (test_main): Call new testcase, adapt for renamed function.
39391
39392 2012-08-15 Andreas Jaeger <aj@suse.de>
39393
39394 [BZ #14090]
39395 * crypt/md5test2.c: New test, based on test supplied by Serge
39396 Belyshev <belyshev@depni.sinp.msu.ru>.
39397 * crypt/Makefile (xtests): Add md5test-giant..
39398 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39399
39400 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39401
39402 [BZ #14090]
39403 * crypt/md5.c (md5_process_block): Don't assume the buffer
39404 length is less than 2**32.
39405 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39406 length is less than 2**64.
39407
39408 2012-08-15 Roland McGrath <roland@hack.frob.com>
39409
39410 * string/str-two-way.h: Include <sys/param.h>.
39411 (MAX): Macro removed.
39412
39413 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39414 Move #define and #undef of memmove to just before and after
39415 including <string.h>.
39416
39417 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39418 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39419 and after including <string.h>. Move declarations of
39420 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39421 to before #include "string/memmove.c".
39422
39423 * include/dirent.h: Declare __getdirentries.
39424
39425 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39426 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39427
39428 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39429
39430 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39431 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39432 * sysdeps/i386/configure: Regenerated.
39433 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39434 STABS_CURRENT_FILE, and STABS_FUN.
39435 (END): Remove call to STABS_FUN_END.
39436 (STABS_CURRENT_FILE1): Delete.
39437 (STABS_CURRENT_FILE): Likewise.
39438 (STABS_FUN): Likewise.
39439 (STABS_FUN_END): Likewise.
39440 (STABS_FUN2): Likewise.
39441 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39442 * sysdeps/x86_64/configure: Regenerated.
39443
39444 2012-08-14 Roland McGrath <roland@hack.frob.com>
39445
39446 * elf/dl-open.c: Include <atomic.h>.
39447 * elf/dl-lookup.c: Likewise.
39448
39449 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39450
39451 * sysdeps/unix/sysv/linux/kernel-features.h
39452 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39453 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39454 unconditionally.
39455 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39456 unconditionally.
39457 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39458 condition on __ASSUME_CLONE_THREAD_FLAGS.
39459
39460 2012-08-14 Andreas Jaeger <aj@suse.de>
39461
39462 * sysdeps/i386/fpu/libm-test-ulps: Update.
39463
39464 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39465
39466 * include/atomic.h (atomic_exchange_and_add): Split into ...
39467 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39468 New atomic macros.
39469
39470 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39471
39472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39473
39474 2012-08-13 Jeff Law <law@redhat.com>
39475
39476 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39477 null byte in the output string.
39478
39479 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39480
39481 * sysdeps/unix/sysv/linux/kernel-features.h
39482 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39483 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39484 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39486 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39487 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39488 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39489
39490 2012-08-09 Jeff Law <law@redhat.com>
39491
39492 [BZ #13939]
39493 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39494 When avoid_arena is set, don't retry in the that arena. Pick the
39495 next one, whatever it might be.
39496 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39497 (arena_lock): Pass in new parameter to arena_get2.
39498 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39499 arena_get2.
39500 (__libc_malloc): Unify retrying after main arena failure with
39501 __libc_memalign version.
39502 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39503
39504 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39505
39506 [BZ #14166]
39507 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39508 to __redirect_strstr.
39509 (__strstr_sse42): Use typeof __redirect_strstr.
39510 (__strstr_ia32): Likewise.
39511 (__libc_strstr): New prototype.
39512 (strstr): Renamed to ...
39513 (__libc_strstr): This.
39514 (strstr): New strong alias of __libc_strstr.
39515 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39516 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39517 __redirect_time.
39518 Include <time.h>.
39519 (__libc_time): New prototype.
39520 (time_ifunc): Replace time with __libc_time.
39521 (time): New strong alias and hidden definition of __libc_time.
39522 (__GI_time): Remove strong alias.
39523 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39524 Include <stddef.h>.
39525 (memmove): Redefined to __redirect_memmove.
39526 (__memmove_sse2): Use typeof __redirect_memmove.
39527 (__memmove_ssse3): Likewise.
39528 (__memmove_ssse3_back): Likewise.
39529 (__libc_memmove): New prototype.
39530 (memmove): Renamed to ...
39531 (__libc_memmove): This.
39532 (memmove): New strong alias of __libc_memmove.
39533
39534 2012-08-08 Mark Salter <msalter@redhat.com>
39535
39536 * elf/elf.h
39537 (R_MN10300_TLS_GD): Define.
39538 (R_MN10300_TLS_LD): Likewise.
39539 (R_MN10300_TLS_LDO): Likewise.
39540 (R_MN10300_TLS_GOTIE): Likewise.
39541 (R_MN10300_TLS_IE): Likewise.
39542 (R_MN10300_TLS_LE): Likewise.
39543 (R_MN10300_TLS_DTPMOD): Likewise.
39544 (R_MN10300_TLS_DTPOFF): Likewise.
39545 (R_MN10300_TLS_TPOFF): Likewise.
39546 (R_MN10300_SYM_DIFF): Likewise.
39547 (R_MN10300_ALIGN): Likewise.
39548 (R_MN10300_NUM): Update.
39549
39550 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39551
39552 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39553 Remove.
39554
39555 2012-08-08 Roland McGrath <roland@hack.frob.com>
39556
39557 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39558
39559 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39560 sysdeps/unix -> sysdeps/posix move.
39561 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39562
39563 2012-08-07 Allan McRae <allan@archlinux.org>
39564
39565 [BZ #14303]
39566 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39567 (SUNOS_CPP): Likewise.
39568 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39569 not found.
39570 (open_input): Call CPP using execvp.
39571
39572 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39573
39574 * sysdeps/unix/sysv/linux/kernel-features.h
39575 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39576 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39577 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39578 (__ASSUME_WAITID_SYSCALL): Likewise.
39579 * sysdeps/unix/sysv/linux/dl-execstack.c
39580 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39581 code unconditional.
39582 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39583 conditional code.
39584 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39585 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39586 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39587 code.
39588 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39589 unconditional.
39590 [__ASSUME_WAITID_SYSCALL]: Likewise.
39591 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39592
39593 2012-08-07 Roland McGrath <roland@hack.frob.com>
39594
39595 * sysdeps/unix/closedir.c: Renamed to ...
39596 * sysdeps/posix/closedir.c: ... here.
39597 * sysdeps/unix/dirfd.c: Renamed to ...
39598 * sysdeps/posix/dirfd.c: ... here.
39599 * sysdeps/unix/dirstream.h: Renamed to ...
39600 * sysdeps/posix/dirstream.h: ... here.
39601 * sysdeps/unix/fdopendir.c: Renamed to ...
39602 * sysdeps/posix/fdopendir.c: ... here.
39603 * sysdeps/unix/opendir.c: Renamed to ...
39604 * sysdeps/posix/opendir.c: ... here.
39605 * sysdeps/unix/readdir.c: Renamed to ...
39606 * sysdeps/posix/readdir.c: ... here.
39607 * sysdeps/unix/readdir_r.c: Renamed to ...
39608 * sysdeps/posix/readdir_r.c: ... here.
39609 * sysdeps/unix/rewinddir.c: Renamed to ...
39610 * sysdeps/posix/rewinddir.c: ... here.
39611 * sysdeps/unix/seekdir.c: Renamed to ...
39612 * sysdeps/posix/seekdir.c: ... here.
39613 * sysdeps/unix/telldir.c: Renamed to ...
39614 * sysdeps/posix/telldir.c: ... here.
39615 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39616 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39617 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39618 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39619
39620 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39621 * bits/fcntl.h: ... here.
39622
39623 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39624 not 0.
39625 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39626 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39627 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39628 (struct flock): Move l_start, l_len to the beginning.
39629 Use __pid_t for l_pid.
39630 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39631 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39632 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39633 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39634 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39635 [__USE_LARGEFILE64] (struct flock64): New type.
39636 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39637
39638 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39639 * bits/dirent.h: ... here.
39640
39641 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39642 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39643
39644 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39645
39646 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39647 Change from 2.6.0 to 2.6.16.
39648 * sysdeps/unix/sysv/linux/configure: Regenerated.
39649 * sysdeps/unix/sysv/linux/kernel-features.h
39650 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39651 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39652 version.
39653 (__ASSUME_UTIMES): Likewise.
39654 (__ASSUME_CLONE_STOPPED): Remove.
39655 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39656 architectures, not kernel version.
39657 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39658 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39659 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39660 (__ASSUME_WAITID_SYSCALL): Likewise.
39661 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39662 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39663 * README: State 2.6.16 as minimum Linux kernel version. Do not
39664 refer to older versions.
39665
39666 2012-08-06 Roland McGrath <roland@hack.frob.com>
39667
39668 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39669 Define alphasort64 as an alias.
39670 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39671 Define versionsort64 as an alias.
39672 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39673 Define scandir64 as an alias.
39674 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39675 Define scandirat64 as an alias.
39676 * dirent/alphasort64.c (alphasort64):
39677 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39678 * dirent/versionsort64.c: Likewise.
39679 * dirent/scandir64.c: Likewise.
39680 * dirent/scandirat64.c: Likewise.
39681 * sysdeps/wordsize-64/alphasort.c: File removed.
39682 * sysdeps/wordsize-64/alphasort64.c: File removed.
39683 * sysdeps/wordsize-64/scandir.c: File removed.
39684 * sysdeps/wordsize-64/scandir64.c: File removed.
39685 * sysdeps/wordsize-64/scandirat.c: File removed.
39686 * sysdeps/wordsize-64/scandirat64.c: File removed.
39687 * sysdeps/wordsize-64/versionsort.c: File removed.
39688 * sysdeps/wordsize-64/versionsort64.c: File removed.
39689 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39691 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39692 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39693 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39694 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39695 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39696 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39697
39698 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39700 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39701 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39702 [defined __arch64__ || defined __sparcv9]
39703 (__INO_T_MATCHES_INO64_T): New macro.
39704 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39705 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39706 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39707 * sysdeps/unix/sysv/linux/bits/dirent.h
39708 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39709 (_DIRENT_MATCHES_DIRENT64): New macro.
39710
39711 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39712 Define lockf64 as an alias.
39713 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39714 Define fseeko64 as an alias.
39715 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39716 Define ftello64 as an alias.
39717 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39718 Define _IO_fgetpos64 and fgetpos64 as aliases.
39719 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39720 Define _IO_fsetpos64 and fsetpos64 as aliases.
39721 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39722 Conditionalize body on this.
39723 * libio/fseeko64.c: Likewise.
39724 * libio/ftello64.c: Likewise.
39725 * libio/iofgetpos64.c: Likewise.
39726 * libio/iofsetpos64.c: Likewise.
39727 * sysdeps/wordsize-64/lockf.c: File removed.
39728 * sysdeps/wordsize-64/lockf64.c: File removed.
39729 * sysdeps/wordsize-64/fseeko.c: File removed.
39730 * sysdeps/wordsize-64/fseeko64.c: File removed.
39731 * sysdeps/wordsize-64/ftello.c: File removed.
39732 * sysdeps/wordsize-64/ftello64.c: File removed.
39733 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39734 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39735 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39736 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39739 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39740 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39741 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39742 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39743 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39744 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39747
39748 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39749 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39750 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39751 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39752 [defined __arch64__ || defined __sparcv9]
39753 (__OFF_T_MATCHES_OFF64_T): New macro.
39754 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39755 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39757 (__OFF_T_MATCHES_OFF64_T): New macro.
39758
39759 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39760
39761 * stdlib/secure-getenv.c (__secure_getenv): Replace
39762 GLIBC_2_16 with GLIBC_2_17.
39763
39764 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39765
39766 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39767 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39768
39769 2012-08-03 David S. Miller <davem@davemloft.net>
39770
39771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39772
39773 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39774
39775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39776 Remove.
39777 (__ASSUME_CORRECT_SI_PID): Likewise.
39778 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39779 (__ASSUME_TMPFS_NAME): Likewise.
39780 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39781 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39782 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39783 (HAVE_AUX_SECURE): Make definition unconditional.
39784 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39785 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39786
39787 2012-08-03 Roland McGrath <roland@hack.frob.com>
39788
39789 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39790 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39791 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39792 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39793 __eloop_threshold instead of SYMLOOP_MAX.
39794
39795 * sysdeps/generic/eloop-threshold.h: New file.
39796 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39797 of MAXSYMLINKS.
39798 * elf/chroot_canon.c (chroot_canon): Likewise.
39799
39800 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39801
39802 [BZ #13717]
39803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39804 Change to 2.6.0 everywhere.
39805 * sysdeps/unix/sysv/linux/configure: Regenerated.
39806 * sysdeps/unix/sysv/linux/kernel-features.h
39807 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39808 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39809 kernel versions.
39810 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39811 (__ASSUME_FUTEX_REQUEUE): Remove.
39812 (__ASSUME_STATFS64): Define unconditionally.
39813 (__ASSUME_AT_SECURE): Likewise.
39814 (__ASSUME_CORRECT_SI_PID): Likewise.
39815 (__ASSUME_TGKILL): Define without depending on kernel version for
39816 i386.
39817 (__ASSUME_UTIMES): Likewise.
39818 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39819 kernel version.
39820 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39821 (__ASSUME_TMPFS_NAME): Likewise.
39822 * README: Update reference to Linux kernel versions.
39823
39824 2012-08-02 Marek Polacek <polacek@redhat.com>
39825
39826 [BZ# 14150]
39827 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39828 libc_cv_asm_type_prefix with %.
39829 * configure: Regenerated.
39830 * include/libc-symbols.h: Remove comment about
39831 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39832 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39833 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39834 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39835 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39836 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39837 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39838 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39839 * elf/tst-unique2mod1.c: Likewise.
39840 * elf/tst-unique1mod2.c: Likewise.
39841 * elf/tst-unique1mod1.c: Likewise.
39842 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39843 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39844 Replace ASM_TYPE_DIRECTIVE with .type.
39845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39846 * sysdeps/i386/sysdep.h: Likewise.
39847 * sysdeps/x86_64/sysdep.h: Likewise.
39848 * sysdeps/sh/sysdep.h: Likewise.
39849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39850 Do not define ASM_TYPE_DIRECTIVE.
39851 * sysdeps/powerpc/sysdep.h: Likewise.
39852 * sysdeps/powerpc/powerpc32/sysdep.h:
39853 Replace ASM_TYPE_DIRECTIVE with .type.
39854 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39856 * sysdeps/i386/fpu/e_powf.S: Likewise.
39857 * sysdeps/i386/fpu/e_expl.S: Likewise.
39858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39860 * sysdeps/i386/fpu/e_pow.S: Likewise.
39861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39865 * sysdeps/i386/fpu/e_log2.S: Likewise.
39866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39868 * sysdeps/i386/fpu/e_powl.S: Likewise.
39869 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39870 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39871 * sysdeps/i386/fpu/e_logl.S: Likewise.
39872 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39873 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39874 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39875 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39876 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39877 * sysdeps/i386/fpu/e_log.S: Likewise.
39878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39879 * sysdeps/i386/fpu/e_logf.S: Likewise.
39880 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39881 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39883 * sysdeps/i386/fpu/e_log10.S: Likewise.
39884 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39885 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39886 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39887 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39888 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39889 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39891 * sysdeps/i386/i686/strtok.S: Likewise.
39892 * sysdeps/i386/i386-mcount.S: Likewise.
39893 * sysdeps/i386/strtok.S: Likewise.
39894 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39895 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39896 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39897 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39898 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39900 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39901 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39903 * sysdeps/x86_64/_mcount.S: Likewise.
39904 * sysdeps/x86_64/strtok.S: Likewise.
39905 * sysdeps/sh/_mcount.S: Likewise.
39906
39907 2012-08-01 Roland McGrath <roland@hack.frob.com>
39908
39909 * libio/iofopen.c: Include <fcntl.h>.
39910 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39911 (_IO_fopen64, fopen64): Define as aliases.
39912 * libio/iofopen64.c: Include <fcntl.h>.
39913 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39914 Conditionalize body on this.
39915 * sysdeps/wordsize-64/iofopen.c: File removed.
39916 * sysdeps/wordsize-64/iofopen64.c: File removed.
39917
39918 2012-08-01 Marek Polacek <polacek@redhat.com>
39919
39920 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39921 Use dlfcn directly instead of a variable.
39922 (binfmt-subdir): Do not define.
39923 (dlfcn): Likewise.
39924
39925 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39926
39927 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39928 Remove all definitions.
39929 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39930 <kernel-features.h>.
39931 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39932 (miss_F_GETOWN_EX): Remove all definitions.
39933 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39934 macro definition.
39935 [!__ASSUME_FCNTL64]: Remove conditional code.
39936 [__ASSUME_FCNTL64]: Make code unconditional.
39937 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39938 <kernel-features.h>.
39939 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39940 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39941 (lockf64) [__NR_fcntl64]: Make code unconditional.
39942 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39943
39944 * sysdeps/unix/sysv/linux/kernel-features.h
39945 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39946 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39947 Make code unconditional.
39948 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39949 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39951 [__NR_vfork]: Make code unconditional.
39952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39955 [__NR_vfork]: Make code unconditional.
39956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39958
39959 2012-08-01 Roland McGrath <roland@hack.frob.com>
39960
39961 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39962 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39963
39964 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39965 Define mkstemp64 as an alias.
39966 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39967 Define mkstemps64 as an alias.
39968 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39969 Define mkostemp64 as an alias.
39970 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39971 Define mkostemps64 as an alias.
39972 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39973 Conditionalize body on this.
39974 * misc/mkostemp64.c: Likewise.
39975 * misc/mkostemps64.c: Likewise.
39976 * misc/mkstemps64.c: Likewise.
39977 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39978 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39979 * sysdeps/wordsize-64/mkostemp.c: File removed.
39980 * sysdeps/wordsize-64/mkstemp.c: File removed.
39981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39982 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39984 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39985
39986 [BZ #14138]
39987 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39988 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39989 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39990 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39991
39992 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39993 compat_symbol macros from <shlib-compat.h> rather than the underlying
39994 default_symbol_version and symbol_version macros, so that DEFAULT
39995 lines in shlib-versions are respected.
39996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39997
39998 2012-08-01 Florian Weimer <fweimer@redhat.com>
39999
40000 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40001 Declare with warn_unused_result.
40002 (setgid, setregid, setegid, setresgid): Likewise.
40003 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40004 Likewise.
40005 * WUR-REPORT: Remove set*id functions.
40006
40007 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40008
40009 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40010
40011 2012-07-31 Roland McGrath <roland@hack.frob.com>
40012
40013 [BZ #10191]
40014 * include/sys/socket.h (__libc_accept, __libc_accept4):
40015 Add attribute_hidden.
40016 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40017
40018 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40019 use of PTR_MANGLE.
40020 * inet/getnetgrent_r.c (setup): Likewise.
40021
40022 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40023
40024 2012-07-31 David S. Miller <davem@davemloft.net>
40025
40026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40027
40028 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40029
40030 [BZ #13629]
40031 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40032 value between 1.0 and 2.0 and smaller part has absolute value less
40033 than 1.0.
40034 * math/s_clog10.c (__clog10): Likewise.
40035 * math/s_clog10f.c (__clog10f): Likewise.
40036 * math/s_clog10l.c (__clog10l): Likewise.
40037 * math/s_clogf.c (__clogf): Likewise.
40038 * math/s_clogl.c (__clogl): Likewise.
40039 * math/libm-test.inc (clog_test): Add more tests.
40040 (clog10_test): Likewise.
40041 * sysdeps/i386/fpu/libm-test-ulps: Update.
40042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40043
40044 2012-07-31 Florian Weimer <fweimer@redhat.com>
40045
40046 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40047 Exit with zero in case no suitable GID is found, and write a
40048 message to standard error.
40049
40050 2012-07-30 Roland McGrath <roland@hack.frob.com>
40051
40052 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40053 rather than to 1.
40054 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40055 (MAXPATHLEN): Removed.
40056 (NOGROUP, NODEV): New macros.
40057 (setbit, clrbit, isset, isclr): New macros.
40058 (howmany, roundup, powerof2): New macros.
40059 (DEV_BSIZE): New macro.
40060
40061 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40062 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40063
40064 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40065 definition on [!__NO_LONG_DOUBLE_MATH].
40066
40067 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40068 PTR_MANGLE and PTR_DEMANGLE.
40069
40070 * socket/accept4.c (accept4): Rename to __libc_accept4.
40071 Define accept4 as a weak alias.
40072
40073 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40074 on [_DIRENT_HAVE_D_TYPE].
40075 * io/ftw.c (ftw_dir): Likewise.
40076
40077 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40078
40079 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40080
40081 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40082 Use the BSD numbers rather than the arbitrary ones we had.
40083 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40084 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40085 (SIGXCPU, SIGXFSZ): New macros.
40086 (_NSIG): Now 32.
40087
40088 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40089 initializer on [_LIBC_REENTRANT].
40090
40091 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40092 definitions inside [_POSIX_MAPPED_FILES].
40093
40094 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40095
40096 * dirent/opendir.c: Include <fcntl.h>.
40097
40098 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40099 (__libc_getspecific): Likewise.
40100 (__libc_key_create): Likewise.
40101
40102 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40103 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40104 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40105 (tmpfile64): Define as alias.
40106 * sysdeps/wordsize-64/tmpfile.c: File removed.
40107 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40110
40111 * stdio-common/vfscanf.c: Include <stdbool.h>.
40112 * nss/makedb.c: Likewise.
40113 * stdio-common/_i18n_number.h: Likewise.
40114 * argp/argp-help.c: Likewise.
40115 * posix/wordexp.c: Likewise.
40116 * sysdeps/posix/spawni.c: Likewise.
40117 * nss/nss_files/files-initgroups.c: Likewise.
40118 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40119 * nss/nss_files/files-initgroups.c: Likewise.
40120 * nss/nss_db/db-netgrp.c: Likewise.
40121 * nss/nss_db/db-initgroups.c: Likewise.
40122 * io/fchmodat.c: Include <sys/stat.h>.
40123
40124 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40125 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40126
40127 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40128 [HAVE_MMAP].
40129
40130 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40131 Add multiple inclusion protection.
40132
40133 2012-07-27 David S. Miller <davem@davemloft.net>
40134
40135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40136
40137 2012-07-27 Gary Benson <gbenson@redhat.com>
40138
40139 [BZ #14298]
40140 * elf/rtld.c: Include <stap-probe.h>.
40141 (dl_main): Added static probes "init_start" and "init_complete".
40142 * elf/dl-load.c: Include <stap-probe.h>.
40143 (lose): Take new parameter "nsid".
40144 Added static probe "map_failed".
40145 (_dl_map_object_from_fd): Pass namespace id to lose.
40146 Added static probe "map_start".
40147 (open_verify): Pass namespace id to lose.
40148 * elf/dl-open.c: Include <stap-probe.h>.
40149 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40150 and "reloc_complete".
40151 * elf/dl-close.c: Include <stap-probe.h>.
40152 (_dl_close_worker): Added static probes "unmap_start" and
40153 "unmap_complete".
40154 * elf/rtld-debugger-interface.txt: New file documenting the above.
40155
40156 2012-07-26 Roland McGrath <roland@hack.frob.com>
40157
40158 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40159 rather than a string variable.
40160 * sunrpc/rpc_main.c (h_output): Likewise.
40161 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40162
40163 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40164
40165 * inet/check_native.c: New file.
40166
40167 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40168
40169 [BZ #13629]
40170 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40171 if larger part has absolute value 1.0.
40172 * math/s_clog10.c (__clog10): Likewise.
40173 * math/s_clog10f.c (__clog10f): Likewise.
40174 * math/s_clog10l.c (__clog10l): Likewise.
40175 * math/s_clogf.c (__clogf): Likewise.
40176 * math/s_clogl.c (__clogl): Likewise.
40177 * math/libm-test.inc (clog_test): Add more tests.
40178 (clog10_test): Likewise.
40179 * sysdeps/i386/fpu/libm-test-ulps: Update.
40180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40181
40182 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40183 (pltexit): Likewise.
40184 (La_regs): Likewise.
40185 (La_retval): Likewise.
40186 (int_retval): Likewise.
40187 Update #error for removed macros to refer only to definitions in
40188 tst-audit.h.
40189 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40190 macro.
40191 (pltexit): Likewise.
40192 (La_regs): Likewise.
40193 (La_retval): Likewise.
40194 (int_retval): Likewise.
40195 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40196 macro.
40197 (pltexit): Likewise.
40198 (La_regs): Likewise.
40199 (La_retval): Likewise.
40200 (int_retval): Likewise.
40201 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40202 macro.
40203 (pltexit): Likewise.
40204 (La_regs): Likewise.
40205 (La_retval): Likewise.
40206 (int_retval): Likewise.
40207 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40208 macro.
40209 (pltexit): Likewise.
40210 (La_regs): Likewise.
40211 (La_retval): Likewise.
40212 (int_retval): Likewise.
40213 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40214 macro.
40215 (pltexit): Likewise.
40216 (La_regs): Likewise.
40217 (La_retval): Likewise.
40218 (int_retval): Likewise.
40219 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40220 macro.
40221 (pltexit): Likewise.
40222 (La_regs): Likewise.
40223 (La_retval): Likewise.
40224 (int_retval): Likewise.
40225 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40226 macro definitions in tst-audit.h.
40227 * sysdeps/i386/tst-audit.h: New file.
40228 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40229 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40230 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40231 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40232 * sysdeps/sh/tst-audit.h: Likewise.
40233 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40234 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40235 * sysdeps/x86_64/tst-audit.h: Likewise.
40236
40237 2012-07-26 Andreas Jaeger <aj@suse.de>
40238
40239 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40240 ptrace.
40241
40242 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40243 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40244 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40245 PTRACE_O_MASK.
40246 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40247 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40248 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40249
40250 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40251 value.
40252
40253 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40254 _sigsys.
40255 (si_call_addr, si_syscall, si_arch): Define new macro.
40256 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40257 _sigsys.
40258 (si_call_addr, si_syscall, si_arch): Define new marcro.
40259 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40260 _sigsys.
40261 (si_call_addr, si_syscall, si_arch): Define new macro.
40262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40263 _sigsys.
40264 (si_call_addr, si_syscall, si_arch): Define new macro.
40265
40266 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40267
40268 [BZ #13717]
40269 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40270 Change to 2.4.21 where previously 2.4.1.
40271 * sysdeps/unix/sysv/linux/configure: Regenerated.
40272 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40273 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40274 Linux kernel version.
40275 (__ASSUME_STD_AUXV): Remove.
40276 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40277 kernel version.
40278 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40279 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40280 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40281 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40282 (__ASSUME_NETLINK_SUPPORT): Likewise.
40283 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40284 (__no_netlink_support): Remove conditional definition.
40285 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40286 Remove.
40287 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40288 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40289 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40290 (if_nameindex_ioctl): Remove.
40291 (if_nameindex_netlink): Do not handle __no_netlink_support.
40292 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40293 code.
40294 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40295 Remove conditional code.
40296 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40297 code.
40298 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40299 unconditional.
40300 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40301 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40302 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40303 Remove.
40304 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40305 [!__ASSUME_STD_AUXV]: Remove conditional code.
40306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40307 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40308 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40310 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40311 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40312 code.
40313 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40315 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40316 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40317 conditional code.
40318 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40320 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40321 code.
40322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40323 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40324 conditional code.
40325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40326 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40327 code unconditional.
40328 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40329 conditional code.
40330 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40331 unconditional.
40332 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40333 conditional code.
40334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40335 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40336 unconditional.
40337 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40338 conditional code.
40339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40340 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40341 code unconditional.
40342 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40343 conditional code.
40344 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40345 unconditional.
40346 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40347 conditional code.
40348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40349 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40350 code unconditional.
40351 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40352 conditional code.
40353 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40354 unconditional.
40355 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40356 conditional code.
40357
40358 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40359
40360 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40362 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40363 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40364 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40365 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40366 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40367 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40368 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40369 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40370 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40371 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40372 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40373 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40374 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40375 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40376 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40378 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40379 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40380 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40381 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40382 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40383
40384 2012-07-25 Florian Weimer <fweimer@redhat.com>
40385
40386 * Versions.def: Add GLIBC_2.17.
40387 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40388 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40389 Introduce __libc_secure_getenv.
40390 * stdlib/Versions (2.17): Add secure_getenv
40391 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40392 * stdlib/secure-getenv.c: Rename __secure_getenv to
40393 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40394 symbol __secure_getenv for GLIBC_2.0.
40395 * stdlib/tst-secure-getenv.c: New.
40396 * stdlib/Makefile (tests): Add testcase.
40397 * manual/startup.texi (Environment Access): Document
40398 secure_getenv.
40399 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40400 __libc_secure_getenv.
40401 * inet/ruserpass.c (ruserpass): Likewise.
40402 * malloc/mtrace.c (mtrace): Likewise.
40403 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40404 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40405 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40406 * sysdeps/posix/tempname.c: Likewise. Evaluate
40407 HAVE_SECURE_GETENV.
40408 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40409 __secure_getenv to __libc_secure_getenv.
40410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40412 Likewise.
40413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40414 Likewise.
40415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40422
40423 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40424
40425 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40426 (struct La_i86_retval): Likewise.
40427 (struct La_x86_64_regs): Likewise.
40428 (struct La_x86_64_retval): Likewise.
40429 (struct La_x32_regs): Likewise.
40430 (struct La_x32_retval): Likewise.
40431 (struct La_ppc32_regs): Likewise.
40432 (struct La_ppc32_retval): Likewise.
40433 (struct La_ppc64_regs): Likewise.
40434 (struct La_ppc64_retval): Likewise.
40435 (struct La_sh_regs): Likewise.
40436 (struct La_sh_retval): Likewise.
40437 (struct La_s390_32_regs): Likewise.
40438 (struct La_s390_32_retval): Likewise.
40439 (struct La_s390_64_regs): Likewise.
40440 (struct La_s390_64_retval): Likewise.
40441 (struct La_sparc32_regs): Likewise.
40442 (struct La_sparc32_retval): Likewise.
40443 (struct La_sparc64_regs): Likewise.
40444 (struct La_sparc64_retval): Likewise.
40445 (struct audit_ifaces): Remove architecture-specific pltenter and
40446 pltexit members.
40447 * sysdeps/i386/ldsodefs.h: New file.
40448 * sysdeps/powerpc/ldsodefs.h: Likewise.
40449 * sysdeps/s390/ldsodefs.h: Likewise.
40450 * sysdeps/sh/ldsodefs.h: Likewise.
40451 * sysdeps/sparc/ldsodefs.h: Likewise.
40452 * sysdeps/x86_64/ldsodefs.h: Likewise.
40453
40454 2012-07-25 Marek Polacek <polacek@redhat.com>
40455
40456 [BZ #6808]
40457 * math/libm-test.inc (yn_test): Add another test.
40458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40459 to ERANGE when the result is +-Inf.
40460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40461 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40462 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40463 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40464
40465 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40466
40467 * conform/data/time.h-data (NULL): Use macro-constant. Require
40468 equal to 0.
40469 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40470 clock_t.
40471 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40472
40473 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40474
40475 * configure.in <sysdeps resolving>: Correct printing
40476 Implies_before.
40477 * configure: Regenerate.
40478
40479 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40480
40481 * math/w_ilogb.c: Include <limits.h>.
40482 * math/w_ilogbl.c: Likewise.
40483
40484 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40485
40486 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40487 va_copy. Document allowing for unavailable va_copy only as
40488 pre-C99 compatibility.
40489 * manual/string.texi (Copying and Concatenation): Use va_copy
40490 instead of __va_copy in concat example.
40491
40492 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40493
40494 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40495 (__sendto): Use create_address_port. Initialize APORT and deallocate
40496 it if not null.
40497
40498 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40499 with O_NOLINK passed to __file_name_lookup.
40500
40501 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40502 with O_NOLINK passed to __file_name_lookup.
40503
40504 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40505 negative N or less than NGIDS.
40506
40507 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40508 type to string_t. Set ERANGE as errno and return it if NAME is not big
40509 enough. Use memcpy instead of strncpy.
40510
40511 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40512
40513 * elf/Makefile (check-data): Remove.
40514 (localplt.data): New vpath directive.
40515 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40516 instead of $(check-data).
40517 * scripts/data/localplt-generic.data: Move to ...
40518 * sysdeps/generic/localplt.data: ... here.
40519 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40520 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40521 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40523 ... here.
40524 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40526 ... here.
40527 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40529 ... here.
40530 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40532 ... here.
40533 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40535 ... here.
40536 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40538 ... here.
40539
40540 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40541
40542 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40543 PPC32 and PPC64 files.
40544 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40545 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40546
40547 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40548
40549 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40550 __makecontext_ret to ...
40551 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40552 ... here and call exit if uc_link is NULL. New file.
40553 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40554 __makecontext_ret.S.
40555 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40556 __makecontext_ret to ...
40557 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40558 ... here and call exit if uc_link is NULL. New file.
40559 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40560 __makecontext_ret.S.
40561
40562 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40563
40564 * elf/elf.h (R_390_IRELATIVE): New definition.
40565 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40566 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40567 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40568 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40569 (elf_machine_lazy_rel): Likewise.
40570 * sysdeps/s390/dl-irel.h: New file.
40571 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40572 * sysdeps/s390/s390-64/memset.S: New asm code.
40573 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40574 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40575 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40576 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40577 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40578 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40579 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40580 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40581 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40582 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40583 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40584 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40585 * sysdeps/s390/s390-32/memset.S: New asm code.
40586 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40587
40588 2012-07-17 Marek Polacek <polacek@redhat.com>
40589
40590 [BZ #14349]
40591 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40592 * sysdeps/s390/s390-64/configure.in: Likewise.
40593 * sysdeps/sparc/configure.in: Likewise.
40594 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40595 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40596 * sysdeps/i386/configure.in: Likewise.
40597 * sysdeps/x86_64/configure.in: Likewise.
40598 * sysdeps/sh/configure.in: Likewise.
40599 * sysdeps/s390/s390-32/configure: Regenerated.
40600 * sysdeps/s390/s390-64/configure: Likewise.
40601 * sysdeps/x86_64/configure: Likewise.
40602 * sysdeps/sh/configure: Likewise.
40603 * sysdeps/powerpc/powerpc64/configure: Likewise.
40604 * sysdeps/powerpc/powerpc32/configure: Likewise.
40605 * sysdeps/sparc/configure: Likwise.
40606 * sysdeps/i386/configure: Likewise.
40607
40608 * elf/dl-open.c: Comment fixes.
40609
40610 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40611
40612 * Makefile [CXX] (check-data): Remove.
40613 [CXX] (c++-types.data): New vpath directive.
40614 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40615 vpath. Do not allow for C++ type data being missing.
40616 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40617 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40618 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40619 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40620 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40621 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40622 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40624 ... here.
40625 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40627 ... here.
40628 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40630 ... here.
40631 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40633 ... here.
40634 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40636 ... here.
40637 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40639 ... here.
40640 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40642 ... here.
40643 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40645
40646 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40647 definitions to architecture-specific files.
40648 (TLS_IE): Likewise.
40649 (TLS_LD): Likewise.
40650 (TLS_GD): Likewise.
40651 * sysdeps/i386/tls-macros.h: New file.
40652 * sysdeps/powerpc/tls-macros.h: Likewise.
40653 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40654 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40655 * sysdeps/sh/tls-macros.h: Likewise.
40656 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40657 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40658 * sysdeps/x86_64/tls-macros.h: Likewise.
40659
40660 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40661
40662 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40663 zero value for regular exit case.
40664
40665 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40666 (__start_context): Preserve zero value for regular exit case.
40667
40668 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40669 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40670
40671 * manual/setjmp.texi (setcontext): Clarify normal process
40672 termination when uc_link is the null pointer.
40673 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40674 exit call.
40675
40676 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40677
40678 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40679 preprocessor. Test for each exception mask separately.
40680
40681 2012-07-16 Andreas Jaeger <aj@suse.de>
40682
40683 * po/ru.po: Update from translation team.
40684
40685 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40686
40687 * conform/data/string.h-data (NULL): Use macro-constant. Require
40688 equal to 0.
40689 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40690 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40691 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40692 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40693 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40694
40695 2012-07-13 Andreas Jaeger <aj@suse.de>
40696
40697 * po/fr.po: Update from translation team.
40698
40699 2012-07-12 Marek Polacek <polacek@redhat.com>
40700
40701 [BZ #14173]
40702 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40703 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40704 loop condition.
40705
40706 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40707
40708 [BZ #13717]
40709 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40710 Change to 2.4.1 where previously 2.4.0.
40711 * sysdeps/unix/sysv/linux/configure: Regenerated.
40712 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40713 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40714 version.
40715 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40716 (__ASSUME_AT_CLKTCK): Remove.
40717 (__ASSUME_AT_PAGESIZE): Likewise.
40718 (__ASSUME_AT_XID): Likewise.
40719 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40720 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40721 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40722 unconditionally.
40723 (HAVE_AUX_PAGESIZE): Likewise.
40724 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40725 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40726 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40727
40728 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40729
40730 [BZ #14307]
40731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40732 the temporary buffer used to invoke __gethostbyname2_r,
40733 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40734 host_data / struct gaih_addrtuple.
40735 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40736 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40737 header file nss/nsswitch.h.
40738 * nss/nsswitch.h (global scope): Add definition of implementation
40739 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40740 resolv/nss_dns/dns-host.c).
40741
40742 2012-07-11 Andreas Jaeger <aj@suse.de>
40743
40744 * po/fr.po: Update from translation team.
40745
40746 * po/sv.po: Update from translation team
40747 * po/fr.po: Another update from translation team.
40748
40749 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40750
40751 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40752 for subnormals or multiply small sinh result by itself.
40753 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40755
40756 2012-07-11 David S. Miller <davem@davemloft.net>
40757
40758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40759
40760 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40761
40762 [BZ #14347]
40763 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40764 (INTERNAL_MARK): Shift it here.
40765
40766 2012-07-10 Marek Polacek <polacek@redhat.com>
40767
40768 [BZ #14151]
40769 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40770 libc_cv_asm_global_directive with .globl.
40771 * configure: Regenerated.
40772 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40773 with .globl.
40774 * sysdeps/i386/configure: Regenerated.
40775 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40776 with .globl.
40777 * sysdeps/x86_64/configure: Regenerated.
40778 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40779 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40780 * elf/tst-unique2mod2.c: Likewise.
40781 * elf/tst-unique2mod1.c: Likewise.
40782 * elf/tst-unique1mod2.c: Likewise.
40783 * elf/tst-unique1mod1.c: Likewise.
40784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40785 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40787 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40788 * sysdeps/mach/sysdep.h: Likewise.
40789 * sysdeps/i386/sysdep.h: Likewise.
40790 * sysdeps/i386/i386-mcount.S: Likewise.
40791 * sysdeps/x86_64/_mcount.S: Likewise.
40792 * sysdeps/x86_64/sysdep.h: Likewise.
40793 * sysdeps/sh/_mcount.S: Likewise.
40794 * sysdeps/sh/sysdep.h: Likewise.
40795 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40796 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40797 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40798 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40799 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40800 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40801 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40802 * locale/localeinfo.h: Likewise.
40803 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40804 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40805
40806 2012-07-09 Roland McGrath <roland@hack.frob.com>
40807
40808 [BZ #14336]
40809 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40810 system".
40811 * manual/message.texi (The Uniforum approach): Likewise.
40812 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40813 (glibc iconv Implementation): Likewise.
40814
40815 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40816
40817 [BZ #14337]
40818 * math/s_clog.c (__clog): Avoid scaling a value down where that
40819 could result in underflow.
40820 * math/s_clog10.c (__clog10): Likewise.
40821 * math/s_clog10f.c (__clog10f): Likewise.
40822 * math/s_clog10l.c (__clog10l): Likewise.
40823 * math/s_clogf.c (__clogf): Likewise.
40824 * math/s_clogl.c (__clogl): Likewise.
40825 * math/libm-test.inc (clog_test): Add more tests.
40826 (clog10_test): Likewise.
40827 * sysdeps/i386/fpu/libm-test-ulps: Update.
40828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40829
40830 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40831
40832 [BZ #14283]
40833 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40834 by 7 not 8 to examine high bit of fractional part.
40835
40836 [BZ #14042]
40837 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40838 for call to __mcount_internal.
40839 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40840 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40841 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40842
40843 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40844
40845 [BZ #14154]
40846 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40847 approximation for values within 0x1p-13f of an odd multiple of
40848 pi/4.
40849 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40850 exception. Add more tests.
40851 * sysdeps/i386/fpu/libm-test-ulps: Update.
40852
40853 [BZ #6778]
40854 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40855 inputs and return -1 for them. Do not check for +Inf in case not
40856 reachable for +Inf.
40857 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40858 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40859 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40860 and return -1 for them. Do not check for +Inf in case not
40861 reachable for +Inf.
40862 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40863 define.
40864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40865 and return -1 for them. Do not check for +Inf in case not
40866 reachable for +Inf.
40867 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40868 spurious underflow.
40869 * sysdeps/i386/fpu/libm-test-ulps: Update.
40870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40871
40872 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40873
40874 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40875
40876 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40877
40878 [BZ #14157]
40879 [BZ #14331]
40880 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40881 could result in spurious underflow. Scale down values above
40882 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40883 * math/s_csqrtf.c (__csqrtf): Likewise.
40884 * math/s_csqrtl.c (__csqrtl): Likewise.
40885 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40886 spurious underflow.
40887 * sysdeps/i386/fpu/libm-test-ulps: Update.
40888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40889
40890 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40891
40892 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40893 xopen-msg.sed.
40894 * catgets/xopen-msg.awk: New file.
40895 * catgets/xopen-msg.sed: Removed.
40896
40897 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40898 po2text.sed.
40899 * intl/po2test.awk: New file.
40900 * intl/po2test.sed: Removed.
40901
40902 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40903
40904 [BZ #14328]
40905 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40906 or multiply small sinh result by itself.
40907 * math/s_ctanf.c (__ctanf): Likewise.
40908 * math/s_ctanh.c (__ctanh): Likewise.
40909 * math/s_ctanhf.c (__ctanhf): Likewise.
40910 * math/s_ctanhl.c (__ctanhl): Likewise.
40911 * math/s_ctanl.c (__ctanl): Likewise.
40912 * math/libm-test.inc (ctan_test_tonearest): New function.
40913 (ctan_test_towardzero): Likewise.
40914 (ctan_test_downward): Likewise.
40915 (ctan_test_upward): Likewise.
40916 (ctanh_test_tonearest): Likewise.
40917 (ctanh_test_towardzero): Likewise.
40918 (ctanh_test_downward): Likewise.
40919 (ctanh_test_upward): Likewise.
40920 (main): Call these new functions.
40921 * sysdeps/i386/fpu/libm-test-ulps: Update.
40922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40923
40924 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40925
40926 * .gitignore: Delete /ports entry.
40927
40928 2012-07-03 Andreas Jaeger <aj@suse.de>
40929
40930 * po/bg.po: Update from translation team.
40931 * po/cs.po: Likewise.
40932 * po/de.po: Likewise.
40933 * po/hr.po: Likewise.
40934 * po/nl.pl: Likewise.
40935 * po/pl.po: Likewise.
40936 * po/vi.po: Likewise.
40937
40938 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40939
40940 * Makeconfig [!+link] (+link-before-libc): New variable.
40941 [!+link] (+link-after-libc): Likewise.
40942 [!+link] (+link-tests): Likewise.
40943 [!+link] (+link): Define in terms of $(+link-before-libc) and
40944 $(+link-after-libc).
40945 [!+link-static] (+link-static-before-libc): New variable.
40946 [!+link-static] (+link-static-after-libc): Likewise.
40947 [!+link-static] (+link-static-tests): Likewise.
40948 [!+link-static] (+link-static): Define in terms of
40949 $(+link-static-before-libc) and $(+link-static-after-libc).
40950 [build-shared] (link-libc-before-gnulib): New variable.
40951 [build-shared] (link-libc-tests): Likewise.
40952 [build-shared] (link-libc): Define in terms of
40953 $(link-libc-before-gnulib).
40954 [!build-shared] (link-libc-tests): New variable.
40955 (link-libc-static-tests): New variable.
40956 [!gnulib] (gnulib-arch): New variable.
40957 [!gnulib] (gnulib-tests): Likewise.
40958 [!gnulib] (static-gnulib-arch): Likewise.
40959 [!gnulib] (static-gnulib-tests): Likewise.
40960 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40961 Define with "=" instead of ":=".
40962 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40963 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40964 * Rules (binaries-all-notests): New variable.
40965 (binaries-all-tests): Likewise.
40966 (binaries-static-notests): Likewise.
40967 (binaries-static-tests): Likewise.
40968 (binaries-all): Define using $(binaries-all-notests) and
40969 $(binaries-all-tests).
40970 (binaries-static): Define using $(binaries-static-notests) and
40971 $(binaries-static-tests).
40972 (binaries-shared-tests): New variable.
40973 (binaries-shared-notests): Likewise.
40974 (binaries-shared): Remove variable.
40975 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40976 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40977 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40978 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40979 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40980 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40981 * elf/Makefile (sln-modules): New variable.
40982 (extra-objs): Add $(sln-modules:=.o).
40983 (ldconfig-modules): Add static-stubs.
40984 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40985 * elf/static-stubs.c: New file.
40986
40987 [BZ #14283]
40988 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40989 by 7 not 8 to examine high bit of fractional part. Use volatile
40990 variables when splitting into final array of floats if
40991 __FLT_EVAL_METHOD__ != 0.
40992 * math/libm-test.inc (cos_test): Add another test.
40993 (sin_test): Likewise.
40994 * sysdeps/i386/fpu/libm-test-ulps: Update.
40995
40996 [BZ #14273]
40997 * math/libm-test.inc (cosh_test): Add more tests.
40998
40999 * version.h (RELEASE): Set to "development".
41000 (VERSION): Set to "2.16.90".
41001
41002 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41003
41004 * NEWS: Update copyright. Remove last-updated date.
41005 Mention math library bug fixes and timezone data changes.
41006 * README: Mention GNU/Hurd, x32, and HPPA support status.
41007
41008 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41009
41010 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41011
41012 2012-06-27 Andreas Jaeger <aj@suse.de>
41013
41014 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41015
41016 2012-06-25 Andreas Jaeger <aj@suse.de>
41017
41018 * sysdeps/s390/fpu/libm-test-ulps: Update.
41019
41020 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41021 Thomas Schwinge <thomas@codesourcery.com>
41022
41023 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41024 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41025 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41026 fanotify_mark.
41027
41028 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41029
41030 * sysdeps/mach/start.c: Remove file.
41031 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41032 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41033 * sysdeps/sh/init-first.c: Likewise.
41034
41035 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41036 registers for frame unwinding purposes, add CFI directives.
41037 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41038 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41039 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41040 Likewise.
41041
41042 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41043 __fortify_fail returning.
41044 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41045
41046 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41047 sysdeps/sh/____longjmp_chk.S.
41048 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41049 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41050 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41051 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41052
41053 * sysdeps/sh/abort-instr.h: New file.
41054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41055 process in case exit returns.
41056
41057 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41058 initialize the GOT register before use.
41059
41060 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41061 calculation of ARGC > 4.
41062
41063 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41064 meaningful names to some local labels.
41065
41066 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41067 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41068
41069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41070 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41071 (__arch_compare_and_exchange_val_16_acq): Likewise.
41072 (__arch_compare_and_exchange_val_32_acq): Likewise.
41073 (atomic_exchange_and_add): Fix gUSA sequence.
41074 (atomic_add): Likewise.
41075 (atomic_add_negative): Likewise.
41076 (atomic_add_zero): Likewise.
41077 (atomic_bit_test_set): Likewise.
41078
41079 2012-06-22 Andreas Schwab <schwab@redhat.com>
41080
41081 [BZ #13579]
41082 * include/link.h (struct link_map): Add l_free_initfini.
41083 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41084 l_initfini.
41085 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41086 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41087 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41088 set.
41089
41090 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41091
41092 * configure.in: Use AC_LANG_SOURCE.
41093 * configure: Regenerate.
41094
41095 2012-06-22 Roland McGrath <roland@hack.frob.com>
41096
41097 * configure.in (libc_cv_localstatedir): New substituted variable.
41098 * configure: Regenerated.
41099 * config.make.in (localstatedir): New variable, substituted from
41100 libc_cv_localstatedir.
41101 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41102 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41103 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41104 * sysdeps/gnu/configure: Regenerated.
41105
41106 2012-06-21 Jeff Law <law@redhat.com>
41107
41108 [BZ #14277]
41109 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41110 free. Simplify list management for _LIBC case.
41111
41112 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41113
41114 [BZ #14273]
41115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41116 Clear sign bit of 64-bit integer value before comparing against
41117 overflow value.
41118
41119 * sysdeps/mach/configure: Regenerated.
41120
41121 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41122
41123 [BZ #14278]
41124 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41125
41126 2012-06-21 Jeff Law <law@redhat.com>
41127
41128 [BZ #13882]
41129 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41130 uint16_t for elements in the "seen" array to avoid char overflows.
41131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41132 * elf/dl-open.c (dl_open_worker): Likewise.
41133
41134 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41135
41136 * scripts/list-sources.sh: Scan PORTS for translations.
41137 * po/libc.pot: Regenerated.
41138
41139 2012-06-21 Andreas Jaeger <aj@suse.de>
41140
41141 [BZ #12194]
41142 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41143 warning.
41144 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41145 * bits/byteswap-16.h (__bswap_16): Likewise.
41146 * bits/byteswap.h (__bswap_constant_16): Likewise.
41147
41148 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41149
41150 [BZ #14117]
41151 * sysdeps/i386/fpu_control.h: Removed.
41152 * sysdeps/x86_64/fpu_control.h: Moved to ...
41153 * sysdeps/x86/fpu_control.h: Here.
41154
41155 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41156 (_FPU_SETCW): Likewise.
41157
41158 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41159
41160 [BZ #14117]
41161 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41162 * sysdeps/x86/fpu/bits/mathinline.h: This.
41163 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41164
41165 [BZ #14050]
41166 [BZ #14117]
41167 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41168 functions if __x86_64__ is defined.
41169
41170 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41171
41172 * string/endian.h: Add !__ASSEMBLER__ condition for including
41173 conversion interfaces.
41174
41175 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41176
41177 [BZ #14241]
41178 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41179 of ABS(x) in calculating zero to negative powers other than odd
41180 integers.
41181 * math/libm-test.inc (pow_test): Add more tests.
41182
41183 2012-06-15 Andreas Jaeger <aj@suse.de>
41184
41185 * manual/contrib.texi (Contributors): Update entry of Liubov
41186 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41187 Machado Filho.
41188
41189 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41190
41191 * string/string.h: Add __wur to GNU version of strerror_r.
41192
41193 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41194
41195 [BZ #14229]
41196 * string/Makefile (tests): Add tst-strtok_r.
41197 * string/tst-strtok_r.c: New file.
41198 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41199 RAX_LP/RDX_LP on SAVE_PTR.
41200
41201 2012-06-14 Roland McGrath <roland@hack.frob.com>
41202
41203 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41204
41205 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41206
41207 * libm_test.inc (csqrt_test): Allow more spurious underflow
41208 exceptions.
41209 (j0_test): Likewise.
41210 (j1_test): Likewise.
41211 (y0_test): Likewise.
41212 (y1_test): Likewise.
41213
41214 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41215
41216 * po/Makefile (libc.pot): Use UTF-8 charset.
41217
41218 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41219
41220 [BZ #14210]
41221 Suppress sign-conversion warning from FD_SET.
41222 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41223 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41224 not unsigned long int.
41225 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41226
41227 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41228
41229 [BZ #14050]
41230 [BZ #14117]
41231 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41232 __extern_always_inline instead of __extern_inline.
41233 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41234 (__signbit): Likewise.
41235 (__signbitl): Support C++ namespace.
41236 (lrintf): New inline function.
41237 (lrint): Likewise.
41238 (llrintf): Likewise.
41239 (llrint): Likewise.
41240 (fmaxf): Likewise.
41241 (fmax): Likewise.
41242 (fminf): Likewise.
41243 (fmin): Likewise.
41244 (rint): Likewise.
41245 (rintf): Likewise.
41246 (ceil): Likewise.
41247 (ceilf): Likewise.
41248 (floor): Likewise.
41249 (floorf): Likewise.
41250 (nearbyint): Likewise.
41251 (nearbyintf): Likewise.
41252
41253 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41254
41255 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41256 non-default versions.
41257
41258 2012-06-11 Roland McGrath <roland@hack.frob.com>
41259
41260 [BZ #14218]
41261 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41262
41263 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41264
41265 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41266 (FE_UPWARD, FE_DOWNWARD): Don't define.
41267 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41268 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41269
41270 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41271 reading it.
41272 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41273 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41274
41275 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41276
41277 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41278 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41279 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41280 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41281
41282 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41283
41284 [BZ #14117]
41285 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41286 * sysdeps/i386/fpu/Implies: New file.
41287 * sysdeps/x86_64/fpu/Implies: Likewise.
41288 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41289 * sysdeps/x86/fpu/bits/fenv.h: This.
41290
41291 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41292 __SSE_MATH__.
41293
41294 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41295
41296 [BZ #14134]
41297 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41298 character 0xffff that matches the last element of the
41299 conversion table.
41300
41301 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41302
41303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41304 fmodl commit.
41305
41306 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41307
41308 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41309 values higher than 25.6283.
41310
41311 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41312
41313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41314 subnormal exponent extraction and add some __builtin_expect.
41315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41316 Fix for subnormal mantissa calculation.
41317
41318 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41319
41320 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41321 cpu2 is -1 and errno is not ENOSYS.
41322
41323 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41324
41325 [BZ #14117]
41326 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41327 * sysdeps/x86/bits/string.h: This.
41328 * sysdeps/x86_64/bits/string.h: Removed.
41329
41330 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41331 if not compiling for x86-64, but compiling for >= i486.
41332
41333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41334 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41335
41336 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41337 New macro from Linux kernel 3.4.0.
41338 (FP_XSTATE_MAGIC2): Likewise.
41339 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41340 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41341 (struct _fpx_sw_bytes): New struct.
41342 (struct _xsave_hdr): Likewise.
41343 (struct _ymmh_state): Likewise.
41344 (struct _xstate): Likewise.
41345
41346 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41347 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41348 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41349 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41350 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41351 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41352
41353 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41354 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41355 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41356 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41357 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41358 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41359
41360 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41361
41362 [BZ #13743]
41363 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41364 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41365 (sysdep_headers): Include sys/platform/ppc.h.
41366 * sysdeps/powerpc/test-gettimebase.c: Test for
41367 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41368 * manual/Makefile (appendices): Include platform.texi.
41369 * manual/contrib.texi (Contributors): Update @node pointers.
41370 * manual/maint.texi (Maintenance): Likewise.
41371 (Platform): New node.
41372 * manual/platform.texi: New file. Document the new features.
41373
41374 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41375 Jakub Jelinek <jakub@redhat.com>
41376
41377 [BZ #14188]
41378 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41379 where __builtin_expect is unavailable.
41380
41381 2012-06-03 David S. Miller <davem@davemloft.net>
41382
41383 * stdlib/longlong.h: Updated from GCC.
41384
41385 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41386
41387 [BZ #14042]
41388 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41389 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41390 __mcount_internal.
41391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41392 (GLIBC_2.16): Likewise.
41393
41394 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41395
41396 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41397
41398 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41399
41400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41401 (default-abi): New variable.
41402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41403 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41404 variable.
41405 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41406 Likewise.
41407 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41408 Likewise.
41409 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41410 Likewise.
41411
41412 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41413 definition. Document in comment.
41414
41415 2012-06-01 David S. Miller <davem@davemloft.net>
41416
41417 * stdlib/longlong.h: Updated from GCC.
41418
41419 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41420
41421 [BZ #14117]
41422 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41423 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41424 sys/debugreg.h sys/io.h here.
41425 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41426 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41427 sys/io.h.
41428 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41429 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41430 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41431 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41432 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41433 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41434
41435 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41436 Define only if __x86_64__ is defined.
41437
41438 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41439
41440 [BZ #14048]
41441 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41442 Use int64_t for variable i.
41443 * math/libm-test.inc (fmod_test): Add more tests.
41444
41445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41446 z computation is not scheduled after fetestexcept.
41447 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41448 Use math_force_eval instead of asm to ensure calculation scheduled
41449 before exception test.
41450 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41451 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41452
41453 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41454
41455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41456 computation is not scheduled after fetestexcept.
41457
41458 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41459
41460 [BZ #14117]
41461 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41462 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41463
41464 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41465
41466 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41467 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41468
41469 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41470
41471 [BZ #14117]
41472 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41473 <bits/wordsize.h>.
41474 (__WCHAR_MIN): Support __WORDSIZE == 64.
41475 (__WCHAR_MAX): Likewise.
41476
41477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41478 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41479
41480 [BZ #14183]
41481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41482 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41483
41484 [BZ #14117]
41485 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41486 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41487
41488 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41489 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41490
41491 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41492 Defined to 1 if __x86_64__ isn't defined.
41493 (_STAT_VER_LINUX_OLD): New.
41494 (st_atime): Remove duplicate.
41495 (st_mtime): Likewise.
41496 (st_ctime): Likewise.
41497
41498 2012-05-31 David S. Miller <davem@davemloft.net>
41499
41500 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41501 entries.
41502
41503 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41504
41505 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41506 gen-libm-test.pl.
41507
41508 [BZ #14132]
41509 * elf/dl-reloc.c: Include <_itoa.h>.
41510 (_dl_reloc_bad_type): Remove use of INTUSE.
41511 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41512 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41513 * stdio-common/psiginfo.c (psiginfo): Likewise.
41514 * stdio-common/psignal.c (psignal): Likewise.
41515 * string/strsignal.c (strsignal): Likewise.
41516 * include/signal.h (_sys_siglist): Declare hidden proto.
41517 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41518 INTVARDEF with libc_hidden_data_def.
41519 * stdio-common/itoa-udigits.c: Likewise.
41520 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41521 (_itoa_lower_digits_internal): Remove declaration.
41522 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41523 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41524 (_sys_sigabbrev_internal): Remove aliases.
41525 (_sys_siglist): Define hidden alias.
41526
41527 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41528
41529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41530 bits/sysctl.h.
41531
41532 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41533
41534 [BZ #14117]
41535 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41536 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41537
41538 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41539 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41540 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41541 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41543 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41544
41545 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41546 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41547 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41548
41549 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41550 with __addr.
41551 (insw): Likewise.
41552 (insl): Likewise.
41553 (outsb): Likewise.
41554 (outsw): Likewise.
41555 (outsl): Likewise.
41556
41557 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41558 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41559 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41560
41561 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41562 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41564 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41565 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41566 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41567
41568 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41569 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41570
41571 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41572 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41573
41574 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41577
41578 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41579 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41580 to ...
41581 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41582
41583 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41584 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41585 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41586
41587 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41588 for x86-64.
41589 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41590
41591 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41592
41593 * math/math.h (M_El): Use two more decimal places.
41594 (M_LOG2El): Likewise.
41595 (M_LOG10El): Likewise.
41596 (M_LN2l): Likewise.
41597 (M_LN10l): Likewise.
41598 (M_PIl): Likewise.
41599 (M_PI_2l): Likewise.
41600 (M_PI_4l): Likewise.
41601 (M_1_PIl): Likewise.
41602 (M_2_PIl): Likewise.
41603 (M_2_SQRTPIl): Likewise.
41604 (M_SQRT2l): Likewise.
41605 (M_SQRT1_2l): Likewise.
41606
41607 2012-05-31 David S. Miller <davem@davemloft.net>
41608
41609 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41610 values between float registers.
41611 * sysdeps/sparc/sparc64/memset.S: Likewise.
41612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41613
41614 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41615
41616 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41617 -D_FORTIFY_SOURCE=1.
41618 (CPPFLAGS-tst-longjmp_chk.c): Define.
41619 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41620 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41621 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41622 CFLAGS-tst-wchar-h.c.
41623
41624 2012-05-31 Marek Polacek <polacek@redhat.com>
41625
41626 [BZ #14132]
41627 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41628 __endmntent_internal): Remove declaration.
41629 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41630 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41631 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41632
41633 2012-05-30 David S. Miller <davem@davemloft.net>
41634
41635 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41636 (___Q_simulate_exceptions): Use real FP ops rather than writing
41637 into the %fsr.
41638 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41639 Likewise.
41640
41641 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41642
41643 [BZ #14117]
41644 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41645 * sysdeps/x86/bits/xtitypes.h: This.
41646
41647 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41648 * sysdeps/x86/bits/wordsize.h: This.
41649
41650 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41651 * sysdeps/x86/bits/huge_vall.h: This.
41652
41653 * sysdeps/i386/bits/select.h: Removed.
41654 * sysdeps/x86_64/bits/select.h: Renamed to ...
41655 * sysdeps/x86/bits/select.h: This.
41656
41657 * sysdeps/i386/bits/setjmp.h: Removed.
41658 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41659 * sysdeps/x86/bits/setjmp.h: This.
41660
41661 * sysdeps/i386/bits/mathdef.h: Removed.
41662 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41663 * sysdeps/x86/bits/mathdef.h: This.
41664
41665 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41666
41667 [BZ #14132]
41668 * include/sys/socket.h (__connect_internal)
41669 (__libc_sa_len_internal): Remove declaration.
41670 (__connect, __libc_sa_len): Declare hidden_proto.
41671 (SA_LEN): Remove use of INTUSE.
41672 * socket/connect.c: Add libc_hidden_def.
41673 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41674 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41675 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41676 alias.
41677 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41678 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41679 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41680 of adding _internal alias.
41681
41682 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41683
41684 [BZ #14117]
41685 * sysdeps/i386/bits/link.h: Removed.
41686 * sysdeps/i386/bits/linkmap.h: Likewise.
41687 * sysdeps/x86_64/bits/link.h: Renamed to ...
41688 * sysdeps/x86/bits/link.h: This.
41689 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41690 * sysdeps/x86/bits/linkmap.h: This.
41691
41692 * sysdeps/i386/bits/endian.h: Removed.
41693 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41694 * sysdeps/x86/bits/endian.h: This.
41695
41696 * sysdeps/i386/bits/byteswap.h: Removed.
41697 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41698 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41699 * sysdeps/x86/bits/byteswap.h: This.
41700 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41701 * sysdeps/x86/bits/byteswap-16.h: This.
41702 * sysdeps/i386/Implies: Add x86.
41703 * sysdeps/x86_64/Implies: Likewise.
41704
41705 2012-05-30 David S. Miller <davem@davemloft.net>
41706
41707 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41708 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41709 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41710 (FP_TRAPPING_EXCEPTIONS): Define.
41711 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41712 (FP_TRAPPING_EXCEPTIONS): Define.
41713 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41714 subnormals only when inexact has been signalled or underflow
41715 exceptions are enabled.
41716 (_FP_PACK_CANONICAL): Likewise.
41717
41718 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41719
41720 [BZ #14183]
41721 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41722 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41723
41724 2012-05-30 Richard Henderson <rth@twiddle.net>
41725
41726 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41727 with #ifndef NOT_IN_libc.
41728
41729 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41730 marked to avoid plt entry.
41731
41732 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41733
41734 [BZ #14112]
41735 * Makeconfig (default-abi): New macro.
41736 (abi-includes): Likewise.
41737 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41738 $(abi-$(default-abi)-lib-soname) for soname if defined.
41739 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41740 abi-variants.
41741 * Makefile (installed-stubs): Likewise.
41742 * include/stubs-biarch.h: Removed.
41743 * scripts/lib-names.awk: Only handle one library at a time.
41744 * scripts/soversions.awk: Remove WORDSIZE support.
41745 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41746 entries.
41747 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41748 Removed.
41749 (syscall-list-default-condition): Likewise.
41750 (syscall-list-default-condition): Likewise.
41751 (syscall-list-includes): Likewise.
41752 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41753 syscall-list-* with abi-*. Handle undefined abi-variants.
41754 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41755 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41756 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41757 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41758 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41759 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41760 Removed.
41761 (syscall-list-32-options): Likewise.
41762 (syscall-list-32-condition): Likewise.
41763 (syscall-list-64-options): Likewise.
41764 (syscall-list-64-condition): Likewise.
41765 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41766 macro.
41767 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41768 Renamed to ...
41769 (abi-*): This.
41770 (abi-64-ld-soname): New macro.
41771 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41772 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41773 Renamed to ...
41774 (abi-*): This.
41775 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41776 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41777
41778 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41779
41780 * sysdeps/unix/sysv/linux/kernel-features.h
41781 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41782 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41783 include <kernel-features.h>.
41784 [!__NR_ftruncate64]: Remove conditional code.
41785 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41786 [__NR_ftruncate64]: Make code unconditional.
41787 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41788 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41789 include <kernel-features.h>.
41790 [!__NR_ftruncate64]: Remove conditional code.
41791 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41792 [__NR_ftruncate64]: Make code unconditional.
41793 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41795 include <kernel-features.h>.
41796 [!__NR_ftruncate64]: Remove conditional code.
41797 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41798 [__NR_ftruncate64]: Make code unconditional.
41799 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41801 include <kernel-features.h>.
41802 [!__NR_ftruncate64]: Remove conditional code.
41803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41804 [__NR_ftruncate64]: Make code unconditional.
41805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41806
41807 * configure.in (libc_cv_fpie): Weaken to a compile test using
41808 LIBC_TRY_CC_OPTION.
41809 * configure: Regenerated.
41810
41811 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41812
41813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41817 Refreshed.
41818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41824 Refreshed.
41825
41826 2012-05-27 David S. Miller <davem@davemloft.net>
41827
41828 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41829 (___Q_zero): New.
41830 (__Q_simulate_exceptions): Return void. Change to simulate
41831 exceptions by writing into the %fsr.
41832 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41833 (__Qp_handle_exceptions): Likewise.
41834 (numbers): Delete.
41835 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41836 __Qp_handle_exceptions.
41837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41838 __Qp_handle_exceptions.
41839 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41840 as unused and give dummy FP_RND_NEAREST initializer.
41841 (FP_INHIBIT_RESULTS): Define.
41842 (___Q_simulate_exceptions): Update declaration.
41843 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41844 formatting.
41845 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41846 as unused and give dummy FP_RND_NEAREST initializer.
41847 (__Qp_handle_exceptions): Update declaration.
41848 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41849 formatting.
41850
41851 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41852
41853 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41854 the temporary FPU control word.
41855 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41856 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41857 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41858 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41859 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41860 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41861 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41862 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41863 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41864 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41865 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41866
41867 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41868
41869 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41870 fields.
41871
41872 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41873
41874 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41875 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41876 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41877 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41878 Likewise.
41879 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41880 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41881 Likewise.
41882
41883 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41884
41885 * po/h.po: Update from translation team.
41886
41887 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41888
41889 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41890
41891 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41892 handling of denormals.
41893 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41894 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41895 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41896 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41900 Likewise.
41901
41902 2012-05-26 Marek Polacek <polacek@redhat.com>
41903
41904 [BZ #14152]
41905 * math/libm-test.inc (fma_test): Don't always expect underflow
41906 exception.
41907
41908 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41909
41910 [BZ #12416]
41911 * elf/tst-execstack.c: Include stackinfo.h.
41912 (do_test): Adjust test case to ensure that pthread_getattr_np
41913 behaviour remains the same after marking stack executable.
41914
41915 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41916
41917 * sysdeps/unix/sysv/linux/kernel-features.h
41918 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41919 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41920 kernel-features.h.
41921 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41922 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41923 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41924 kernel-features.h.
41925 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41926 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41927
41928 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41929
41930 * configure.in: Define the default includes to being none.
41931 * configure: Regenerated.
41932
41933 2012-05-25 Roland McGrath <roland@hack.frob.com>
41934
41935 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41936 * sysdeps/x86_64/setjmp.S: Likewise.
41937 * sysdeps/i386/bsd-setjmp.S: Likewise.
41938 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41939 * sysdeps/i386/setjmp.S: Likewise.
41940 * sysdeps/i386/__longjmp.S: Likewise.
41941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41942 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41943
41944 * include/stap-probe.h: New file.
41945 * configure.in: Handle --enable-systemtap.
41946 * configure: Regenerated.
41947 * config.h.in (USE_STAP_PROBE): New #undef.
41948 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41949 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41950 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41951
41952 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41953
41954 [BZ #13717]
41955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41956 to 2.4.0 where earlier.
41957 * sysdeps/unix/sysv/linux/configure: Regenerated.
41958 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41959 <kernel-features.h>.
41960 [__ASSUME_32BITUIDS]: Make code unconditional.
41961 [!__ASSUME_32BITUIDS]: Remove conditional code.
41962 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41963 <kernel-features.h>.
41964 [__ASSUME_32BITUIDS]: Make code unconditional.
41965 [!__ASSUME_32BITUIDS]: Remove conditional code.
41966 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41967 [__ASSUME_32BITUIDS]: Make code unconditional.
41968 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41969 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41970 <kernel-features.h>.
41971 [__ASSUME_32BITUIDS]: Make code unconditional.
41972 [!__ASSUME_32BITUIDS]: Remove conditional code.
41973 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41974 <kernel-features.h>.
41975 [__ASSUME_32BITUIDS]: Make code unconditional.
41976 [!__ASSUME_32BITUIDS]: Remove conditional code.
41977 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41978 <kernel-features.h>.
41979 [__ASSUME_32BITUIDS]: Make code unconditional.
41980 [!__ASSUME_32BITUIDS]: Remove conditional code.
41981 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41982 <kernel-features.h>.
41983 [__ASSUME_32BITUIDS]: Make code unconditional.
41984 [!__ASSUME_32BITUIDS]: Remove conditional code.
41985 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41986 <kernel-features.h>.
41987 [__ASSUME_32BITUIDS]: Make code unconditional.
41988 [!__ASSUME_32BITUIDS]: Remove conditional code.
41989 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41990 <kernel-features.h>.
41991 [__ASSUME_32BITUIDS]: Make code unconditional.
41992 [!__ASSUME_32BITUIDS]: Remove conditional code.
41993 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41994 <kernel-features.h>.
41995 [__ASSUME_32BITUIDS]: Make code unconditional.
41996 [!__ASSUME_32BITUIDS]: Remove conditional code.
41997 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41998 <kernel-features.h>.
41999 [__ASSUME_32BITUIDS]: Make code unconditional.
42000 [!__ASSUME_32BITUIDS]: Remove conditional code.
42001 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42002 <kernel-features.h>.
42003 [__ASSUME_32BITUIDS]: Make code unconditional.
42004 [!__ASSUME_32BITUIDS]: Remove conditional code.
42005 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42006 <kernel-features.h>.
42007 [__ASSUME_32BITUIDS]: Make code unconditional.
42008 [!__ASSUME_32BITUIDS]: Remove conditional code.
42009 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42010 <kernel-features.h>.
42011 [__NR_setresgid] (__setresgid): Do not declare.
42012 [__ASSUME_32BITUIDS]: Make code unconditional.
42013 [!__ASSUME_32BITUIDS]: Remove conditional code.
42014 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42015 <kernel-features.h>.
42016 [__NR_setresuid] (__setresuid): Do not declare.
42017 [__ASSUME_32BITUIDS]: Make code unconditional.
42018 [!__ASSUME_32BITUIDS]: Remove conditional code.
42019 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42020 <kernel-features.h>.
42021 [__ASSUME_32BITUIDS]: Make code unconditional.
42022 [!__ASSUME_32BITUIDS]: Remove conditional code.
42023 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42024 <kernel-features.h>.
42025 [__ASSUME_32BITUIDS]: Make code unconditional.
42026 [!__ASSUME_32BITUIDS]: Remove conditional code.
42027 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42028 <kernel-features.h>.
42029 [__ASSUME_32BITUIDS]: Make code unconditional.
42030 [!__ASSUME_32BITUIDS]: Remove conditional code.
42031 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42032 <kernel-features.h>.
42033 [__ASSUME_32BITUIDS]: Make code unconditional.
42034 [!__ASSUME_32BITUIDS]: Remove conditional code.
42035 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42036 <kernel-features.h>.
42037 [__ASSUME_32BITUIDS]: Make code unconditional.
42038 [!__ASSUME_32BITUIDS]: Remove conditional code.
42039 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42040 <kernel-features.h>.
42041 [__ASSUME_32BITUIDS]: Make code unconditional.
42042 [!__ASSUME_32BITUIDS]: Remove conditional code.
42043 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42044 <kernel-features.h>.
42045 [__ASSUME_32BITUIDS]: Make code unconditional.
42046 [!__ASSUME_32BITUIDS]: Remove conditional code.
42047 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42048 <kernel-features.h>.
42049 [__ASSUME_32BITUIDS]: Make code unconditional.
42050 [!__ASSUME_32BITUIDS]: Remove conditional code.
42051 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42052 <kernel-features.h>.
42053 [__ASSUME_32BITUIDS]: Make code unconditional.
42054 [!__ASSUME_32BITUIDS]: Remove conditional code.
42055 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42056 <kernel-features.h>.
42057 [__ASSUME_32BITUIDS]: Make code unconditional.
42058 [!__ASSUME_32BITUIDS]: Remove conditional code.
42059 * sysdeps/unix/sysv/linux/kernel-features.h
42060 (__ASSUME_SETRESUID_SYSCALL): Remove.
42061 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42062 (__ASSUME_32BITUIDS): Likewise.
42063 (__ASSUME_LDT_WORKS): Likewise.
42064 (__ASSUME_O_DIRECTORY): Likewise.
42065 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42066 architecture but not kernel version.
42067 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42068 (__ASSUME_MMAP2_SYSCALL): Likewise.
42069 (__ASSUME_STAT64_SYSCALL): Likewise.
42070 (__ASSUME_IPC64): Likewise.
42071 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42072 <kernel-features.h>.
42073 [__ASSUME_32BITUIDS]: Make code unconditional.
42074 [!__ASSUME_32BITUIDS]: Remove conditional code.
42075 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42076 <kernel-features.h>.
42077 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42078 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42079 132096]: Remove conditional code.
42080 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42081 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42082 <kernel-features.h>.
42083 [__ASSUME_32BITUIDS]: Make code unconditional.
42084 [!__ASSUME_32BITUIDS]: Remove conditional code.
42085 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42086 <kernel-features.h>.
42087 [__ASSUME_32BITUIDS]: Make code unconditional.
42088 [!__ASSUME_32BITUIDS]: Remove conditional code.
42089 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42090 <kernel-features.h>.
42091 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42092 unconditional.
42093 (__setresgid): Do not declare.
42094 [__ASSUME_32BITUIDS]: Make code unconditional.
42095 [!__ASSUME_32BITUIDS]: Remove conditional code.
42096 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42097 <kernel-features.h>.
42098 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42099 unconditional.
42100 (__setresuid): Do not declare.
42101 [__ASSUME_32BITUIDS]: Make code unconditional.
42102 [!__ASSUME_32BITUIDS]: Remove conditional code.
42103 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42104 <kernel-features.h>.
42105 [__ASSUME_32BITUIDS]: Make code unconditional.
42106 [!__ASSUME_32BITUIDS]: Remove conditional code.
42107 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42108 <kernel-features.h>.
42109 [__ASSUME_32BITUIDS]: Make code unconditional.
42110 [!__ASSUME_32BITUIDS]: Remove conditional code.
42111
42112 2012-05-25 Richard Henderson <rth@twiddle.net>
42113
42114 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42115 dl_hwcap to ifunc resolver.
42116 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42117 elf_ifunc_invoke.
42118 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42119 dl_hwcap to ifunc resolver.
42120 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42121
42122 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42123
42124 [BZ #14153]
42125 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42126 for |x| <= 2**-26, not 2**-57.
42127 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42128 exception.
42129
42130 2012-05-24 Jeff Law <law@redhat.com>
42131
42132 * stdio-common/Makefile (tests): Add bug25.
42133 * stdio-common/bug25.c: New test.
42134
42135 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42136
42137 [BZ #13576]
42138 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42139 multiple of MALLOC_ALIGNMENT in size.
42140 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42141
42142 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42143
42144 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42145 Require >= 256.
42146 (FILENAME_MAX): Use macro-int-constant.
42147 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42148 (_IOFBF): Use macro-int-constant.
42149 (_IOLBF): Likewise.
42150 (_IONBF): Likewise.
42151 (SEEK_CUR): Likewise.
42152 (SEEK_END): Likewise.
42153 (SEEK_SET): Likewise.
42154 (TMP_MAX): Likewise.
42155 (EOF): Use macro-int-constant. Require < 0.
42156 (NULL): Use macro-constant. Require == 0.
42157 (stdin): Require type to be FILE *.
42158 (stdout): Likewise.
42159 (stderr): Likewise.
42160 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42161 macro-int-constant.
42162 (EXIT_SUCCESS): Likewise.
42163 (NULL): Use macro-constant. Require == 0.
42164 (RAND_MAX): Use macro-int-constant.
42165 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42166 [C99-based standards] (strtof): Require function.
42167 [C99-based standards] (strtold): Likewise.
42168 [C99-based standards] (strtoll): Likewise.
42169 [C99-based standards] (strtoull): Likewise.
42170 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42171 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42172 [ISO || ISO99 || ISO11] (math.h): Likewise.
42173 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42174 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42176
42177 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42178
42179 [BZ #14132]
42180 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42181 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42182 * intl/dgettext.c (DCGETTEXT): Likewise.
42183 * intl/gettext.c (DCGETTEXT): Likewise.
42184 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42185 * posix/regex_internal.h (gettext): Likewise.
42186 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42187 Remove declaration.
42188 * include/argz.h (__argz_count_internal)
42189 (__argz_stringify_internal): Remove declaration.
42190 (__argz_count, __argz_stringify): Declare hidden proto.
42191 * intl/dcgettext.c: Remove use of INTDEF.
42192 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42193 * string/argz-stringify.c: Likewise.
42194 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42195 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42196 Declare hidden proto.
42197 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42198 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42199 Declare hidden proto.
42200 * include/stdio.h (__asprintf_internal): Don't declare.
42201 (__asprintf): Don't define as macro. Declare hidden proto.
42202 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42203 (__fsetlocking): Declare hidden proto.
42204 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42205 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42206 hidden proto.
42207 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42208 (_IO_setlinebuf): Remove use of INTUSE.
42209 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42210 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42211 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42212 Remove declaration.
42213 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42214 (_IO_do_flush): Remove use of INTUSE.
42215 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42216 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42217 (_IO_adjust_column, _IO_least_wmarker)
42218 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42219 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42220 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42221 (_IO_default_doallocate, _IO_wdefault_doallocate)
42222 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42223 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42224 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42225 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42226 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42227 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42228 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42229 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42230 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42231 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42232 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42233 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42234 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42235 proto.
42236 (_IO_flush_all_internal, _IO_adjust_column_internal)
42237 (_IO_default_uflow_internal, _IO_default_finish_internal)
42238 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42239 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42240 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42241 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42242 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42243 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42244 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42245 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42246 (_IO_file_close_internal, _IO_file_close_it_internal)
42247 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42248 (_IO_file_init_internal, _IO_file_attach_internal)
42249 (_IO_file_fopen_internal, _IO_file_read_internal)
42250 (_IO_file_sync_internal, _IO_file_seek_internal)
42251 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42252 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42253 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42254 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42255 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42256 (_IO_list_all_internal, _IO_link_in_internal)
42257 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42258 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42259 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42260 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42261 (_IO_do_write_internal, _IO_padn_internal)
42262 (_IO_getline_info_internal, _IO_getline_internal)
42263 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42264 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42265 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42266 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42267 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42268 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42269 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42270 with libc_hidden_ver, remove use of INTUSE.
42271 * libio/genops.c: Likewise.
42272 * libio/freopen.c: Likewise.
42273 * libio/freopen64.c: Likewise.
42274 * libio/iofclose.c: Likewise.
42275 * libio/iofdopen.c: Likewise.
42276 * libio/iofflush.c: Likewise.
42277 * libio/iofflush_u.c: Likewise.
42278 * libio/iofgets.c: Likewise.
42279 * libio/iofgets_u.c: Likewise.
42280 * libio/iofopen.c: Likewise.
42281 * libio/iofopncook.c: Likewise.
42282 * libio/iofread.c: Likewise.
42283 * libio/iofread_u.c: Likewise.
42284 * libio/ioftell.c: Likewise.
42285 * libio/iofwrite.c: Likewise.
42286 * libio/iogetline.c: Likewise.
42287 * libio/iogets.c: Likewise.
42288 * libio/iogetwline.c: Likewise.
42289 * libio/iopadn.c: Likewise.
42290 * libio/iopopen.c: Likewise.
42291 * libio/ioseekoff.c: Likewise.
42292 * libio/ioseekpos.c: Likewise.
42293 * libio/iosetbuffer.c: Likewise.
42294 * libio/iosetvbuf.c: Likewise.
42295 * libio/ioungetc.c: Likewise.
42296 * libio/ioungetwc.c: Likewise.
42297 * libio/iovdprintf.c: Likewise.
42298 * libio/iovsprintf.c: Likewise.
42299 * libio/iovsscanf.c: Likewise.
42300 * libio/memstream.c: Likewise.
42301 * libio/obprintf.c: Likewise.
42302 * libio/oldfileops.c: Likewise.
42303 * libio/oldiofclose.c: Likewise.
42304 * libio/oldiofdopen.c: Likewise.
42305 * libio/oldiofopen.c: Likewise.
42306 * libio/oldiopopen.c: Likewise.
42307 * libio/oldstdfiles.c: Likewise.
42308 * libio/putc.c: Likewise.
42309 * libio/setbuf.c: Likewise.
42310 * libio/setlinebuf.c: Likewise.
42311 * libio/stdfiles.c: Likewise.
42312 * libio/strops.c: Likewise.
42313 * libio/vasprintf.c: Likewise.
42314 * libio/vscanf.c: Likewise.
42315 * libio/vsnprintf.c: Likewise.
42316 * libio/vswprintf.c: Likewise.
42317 * libio/wfiledoalloc.c: Likewise.
42318 * libio/wfileops.c: Likewise.
42319 * libio/wgenops.c: Likewise.
42320 * libio/wmemstream.c: Likewise.
42321 * libio/wstrops.c: Likewise.
42322 * libio/__fpurge.c: Likewise.
42323 * libio/__fsetlocking.c: Likewise.
42324 * assert/assert.c: Likewise.
42325 * debug/fgets_chk.c: Likewise.
42326 * debug/fgets_u_chk.c: Likewise.
42327 * debug/fread_chk.c: Likewise.
42328 * debug/fread_u_chk.c: Likewise.
42329 * debug/gets_chk.c: Likewise.
42330 * debug/obprintf_chk.c: Likewise.
42331 * debug/vasprintf_chk.c: Likewise.
42332 * debug/vdprintf_chk.c: Likewise.
42333 * debug/vsnprintf_chk.c: Likewise.
42334 * debug/vsprintf_chk.c: Likewise.
42335 * malloc/mtrace.c: Likewise.
42336 * misc/error.c: Likewise.
42337 * misc/syslog.c: Likewise.
42338 * stdio-common/asprintf.c: Likewise.
42339 * stdio-common/fxprintf.c: Likewise.
42340 * stdio-common/getw.c: Likewise.
42341 * stdio-common/isoc99_fscanf.c: Likewise.
42342 * stdio-common/isoc99_scanf.c: Likewise.
42343 * stdio-common/isoc99_vfscanf.c: Likewise.
42344 * stdio-common/isoc99_vscanf.c: Likewise.
42345 * stdio-common/isoc99_vsscanf.c: Likewise.
42346 * stdio-common/printf-prs.c: Likewise.
42347 * stdio-common/printf_fp.c: Likewise.
42348 * stdio-common/printf_fphex.c: Likewise.
42349 * stdio-common/printf_size.c: Likewise.
42350 * stdio-common/putw.c: Likewise.
42351 * stdio-common/scanf.c: Likewise.
42352 * stdio-common/sprintf.c: Likewise.
42353 * stdio-common/tmpfile.c: Likewise.
42354 * stdio-common/vfprintf.c: Likewise.
42355 * stdio-common/vfscanf.c: Likewise.
42356 * stdlib/strfmon_l.c: Likewise.
42357 * sunrpc/openchild.c: Likewise.
42358 * sunrpc/xdr_stdio.c: Likewise.
42359 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42360 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42361
42362 2012-05-24 Roland McGrath <roland@hack.frob.com>
42363
42364 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42365
42366 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42367 in the third column, to generate for the shared library an IFUNC
42368 that uses _dl_vdso_vsym.
42369 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42370 * Makeconfig (object-suffixes-noshared): New variable.
42371
42372 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42373 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42374 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42375 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42376
42377 [BZ #14132]
42378 * include/sys/time.h (__gettimeofday): Remove macro.
42379 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42380 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42381 Remove INTDEF.
42382 (__gettimeofday): Add libc_hidden_def.
42383 (gettimeofday): Add libc_hidden_weak.
42384 * sysdeps/mach/gettimeofday.c: Likewise.
42385 * sysdeps/posix/gettimeofday.c: Likewise.
42386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42387 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42389 (__gettimeofday_internal): Remove strong_alias.
42390 (__gettimeofday): Add libc_hidden_def.
42391 (gettimeofday): Add libc_hidden_weak.
42392 * sysdeps/unix/syscalls.list (gettimeofday):
42393 Remove __gettimeofday_internal alias.
42394
42395 2012-05-24 Daniel Jacobowitz <drow@false.org>
42396 H.J. Lu <hongjiu.lu@intel.com>
42397
42398 [BZ #12495]
42399 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42400 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42401 (largebin_index_32_big): New.
42402 (largebin_index): Use it for 16-byte alignment.
42403 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42404 correction with front_misalign.
42405
42406 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42407
42408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42410 Likewise.
42411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42412 Likewise.
42413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42414 Likewise.
42415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42416 Likewise.
42417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42418 Likewise.
42419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42420 Likewise.
42421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42422 Likewise.
42423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42424 Likewise.
42425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42426 Likewise.
42427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42428 Likewise.
42429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42430 Likewise.
42431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42432 Likewise.
42433
42434 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42435 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42436
42437 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42438
42439 [BZ #10846]
42440 [BZ #14036]
42441 * math/libm-test.inc (exp_test): Add test from bug 14036.
42442 (pow_test): Add test from bug 10846.
42443
42444 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42445 and other flags.
42446 (special_function): Do not include flags in test name.
42447 (parse_args): Likewise.
42448 * sysdeps/i386/fpu/libm-test-ulps: Update.
42449 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42450 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42451 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42453
42454 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42455 exceptions.
42456 * math/libm-test.inc ("Philosophy"): Update comment about
42457 exception testing.
42458 (UNDERFLOW_EXCEPTION): New macro.
42459 (UNDERFLOW_EXCEPTION_OK): Likewise.
42460 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42461 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42462 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42463 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42464 (INVALID_EXCEPTION_OK): Update value.
42465 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42466 (OVERFLOW_EXCEPTION_OK): Likewise.
42467 (IGNORE_ZERO_INF_SIGN): Likewise.
42468 (test_exceptions): Handle underflow exceptions.
42469 (acos_test): Update for underflow exception expectations.
42470 (cexp_test): Likewise.
42471 (clog_test): Likewise.
42472 (clog10_test): Likewise.
42473 (csqrt_test): Likewise.
42474 (ctan_test): Likewise.
42475 (ctanh_test): Likewise.
42476 (exp_test): Likewise.
42477 (exp10_test): Likewise.
42478 (exp2_test): Likewise.
42479 (expm1_test): Likewise.
42480 (fma_test): Likewise.
42481 (j0_test): Likewise.
42482 (jn_test): Likewise.
42483 (nexttoward_test): Likewise.
42484 (pow_test): Likewise.
42485 (scalbn_test): Likewise.
42486 (scalbln_test): Likewise.
42487 (tan_test): Likewise.
42488 (y1_test): Likewise.
42489 * sysdeps/i386/fpu/libm-test-ulps: Update.
42490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42491
42492 2012-05-23 David S. Miller <davem@davemloft.net>
42493
42494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42495 (__libc_sigaction): Remove unused local variables.
42496
42497 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42498
42499 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42500
42501 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42502
42503 mktime: avoid signed integer overflow
42504 * time/mktime.c (__mktime_internal): Do not mishandle the case
42505 where diff == INT_MIN.
42506
42507 mktime: simplify computation of average
42508 * time/mktime.c (ranged_convert): Use new time_t_avg function
42509 instead of rolling our own (probably-slower) code.
42510
42511 mktime: do not assume signed right shift propagates sign bit
42512 * time/mktime.c (isdst_differ): New static function.
42513 (__mktime_internal): No need to normalize tm_isdst now.
42514 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42515 tm_isdst values.
42516
42517 mktime: merge another wrapv change from gnulib
42518 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42519 from some compilers.
42520
42521 mktime: remove incorrect attempt at unusual arithmetics
42522 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42523 The code didn't really work on such machines anyway.
42524 (TYPE_MINIMUM): Assume two's complement.
42525 (twos_complement_arithmetic): Verify that long_int and time_t
42526 are two's complement (or unsigned, in the latter case).
42527
42528 mktime: check signed shifts on long_int and time_t, too
42529 * time/mktime.c (SHR): Check that shifts work as desired
42530 on the types long_int and time_t too, as SHR is used on
42531 such types.
42532
42533 mktime: do not assume 'long' is wide enough
42534 * time/mktime.c (verify): Move decl up.
42535 (long_int): New type.
42536 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42537 to remove assumption in the code that 'long' is wide enough to
42538 store year values. This assumption is not true on x32 and on
42539 some non-glibc platforms.
42540
42541 mktime: merge wrapv change from gnulib
42542 * time/mktime.c (WRAPV): New macro.
42543 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42544 (guess_time_tm, __mktime_internal): Do not assume that signed
42545 integer overflow wraps around; modern compilers generate code
42546 where this assumption is no longer valid.
42547
42548 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42549
42550 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42551 Replace "jmp L(pseudo_end)" with "ret".
42552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42553 Likewise.
42554
42555 2012-05-23 Andreas Jaeger <aj@suse.de>
42556
42557 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42558 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42559
42560 2012-05-23 Andreas Jaeger <aj@suse.de>
42561 Maximilian Attems <max@stro.at>
42562
42563 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42564 New macros.
42565
42566 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42567
42568 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42569 code so that pseudo_end is just ret and the stack pointer is
42570 correct also for static library in error case.
42571
42572 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42573
42574 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42575 move to syscalls.list.
42576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42580
42581 * manual/install.texi (Running make install): Do not mention Linux
42582 kernel version for which pt_chown is not needed.
42583 (Linux): Do not mention problems with nscd with 2.0 kernels.
42584 * INSTALL: Regenerated.
42585
42586 2012-05-23 Andreas Jaeger <aj@suse.de>
42587
42588 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42589 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42590 macro.
42591 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42592 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42593 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42594 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42595 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42597 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42599 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42601 * sysdeps/unix/sysv/linux/bits/in.h
42602 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42603
42604 2012-05-22 Roland McGrath <roland@hack.frob.com>
42605
42606 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42607 (PREPARE_VERSION): Just use assert instead, it will be elided
42608 under [NDEBUG] anyway.
42609
42610 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42611
42612 * sysdeps/unix/sysv/linux/Makefile: Include
42613 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42614 (sysdep_routines): Remove sysctl.
42615 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42616 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42617 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42618 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42619 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42620
42621 2012-05-22 Andreas Jaeger <aj@suse.de>
42622
42623 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42624 that pseudo_end is just ret and the stack pointer is correct also
42625 for static library in error case.
42626
42627 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42628
42629 [BZ #14122]
42630 * nss/nsswitch.c (defconfig_entries): New variable.
42631 (__nss_database_lookup): Don't leak defconfig entries.
42632 (nss_parse_service_list): Don't leak on error paths.
42633 (free_database_entries): New function.
42634 (free_defconfig): New function.
42635 (free_mem): Move common code to free_database_entries.
42636
42637 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42638
42639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42640 Add arch_prctl.
42641 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42642
42643 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42644 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42646 New macro.
42647 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42648 (INTERNAL_SYSCALL_TYPES): Likewise.
42649 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42650 (LOAD_REGS_TYPES_[1-6]): Likewise.
42651 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42652 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42653
42654 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42655
42656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42657 copysignl for GLIBC_2_0.
42658 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42659 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42661 logbl for GLIBC_2_0.
42662 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42663 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42664
42665 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42666
42667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42668 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42669
42670 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42671 Use "neg %eax".
42672
42673 * time/mktime.c: Update copyright years.
42674
42675 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42676
42677 mktime: merge comment-quoting-style change from gnulib
42678 * time/mktime.c: Quote 'like this' in comments.
42679 The GNU coding standards suggest that we no longer quote `like this',
42680 as "`" and "'" are typically rendered asymmetrically nowadays.
42681 The typical gnulib style is to quote 'like this' when quoting
42682 code, and "like this" when quoting English.
42683
42684 * time/mktime.c (compile-command): Add "-I.".
42685
42686 mktime: merge mktime-internal.h change from gnulib
42687 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42688
42689 mktime: merge time_r change from gnulib
42690 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42691
42692 mktime: merge DEBUG change from gnulib
42693 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42694 case system <time.h> has a #define.
42695
42696 mktime: merge <sys/types.h> change from gnulib
42697 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42698 since <time.t> is now guaranteed to define time_t.
42699
42700 mktime: merge HAVE_CONFIG_H change from gnulib
42701 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42702
42703 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42704
42705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42706 Use "neg %eax".
42707
42708 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42709 __rlim_t cast.
42710 (struct rusage): Use anonymous union to pad each field to
42711 __syscall_slong_t.
42712
42713 2012-05-21 David S. Miller <davem@davemloft.net>
42714
42715 * Makefules (o-iterator): Remove .s cases.
42716 (compile-command.s): Delete.
42717 (COMPILE.s): Delete.
42718 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42719
42720 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42721
42722 * configure.in (libc_cv_predef_stack_protector): Only consider
42723 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42724 * configure: Regenerated.
42725
42726 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42727
42728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42729 New macro. Use R*LP on int and pointer.
42730 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42731 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42732 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42733 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42734
42735 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42736 [__WORDSIZE_TIME64_COMPAT32] instead of
42737 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42738 (struct utmp): Likewise.
42739 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42740 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42741 Renamed to ...
42742 (__WORDSIZE_TIME64_COMPAT32): This.
42743 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42744 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42745 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42746 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42747 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42748 (__WORDSIZE_TIME64_COMPAT32): New macro.
42749
42750 2012-05-21 Andreas Jaeger <aj@suse.de>
42751
42752 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42753 only if [SHARED]. Add prototype for __wcschr_ia32.
42754
42755 2012-05-21 Roland McGrath <roland@hack.frob.com>
42756
42757 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42758 of %rbp unmolested in the jmp_buf while mangling the low bits.
42759 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42760 unmolested high bits of %rbp while demangling the low bits.
42761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42762
42763 2012-05-21 Andreas Jaeger <aj@suse.de>
42764
42765 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42766 * sunrpc/svc_simple.c: Use it for registerrpc.
42767 * sunrpc/xcrypt.c: Use it for passwd2des.
42768
42769 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42770
42771 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42772
42773 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42774 Don't define if [__SYSCALL_WORDSIZE != 32].
42775 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42776 New macro.
42777
42778 2012-05-21 Bruno Haible <bruno@clisp.org>
42779 Andreas Jaeger <aj@suse.de>
42780
42781 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42782 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42783 inptr and inend for must_buffer_ch.
42784 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42785 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42786 * stdio-common/Makefile (tests): Remove bug15.
42787 (bug15-ENV): Remove macro.
42788 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42789 anymore.
42790
42791 2012-05-19 Andreas Jaeger <aj@suse.de>
42792 Roland McGrath <roland@hack.frob.com>
42793
42794 * manual/contrib.texi: Completely rewritten. It contains now an
42795 alphabetical list of contributors and their contributions.
42796
42797 2012-05-21 Richard Henderson <rth@twiddle.net>
42798
42799 * misc/getauxval.c (__getauxval): Use unsigned long int.
42800 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42801 (getauxval): Use unsigned long int.
42802
42803 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42804
42805 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42806
42807 2012-05-21 Roland McGrath <roland@hack.frob.com>
42808
42809 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42810 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42811 __alignof__ (long double).
42812
42813 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42814
42815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42816
42817 2012-05-20 Richard Henderson <rth@twiddle.net>
42818
42819 * misc/getauxval.c: New file.
42820 * misc/sys/auxv.h: New file.
42821 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42822 (routines): Add getauxval.
42823 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42824 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42825 * elf/dl-sysdep.c (_dl_auxv): Remove.
42826 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42827 * elf/dl-support.c (_dl_auxv): New variable.
42828 (_dl_aux_init): Initialize it.
42829 * manual/startup.texi (Auxiliary Vector): New node.
42830 * sysdeps/generic/bits/hwcap.h: New file.
42831 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42832 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42833 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42834 * sysdeps/sparc/sysdep.h: ... here. Include it.
42835 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42836 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42838 Update.
42839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42847
42848 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42849
42850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42851
42852 2012-05-19 David S. Miller <davem@davemloft.net>
42853
42854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42855
42856 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42857
42858 [BZ #14123]
42859 * math/s_ccosh.c: Include <float.h>
42860 (__ccosh): Avoid internal overflow calculating sinh and cosh
42861 values before multiplying by sin and cos values.
42862 * math/s_ccoshf.c: Likewise.
42863 * math/s_ccoshl.c: Likewise.
42864 * math/s_csin.c: Likewise.
42865 * math/s_csinf.c: Likewise.
42866 * math/s_csinl.c: Likewise.
42867 * math/s_csinh.c: Likewise.
42868 * math/s_csinhf.c: Likewise.
42869 * math/s_csinhl.c: Likewise.
42870 * math/libm-test.inc (ccos_test): Add more tests.
42871 (ccosh_test): Likewise.
42872 (csin_test): Likewise.
42873 (csinh_test): Likewise.
42874 * sysdeps/i386/fpu/libm-test-ulps: Update.
42875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42876
42877 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42878
42879 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42880 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42881
42882 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42883
42884 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42885
42886 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42887 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42888 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42889 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42890 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42891 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42892 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42893 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42894 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42895 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42896 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42897 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42898 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42899 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42900 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42901 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42902 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42903 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42904 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42905 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42906 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42907 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42908 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42909 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42910 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42911 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42912 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42913 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42914 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42915 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42916 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42917
42918 2012-05-18 Andreas Jaeger <aj@suse.de>
42919
42920 * csu/.gitignore: Delete.
42921
42922 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42923
42924 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42925 (timex): Use __syscall_slong_t.
42926
42927 2012-05-18 Andreas Jaeger <aj@suse.de>
42928 Carlos O'Donell <carlos_odonell@mentor.com>
42929
42930 * manual/install.texi (Configuring and compiling): Update
42931 description about files modified in the source directory.
42932 * INSTALL: Regenerated.
42933
42934 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42935
42936 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42937 value. Use "or" to set return value to -1.
42938 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42939 negate return value.
42940
42941 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42942
42943 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42944 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42945 failure if the compiler has Graphite support disabled.
42946 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42947 Likewise.
42948 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42949 (CFLAGS-memmove.c): Likewise.
42950 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42951 Likewise.
42952
42953 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42954
42955 * sysdeps/x86_64/x32/_itoa.h: New file.
42956
42957 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42958 getdents system call only if kernel and user dirents have the
42959 same d_ino and d_off.
42960
42961 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42962 LLONG_MAX != LONG_MAX.
42963 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42964 (_fitoa_word): Likewise.
42965
42966 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42967 years.
42968 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42969 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42971
42972 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42973 include <bits/wordsize.h>. Check __x86_64__ instead of
42974 __WORDSIZE.
42975 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42976 if __x86_64__ is defined. Use anonymous union on fpstate.
42977
42978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42979 anonymous union.
42980
42981 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42982
42983 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42984 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42985 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42986 Refer to _rtld_local_ro instead of _rtld_global_ro.
42987 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42988 Likewise.
42989 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42990 Likewise.
42991 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42992 Likewise.
42993 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42994 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42995 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42996
42997 * sysdeps/powerpc/powerpc32/dl-machine.c
42998 (__elf_machine_runtime_setup) [PROF]: Don't reference
42999 _dl_prof_resolve.
43000
43001 2012-05-18 Andreas Jaeger <aj@suse.de>
43002
43003 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43004 function only available for GCCs before 3.4 since GCC 3.4
43005 introduced a builtin.
43006 (lrint): Likewise.
43007 (llrintf): Likewise.
43008 (llrint): Likewise.
43009 (fmaxf): Likewise.
43010 (fmax): Likewise.
43011 (fminf): Likewise.
43012 (fmin): Likewise.
43013 (rint): Likewise.
43014 (rintf): Likewise.
43015 (nearbyint): Likewise.
43016 (nearbyintf): Likewise.
43017 (ceil): Likewise.
43018 (ceilf): Likewise.
43019 (floor): Likewise.
43020 (floorf): Likewise.
43021
43022 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43023
43024 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43025 on both fields and cast pointer to __syscall_ulong_t.
43026
43027 * bits/types.h (__fsword_t): New type.
43028 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43029 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43030 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43031 (__FSWORD_T_TYPE): Likewise.
43032 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43033 (__FSWORD_T_TYPE): Likewise.
43034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43035 (__FSWORD_T_TYPE): Likewise.
43036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43037 (__FSWORD_T_TYPE): Likewise.
43038 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43039 __SWORD_TYPE with __fsword_t.
43040 (statfs64): Likewise.
43041
43042 2012-05-17 David S. Miller <davem@davemloft.net>
43043
43044 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43045
43046 2012-05-17 Andreas Jaeger <aj@suse.de>
43047
43048 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43049 warning.
43050
43051 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43052
43053 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43054
43055 2012-05-17 Andreas Jaeger <aj@suse.de>
43056
43057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43058 when it is used.
43059
43060 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43061
43062 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43063
43064 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43065
43066 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43067 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43068
43069 2012-05-17 Andreas Jaeger <aj@suse.de>
43070 Carlos O'Donell <carlos_odonell@mentor.com>
43071
43072 [BZ #14059]
43073 * sysdeps/x86_64/multiarch/init-arch.h
43074 (bit_YMM_Usable): Rename to...
43075 (bit_AVX_Usable): ... this.
43076 (bit_FMA4_Usable): New macro.
43077 (bit_XMM_state): New macro.
43078 (bit_YMM_state): New macro.
43079 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43080 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43081 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43082 (CPUID_OSXSAVE): New macro.
43083 (CPUID_AVX): New macro.
43084 (CPUID_FMA4): New macro.
43085 (index_YMM_Usable): Rename to...
43086 (index_AVX_Usable): ... this.
43087 (HAS_AVX): Use HAS_ARCH_FEATURE.
43088 (HAS_FMA4): Likewise.
43089 (HAS_YMM_USABLE): Remove.
43090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43091 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43092 are present.
43093 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43094 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43095 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43096 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43097 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43098
43099 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43100
43101 * math/libm-test.c: Support platforms without multiple rounding modes.
43102 * math/bug-nextafter.c: Support platforms without FP exceptions.
43103 * math/bug-nexttoward.c: Likewise.
43104 * math/test-fenv.c: Likewise.
43105 * math/test-misc.c: Likewise.
43106 * stdlib/bug-getcontext.c: Likewise.
43107
43108 2012-05-17 Andreas Jaeger <aj@suse.de>
43109
43110 * manual/examples/search.c (critter_cmp): Change signature to
43111 avoid warnings.
43112 * manual/string.texi (Collation Functions): Likewise.
43113
43114 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43115
43116 * bits/types.h: Fold copyright years.
43117 * bits/typesizes.h: Likewise.
43118 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43119 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43120 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43122 * time/time.h: Likewise.
43123
43124 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43125
43126 [BZ #208]
43127 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43128 in instead of returning them. Return void.
43129 (__libc_mallinfo): Accumulate over all arenas.
43130 (__malloc_stats): Adjust for change in int_mallinfo interface.
43131
43132 2012-05-16 Roland McGrath <roland@hack.frob.com>
43133
43134 [BZ #10375]
43135 * configure.in (NM): Add AC_CHECK_TOOL for it.
43136 (libc_extra_cflags): New substituted variable.
43137 Check for -fstack-protector being used implicitly.
43138 * configure: Regenerated.
43139 * config.make.in (config-extra-cflags): New variable,
43140 gets @libc_extra_cflags@.
43141 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43142
43143 [BZ #10375]
43144 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43145 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43146 * configure: Regenerated.
43147 * config.make.in (CPPUNDEFS): New substituted variable.
43148 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43149 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43150 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43151
43152 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43153
43154 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43155 (mq_attr): Use __syscall_slong_t.
43156
43157 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43158
43159 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43160 Check __x86_64__ instead of __WORDSIZE.
43161 (_STAT_VER_LINUX): Likewise.
43162 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43163 __syscall_ulong_t and __syscall_slong_t.
43164 (stat64): Likewise.
43165
43166 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43167
43168 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43169
43170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43171
43172 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43173
43174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43175
43176 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43177 __syscall_ulong_t.
43178
43179 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43180 include <bits/wordsize.h>. Check __x86_64__ instead of
43181 __WORDSIZE.
43182 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43183 defined.
43184 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43185
43186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43187 include <bits/wordsize.h>. Check __x86_64__ instead of
43188 __WORDSIZE.
43189 (user_regs_struct): Use "__extension__ unsigned long long"
43190 instead of "unsigned long" if __x86_64__ is defined.
43191 (user): Likewise. Pad after pointer field if __ILP32__ is
43192 defined.
43193
43194 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43195
43196 * configure.in (makeinfo): Require version 4.5 or later. Allow
43197 versions 5 to 9.
43198 * configure: Regenerated.
43199 * manual/install.texi (texinfo): Increase version requirement to
43200 4.5 or later.
43201 * INSTALL: Regenerated.
43202
43203 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43204
43205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43206
43207 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43208
43209 * sysdeps/x86_64/x32/ffs.c: New file.
43210
43211 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43212 __syscall_ulong_t.
43213 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43214 defined. Use __syscall_ulong_t.
43215 (shminfo): Use __syscall_ulong_t.
43216 (shm_info): Likewise.
43217
43218 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43219 __syscall_ulong_t.
43220
43221 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43222 <bits/wordsize.h>.
43223 (msgqnum_t): Use __syscall_ulong_t.
43224 (msglen_t): Likewise.
43225 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43226 __syscall_ulong_t.
43227
43228 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43229 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43230
43231 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43232
43233 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43234 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43235
43236 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43237 __syscall_slong_t.
43238
43239 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43240 include <bits/wordsize.h>. Check __x86_64__ instead of
43241 __WORDSIZE.
43242
43243 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43244 "unsigned long long int" if __x86_64__ is defined.
43245 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43246
43247 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43248 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43249 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43250
43251 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43252 <stdint.h>.
43253 (GET_PC): Cast to uintptr_t first.
43254 (GET_FRAME): Likewise.
43255 (GET_STACK): Likewise.
43256
43257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43259 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43260 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43261 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43262 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43263 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43264 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43265 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43268 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43270 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43276 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43278 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43280 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43282 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43284 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43286
43287 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43288
43289 * Makerules (+depfiles): Also collect depfiles from .oS in
43290 $(extra-objs).
43291 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43292 .oS, $(libnldbl-routines)).
43293
43294 * Makerules (native-compile-mkdep-flags): Define.
43295 * sunrpc/Makefile (extra-objs): Add $(addprefix
43296 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43297 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43298 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43299 calling $(make-target-directory).
43300
43301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43302
43303 * bits/types.h (__snseconds_t): Removed.
43304 * time/time.h (struct timespec): Replace __snseconds_t with
43305 __syscall_slong_t.
43306 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43307 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43308 Likewise.
43309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43310 (__SNSECONDS_T_TYPE): Likewise.
43311 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43312 (__SNSECONDS_T_TYPE): Likewise.
43313 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43314 (__SNSECONDS_T_TYPE): Likewise.
43315
43316 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43317
43318 * sysdeps/mach/hurd/bits/typesizes.h
43319 (__SYSCALL_SLONG_TYPE): New macro.
43320 (__SYSCALL_ULONG_TYPE): Likewise.
43321
43322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43323
43324 * bits/types.h (__syscall_slong_t): New type.
43325 (__syscall_ulong_t): Likewise.
43326
43327 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43328 (__SYSCALL_ULONG_TYPE): Likewise.
43329 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43330 (__SYSCALL_SLONG_TYPE): Likewise.
43331 (__SYSCALL_ULONG_TYPE): Likewise.
43332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43333 (__SYSCALL_SLONG_TYPE): Likewise.
43334 (__SYSCALL_ULONG_TYPE): Likewise.
43335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43336 (__SYSCALL_SLONG_TYPE): Likewise.
43337 (__SYSCALL_ULONG_TYPE): Likewise.
43338
43339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43340
43341 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43342 Add sigaltstack-offsets.sym.
43343 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43344 <sigaltstack-offsets.h>.
43345 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43346 longjmp_msg pointer.
43347 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43348 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43349 signal stack.
43350 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43351
43352 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43353
43354 * elf/stackguard-macros.h: Remove file.
43355 * sysdeps/generic/stackguard-macros.h: New file.
43356 * sysdeps/i386/stackguard-macros.h: Likewise.
43357 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43358 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43359 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43360 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43361 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43362 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43363 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43364 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43365 <elf/stackguard-macros.h>.
43366
43367 [BZ #14109]
43368 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43369 __aligned__ in attribute.
43370 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43371 (gregset_t): Likewise.
43372
43373 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43374
43375 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43376 * sysdeps/x86_64/64/Implies-after: Here. New file.
43377 * sysdeps/x86_64/x32/Implies-after: New file.
43378
43379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43380
43381 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43382 and access return value for _dl_profile_fixup. Use R10_LP to
43383 load frame size.
43384
43385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43386
43387 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43388
43389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43390
43391 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43392 * sysdeps/x86_64/x32/sysdep.h: New file.
43393
43394 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43395
43396 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43397 * sysdeps/x86_64/setjmp.S: Likewise.
43398
43399 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43400
43401 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43403 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43404 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43405 remove unused global constant.
43406
43407 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43408
43409 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43410 include of <not-cancel.h>.
43411
43412 2012-05-15 Roland McGrath <roland@hack.frob.com>
43413
43414 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43415
43416 2012-05-15 Jeff Law <law@redhat.com>
43417 Andreas Jaeger <aj@suse.de>
43418
43419 [BZ #13594]
43420 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43421 out from...
43422 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43423 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43424 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43425 code changing __hst_map_handle.map.
43426
43427 2012-05-15 Roland McGrath <roland@hack.frob.com>
43428
43429 * configure.in (sysnames): Look for Implies-before and Implies-after
43430 files.
43431 * configure: Regenerated.
43432
43433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43434
43435 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43436 8-byte data alignment with LP_SIZE alignment.
43437
43438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43439
43440 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43441 into R10_LP.
43442
43443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43444
43445 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43446
43447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43448
43449 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43450 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43451 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43452 Likewise.
43453 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43454
43455 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43456
43457 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43458 (stackinfo_sub_sp): Likewise.
43459
43460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43461
43462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43463 RAX_LP.
43464
43465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43466
43467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43468 into R*_LP.
43469
43470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43471
43472 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43473 sizes into R*_LP.
43474
43475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43476
43477 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43478
43479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43480
43481 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43482 into R11_LP and load __x86_64_shared_cache_size_half into
43483 R8_LP.
43484
43485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43486
43487 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43488 R8_LP.
43489
43490 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43491
43492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43493 logb for POWER7.
43494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43495 logbf for POWER7.
43496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43497 logbl for POWER7.
43498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43499 powerpc32/power7/fpu/s_logb.c via #include.
43500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43501 powerpc32/power7/fpu/s_logbf.c via #include.
43502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43503 powerpc32/power7/fpu/s_logbl.c via #include.
43504
43505 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43506
43507 * README.libm: Remove file.
43508
43509 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43510
43511 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43512 count for x32. Use R*_LP and omit operand-size suffix.
43513
43514 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43515
43516 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43517 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43518 * sysdeps/x86_64/x32/shlib-versions: New file.
43519
43520 2012-05-14 Roland McGrath <roland@hack.frob.com>
43521
43522 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43523 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43524 Use _dl_fatal_printf instead.
43525
43526 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43527
43528 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43529 set if not set by the user. Do not allow for being unset.
43530 * sysdeps/unix/sysv/linux/configure: Regenerated.
43531
43532 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43533
43534 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43535 the `q' suffix from lea and replace .quad with ASM_ADDR.
43536
43537 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43538
43539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43540 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43541 instead of $17.
43542 (PTR_DEMANGLE): Likewise.
43543
43544 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43545
43546 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43547 (LP_OP): Likewise.
43548 (ASM_ADDR): Likewise.
43549 (RAX_LP): Likewise.
43550 (RBP_LP): Likewise.
43551 (RBX_LP): Likewise.
43552 (RCX_LP): Likewise.
43553 (RDI_LP): Likewise.
43554 (RSI_LP): Likewise.
43555 (RSP_LP): Likewise.
43556 (R8_LP): Likewise.
43557 (R9_LP): Likewise.
43558 (R10_LP): Likewise.
43559 (R10_LP): Likewise.
43560 (R11_LP): Likewise.
43561 (R12_LP): Likewise.
43562 (R13_LP): Likewise.
43563 (R14_LP): Likewise.
43564 (R15_LP): Likewise.
43565
43566 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43567
43568 * sysdeps/x86_64/x32/dl-machine.h: New file.
43569
43570 2012-05-14 Andreas Jaeger <aj@suse.de>
43571
43572 * manual/Makefile (subdir): Remove export of subdir.
43573 (all): Remove target.
43574 (.PHONY): Remove all from list.
43575 (mkinstalldirs): Remove.
43576 (.PHONY): Remove installdirs from list.
43577 ($(inst_infodir)/libc.info): Use make-target-directory.
43578 (installdirs): Remove.
43579 (subdir_%): Remove.
43580 (glibc-targets): Remove.
43581 (lib): Remove.
43582 (stubs): Remove.
43583 ($(objpfx)stubs ../po/manual.pot): Remove.
43584 ($(objpfx)stamp%): Remove.
43585 (make-target-directory): Remove.
43586 (subdir_install): Remove.
43587 (routines): Remove.
43588 (aux): Remove.
43589 (sources): Remove.
43590 (objects): Remove.
43591 (headers): Remove.
43592
43593 [BZ #13750]
43594 * manual/.gitignore: Remove, it's not needed anymore.
43595 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43596 all files in it.
43597 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43598 directory.
43599 (texis): Renamed to $(objpfx)texis.
43600 (texis-path): New, contains path to generated files.
43601 (chapters.%): Use texis-path for complete path, add extra argument
43602 libc-texinfo.sh.
43603 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43604 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43605 (summary,texi, stamp-summary): Use complete path of
43606 files. Generate files in build dir.
43607 (dir-add.texi): Build in build dir.
43608 (libm-err.texi,stamp-libm-err): Likewise.
43609 (version.texi, stamp-version): Likewise.
43610 (.%c.texi): Likewise.
43611 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43612 (mostlyclean): Remove target.
43613 (realclean): Remove target.
43614 (generated): Add new variable with contents from mostlyclean and
43615 realclean, remove entries duplicated in common-mostlyclean, add
43616 stamp-libm-err and stamp-version.
43617 (generated-dirs): Add libc directory.
43618 ($(inst_infodir)/libc.info): Install files from build dir.
43619
43620 * manual/install.texi (Configuring and compiling): Adjust since
43621 the info files are not part of the tar ball anymore.
43622
43623 2012-05-14 Andreas Jaeger <aj@suse.de>
43624
43625 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43626 variable.
43627
43628 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43629
43630 [BZ #13717]
43631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43632 to 2.2.0 where earlier.
43633 * sysdeps/unix/sysv/linux/configure: Regenerated.
43634 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43635 Remove conditional code.
43636 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43637 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43638 Remove conditional code.
43639 [!__NR_lchown]: Likewise.
43640 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43641 [__NR_lchown]: Likewise.
43642 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43643 comment referencing __ASSUME_LCHOWN_SYSCALL.
43644 * sysdeps/unix/sysv/linux/i386/sigaction.c
43645 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43646 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43647 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43648 Remove conditional code.
43649 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43650 (__protocol_available): Remove #if 0 code.
43651 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43652 conditional code.
43653 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43654 * sysdeps/unix/sysv/linux/kernel-features.h
43655 (__ASSUME_GETCWD_SYSCALL): Don't define.
43656 (__ASSUME_REALTIME_SIGNALS): Likewise.
43657 (__ASSUME_PREAD_SYSCALL): Likewise.
43658 (__ASSUME_PWRITE_SYSCALL): Likewise.
43659 (__ASSUME_POLL_SYSCALL): Likewise.
43660 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43661 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43662 non-SPARC.
43663 (__ASSUME_SIOCGIFNAME): Don't define.
43664 (__ASSUME_MSG_NOSIGNAL): Likewise.
43665 (__ASSUME_SENDFILE): Define unconditionally.
43666 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43667 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43668 conditional code.
43669 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43670 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43671 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43672 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43673 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43674 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43675 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43680 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43681 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43686 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43687 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43692 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43693 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43698 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43699 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43700 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43701 Remove conditional code.
43702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43703 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43704 Remove conditional code.
43705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43706 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43707 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43708 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43709 Remove conditional code.
43710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43711 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43712 Remove conditional code.
43713 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43714 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43715 Remove conditional code.
43716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43717 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43718 Remove conditional code.
43719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43720 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43721 Remove conditional code.
43722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43723 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43726 * sysdeps/unix/sysv/linux/sigaction.c
43727 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43728 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43729 * sysdeps/unix/sysv/linux/sigpending.c
43730 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43731 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43732 * sysdeps/unix/sysv/linux/sigprocmask.c
43733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43735 * sysdeps/unix/sysv/linux/sigsuspend.c
43736 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43737 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43738 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43739 (__libc_missing_rt_sigs): Remove.
43740 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43741 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43742 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43743 Remove conditional code.
43744 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43745 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43746 return 1.
43747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43748 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43749 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43750 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43751
43752 2012-05-14 Andreas Jaeger <aj@suse.de>
43753
43754 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43755 it's not used in glibc.
43756 (__coshm1): Likewise.
43757 (__acosh1p): Likewise.
43758 (__sgn): Likewise.
43759
43760 * manual/string.texi (Copying and Concatenation): Add missing
43761 variable in concat example.
43762 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43763
43764 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43765
43766 [BZ #14103]
43767 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43768 __builtin_clzl with __builtin_clzll.
43769
43770 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43771
43772 [BZ #14104]
43773 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43774 libc_freeres_ptr.
43775
43776 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43777
43778 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43779 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43780 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43781 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43782
43783 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43784
43785 * NEWS: Update ia64 info.
43786
43787 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43788
43789 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43790 used as bcopy.
43791
43792 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43793
43794 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43795 * sysdeps/unix/syscalls.list (dup3): Likewise.
43796 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43797 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43798
43799 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43800
43801 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43802 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43803
43804 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43805
43806 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43807 thread pointer.
43808 (TLS_IE): Use mov/add instead of movq/addq to load thread
43809 pointer.
43810 (TLS_GD_PREFIX): New.
43811 (TLS_GD): Use it.
43812
43813 2012-05-11 David S. Miller <davem@davemloft.net>
43814
43815 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43816 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43817 (_FPU_SETCW): Likewise.
43818
43819 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43820
43821 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43822 is 32-byte aligned.
43823
43824 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43825
43826 [BZ #11837]
43827 * iconvdata/gb18030.c: Update tables.
43828 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43829 characters specially.
43830 (BODY for TO_LOOP): Add encoding of missing ranges.
43831
43832 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43833
43834 [BZ #13673]
43835 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43836 * sysdeps/mach/hurd/dup3.c: Likewise.
43837 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43838 * sysdeps/powerpc/memmove.c:: Likewise.
43839
43840 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43841
43842 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43843 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43844
43845 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43846
43847 * elf/elf.h (R_X86_64_RELATIVE64): New.
43848 (R_X86_64_NUM): Updated.
43849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43850 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43851 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43852 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43853 tst-quad1pie tst-quad2pie
43854 (modules-names): Add tst-quadmod1 tst-quadmod2.
43855 ($(objpfx)tst-quad1): New dependency.
43856 ($(objpfx)tst-quad2): Likewise.
43857 ($(objpfx)tst-quad1pie): Likewise.
43858 ($(objpfx)tst-quad2pie): Likewise.
43859 * sysdeps/x86_64/tst-quad1.c: New file.
43860 * sysdeps/x86_64/tst-quad1pie.c: New file.
43861 * sysdeps/x86_64/tst-quad2.c: Likewise.
43862 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43863 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43864 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43865 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43866 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43867
43868 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43869
43870 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43871 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43872 * streams/stropts.h (t_scalar_t): Define type.
43873
43874 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43875 (_PATH_PRESERVE): Set to "/var/lib".
43876 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43877
43878 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43879 instead of int.
43880
43881 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43882 if __dir_mkfile succeeded.
43883
43884 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43885 checking for _hurd_dtablesize. Unlock it right after having
43886 finished _hurd_dtable allocation.
43887
43888 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43889
43890 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43891 * sysdeps/mach/hurd/configure: Regenerated.
43892 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43893 special-casing to...
43894 * sysdeps/gnu/configure.in: ... this new file.
43895 * sysdeps/unix/sysv/linux/configure: Regenerated.
43896 * sysdeps/gnu/configure: New generated file.
43897
43898 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43899 for Linux: use nsec instead of usec, as well as:
43900 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43901 members of type struct timespec.
43902 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43903 New macros.
43904 (struct stat64): Likewise.
43905 (_STATBUF_ST_NSEC): New macro.
43906 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43907
43908 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43909 __strtoul_internal rather than strtoul.
43910
43911 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43912
43913 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43914 and reject them.
43915
43916 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43917
43918 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43919 which preserves existing values.
43920 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43921
43922 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43923
43924 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43925 TIMEOUT values. Return EINVAL for NFDS values either negative or
43926 greater than FD_SETSIZE.
43927
43928 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43929
43930 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43931 allocated, call __vm_protect to finish enabling the existing space, and
43932 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43933 allocate the remainder.
43934
43935 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43936
43937 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43938 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43939
43940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43941
43942 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43943 sysdeps/mach/hurd/readlink.c.
43944
43945 * posix/tst-sysconf.c (posix_options): Only use
43946 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43947 _POSIX_SYNCHRONIZED_IO when they are defined
43948 * sysdeps/mach/hurd/bits/posix_opt.h:
43949 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43950 (_XOPEN_REALTIME): Undefine macro.
43951 (_XOPEN_REALTIME_THREADS): Undefine macro.
43952 (_XOPEN_SHM): Undefine macro.
43953 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43954 macro to -1.
43955 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43956 macro to -1.
43957 (_POSIX_ASYNC_IO): Undefine macro.
43958 (_POSIX_PRIORITIZED_IO): Undefine macro.
43959 (_POSIX_SPIN_LOCKS): Define macro to -1.
43960
43961 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43962 SA_NODEFER, SA_RESETHAND.
43963 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43964 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43965 F_DUPFD_CLOEXEC.
43966
43967 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43968
43969 * elf/Makefile (pldd-modules): Define unconditionally.
43970
43971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43972
43973 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43974
43975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43976
43977 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43978 Return ENOENT when name is empty.
43979 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43980
43981 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43982
43983 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43984
43985 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43986
43987 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43988
43989 Fix mlock in all cases except non-readable pages.
43990 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43991 instead of VM_PROT_ALL as parameter to __vm_wire function.
43992
43993 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43994 (__mkdir): When path is `/', just fail with EEXIST.
43995 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43996
43997 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43998
43999 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44000 <sys/uio.h> (for writev).
44001 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44002 and <sys/param.h> (for MIN).
44003
44004 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44005
44006 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44007 REQUESTED_TIME. Properly set the remaining time and return EINTR
44008 if interrupted.
44009
44010 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44011
44012 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44013 Depend on against $(link-rpcuserlibs).
44014
44015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44016
44017 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44018 (__libc_stack_end): Do not use attribute_relro.
44019 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44020 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44021 to libthread-provided value.
44022 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44023 attribute_relro.
44024
44025 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44026
44027 [BZ #3748]
44028 * bits/libc-lock.h (__libc_once_get): New macro.
44029 * sysdeps/mach/bits/libc-lock.h: Likewise.
44030 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44032 instead of using implementation details.
44033
44034 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44035 * libio/freopen.c: Likewise.
44036 * libio/freopen64.c: Likewise.
44037 * misc/syslog.c: Likewise.
44038 * nscd/connections.c: Likewise.
44039 * nscd/netgroupcache.c: Likewise.
44040 * sysdeps/posix/getcwd.c: Likewise.
44041
44042 2012-05-10 Roland McGrath <roland@hack.frob.com>
44043
44044 * math/w_ilogbf.c: Add #include <limits.h>.
44045
44046 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44047
44048 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44049 path instead of returning without unlocking.
44050
44051 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44052 immediate-write ioctls.
44053 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44054
44055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44056
44057 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44058 __builtin_frame_address instead of making assumptions about the
44059 location of the return address relative to DATA. Force early load of
44060 the return address.
44061 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44062 __builtin_frame_address.
44063
44064 dup3 for GNU Hurd.
44065 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44066 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44067 implement dup3 and do some further code clean-ups.
44068 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44069 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44070
44071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44072
44073 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44074
44075 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44076 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44077 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44078 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44079 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44080 d->port.lock.
44081
44082 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44083 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44084 when handler == SIG_ERR, not when handler != SIG_ERR.
44085
44086 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44087
44088 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44089 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44090 definitions.
44091
44092 accept4 for GNU Hurd.
44093 * include/sys/socket.h (__libc_accept4): New prototype.
44094 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44095 to implement __libc_accept4.
44096 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44097 __libc_accept4.
44098 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44099
44100 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44101 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44102 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44103 signal-defines.sym.
44104
44105 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44106
44107 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44108
44109 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44110
44111 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44112 assertion on O_CLOEXEC flag.
44113 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44114 * hurd/intern-fd.c: Likewise.
44115 * hurd/port2fd.c: Likewise.
44116
44117 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44118
44119 [BZ #3906]
44120 * bits/in.h (IPV6_PKTINFO): Define new macro.
44121 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44122
44123 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44124
44125 [BZ #13954]
44126 [BZ #13955]
44127 [BZ #13956]
44128 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44130 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44131 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44133 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44134 * math/libm-test.inc (logb_test) : Additional logb tests.
44135
44136 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44137 Andreas Jaeger <aj@suse.de>
44138
44139 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44140 * configure: Regenerated.
44141 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44142 * config.make.in (link-obsolete-rpc): New substituted variable.
44143 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44144 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44145 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44146 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44147 so that libc.a contains the symbols.
44148 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44149 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44150 * sunrpc/auth_none.c: Likewise.
44151 * sunrpc/auth_unix.c: Likewise.
44152 * sunrpc/authdes_prot.c: Likewise.
44153 * sunrpc/authuxprot.c: Likewise.
44154 * sunrpc/clnt_gen.c: Likewise.
44155 * sunrpc/clnt_perr.c: Likewise.
44156 * sunrpc/clnt_raw.c: Likewise.
44157 * sunrpc/clnt_simp.c: Likewise.
44158 * sunrpc/clnt_tcp.c: Likewise.
44159 * sunrpc/clnt_udp.c: Likewise.
44160 * sunrpc/clnt_unix.c: Likewise.
44161 * sunrpc/des_crypt.c: Likewise.
44162 * sunrpc/des_soft.c: Likewise.
44163 * sunrpc/get_myaddr.c: Likewise.
44164 * sunrpc/key_call.c: Likewise.
44165 * sunrpc/key_prot.c: Likewise.
44166 * sunrpc/netname.c: Likewise.
44167 * sunrpc/pm_getmaps.c: Likewise.
44168 * sunrpc/pm_getport.c: Likewise.
44169 * sunrpc/pmap_clnt.c: Likewise.
44170 * sunrpc/pmap_prot.c: Likewise.
44171 * sunrpc/pmap_prot2.c: Likewise.
44172 * sunrpc/pmap_rmt.c: Likewise.
44173 * sunrpc/publickey.c: Likewise.
44174 * sunrpc/rpc_cmsg.c: Likewise.
44175 * sunrpc/rpc_common.c: Likewise.
44176 * sunrpc/rpc_dtable.c: Likewise.
44177 * sunrpc/rpc_prot.c: Likewise.
44178 * sunrpc/rpc_thread.c: Likewise.
44179 * sunrpc/rtime.c: Likewise.
44180 * sunrpc/svc.c: Likewise.
44181 * sunrpc/svc_auth.c: Likewise.
44182 * sunrpc/svc_raw.c: Likewise.
44183 * sunrpc/svc_run.c: Likewise.
44184 * sunrpc/svc_tcp.c: Likewise.
44185 * sunrpc/svc_udp.c: Likewise.
44186 * sunrpc/svc_unix.c: Likewise.
44187 * sunrpc/svcauth_des.c: Likewise.
44188 * sunrpc/xcrypt.c: Likewise.
44189 * sunrpc/xdr.c: Likewise.
44190 * sunrpc/xdr_array.c: Likewise.
44191 * sunrpc/xdr_float.c: Likewise.
44192 * sunrpc/xdr_intXX_t.c: Likewise.
44193 * sunrpc/xdr_mem.c: Likewise.
44194 * sunrpc/xdr_rec.c: Likewise.
44195 * sunrpc/xdr_ref.c: Likewise.
44196 * sunrpc/xdr_sizeof.c: Likewise.
44197 * sunrpc/xdr_stdio.c: Likewise.
44198
44199 2012-05-10 Roland McGrath <roland@hack.frob.com>
44200
44201 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44202 change. Update copyright years.
44203
44204 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44205
44206 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44207
44208 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44209 Joseph Myers <joseph@codesourcery.com>
44210 Paul Pluzhnikov <ppluzhnikov@google.com>
44211
44212 [BZ #14012]
44213 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44214 requiring rpcgen.
44215 [cross-compiling] (extra-libs): Likewise.
44216 [cross-compiling] (extra-libs-others): Likewise.
44217 [cross-compiling] (librpcsvc-routines): Likewise.
44218 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44219 [cross-compiling] (omit-deps): Likewise.
44220 (sunrpc-CPPFLAGS): New variable.
44221 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44222 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44223 (cross-rpcgen-objs): New variable.
44224 (extra-objs): Append $(cross-rpcgen-objs).
44225 ($(cross-rpcgen-objs)): New rule.
44226 ($(objpfx)cross-rpcgen): Likewise.
44227 (rpcgen-cmd): Define to use $(built-program-file). Expand
44228 comment.
44229 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44230 ($(objpfx)x%.stmp): Likewise.
44231 * sunrpc/proto.h [IS_IN_build] (_): Define.
44232 [IS_IN_build] (_libc_intl_domainname): Likewise.
44233
44234 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44235
44236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44237 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44238 and R_X86_64_TPOFF64.
44239
44240 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44241
44242 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44243 sysdeps/unix/sysv/syscalls.list.
44244 (stime): Likewise.
44245 (utime): Likewise.
44246 * sysdeps/unix/sysv/syscalls.list: Remove file.
44247
44248 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44249
44250 [BZ #3440]
44251 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44252 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44253 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44254 (__LC_IDENTIFICATION): Make these macros useful in #if
44255 expressions, as required by C99.
44256
44257 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44258
44259 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44260 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44261 after this.
44262
44263 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44264
44265 * stdlib/longlong.h: Updated from GCC.
44266
44267 2012-05-09 Andreas Jaeger <aj@suse.de>
44268
44269 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44270 default is first entry.
44271 (run_mode): Set type.
44272 (main): Remove informal message about syslog.
44273 (options): Fix typo.
44274
44275 [BZ #14053]
44276 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44277 to asm.
44278 (lrint): Likewise.
44279 (llrintf): Likewise.
44280 (llrint): Likewise.
44281 (rint): Likewise.
44282 (rintf): Likewise.
44283 (nearbyint): Likewise.
44284 (nearbyintf): Likewise.
44285
44286 2012-05-09 Andreas Jaeger <aj@suse.de>
44287 Pedro Alves <palves@redhat.com>
44288
44289 * nscd/nscd.c (run_mode): Use enum.
44290 (main): Cleanup coding style issue.
44291
44292 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44293 Andreas Jaeger <aj@suse.de>
44294
44295 * nscd/nscd.c (go_background): Replaced with...
44296 (run_mode): ... this.
44297 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44298 (options): Add -F --foreground.
44299 (main): Implement it.
44300 (parse_opt): Parse it.
44301
44302 2012-05-09 Andreas Jaeger <aj@suse.de>
44303
44304 [BZ #14083]
44305 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44306 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44307 -Wconversion warning.
44308 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44309 Likewise.
44310
44311 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44312
44313 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44314 == 0.
44315 (LC_ALL): Use macro-int-constant.
44316 (LC_COLLATE): Likewise.
44317 (LC_CTYPE): Likewise.
44318 (LC_MESSAGES): Likewise.
44319 (LC_MONETARY): Likewise.
44320 (LC_NUMERIC): Likewise.
44321 (LC_TIME): Likewise.
44322 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44323 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44325 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44326 Specify type.
44327 [C99-based standards] (float_t): Expect type.
44328 [C99-based standards] (double_t): Expect type.
44329 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44330 type.
44331 [C99-based standards] (HUGE_VALL): Likewise.
44332 [C99-based standards] (INFINITY): Likewise.
44333 [C99-based standards] (NAN): Likewise.
44334 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44335 [C99-based standards] (FP_NAN): Likewise.
44336 [C99-based standards] (FP_NORMAL): Likewise.
44337 [C99-based standards] (FP_SUBNORMAL): Likewise.
44338 [C99-based standards] (FP_ZERO): Likewise.
44339 [C99-based standards] (FP_FAST_FMA): Use
44340 optional-macro-int-constant. Specify type. Require == 1.
44341 [C99-based standards] (FP_FAST_FMAF): Likewise.
44342 [C99-based standards] (FP_FAST_FMAL): Likewise.
44343 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44344 [C99-based standards] (FP_ILOGBNAN): Likewise.
44345 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44346 Specify type.
44347 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44348 [C99-based standards] (math_errhandling): Specify type.
44349 [ISO99 || ISO11] (signgam): Do not allow.
44350 [non-C99-based standards] (copysignf): Do not allow.
44351 [non-C99-based standards] (exp2f): Likewise.
44352 [non-C99-based standards] (log2f): Likewise.
44353 [non-C99-based standards] (modff): Allow.
44354 [non-C99-based standards] (erff): Do not allow.
44355 [non-C99-based standards] (erfcf): Likewise.
44356 [non-C99-based standards] (gammaf): Likewise.
44357 [non-C99-based standards] (hypotf): Likewise.
44358 [non-C99-based standards] (j0f): Likewise.
44359 [non-C99-based standards] (j1f): Likewise.
44360 [non-C99-based standards] (jnf): Likewise.
44361 [non-C99-based standards] (lgammaf): Likewise.
44362 [non-C99-based standards] (tgammaf): Likewise.
44363 [non-C99-based standards] (y0f): Likewise.
44364 [non-C99-based standards] (y1f): Likewise.
44365 [non-C99-based standards] (ynf): Likewise.
44366 [non-C99-based standards] (isnanf): Likewise.
44367 [non-C99-based standards] (acoshf): Likewise.
44368 [non-C99-based standards] (asinhf): Likewise.
44369 [non-C99-based standards] (atanhf): Likewise.
44370 [non-C99-based standards] (cbrtf): Likewise.
44371 [non-C99-based standards] (expm1f): Likewise.
44372 [non-C99-based standards] (ilogbf): Likewise.
44373 [non-C99-based standards] (log1pf): Likewise.
44374 [non-C99-based standards] (logbf): Likewise.
44375 [non-C99-based standards] (nextafterf): Likewise.
44376 [non-C99-based standards] (remainderf): Likewise.
44377 [non-C99-based standards] (rintf): Likewise.
44378 [non-C99-based standards] (scalbf): Likewise.
44379 [non-C99-based standards] (copysignl): Likewise.
44380 [non-C99-based standards] (exp2l): Likewise.
44381 [non-C99-based standards] (log2l): Likewise.
44382 [non-C99-based standards] (modfl): Allow.
44383 [non-C99-based standards] (erfl): Do not allow.
44384 [non-C99-based standards] (erfcl): Likewise.
44385 [non-C99-based standards] (gammal): Likewise.
44386 [non-C99-based standards] (hypotl): Likewise.
44387 [non-C99-based standards] (j0l): Likewise.
44388 [non-C99-based standards] (j1l): Likewise.
44389 [non-C99-based standards] (jnl): Likewise.
44390 [non-C99-based standards] (lgammal): Likewise.
44391 [non-C99-based standards] (tgammal): Likewise.
44392 [non-C99-based standards] (y0l): Likewise.
44393 [non-C99-based standards] (y1l): Likewise.
44394 [non-C99-based standards] (ynl): Likewise.
44395 [non-C99-based standards] (isnanl): Likewise.
44396 [non-C99-based standards] (acoshl): Likewise.
44397 [non-C99-based standards] (asinhl): Likewise.
44398 [non-C99-based standards] (atanhl): Likewise.
44399 [non-C99-based standards] (cbrtl): Likewise.
44400 [non-C99-based standards] (expm1l): Likewise.
44401 [non-C99-based standards] (ilogbl): Likewise.
44402 [non-C99-based standards] (log1pl): Likewise.
44403 [non-C99-based standards] (logbl): Likewise.
44404 [non-C99-based standards] (nextafterl): Likewise.
44405 [non-C99-based standards] (remainderl): Likewise.
44406 [non-C99-based standards] (rintl): Likewise.
44407 [non-C99-based standards] (scalbl): Likewise.
44408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44409 [non-C99-based standards] (FP_*): Do not allow.
44410 [C99-based standards] (FP_*): Change to
44411 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44412 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44413 allow.
44414 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44415 (SIG_ERR): Likewise.
44416 [X/Open-based standards] (SIG_HOLD): Likewise.
44417 (SIG_IGN): Likewise.
44418 (SIGABRT): Use macro-int-constant. Specify type. Require
44419 positive value.
44420 (SIGFPE): Likewise.
44421 (SIGILL): Likewise.
44422 (SIGINT): Likewise.
44423 (SIGSEGV): Likewise.
44424 (SIGTER): Likewise.
44425 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44426 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44427 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44428 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44429 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44430 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44431 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44432 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44433 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44434 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44435 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44436 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44437 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44438 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44439 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44440 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44441 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44442 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44443 [X/Open-based standards] (SIGTRAP): Likewise.
44444 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44445 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44446 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44447 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44448 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44449 allow.
44450
44451 2012-05-08 Ian Wienand <ianw@vmware.com>
44452
44453 [BZ #14080]
44454 * time/tzset.c (__tzset_parse_tz): Update default rules for
44455 daylight time changes in the Energy Policy Act of 2005.
44456
44457 2012-05-09 Andreas Jaeger <aj@suse.de>
44458
44459 [BZ #13983]
44460 * elf/ldconfig.c (parse_conf): Change string to make clear that
44461 ldconfig only issued a warning if ld.so.conf does not exist.
44462
44463 2012-05-08 David S. Miller <davem@davemloft.net>
44464
44465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44466 movxtod instead of popping the value on the stack.
44467
44468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44469
44470 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44471
44472 * config.h.in: Add HAVE_ARM_PCS_VFP.
44473
44474 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44475
44476 [BZ #13979]
44477 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44478 checking but the checks are disabled for any reason.
44479
44480 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44481
44482 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44483 and ELF64_R_TYPE with ELFW(R_TYPE).
44484
44485 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44486
44487 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44488 (ulimit): Likewise.
44489
44490 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44491 (settimeofday): Likewise.
44492
44493 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44494
44495 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44496 a struct th_u2 inside the union, and move tu_block/tu_code into
44497 a new th_u3 union of tu_block/tu_code inside of that. Move
44498 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44499 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44500 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44501 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44502 (th_stuff): Change to th_u1.tu_stuff.
44503 (th_data): Define.
44504 (th_msg): Change to th_u1.th_u2.tu_data.
44505
44506 2012-05-07 David S. Miller <davem@davemloft.net>
44507
44508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44509
44510 [BZ #14074]
44511 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44512 (SETUP_PIC_REG): Use it.
44513 (SETUP_PIC_REG_LEAF): Use it.
44514
44515 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44516
44517 [BZ #13885]
44518 [BZ #13923]
44519 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44520 USE_AS_EXPM1L.
44521 (EXPL_FINITE): Likewise.
44522 (FLDLOG): Likewise.
44523 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44524 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44525 e_expl.S.
44526 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44527 USE_AS_EXPM1L.
44528 (EXPL_FINITE): Likewise.
44529 (FLDLOG): Likewise.
44530 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44531 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44532 e_expl.S.
44533 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44534 test of -max_value argument for long double.
44535 * sysdeps/i386/fpu/libm-test-ulps: Update.
44536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44537
44538 2012-05-06 David S. Miller <davem@davemloft.net>
44539
44540 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44541 quad soft-float symbols whose references which are compiler
44542 generated.
44543 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44544
44545 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44546
44547 [BZ #13884]
44548 [BZ #13914]
44549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44550 USE_AS_EXP10L.
44551 (EXPL_FINITE): Likewise.
44552 (FLDLOG): Likewise.
44553 (c0): Likewise.
44554 (c1): Likewise.
44555 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44556 Adjust comments for base varying.
44557 (__expl_finite): Change alias to EXPL_FINITE.
44558 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44559 e_expl.S.
44560 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44561 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44562 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44563 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44564 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44565 USE_AS_EXP10L.
44566 (EXPL_FINITE): Likewise.
44567 (FLDLOG): Likewise.
44568 (c0): Likewise.
44569 (c1): Likewise.
44570 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44571 Adjust comments for base varying.
44572 (__expl_finite): Change alias to EXPL_FINITE.
44573 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44574 tests for bugs.
44575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44576
44577 [BZ #14064]
44578 * math/libm-test.inc (check_float_internal): Correct ulp
44579 calculation for subnormal expected results.
44580
44581 2012-05-06 Andreas Jaeger <aj@suse.de>
44582
44583 * Makeconfig (+math-flags): New, set to -frounding-math.
44584 (+cflags): Add +math-flags so that all of glibc gets compiled with
44585 it.
44586
44587 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44588
44589 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44590
44591 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44592 Disable one test.
44593
44594 [BZ #13787]
44595 [BZ #13922]
44596 [BZ #14036]
44597 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44598 (__ieee754_expl): Allow for and saturate large arguments.
44599 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44600 (u_threshold): Likewise.
44601 (__exp): Call __ieee754_exp before checking for overflow and
44602 underflow.
44603 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44604 (u_threshold): Likewise.
44605 (__expf): Call __ieee754_expf before checking for overflow and
44606 underflow.
44607 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44608 (u_threshold): Likewise.
44609 (__expl): Call __ieee754_expl before checking for overflow and
44610 underflow.
44611 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44612 (__ieee754_expl): Allow for and saturate large arguments.
44613 * math/libm-test.inc (exp_test): Add another test. Do not allow
44614 missing overflow exception on overflow.
44615 (expm1_test): Do not allow missing overflow exception on overflow.
44616
44617 * sysdeps/i386/fpu/e_expl.c: Move to ...
44618 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44619 rather than using inline asm.
44620 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44621 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44622 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44623
44624 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44625 (nice): Likewise.
44626 (poll): Likewise.
44627 (signal): Likewise.
44628 (time): Likewise.
44629 (times): Likewise.
44630
44631 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44632
44633 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44634 sysdeps/unix/common/syscalls.list.
44635 (fchmod): Likewise.
44636 (fchown): Likewise.
44637 (ftruncate): Likewise.
44638 (getrusage): Likewise.
44639 (gettimeofday): Likewise.
44640 (setpgid): Likewise.
44641 (setregid): Likewise.
44642 (setreuid): Likewise.
44643 (sigaction): Likewise.
44644 (truncate): Likewise.
44645 (vhangup): Likewise.
44646 * sysdeps/unix/common/syscalls.list: Remove file.
44647 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44648 * sysdeps/unix/sysv/linux/Implies: Likewise.
44649
44650 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44651
44652 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44654 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44655 Moved to ...
44656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44657 Here.
44658 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44659 to ...
44660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44661 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44662 to ...
44663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44664 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44665 to ...
44666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44667 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44668 to ...
44669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44670 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44671 to ...
44672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44673 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44674 to ...
44675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44676 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44677 to ...
44678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44679 Here.
44680 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44681 to ...
44682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44683 Here.
44684 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44685 to ...
44686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44687 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44688 Moved to ...
44689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44690 Here.
44691 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44692 to ...
44693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44694
44695 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44696
44697 * sysdeps/unix/common/bits/dirent.h: Remove file.
44698 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44699
44700 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44701 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44702 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44703 * sysdeps/unix/bsd/isatty.c: Likewise.
44704 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44705 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44706 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44707
44708 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44709
44710 [BZ #13563]
44711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44712 long double comparison inaccuracies.
44713 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44715
44716 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44717
44718 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44720
44721 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44722
44723 [BZ #14049]
44724 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44725 nonzero digits before rounding a hex value.
44726 * stdlib/tst-strtod.c (tests): Add another test.
44727
44728 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44729
44730 * sysdeps/s390/fpu/libm-test-ulps: Update.
44731
44732 2012-05-03 Andreas Jaeger <aj@suse.de>
44733
44734 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44735 does not get optimized out.
44736 (malloc_opt_barrier): New.
44737
44738 2012-05-03 Andreas Jaeger <aj@suse.de>
44739 Roland McGrath <roland@hack.frob.com>
44740
44741 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44742 intermediate file deletion.
44743 (generated): Add .symlist files.
44744
44745 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44746
44747 [BZ #13775]
44748 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44749 Redirect under this condition.
44750 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44751 [__USE_GNU] (__dprintf_chk): Not under this condition.
44752 [__USE_GNU] (__vdprintf_chk): Likewise.
44753 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44754 under this condition.
44755 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44756 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44757 [__USE_XOPEN2K8] (vdprintf): Likewise.
44758 [__USE_GNU] (__dprintf_chk): Not under this condition.
44759 [__USE_GNU] (__vdprintf_chk): Likewise.
44760 [__USE_GNU] (dprintf): Likewise.
44761 [__USE_GNU] (vdprintf): Likewise.
44762
44763 2012-05-03 Roland McGrath <roland@hack.frob.com>
44764
44765 * elf/Makefile (common-generated): Set this instead of generated for
44766 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44767 $(all-built-dso)-derived lists.
44768
44769 2012-05-03 Andreas Jaeger <aj@suse.de>
44770
44771 * sysdeps/i386/fpu/libm-test-ulps: Update.
44772
44773 * FAQ: Removed.
44774 * FAQ.in: Likewise.
44775 * scripts/gen-FAQ.pl: Likewise.
44776 * manual/install.texi (Installation): Point to online location of
44777 FAQ.
44778 * Makefile (files-for-dist): Remove FAQ.
44779 (FAQ): Remove.
44780
44781 2012-05-02 Allan McRae <allan@archlinux.org>
44782
44783 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44784 (LDFLAGS-reldepmod5.so): Likewise.
44785 (LDFLAGS-reldep6mod1.so): Likewise.
44786 (LDFLAGS-reldep6mod4.so): Likewise.
44787 (LDFLAGS-reldep8mod3.so): Likewise.
44788 (LDFLAGS-unload4mod1.so): Likewise.
44789 (LDFLAGS-unload4mod2.so): Likewise.
44790 (LDFLAGS-tst-initorder): Likewise.
44791 (LDFLAGS-tst-initordera2.so): Likewise.
44792 (LDFLAGS-tst-initordera3.so): Likewise.
44793 (LDFLAGS-tst-initordera4.so): Likewise.
44794 (LDFLAGS-tst-initorderb2.so): Likewise.
44795 (LDFLAGS-noload): Likewise.
44796 (LDFLAGS-next): Likewise.
44797 (LDFLAGS-order2mod1.so): Likewise.
44798 (LDFLAGS-order2mod2.so): Likewise.
44799 (LDFLAGS-tst-initorder2): Likewise.
44800 (LDFLAGS-tst-initorder2a.so): Likewise.
44801 (LDFLAGS-tst-initorder2b.so): Likewise.
44802 (LDFLAGS-tst-initorder2c.so): Likewise.
44803 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44804
44805 2012-05-02 David S. Miller <davem@davemloft.net>
44806
44807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44808
44809 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44810
44811 [BZ #14055]
44812 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44813
44814 2012-05-02 Andreas Jaeger <aj@suse.de>
44815
44816 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44817 since we manipulate rounding mode.
44818 (CPPFLAGS-test-idouble.c): Likewise.
44819 (CPPFLAGS-test-ifloat.c): Likewise.
44820 (CFLAGS-test-ldouble.c): Likewise.
44821 (CFLAGS-test-double.c): Likewise.
44822 (CFLAGS-test-float.c): Likewise.
44823 (CFLAGS-test-misc.c): Likewise.
44824 (CFLAGS-test-test-fenv.c): Likewise.
44825
44826 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44827
44828 [BZ #2550]
44829 [BZ #2570]
44830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44831 comparisons to determine direction to adjust input.
44832
44833 2012-05-01 Roland McGrath <roland@hack.frob.com>
44834
44835 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44836 output to the target.
44837
44838 * scripts/localplt.awk: New file.
44839 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44840 (check-localplt-CFLAGS): Variable removed.
44841 ($(all-built-dso:=.jmprel)): New static pattern rule.
44842 (generated): Add those targets.
44843 (localplt-built-dso): New variable.
44844 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44845
44846 * elf/check-localplt.c: File removed.
44847
44848 * scripts/check-execstack.awk: New file.
44849 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44850 (check-execstack-CFLAGS): Variable removed.
44851 ($(objpfx)check-execstack.h): Target removed.
44852 ($(objpfx)execstack-default): New target.
44853 (generated): Add that instead of check-execstack.h.
44854 ($(all-built-dso:=.phdr)): New static pattern rule.
44855 (generated): Add those targets.
44856 * elf/check-execstack.c: File removed.
44857
44858 * scripts/check-textrel.awk: New file.
44859 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44860 (check-textrel-CFLAGS): Variable removed.
44861 (all-built-dso): Use := to define.o
44862 ($(all-built-dso:=.dyn)): New static pattern rule.
44863 (generated): Add those targets.
44864 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44865 * config.make.in (READELF): New substituted variable.
44866 * elf/check-textrel.c: File removed.
44867
44868 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44869
44870 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44871 allow.
44872 * conform/data/ctype.h-data [C99-based standards] (isblank):
44873 Expect function.
44874 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44875 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44877 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44878 Specify type. Require positive value.
44879 (EILSEQ): Likewise.
44880 (ERANGE): Likewise.
44881 [ISO || POSIX] (EILSEQ): Do not expect.
44882 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44883 Specify type. Require positive value.
44884 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44885 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44886 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44887 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44888 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44889 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44890 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44891 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44892 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44893 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44894 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44895 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44896 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44897 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44898 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44899 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44900 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44901 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44902 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44903 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44904 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44905 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44906 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44907 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44908 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44909 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44910 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44911 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44912 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44913 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44914 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44915 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44916 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44917 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44918 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44919 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44920 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44921 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44922 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44923 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44924 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44925 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44926 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44927 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44928 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44929 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44930 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44931 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44932 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44933 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44934 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44935 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44936 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44937 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44938 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44939 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44940 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44941 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44942 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44943 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44944 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44945 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44946 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44947 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44948 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44949 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44950 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44951 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44952 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44953 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44954 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44955 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44956 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44957 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44958 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44959 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44960 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44961 Require >= 2.
44962 (FLT_ROUNDS): Expect as macro, not constant.
44963 (FLT_MANT_DIG): Use macro-int-constant.
44964 (DBL_MANT_DIG): Likewise.
44965 (LDBL_MANT_DIG): Likewise.
44966 (FLT_DIG): Likewise.
44967 (DBL_DIG): Likewise.
44968 (LDBL_DIG): Likewise.
44969 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44970 (DBL_MIN_EXP): Likewise.
44971 (LDBL_MIN_EXP): Likewise.
44972 (FLT_MAX_EXP): Use macro-int-constant.
44973 (DBL_MAX_EXP): Likewise.
44974 (LDBL_MAX_EXP): Likewise.
44975 (FLT_MAX_10_EXP): Likewise.
44976 (DBL_MAX_10_EXP): Likewise.
44977 (LDBL_MAX_10_EXP): Likewise.
44978 (FLT_MAX): Use macro-constant.
44979 (DBL_MAX): Likewise.
44980 (LDBL_MAX): Likewise.
44981 (FLT_EPSILON): Use macro-constant. Give upper bound.
44982 (DBL_EPSILON): Likewise.
44983 (LDBL_EPSILON): Likewise.
44984 (FLT_MIN): Likewise.
44985 (DBL_MIN): Likewise.
44986 (LDBL_MIN): Likewise.
44987 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44988 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44989 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44990 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44991 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44992 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44993 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44994 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44995 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44996 [ISO11] (FLT_TRUE_MIN): Likewise.
44997 [ISO11] (LDBL_TRUE_MIN): Likewise.
44998 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44999 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45000 (SCHAR_MIN): Use macro-int-constant. Specify type.
45001 (SCHAR_MAX): Likewise.
45002 (UCHAR_MAX): Likewise.
45003 (CHAR_MIN): Likewise.
45004 (CHAR_MAX): Likewise.
45005 (MB_LEN_MAX): Use macro-int-constant.
45006 (SHRT_MIN): Use macro-int-constant. Specify type.
45007 (SHRT_MAX): Likewise.
45008 (USHRT_MAX): Likewise.
45009 (INT_MAX): Likewise.
45010 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45011 bound negative.
45012 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45013 bound with "U".
45014 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45015 bound with "L".
45016 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45017 bound negative. Suffix upper bound with "L".
45018 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45019 bound with "UL".
45020 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45021 Specify type.
45022 [C99-based standards] (LLONG_MAX): Likewise.
45023 [C99-based standards] (ULLONG_MAX): Likewise.
45024 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45025 == 0.
45026 [ISO11] (max_align_t): Require type.
45027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45028
45029 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45030 from $CFLAGS, without defining away __attribute__ calls.
45031 (checknamespace): Use $CFLAGS_namespace.
45032
45033 * conform/conformtest.pl (@keywords): Only include C99 keywords
45034 for standards based on C99 or C11.
45035
45036 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45037 Disable tests.
45038 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45039 UNIX98]: Likewise.
45040
45041 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45042 usability of symbols in #if.
45043
45044 * conform/conformtest.pl: If macro or constant types start
45045 "promoted:", expect the symbol to be of the following type
45046 promoted by the integer promotions.
45047
45048 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45049 in one place. Also handle "macro-constant".
45050
45051 * conform/conformtest.pl: Only accept expected macro values with
45052 "==". Parse all "macro" lines in one place.
45053 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45054
45055 * conform/conformtest.pl: Handle braced types on "constant" lines
45056 instead of handling "typed-constant".
45057 * conform/data/signal.h-data: Use "constant" instead of
45058 "typed-constant".
45059
45060 * conform/conformtest.pl: Handle "optional-" at start of lines in
45061 one place rather than duplicating several cases. Handle each
45062 format of "macro" line with initial "optional-".
45063
45064 * conform/conformtest.pl: Only accept expected constant or
45065 optional-constant values with "==". Parse all "constant" lines in
45066 one place. Parse all "optional-constant" lines in one place.
45067 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45068 * conform/data/fmtmsg.h-data: Likewise.
45069 * conform/data/netinet/in.h-data: Likewise.
45070 * conform/data/tar.h-data: Likewise.
45071 * conform/data/limits.h-data: Use "==" form on "constant" and
45072 "optional-constant" lines.
45073
45074 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45075 Use -std=c99 for XOPEN2K.
45076 (@knownproblems): Remove.
45077 (newtoken): Don't check %isknown.
45078
45079 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45080 Do not expect macro.
45081 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45082 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45083 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45084 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45085 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45086 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45087 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45088 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45089 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45090 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45091 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45092 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45093 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45094 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45095 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45096 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45097 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45098 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45099 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45100 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45101 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45102 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45103 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45105 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45106 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45107 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45108 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45109 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45110 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45111 [XPG3] (acosh): Likewise.
45112 [XPG3] (asinh): Likewise.
45113 [XPG3] (atanh): Likewise.
45114 [XPG3] (cbrt): Likewise.
45115 [XPG3] (expm1): Likewise.
45116 [XPG3] (ilogb): Likewise.
45117 [XPG3] (log1p): Likewise.
45118 [XPG3] (logb): Likewise.
45119 [XPG3] (nextafter): Likewise.
45120 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45121 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45122 [XPG3] (remainder): Likewise.
45123 [XPG3] (rint): Likewise.
45124 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45125 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45126 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45127 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45128 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45129 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45130 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45131 [UNIX98 || XOPEN2K] (scalb): Expect.
45132 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45133 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45134 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45135 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45136 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45137 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45138 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45139 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45140 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45141 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45142 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45143 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45144 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45145 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45146 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45147 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45148 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45149 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45150 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45151 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45152 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45153 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45154 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45155 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45156 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45157 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45158 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45159 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45160 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45161 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45162 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45163 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45164 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45165 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45166 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45167 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45168 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45169 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45170 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45171 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45172 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45173 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45174 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45175 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45176 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45177 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45178 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45179 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45180 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45181 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45182 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45183 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45184 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45185 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45186 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45187 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45188 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45189 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45190 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45191 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45192 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45193 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45194 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45195 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45196 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45197 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45198 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45199 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45200 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45201 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45202 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45203 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45204 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45205 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45206 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45215 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45216 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45217 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45218 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45219 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45220 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45221 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45222 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45223 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45224 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45225 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45226 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45227 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45228 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45229 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45230 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45231 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45234 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45235 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45236 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45237 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45238 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45239 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45240 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45241 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45242 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45243 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45244 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45245 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45247 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45248 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45252 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45253 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45254 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45255 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45256 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45257 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45258 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45259 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45260 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45263 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45264 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45269
45270 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45271 _XOPEN_SOURCE_EXTENDED for XPG4.
45272
45273 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45274
45275 * Makeconfig (localtime): Remove variable.
45276 (inst_localtime-file): Likewise.
45277
45278 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45279
45280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45281 Update.
45282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45283 Update.
45284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45285 Update.
45286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45287 Update.
45288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45289 Update.
45290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45291 Update.
45292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45293 Update.
45294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45295 Update.
45296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45297 Update.
45298
45299 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45300
45301 [BZ #2550]
45302 [BZ #2570]
45303 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45304 comparisons to determine direction to adjust input.
45305 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45306 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45307 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45308 Likewise.
45309 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45310 Likewise.
45311 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45312 Likewise.
45313 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45314 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45315 Likewise.
45316 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45317 Likewise.
45318 * math/libm-test.inc (nexttoward_test): Add more tests.
45319
45320 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45321
45322 [BZ #14040]
45323 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45324 in version GLIBC_2.1, not GLIBC_2.0.
45325 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45326 Likewise.
45327
45328 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45329
45330 [BZ #13942]
45331 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45332 (1 - x) * (1 + x).
45333 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45334 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45335 * math/libm-test.inc (acos_test): Add more tests.
45336 (asin_test): Likewise.
45337 * sysdeps/i386/fpu/libm-test-ulps: Update.
45338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45339
45340 [BZ #14034]
45341 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45342 of square root.
45343 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45344 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45345 * math/libm-test.inc (acos_test_tonearest): New function.
45346 (acos_test_towardzero): Likewise.
45347 (acos_test_downward): Likewise.
45348 (acos_test_upward): Likewise.
45349 (asin_test_tonearest): Likewise.
45350 (asin_test_towardzero): Likewise.
45351 (asin_test_downward): Likewise.
45352 (asin_test_upward): Likewise.
45353 (main): Call the new functions.
45354 * sysdeps/i386/fpu/libm-test-ulps: Update.
45355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45356
45357 [BZ #13884]
45358 [BZ #13924]
45359 * math/e_exp10.c: Include <float.h>.
45360 (__ieee754_exp10): Handle underflow here rather than multiplying
45361 large negative argument by M_LN10.
45362 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45363 of __ieee754_expf.
45364 * math/e_exp10l.c: Include <float.h>.
45365 (__ieee754_exp10l): Handle underflow here rather than multiplying
45366 large negative argument by M_LN10l.
45367 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45368 spurious overflow exception on underflow.
45369
45370 2012-04-29 Marek Polacek <polacek@redhat.com>
45371
45372 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45373 (__fortify_function): New macro.
45374 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45375 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45376 __extern_always_inline.
45377 * libio/bits/stdio2.h: Likewise.
45378 * libio/bits/stdio.h: Likewise.
45379 * string/string.h: Likewise.
45380 * string/bits/string3.h: Likewise.
45381 * include/stdio.h: Likewise.
45382 * stdlib/bits/stdlib.h: Likewise.
45383 * stdlib/stdlib.h: Likewise.
45384 * rt/bits/mqueue2.h: Likewise.
45385 * rt/mqueue.h: Likewise.
45386 * posix/bits/unistd.h: Likewise.
45387 * posix/unistd.h: Likewise.
45388 * io/bits/poll2.h: Likewise.
45389 * io/bits/fcntl2.h: Likewise.
45390 * io/fcntl.h: Likewise.
45391 * io/sys/poll.h: Likewise.
45392 * misc/bits/syslog.h: Likewise.
45393 * misc/bits/syslog-ldbl.h: Likewise.
45394 * misc/sys/syslog.h: Likewise.
45395 * socket/bits/socket2.h: Likewise.
45396 * socket/sys/socket.h: Likewise.
45397 * debug/tst-chk1.c: Likewise.
45398 * wcsmbs/bits/wchar2.h: Likewise.
45399 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45400 * wcsmbs/wchar.h: Likewise.
45401
45402 2012-04-29 Andreas Jaeger <aj@suse.de>
45403
45404 * Makerules (tests): Remove enable-check-abi protection.
45405 (check-abi-warn): Remove.
45406 (check-abi-%): Remove check-abi-warn usage.
45407
45408 * configure.in: Remove check-abi configure option.
45409 * configure: Regenerated.
45410 * config.make.in (enable-check-abi): Remove.
45411
45412 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45413
45414 [BZ #14033]
45415 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45416 double functions to double *_finite functions.
45417
45418 [BZ #13941]
45419 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45420 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45421 LDBL_MIN_EXP.
45422 * stdio-common/Makefile (tests): Add tst-sprintf3.
45423 * stdio-common/tst-sprintf3.c: New file.
45424
45425 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45426 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45427
45428 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45429
45430 * conform/conformtest.pl: Remove duplicate typed-constant
45431 handling.
45432
45433 2012-04-28 David S. Miller <davem@davemloft.net>
45434
45435 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45436 (check-abi-%): Remove AWK script prerequisite and explicit
45437 abilist directory.
45438 (check-abi): Rewrite to just diff the symlist with the abilist.
45439 (config-tls, config-abi-config): Delete, no longer used.
45440 (update-abi-%): Remove AWK script and explicit abilist directory.
45441 (update-abi): Rewrite to simply compare and conditionally copy the
45442 symlist and the sysdep abilist file. Remove update-abi-config
45443 checks.
45444 * abilist/ld.abilist: Remove.
45445 * abilist/libBrokenLocale.abilist: Remove.
45446 * abilist/libanl.abilist: Remove.
45447 * abilist/libcrypt.abilist: Remove.
45448 * abilist/libdl.abilist: Remove.
45449 * abilist/librt.abilist: Remove.
45450 * abilist/libthread_db.abilist: Remove.
45451 * abilist/libutil.abilist: Remove.
45452 * scripts/extract-abilist.awk: Remove.
45453 * scripts/merge-abilist.awk: Remove.
45454 * sysdeps/generic/libcidn.abilist: New file.
45455 * sysdeps/generic/libnss_compat.abilist: New file.
45456 * sysdeps/generic/libnss_db.abilist: New file.
45457 * sysdeps/generic/libnss_dns.abilist: New file.
45458 * sysdeps/generic/libnss_files.abilist: New file.
45459 * sysdeps/generic/libnss_hesiod.abilist: New file.
45460 * sysdeps/generic/libnss_nis.abilist: New file.
45461 * sysdeps/generic/libnss_nisplus.abilist: New file.
45462 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45463 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45464 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45465 file.
45466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45467 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45468 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45469 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45470 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45471 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45472 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45473 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45474 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45475 file.
45476 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45477 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45478 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45479 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45480 file.
45481 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45482 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45483 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45484 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45485 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45486 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45487 file.
45488 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45489 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45490 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45491 file.
45492 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45494 New file.
45495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45496 New file.
45497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45498 New file.
45499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45500 New file.
45501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45502 New file.
45503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45504 New file.
45505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45506 New file.
45507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45508 New file.
45509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45510 New file.
45511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45512 New file.
45513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45514 New file.
45515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45516 New file.
45517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45518 New file.
45519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45520 file.
45521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45522 New file.
45523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45524 New file.
45525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45526 file.
45527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45528 New file.
45529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45530 New file.
45531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45532 file.
45533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45534 New file.
45535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45536 New file.
45537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45538 New file.
45539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45540 New file.
45541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45542 New file.
45543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45544 New file.
45545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45547 file.
45548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45549 New file.
45550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45551 file.
45552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45553 file.
45554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45555 file.
45556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45557 file.
45558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45559 file.
45560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45561 New file.
45562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45563 file.
45564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45565 file.
45566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45567 New file.
45568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45569 file.
45570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45572 file.
45573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45574 New file.
45575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45576 file.
45577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45578 file.
45579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45580 file.
45581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45582 file.
45583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45584 file.
45585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45586 New file.
45587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45588 file.
45589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45590 file.
45591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45592 New file.
45593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45594 file.
45595 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45596 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45597 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45598 file.
45599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45600 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45601 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45602 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45603 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45604 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45605 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45606 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45607 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45608 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45611 file.
45612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45613 New file.
45614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45615 file.
45616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45617 file.
45618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45619 file.
45620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45621 file.
45622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45623 file.
45624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45625 New file.
45626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45627 New file.
45628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45629 file.
45630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45631 New file.
45632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45633 file.
45634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45636 file.
45637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45638 New file.
45639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45640 file.
45641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45642 file.
45643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45644 file.
45645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45646 file.
45647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45648 file.
45649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45650 New file.
45651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45652 New file.
45653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45654 file.
45655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45656 New file.
45657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45658 file.
45659
45660 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45661
45662 * conform/conformtest.pl: Fix typo in handling typed-constant from
45663 allow-header.
45664
45665 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45666
45667 * README: Cut down references to pre-2.6 Linux kernels and
45668 Linuxthreads. Update lists of configurations in libc and ports
45669 and sort alphabetically. Say "or newer" with Linux kernel version
45670 requirements.
45671
45672 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45673
45674 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45675
45676 [BZ #887]
45677 * math/libm-test.inc (logb_test_downward): New test to expose
45678 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45679 rounding mode.
45680
45681 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45682
45683 [BZ #14027]
45684 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45685 to be done.
45686 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45687 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45688
45689 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45690
45691 * sysdeps/unix/i386/brk.S: Remove file.
45692 * sysdeps/unix/i386/dl-brk.S: Likewise.
45693 * sysdeps/unix/i386/pipe.S: Likewise.
45694 * sysdeps/unix/i386/sigreturn.S: Likewise.
45695 * sysdeps/unix/i386/syscall.S: Likewise.
45696 * sysdeps/unix/i386/vfork.S: Likewise.
45697 * sysdeps/unix/i386/wait.S: Likewise.
45698
45699 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45700 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45701
45702 * configure.in (arm*-none*): Do not allow without
45703 --enable-hacker-mode.
45704 (netbsd*): Remove case setting base_os.
45705 (386bsd*): Likewise.
45706 (freebsd*): Likewise.
45707 (bsdi*): Likewise.
45708 (osf*): Likewise.
45709 (sunos*): Likewise.
45710 (ultrix*): Likewise.
45711 (newsos*): Likewise.
45712 (dynix*): Likewise.
45713 (*bsd*): Likewise.
45714 (sysv*): Likewise.
45715 (isc*): Likewise.
45716 (esix*): Likewise.
45717 (sco*): Likewise.
45718 (minix*): Likewise.
45719 (irix4*): Likewise.
45720 (irix6*): Likewise.
45721 (solaris[2-9]*): Likewise.
45722 (none): Likewise.
45723 * configure: Regenerated.
45724
45725 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45726
45727 [BZ #11521]
45728 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45729 overflow or cancellation in calculating denominator.
45730 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45732 down expression to avoid unexpected rounding in newer GCCs.
45733 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45734
45735 2012-04-26 David S. Miller <davem@davemloft.net>
45736
45737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45738 long-double compat symbols.
45739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45752
45753 2012-04-25 David S. Miller <davem@davemloft.net>
45754
45755 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45756 HWCAP_* values only after the memory barriers have been defined.
45757 (atomic_full_barrier): Define.
45758 (atomic_read_barrier): Define.
45759 (atomic_write_barrier): Define.
45760
45761 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45762
45763 * shlib-versions: Add libgcc_s version information.
45764 * sysdeps/generic/libgcc_s.h: Remove.
45765 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45766 libgcc_s.h.
45767 * sysdeps/gnu/unwind-resume.c: Likewise.
45768 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45769
45770 2012-04-25 David S. Miller <davem@davemloft.net>
45771
45772 * sysdeps/unix/sparc/brk.S: Delete.
45773 * sysdeps/unix/sparc/dl-brk.S: Delete.
45774 * sysdeps/unix/sparc/pipe.S: Delete.
45775 * sysdeps/unix/sparc/sysdep.S: Delete.
45776 * sysdeps/unix/sparc/sysdep.h: Delete.
45777 * sysdeps/unix/sparc/vfork.S: Delete.
45778 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45779 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45780 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45781 (ret_ERRVAL, r0, r1, MOVE): Define.
45782 (JUMPTARGET): Remove.
45783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45784 sysdeps/unix/sparc/sysdep.h
45785 (ENTRY, END): Remove.
45786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45787
45788 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45789
45790 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45791 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45792 -DIS_IN_build.
45793
45794 * timezone/README: Update upstream location and email address for
45795 tzcode and tzdata.
45796 * timezone/zdump.c: Update from tzcode 2012b.
45797 * timezone/zic.c: Likewise.
45798
45799 * configure.in (libc_cv_as_needed): Remove test.
45800 * configure: Regenerated.
45801 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45802 conditional definition.
45803 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45804 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45805 * config.make.in (have-as-needed): Remove variable.
45806
45807 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45808 Paul Pluzhnikov <ppluzhnikov@google.com>
45809
45810 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45811 strings correctly.
45812
45813 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45814
45815 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45816 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45817 * sysdeps/sh/strlen.S: Likewise.
45818
45819 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45820
45821 * sysdeps/unix/fork.S: Remove file.
45822 * sysdeps/unix/i386/fork.S: Likewise.
45823 * sysdeps/unix/sparc/fork.S: Likewise.
45824
45825 * sysdeps/unix/system.c: Remove file.
45826 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45827
45828 * sysdeps/unix/getegid.S: Remove file.
45829 * sysdeps/unix/geteuid.S: Likewise.
45830
45831 2012-04-24 Roland McGrath <roland@hack.frob.com>
45832
45833 * scripts/check-localplt.awk: New file.
45834 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45835 of diff.
45836 * scripts/data/localplt-generic.data: Add a comment.
45837
45838 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45839 NODE when __dir_mkfile failed.
45840 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45841 Reported by Ludovic Courtès <ludo@gnu.org>.
45842
45843 2012-04-24 Andreas Jaeger <aj@suse.de>
45844
45845 * Makerules (common-clean): Also remove gen-as-const-headers
45846 files.
45847
45848 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45849
45850 * Makerules (native-compile): Do not change working directory for
45851 build. Use $(OUTPUT_OPTION) in command.
45852 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45853
45854 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45855
45856 [BZ #13886]
45857 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45858 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45859 * math/libm-test.inc (floor_test): Add more tests.
45860 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45861
45862 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45863
45864 * sysdeps/unix/getdents.c: Remove file.
45865 * sysdeps/unix/sysv/getdents.c: Likewise.
45866 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45867
45868 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45869 sysdeps/unix/mman/syscalls.list.
45870 (mmap): Likewise.
45871 (mprotect): Likewise.
45872 (msync): Likewise.
45873 (munmap): Likewise.
45874 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45875 * sysdeps/unix/mman/syscalls.list: Remove.
45876 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45877
45878 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45879 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45880 * configure: Regenerated.
45881 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45882 $(libgcc_s_suffix).
45883 * config.make.in (libgcc_s_suffix): Remove variable.
45884
45885 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45886
45887 * sysdeps/unix/sysv/gethostname.c: Move to ...
45888 * sysdeps/posix/gethostname.c: ... here.
45889
45890 * sysdeps/unix/execve.S: Remove file.
45891
45892 * sysdeps/unix/_exit.S: Remove file.
45893
45894 2012-04-23 Andreas Jaeger <aj@suse.de>
45895
45896 [BZ #13739]
45897 * manual/Makefile: Remove make dist support, there's no
45898 need for a stand-alone documentation tar ball.
45899 (TEXI2DVI): Define always, it's not in Makeconfig.
45900 (dist): Removed.
45901 (tar-it): Removed.
45902 (edition): Removed.
45903 (glibc-doc-$(edition).tar): Removed
45904 (%.Z): Removed.
45905 (%.gz): Removed.
45906 (%.uu): Removed.
45907 (ETAGS): Remove, it's in Makeconfig.
45908 (move-if-change): Remove, it's in Makeconfig.
45909
45910 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45911
45912 [BZ #13970]
45913 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45914 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45915 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45916 (strtod_l, strtof_l, strtold_l): Remove __wur.
45917 It is not necessarily an error to ignore strtol's return value.
45918 One can reliably look at the stored endptr to decide whether
45919 the number had valid syntax.
45920
45921 2012-04-21 Andreas Jaeger <aj@suse.de>
45922
45923 [BZ #13739]
45924 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45925
45926 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45927
45928 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45929 * sysdeps/unix/sysv/Versions: Remove file.
45930
45931 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45932
45933 [BZ #13927]
45934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45935
45936 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45937
45938 [BZ #7064]
45939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45940 version from __vm86.
45941
45942 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45943
45944 * sysdeps/unix/common/lxstat.c: Remove file.
45945 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45946
45947 * sysdeps/unix/sysv/Makefile: Remove file.
45948
45949 * sysdeps/unix/sysv/direct.h: Remove file.
45950
45951 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45952 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45953 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45954 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45955 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45956 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45957 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45958
45959 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45960
45961 * sysdeps/unix/xmknod.c: Remove file.
45962 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45963
45964 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45965
45966 * sysdeps/unix/sysv/i386/time.S: Remove file.
45967
45968 * sysdeps/unix/fxstat.c: Remove file.
45969 * sysdeps/unix/xstat.c: Likewise.
45970 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45971
45972 * sysdeps/unix/sysv/sigaction.c: Remove file.
45973
45974 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45975 (sysdep_headers): Remove variable.
45976 [termio.h not in sysdep_headers] (generated): Likewise.
45977 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45978 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45979 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45980 * sysdeps/unix/sysv/tcflow.c: Likewise.
45981 * sysdeps/unix/sysv/tcflush.c: Likewise.
45982 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45983 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45984 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45985 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45986 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45987
45988 * sysdeps/unix/siglist.c: Remove file.
45989
45990 * sysdeps/unix/getppid.S: Remove file.
45991
45992 * sysdeps/unix/mkdir.c: Remove file.
45993 * sysdeps/unix/rmdir.c: Likewise.
45994
45995 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45996
45997 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45998 ERR_MAX value.
45999 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46000 errlist-compat value.
46001
46002 2012-04-18 David S. Miller <davem@davemloft.net>
46003
46004 * sysdeps/generic/memcopy.h (reg_char): Delete.
46005 * debug/strcat_chk.c: Use char, not reg_char.
46006 * debug/strcpy_chk.c: Likewise.
46007 * debug/strncat_chk.c: Likewise.
46008 * debug/strncpy_chk.c: Likewise.
46009 * string/memchr.c: Likewise.
46010 * string/memrchr.c: Likewise.
46011 * string/rawmemchr.c: Likewise.
46012 * string/strcat.c: Likewise.
46013 * string/strchr.c: Likewise.
46014 * string/strchrnul.c: Likewise.
46015 * string/strcmp.c: Likewise.
46016 * string/strcpy.c: Likewise.
46017 * string/strncat.c: Likewise.
46018 * string/strncmp.c: Likewise.
46019 * string/strncpy.c: Likewise.
46020
46021 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46022
46023 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46024 __builtin_memcopy is called when src and dest ranges are known to not
46025 overlap.
46026
46027 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46028
46029 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46030 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46031 fwd_align_merge macro call.
46032 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46033 bwd_align_merge macro call.
46034 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46035
46036 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46037
46038 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46039 bwd_align_merge macros.
46040 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46041 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46042 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46043
46044 2012-04-18 David S. Miller <davem@davemloft.net>
46045
46046 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46047
46048 2012-04-18 Andreas Jaeger <aj@suse.de>
46049
46050 [BZ# 6794]
46051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46052 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46053 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46054
46055 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46056 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46057 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46058
46059 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46060 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46061 Adjust for changed ldbl-128 files.
46062
46063 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46064 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46065 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46066
46067 2012-04-17 David S. Miller <davem@davemloft.net>
46068
46069 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46070
46071 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46072
46073 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46074 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46075 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46076 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46077 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46078 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46079
46080 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46081
46082 [BZ #6794]
46083 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46084 * math/libm-test.inc: Add ilogb errno and exception tests.
46085 * math/w_ilogb.c: New file: ilogb wrapper.
46086 * math/w_ilogbf.c: New file: ilogbf wrapper.
46087 * math/w_ilogbl.c: New file: ilogbl wrapper.
46088 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46089 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46090 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46091 exception being thrown with 0.0 as argument.
46092 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46093 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46094 exception being thrown with 0.0 as argument.
46095 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46096 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46097 exception being thrown with 0.0 as argument.
46098 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46099 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46100 exception being thrown with 0.0 as argument.
46101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46102 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46103 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46104 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46105 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46106 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46107 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46108 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46109 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46110
46111 2012-04-17 Petr Baudis <pasky@ucw.cz>
46112
46113 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46114 with altivec.
46115
46116 2012-04-16 Marek Polacek <polacek@redhat.com>
46117
46118 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46119
46120 2012-04-16 Marek Polacek <polacek@redhat.com>
46121
46122 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46123 operands of fdivp instruction.
46124
46125 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46126
46127 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46128 * elf/tst-auditmod3b.c: Likewise.
46129 * elf/tst-auditmod4b.c: Likewise.
46130 * elf/tst-auditmod5b.c: Likewise.
46131 * elf/tst-auditmod6b.c: Likewise.
46132 * elf/tst-auditmod6c.c: Likewise.
46133 * elf/tst-auditmod7b.c: Likewise.
46134 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46135 * sysdeps/x86_64/preconfigure.in: Likewise.
46136 * sysdeps/x86_64/preconfigure: Regenerated.
46137
46138 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46139
46140 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46141 __ILP32__.
46142
46143 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46144
46145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46146 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46147
46148 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46149
46150 [BZ #13973]
46151 * locale/iso-639.def: Fix gl language name. Spotted by
46152 Yaron Shahrabani.
46153
46154 2012-04-12 Roland McGrath <roland@hack.frob.com>
46155
46156 [BZ #2074]
46157 * libio/libio.h (__io_write_fn): Update comment.
46158
46159 2012-04-12 Petr Baudis <pasky@ucw.cz>
46160
46161 [BZ #2074]
46162 * stdio.texi (Hook Functions): The user provided writer function
46163 is not allowed to return -1.
46164
46165 2012-04-11 David S. Miller <davem@davemloft.net>
46166
46167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46168
46169 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46170
46171 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46172 Add a leading slash to rtkaio.
46173
46174 2012-04-11 Jim Meyering <meyering@redhat.com>
46175
46176 [BZ #11959]
46177 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46178 It is not necessarily an error to ignore fwrite's return
46179 value. One can reliably use ferror to test for errors after
46180 the fact.
46181
46182 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46183
46184 * bits/types.h (__snseconds_t): New type.
46185 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46186
46187 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46188 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46189 (__SNSECONDS_T_TYPE): Likewise.
46190 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46191 (__SNSECONDS_T_TYPE): Likewise.
46192 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46193 (__SNSECONDS_T_TYPE): Likewise.
46194
46195 2012-04-10 Andreas Jaeger <aj@suse.de>
46196
46197 [BZ #2636]
46198 * manual/time.texi (Processor Time): Return type of times is
46199 elapsed real time since an arbitrary point in the past.
46200 (CPU Time): Move CLK_TCK from here...
46201 (Processor Time): ...to here. Correct description.
46202 * manual/conf.texi (Constants for Sysconf): Correct description of
46203 _SC_CLK_TCK.
46204
46205 2012-04-10 David S. Miller <davem@davemloft.net>
46206
46207 [BZ #13967]
46208 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46209 where the is a gap between DT_REL(A) and DT_JMPREL.
46210
46211 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46212
46213 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46214 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46215 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46216
46217 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46218
46219 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46220 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46221 (dl_main): Handle --inhibit-cache.
46222 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46223 _dl_inhibit_cache.
46224 * elf/dl-load.c (_dl_map_object): Use it.
46225 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46226
46227 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46228
46229 [BZ #13872]
46230 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46231 (__ieee754_powl): Saturate large exponents rather than testing for
46232 overflow of y*log2(x).
46233 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46234 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46235 exceptions.
46236
46237 [BZ #11521]
46238 * math/s_ctan.c: Include <float.h>.
46239 (__ctan): Avoid internal overflow or cancellation in calculating
46240 denominator.
46241 * math/s_ctanf.c: Likewise.
46242 * math/s_ctanl.c: Likewise.
46243 * math/s_ctanh.c: Likewise.
46244 * math/s_ctanhf.c: Likewise.
46245 * math/s_ctanhl.c: Likewise.
46246 * math/libm-test.inc (ctan_test): Add more tests.
46247 (ctanh_test): Likewise.
46248 * sysdeps/i386/fpu/libm-test-ulps: Update.
46249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46250
46251 2012-04-09 Andreas Jaeger <aj@suse.de>
46252
46253 [BZ #6894]
46254 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46255 is an optional BSD extension.
46256
46257 [BZ #10254]
46258 * manual/stdio.texi (Opening Streams): Document additional fopen
46259 parameters.
46260
46261 2012-04-09 Roland McGrath <roland@hack.frob.com>
46262
46263 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46264 %eax without telling the compiler.
46265
46266 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46267
46268 [BZ # 13963]
46269 * manual/install.texi: Use sourceware.org.
46270
46271 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46272
46273 [BZ #13873]
46274 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46275 (__ieee754_pow): Generate overflow and underflow using huge*huge
46276 and tiny*tiny rather than just returning constant infinity or zero
46277 for large exponents.
46278 * math/libm-test.inc (pow_test): Require overflow exceptions for
46279 applicable cases of large exponents.
46280
46281 [BZ #706]
46282 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46283 (__ieee754_pow): Use iterative multiplication algorithm only for
46284 integer exponents with absolute value below 1024. Check for odd
46285 integer exponents when using algorithm for real exponents.
46286 * math/libm-test.inc (pow_test): Add more tests.
46287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46288
46289 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46290
46291 [BZ #13705]
46292 * math/libm-test.inc (exp_test): Do not allow overflow exception
46293 on underflow test.
46294
46295 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46296
46297 [BZ #13705]
46298 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46299 instead of __kernel_standard_f.
46300
46301 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46302
46303 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46304 * sysdeps/x86_64/memset_chk.S: Likewise.
46305
46306 2012-04-08 Andreas Jaeger <aj@suse.de>
46307
46308 [BZ #10153]
46309 * manual/startup.texi (Environment Access): Describe return value
46310 for putenv and setenv.
46311
46312 [BZ #6895]
46313 * manual/filesys.texi (Directory Entries): Add description for
46314 DT_LNK.
46315
46316 [BZ #6890]
46317 * manual/filesys.texi (Directory Entries): Clarify that it's file
46318 system not operating system in the description of DT_UNKNOWN.
46319
46320 [BZ #6578]
46321 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46322
46323 2012-04-08 Stephen Compall <s11@member.fsf.org>
46324
46325 [BZ #6649]
46326 * manual/llio.texi (Opening and Closing Files): Add cross
46327 reference to explain mode argument.
46328
46329 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46330
46331 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46332 * sysdeps/x86_64/memset_chk.S: Likewise.
46333
46334 2012-04-07 David S. Miller <davem@davemloft.net>
46335
46336 * elf/elf.h (R_SPARC_WDISP10): Define.
46337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46338 R_SPARC_SIZE32.
46339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46340 R_SPARC_SIZE64 and R_SPARC_H34.
46341
46342 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46343
46344 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46345 conditions and remove no longer applicable assertion.
46346
46347 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46348
46349 * bits/byteswap.h: Include <features.h>.
46350 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46351 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46352
46353 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46354
46355 * bits/byteswap.h (__bswap_16): Removed.
46356 Include <bits/byteswap-16.h> to get __bswap_16.
46357 * sysdeps/i386/bits/byteswap.h: Likewise.
46358 * sysdeps/s390/bits/byteswap.h: Likewise.
46359 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46360 * bits/byteswap-16.h: New file.
46361 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46362 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46363 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46364 * string/Makefile (headers): Add bits/byteswap-16.h.
46365
46366 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46367
46368 [BZ #13895]
46369 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46370 extra indirection.
46371 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46372 * nss/tst-nss-static.c: New.
46373
46374 2012-04-06 Robert Millan <rmh@gnu.org>
46375
46376 [BZ #6486]
46377 * manual/llio.texi (File Position Primitive): lseek
46378 refers to WHENCE when it really means OFFSET.
46379
46380 2012-04-06 Andreas Jaeger <aj@suse.de>
46381
46382 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46383 strncmp declarations.
46384
46385 * abilist/libc.abilist: Add __poll and __ppoll.
46386
46387 2012-04-05 David S. Miller <davem@davemloft.net>
46388
46389 * scripts/check-local-headers.sh: Accept a host triplet in the
46390 path matched by the exclude regexp.
46391
46392 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46393 definition.
46394 * sysdeps/powerpc/powerpc32/dl-machine.h
46395 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46396 * sysdeps/s390/s390-32/dl-machine.h
46397 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46398 * sysdeps/sparc/sparc32/dl-machine.h
46399 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46400 * sysdeps/sparc/sparc64/dl-machine.h
46401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46402
46403 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46404 lazy binding.
46405 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46406 undefined symbol errors.
46407
46408 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46409 DT_NEEDED entries.
46410
46411 2012-04-05 Michael Matz <matz@suse.de>
46412
46413 [BZ #13592]
46414 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46415
46416 2012-04-05 Andreas Jaeger <aj@suse.de>
46417
46418 [BZ #13908]
46419 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46420 comment.
46421
46422 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46423
46424 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46425 which ROUND is no valid rounding mode.
46426
46427 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46428
46429 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46430 read again.
46431 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46432
46433 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46434
46435 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46436 an exception using FPU order intentionally.
46437
46438 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46439
46440 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46441 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46442 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46443 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46444
46445 2012-04-05 Simon Josefsson <simon@josefsson.org>
46446
46447 [BZ #12340]
46448 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46449 EINVAL when BUFLEN is too smal.
46450
46451 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46452
46453 [BZ #13553]
46454 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46455 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46456
46457 2012-04-03 Andreas Jaeger <aj@suse.de>
46458
46459 [BZ #13938]
46460 * manual/setjmp.texi (System V contexts): Fix sentence.
46461
46462 [BZ #13926]
46463 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46464 New macro for this case.
46465 [!__GNUC__] (__bswap_64): New inline function for this case.
46466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46467 * bits/byteswap.h: Likewise.
46468 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46469 ull, guard with __GLIBC_HAVE_LONG_LONG.
46470
46471 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46472 __GLIBC_HAVE_LONG_LONG.
46473
46474 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46475 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46476
46477 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46478
46479 [BZ #13691]
46480 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46481 inptr and inend, rather than using last_ch.
46482
46483 2012-04-02 David S. Miller <davem@davemloft.net>
46484
46485 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46486 * stdio-common/printf-parse.h (read_int): Change return type to
46487 'int', return -1 on INT_MAX overflow.
46488 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46489 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46490 overflows INT_MAX. Check for overflow of in-format-string precision
46491 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46492 SIZE_MAX not INT_MAX for integer overflow test.
46493 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46494 skip the construct in the format string but do not record anything.
46495 * stdio-common/bug22.c: Adjust to test both width/prevision
46496 INT_MAX overflow as well as total length INT_MAX overflow. Check
46497 explicitly for proper errno values.
46498
46499 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46500
46501 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46502 CHAR_MAX.
46503 * string/test-strcmp.c [! WIDE]: Likewise.
46504 * time/tst-mktime2.c: Likewise for INT_MAX.
46505 * string/test-string.h: #include <sys/param.h> for MIN.
46506
46507 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46508 * sysdeps/i386/init-first.c (init): Likewise.
46509 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46510 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46511 * sysdeps/sh/init-first.c (init): Likewise.
46512
46513 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46514
46515 * po/ru.po: Update from translation team.
46516 * po/vi.po: Likewise.
46517
46518 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46519
46520 * resolv/nss_dns/dns-host.c: Merge copyright years.
46521
46522 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46523
46524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46525 Optimize memcpy with prefetch if
46526 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46527 src, dst pointers have unequal 16 byte alignments.
46528
46529 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46530
46531 [BZ #13928]
46532 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46533 from a CNAME entry and return the minimum ttl for the query.
46534 (gaih_getanswer_slice): Likewise.
46535
46536 2012-03-30 Jeff Law <law@redhat.com>
46537
46538 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46539 due to long keys.
46540 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46541 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46542
46543 * resolv/nss_dns/dns-host.c: Update copyright year.
46544
46545 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46546
46547 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46548 requests to save a system call. Fix check that all bytes are sent.
46549
46550 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46551 comments for sendmmsg.
46552
46553 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46554
46555 [BZ #13691]
46556 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46557 with only 1 character between 0x0041 and 0x01b0.
46558 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46559 * wcsmbs/tst-mbsnrtowcs.c: New file.
46560
46561 2012-03-29 David S. Miller <davem@davemloft.net>
46562
46563 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46564 small copies by hand.
46565
46566 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46567
46568 [BZ #13761]
46569 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46570 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46571 group memberships.
46572
46573 2012-03-28 David S. Miller <davem@davemloft.net>
46574
46575 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46576 that branches into memcpy.
46577 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46580 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46582 bits.
46583 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46584 implementation too.
46585 * sysdeps/sparc/mempcpy.S: New file.
46586
46587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46588 the IFUNC routine in the libc case.
46589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46590
46591 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46592 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46593 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46594 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46595 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46596 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46597 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46598 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46599
46600 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46601 loop to 256 bytes instead of 64 bytes and fix test signedness.
46602
46603 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46604 * sysdeps/sparc/sparc32/Makefile: rather than here...
46605 * sysdeps/sparc/sparc64/Makefile: and here.
46606
46607 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46608
46609 * malloc/mallocbug.c: Avoid warnings about unused variables.
46610
46611 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46612
46613 [BZ #13760]
46614 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46615 in the right place. Discard and retry query if response is
46616 larger than input buffer size.
46617
46618 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46619
46620 [BZ #369]
46621 [BZ #2678]
46622 [BZ #3866]
46623 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46624 x for large integer exponent.
46625 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46626 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46627 sign of result as needed afterwards.
46628 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46629 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46630 result for underflowing pow the same as for overflow.
46631 (__kernel_standard_l): Handle powl overflow and underflow here
46632 rather than calling __kernel_standard.
46633 * math/libm-test.inc (pow_test): Add more tests.
46634
46635 [BZ #3868]
46636 [BZ #13879]
46637 [BZ #13910]
46638 [BZ #13911]
46639 [BZ #13912]
46640 [BZ #13913]
46641 [BZ #13915]
46642 [BZ #13916]
46643 [BZ #13917]
46644 [BZ #13918]
46645 [BZ #13919]
46646 [BZ #13920]
46647 [BZ #13921]
46648 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46649 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46650 (__kernel_standard_l): New function.
46651 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46652 __kernel_standard.
46653 * math/w_acosl.c (__acosl): Likewise.
46654 * math/w_asinl.c (__asinl): Likewise.
46655 * math/w_atan2l.c (__atan2l): Likewise.
46656 * math/w_atanhl.c (__atanhl): Likewise.
46657 * math/w_coshl.c (__coshl): Likewise.
46658 * math/w_exp10l.c (__exp10l): Likewise.
46659 * math/w_exp2l.c (__exp2l): Likewise.
46660 * math/w_fmodl.c (__fmodl): Likewise.
46661 * math/w_hypotl.c (__hypotl): Likewise.
46662 * math/w_j0l.c (__j0l, __y0l): Likewise.
46663 * math/w_j1l.c (__j1l, __y1l): Likewise.
46664 * math/w_jnl.c (__jnl, __ynl): Likewise.
46665 * math/w_lgammal.c (__lgammal): Likewise.
46666 * math/w_log10l.c (__log10l): Likewise.
46667 * math/w_log2l.c (__log2l): Likewise.
46668 * math/w_logl.c (__logl): Likewise.
46669 * math/w_powl.c (__powl): Likewise.
46670 * math/w_remainderl.c (__remainderl): Likewise.
46671 * math/w_scalbl.c (sysv_scalbl): Likewise.
46672 * math/w_sinhl.c (__sinhl): Likewise.
46673 * math/w_sqrtl.c (__sqrtl): Likewise.
46674 * math/w_tgammal.c (__tgammal): Likewise.
46675 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46676 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46677 * math/libm-test.inc (acos_test): Add more tests.
46678 (acosh_test): Likewise.
46679 (asin_test): Likewise.
46680 (atanh_test): Likewise.
46681 (exp_test): Likewise.
46682 (exp10_test): Likewise.
46683 (exp2_test): Likewise.
46684 (expm1_test): Likewise.
46685 (lgamma_test): Likewise.
46686 (log_test): Likewise.
46687 (log10_test): Likewise.
46688 (log1p_test): Likewise.
46689 (log2_test): Likewise.
46690 (pow_test): Do not allow some spurious overflow exceptions.
46691 (sqrt_test): Add more tests.
46692 (tgamma_test): Likewise.
46693 (y0_test): Likewise.
46694 (y1_test): Likewise.
46695 (yn_test): Likewise.
46696
46697 2012-03-27 Anton Blanchard <anton@samba.org>
46698
46699 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46700 MAP_HUGETLB.
46701 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46702 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46704
46705 2012-03-27 David S. Miller <davem@davemloft.net>
46706
46707 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46708
46709 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46710 have-as-vis3 check.
46711
46712 2012-03-27 Andreas Jaeger <aj@suse.de>
46713
46714 * sysdeps/x86_64/elf/configure.in: Moved to ...
46715 * sysdeps/x86_64/configure.in: ... here.
46716 * sysdeps/x86_64/elf/start.S: Moved to ...
46717 * sysdeps/x86_64/start.S: ... here.
46718 * sysdeps/x86_64/elf/configure: Delete.
46719
46720 * sysdeps/x86_64/configure.in: Merge contents from
46721 sysdeps/i386/configure.in (without i686 check).
46722
46723 * sysdeps/i386/elf/Versions: Merge into ...
46724 * sysdeps/i386/Versions: ... this.
46725 * sysdeps/i386/elf/Versions: Delete file.
46726 * sysdeps/i386/elf/start.S: Moved to ...
46727 * sysdeps/i386/start.S: ...here.
46728 * sysdeps/i386/elf/configure.in: Merge into...
46729 * sysdeps/i386/configure.in: ...here.
46730 * sysdeps/i386/elf/configure.in: Delete file.
46731 * sysdeps/i386/elf/configure: Delete file.
46732
46733 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46734 * debug/backtracesyms.c: ... here.
46735 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46736 * debug/backtracesymsfd.c: ... here.
46737 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46738 * sysdeps/generic/ifunc-sel.h: ... here.
46739
46740 * sysdeps/unix/i386/start.c: Delete file.
46741 * sysdeps/unix/sparc/start.c: Delete file.
46742 * sysdeps/unix/start.c: Delete file.
46743
46744 * sysdeps/sh/elf/configure.in: Moved to ...
46745 * sysdeps/sh/configure.in: ... here.
46746 * sysdeps/sh/elf/start.S: Moved to ...
46747 * sysdeps/sh/start.S: ... here.
46748 * sysdeps/sh/elf/configure: Delete file.
46749
46750 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46751 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46752 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46753 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46754 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46755 * sysdeps/powerpc/powerpc64/start.S: here.
46756 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46757 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46758 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46759 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46760 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46761
46762 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46763 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46764 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46765 * sysdeps/powerpc/powerpc32/start.S: ... here.
46766 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46767 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46768 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46769
46770 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46771 * sysdeps/powerpc/ifunc-sel.h: ... here.
46772 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46773 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46774
46775 * sysdeps/sparc/elf/configure.in: Moved to ...
46776 * sysdeps/sparc/configure.in: ... here.
46777 * sysdeps/sparc/elf/configure: Delete file.
46778 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46779 * sysdeps/sparc/sparc32/start.S: ... here.
46780 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46781 * sysdeps/sparc/sparc64/start.S: ... here.
46782 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46783 * sysdeps/sparc/sparc32/Makefile: ... this.
46784 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46785 * sysdeps/sparc/sparc64/Makefile: ... this.
46786
46787 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46788 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46789 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46790 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46791 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46792 * sysdeps/s390/s390-32/setjmp.S: ... here.
46793 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46794 * sysdeps/s390/s390-32/configure.in: ... here.
46795 * sysdeps/s390/s390-32/elf/configure: Delete file.
46796 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46797 * sysdeps/s390/s390-32/start.S: ... here.
46798
46799 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46800 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46801 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46802 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46803 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46804 * sysdeps/s390/s390-64/setjmp.S: ... here.
46805 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46806 * sysdeps/s390/s390-64/configure.in: ... here
46807 * sysdeps/s390/s390-64/elf/configure: Delete file.
46808 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46809 * sysdeps/s390/s390-64/start.S: ... here.
46810 * sysdeps/s390/s390-64/elf/configure: Delete.
46811
46812 * configure.in: Remove support for elf directories in sysdeps.
46813
46814 * configure: Regenerated.
46815 * sysdeps/i386/configure: Regenerated.
46816 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46817 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46818 * sysdeps/s390/s390-32/configure: Regenerated.
46819 * sysdeps/s390/s390-64/configure: Regenerated.
46820 * sysdeps/sh/configure: Regenerated.
46821 * sysdeps/sparc/configure: Regenerated.
46822 * sysdeps/x86_64/configure: Regenerated.
46823
46824 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46825
46826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46827
46828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46829 denormal result into account.
46830
46831 2012-03-25 Roland McGrath <roland@hack.frob.com>
46832
46833 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46834 Reported by Allan McRae <allan@archlinux.org>.
46835
46836 2012-03-23 Jeff Law <law@redhat.com>
46837
46838 * nss/getnssent.c (__nss_getent): Fix typo.
46839
46840 2012-03-23 David S. Miller <davem@davemloft.net>
46841
46842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46843
46844 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46845
46846 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46847 to pad to uint64_t for each field.
46848 (dl_tls_index): Replace unsigned long with uint64_t.
46849
46850 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46851 Paul Pluzhnikov <ppluzhnikov@google.com>
46852
46853 [BZ #6528]
46854 * grp/Makefile (otherlibs): Don't set it.
46855 * inet/Makefile (otherlibs): Likewise.
46856 * login/Makefile (otherlibs): Likewise.
46857 * nscd/Makefile (otherlibs): Likewise.
46858 * posix/Makefile (otherlibs): Likewise.
46859 * pwd/Makefile (otherlibs): Likewise.
46860 * rt/Makefile (otherlibs): Likewise.
46861 * sunrpc/Makefile (otherlibs): Likewise.
46862 * nss/Makefile (otherlibs): Likewise.
46863 Add libnss_files to routines and static-only-routines.
46864 ($(objpfx)getent): Remove rule.
46865 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46866 static-only-routines.
46867
46868 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46869
46870 [BZ #13892]
46871 * math/s_cexp.c: Include <float.h>.
46872 (__cexp): Handle exp result overflowing not necessarily
46873 overflowing both real and imaginary parts of result.
46874 * math/s_cexpf.c: Likewise.
46875 * math/s_cexpl.c: Likewise.
46876 * math/libm-test.inc (cexp_test): Add more tests.
46877 * sysdeps/i386/fpu/libm-test-ulps: Update.
46878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46879
46880 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46881
46882 * include/link.h (ELFW): New macro.
46883 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46884 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46885
46886 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46887
46888 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46889 with uint64_t.
46890
46891 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46892
46893 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46894 declaration.
46895 (struct La_x32_retval): Likewise.
46896
46897 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46898
46899 * sysdeps/x86_64/preconfigure.in: New file.
46900 * sysdeps/x86_64/preconfigure: New generated file.
46901
46902 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46903
46904 [BZ #13824]
46905 * math/e_exp2l.c: Include <float.h>.
46906 (__ieee754_exp2l): Handle overflow and underflow cases
46907 separately. Only pass fractional part of argument to
46908 __ieee754_expl.
46909 * math/libm-test.inc (exp2_test): Add more tests.
46910
46911 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46912 negating x to take absolute value.
46913 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46914 Likewise.
46915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46916 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46917 Likewise.
46918 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46919 computing low part if x was negated.
46920 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46921
46922 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46923
46924 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46925 la_x32_gnu_pltexit.
46926 (pltexit): Cast int_retval to ptrdiff_t.
46927 * elf/tst-auditmod3b.c: Likewise.
46928 * elf/tst-auditmod4b.c: Likewise.
46929 * elf/tst-auditmod5b.c: Likewise.
46930 * elf/tst-auditmod6b.c: Likewise.
46931 * elf/tst-auditmod6c.c: Likewise.
46932 * elf/tst-auditmod7b.c: Likewise.
46933
46934 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46935 and x32_gnu_pltexit.
46936
46937 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46938 __ELF_NATIVE_CLASS.
46939 (La_x32_regs): New macro.
46940 (La_x32_retval): Likewise.
46941 (la_x32_gnu_pltenter): New function prototype.
46942 (la_x32_gnu_pltexit): Likewise.
46943
46944 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46945
46946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46947 exponent.
46948
46949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46950
46951 * configure.in (libc_cv_cc_nofma): Check for option to disable
46952 generation of FMA instructions.
46953 * configure: Regenerate.
46954 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46955 * sysdeps/ieee754/dbl-64/Makefile: New file.
46956 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46957 Remove brandred-fma4.
46958 (CFLAGS-brandred-fma4.c): Remove.
46959 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46960 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46961 define.
46962 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46963 define.
46964
46965 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46966
46967 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46968 LLONG_MAX != LONG_MAX.
46969 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46970 (_fitoa_word): Likewise.
46971 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46972 LLONG_MAX != LONG_MAX.
46973 * stdio-common/_itowa.h: Include <_itoa.h>.
46974 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46975 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46976 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46977 only if not defined.
46978 (_ITOA_WORD_TYPE): Likewise.
46979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46980 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46981
46982 2012-03-21 David S. Miller <davem@davemloft.net>
46983
46984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46985
46986 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46987
46988 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46989 of x86_64 when setting libc_cv_slibdir, libdir and
46990 libc_cv_localedir.
46991 * sysdeps/unix/sysv/linux/configure: Regenerated.
46992
46993 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46994
46995 * manual/lang.texi (Old Varargs): Remove section.
46996 (How Variadic): Update menu.
46997 (va_start): Do not mention varargs.h.
46998
46999 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47000 Joseph Myers <joseph@codesourcery.com>
47001
47002 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47003 link test.
47004 * configure: Regenerated.
47005
47006 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47007
47008 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47009 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47010 conformtest.pl
47011
47012 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47013
47014 * NOTES: Remove.
47015 * Makefile (files-for-dist): Remove NOTES.
47016 (NOTES): Remove rule.
47017 * README: Don't refer to NOTES.
47018 * manual/creature.texi: Don't include macros.texi.
47019 * manual/intro.texi (creature.texi): Remove comment referring to
47020 NOTES.
47021
47022 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47023 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47024 * configure: Regenerated.
47025 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47026 LIBC_TRY_CC_OPTION.
47027 (libc_cv_as_i686): Likewise.
47028 (libc_cv_cc_avx): Likewise.
47029 (libc_cv_cc_sse2avx): Likewise.
47030 (libc_cv_cc_fma4): Likewise.
47031 (libc_cv_cc_novzeroupper): Likewise.
47032 * sysdeps/i386/configure: Regenerated.
47033
47034 [BZ #13883]
47035 * sysdeps/i386/fpu/s_cexp.S: Remove.
47036 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47037 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47038 * math/libm-test.inc (cexp_test): Add more tests.
47039 * sysdeps/i386/fpu/libm-test-ulps: Update.
47040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47041
47042 2012-03-21 Allan McRae <allan@archlinux.org>
47043
47044 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47045
47046 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47047
47048 [BZ #13871]
47049 * math/w_exp2.c: Do not include <float.h>.
47050 (o_threshold, u_threshold): Remove.
47051 (__exp2): Calculate result before checking finiteness and calling
47052 __kernel_standard.
47053 * math/w_exp2f.c: Likewise.
47054 * math/w_exp2l.c: Likewise.
47055 * math/libm-test.inc (exp2_test): Require overflow exception for
47056 1e6 input.
47057
47058 [BZ #3866]
47059 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47060 range of signed 64-bit integers before using fistpll. Remove
47061 checks for whether integers fit in mantissa bits.
47062 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47063 the range of signed 32-bit integers before using fistpl. Remove
47064 checks for whether integers fit in mantissa bits.
47065 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47066 (__ieee754_powl): Test for y outside the range of signed 64-bit
47067 integers before using fistpll. Reduce 64-bit values to 63-bit
47068 ones as needed.
47069 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47070 divide-by-zero is raised for zero to large negative powers.
47071 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47072 (__ieee754_powl): Test for y outside the range of signed 64-bit
47073 integers before using fistpll. Reduce 64-bit values to 63-bit
47074 ones as needed.
47075 * math/libm-test.inc (pow_test): Add more tests.
47076
47077 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47078
47079 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47080 <stdio-common/_itoa.h>.
47081 * debug/segfault.c: Likewise.
47082 * elf/dl-cache.c: Likewise.
47083 * elf/dl-minimal.c: Likewise.
47084 * elf/dl-misc.c: Likewise.
47085 * elf/dl-sysdep.c: Likewise.
47086 * elf/dl-version.c: Likewise.
47087 * elf/rtld.c: Likewise.
47088 * hurd/hurdsock.c: Likewise.
47089 * hurd/lookup-retry.c: Likewise.
47090 * malloc/malloc.c: Likewise.
47091 * malloc/mtrace.c: Likewise.
47092 * nscd/nscd_getgr_r.c: Likewise.
47093 * nscd/nscd_getpw_r.c: Likewise.
47094 * nscd/nscd_getserv_r.c: Likewise.
47095 * posix/getopt_init.c: Likewise.
47096 * posix/wordexp.c: Likewise.
47097 * stdio-common/_itoa.c: Likewise.
47098 * stdio-common/printf_fphex.c: Likewise.
47099 * stdio-common/vfprintf.c: Likewise.
47100 * string/_strerror.c: Likewise.
47101 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47102 * sysdeps/i386/i686/hp-timing.h: Likewise.
47103 * sysdeps/mach/_strerror.c: Likewise.
47104 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47105 * sysdeps/mach/hurd/sethostid.c: Likewise.
47106 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47107 * sysdeps/mach/xpg-strerror.c: Likewise.
47108 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47109 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47110 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47111 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47112 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47113 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47114 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47115 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47116 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47117 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47118 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47119 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47120 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47121 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47122 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47123 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47124 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47125 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47126 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47127 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47128 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47129
47130 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47131
47132 * stdio-common/_itoa.h: Moved to ...
47133 * sysdeps/generic/_itoa.h: Here.
47134
47135 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47136
47137 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47138 instead of "_itoa.h" and "_itowa.h".
47139 * stdio-common/vfprintf.: Likewise.
47140
47141 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47142
47143 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47144 <bits/wordsize.h>.
47145 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47146 (__signbit): Likwise.
47147 (llrintf): Likwise.
47148 (llrint): Likwise.
47149
47150 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47151
47152 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47153 __WORDSIZE != 64.
47154
47155 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47156
47157 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47158 OVERFLOW_EXCEPTION_OK.
47159 * math/libm-test.inc ("Philosophy"): Update comment about
47160 exception testing.
47161 (OVERFLOW_EXCEPTION): Define.
47162 (OVERFLOW_EXCEPTION_OK): Likewise.
47163 (INVALID_EXCEPTION_OK): Renumber.
47164 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47165 (IGNORE_ZERO_INF_SIGN): Likewise.
47166 (test_exceptions): Handle FE_OVERFLOW.
47167 (exp10_test): Expect overflow exceptions.
47168 (exp2_test): Likewise.
47169 (expm1_test): Likewise.
47170 (nextafter_test): Likewise.
47171 (pow_test): Likewise.
47172 (scalbn_test): Likewise.
47173 (scalbln_test): Likewise.
47174
47175 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47176
47177 * sysdeps/x86_64/bits/atomic.h
47178 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47179 64bit integer.
47180 (atomic_exchange_acq): Likewise.
47181 (__arch_exchange_and_add_body): Likewise.
47182 (__arch_add_body): Likewise.
47183 (atomic_add_negative): Likewise.
47184 (atomic_add_zero): Likewise.
47185
47186 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47187
47188 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47189 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47190
47191 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47192
47193 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47194 Check __x86_64__ instead of __WORDSIZE.
47195
47196 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47197
47198 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47199
47200 2012-03-19 David S. Miller <davem@davemloft.net>
47201
47202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47203
47204 * sysdeps/sparc/fpu/fenv_private.h: New file.
47205 * sysdeps/sparc/fpu/math_private.h: Use it.
47206 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47207 Remove.
47208 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47209 (libc_feholdexcept_setroundl): Remove.
47210 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47211 Remove.
47212 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47213 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47214
47215 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47216
47217 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47218 int64_t instead of long int.
47219 (INSERT_WORDS64): Likwise.
47220
47221 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47222
47223 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47224 _Unwind_GetCFA return to _Unwind_Ptr first.
47225
47226 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47227
47228 [BZ #13629]
47229 * math/s_clog.c: Include <float.h>.
47230 (__clog): Scale large or subnormal inputs.
47231 * math/s_clogf.c: Likewise.
47232 * math/s_clogl.c: Likewise.
47233 * math/s_clog10.c: Include <float.h>.
47234 (M_LOG10_2): Define.
47235 (__clog10): Scale large or subnormal inputs.
47236 * math/s_clog10f.c: Likewise.
47237 * math/s_clog10l.c: Likewise.
47238 * math/libm-test.inc (clog_test): Add more tests.
47239 (clog10_test): Likewise.
47240 * sysdeps/i386/fpu/libm-test-ulps: Update.
47241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47242
47243 [BZ #11451]
47244 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47245 x and y.
47246 * math/libm-test.inc (atan2_test): Add another test.
47247
47248 * Makerules (common-objdir-compile): Remove.
47249 * sysdeps/unix/Makefile (config-generated): Do not add
47250 $(unix-generated) to variable.
47251 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47252 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47253 Remove rule.
47254 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47255 Likewise.
47256 [generic bits/local_lim.h] (before-compile): Do not append to
47257 variable.
47258 [generic bits/local_lim.h] (common-generated): Likewise.
47259 [generic sys/param.h] (before-compile): Do not append to variable.
47260 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47261 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47262 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47263 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47264 include.
47265 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47266 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47267 [generic sys/param.h] ($(addprefix
47268 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47269 [generic sys/param.h] (common-generated): Do not append to
47270 variable.
47271 [generic sys/param.h] (sysdep_headers): Likewise.
47272 [generic bits/errno.h] (before-compile): Do not append to
47273 variable.
47274 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47275 rule.
47276 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47277 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47278 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47279 [generic bits/errno.h] (common-generated): Do not append to
47280 variable.
47281 [generic bits/ioctls.h] (before-compile): Do not append to
47282 variable.
47283 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47284 rule.
47285 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47286 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47287 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47288 rule.
47289 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47290 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47291 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47292 [generic bits/ioctls.h] (common-generated): Do not append to
47293 variable.
47294 [generic sys/syscall.h] (syscall.h): Remove variable.
47295 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47296 rule.
47297 [generic sys/syscall.h] (before-compile): Do not append to
47298 variable.
47299 [generic sys/syscall.h] (common-generated): Likewise.
47300 * sysdeps/unix/errnos-tmpl.c: Remove file.
47301 * sysdeps/unix/errnos.awk: Likewise.
47302 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47303 * sysdeps/unix/ioctls.awk: Likewise.
47304 * sysdeps/unix/mk-local_lim.c: Likewise.
47305 * sysdeps/unix/snarf-ioctls: Likewise.
47306
47307 2012-03-19 Richard Henderson <rth@twiddle.net>
47308
47309 * sysdeps/i386/fpu/fenv_private.h: New file.
47310 * sysdeps/i386/fpu/math_private.h: Use it.
47311 (math_opt_barrier, math_force_eval): Remove.
47312 (libc_feholdexcept_setround_53bit): Remove.
47313 (libc_feupdateenv_53bit): Remove.
47314 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47315 (math_opt_barrier, math_force_eval): Remove.
47316 (libc_feholdexcept): Remove.
47317 (libc_feholdexcept_setround): Remove.
47318 (libc_fetestexcept, libc_fesetenv): Remove.
47319 (libc_feupdateenv_test): Remove.
47320 (libc_feupdateenv, libc_feholdsetround): Remove.
47321 (libc_feresetround): Remove.
47322
47323 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47324 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47325
47326 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47327 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47328 (libc_feupdateenv_testl): New.
47329 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47330 (libc_feupdateenv_testf): New.
47331 (libc_feupdateenv): Use libc_feupdateenv_test.
47332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47334
47335 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47336 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47337 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47338 (libc_feresetround_noex): New.
47339 (libc_feresetround_noexf): New.
47340 (libc_feresetround_noexl): New.
47341 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47342 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47343 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47344 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47345 SET_RESTORE_ROUND.
47346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47348 (__cos): Likewise.
47349 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47350 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47351 SET_RESTORE_ROUND_NOEX.
47352 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47353 SET_RESTORE_ROUND_NOEXF.
47354 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47355 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47356 (libc_feholdsetroundf): New.
47357 (libc_feresetround, libc_feresetroundf): New.
47358
47359 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47360 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47361 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47362
47363 * sysdeps/generic/math_private.h: Include <fenv.h>.
47364 (default_libc_feholdexcept): New.
47365 (default_libc_feholdexcept_setround): New.
47366 (default_libc_fesetenv, default_libc_feupdateenv): New.
47367 (libc_feholdexcept): Only define if undefined.
47368 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47369 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47370 (libc_feholdexcept_setroundl): Likewise.
47371 (libc_feholdexcept_setround_53bit): Likewise.
47372 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47373 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47374 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47375 (libc_feupdateenv_53bit): Likewise.
47376 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47377 (libc_feholdexcept): Convert from macro to inline function.
47378 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47379 (libc_fesetenv, libc_feupdateenv): Likewise.
47380
47381 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47382 not previously defined.
47383 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47384 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47385 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47386 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47387 * sysdeps/ieee754/flt-32/math_private.h: New file.
47388 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47389 math_private.h below SET_FLOAT_WORD.
47390 (__isnan, __isinf_ns, __finite): Remove.
47391 (__isnanf, __isinf_nsf, __finitef): Remove.
47392
47393 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47394
47395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47396
47397 2012-03-17 David S. Miller <davem@davemloft.net>
47398
47399 [BZ #6471]
47400 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47401 for 2.16.
47402
47403 2012-03-16 David S. Miller <davem@davemloft.net>
47404
47405 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47406 warnings.
47407
47408 [BZ #6471]
47409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47410 properly.
47411 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47412 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47413 sysdep_routines when subdir is sysvipc.
47414 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47415 __getshmlba helper.
47416
47417 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47418
47419 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47420
47421 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47422 [__LP64__].
47423
47424 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47425
47426 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47427 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47428 (__lround): Renamed to ...
47429 (__llround): This. Replace long int with long long int.
47430 Define lround functions as aliases of llround functions.
47431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47432
47433 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47434
47435 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47436 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47437 adresses to uintptr_t. Replace "long int" and "unsigned long
47438 int" with "greg_t" on va_arg.
47439
47440 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47441
47442 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47443 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47444
47445 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47446 Move e_machine check before EI_CLASS check. Handle x32
47447 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47448 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47449 SKIP_EM_IA_64 and include
47450 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47451
47452 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47453 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47454 (add_system_dir): New macro.
47455
47456 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47457 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47458
47459 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47460
47461 [BZ #2551]
47462 [BZ #2552]
47463 [BZ #2553]
47464 [BZ #2554]
47465 [BZ #2562]
47466 [BZ #2563]
47467 [BZ #2565]
47468 [BZ #2566]
47469 [BZ #2576]
47470 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47471 (y0): Likewise.
47472 * math/w_j0f.c (j0f): Likewise.
47473 (y0f): Likewise.
47474 * math/w_j0l.c (__j0l): Likewise.
47475 (__y0l): Likewise.
47476 * math/w_j1.c (j1): Likewise.
47477 (y1): Likewise.
47478 * math/w_j1f.c (j1f): Likewise.
47479 (y1f): Likewise.
47480 * math/w_j1l.c (__j1l): Likewise.
47481 (__y1l): Likewise.
47482 * math/w_jn.c (jn): Likewise.
47483 (yn): Likewise.
47484 * math/w_jnf.c (jnf): Likewise.
47485 (ynf): Likewise.
47486 * math/w_jnl.c (__jnl): Likewise.
47487 (__ynl): Likewise.
47488 * math/libm-test.inc (j0_test): Add more tests.
47489 (j1_test): Likewise.
47490 (jn_test): Likewise. Add trailing semicolon to existing test.
47491 (y0_test): Likewise.
47492 (y1_test): Likewise.
47493 * sysdeps/i386/fpu/libm-test-ulps: Update.
47494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47495
47496 [BZ #13851]
47497 [BZ #13854]
47498 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47499 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47500 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47501 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47502 (__tanl): Set errno for infinite argument.
47503 * sysdeps/i386/fpu/mptan.c: Remove.
47504 * sysdeps/i386/fpu/s_tan.S: Likewise.
47505 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47506 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47507 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47508 * math/libm-test.inc (tan_test): Add more tests and enable more
47509 tests for double and long double.
47510 * sysdeps/i386/fpu/libm-test-ulps: Update.
47511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47512
47513 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47514
47515 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47516 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47517
47518 2012-03-16 Roland McGrath <roland@hack.frob.com>
47519
47520 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47521 * configure.in: Use it for both main tree and add-ons.
47522 * configure: Regenerated.
47523
47524 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47525
47526 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47527
47528 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47529
47530 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47531 in comment.
47532
47533 [BZ #13851]
47534 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47535 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47536 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47537 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47538 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47539 infinite argument.
47540 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47542 != 0 for prec == 2.
47543 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47544 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47545 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47546 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47547 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47548 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47549 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47550 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47551 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47552 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47553 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47554 * math/libm-test.inc (cos_test): Add more tests and enable more
47555 tests for long double.
47556 (sin_test): Likewise.
47557 (sincos_test): Likewise.
47558 * sysdeps/i386/fpu/libm-test-ulps: Update.
47559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47560
47561 2012-03-16 David S. Miller <davem@davemloft.net>
47562
47563 * sysdeps/sparc/fpu/math_private.h: New file.
47564
47565 2012-03-15 David S. Miller <davem@davemloft.net>
47566
47567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47568 file.
47569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47571 file.
47572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47577 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47578 sysdep routines.
47579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47580
47581 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47582 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47583
47584 * sysdeps/sparc/sparc-ifunc.h: New file.
47585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47586 sparc-ifunc.h
47587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47589 Likewise.
47590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47591 Likewise.
47592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47596 Likewise.
47597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47602 Likewise.
47603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47604 Likewise.
47605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47627 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47629
47630 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47631
47632 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47633 scaling.
47634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47635
47636 2012-03-15 Andreas Jaeger <aj@suse.de>
47637
47638 [BZ #13852]
47639 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47640 ieee754/flt-32 implementation for sin, cos and sincos.
47641 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47642 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47643 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47644 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47645 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47646 ieee754/flt-32 implementation for tan.
47647
47648 * math/libm-test.inc (cos_test): Enable some large input tests for
47649 float as well
47650 (sin_test): Likewise.
47651 (sincos_test): Likewise.
47652 (tan_test): Add tests for large input.
47653
47654 * sysdeps/i386/fpu/libm-test-ulps: Update.
47655
47656 2012-03-15 Andreas Jaeger <aj@suse.de>
47657
47658 [BZ #13658]
47659 * math/libm-test.inc (cos_test): Add more test cases.
47660 (sin_test): Likewise.
47661 (sincos_test): Likewise.
47662
47663 2012-03-15 Andreas Jaeger <aj@suse.de>
47664
47665 [BZ #13837]
47666 * math/libm-test.inc (cos_test): Add a test case for large input
47667 value.
47668 (sin_test): Likewise.
47669 (sincos_test): Likewise.
47670
47671 2012-03-15 Andreas Jaeger <aj@suse.de>
47672 Joseph Myers <joseph@codesourcery.com>
47673
47674 [BZ #13658]
47675 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47676 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47677 * sysdeps/i386/fpu/branred.c: Likewise.
47678 * sysdeps/i386/fpu/dosincos.c: Likewise.
47679 * sysdeps/i386/fpu/mpa.c: Likewise.
47680 * sysdeps/i386/fpu/s_cos.S: Likewise.
47681 * sysdeps/i386/fpu/s_sin.S: Likewise.
47682 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47683 * sysdeps/i386/fpu/sincos32.c: Likewise.
47684
47685 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47686 Define.
47687 (libc_feupdateenv_53bit): Define.
47688 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47689 Define.
47690 (libc_feupdateenv_53bit): Define.
47691
47692 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47693 53 bit (without extend i386 double precision).
47694
47695 * math/libm-test.inc (sincos_test): Add tests for large input.
47696 (sin): Likewise.
47697 (cos): Likewise.
47698
47699 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47700
47701 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47702
47703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47704
47705 2012-03-15 David S. Miller <davem@davemloft.net>
47706
47707 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47708 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47709 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47710 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47723 file.
47724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47726 file.
47727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47729 file.
47730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47732 file.
47733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47735 fmin/fmax sysdep routines.
47736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47737
47738 2012-03-14 David S. Miller <davem@davemloft.net>
47739
47740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47769 routines.
47770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47771 file.
47772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47774 file.
47775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47777 file.
47778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47780 file.
47781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47783 file.
47784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47786 file.
47787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47788 file.
47789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47790 file.
47791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47792 file.
47793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47794 New file.
47795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47796 file.
47797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47798 file.
47799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47801 file.
47802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47804 file.
47805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47807 file.
47808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47810 VIS3 routines.
47811
47812 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47813 New file.
47814
47815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47816
47817 * sysdeps/sparc/configure.in: New file.
47818 * sysdeps/sparc/configure: Generate.
47819 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47820 * configure: Regenerate.
47821 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47822 * config.make.in (have-as-vis3): New.
47823 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47824 available use -Av9d instead of -Av9a.
47825 * sysdeps/sparc/sparc64/Makefile: Likewise.
47826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47828 New file.
47829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47830 file.
47831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47832 New file.
47833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47834 file.
47835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47840
47841 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47842 fzeros/fnegs to load 0x80000000 into a float register instead of
47843 using the stack.
47844 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47845
47846 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47847
47848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47849 bits/syscall.h.
47850 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47851 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47852 ($(inst_includedir)/bits/syscall.h): Remove rule.
47853 ($(objpfx)bits/syscall.d): Include instead of
47854 $(objpfx)syscall-list.d.
47855 (generated): Change syscall-list.h and syscall-list.d to
47856 bits/syscall.h and bits/syscall.d.
47857
47858 2012-03-14 Roland McGrath <roland@hack.frob.com>
47859
47860 [BZ #13846]
47861 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47862
47863 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47864
47865 [BZ #13841]
47866 * math/s_csqrt.c: Include <float.h>.
47867 (__csqrt): Scale large or subnormal inputs.
47868 * math/s_csqrtf.c: Likewise.
47869 * math/s_csqrtl.c: Likewise.
47870 * math/libm-test.inc (csqrt_test): Add more tests.
47871 * sysdeps/i386/fpu/libm-test-ulps: Update.
47872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47873
47874 [BZ #13840]
47875 * math/libm-test.inc (hypot_test): Add more tests.
47876
47877 2012-03-13 David S. Miller <davem@davemloft.net>
47878
47879 [BZ #13840]
47880 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47881 double-precision for the calculation instead of scaling.
47882
47883 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47884
47885 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47886 manipulate bits before adding and subtracting TWO52[sx].
47887 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47888 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47889 Likewise.
47890 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47891
47892 2012-03-13 David S. Miller <davem@davemloft.net>
47893
47894 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47895 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47897 rtld-global-offsets.h
47898 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47899
47900 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47901 large parameters.
47902
47903 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47904
47905 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47906 'err' in the ifdef scope in which it is actually used.
47907
47908 * nss/nss_db/db-init.c: Include string.h
47909
47910 2012-03-12 David S. Miller <davem@davemloft.net>
47911
47912 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47913 masking out of the most significant byte of random value used.
47914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47915 Fix coding style in previous change.
47916
47917 * sysdeps/unix/sysv/linux/kernel-features.h
47918 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47919 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47920 expression.
47921 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47922 later.
47923
47924 2012-03-11 David S. Miller <davem@davemloft.net>
47925
47926 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47927 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47928 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47929 for 'resultvar' otherwise things get truncated on 64-bit.
47930
47931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47932 Fix masking out of the most significant byte of random value used.
47933
47934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47935
47936 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47937
47938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47939
47940 2012-03-09 David S. Miller <davem@davemloft.net>
47941
47942 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47943 variables with appropriate CPP guards.
47944 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47945 from the frame pointer, not the stack pointer. Correct layout
47946 comments. Fix test on resulting framesize and the management of
47947 the outregs buffer for pltexit. Preserve floating point return
47948 values across _dl_call_pltexit call.
47949 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47950 framesize and the management of the outregs buffer for pltexit.
47951 Preserve floating point return values across _dl_call_pltexit
47952 call.
47953 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47954 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47955 (la_sparc64_gnu_pltexit): New functions.
47956 (print_exit): Fix format string for return register value.
47957
47958 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47959
47960 * sunrpc/Makefile (others): Add rpcgen.
47961 ($(objpfx)rpcgen): Remove special build rule and dependency on
47962 libc.
47963 * sunrpc/rpcgen.c: New file.
47964
47965 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47966
47967 [BZ #13673]
47968 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47969 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47970 * sysdeps/i386/crti.S: Likewise.
47971 * sysdeps/i386/crtn.S: Likewise.
47972 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47973 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47974 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47975 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47976 * sysdeps/sh/crti.S: Likewise.
47977 * sysdeps/sh/crtn.S: Likewise.
47978 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47979
47980 [BZ #13673]
47981 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47982 with URL.
47983 * locale/programs/locfile-kw.gperf: Likewise.
47984 * locale/programs/charmap-kw.h: Regenerated.
47985 * locale/programs/locfile-kw.h: Likewise.
47986
47987 [BZ #13673]
47988 * intl/plural.y: Replace FSF snail mail address with URL.
47989 * intl/plural.c: Regenerated.
47990
47991 2012-03-09 Richard Henderson <rth@twiddle.net>
47992
47993 * include/math_private.h: Remove file.
47994 * math/math_private.h: Move file ...
47995 * sysdeps/generic/math_private.h: ... here.
47996
47997 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47998 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47999 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48000
48001 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48002 and <math_private.h>.
48003 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48004 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48005 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48006 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48007 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48008 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48009 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48012 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48014 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48015 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48016 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48017 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48018 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48022 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48023 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48025 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48027 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48028 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48029 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48030 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48035 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48036 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48037 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48038 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48039 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48040 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48046 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48047 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48048 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48049 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48050 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48051 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48053 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48054 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48055 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48056 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48057 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48062 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48064 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48066 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48067 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48068 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48069 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48070 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48071 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48073 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48076 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48077 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48082 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48083 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48084 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48089 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48090 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48091 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48092 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48093 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48094 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48095 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48096 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48097 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48098 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48099 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48100 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48101 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48102 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48103 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48104 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48105 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48106 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48107 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48108 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48109 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48110 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48111 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48113 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48114 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48115 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48116 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48117 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48118 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48119 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48120 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48121 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48122 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48123 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48124 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48126 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48127 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48128 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48129 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48130 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48131 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48132 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48133 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48134 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48135 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48136 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48137 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48138 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48140 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48141 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48143 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48144 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48145 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48146 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48147 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48148 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48149 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48150 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48151 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48152 * sysdeps/ieee754/k_standard.c: Likewise.
48153 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48154 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48156 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48157 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48158 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48159 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48162 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48163 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48166 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48167 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48168 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48177 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48178 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48179 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48180 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48181 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48183 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48187 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48188 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48190 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48192 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48193 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48194 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48195 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48198 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48199 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48201 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48202 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48203 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48204 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48205 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48206 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48208 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48209 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48210 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48211 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48212 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48214 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48215 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48216 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48219 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48220 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48221 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48222 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48223 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48225 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48227 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48228 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48229 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48233 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48234 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48243 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48244 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48245 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48249 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48252 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48257 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48260 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48263 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48264 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48265 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48267 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48269 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48271 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48272 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48273 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48274 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48275 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48276 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48277 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48278 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48286 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48287 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48288 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48289 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48290 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48292 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48293 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48294 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48295 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48296 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48298 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48301 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48302 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48303 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48307 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48308 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48309 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48310 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48311 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48312 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48313 * sysdeps/ieee754/s_lib_version.c: Likewise.
48314 * sysdeps/ieee754/s_matherr.c: Likewise.
48315 * sysdeps/ieee754/s_signgam.c: Likewise.
48316 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48317 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48318 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48319 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48320 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48321 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48322 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48323 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48324 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48325 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48326 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48327 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48328 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48329 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48330 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48331 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48332 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48333 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48334 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48336 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48337
48338 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48339
48340 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48341 * sunrpc/rpc_main.c: Likewise.
48342 * sunrpc/rpc_svcout.c: Likewise.
48343
48344 2012-03-09 David S. Miller <davem@davemloft.net>
48345
48346 * include/math_private.h: New file.
48347
48348 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48349
48350 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48351 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48352 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48353 from <bits/socket_type.h>.
48354 (enum __socket_type): Don't define here.
48355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48357 bits/socket_type.h.
48358
48359 [BZ #13566]
48360 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48361 checking __USE_GNU.
48362
48363 * Makerules ($(inst_includedir)/%.h): New rule.
48364 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48365 (install-others): Remove variable setting.
48366 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48367
48368 2012-03-08 Richard Henderson <rth@twiddle.net>
48369
48370 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48371 from macro to inline function; merge with the
48372 !__LIBC_INTERNAL_MATH_INLINES version.
48373 (__ieee754_sqrtf): Likewise.
48374
48375 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48376 to inline function.
48377 (__rintf, __floor, __floorf): Likewise.
48378
48379 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48380 macro to inline function.
48381 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48382
48383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48384 not <math/math_private.h>.
48385
48386 2012-03-08 David S. Miller <davem@davemloft.net>
48387
48388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48389 copyright year.
48390 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48391
48392 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48393
48394 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48395 normalization.
48396 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48397 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48398
48399 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48400
48401 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48402 be defined individually, they must be defined as a block. Define
48403 S for printing a string instead of hidint the different by using a
48404 macro for adding the 'l'.
48405 * stdio-common/tst-fphex-wide.c: Adjust.
48406
48407 2012-03-07 Marek Polacek <polacek@redhat.com>
48408
48409 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48410
48411 2012-03-08 Marek Polacek <polacek@redhat.com>
48412
48413 [BZ #13806]
48414 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48415 * stdio-common/tst-fphex.c: Define a few macros to make the
48416 test reusable. Use them.
48417 * stdio-common/tst-fphex-wide.c: New file.
48418
48419 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48420
48421 [BZ #6911]
48422 * manual/macros.texi (gnusystems): New macro.
48423 (nongnusystems): Likewise.
48424 (gnulinuxhurdsystems): Likewise.
48425 (gnuhurdsystems): Likewise..
48426 (gnulinuxsystems): Likewise.
48427 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48428 variants of the GNU system, not "GNU system".
48429 * manual/conf.texi: Likewise.
48430 * manual/errno.texi: Likewise. Update example of errno macro
48431 expansion.
48432 * manual/filesys.texi: Likewise.
48433 (getumask): Document as specific to GNU/Hurd.
48434 * manual/install.texi: Likewise. Reword some references to
48435 GNU/Linux.
48436 * manual/intro.texi: Likewise.
48437 * manual/io.texi: Likewise.
48438 (File Name Portability): Detail which constraints are inapplicable
48439 to all GNU systems and which are only inapplicable to GNU/Hurd.
48440 * manual/job.texi: Likewise.
48441 * manual/llio.texi: Likewise.
48442 (O_NOCTTY): Document as present on GNU/Linux.
48443 * manual/maint.texi: Likewise.
48444 * manual/memory.texi: Likewise.
48445 * manual/pattern.texi: Likewise.
48446 * manual/pipe.texi: Likewise.
48447 * manual/process.texi: Likewise.
48448 * manual/resource.texi: Likewise.
48449 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48450 child on GNU/Hurd.
48451 * manual/setjmp.texi: Likewise.
48452 * manual/signal.texi: Likewise.
48453 * manual/startup.texi: Likewise.
48454 * manual/stdio.texi: Likewise.
48455 * manual/terminal.texi: Likewise.
48456 (ONLCR): Document as POSIX.
48457 (OXTABS): Document availability on GNU/Linux as XTABS.
48458 (ONOEOT): Document availability separately from other bits.
48459 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48460 * manual/time.texi: Likewise.
48461 * manual/users.texi: Likewise.
48462 * INSTALL: Regenerated.
48463 * sysdeps/gnu/errlist.c: Regenerated.
48464
48465 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48466 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48467 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48468 puts.
48469 * configure: Regenerated.
48470
48471 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48472
48473 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48474 default includes instead of AC_HEADER_CHECK.
48475 * sysdeps/i386/configure: Regenerated.
48476
48477 [BZ #10716]
48478 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48479 * math/s_cacoshf.c (__cacoshf): Likewise.
48480 * math/s_cacoshl.c (__cacoshl): Likewise.
48481 * math/s_casinh.c (__casinh): Set signs of result from argument.
48482 * math/s_casinhf.c (__casinhf): Likewise.
48483 * math/s_casinhl.c (__casinhl): Likewise.
48484 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48485 (casinh_test): Add more tests.
48486 * sysdeps/i386/fpu/libm-test-ulps: Update.
48487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48488
48489 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48490
48491 * po/zh_TW.po: Update from translation team.
48492
48493 * login/Makefile (distribute): Remove variable.
48494 * catgets/Makefile: Likewise.
48495 * mach/Makefile: Likewise.
48496 * malloc/Makefile: Likewise.
48497 * misc/Makefile: Likewise.
48498 * iconv/Makefile: Likewise.
48499 * nscd/Makefile: Likewise.
48500 * hurd/Makefile: Likewise.
48501 * manual/Makefile: Likewise.
48502 * locale/Makefile: Likewise.
48503 * intl/Makefile: Likewise.
48504 * conform/Makefile: Likewise.
48505 * nss/Makefile: Likewise.
48506 * time/Makefile: Likewise.
48507 * soft-fp/Makefile: Likewise.
48508 * dirent/Makefile: Likewise.
48509 * gmon/Makefile: Likewise.
48510 * po/Makefile: Likewise.
48511 * rt/Makefile: Likewise.
48512 * socket/Makefile: Likewise.
48513 * math/Makefile: Likewise.
48514 * signal/Makefile: Likewise.
48515 * debug/Makefile: Likewise.
48516 * elf/Makefile: Likewise.
48517 * timezone/Makefile: Likewise.
48518 * stdlib/Makefile: Likewise.
48519 * iconvdata/Makefile: Likewise.
48520 * sunrpc/Makefile: Likewise.
48521 * io/Makefile: Likewise.
48522 * argp/Makefile: Likewise.
48523 * inet/Makefile: Likewise.
48524 * hesiod/Makefile: Likewise.
48525 * grp/Makefile: Likewise.
48526 * csu/Makefile: Likewise.
48527 * wctype/Makefile: Likewise.
48528 * crypt/Makefile: Likewise.
48529 * libio/Makefile: Likewise.
48530 * string/Makefile: Likewise.
48531 * nis/Makefile: Likewise.
48532 * resolv/Makefile: Likewise.
48533 * stdio-common/Makefile: Likewise.
48534 * wcsmbs/Makefile: Likewise.
48535 * dlfcn/Makefile: Likewise.
48536 * posix/Makefile: Likewise.
48537
48538 [BZ #6959]
48539 * timezone/Makefile: Don't install timezone files, just the programs
48540 and scripts.
48541
48542 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48543
48544 * nss/databases.def: Add missing gshadow entry.
48545
48546 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48547
48548 2012-03-06 Marek Polacek <polacek@redhat.com>
48549
48550 [BZ #13726]
48551 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48552 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48553 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48554 * stdio-common/tst-long-dbl-fphex.c: New file.
48555
48556 2012-03-06 David S. Miller <davem@davemloft.net>
48557
48558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48559 (set_obp_int): New function.
48560 (get_obp_int): New function.
48561 (__get_clockfreq_via_dev_openprom): Likewise.
48562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48563 Avoid unused variable warnings on 'val' and use builtin_expect.
48564 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48565 __builtin_expect.
48566 (INLINE_CLONE_SYSCALL): Likewise.
48567
48568 2012-03-05 David S. Miller <davem@davemloft.net>
48569
48570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48571
48572 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48573
48574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48575
48576 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48577 only for |x| >= 40.
48578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48579
48580 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48581
48582 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48583 Replace gettimeofday with __vdso_gettimeofday.
48584
48585 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48586 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48587 __vdso_clock_gettime and __vdso_getcpu.
48588
48589 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48590 time with __vdso_time.
48591
48592 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48593
48594 * manual/lang.texi (size_t): Note types to which size_t may be
48595 equivalent with the GNU C Library, but do not describe when
48596 differences between them are significant.
48597
48598 2012-03-05 Andreas Jaeger <aj@suse.de>
48599
48600 * sysdeps/i386/fpu/libm-test-ulps: Update.
48601
48602 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48603
48604 [BZ #3976]
48605 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48606 (__ieee754_pow): Save and restore rounding mode and use
48607 round-to-nearest for main computations.
48608 * math/libm-test.inc (pow_test_tonearest): New function.
48609 (pow_test_towardzero): Likewise.
48610 (pow_test_downward): Likewise.
48611 (pow_test_upward): Likewise.
48612 (main): Call the new functions.
48613 * sysdeps/i386/fpu/libm-test-ulps: Update.
48614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48615
48616 [BZ #3976]
48617 * math/libm-test.inc (cosh_test_tonearest): New function.
48618 (cosh_test_towardzero): Likewise.
48619 (cosh_test_downward): Likewise.
48620 (cosh_test_upward): Likewise.
48621 (sinh_test_tonearest): Likewise.
48622 (sinh_test_towardzero): Likewise.
48623 (sinh_test_downward): Likewise.
48624 (sinh_test_upward): Likewise.
48625 (main): Call the new functions.
48626 * sysdeps/i386/fpu/libm-test-ulps: Update.
48627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48628
48629 2012-03-05 Tom de Vries <tom@codesourcery.com>
48630
48631 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48632 default stack guard is set in last bytes.
48633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48634
48635 2012-03-05 Kees Cook <keescook@chromium.org>
48636
48637 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48638
48639 [BZ #13656]
48640 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48641 possibly allocate from heap instead of stack.
48642 * stdio-common/bug-vfprintf-nargs.c: New file.
48643 * stdio-common/Makefile (tests): Add nargs overflow test.
48644
48645 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48646
48647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48648
48649 2012-03-03 Marek Polacek <polacek@redhat.com>
48650
48651 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48652 * math/math_private.h: Likewise.
48653 * stdlib/tst-strtod.c: Likewise.
48654 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48655 * sysdeps/x86_64/bits/atomic.h: Likewise.
48656
48657 2012-03-02 David S. Miller <davem@davemloft.net>
48658
48659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48663 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48664 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48665 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48666 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48667
48668 2012-03-02 Roland McGrath <roland@hack.frob.com>
48669
48670 [BZ #13792]
48671 * manual/examples/README: New file, says the example source files
48672 can be used under GPL>=2.
48673 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48674 line containing just "*/".
48675 * manual/examples/add.c: Add copyright header (GPL>=2).
48676 * manual/examples/argp-ex1.c: Likewise.
48677 * manual/examples/argp-ex2.c: Likewise.
48678 * manual/examples/argp-ex3.c: Likewise.
48679 * manual/examples/argp-ex4.c: Likewise.
48680 * manual/examples/atexit.c: Likewise.
48681 * manual/examples/db.c: Likewise.
48682 * manual/examples/dir.c: Likewise.
48683 * manual/examples/dir2.c: Likewise.
48684 * manual/examples/execinfo.c: Likewise.
48685 * manual/examples/filecli.c: Likewise.
48686 * manual/examples/filesrv.c: Likewise.
48687 * manual/examples/fmtmsgexpl.c: Likewise.
48688 * manual/examples/genpass.c: Likewise.
48689 * manual/examples/inetcli.c: Likewise.
48690 * manual/examples/inetsrv.c: Likewise.
48691 * manual/examples/isockad.c: Likewise.
48692 * manual/examples/longopt.c: Likewise.
48693 * manual/examples/memopen.c: Likewise.
48694 * manual/examples/memstrm.c: Likewise.
48695 * manual/examples/mkfsock.c: Likewise.
48696 * manual/examples/mkisock.c: Likewise.
48697 * manual/examples/mygetpass.c: Likewise.
48698 * manual/examples/pipe.c: Likewise.
48699 * manual/examples/popen.c: Likewise.
48700 * manual/examples/rprintf.c: Likewise.
48701 * manual/examples/search.c: Likewise.
48702 * manual/examples/select.c: Likewise.
48703 * manual/examples/setjmp.c: Likewise.
48704 * manual/examples/sigh1.c: Likewise.
48705 * manual/examples/sigusr.c: Likewise.
48706 * manual/examples/stpcpy.c: Likewise.
48707 * manual/examples/strdupa.c: Likewise.
48708 * manual/examples/strftim.c: Likewise.
48709 * manual/examples/strncat.c: Likewise.
48710 * manual/examples/subopt.c: Likewise.
48711 * manual/examples/swapcontext.c: Likewise.
48712 * manual/examples/termios.c: Likewise.
48713 * manual/examples/testopt.c: Likewise.
48714 * manual/examples/testpass.c: Likewise.
48715 * manual/examples/timeval_subtract.c: Likewise.
48716
48717 [BZ #13792]
48718 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48719 function to ...
48720 * manual/timeval_subtract.c.texi: ... here, new file.
48721
48722 2012-03-02 David S. Miller <davem@davemloft.net>
48723
48724 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48725
48726 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48727
48728 [BZ #3976]
48729 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48730 (__sin): Save and restore rounding mode and use round-to-nearest
48731 for all computations.
48732 (__cos): Save and restore rounding mode and use round-to-nearest
48733 for all computations.
48734 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48735 <fenv.h>.
48736 (tan): Save and restore rounding mode and use round-to-nearest for
48737 all computations.
48738 * math/libm-test.inc (cos_test_tonearest): New function.
48739 (cos_test_towardzero): Likewise.
48740 (cos_test_downward): Likewise.
48741 (cos_test_upward): Likewise.
48742 (sin_test_tonearest): Likewise.
48743 (sin_test_towardzero): Likewise.
48744 (sin_test_downward): Likewise.
48745 (sin_test_upward): Likewise.
48746 (tan_test_tonearest): Likewise.
48747 (tan_test_towardzero): Likewise.
48748 (tan_test_downward): Likewise.
48749 (tan_test_upward): Likewise.
48750 (main): Call the new functions.
48751 * sysdeps/i386/fpu/libm-test-ulps: Update.
48752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48753
48754 [BZ #10135]
48755 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48756 small n, then large n, before computing and testing k+n.
48757 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48759 Likewise.
48760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48761 Likewise.
48762 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48763 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48766 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48767 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48770 * math/libm-test.inc (scalbn_test): Add more tests.
48771 (scalbln_test): Likewise.
48772
48773 * manual/filesys.texi (mode_t): Describe constraints on size and
48774 signedness, not exact equivalence to a particular type.
48775 (ino_t): Likewise.
48776 (ino64_t): Likewise.
48777 (dev_t): Likewise.
48778 (nlink_t): Likewise.
48779 (blkcnt_t): Likewise.
48780 (blkcnt64_t): Likewise.
48781 * manual/llio.texi (off_t): Likewise.
48782
48783 [BZ #3976]
48784 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48785 (__ieee754_exp): Save and restore rounding mode and use
48786 round-to-nearest for all computations.
48787 * math/libm-test.inc (exp_test_tonearest): New function.
48788 (exp_test_towardzero): Likewise.
48789 (exp_test_downward): Likewise.
48790 (exp_test_upward): Likewise.
48791 (main): Call the new functions.
48792 * sysdeps/i386/fpu/libm-test-ulps: Update.
48793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48794
48795 2012-03-01 Chris Demetriou <cgd@google.com>
48796
48797 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48798 have predictable order.
48799
48800 2012-03-01 David S. Miller <davem@davemloft.net>
48801
48802 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48803
48804 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48805 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48806 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48807 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48808
48809 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48810 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48811 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48813 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48814 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48815 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48816 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48817 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48818
48819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48820
48821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48822 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48823 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48824
48825 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48826 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48827 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48828 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48829 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48831 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48832 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48833 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48834 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48835 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48836 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48837 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48841 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48842 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48843 * sysdeps/sparc/elf/configure: Regenerated.
48844
48845 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48846
48847 * configure.in (AS, LD): Require binutils 2.20 or later.
48848 * configure: Regenerated.
48849 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48850 as required minimum version.
48851 * INSTALL: Regenerated.
48852
48853 [BZ #2541]
48854 [BZ #4108]
48855 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48856 before squaring exponent.
48857 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48858 bottom long double and 27 bits of top long double before squaring
48859 exponent.
48860 * math/libm-test.inc (erfc_test): Add more tests.
48861 * sysdeps/i386/fpu/libm-test-ulps: Update.
48862 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48864
48865 2012-03-01 Kai Tietz <ktietz@redhat.com>
48866
48867 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48868 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48869 containing bit-fields.
48870 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48871 * soft-fp/single.h (_FP_UNION_S): Likewise.
48872 * soft-fp/double.h (_FP_UNION_D): Likewise.
48873
48874 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48875
48876 [BZ #13786]
48877 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48878 not include ../strcmp.S.
48879 [USE_AS_STRNCASECMP_L]: Likewise.
48880 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48881 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48882 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48883 (__strncasecmp_l_ia32): Define as alias to
48884 __strncasecmp_l_nonascii.
48885
48886 [BZ #5794]
48887 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48888 * sysdeps/i386/fpu/libm-test-ulps: Update.
48889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48890
48891 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48893
48894 2012-02-29 Jeff Law <law@redhat.com>
48895
48896 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48897 out of bounds read.
48898
48899 2012-02-29 Marek Polacek <polacek@redhat.com>
48900
48901 [BZ #13706]
48902 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48903 * elf/Makefile: Add rules to run tst-unused-dep.out.
48904
48905 2012-02-28 David S. Miller <davem@davemloft.net>
48906
48907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48911 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48912 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48913
48914 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48915
48916 * math/libm-test.inc (llround_test): Move one test from
48917 lround_test. Use TEST_f_L in moved test.
48918 (lround_test): Move misplaced test to llround_test. Add testcase
48919 from bug 2561.
48920
48921 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48922
48923 * sysdeps/x86_64/fpu/e_expf.S: New file.
48924 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48925
48926 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48927
48928 [BZ #13637]
48929 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48930 of remain_len that may cause incomplete multi-byte character and
48931 false match.
48932 * posix/bug-regex33.c: New file.
48933 * posix/Makefile (tests): Add bug-regex33.
48934
48935 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48936
48937 * manual/macros.texi: New file.
48938 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48939 * manual/libc.texinfo: Include macros.texi.
48940 * manual/creatute.texi: Likewise.
48941 * manual/install.texi: Likewise.
48942 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48943 @glibcadj{} in references to the GNU C Library.
48944 * manual/charset.texi: Likewise.
48945 * manual/conf.texi: Likewise.
48946 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48947 when not using those macros.
48948 * manual/creature.texi: Likewise.
48949 * manual/crypt.texi: Likewise.
48950 * manual/errno.texi: Likewise.
48951 * manual/filesys.texi: Likewise.
48952 * manual/header.texi: Likewise.
48953 * manual/install.texi: Likewise.
48954 * manual/intro.texi: Likewise.
48955 * manual/io.texi: Likewise.
48956 * manual/job.texi: Likewise.
48957 * manual/lang.texi: Likewise.
48958 * manual/libc.texiinfo: Likewise.
48959 * manual/llio.texi: Likewise.
48960 * manual/locale.texi: Likewise.
48961 * manual/maint.texi: Likewise.
48962 * manual/math.texi: Likewise.
48963 * manual/memory.texi: Likewise.
48964 * manual/message.texi: Likewise.
48965 * manual/nss.texi: Likewise.
48966 * manual/pattern.texi: Likewise.
48967 * manual/process.texi: Likewise.
48968 * manual/resource.texi: Likewise.
48969 * manual/search.texi: Likewise.
48970 * manual/setjmp.texi: Likewise.
48971 * manual/signal.texi: Likewise.
48972 * manual/socket.texi: Likewise.
48973 * manual/startup.texi: Likewise.
48974 * manual/stdio.texi: Likewise.
48975 * manual/string.texi: Likewise.
48976 * manual/sysinfo.texi: Likewise.
48977 * manual/syslog.texi: Likewise.
48978 * manual/terminal.texi: Likewise.
48979 * manual/time.texi: Likewise.
48980 * manual/users.texi: Likewise.
48981 * INSTALL: Regenerated.
48982 * NOTES: Regenerated.
48983 * sysdeps/gnu/errlist.c: Regenerated.
48984
48985 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48986
48987 * include/dirent.h: Include <dirstream.h> before
48988 <dirent/dirent.h>.
48989
48990 2012-02-28 David S. Miller <davem@davemloft.net>
48991
48992 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48993 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48994 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48995 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48996
48997 2012-02-27 David S. Miller <davem@davemloft.net>
48998
48999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49001 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49002 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49003
49004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49005 frame pointer instead of stack pointer relative arg slot.
49006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49007 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49008 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49009
49010 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49011
49012 [BZ #3992]
49013 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49014
49015 2012-02-27 David S. Miller <davem@davemloft.net>
49016
49017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49021 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49022 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49023 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49024 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49025
49026 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49027
49028 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49029 later. Allow versions 5-9.
49030 * configure: Regenerated.
49031 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49032 required minimum version and 4.6 as recommended version. Do not
49033 mention bugs in GCC 2.7 and 2.8.
49034 * INSTALL: Regenerated.
49035
49036 2012-02-27 David S. Miller <davem@davemloft.net>
49037
49038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49042 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49043 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49044 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49045 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49046
49047 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49048 manipulate bits before adding and subtracting TWO112[sx].
49049 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49050
49051 2012-02-27 Roland McGrath <roland@hack.frob.com>
49052
49053 [BZ #13775]
49054 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49055 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49056 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49057 being in POSIX, because they are in 1003.1-2008.
49058
49059 * rt/tst-aio.c: Include <fcntl.h>.
49060 * rt/tst-aio7.c: Likewise.
49061 * rt/tst-aio64.c: Likewise.
49062
49063 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49064
49065 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49066
49067 * manual/install.texi (--with-headers): Describe headers as
49068 interface headers, not private headers.
49069 (Specific advice for GNU/Linux systems): Describe use of headers
49070 from "make headers_install", not private headers from older
49071 kernels.
49072 * INSTALL: Regenerated.
49073 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49074 Change to 2.6.19.
49075 * sysdeps/unix/sysv/linux/configure: Regenerated.
49076
49077 * manual/llio.texi (fclean): Remove documentation.
49078
49079 * manual/Makefile (libc-texi-generated): New variable. Include
49080 version.texi.
49081 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49082 $(libc-texi-generated), not duplicated list of files.
49083 (version.texi, stamp-version): New rules.
49084 (realclean): Remove $(libc-texi-generated), not individual files
49085 from that list. Do not remove dir-add.texinfo.
49086 * manual/libc.texinfo: Comment out uses of edition numbers and
49087 references to printed manual. Remove last-updated dates.
49088 (EDITION): Comment out.
49089 (ISBN): Likewise.
49090 (VERSION, UPDATED): Remove.
49091 (version.texi): Include.
49092
49093 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49094
49095 * sysdeps/posix/spawni.c: Include <signal.h>.
49096 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49097 * sysdeps/pthread/aio_fsync.c: Likewise.
49098
49099 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49100
49101 * conform/Makefile (tests): Run only when not cross-compiling and
49102 when fast-check is not defined.
49103
49104 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49105 * conform/data/limits.h-data: Fixes for POSIX2008.
49106 * conform/run-conformtest.sh: Run all tests.
49107 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49108 headers.
49109 * include/bits/dlfcn.h: Likewise.
49110 * include/langinfo.h: Likewise.
49111 * include/monetary.h: Likewise.
49112 * include/sys/poll.h: Likewise.
49113
49114 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49115 for __USE_GNU.
49116 * posix/spawn.h: Define __need_sigset_t.
49117 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49118 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49119 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49120 to get sigevent_t only.
49121 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49122 only for __USE_GNU.
49123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49124 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49125 process_vm_writev only for __USE_GNU.
49126 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49127
49128 * conform/Makefile: For now ignore errors from run-conformtest.
49129 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49130 POSIX to avoid namespace pollution. Don't prepend headers.
49131 * conform/data/aio.h-data: Fixes for POSIX testing.
49132 * conform/data/fcntl.h-data: Likewise.
49133 * conform/data/glob.h-data: Likewise.
49134 * conform/data/grp.h-data: Likewise.
49135 * conform/data/pthread.h-data: Likewise.
49136 * conform/data/pwd.h-data: Likewise.
49137 * conform/data/signal.h-data: Likewise.
49138 * conform/data/spawn.h-data: Likewise.
49139 * conform/data/stdio.h-data: Likewise.
49140 * conform/data/stdlib.h-data: Likewise.
49141 * conform/data/stropts.h-data: Likewise.
49142 * conform/data/sys/mman.h-data: Likewise.
49143 * conform/data/sys/stat.h-data: Likewise.
49144 * conform/data/sys/types.h-data: Likewise.
49145 * conform/data/sys/wait.h-data: Likewise.
49146 * conform/data/time.h-data: Likewise.
49147 * conform/data/unistd.h-data: Likewise.
49148 * conform/data/utime.h-data: Likewise.
49149
49150 * io/sys/stat.h: fchmod was always in POSIX.
49151 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49152 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49153 * rt/aio.h: Define __need_timespec before including <time.h>.
49154 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49155 struct. Add forward declaration of pthread_attr_t and use it in
49156 sigevent.
49157 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49158 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49159 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49160 always remove CLK_TCK definition.
49161
49162 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49163
49164 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49165
49166 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49167
49168 * conform/run-conformtest.sh: New file.
49169 * conform/Makefile: Run run-conformtest for tests.
49170 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49171 support.
49172
49173 * conform/data/uchar.h-data: New file.
49174 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49175 * conform/data/arpa/inet.h-data: Likewise.
49176 * conform/data/assert.h-data: Likewise.
49177 * conform/data/complex.h-data: Likewise.
49178 * conform/data/cpio.h-data: Likewise.
49179 * conform/data/ctype.h-data: Likewise.
49180 * conform/data/dirent.h-data: Likewise.
49181 * conform/data/dlfcn.h-data: Likewise.
49182 * conform/data/errno.h-data: Likewise.
49183 * conform/data/fcntl.h-data: Likewise.
49184 * conform/data/float.h-data: Likewise.
49185 * conform/data/fmtmsg.h-data: Likewise.
49186 * conform/data/fnmatch.h-data: Likewise.
49187 * conform/data/ftw.h-data: Likewise.
49188 * conform/data/glob.h-data: Likewise.
49189 * conform/data/grp.h-data: Likewise.
49190 * conform/data/iconv.h-data: Likewise.
49191 * conform/data/inttypes.h-data: Likewise.
49192 * conform/data/langinfo.h-data: Likewise.
49193 * conform/data/libgen.h-data: Likewise.
49194 * conform/data/limits.h-data: Likewise.
49195 * conform/data/locale.h-data: Likewise.
49196 * conform/data/math.h-data: Likewise.
49197 * conform/data/monetary.h-data: Likewise.
49198 * conform/data/mqueue.h-data: Likewise.
49199 * conform/data/ndbm.h-data: Likewise.
49200 * conform/data/net/if.h-data: Likewise.
49201 * conform/data/netdb.h-data: Likewise.
49202 * conform/data/netinet/in.h-data: Likewise.
49203 * conform/data/nl_types.h-data: Likewise.
49204 * conform/data/poll.h-data: Likewise.
49205 * conform/data/pthread.h-data: Likewise.
49206 * conform/data/pwd.h-data: Likewise.
49207 * conform/data/regex.h-data: Likewise.
49208 * conform/data/sched.h-data: Likewise.
49209 * conform/data/search.h-data: Likewise.
49210 * conform/data/semaphore.h-data: Likewise.
49211 * conform/data/setjmp.h-data: Likewise.
49212 * conform/data/signal.h-data: Likewise.
49213 * conform/data/spawn.h-data: Likewise.
49214 * conform/data/stdarg.h-data: Likewise.
49215 * conform/data/stdio.h-data: Likewise.
49216 * conform/data/stdlib.h-data: Likewise.
49217 * conform/data/string.h-data: Likewise.
49218 * conform/data/strings.h-data: Likewise.
49219 * conform/data/stropts.h-data: Likewise.
49220 * conform/data/sys/ipc.h-data: Likewise.
49221 * conform/data/sys/mman.h-data: Likewise.
49222 * conform/data/sys/msg.h-data: Likewise.
49223 * conform/data/sys/resource.h-data: Likewise.
49224 * conform/data/sys/select.h-data: Likewise.
49225 * conform/data/sys/sem.h-data: Likewise.
49226 * conform/data/sys/shm.h-data: Likewise.
49227 * conform/data/sys/socket.h-data: Likewise.
49228 * conform/data/sys/stat.h-data: Likewise.
49229 * conform/data/sys/statvfs.h-data: Likewise.
49230 * conform/data/sys/time.h-data: Likewise.
49231 * conform/data/sys/timeb.h-data: Likewise.
49232 * conform/data/sys/times.h-data: Likewise.
49233 * conform/data/sys/types.h-data: Likewise.
49234 * conform/data/sys/uio.h-data: Likewise.
49235 * conform/data/sys/un.h-data: Likewise.
49236 * conform/data/sys/utsname.h-data: Likewise.
49237 * conform/data/sys/wait.h-data: Likewise.
49238 * conform/data/syslog.h-data: Likewise.
49239 * conform/data/tar.h-data: Likewise.
49240 * conform/data/termios.h-data: Likewise.
49241 * conform/data/utime.h-data: Likewise.
49242 * conform/data/utmpx.h-data: Likewise.
49243 * conform/data/varargs.h-data: Likewise.
49244 * conform/data/wchar.h-data: Likewise.
49245 * conform/data/wctype.h-data: Likewise.
49246 * conform/data/wordexp.h-data: Likewise.
49247
49248 * include/stropts.h: New file.
49249 * include/uchar.h: New file.
49250 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49251 * include/assert.h: Likewise.
49252 * include/ctype.h: Likewise.
49253 * include/dirent.h: Likewise.
49254 * include/dlfcn.h: Likewise.
49255 * include/fcntl.h: Likewise.
49256 * include/fnmatch.h: Likewise.
49257 * include/glob.h: Likewise.
49258 * include/grp.h: Likewise.
49259 * include/libio.h: Likewise.
49260 * include/locale.h: Likewise.
49261 * include/math.h: Likewise.
49262 * include/net/if.h: Likewise.
49263 * include/netdb.h: Likewise.
49264 * include/netinet/in.h: Likewise.
49265 * include/pthread.h: Likewise.
49266 * include/pwd.h: Likewise.
49267 * include/regex.h: Likewise.
49268 * include/sched.h: Likewise.
49269 * include/search.h: Likewise.
49270 * include/setjmp.h: Likewise.
49271 * include/signal.h: Likewise.
49272 * include/stdio.h: Likewise.
49273 * include/stdlib.h: Likewise.
49274 * include/string.h: Likewise.
49275 * include/sys/cdefs.h: Likewise.
49276 * include/sys/mman.h: Likewise.
49277 * include/sys/msg.h: Likewise.
49278 * include/sys/resource.h: Likewise.
49279 * include/sys/select.h: Likewise.
49280 * include/sys/socket.h: Likewise.
49281 * include/sys/stat.h: Likewise.
49282 * include/sys/statvfs.h: Likewise.
49283 * include/sys/time.h: Likewise.
49284 * include/sys/times.h: Likewise.
49285 * include/sys/uio.h: Likewise.
49286 * include/sys/utsname.h: Likewise.
49287 * include/sys/wait.h: Likewise.
49288 * include/termios.h: Likewise.
49289 * include/time.h: Likewise.
49290 * include/ulimit.h: Likewise.
49291 * include/unistd.h: Likewise.
49292 * include/utime.h: Likewise.
49293 * include/wchar.h: Likewise.
49294 * include/wctype.h: Likewise.
49295 * include/wordexp.h: Likewise.
49296
49297 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49298
49299 * time/time.h: TIME_UTC must be a macro.
49300 Make timespec_get available for ISO C11 only as well.
49301
49302 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49303
49304 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49305 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49306
49307 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49308
49309 * configure.in: Use -o not -a in test for unsupported multi-arch.
49310
49311 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49312
49313 * manual/texinfo.tex: Update to version 2012-01-19.16.
49314
49315 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49316
49317 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49318
49319 2012-02-24 Roland McGrath <roland@hack.frob.com>
49320
49321 [BZ #13738]
49322 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49323 * manual/fdl-1.3.texi: New file.
49324 * manual/fdl-1.1.texi: File removed.
49325
49326 [BZ #13738]
49327 * manual/libc.texinfo (FDL_VERSION): New @set.
49328 Use it for mention of FDL in cover text.
49329 (Documentation License): Use it in @include file name.
49330
49331 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49332 Roland McGrath <roland@hack.frob.com>
49333
49334 [BZ #5461]
49335 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49336 (not LONG_LONG_MAX and LONG_LONG_MIN.
49337 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49338 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49339 name.
49340 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49341
49342 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49343
49344 [BZ #2547]
49345 [BZ #11365]
49346 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49347 manipulate bits before adding and subtracting TWO23[sx].
49348 * math/libm-test.inc (nearbyint_test): Add more tests.
49349
49350 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49351
49352 [BZ #2548]
49353 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49354 bits before adding and subtracting TWO23[sx].
49355 * math/libm-test.inc (rint_test): Add more tests.
49356 (rint_test_tonearest): Likewise.
49357 (rint_test_towardzero): Likewise.
49358 (rint_test_downward): Likewise.
49359 (rint_test_upward: Likewise.
49360
49361 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49362
49363 [BZ #10110]
49364 * include/stdc-predef.h: New file. Extracted from features.h.
49365 * include/features.h: Include stdc-predef.h.
49366 * Makefile (headers): Add stdc-predef.h.
49367 * CONFORMANCE (Compiler limitations): Update.
49368
49369 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49370
49371 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49372
49373 2012-02-21 David S. Miller <davem@davemloft.net>
49374
49375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49376 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49377
49378 2012-02-20 David S. Miller <davem@davemloft.net>
49379
49380 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49381 using a normal save/restore sequence, rather than allocating a
49382 dummy stack frame just to store a frame pointer and restore.
49383 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49384
49385 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49386
49387 * manual/install.texi: Fix stray word in line-wrapped comment.
49388
49389 2012-02-20 David S. Miller <davem@davemloft.net>
49390
49391 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49392 both binutils and gcc support GOTDATA.
49393
49394 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49395 "rd %pc" in the PIC register setup sequences.
49396
49397 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49398 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49399 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49400 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49401 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49404 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49406 (SYSCALL_ERROR_HANDLER): Likewise.
49407 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49408 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49409 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49410 (SYSCALL_ERROR_HANDLER): Likewise.
49411
49412 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49413 (HAVE_GCC_GOTDATA): New.
49414 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49415 relocation support in both binutils and gcc.
49416 * sysdeps/sparc/elf/configure: Regenerate.
49417
49418 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49419 * sysdeps/sparc/sparc32/elf/configure: Delete.
49420 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49421 * sysdeps/sparc/sparc64/elf/configure: Delete.
49422 * sysdeps/sparc/elf/configure.in: New file.
49423 * sysdeps/sparc/elf/configure: Generate.
49424
49425 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49426 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49427 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49428 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49429 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49430
49431 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49432
49433 * manual/install.texi: Do not mention specific glibc version
49434 numbers.
49435 * manual/libc.texinfo (VERSION, UPDATED): Update.
49436 (@copying): Use @copyright{} and range of years.
49437
49438 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49439
49440 [BZ #13695]
49441 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49442 [crti.S not in sysdirs] (generated): Do not append.
49443 [crti.S not in sysdirs] (omit-deps): Likewise.
49444 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49445 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49446 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49447 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49448 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49449 Likewise.
49450 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49451 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49452 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49453 * csu/defs.awk: Remove file.
49454 * sysdeps/generic/initfini.c: Likewise.
49455 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49456 variable.
49457 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49458 Likewise.
49459
49460 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49461
49462 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49463 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49464 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49465 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49466 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49467 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49468 <bits/epoll.h>.
49469 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49470 (__EPOLL_PACKED): Define to empty if not defined by
49471 <bits/epoll.h>.
49472 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49474 bits/epoll.h.
49475
49476 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49477
49478 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49479 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49480 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49481 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49482 <bits/timerfd.h>.
49483 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49485 bits/timerfd.h.
49486
49487 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49488
49489 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49490 in C locale.
49491 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49492 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49493 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49495
49496 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49497
49498 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49499 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49500
49501 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49502
49503 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49504 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49505 defined.
49506 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49507 Likewise.
49508 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49509 entry for 2.16.
49510
49511 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49512
49513 * math/w_acos.c: Use non-signaling floating-point comparisons.
49514 * math/w_acosf.c: Likewise.
49515 * math/w_acosh.c: Likewise.
49516 * math/w_acoshf.c: Likewise.
49517 * math/w_acoshl.c: Likewise.
49518 * math/w_acosl.c: Likewise.
49519 * math/w_asin.c: Likewise.
49520 * math/w_asinf.c: Likewise.
49521 * math/w_asinl.c: Likewise.
49522 * math/w_atanh.c: Likewise.
49523 * math/w_atanhf.c: Likewise.
49524 * math/w_atanhl.c: Likewise.
49525 * math/w_exp2.c: Likewise.
49526 * math/w_exp2f.c: Likewise.
49527 * math/w_exp2l.c: Likewise.
49528 * math/w_j0.c: Likewise.
49529 * math/w_j0f.c: Likewise.
49530 * math/w_j0l.c: Likewise.
49531 * math/w_j1.c: Likewise.
49532 * math/w_j1f.c: Likewise.
49533 * math/w_j1l.c: Likewise.
49534 * math/w_jn.c: Likewise.
49535 * math/w_jnf.c: Likewise.
49536 * math/w_log.c: Likewise.
49537 * math/w_log10.c: Likewise.
49538 * math/w_log10f.c: Likewise.
49539 * math/w_log10l.c: Likewise.
49540 * math/w_log2.c: Likewise.
49541 * math/w_log2f.c: Likewise.
49542 * math/w_log2l.c: Likewise.
49543 * math/w_logf.c: Likewise.
49544 * math/w_logl.c: Likewise.
49545 * math/w_sqrt.c: Likewise.
49546 * math/w_sqrtf.c: Likewise.
49547 * math/w_sqrtl.c: Likewise.
49548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49549 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49552 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49553
49554 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49555
49556 [BZ #9739]
49557 * manual/string.texi (strnlen): Use correct parameter name in
49558 equivalent expression.
49559
49560 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49561
49562 [BZ #11174]
49563 * manual/users.texi (seteuid): Consistently use neweuid for
49564 argument name.
49565
49566 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49567
49568 [BZ #13704]
49569 * manual/nss.texi (Services in the NSS configuration): Correct
49570 list of services in example configuration file.
49571
49572 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49573
49574 [BZ #11322]
49575 * manual/arith.texi: Remove statements about negative zero
49576 behaving identically to zero.
49577
49578 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49579
49580 [BZ #5993]
49581 * manual/install.texi: Do not document upgrading from libc5.
49582
49583 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49584
49585 [BZ #4596]
49586 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49587
49588 2012-02-18 David S. Miller <davem@davemloft.net>
49589
49590 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49591 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49592 %o7 across the call.
49593 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49594 instead.
49595 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49596 SETUP_PIC_REG_LEAF.
49597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49598 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49599 * sysdeps/sparc/crtn.S: Likewise.
49600
49601 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49602
49603 * aout/Makefile: Remove.
49604
49605 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49606
49607 [BZ #13058]
49608 * manual/examples/argp-ex1.c (main): Format definition in GNU
49609 style.
49610 * manual/examples/argp-ex2.c (main): Likewise.
49611 * manual/examples/argp-ex3.c (main): Likewise.
49612 * manual/examples/argp-ex4.c (main): Likewise.
49613 * manual/examples/longopt.c (main): Use new-style prototype
49614 definition.
49615 * manual/examples/strncat.c (main): Specify return type and use
49616 (void) for arguments.
49617 * manual/examples/subopt.c (main): Use char **argv argument.
49618
49619 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49620
49621 [BZ #5077]
49622 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49623 rounding modes.
49624
49625 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49626
49627 [BZ #6907]
49628 * manual/string.texi (strchr): Change when strchrnul is
49629 recommended.
49630
49631 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49632
49633 [BZ #174]
49634 * manual/locale.texi (setlocale): Document LOCPATH.
49635
49636 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49637
49638 [BZ #10210]
49639 * manual/process.texi (execle): Move @dots{} before last argument.
49640
49641 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49642
49643 [BZ #12047]
49644 * manual/charset.texi (Generic Charset Conversion): Fix typo
49645 (LC_TYPE -> LC_CTYPE).
49646
49647 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49648
49649 [BZ #5805]
49650 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49651 (scalbnf): Likewise.
49652 (scalbnl): Likewise.
49653 (scalbln): Likewise.
49654 (scalblnf): Likewise.
49655 (scalblnl): Likewise.
49656 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49657 (vwarnx): Likewise.
49658 (verr): Likewise.
49659 (verrx): Likewise.
49660 * manual/filesys.texi (telldir): Use braces around return type.
49661 * manual/llio.texi (mmap): Add space after comma.
49662 (mmap64): Likewise.
49663 * manual/math.texi (jn): Use @var{} on parameter names.
49664 (jnf): Likewise.
49665 (jnl): Likewise.
49666 (yn): Likewise.
49667 (ynf): Likewise.
49668 (ynl): Likewise.
49669 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49670 line.
49671 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49672 "...".
49673 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49674 (sched_get_priority_max): Likewise.
49675 * manual/signal.texi (sigvec): Add space after comma.
49676 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49677 names.
49678 (if_indextoname): Likewise.
49679 (if_freenameindex): Likewise.
49680 (sendto): Use ',' instead of '.' in prototype.
49681 * manual/startup.texi (syscall): Use @dots{} instead of literal
49682 "...".
49683 * manual/stdio.texi (__fpending): Separate initial words of
49684 paragraph from @deftypefun line.
49685 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49686 "...".
49687 (vsyslog): Use @var{} on parameter names.
49688 * manual/terminal.texi (stty): Use @var{} on parameter names.
49689 * manual/users.texi (getutmp): Use @var{} on parameter names.
49690 (getutmpx): Likewise.
49691
49692 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49693
49694 [BZ #6884]
49695 * manual/stdio.texi (fopen): Fix typos in description of
49696 ",ccs=STRING".
49697
49698 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49699
49700 [BZ #4026]
49701 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49702 get clock_id definition.
49703
49704 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49705
49706 [BZ #4822]
49707 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49708 (madvise): Cast every argument to void on its own.
49709
49710 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49711
49712 [BZ #9902]
49713 * manual/startup.texi (Exit Status): Fix typo.
49714
49715 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49716
49717 [BZ #10140]
49718 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49719 * manual/examples/argp-ex2.c: Likewise.
49720 * manual/examples/argp-ex3.c: Likewise.
49721
49722 2012-02-16 Richard Henderson <rth@redhat.com>
49723
49724 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49725 * sysdeps/s390/s390-32/initfini.c: Remove.
49726 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49727 * sysdeps/s390/s390-64/initfini.c: Remove.
49728
49729 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49730
49731 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49732 compiler output for sysdeps/generic/initfini.c.
49733 * sysdeps/sh/elf/initfini.c: Remove file.
49734
49735 2012-02-16 David S. Miller <davem@davemloft.net>
49736
49737 [BZ #11494]
49738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49739
49740 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49741 * sysdeps/sparc/crti.S: New file.
49742 * sysdeps/sparc/crtn.S: New file.
49743 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49744 * sysdeps/sparc/sparc64/Makefile: Likewise.
49745
49746 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49747
49748 [BZ #3335]
49749 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49750
49751 2012-02-15 Roland McGrath <roland@hack.frob.com>
49752
49753 [BZ #4822]
49754 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49755
49756 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49757 (write, read, close): Likewise.
49758 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49759
49760 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49761
49762 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49763 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49764 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49765 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49766 <bits/signalfd.h>.
49767 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49769 bits/signalfd.h.
49770
49771 2012-02-14 Marek Polacek <polacek@redhat.com>
49772
49773 * sysdeps/x86_64/crti.S: New file.
49774 * sysdeps/x86_64/crtn.S: New file.
49775 * sysdeps/x86_64/elf/initfini.c: Remove file.
49776
49777 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49778
49779 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49780 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49781 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49782 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49783 <bits/inotify.h>.
49784 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49786 bits/inotify.h.
49787
49788 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49789
49790 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49791 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49792 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49793 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49794 <bits/eventfd.h>.
49795 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49797 bits/eventfd.h.
49798
49799 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49800
49801 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49802 __feraiseexcept instead of feraiseexcept.
49803
49804 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49805 nanosleep invocations.
49806 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49807 strings, and add error checking for a nanosleep invocations.
49808
49809 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49810
49811 Replace FSF snail mail address with URLs, as per GNU coding standards.
49812 Most of the snail mail addresses were wrong anyway, and omitting
49813 them makes the source code easier to maintain. Almost all of the
49814 changes are to license notices and to locale LC_IDENTIFICATION
49815 addresses, except for this one:
49816 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49817 not its snail mail address.
49818
49819 2012-02-09 Richard Henderson <rth@twiddle.net>
49820
49821 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49822 of kernel-features.h.
49823
49824 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49825
49826 2012-02-08 Marek Polacek <polacek@redhat.com>
49827
49828 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49829 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49830 * sysdeps/gnu/_G_config.h: Likewise.
49831 * sysdeps/generic/_G_config.h: Likewise.
49832
49833 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49834
49835 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49836 tests.
49837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49838
49839 * sysdeps/powerpc/powerpc32/crti.S: New file.
49840 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49841 * sysdeps/powerpc/powerpc64/crti.S: New file.
49842 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49843
49844 * Makeconfig (have-initfini): Don't set.
49845 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49846 * configure.in (nopic_initfini): Don't substitute.
49847 * config.h.in (HAVE_INITFINI): Don't #undef.
49848 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49849 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49850
49851 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49852
49853 Support crti.S and crtn.S provided directly by architectures.
49854 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49855 [crti.S in sysdirs] (omit-deps): Likewise.
49856 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49857 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49858 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49859 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49860 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49861 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49862 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49863 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49864 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49865 compiler output for sysdeps/generic/initfini.c.
49866 * sysdeps/i386/elf/Makefile: Remove file.
49867 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49868
49869 2012-02-07 Marek Polacek <polacek@redhat.com>
49870
49871 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49872 * sysdeps/gnu/_G_config.h: Likewise.
49873 * sysdeps/mach/hurd/_G_config.h: Likewise.
49874
49875 2012-02-07 Marek Polacek <polacek@redhat.com>
49876
49877 * math/Makefile (tests): Add tst-CMPLX2.
49878 * math/tst-CMPLX2.c: New file.
49879
49880 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49881
49882 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49883
49884 * math/libm-test.inc (jn_test): Add missing L suffix.
49885
49886 2012-02-06 Marek Polacek <polacek@redhat.com>
49887
49888 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49889 * sysdeps/i386/fpu/e_powf.S: Likewise.
49890 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49891 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49892 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49893 * sysdeps/i386/fpu/e_pow.S: Likewise.
49894 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49895 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49896 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49897 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49898 * sysdeps/i386/fpu/e_log2.S: Likewise.
49899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49900 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49901 * sysdeps/i386/fpu/e_powl.S: Likewise.
49902 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49903 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49904 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49905 * sysdeps/i386/fpu/e_logl.S: Likewise.
49906 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49907 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49908 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49909 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49910 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49911 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49912 * sysdeps/i386/fpu/e_log.S: Likewise.
49913 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49914 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49915 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49916 * sysdeps/i386/fpu/e_logf.S: Likewise.
49917 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49918 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49919 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49920 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49921 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49922 * sysdeps/i386/fpu/e_log10.S: Likewise.
49923 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49924 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49925 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49926 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49927 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49928 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49929 * sysdeps/i386/asm-syntax.h: Likewise.
49930 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49931 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49932 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49933 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49934 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49935 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49936 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49937 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49938 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49939 * sysdeps/powerpc/sysdep.h: Likewise.
49940 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49941 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49942
49943 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49944
49945 [BZ #411]
49946 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49947
49948 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49949
49950 * sysdeps/i386/sysdep.h: Include <features.h>.
49951 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49952 version.
49953
49954 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49955
49956 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49957 Define.
49958 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49959 LOAD_PIC_REG_STR.
49960
49961 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49962
49963 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49964 (SETUP_PIC_REG): Use GET_PC_THUNK.
49965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49966 macro.
49967
49968 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49969
49970 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49971 for non-PIC compilation.
49972 (SETUP_PIC_REG): Add .p2align directive.
49973 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49974 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49975 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49976 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49978 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49979 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49981 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49982 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49983 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49984 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49985 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49986 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49987 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49988 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49989 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49990 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49991 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49992 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49995 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49996 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49997 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50000 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50001 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50002 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50003 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50004 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50005 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50006 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50007 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50008 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50009 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50010 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50011 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50012 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50013 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50014
50015 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50016
50017 * math/tst-CMPLX.c: Include <stdio.h>.
50018
50019 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50020
50021 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50022 float.
50023 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50024 * sysdeps/sparc/bits/mathdef.h: Likewise.
50025
50026 2012-01-31 Marek Polacek <polacek@redhat.com>
50027
50028 * libio/libio.h: Don't define _PARAMS.
50029 * locale/programs/config.h: Don't define PARAMS.
50030 * stdlib/strtol_l.c: Likewise.
50031 (__strtol_l): Remove PARAMS from the prototype.
50032
50033 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50034
50035 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50036 names. Just use the correct names. Remove unnecessary wrapper
50037 functions.
50038 * malloc/arena.c: Likewise.
50039 * malloc/hooks.c: Likewise.
50040
50041 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50042 ARENA_TEST says not to. Simplify test for creation of a new arena.
50043 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50044
50045 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50046
50047 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50048 into tail calls.
50049 (update_get_addr): New function.
50050 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50051 GET_ADDR_MODULE parameter.
50052
50053 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50054
50055 * crypt/cert.c: Remove __STDC__ conditionals.
50056 * crypt/crypt-entry.c: Likewise.
50057 * crypt/crypt_util.c: Likewise.
50058 * libio/filedoalloc.c: Likewise.
50059 * libio/fileops.c: Likewise.
50060 * libio/genops.c: Likewise.
50061 * libio/iofclose.c: Likewise.
50062 * libio/iofdopen.c: Likewise.
50063 * libio/iofopen.c: Likewise.
50064 * libio/iofopen64.c: Likewise.
50065 * libio/iogetdelim.c: Likewise.
50066 * libio/iopopen.c: Likewise.
50067 * libio/obprintf.c: Likewise.
50068 * libio/oldfileops.c: Likewise.
50069 * libio/oldiofclose.c: Likewise.
50070 * libio/oldiofdopen.c: Likewise.
50071 * libio/oldiofopen.c: Likewise.
50072 * libio/oldiopopen.c: Likewise.
50073 * libio/wfiledoalloc.c: Likewise.
50074 * libio/wgenops.c: Likewise.
50075 * locale/programs/xmalloc.c: Likewise.
50076 * misc/syslog.c: Likewise.
50077 * stdio-common/xbug.c: Likewise.
50078 * string/memchr.c: Likewise.
50079 * string/memcmp.c: Likewise.
50080 * string/memrchr.c: Likewise.
50081 * string/rawmemchr.c: Likewise.
50082 * sysdeps/posix/getcwd.c: Likewise.
50083 * time/strftime_l.c: Likewise.
50084
50085 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50086
50087 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50088 * config.make.in (config-cflags-sse2avx): Define.
50089 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50090 Fix typo.
50091
50092 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50093
50094 * scripts/config.guess: Update from upstream config git repository.
50095 * scripts/config.sub: Likewise.
50096
50097 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50098
50099 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50100 (EM_NUM): Update.
50101 (R_TILEPRO_*, R_TILEGX_*): New macros.
50102
50103 * scripts/firstversions.awk: Fix bug in version range handling.
50104
50105 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50106
50107 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50108
50109 * include/sys/epoll.h: New file.
50110 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50111 libc_hidden_def.
50112
50113 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50114
50115 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50116 Avoid unnecessary __WORDSIZE == 64 test.
50117 (fmaxf): Use VEX format if possible.
50118 (fmax): Likewise.
50119 (fminf): Likewise.
50120 (fmin): Likewise.
50121
50122 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50123 * math/math_private.h: Remove libc_fegetround* and
50124 libc_fesetround*.
50125 * sysdeps/i386/configure.in: Check for -msse2avx.
50126 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50127 also if SSE2AVX is defined.
50128 Remove libc_fegetround* and libc_fesetround*.
50129 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50130 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50132 of HAS_YMM_USABLE.
50133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50134 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50135 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50136 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50137 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50138
50139 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50140
50141 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50142
50143 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50144 size is not set.
50145 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50146
50147 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50148
50149 [BZ #13618]
50150 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50151 relocation.
50152 * Makeconfig (libm): Define.
50153 * elf/Makefile: Add rules to build and run tst-relsort1.
50154 * elf/tst-relsort1.c: New file.
50155 * elf/tst-relsort1mod1.c: New file.
50156 * elf/tst-relsort1mod2.c: New file.
50157
50158 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50159
50160 * math/s_ldexp.c: Remove __STDC__ conditionals.
50161 * math/s_ldexpf.c: Likewise.
50162 * math/s_ldexpl.c: Likewise.
50163 * math/s_nextafter.c: Likewise.
50164 * math/s_nexttowardf.c: Likewise.
50165 * math/s_significand.c: Likewise.
50166 * math/s_significandf.c: Likewise.
50167 * math/s_significandl.c: Likewise.
50168 * math/w_jnl.c: Likewise.
50169 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50170 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50171 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50172 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50173 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50174 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50175 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50176 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50177 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50178 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50179 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50180 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50181 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50183 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50184 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50185 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50186 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50188 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50189 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50190 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50191 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50192 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50193 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50194 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50196 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50197 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50198 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50199 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50200 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50202 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50203 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50204 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50205 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50206 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50207 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50208 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50209 * sysdeps/ieee754/k_standard.c: Likewise.
50210 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50211 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50212 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50213 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50214 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50215 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50216 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50217 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50218 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50219 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50220 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50221 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50222 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50223 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50224 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50225 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50226 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50228 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50229 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50232 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50233 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50234 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50235 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50241 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50242 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50245 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50246 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50247 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50248 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50249 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50250 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50252 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50253 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50254 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50255 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50256 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50259 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50260 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50263 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50264 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50265 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50266 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50267 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50268 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50269 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50270 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50271 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50272 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50273 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50274 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50275 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50276 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50277 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50278 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50279 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50280 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50281 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50282 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50285 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50286 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50287 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50288 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50289 * sysdeps/ieee754/s_matherr.c: Likewise.
50290 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50291 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50294
50295 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50296
50297 * crypt/md5.h: Remove __STDC__ conditionals.
50298 * libio/libioP.h: Likewise.
50299 * locale/programs/config.h: Likewise.
50300 * sysdeps/generic/sysdep.h: Likewise.
50301 * sysdeps/i386/asm-syntax.h: Likewise.
50302 * sysdeps/s390/asm-syntax.h: Likewise.
50303 * sysdeps/unix/sysdep.h: Likewise.
50304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50306
50307 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50308
50309 * libio/libio.h: Remove __STDC__ conditionals.
50310 * malloc/obstack.h: Likewise.
50311 * math/complex.h: Likewise.
50312 * math/math.h: Likewise.
50313 * sysdeps/generic/_G_config.h: Likewise.
50314 * sysdeps/gnu/_G_config.h: Likewise.
50315 * sysdeps/mach/hurd/_G_config.h: Likewise.
50316 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50317 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50318 * sysdeps/sparc/bits/mathdef.h: Likewise.
50319
50320 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50321
50322 [BZ #13583]
50323 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50324 Clean up HAS_* macros.
50325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50326 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50327 possible.
50328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50329 HAS_AVX.
50330 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50331 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50332 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50333 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50335
50336 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50337
50338 * elf/tst-unique3.cc (gets): Remove declaration.
50339 * elf/tst-unique3lib.cc (gets): Likewise.
50340 * elf/tst-unique3lib2.cc (gets): Likewise.
50341 * elf/tst-unique4.cc (gets): Likewise.
50342
50343 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50344
50345 * include/stdio.h: Add C++ protection. Add gets declarations and
50346 definitions.
50347 * debug/tst-chk1.c: Don't declare gets here.
50348 * stdio-common/tst-gets.c: Likewise.
50349
50350 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50351
50352 * posix/glob: Remove directory.
50353
50354 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50355
50356 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50357
50358 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50359
50360 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50361 of the non-standard EPFNOSUPPORT.
50362
50363 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50364
50365 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50366 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50367 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50368
50369 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50370
50371 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50372
50373 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50374
50375 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50376 transient errors.
50377 * nscd/grpcache.c (cache_addgr): Likewise.
50378 * nscd/hstcache.c (cache_addhst): Likewise.
50379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50380 * nscd/pwdcache.c (cache_addpw): Likewise.
50381 * nscd/servicescache.c (cache_addserv): Likewise.
50382
50383 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50384
50385 * malloc/malloc.c: Various cleanups.
50386 * malloc/hooks.c: Likewise.
50387
50388 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50389 * stdlib/bug-fmtmsg1.c: New file.
50390
50391 * stdlib/fmtmsg.c (init): Add missing unlock.
50392 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50393
50394 2012-01-12 Marek Polacek <polacek@redhat.com>
50395
50396 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50397 and _GNU_SOURCE.
50398
50399 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50400
50401 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50402 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50403 macro to ensure uniqueness of label name.
50404 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50405 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50406
50407 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50408
50409 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50410
50411 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50412 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50414 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50415
50416 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50417
50418 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50419
50420 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50421 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50422 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50423
50424 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50425
50426 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50427 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50428 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50430
50431 * math/bits/math-finite.h: Add ldexp support.
50432
50433 2012-01-10 Marek Polacek <polacek@redhat.com>
50434
50435 * locale/programs/localedef.h (show_archive_content): Add noreturn
50436 attribute.
50437
50438 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50439
50440 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50441
50442 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50443
50444 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50445
50446 * io/Makefile (headers): Add bits/poll2.h.
50447
50448 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50449
50450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50451 typo #include statement.
50452
50453 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50454
50455 * include/sys/cdefs.h: Define __attribute_alloc_size.
50456 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50457 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50458 * elf/pldd.c: Likewise.
50459 * iconv/iconv_charmap.c: Likewise.
50460 * iconv/iconvconfig.c: Likewise.
50461 * iconv/strtab.c: Likewise.
50462 * locale/programs/locale.c: Likewise.
50463 * locale/programs/localedef.h: Likewise.
50464 * locale/programs/simple-hash.c: Likewise.
50465 * nscd/nscd.h: Likewise.
50466 * nss/makedb.c: Likewise.
50467 * sysdeps/generic/ldconfig.h: Likewise.
50468 * locale/programs/localedef.c: Remove xmalloc prototype.
50469 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50470
50471 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50472
50473 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50474 appropriate.
50475
50476 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50477
50478 * math/Makefile (tests): Add tst-CMPLX.
50479 * math/tst-CMPLX.c: New file.
50480
50481 * math/complex.h (CMPLXL): Fix typo.
50482
50483 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50484 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50485 GLIBC_2.16.
50486 * debug/tst-chk1.c: Add poll and ppoll tests.
50487 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50488 * include/sys/poll.h: Add hidden proto for ppoll.
50489 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50490 * sysdeps/mach/hurd/ppoll.c: Likewise.
50491 * io/ppoll.c: Likewise.
50492 * debug/poll_chk.c: New file.
50493 * debug/ppoll_chk.c: New file.
50494 * include/bits/poll2.h: New file.
50495 * io/bits/poll2.h: New file.
50496
50497 [BZ #1350]
50498 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50499
50500 * configure.in: static is always set to yes. Remove.
50501 * config.make.in: Don't set build-static.
50502 * Makeconfig: Remove use of build-static.
50503 * dlfcn/Makefile: Likewise.
50504 * elf/Makefile: Likewise.
50505 * math/Makefile: Likewise.
50506 * misc/Makefile: Likewise.
50507 * nptl/Makefile: Likewise.
50508 * sysdeps/mach/hurd/Makefile: Likewise.
50509
50510 * configure.in: PWD_P is not used anymore.
50511 * config.make.in: Remove PWD_P entry.
50512
50513 * configure.in: Remove last remnants of RANLIB.
50514 No need to check for signed size_t anymore.
50515 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50516 and IA-64.
50517 Remove __builtin_expect test because we require at least gcc 3.4.
50518 * aclocal.m4: Likewise.
50519
50520 * wcsmbs/mbrtoc16.c: Implement using towc function.
50521 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50522 * wcsmbs/wcsmbsload.c: Likewise.
50523 * iconv/gconv_simple.c: Likewise.
50524 * iconv/gconv_int.h: Likewise.
50525 * iconv/gconv_builtin.h: Likewise.
50526 * iconv/iconv_prog.c: Remove CHAR16 handling.
50527
50528 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50529
50530 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50531
50532 * configure.in: Remove --with-elf and --enable-bounded options.
50533 Dont set base_machine for ia64. More non-ELF conditions removed.
50534 Remove testing and setting of leading underscore information.
50535 * config.make.in (build-bounded): Set to no.
50536 * config.h.in: Remove NO_UNDERSCORES entry.
50537 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50538 them.
50539 * csu/start.c: Remove !NO_UNDERSCORE code.
50540 * locale/localeinfo.h: Likewise.
50541 * sysdeps/generic/machine-gmon.h: Likewise.
50542 * sysdeps/generic/sysdep.h: Likewise.
50543 * sysdeps/i386/sysdep.h: Likewise.
50544 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50545 * sysdeps/mach/sysdep.h: Likewise.
50546 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50547 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50548 * sysdeps/sh/sysdep.h: Likewise.
50549 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50550 * sysdeps/unix/i386/sysdep.S: Likewise.
50551 * sysdeps/unix/sparc/start.c: Likewise.
50552 * sysdeps/unix/sparc/sysdep.S: Likewise.
50553 * sysdeps/unix/sparc/sysdep.h: Likewise.
50554 * sysdeps/unix/start.c: Likewise.
50555 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50556 * sysdeps/x86_64/sysdep.h: Likewise.
50557
50558 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50559
50560 [BZ #13553]
50561 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50562 for non-gcc.
50563 * argp/argp-fmtstream.h: Use const instead __const.
50564 * argp/argp.h: Likewise.
50565 * assert/assert.h: Likewise.
50566 * bits/fenv.h: Likewise.
50567 * bits/sched.h: Likewise.
50568 * bits/sigset.h: Likewise.
50569 * bits/sigthread.h: Likewise.
50570 * catgets/nl_types.h: Likewise.
50571 * conform/data/pthread.h-data: Likewise.
50572 * crypt/crypt-private.h: Likewise.
50573 * crypt/crypt.h: Likewise.
50574 * crypt/crypt_util.c: Likewise.
50575 * ctype/ctype.h: Likewise.
50576 * debug/execinfo.h: Likewise.
50577 * debug/mbsnrtowcs_chk.c: Likewise.
50578 * debug/mbsrtowcs_chk.c: Likewise.
50579 * debug/wcsnrtombs_chk.c: Likewise.
50580 * debug/wcsrtombs_chk.c: Likewise.
50581 * debug/wcstombs_chk.c: Likewise.
50582 * dirent/dirent.h: Likewise.
50583 * dlfcn/dlfcn.h: Likewise.
50584 * elf/neededtest4.c: Likewise.
50585 * grp/grp.h: Likewise.
50586 * gshadow/gshadow.h: Likewise.
50587 * iconv/gconv.h: Likewise.
50588 * iconv/gconv_int.h: Likewise.
50589 * iconv/gconv_simple.c: Likewise.
50590 * iconv/iconv.h: Likewise.
50591 * iconv/loop.c: Likewise.
50592 * iconv/skeleton.c: Likewise.
50593 * include/aio.h: Likewise.
50594 * include/aliases.h: Likewise.
50595 * include/argz.h: Likewise.
50596 * include/arpa/inet.h: Likewise.
50597 * include/assert.h: Likewise.
50598 * include/dirent.h: Likewise.
50599 * include/dlfcn.h: Likewise.
50600 * include/execinfo.h: Likewise.
50601 * include/fcntl.h: Likewise.
50602 * include/fenv.h: Likewise.
50603 * include/glob.h: Likewise.
50604 * include/grp.h: Likewise.
50605 * include/libintl.h: Likewise.
50606 * include/mntent.h: Likewise.
50607 * include/netdb.h: Likewise.
50608 * include/pwd.h: Likewise.
50609 * include/rpc/netdb.h: Likewise.
50610 * include/sched.h: Likewise.
50611 * include/search.h: Likewise.
50612 * include/shadow.h: Likewise.
50613 * include/signal.h: Likewise.
50614 * include/stdio.h: Likewise.
50615 * include/stdlib.h: Likewise.
50616 * include/string.h: Likewise.
50617 * include/sys/socket.h: Likewise.
50618 * include/sys/stat.h: Likewise.
50619 * include/sys/statfs.h: Likewise.
50620 * include/sys/statvfs.h: Likewise.
50621 * include/sys/syslog.h: Likewise.
50622 * include/sys/time.h: Likewise.
50623 * include/sys/uio.h: Likewise.
50624 * include/time.h: Likewise.
50625 * include/unistd.h: Likewise.
50626 * include/utmp.h: Likewise.
50627 * include/wchar.h: Likewise.
50628 * include/wctype.h: Likewise.
50629 * inet/aliases.h: Likewise.
50630 * inet/arpa/inet.h: Likewise.
50631 * inet/netinet/ether.h: Likewise.
50632 * inet/netinet/in.h: Likewise.
50633 * intl/libintl.h: Likewise.
50634 * io/bits/fcntl2.h: Likewise.
50635 * io/fcntl.h: Likewise.
50636 * io/ftw.h: Likewise.
50637 * io/sys/poll.h: Likewise.
50638 * io/sys/stat.h: Likewise.
50639 * io/sys/statfs.h: Likewise.
50640 * io/sys/statvfs.h: Likewise.
50641 * io/utime.h: Likewise.
50642 * libio/bits/stdio.h: Likewise.
50643 * libio/bits/stdio2.h: Likewise.
50644 * libio/libio.h: Likewise.
50645 * libio/libioP.h: Likewise.
50646 * libio/stdio.h: Likewise.
50647 * locale/lc-ctype.c: Likewise.
50648 * locale/locale.h: Likewise.
50649 * login/utmp.h: Likewise.
50650 * malloc/arena.c: Likewise.
50651 * malloc/malloc.c: Likewise.
50652 * malloc/malloc.h: Likewise.
50653 * malloc/mcheck.c: Likewise.
50654 * malloc/mtrace.c: Likewise.
50655 * math/bits/mathcalls.h: Likewise.
50656 * math/fenv.h: Likewise.
50657 * math/math_private.h: Likewise.
50658 * misc/bits/error.h: Likewise.
50659 * misc/bits/syslog.h: Likewise.
50660 * misc/err.h: Likewise.
50661 * misc/error.h: Likewise.
50662 * misc/fstab.h: Likewise.
50663 * misc/mntent.h: Likewise.
50664 * misc/regexp.h: Likewise.
50665 * misc/search.h: Likewise.
50666 * misc/sgtty.h: Likewise.
50667 * misc/sys/mman.h: Likewise.
50668 * misc/sys/syslog.h: Likewise.
50669 * misc/sys/uio.h: Likewise.
50670 * misc/sys/xattr.h: Likewise.
50671 * misc/ttyent.h: Likewise.
50672 * nis/rpcsvc/ypclnt.h: Likewise.
50673 * nss/nss.h: Likewise.
50674 * posix/bits/unistd.h: Likewise.
50675 * posix/fnmatch.h: Likewise.
50676 * posix/glob.h: Likewise.
50677 * posix/sched.h: Likewise.
50678 * posix/spawn.h: Likewise.
50679 * posix/sys/wait.h: Likewise.
50680 * posix/unistd.h: Likewise.
50681 * posix/wordexp.h: Likewise.
50682 * pwd/pwd.h: Likewise.
50683 * resolv/netdb.h: Likewise.
50684 * resource/sys/resource.h: Likewise.
50685 * rt/aio.h: Likewise.
50686 * rt/bits/mqueue2.h: Likewise.
50687 * rt/mqueue.h: Likewise.
50688 * shadow/shadow.h: Likewise.
50689 * signal/signal.h: Likewise.
50690 * socket/send.c: Likewise.
50691 * socket/sendto.c: Likewise.
50692 * socket/sys/socket.h: Likewise.
50693 * stdio-common/printf.h: Likewise.
50694 * stdlib/bits/stdlib.h: Likewise.
50695 * stdlib/fmtmsg.h: Likewise.
50696 * stdlib/monetary.h: Likewise.
50697 * stdlib/stdlib.h: Likewise.
50698 * stdlib/ucontext.h: Likewise.
50699 * streams/stropts.h: Likewise.
50700 * string/argz.h: Likewise.
50701 * string/bits/string2.h: Likewise.
50702 * string/string.h: Likewise.
50703 * string/strings.h: Likewise.
50704 * sunrpc/rpc/auth.h: Likewise.
50705 * sunrpc/rpc/auth_des.h: Likewise.
50706 * sunrpc/rpc/clnt.h: Likewise.
50707 * sunrpc/rpc/netdb.h: Likewise.
50708 * sunrpc/rpc/pmap_clnt.h: Likewise.
50709 * sunrpc/rpc/xdr.h: Likewise.
50710 * sysdeps/generic/inttypes.h: Likewise.
50711 * sysdeps/generic/net/if.h: Likewise.
50712 * sysdeps/generic/sys/swap.h: Likewise.
50713 * sysdeps/gnu/net/if.h: Likewise.
50714 * sysdeps/gnu/utmpx.h: Likewise.
50715 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50716 * sysdeps/i386/i486/bits/string.h: Likewise.
50717 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50718 * sysdeps/s390/bits/string.h: Likewise.
50719 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50720 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50721 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50722 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50723 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50724 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50725 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50726 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50727 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50728 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50729 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50730 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50731 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50732 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50733 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50734 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50735 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50737 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50738 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50740 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50741 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50742 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50743 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50744 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50745 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50747 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50748 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50749 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50750 * sysvipc/sys/ipc.h: Likewise.
50751 * sysvipc/sys/msg.h: Likewise.
50752 * sysvipc/sys/sem.h: Likewise.
50753 * sysvipc/sys/shm.h: Likewise.
50754 * termios/termios.h: Likewise.
50755 * time/sys/time.h: Likewise.
50756 * time/time.h: Likewise.
50757 * wcsmbs/bits/wchar2.h: Likewise.
50758 * wcsmbs/uchar.h: Likewise.
50759 * wcsmbs/wchar.h: Likewise.
50760 * wctype/wctype.h: Likewise.
50761
50762 [BZ #13551]
50763 * Makeconfig: Remove all but ELF support including AIX support.
50764 * Makerules: Likewise.
50765 * config.h.in: Likewise.
50766 * config.make.in: Likewise.
50767 * configure: Likewise.
50768 * configure.in: Likewise.
50769 * csu/Makefile: Likewise.
50770 * csu/version.c: Likewise.
50771 * debug/Makefile: Likewise.
50772 * dlfcn/Makefile: Likewise.
50773 * elf/Makefile: Likewise.
50774 * extra-lib.mk: Likewise.
50775 * iconv/Makefile: Likewise.
50776 * include/libc-symbols.h: Likewise.
50777 * include/shlib-compat.h: Likewise.
50778 * resolv/Makefile: Likewise.
50779 * resolv/res_libc.c: Likewise.
50780 * rt/Makefile: Likewise.
50781 * sysdeps/i386/asm-syntax.h: Likewise.
50782 * sysdeps/i386/sysdep.h: Likewise.
50783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50784 * sysdeps/mach/sysdep.h: Likewise.
50785 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50786 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50787 * sysdeps/s390/asm-syntax.h: Likewise.
50788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50790 * sysdeps/sh/sysdep.h: Likewise.
50791 * sysdeps/unix/sparc/sysdep.h: Likewise.
50792 * sysdeps/wordsize-32/divdi3.c: Likewise.
50793 * sysdeps/x86_64/sysdep.h: Likewise.
50794
50795 * argp/Versions: Remove _argp_unlock_xxx.
50796
50797 [BZ #13559]
50798 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50799 * abilist/libBrokenLocale.abilist: Likewise.
50800 * abilist/libanl.abilist: Likewise.
50801 * abilist/libc.abilist: Likewise.
50802 * abilist/libcrypt.abilist: Likewise.
50803 * abilist/libdl.abilist: Likewise.
50804 * abilist/libm.abilist: Likewise.
50805 * abilist/libnsl.abilist: Likewise.
50806 * abilist/libpthread.abilist: Likewise.
50807 * abilist/libresolv.abilist: Likewise.
50808 * abilist/librt.abilist: Likewise.
50809 * abilist/libthread_db.abilist: Likewise.
50810 * abilist/libutil.abilist: Likewise.
50811 * abilist/libnss_db.abilist: New file.
50812
50813 * scripts/abilist.awk: Add support for indirect functions.
50814
50815 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50816
50817 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50818
50819 * shlib-versions: Remove entries for ports architectures.
50820
50821 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50822 files in ports.
50823 * elf/stackguard-macros.h: Remove support for IA-64.
50824 * elf/tst-auditmod1.c: Likewise.
50825 * sysdeps/generic/ldsodefs.h: Likewise.
50826
50827 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50828 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50829 configure files.
50830
50831 [BZ #13552]
50832 * configure.in: Remove --enable-omitfp support.
50833 * FAQ.in: Adjust.
50834 * config.make.in: Likewise.
50835 * Makeconfig: Likewise.
50836 * manual/install.texi: Likewise.
50837
50838 In case anyone cares, the IA-64 architecture could move to ports.
50839 * sysdeps/ia64/*: Removed.
50840 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50841 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50842
50843 [BZ #13555]
50844 * configure.in: Remove entries for unsupported architectures.
50845
50846 [BZ #13533]
50847 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50848 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50849 routines.
50850 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50851 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50852 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50853 fall back to using wcrtomb.
50854 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50855 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50856 renaming.
50857 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50858 * wcsmbs/tst-c16c32-1.c: New file.
50859
50860 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50861 local variable.
50862
50863 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50864
50865 * elf/tst-unique3.cc: Add explicit declaration of gets.
50866 * elf/tst-unique3lib.cc: Likewise.
50867 * elf/tst-unique3lib2.cc: Likewise.
50868 * elf/tst-unique4.cc: Likewise.
50869
50870 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50871
50872 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50873
50874 [BZ #13566]
50875 * assert/assert.h (static_assert): Don't define for C++.
50876 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50877 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50878
50879 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50880
50881 * iconv/loop.c (single loop): Fix assertion in storing of
50882 remaining bytes.
50883
50884 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50885
50886 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50887
50888 * posix/getconf.c: Update copyright year.
50889 * nss/getent.c: Likewise.
50890 * nss/makedb.c: Likewise.
50891 * iconv/iconvconfig.c: Likewise.
50892 * iconv/iconv_prog.c: Likewise.
50893 * elf/ldconfig.c: Likewise.
50894 * elf/pldd.c: Likewise.
50895 * elf/sotruss.ksh: Likewise.
50896 * catgets/gencat.c: Likewise.
50897 * csu/version.c: Likewise.
50898 * elf/ldd.bash.in: Likewise.
50899 * elf/sprof.c (print_version): Likewise.
50900 * locale/programs/locale.c: Likewise.
50901 * locale/programs/localedef.c: Likewise.
50902 * login/programs/pt_chown.c: Likewise.
50903 * nscd/nscd.c (print_version): Likewise.
50904 * debug/xtrace.sh: Likewise.
50905 * malloc/memusage.sh: Likewise.
50906 * malloc/mtrace.pl: Likewise.
50907 * debug/catchsegv.sh: Likewise.
50908
50909 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50910
50911 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50912 pure attribute.
50913
50914 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50915
50916 [BZ #13533]
50917 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50918 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50919 transformations.
50920 * iconv/gconv_int.h: Likewise.
50921 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50922 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50923 from libc for GLIBC_2.16.
50924 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50925 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50926 * wcsmbs/uchar.h: Really define mbstate_t.
50927 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50928 * wcsmbs/c16rtomb.c: New file.
50929 * wcsmbs/mbrtoc16.c: New file.
50930 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50931 for C/POSIX locale.
50932 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50933 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50934
50935 * wcsmbs/wchar.h: Add missing __restrict.
50936
50937 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50938
50939 [BZ #13532]
50940 * time/Makefile (routines): Add timespec_get.
50941 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50942 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50943 timespec for ISO C11.
50944 * time/timespec_get.c: New file.
50945 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50946 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50947
50948 [BZ #13531]
50949 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50950 * stdlib/stdlib.h: Declare aligned_alloc.
50951 * Versions.def: Add GLIBC_2.16 for libc.
50952 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50953
50954 [BZ 13527]
50955 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50956 ISO C11.
50957
50958 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50959 code.
50960
50961 [BZ #13528]
50962 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50963
50964 [BZ #13529]
50965 * assert/assert.h (static_assert): Define.
50966
50967 * version.h: Update for 2.16 development version.
50968
50969 [BZ #13526]
50970 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50971 _ISOC11_SOURCE.
50972
50973 * version.h (RELEASE): Bump for 2.15 release.
50974 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50975
50976 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50977 Patch by Marek Polacek <mpolacek@redhat.com>.
50978
50979 * bits/byteswap.h: Protect long long constants with __extension__.
50980 * sysdeps/i386/bits/byteswap.h: Likewise.
50981 * sysdeps/ia64/bits/byteswap.h: Likewise.
50982 * sysdeps/s390/bits/byteswap.h: Likewise.
50983 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50984
50985 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50986
50987 [BZ #13540]
50988 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50989 destination buffer.
50990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50991
50992 2011-12-23 Marek Polacek <polacek@redhat.com>
50993
50994 * elf/dl-addr.c (determine_info): Add inline keyword.
50995 * elf/tst-auditmod4b.c (check_avx): Likewise.
50996 * elf/tst-auditmod6b.c (check_avx): Likewise.
50997 * elf/tst-auditmod6c.c (check_avx): Likewise.
50998 * elf/tst-auditmod7b.c (check_avx): Likewise.
50999
51000 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51001
51002 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51003 !__SSE_MATH__.
51004
51005 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51006
51007 [BZ #13540]
51008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51009 processing for last bytes.
51010
51011 2011-08-06 Bruno Haible <bruno@clisp.org>
51012
51013 [BZ #13061]
51014 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51015 U+0385, not to U+1FEE.
51016
51017 [BZ #13062]
51018 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51019 entry for U+00A5 U+0301.
51020
51021 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51022
51023 [BZ #13166]
51024 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51025 buffer for the output is too small.
51026
51027 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51028 optimization.
51029
51030 [BZ #13185]
51031 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51032 SSE flags if possible.
51033
51034 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51035
51036 [BZ #13540]
51037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51038 processing for last bytes.
51039
51040 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51041
51042 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51043 (syscall-list-default-options, syscall-list-default-condition)
51044 (syscall-list-includes): Define.
51045 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51046 list of ABIs and options and #if conditions for each ABI. Do not
51047 handle common syscalls between ABIs specially.
51048 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51049 Remove.
51050 (syscall-list-variants, syscall-list-32bit-options)
51051 (syscall-list-32bit-condition, syscall-list-64bit-options)
51052 (syscall-list-64bit-condition): Define.
51053 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51054 (syscall-list-variants, syscall-list-32bit-options)
51055 (syscall-list-32bit-condition, syscall-list-64bit-options)
51056 (syscall-list-64bit-condition): Define.
51057 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51058 Remove.
51059 (syscall-list-variants, syscall-list-32bit-options)
51060 (syscall-list-32bit-condition, syscall-list-64bit-options)
51061 (syscall-list-64bit-condition): Define.
51062 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51063 Remove.
51064 (syscall-list-variants, syscall-list-32bit-options)
51065 (syscall-list-32bit-condition, syscall-list-64bit-options)
51066 (syscall-list-64bit-condition): Define.
51067
51068 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51069
51070 * locale/iso-639.def: Add brx entry.
51071
51072 [BZ #13328]
51073 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51074 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51075
51076 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51077 __feraiseexcept_renamed.
51078
51079 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51080
51081 [BZ #13538]
51082 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51083 EPOLLET with unsigned values.
51084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51085 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51086
51087 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51088 to large cancellation.
51089 * math/s_cacoshf.c: Likewise.
51090 * math/s_cacoshl.c: Likewise.
51091
51092 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51093
51094 [BZ #13305]
51095 [BZ #12786]
51096 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51097 * math/s_cacoshf.c: Likewise.
51098 * math/s_cacoshl.c: Likewise.
51099
51100 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51101
51102 [BZ #13439]
51103 * iconv/gconv.h: Define __GCONV_SWAP.
51104 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51105 * iconvdata/utf-16.c: Likewise.
51106 * iconvdata/utf-32.c: Likewise.
51107
51108 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51109
51110 [BZ #13524]
51111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51112 numerator after shifting it by one limb.
51113
51114 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51115
51116 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51117 under [__USE_EXTERN_INLINES].
51118
51119 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51120
51121 [BZ #13446]
51122 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51123
51124 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51125
51126 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51127 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51128 optimized code.
51129 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51130 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51131 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51132 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51133 for strncasecmp/strncasecmp_l compilation.
51134 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51135 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51136
51137 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51138
51139 [BZ #13484]
51140 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51141 of __asm__.
51142
51143 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51144
51145 [BZ #13506]
51146 * time/tzfile.c (__tzfile_read): Check values from file header.
51147
51148 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51149
51150 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51151 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51152 * powerpc/powerpc32/dl-start.S: Likewise.
51153 * powerpc/powerpc32/elf/start.S: Likewise.
51154 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51155 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51156 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51157 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51158 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51159 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51160 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51161 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51162 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51163 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51164 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51165 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51166 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51167 * powerpc/powerpc32/memset.S: Likewise.
51168 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51169 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51170 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51171 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51172 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51173 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51174 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51175 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51176 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51177 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51178 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51179 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51180 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51181
51182 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51183
51184 * math/libm-test.inc: Added more nearbyint tests.
51185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51189
51190 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51191
51192 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51193 FD_CLOEXEC.
51194
51195 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51196
51197 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51198 Add wcscpy-ssse3 wcscpy-c.
51199 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51200 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51201 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51202 * sysdeps/x86_64/wcschr.S: New file.
51203 * sysdeps/x86_64/wcsrchr.S: New file.
51204 * string/test-strcmp.c: Remove checking of wcscmp function for
51205 wrong alignments.
51206 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51207 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51208 wcsrchr-sse2 wcsrchr-c.
51209 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51210 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51211 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51212 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51213 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51214 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51215 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51216 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51217 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51218 * wcsmbc/wcschr.c (WCSCHR): New macro.
51219
51220 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51221
51222 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51223 * wcsmbs/test-wcsrchr.c: New file.
51224 * string/test-strrchr.c: Add wcsrchr support.
51225 (WIDE): New macro.
51226 * wcsmbs/test-wcscpy.c: New file.
51227 * string/test-strcpy.c: Add wcscpy support.
51228 (WIDE): New macro.
51229
51230 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51231
51232 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51233 the inner loop.
51234
51235 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51236
51237 [BZ #13472]
51238 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51239
51240 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51241
51242 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51243 Minor optimizations.
51244
51245 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51246 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51247 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51248
51249 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51250
51251 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51252 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51253 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51254 for gcc to avoid warnings.
51255 * inet/Makefile (tests): Add tst-checks.
51256 * inet/tst-checks.c: New file.
51257
51258 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51259 warning.
51260
51261 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51262 __wmemcmp_sse2.
51263
51264 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51265 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51266
51267 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51268
51269 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51270
51271 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51272 problem.
51273
51274 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51275
51276 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51277
51278 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51279 conditional on GCC version.
51280 (__arch_compare_and_exchange_val_8_acq)
51281 (__arch_compare_and_exchange_val_16_acq)
51282 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51283 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51284 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51285
51286 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51287
51288 * sysdeps/sh/backtrace.c: New file.
51289
51290 2011-12-02 Andreas Schwab <schwab@redhat.com>
51291
51292 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51293 parenthesis.
51294
51295 2011-12-01 Andreas Schwab <schwab@redhat.com>
51296
51297 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51298 falling back to utime.
51299
51300 2011-11-30 Andreas Schwab <schwab@redhat.com>
51301
51302 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51303 expectations for float.
51304
51305 2011-11-29 Andreas Schwab <schwab@redhat.com>
51306
51307 * locale/weight.h (findidx): Add parameter len.
51308 * locale/weightwc.h (findidx): Likewise.
51309 * posix/fnmatch_loop.c (FCT): Adjust caller.
51310 * posix/regcomp.c (build_equiv_class): Likewise.
51311 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51312 * posix/regexec.c (check_node_accept_bytes): Likewise.
51313 * string/strcoll_l.c (STRCOLL): Likewise.
51314 * string/strxfrm_l.c (STRXFRM): Likewise.
51315
51316 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51317
51318 * Makefile.in: Remove CVSOPT handling.
51319 * configure.in: Remove use of AC_REVISION.
51320 * iconvdata/Makefile (distribute): No need to filter out CVS.
51321 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51322 handling.
51323
51324 2011-11-16 Andreas Schwab <schwab@redhat.com>
51325
51326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51327 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51328 [USE_AS_STRNCASECMP_L]: Likewise.
51329 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51330 NO_TLS_DIRECT_SEG_REFS.
51331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51332 Fix argument offsets for non-PIC.
51333 [USE_AS_STRNCASECMP_L]: Likewise.
51334 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51335 NO_TLS_DIRECT_SEG_REFS.
51336
51337 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51338
51339 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51340 O_CLOEXEC.
51341 * locale/loadlocale.c (_nl_load_locale): Likewise.
51342
51343 2011-11-15 Andreas Schwab <schwab@redhat.com>
51344
51345 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51346 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51347 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51348 (SYSCALL_GETTIME): Set errno on error.
51349
51350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51351 count references to noai6ai_cached.
51352
51353 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51354
51355 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51356
51357 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51358 FD_CLOEXEC for /proc/self/maps.
51359
51360 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51361 FD_CLOEXEC for /proc/meminfo.
51362
51363 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51364 gai.conf.
51365
51366 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51367 FD_CLOEXEC for given file.
51368
51369 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51370
51371 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51372 FD_CLOEXEC for /etc/hosts.
51373 (_gethtent): Likewise.
51374
51375 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51376
51377 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51378 cancellation and set FD_CLOEXEC for /etc/netgroup.
51379
51380 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51381 reading /etc/publickey.
51382
51383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51384 allow cancellation when reading /etc/group.
51385
51386 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51387 cancellation.
51388 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51389
51390 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51391 when using data file.
51392
51393 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51394
51395 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51396 (write_nis_obj): Use "c" and "e" in fopen.
51397
51398 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51399
51400 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51401
51402 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51403
51404 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51405
51406 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51407 locale.alias.
51408
51409 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51410
51411 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51412
51413 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51414
51415 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51416 file parsing and set FD_CLOEXEC.
51417
51418 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51419
51420 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51421
51422 2011-11-14 Andreas Schwab <schwab@redhat.com>
51423
51424 * malloc/arena.c (arena_get2): Don't call reused_arena when
51425 _int_new_arena failed.
51426
51427 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51428
51429 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51430 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51431 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51432 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51435 to compile strcasecmp and strncasecmp.
51436 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51437 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51438
51439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51440
51441 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51442
51443 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51444 locale-defines.sym to gen-as-const-headers.
51445 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51446 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51447 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51448 to compile strcasecmp and strncasecmp.
51449 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51450 strcasecmp_l and strncasecmp_l.
51451 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51452 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51453 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51454 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51455 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51456 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51457 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51458 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51459 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51460 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51461 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51462
51463 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51464
51465 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51466 result of SYSDEP_GETTIME_CPU to retval.
51467 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51468 parameter list to macro. Remove trailing semicolon. Adjust users.
51469
51470 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51471 variable.
51472
51473 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51474 mantissa words.
51475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51476
51477 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51478 from unused variable.
51479
51480 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51481 DWARF definitions.
51482 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51483 for assembling.
51484
51485 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51486 over namespaces.
51487
51488 * sunrpc/rpc_prot.c (rejected): Fix case value.
51489
51490 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51491 unsigned long long int to avoid warnings in shift.
51492
51493 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51494 of use of trans.
51495 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51496 variable tmp.
51497
51498 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51499 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51500 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51501
51502 * nis/nis_table.c (nis_list): Use variable of correct type for
51503 result of __follow_path call.
51504
51505 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51506
51507 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51508 of math functions ceil, trunc, floor, round, and sqrt, when
51509 avaliable on the platform.
51510 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51511 name clash.
51512 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51513 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51514 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51515
51516 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51517
51518 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51519 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51520
51521 2011-11-11 Roland McGrath <roland@hack.frob.com>
51522
51523 * include/unistd.h: Fix __readlink return type.
51524 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51525
51526 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51527
51528 * stdlib/ucontext.h: Undo last change for makecontext.
51529
51530 2011-11-11 Andreas Schwab <schwab@redhat.com>
51531
51532 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51533
51534 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51535 * setjmp/setjmp.h: Mark functions as non-leaf.
51536 * setjmp/bits/setjmp2.h: Likewise.
51537 * stdlib/ucontext.h: Likewise.
51538
51539 2011-11-10 Andreas Schwab <schwab@redhat.com>
51540
51541 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51542 (reused_arena): Don't check arena limit.
51543 (arena_get2): Atomically check arena limit.
51544
51545 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51546
51547 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51548 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51549
51550 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51551 instructions.
51552
51553 2011-11-07 Andreas Schwab <schwab@redhat.com>
51554
51555 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51556 handler when locking.
51557
51558 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51559 Fix size of allocated buffer.
51560
51561 2011-11-04 Andreas Schwab <schwab@redhat.com>
51562
51563 [BZ #10103]
51564 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51565 declarations for long double functions.
51566 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51567
51568 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51569
51570 2011-11-03 Andreas Schwab <schwab@redhat.com>
51571
51572 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51573 installed.
51574
51575 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51576 is disabled.
51577
51578 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51579
51580 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51581
51582 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51583
51584 * include/alloca.h (stackinfo_alloca_round): Define.
51585 (extend_alloca): Use it.
51586 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51587 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51588 here.
51589
51590 * scripts/check-local-headers.sh: Ignore libaudit.h.
51591
51592 * nscd/Makefile (extra-objs): Make recursively expanded.
51593
51594 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51595
51596 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51598
51599 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51600 * posix/tst-rfc3484-2.c: Likewise.
51601 * posix/tst-rfc3484-3.c: Likewise.
51602
51603 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51604 process_vm_writev.
51605 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51606 process_vm_writev.
51607 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51608 process_vm_writev from libc using GLIBC_2.15 version.
51609
51610 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51611
51612 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51613
51614 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51615 stack usage.
51616
51617 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51618
51619 [BZ #13367]
51620 * nss/getent.c (initgroups_keys): Show error message in case no group
51621 names are given.
51622
51623 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51624 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51625 __bump_nl_timestamp.
51626 * nscd/connections (nscd_init): When host database is served open
51627 netlink socket and request notification about configuration changes.
51628 (main_loop_poll): Track netlink file descriptor and bump timestamp
51629 in case data becomes available.
51630 (main_loop_epoll): Likewise.
51631 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51632 (database_pers_head): Add extra_data fileds.
51633 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51634 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51635 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51636 Adjust caller.
51637 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51638 in6ai data, call __free_in6ai.
51639 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51640 Add -DHAVE_NETLINK.
51641 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51642 interface information. Reuse previous data if netlink timestamp
51643 is not changed.
51644 (__bump_nl_timestamp): New function.
51645 (__free_in6ai): New function.
51646
51647 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51648
51649 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51650 close_not_cancel_no_status here.
51651 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51652
51653 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51654
51655 [BZ #13276]
51656 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51657 return value.
51658
51659 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51660 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51661 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51662
51663 2011-07-03 Andreas Jaeger <aj@suse.de>
51664
51665 [BZ #10709]
51666 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51667 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51668 * math/libm-test.inc (sin_test): Add test case.
51669
51670 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51671
51672 [BZ #13337]
51673 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51674 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51675
51676 * elf/chroot_canon.c (chroot_canon): Cleanups.
51677
51678 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51679
51680 [BZ #13335]
51681 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51682 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51683
51684 * string/test-strchr.c: Make usable for strchrnul testing.
51685 * string/test-strchrnul.c: New file.
51686 * string/Makefile (strop-tests): Add strchrnul.
51687
51688 * po/it.po: Update from translation team.
51689 * po/es.po: Likewise.
51690
51691 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51692
51693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51694 the three constants needed as parameters. Drop the others.
51695 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51696 __m128i_strloadu_tolower.
51697 Create and initialize variable zero and use it in all the places
51698 where _mm_setzero_si128 was used.
51699
51700 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51701 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51702 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51704 anymore.
51705 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51706 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51707 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51708 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51709 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51710 __mpranred, __mptan.
51711 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51712 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51713 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51714 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51715 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51716 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51719 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51720
51721 2011-10-28 Andreas Schwab <schwab@redhat.com>
51722
51723 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51724 redefine if SHARED.
51725 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51726
51727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51728 wide char related routines to wcsmbs subdir.
51729
51730 2011-10-27 Andreas Schwab <schwab@redhat.com>
51731
51732 [BZ #13344]
51733 * misc/sys/cdefs.h (__THROWNL): Define.
51734 * posix/unistd.h: Use __THREADNL instead of __THREAD
51735 for memory synchronization functions.
51736
51737 2011-10-26 Roland McGrath <roland@hack.frob.com>
51738
51739 [BZ #13349]
51740 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51741 doesn't exist.
51742 * manual/stdio.texi (Obstack Streams): Node removed.
51743
51744 2011-10-26 Andreas Schwab <schwab@redhat.com>
51745
51746 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51749
51750 * math/math_private.h (math_force_eval): Allow non-addressable
51751 arguments.
51752 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51753
51754 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51755
51756 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51757 file is not needed.
51758
51759 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51760 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51766 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51767 Add AVX variants.
51768 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51769 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51770 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51771 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51772 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51773 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51774 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51776 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51777 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51778 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51779 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51781 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51782 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51783 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51784 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51785 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51786 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51787
51788 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51789 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51790
51791 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51792 place. Use VEX encoding when compiling for AVX.
51793
51794 2011-10-25 Andreas Schwab <schwab@redhat.com>
51795
51796 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51797 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51798
51799 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51800
51801 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51802
51803 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51804 useless if() expression.
51805 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51806 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51808 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51809 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51810 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51811 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51813 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51814 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51815 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51816 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51817 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51818 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51819 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51820 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51821 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51822 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51824
51825 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51826
51827 2011-10-25 Andreas Schwab <schwab@redhat.com>
51828
51829 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51830 condition.
51831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51832
51833 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51834
51835 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51836 .text section. Avoid duplicate constants.
51837 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51839 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51840 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51844 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51845 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51846 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51847 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51848 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51849 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51850 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51851 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51852 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51853 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51854 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51855 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51857 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51858 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51859 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51864 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51865 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51866 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51867 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51868 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51869 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51870 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51871 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51872 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51873 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51875 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51876 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51877 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51879 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51880 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51881 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51882
51883 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51884
51885 * sysdeps/x86_64/dla.h: Move to ...
51886 * sysdeps/x86_64/fpu/dla.h: ...here.
51887 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51888 situations. Use __builtin_fma only for gcc 4.6 and up.
51889
51890 * config.make.in: Add have-mfma4 entry.
51891 * configure.in: Substitute libc_cv_cc_fma4.
51892 * math/Makefile (dbl-only-routines): Add sincostab.
51893 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51894 Use __sincostab not sincos.
51895 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51896 name is a macro.
51897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51898 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51899 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51901 using __copysign.
51902 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51903 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51904 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51905 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51906 and __inv.
51907 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51908 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51909 __copysign.
51910 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51911 define aliases when function name is a macro.
51912 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51913 sysdeps/ieee754/dbl-64/sincos.tbl.
51914 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51915 fma4-enabled routines.
51916 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51917 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51918 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51919 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51920 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51921 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51923 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51925 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51926 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51927 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51928 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51929 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51931 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51932 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51933 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51934 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51935 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51936 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51937 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51938 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51939 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51940 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51941 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51942 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51943 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51944 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51945 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51946
51947 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51948 rename.
51949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51956 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51957
51958 2011-10-24 Andreas Schwab <schwab@redhat.com>
51959
51960 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51961
51962 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51963
51964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51965
51966 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51967 prediction.
51968 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51969
51970 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51971 Remove unused variable magic_bits.
51972 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51973
51974 * string/strnlen.c: Define and use STRNLEN macro.
51975 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51976 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51978 * wcsmbs/wcslen.c: Define and use WCSLEN.
51979 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51980 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51981 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51982 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51983 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51984 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51985 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51986
51987 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51988
51989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51990 strnlen-sse2-no-bsf.
51991 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51993 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51994 Add strnlen support.
51995 (USE_AS_STRNLEN): New macro.
51996 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51998 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51999 * sysdeps/x86_64/wcslen.S: New file.
52000
52001 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52002
52003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52004 XMM-moves are used for copying on small sizes.
52005
52006 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52007
52008 * wcsmbs/Makefile (strop-tests): Add wcschr.
52009 * wcsmbs/test-wcschr.c: New file.
52010 * string/test-strchr.c: Update.
52011 Add wcschr support.
52012 (WIDE): New macro.
52013
52014 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52015
52016 * wcsmbs/Makefile (strop-tests): Add wcslen.
52017 * wcsmbs/test-wcslen.c: New file.
52018 * string/test-strlen.c: Update.
52019 Add wcslen support.
52020 (WIDE): New macro.
52021
52022 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52023
52024 * po/it.po: Update from translation team.
52025
52026 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52027
52028 * sysdeps/x86_64/wcscmp.S: Update.
52029 Fix wrong comparison semantics.
52030 wcscmp shall use signed comparison not unsigned.
52031 Don't use substraction to avoid overflow bug.
52032 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52033 * wcsmbc/wcscmp.c: Likewise.
52034 * string/test-strcmp.c: Likewise.
52035 Add new tests to check cases with negative values.
52036
52037 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52038
52039 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52040 * sysdeps/x86_64/dla.h: ...here. New file.
52041 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52042 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52046 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52048 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52050
52051 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52052
52053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52054 __ynl_finite aliases.
52055
52056 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52057
52058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52059
52060 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52061 define DLA_FMA.
52062 [DLA_FMA] (EMULV): Use DLA_FMA.
52063 [DLA_FMA] (MUL12): Use EMULV.
52064 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52065 that are not needed.
52066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52073
52074 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52075
52076 * math/s_nan.c: Undef __nan.
52077 * math/s_nanf.c: Undef __nanf.
52078 * math/s_nanl.c: Undef __nanl.
52079 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52080 "math_private.h".
52081
52082 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52083
52084 * math/s_catan.c: Add branch predictions.
52085 * math/s_catanf.c: Likewise.
52086 * math/s_catanh.c: Likewise.
52087 * math/s_catanhf.c: Likewise.
52088 * math/s_catanhl.c: Likewise.
52089 * math/s_catanl.c: Likewise.
52090 * math/s_cexp.c: Likewise.
52091 * math/s_cexpf.c: Likewise.
52092 * math/s_cexpl.c: Likewise.
52093 * math/s_clog.c: Likewise.
52094 * math/s_clog10.c: Likewise.
52095 * math/s_clog10f.c: Likewise.
52096 * math/s_clog10l.c: Likewise.
52097 * math/s_clogf.c: Likewise.
52098 * math/s_clogl.c: Likewise.
52099 * math/s_csqrt.c: Likewise.
52100 * math/s_csqrtf.c: Likewise.
52101 * math/s_csqrtl.c: Likewise.
52102 * math/s_ctanf.c: Likewise.
52103 * math/s_ctanh.c: Likewise.
52104 * math/s_ctanhf.c: Likewise.
52105 * math/s_ctanhl.c: Likewise.
52106 * math/s_ctanl.c: Likewise.
52107
52108 * math/math_private.h: Define __nan, __nanf, __nanl.
52109 * math/s_cacosh.c: Include <math_private.h>.
52110 * math/s_cacoshl.c: Likewise.
52111 * math/s_casinh.c: Likewise.
52112 * math/s_casinhf.c: Likewise.
52113 * math/s_casinhl.c: Likewise.
52114 * math/s_ccos.c: Rely entire on ccosh.
52115 * math/s_ccosf.c: Rely entire on ccoshf.
52116 * math/s_ccosl.c: Rely entirely on ccoshl.
52117 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52118 Remove tests for FE_INVALID.
52119 * math/s_ccoshf.c: Likewise.
52120 * math/s_ccoshl.c: Likewise.
52121 * math/s_csin.c: Likewise.
52122 * math/s_csinf.c: Likewise.
52123 * math/s_csinh.c Likewise.
52124 * math/s_csinhf.c: Likewise.
52125 * math/s_csinhl.c: Likewise.
52126 * math/s_csinl.c: Likewise.
52127 * math/s_ctan.c: Likewise.
52128 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52129 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52130 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52131
52132 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52133
52134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52135 compilation problems.
52136
52137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52138 __builtin_expect.
52139
52140 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52141
52142 * sysdeps/i386/configure.in: Test for -mfma4 option.
52143 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52144 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52145 COMMON_CPUID_INDEX_80000001.
52146 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52147 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52148 use it if FMA3 is not supported.
52149 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52150
52151 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52152 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52153
52154 2011-10-20 Andreas Schwab <schwab@redhat.com>
52155
52156 [BZ #12892]
52157 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52158 it would create a cycle with a link time dependency.
52159
52160 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52161
52162 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52163 instruction.
52164 * string/Makefile (strop-tests): Add rawmemchr.
52165 * string/test-rawmemchr.c: New file.
52166
52167 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52168 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52169 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52170 when compiling str{,n}casecmp and when AVX is available. Hook up
52171 new optimized code in initializers.
52172
52173 2011-10-19 Andreas Schwab <schwab@redhat.com>
52174
52175 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52176 __feraiseexcept instead of feraiseexcept.
52177
52178 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52179
52180 * math/math_private.h: Define defaults for libc_fetestexcept and
52181 libc_feupdateenv.
52182 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52183 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52184 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52185 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52186 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52188 libc_fetestexcept and libc_feupdateenv.
52189
52190 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52191 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52192 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52193 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52194 libc_feholdexcept_setround.
52195
52196 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52197 Add s_nearbyint-c and s_nearbyintf-c.
52198 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52199 nearbyintf inlines.
52200 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52201 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52202 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52203 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52204
52205 * math/math_private.h: Define defaults for libc_fegetround,
52206 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52207 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52208 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52210 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52211 standard functions.
52212 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52213 Remove comments and hacks for old compiler versions.
52214 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52215 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52216 libc_feholdexceptl.
52217
52218 2011-10-18 Andreas Schwab <schwab@redhat.com>
52219
52220 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52221 (__feraiseexcept_renamed): Add __NTH.
52222 (feraiseexcept): Add __NTH. Rename local variables to fix
52223 namespace violations.
52224
52225 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52226
52227 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52228
52229 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52230
52231 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52232 recently added interfaces.
52233 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52234
52235 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52236 about macro parameter expansion.
52237
52238 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52239 __NO_MATH_INLINES is defined. Cleanups.
52240
52241 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52242 and __floorf is target has SSE4.1.
52243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52244 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52246 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52247
52248 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52249 name.
52250 (floorf): Likewise.
52251
52252 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52253
52254 2011-10-17 Andreas Schwab <schwab@redhat.com>
52255
52256 * misc/sys/cdefs.h: Fix last change.
52257
52258 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52259 database lookup.
52260
52261 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52262
52263 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52264
52265 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52266 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52267 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52268 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52270 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52273 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52274 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52275 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52276 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52277 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52278 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52279 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52280 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52281 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52282 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52283 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52284 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52285 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52286 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52287
52288 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52289 ceil, ceilf, floor, floorf.
52290
52291 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52292 Perform IRELATIVE relocations last.
52293
52294 * elf/do-rel.h: Add another parameter nrelative, replacing the
52295 local variable with the same name. Change name of the function
52296 to end in Rel or Rela (uppercase).
52297 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52298 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52299 elf_dynamic_do_##reloc function.
52300
52301 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52302
52303 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52304 is sufficient, at least on modern CPUs.
52305
52306 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52307
52308 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52309 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52310
52311 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52312 __expl_finite.
52313 * math/bits/math-finite.h: Add entries for exp.
52314 * math/e_expl.c: Add __*_finite alias.
52315 * sysdeps/i386/fpu/e_exp.S: Likewise.
52316 * sysdeps/i386/fpu/e_expf.S: Likewise.
52317 * sysdeps/i386/fpu/e_expl.c: Likewise.
52318 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52319 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52320 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52322 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52323 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52324 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52325
52326 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52327 is sufficient, at least on modern CPUs.
52328
52329 * ctype/ctype-info.c (__ctype_init): Define.
52330 * include/ctype.h (__ctype_init): Declare.
52331 (__ctype_b_loc): The variable is always initialized.
52332 (__ctype_toupper_loc): Likewise.
52333 (__ctype_tolower_loc): Likewise.
52334 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52335 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52336
52337 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52338
52339 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52340
52341 * configure.in: Also look in $cxxmachine/include for C++ system
52342 headers.
52343
52344 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52345
52346 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52347 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52348 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52349 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52351 (USE_AS_WMEMCMP): New macro.
52352 Fixing indents.
52353 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52354 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52355 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52356 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52358 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52359 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52360 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52361 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52362 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52363 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52364 (USE_AS_WMEMCMP): New macro.
52365 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52366 * sysdeps/string/test-memcmp.c: Update.
52367 Fix simple_wmemcmp.
52368 Add new tests.
52369 * wcsmbs/wmemcmp.c: Update.
52370 (WMEMCMP): New macro.
52371 Fix overflow bug.
52372
52373 2011-10-12 Andreas Jaeger <aj@suse.de>
52374
52375 [BZ #13268]
52376 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52377
52378 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52379
52380 * libio/iofwide.c (do_length): Avoid warning.
52381
52382 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52383
52384 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52385
52386 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52387
52388 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52389 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52390 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52391 * sysdeps/i386/i686/fpu/e_log.S: New file.
52392 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52393 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52394
52395 * ctype/ctype.h: Add support for inlined isXXX functions when
52396 compiling C++ code.
52397
52398 2011-10-14 Andreas Schwab <schwab@redhat.com>
52399
52400 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52401
52402 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52403
52404 2011-10-13 Roland McGrath <roland@hack.frob.com>
52405
52406 [BZ #13291]
52407 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52408
52409 2011-10-13 Andreas Schwab <schwab@redhat.com>
52410
52411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52412 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52413 feraiseexcept.
52414
52415 * sysdeps/x86_64/memrchr.S: Check for zero size.
52416
52417 * string/stratcliff.c: Add memrchr tests.
52418
52419 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52420
52421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52422 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52423 rawmemchr-sse2 rawmemchr-sse2-bsf.
52424 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52425 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52426 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52427 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52428 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52429 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52430 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52431 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52432 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52433 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52434 * string/memrchr.c (MEMRCHR): New macro.
52435
52436 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52437
52438 Add integration with gcc's -ffinite-math-only and optimize wrapper
52439 functions in libm.
52440 * Versions.def: Define GLIBC_2.15 version for libm.
52441 * math/Makefile (headers): Add bits/math-finite.h.
52442 * math/bits/math-finite.h: New file.
52443 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52444 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52445 * math/e_acoshl.c: Add __*_finite alias.
52446 * math/e_acosl.c: Likewise.
52447 * math/e_asinl.c: Likewise.
52448 * math/e_atan2l.c: Likewise.
52449 * math/e_atanhl.c: Likewise.
52450 * math/e_coshl.c: Likewise.
52451 * math/e_exp10.c: Likewise.
52452 * math/e_exp10f.c: Likewise.
52453 * math/e_exp10l.c: Likewise.
52454 * math/e_exp2l.c: Likewise.
52455 * math/e_fmodl.c: Likewise.
52456 * math/e_gammal_r.c: Likewise.
52457 * math/e_hypotl.c: Likewise.
52458 * math/e_j0l.c: Likewise.
52459 * math/e_j1l.c: Likewise.
52460 * math/e_jnl.c: Likewise.
52461 * math/e_lgammal_r.c: Likewise.
52462 * math/e_log10l.c: Likewise.
52463 * math/e_log2l.c: Likewise.
52464 * math/e_logl.c: Likewise.
52465 * math/e_powl.c: Likewise.
52466 * math/e_sinhl.c: Likewise.
52467 * math/e_sqrtl.c: Likewise.
52468 * math/e_scalb.c: Completely rewritten and optimized.
52469 * math/e_scalbf.c: Likewise.
52470 * math/e_scalbl.c: Likewise.
52471 * math/w_acos.c: Likewise.
52472 * math/w_acosf.c: Likewise.
52473 * math/w_acosl.c: Likewise.
52474 * math/w_acosh.c: Likewise.
52475 * math/w_acoshf.c: Likewise.
52476 * math/w_acoshl.c: Likewise.
52477 * math/w_asin.c: Likewise.
52478 * math/w_asinf.c: Likewise.
52479 * math/w_asinl.c: Likewise.
52480 * math/w_atan2.c: Likewise.
52481 * math/w_atan2f.c: Likewise.
52482 * math/w_atan2l.c: Likewise.
52483 * math/w_atanh.c: Likewise.
52484 * math/w_atanhf.c: Likewise.
52485 * math/w_atanhl.c: Likewise.
52486 * math/w_exp10.c: Likewise.
52487 * math/w_exp10f.c: Likewise.
52488 * math/w_exp10l.c: Likewise.
52489 * math/w_fmod.c: Likewise.
52490 * math/w_fmodf.c: Likewise.
52491 * math/w_fmodl.c: Likewise.
52492 * math/w_j0.c: Likewise.
52493 * math/w_j0f.c: Likewise.
52494 * math/w_j0l.c: Likewise.
52495 * math/w_j1.c: Likewise.
52496 * math/w_j1f.c: Likewise.
52497 * math/w_j1l.c: Likewise.
52498 * math/w_jn.c: Likewise.
52499 * math/w_jnf.c: Likewise.
52500 * math/w_log.c: Likewise.
52501 * math/w_logf.c: Likewise.
52502 * math/w_logl.c: Likewise.
52503 * math/w_log10.c: Likewise.
52504 * math/w_log10f.c: Likewise.
52505 * math/w_log10l.c: Likewise.
52506 * math/w_log2.c: Likewise.
52507 * math/w_log2f.c: Likewise.
52508 * math/w_log2l.c: Likewise.
52509 * math/w_pow.c: Likewise.
52510 * math/w_powf.c: Likewise.
52511 * math/w_powl.c: Likewise.
52512 * math/w_remainder.c: Likewise.
52513 * math/w_remainderf.c: Likewise.
52514 * math/w_remainderl.c: Likewise.
52515 * math/w_scalb.c: Likewise.
52516 * math/w_scalbf.c: Likewise.
52517 * math/w_scalbl.c: Likewise.
52518 * math/w_sqrt.c: Likewise.
52519 * math/w_sqrtf.c: Likewise.
52520 * math/w_sqrtl.c: Likewise.
52521 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52522 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52523 used.
52524 * math/math_private.h: Declare __kernel_standard_f.
52525 * math/w_cosh.c: Remove cruft and optimize a bit.
52526 * math/w_coshf.c: Likewise.
52527 * math/w_coshl.c: Likewise.
52528 * math/w_exp2.c: Likewise.
52529 * math/w_exp2f.c: Likewise.
52530 * math/w_exp2l.c: Likewise.
52531 * math/w_hypot.c: Likewise.
52532 * math/w_hypotf.c: Likewise.
52533 * math/w_hypotl.c: Likewise.
52534 * math/w_lgamma.c: Likewise.
52535 * math/w_lgamma_r.c: Likewise.
52536 * math/w_lgammaf.c: Likewise.
52537 * math/w_lgammaf_r.c: Likewise.
52538 * math/w_lgammal.c: Likewise.
52539 * math/w_lgammal_r.c: Likewise.
52540 * math/w_sinh.c: Likewise.
52541 * math/w_sinhf.c: Likewise.
52542 * math/w_sinhl.c: Likewise.
52543 * math/w_tgamma.c: Likewise.
52544 * math/w_tgammaf.c: Likewise.
52545 * math/w_tgammal.c: Likewise.
52546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52548 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52549 Minor optimizations. Pretty printing. Remove cruft.
52550 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52551 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52553 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52554 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52555 * sysdeps/i386/fpu/e_asin.S: Likewise.
52556 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52557 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52558 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52559 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52560 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52562 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52563 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52564 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52565 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52566 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52567 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52568 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52569 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52570 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52571 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52572 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52573 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52574 * sysdeps/i386/fpu/e_log.S: Likewise.
52575 * sysdeps/i386/fpu/e_log10.S: Likewise.
52576 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52577 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52578 * sysdeps/i386/fpu/e_log2.S: Likewise.
52579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52580 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52581 * sysdeps/i386/fpu/e_logf.S: Likewise.
52582 * sysdeps/i386/fpu/e_logl.S: Likewise.
52583 * sysdeps/i386/fpu/e_pow.S: Likewise.
52584 * sysdeps/i386/fpu/e_powf.S: Likewise.
52585 * sysdeps/i386/fpu/e_powl.S: Likewise.
52586 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52587 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52588 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52589 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52590 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52591 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52592 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52593 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52594 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52595 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52598 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52599 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52600 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52601 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52602 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52603 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52604 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52605 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52606 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52608 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52609 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52611 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52612 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52613 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52615 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52616 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52617 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52618 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52619 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52620 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52621 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52622 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52623 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52624 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52625 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52626 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52627 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52628 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52629 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52630 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52631 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52632 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52633 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52634 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52635 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52636 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52637 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52638 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52639 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52640 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52641 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52642 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52643 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52644 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52654 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52655 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52656 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52657 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52659 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52660 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52661 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52665 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52666 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52667 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52669 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52672 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52673 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52674 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52676 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52677 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52678 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52679 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52680 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52681 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52682 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52683 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52684 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52685 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52686 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52687 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52688 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52689 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52690 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52691 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52692 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52693 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52694 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52695 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52696 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52697 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52698 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52699 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52700 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52701 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52703 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52704 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52705 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52706 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52707 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52708 (__isnanf): Likewise.
52709 (__isinf_ns): Likewise.
52710 (__isinf_nsf): Likewise.
52711 (__finite): Likewise.
52712 (__finitef): Likewise.
52713 (__ieee754_sqrt): Define as macro.
52714 (__ieee754_sqrtf): Define as macro.
52715 (__ieee754_sqrtl): Define as macro.
52716 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52717 inlined copy.
52718 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52719 __FINITE_MATH_ONLY__ consistent.
52720 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52721
52722 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52723
52724 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52725 of rawmemchr.
52726
52727 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52728
52729 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52730
52731 * po/ja.po: Update from translation team.
52732
52733 2011-10-08 Roland McGrath <roland@hack.frob.com>
52734
52735 * locale/programs/locarchive.c (prepare_address_space): New function.
52736 (create_archive, enlarge_archive, open_archive): Use it.
52737
52738 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52739 inside [SHARED], where it is used.
52740
52741 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52742
52743 * nss/getent.c (netgroup_keys): Remove unused variable.
52744 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52745
52746 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52747
52748 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52749 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52753 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52754 * math/Makefile (libm-calls): Add s_isinf_ns.
52755 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52756 * math/multc3.c: Likewise.
52757 * math/s_casin.c: Likewise.
52758 * math/s_casinf.c: Likewise.
52759 * math/s_casinl.c: Likewise.
52760 * math/s_ccos.c: Likewise.
52761 * math/s_ccosf.c: Likewise.
52762 * math/s_ccosl.c: Likewise.
52763 * math/s_ctan.c: Likewise.
52764 * math/s_ctanf.c: Likewise.
52765 * math/s_ctanh.c: Likewise.
52766 * math/s_ctanhf.c: Likewise.
52767 * math/s_ctanhl.c: Likewise.
52768 * math/s_ctanl.c: Likewise.
52769 * math/w_fmod.c: Likewise.
52770 * math/w_fmodf.c: Likewise.
52771 * math/w_fmodl.c: Likewise.
52772 * math/w_remainder.c: Likewise.
52773 * math/w_remainderf.c: Likewise.
52774 * math/w_remainderl.c: Likewise.
52775 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52776 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52777 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52779 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52780 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52781 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52782 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52783
52784 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52785 of the number.
52786 * stdio-common/printf_fphex.c: Likewise.
52787 * stdio-common/printf_size.c: Likewise.
52788
52789 * math/e_exp10.c: Include math_private.h using <...> not "...".
52790 * math/e_exp10f.c: Likewise.
52791 * math/e_exp10l.c: Likewise.
52792 * math/e_exp2l.c: Likewise.
52793 * math/e_j0l.c: Likewise.
52794 * math/e_j1l.c: Likewise.
52795 * math/e_jnl.c: Likewise.
52796 * math/e_lgammal_r.c: Likewise.
52797 * math/e_rem_pio2l.c: Likewise.
52798 * math/e_scalb.c: Likewise.
52799 * math/e_scalbf.c: Likewise.
52800 * math/e_scalbl.c: Likewise.
52801 * math/k_cosl.c: Likewise.
52802 * math/k_sinl.c: Likewise.
52803 * math/k_tanl.c: Likewise.
52804 * math/s_cacoshf.c: Likewise.
52805 * math/s_catan.c: Likewise.
52806 * math/s_catanf.c: Likewise.
52807 * math/s_catanh.c: Likewise.
52808 * math/s_catanhf.c: Likewise.
52809 * math/s_catanhl.c: Likewise.
52810 * math/s_catanl.c: Likewise.
52811 * math/s_ccosh.c: Likewise.
52812 * math/s_ccoshf.c: Likewise.
52813 * math/s_ccoshl.c: Likewise.
52814 * math/s_cexp.c: Likewise.
52815 * math/s_cexpf.c: Likewise.
52816 * math/s_cexpl.c: Likewise.
52817 * math/s_clog.c: Likewise.
52818 * math/s_clog10.c: Likewise.
52819 * math/s_clog10f.c: Likewise.
52820 * math/s_clog10l.c: Likewise.
52821 * math/s_clogf.c: Likewise.
52822 * math/s_clogl.c: Likewise.
52823 * math/s_csin.c: Likewise.
52824 * math/s_csinf.c: Likewise.
52825 * math/s_csinh.c: Likewise.
52826 * math/s_csinhf.c: Likewise.
52827 * math/s_csinhl.c: Likewise.
52828 * math/s_csinl.c: Likewise.
52829 * math/s_csqrt.c: Likewise.
52830 * math/s_csqrtf.c: Likewise.
52831 * math/s_csqrtl.c: Likewise.
52832 * math/s_ctan.c: Likewise.
52833 * math/s_ctanf.c: Likewise.
52834 * math/s_ctanh.c: Likewise.
52835 * math/s_ctanhf.c: Likewise.
52836 * math/s_ctanhl.c: Likewise.
52837 * math/s_ctanl.c: Likewise.
52838 * math/s_ldexp.c: Likewise.
52839 * math/s_ldexpf.c: Likewise.
52840 * math/s_ldexpl.c: Likewise.
52841 * math/s_significand.c: Likewise.
52842 * math/s_significandf.c: Likewise.
52843 * math/s_significandl.c: Likewise.
52844 * math/w_acos.c: Likewise.
52845 * math/w_acosf.c: Likewise.
52846 * math/w_acosh.c: Likewise.
52847 * math/w_acoshf.c: Likewise.
52848 * math/w_acoshl.c: Likewise.
52849 * math/w_acosl.c: Likewise.
52850 * math/w_asin.c: Likewise.
52851 * math/w_asinf.c: Likewise.
52852 * math/w_asinl.c: Likewise.
52853 * math/w_atan2.c: Likewise.
52854 * math/w_atan2f.c: Likewise.
52855 * math/w_atan2l.c: Likewise.
52856 * math/w_atanh.c: Likewise.
52857 * math/w_atanhf.c: Likewise.
52858 * math/w_atanhl.c: Likewise.
52859 * math/w_cosh.c: Likewise.
52860 * math/w_coshf.c: Likewise.
52861 * math/w_coshl.c: Likewise.
52862 * math/w_dremf.c: Likewise.
52863 * math/w_exp10.c: Likewise.
52864 * math/w_exp10f.c: Likewise.
52865 * math/w_exp10l.c: Likewise.
52866 * math/w_exp2.c: Likewise.
52867 * math/w_exp2f.c: Likewise.
52868 * math/w_fmod.c: Likewise.
52869 * math/w_fmodf.c: Likewise.
52870 * math/w_fmodl.c: Likewise.
52871 * math/w_hypot.c: Likewise.
52872 * math/w_hypotf.c: Likewise.
52873 * math/w_hypotl.c: Likewise.
52874 * math/w_j0.c: Likewise.
52875 * math/w_j0f.c: Likewise.
52876 * math/w_j0l.c: Likewise.
52877 * math/w_j1.c: Likewise.
52878 * math/w_j1f.c: Likewise.
52879 * math/w_j1l.c: Likewise.
52880 * math/w_jn.c: Likewise.
52881 * math/w_jnf.c: Likewise.
52882 * math/w_jnl.c: Likewise.
52883 * math/w_lgamma.c: Likewise.
52884 * math/w_lgamma_r.c: Likewise.
52885 * math/w_lgammaf.c: Likewise.
52886 * math/w_lgammaf_r.c: Likewise.
52887 * math/w_lgammal.c: Likewise.
52888 * math/w_lgammal_r.c: Likewise.
52889 * math/w_log.c: Likewise.
52890 * math/w_log10.c: Likewise.
52891 * math/w_log10f.c: Likewise.
52892 * math/w_log10l.c: Likewise.
52893 * math/w_log2.c: Likewise.
52894 * math/w_log2f.c: Likewise.
52895 * math/w_log2l.c: Likewise.
52896 * math/w_logf.c: Likewise.
52897 * math/w_logl.c: Likewise.
52898 * math/w_pow.c: Likewise.
52899 * math/w_powf.c: Likewise.
52900 * math/w_powl.c: Likewise.
52901 * math/w_remainder.c: Likewise.
52902 * math/w_remainderf.c: Likewise.
52903 * math/w_remainderl.c: Likewise.
52904 * math/w_scalb.c: Likewise.
52905 * math/w_scalbf.c: Likewise.
52906 * math/w_scalbl.c: Likewise.
52907 * math/w_sinh.c: Likewise.
52908 * math/w_sinhf.c: Likewise.
52909 * math/w_sinhl.c: Likewise.
52910 * math/w_sqrt.c: Likewise.
52911 * math/w_sqrtf.c: Likewise.
52912 * math/w_sqrtl.c: Likewise.
52913 * math/w_tgamma.c: Likewise.
52914 * math/w_tgammaf.c: Likewise.
52915 * math/w_tgammal.c: Likewise.
52916
52917 * po/ja.po: Update from translation team.
52918
52919 2011-09-29 Andreas Jaeger <aj@suse.de>
52920
52921 [BZ #13179]
52922 * sunrpc/netname.c (netname2host): Fix logic.
52923
52924 [BZ #6779]
52925 [BZ #6783]
52926 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52927 correctly.
52928 * math/w_remainder.c (__remainder): Likewise.
52929 * math/w_remainderf.c (__remainderf): Likewise.
52930 * math/libm-test.inc (remainder_test): Add test cases.
52931
52932 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52933
52934 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52935 sdiv_qrnnd.
52936
52937 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52938
52939 * string/test-memcmp.c: Avoid unncessary #defines.
52940 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52941
52942 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52943
52944 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52945 Use new sse2 version for core i3 - i7 as it's faster
52946 than sse42 version.
52947 (bit_Prefer_PMINUB_for_stringop): New.
52948 * sysdeps/x86_64/rawmemchr.S: Update.
52949 Replace with faster SSE2 version.
52950 * sysdeps/x86_64/memrchr.S: New file.
52951 * sysdeps/x86_64/memchr.S: Update.
52952 Replace with faster SSE2 version.
52953
52954 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52955
52956 * elf/dl-load.c (lose): Add cast to avoid warning.
52957
52958 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52959
52960 * po/ca.po: Update from translation team.
52961
52962 * inet/getnetgrent_r.c: Hook up nscd.
52963 * nscd/Makefile (routines): Add nscd_netgroup.
52964 (nscd-modules): Add netgroupcache.
52965 (CFLAGS-netgroupcache.c): Define.
52966 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52967 (cache_search): Add const to second parameter.
52968 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52969 INNETGR.
52970 (dbs): Add netgrdb entry.
52971 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52972 (verify_persistent_db): Handle netgrdb.
52973 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52974 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52975 GETFDNETGR.
52976 (netgroup_response_header): Define.
52977 (innetgroup_response_header): Define.
52978 (datahead): Add netgroup_response_header and innetgroup_response_header
52979 elements.
52980 * nscd/nscd.conf: Add entries for netgroup cache.
52981 * nscd/nscd.h (dbtype): Add netgrdb.
52982 (_PATH_NSCD_NETGROUP_DB): Define.
52983 (netgroup_iov_disabled): Declare.
52984 (xmalloc, xcalloc, xrealloc): Move declarations here.
52985 (cache_search): Adjust prototype.
52986 Add netgroup-related prototypes.
52987 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52988 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52989 (__nscd_innetgr): Declare.
52990 * nscd/selinux.c (perms): Use access_vector_t as element type and
52991 add netgroup-related initializers.
52992 * nscd/netgroupcache.c: New file.
52993 * nscd/nscd_netgroup.c: New file.
52994 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52995 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52996 For four parameters use innetgr.
52997 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52998 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52999 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53000 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53001
53002 * nscd/connections.c (register_traced_file): Don't register file
53003 for disabled databases.
53004
53005 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53006
53007 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53008
53009 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53010 from tree and freeing node.
53011
53012 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53013
53014 * nss/nsswitch.c (__nss_database_lookup): Handle
53015 nss_parse_service_list out of memory case.
53016
53017 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53018
53019 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53020 out of memory case.
53021
53022 2011-10-04 Andreas Schwab <schwab@redhat.com>
53023
53024 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53025 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53026 pass it down.
53027 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53028 elf_machine_rela, elf_machine_lazy_rel.
53029 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53030 (ELF_DYNAMIC_DO_REL): Likewise.
53031 (ELF_DYNAMIC_DO_RELA): Likewise.
53032 (ELF_DYNAMIC_RELOCATE): Likewise.
53033 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53034 to ELF_DYNAMIC_DO_REL.
53035 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53036 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53037 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53038 elf_machine_rela.
53039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53040 skip_ifunc, don't call ifunc function if non-zero.
53041 (elf_machine_rela): Likewise.
53042 (elf_machine_lazy_rel): Likewise.
53043 (elf_machine_lazy_rela): Likewise.
53044 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53045 (elf_machine_lazy_rel): Likewise.
53046 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53047 Likewise.
53048 (elf_machine_lazy_rel): Likewise.
53049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53050 Likewise.
53051 (elf_machine_lazy_rel): Likewise.
53052 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53053 (elf_machine_lazy_rel): Likewise.
53054 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53055 (elf_machine_lazy_rel): Likewise.
53056 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53057 (elf_machine_lazy_rel): Likewise.
53058 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53059 (elf_machine_lazy_rel): Likewise.
53060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53061 (elf_machine_lazy_rel): Likewise.
53062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53063 (elf_machine_lazy_rel): Likewise.
53064
53065 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53066
53067 * nss/nss_files/files-init.c (_nss_files_init): Use static
53068 initialization for all the *_traced_file variables.
53069
53070 2011-09-28 Andreas Schwab <schwab@redhat.com>
53071
53072 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53073
53074 2011-09-27 Roland McGrath <roland@hack.frob.com>
53075
53076 [BZ #13226]
53077 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53078
53079 2011-09-27 Andreas Schwab <schwab@redhat.com>
53080
53081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53082 Reread the line before reparsing it.
53083
53084 2011-09-26 Andreas Schwab <schwab@redhat.com>
53085
53086 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53087
53088 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53089 Maxim Kuvyrkov <maxim@codesourcery.com>
53090 Joseph Myers <joseph@codesourcery.com>
53091
53092 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53093 if needed for __stack_chk_guard.
53094
53095 2011-09-19 Roland McGrath <roland@hack.frob.com>
53096
53097 * sysdeps/posix/spawni.c (script_execute): Always define it.
53098 It will be optimized away if unused.
53099 (maybe_script_execute): New function.
53100 (__spawni): Call it.
53101
53102 * Makerules: Don't include tls.make.
53103 (config-tls): Always set to thread.
53104 * tls.make.c: File removed.
53105
53106 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53107
53108 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53109 * config.make.in (CPPFLAGS-config): New substituted variable.
53110
53111 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53112
53113 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53114
53115 [BZ #13192]
53116 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53117 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53118
53119 2011-09-15 Roland McGrath <roland@hack.frob.com>
53120
53121 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53122 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53124 (CALL_FAIL): Likewise.
53125 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53126 (CALL_FAIL): Macro removed.
53127 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53128
53129 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53130
53131 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53132 for __FINITE_MATH_ONLY__ == 1.
53133
53134 2011-09-15 Andreas Schwab <schwab@redhat.com>
53135
53136 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53137 __ieee754_sqrt instead of sqrt.
53138 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53139 __ieee754_sqrtf instead of sqrtf.
53140 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53141 __floorf instead of floorf.
53142 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53143 __floorf, __truncf instead of floorf, truncf.
53144
53145 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53146
53147 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53148
53149 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53150 __extern_always_inline.
53151 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53152 32-bit.
53153
53154 2011-09-14 Andreas Schwab <schwab@redhat.com>
53155
53156 * elf/rtld.c (dl_main): Also relocate in dependency order when
53157 doing symbol dependency testing.
53158
53159 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53160
53161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53162 Always define `refsym'.
53163
53164 2011-09-13 Andreas Schwab <schwab@redhat.com>
53165
53166 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53167 (__FD_ELT): Renamed from __FDELT.
53168 * misc/bits/select2.h (__FD_ELT): Likewise.
53169 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53170 __FD_MASK instead of __FDELT, __FDMASK.
53171 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53172 Likewise.
53173 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53174 Likewise.
53175
53176 * elf/Makefile (gen-ldd): Fix pattern.
53177
53178 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53179 (init_tls): Likewise.
53180
53181 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53182
53183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53184
53185 2011-09-12 Andreas Schwab <schwab@redhat.com>
53186
53187 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53188 `struct cmsghdr *' instead of `void *'.
53189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53190 Likewise.
53191
53192 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53193
53194 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53195 if non-absolute.
53196 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53197 ldd_rewrite_script.
53198
53199 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53200
53201 * configure.in: Remove --with-tls option.
53202 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53203 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53204 out in case it is missing.
53205 * sysdeps/ia64/elf/configure.in: Likewise.
53206 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53207 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53208 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53209 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53210 * sysdeps/sh/elf/configure.in: Likewise.
53211 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53212 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53213 * sysdeps/x86_64/elf/configure.in: Likewise.
53214 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53215 * sysdeps/mach/hurd/tls.h: Likewise.
53216
53217 [BZ #13067]
53218 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53219
53220 [BZ #13090]
53221 * configure.in: Fix use of AC_INIT.
53222
53223 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53224
53225 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53226
53227 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53228 __set_errno.
53229 * malloc/hooks.c: Likewise.
53230
53231 [BZ #11929]
53232 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53233 variables statically.
53234 (narenas): Initialize.
53235 (list_lock): Initialize.
53236 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53237 initializtion of main_arena and list_lock. Small cleanups.
53238 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53239 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53240 Add initializers to main_arena and mp_.
53241 (malloc_state): Remove pagesize member. Change all users to use
53242 GLRO(dl_pagesize).
53243
53244 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53245 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53246 is always initialized.
53247
53248 * malloc/malloc.c: Removed unused configurations and dead code.
53249 * malloc/arena.c: Likewise.
53250 * malloc/hooks.c: Likewise.
53251 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53252
53253 * include/tls.h: Removed. USE___THREAD must always be defined.
53254 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53255 * elf/dl-libc.c: Likewise.
53256 * elf/dl-tsd.c: Likewise.
53257 * include/errno.h: Likewise.
53258 * include/netdb.h: Likewise.
53259 * include/resolv.h: Likewise.
53260 * inet/herrno-loc.c: Likewise.
53261 * inet/herrno.c: Likewise.
53262 * malloc/arena.c: Likewise.
53263 * malloc/hooks.c: Likewise.
53264 * malloc/malloc.c: Likewise.
53265 * resolv/res-state.c: Likewise.
53266 * resolv/res_libc.c: Likewise.
53267 * sysdeps/i386/dl-machine.h: Likewise.
53268 * sysdeps/ia64/dl-machine.h: Likewise.
53269 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53270 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53271 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53272 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53273 * sysdeps/sh/dl-machine.h: Likewise.
53274 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53275 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53276 * sysdeps/unix/i386/sysdep.S: Likewise.
53277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53278 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53280 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53283 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53287 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53288 * sysdeps/x86_64/dl-machine.h: Likewise.
53289 * tls.make.c: Likewise.
53290
53291 * configure.in: Remove --with-__thread option. Make tests for
53292 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53293 tls_model attribute fail if no support is available. Remove
53294 USE_IN_LIBIO.
53295 * Makeconfig: Adjust for dropped configure option. All features are
53296 now mandatory.
53297 * Makerules: Likewise.
53298 * Versions.def: Likewise.
53299 * argp/argp-fmtstream.c: Likewise.
53300 * argp/argp-fmtstream.h: Likewise.
53301 * argp/argp-help.c: Likewise.
53302 * assert/assert.c: Likewise.
53303 * config.h.in: Likewise.
53304 * config.make.in: Likewise.
53305 * configure: Likewise.
53306 * configure.in: Likewise.
53307 * csu/Versions: Likewise.
53308 * csu/init.c: Likewise.
53309 * elf/tst-audit2.c: Likewise.
53310 * elf/tst-tls10.c: Likewise.
53311 * elf/tst-tls10.h: Likewise.
53312 * elf/tst-tls11.c: Likewise.
53313 * elf/tst-tls12.c: Likewise.
53314 * elf/tst-tls14.c: Likewise.
53315 * elf/tst-tlsmod11.c: Likewise.
53316 * elf/tst-tlsmod12.c: Likewise.
53317 * elf/tst-tlsmod13.c: Likewise.
53318 * elf/tst-tlsmod13a.c: Likewise.
53319 * elf/tst-tlsmod14a.c: Likewise.
53320 * elf/tst-tlsmod15b.c: Likewise.
53321 * elf/tst-tlsmod16a.c: Likewise.
53322 * elf/tst-tlsmod16b.c: Likewise.
53323 * elf/tst-tlsmod7.c: Likewise.
53324 * elf/tst-tlsmod8.c: Likewise.
53325 * elf/tst-tlsmod9.c: Likewise.
53326 * gmon/gmon.c: Likewise.
53327 * grp/fgetgrent_r.c: Likewise.
53328 * grp/putgrent.c: Likewise.
53329 * hurd/fopenport.c: Likewise.
53330 * include/libc-symbols.h: Likewise.
53331 * include/tls.h: Likewise.
53332 * intl/gettextP.h: Likewise.
53333 * intl/loadinfo.h: Likewise.
53334 * locale/global-locale.c: Likewise.
53335 * locale/localeinfo.h: Likewise.
53336 * mach/devstream.c: Likewise.
53337 * malloc/arena.c: Likewise.
53338 * malloc/set-freeres.c: Likewise.
53339 * misc/err.c: Likewise.
53340 * misc/getttyent.c: Likewise.
53341 * misc/mntent_r.c: Likewise.
53342 * posix/getopt.c: Likewise.
53343 * posix/wordexp.c: Likewise.
53344 * pwd/fgetpwent_r.c: Likewise.
53345 * resolv/Versions: Likewise.
53346 * resolv/res_hconf.c: Likewise.
53347 * shadow/fgetspent_r.c: Likewise.
53348 * shadow/putspent.c: Likewise.
53349 * stdio-common/printf_fphex.c: Likewise.
53350 * stdio-common/tmpfile.c: Likewise.
53351 * stdlib/abort.c: Likewise.
53352 * stdlib/fmtmsg.c: Likewise.
53353 * sunrpc/auth_unix.c: Likewise.
53354 * sunrpc/clnt_perr.c: Likewise.
53355 * sunrpc/clnt_tcp.c: Likewise.
53356 * sunrpc/clnt_udp.c: Likewise.
53357 * sunrpc/clnt_unix.c: Likewise.
53358 * sunrpc/openchild.c: Likewise.
53359 * sunrpc/svc_simple.c: Likewise.
53360 * sunrpc/svc_tcp.c: Likewise.
53361 * sunrpc/svc_udp.c: Likewise.
53362 * sunrpc/svc_unix.c: Likewise.
53363 * sunrpc/xdr.c: Likewise.
53364 * sunrpc/xdr_array.c: Likewise.
53365 * sunrpc/xdr_rec.c: Likewise.
53366 * sunrpc/xdr_ref.c: Likewise.
53367 * sunrpc/xdr_stdio.c: Likewise.
53368
53369 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53370
53371 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53372
53373 2011-07-03 Andreas Jaeger <aj@suse.de>
53374
53375 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53376 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53377 regenerate with gen-libm-tests.pl.
53378
53379 2010-05-12 Petr Baudis <pasky@suse.cz>
53380
53381 [BZ #11589]
53382 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53383 around j0() zero points by switching to j1().
53384 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53385 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53387 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53388
53389 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53390
53391 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53392 instead of 0.
53393 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53394 instead of 0.
53395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53396 Patch in part by Pavel Roskin <proski@gnu.org>.
53397
53398 [BZ #13138]
53399 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53400 realloc.
53401 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53402 Free memory block if necessary.
53403
53404 [BZ #12847]
53405 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53406 be NULL. Don't lock in this case.
53407
53408 2011-09-09 Roland McGrath <roland@hack.frob.com>
53409
53410 * elf/elf.h (ELFOSABI_GNU): New macro.
53411 (ELFOSABI_LINUX): Define to that.
53412
53413 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53414
53415 * string/strncat.c (strncat): Undef the symbol in case it has been
53416 defined in bits/string.h.
53417
53418 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53419
53420 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53421
53422 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53423 link map.
53424
53425 2011-08-17 Andreas Jaeger <aj@suse.de>
53426
53427 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53428
53429 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53430 Ian Lance Taylor <iant@google.com>
53431
53432 * math/libm-test.inc (lround_test): New testcase.
53433 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53434
53435 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53436
53437 * Makefile: Remove support for automatic cvs check-ins.
53438 * Makerules: Likewise.
53439 * config.make.in: Likewise.
53440 * configure.in: Likewise.
53441 * intl/Makefile: Likewise.
53442 * locale/Makefile: Likewise.
53443 * po/Makefile: Likewise.
53444 * posix/Makefile: Likewise.
53445 * sysdeps/gnu/Makefile: Likewise.
53446 * sysdeps/mach/hurd/Makefile: Likewise.
53447 * sysdeps/sparc/sparc32/Makefile: Likewise.
53448
53449 [BZ #13118]
53450 * posix/Makefile (bug-regex32-ENV): Define.
53451 Patch by John Stanley <jpsinthemix@verizon.net>.
53452
53453 * misc/Makefile (headers): Add bits/select2.h.
53454 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53455 * misc/bits/select2.h: New file.
53456 * include/bits/select2.h: New file.
53457 * debug/Makefile (routines): Add fdelt_chk.
53458 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53459 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53460 FD_ISSET.
53461 * debug/fdelt_chk.c: New file.
53462
53463 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53464 * wcsmbs/test-wmemcmp.c: Likewise.
53465 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53466 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53467
53468 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53469
53470 * string/Makefile (strop-tests): Add memcmp.
53471 * string/test-wmemcmp.c: New file.
53472 * string/test-memcmp.c: Add wmemcmp support.
53473
53474 2011-09-08 Roland McGrath <roland@hack.frob.com>
53475
53476 [BZ #13153]
53477 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53478 2011-07-19 change.
53479
53480 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53481 garbage value in a __mach_port_mod_refs call in the cases of the
53482 task-self and thread-self ports.
53483
53484 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53485
53486 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53487
53488 2011-09-08 Andreas Schwab <schwab@redhat.com>
53489
53490 * elf/dl-load.c (lose): Check for non-null L.
53491
53492 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53493
53494 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53495
53496 * elf/dl-libc.c (dlerror_run): Pass back error code from
53497 dl_catch_error.
53498
53499 [BZ #13123]
53500 * elf/dl-load.c (lose): Free l_origin if it is valid.
53501
53502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53503 names.
53504 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53507 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53509 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53510
53511 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53512
53513 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53514 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53515 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53516 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53517 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53518 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53519 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53520 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53521 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53522 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53523
53524 2011-08-15 Alan Modra <amodra@gmail.com>
53525
53526 [BZ #13092]
53527 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53528 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53529 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53530 ppc_mcount to static-only-routines.
53531 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53532 __mcount_internal.
53533 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53534 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53535
53536 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53537
53538 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53539 for finite and infinity parameters.
53540
53541 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53542
53543 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53544 and add nop instructions for throughput optimization.
53545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53546
53547 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53548
53549 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53550 aligned copy for power7 with vector-scalar instructions.
53551 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53552
53553 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53554
53555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53556 AVX check.
53557
53558 2011-09-07 Andreas Schwab <schwab@redhat.com>
53559
53560 [BZ #13144]
53561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53562 last change.
53563
53564 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53565
53566 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53567 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53568 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53569 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53570 clock_gettime.
53571
53572 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53573
53574 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53575 Forgot to demangle the pointer.
53576
53577 * sysdeps/i386/sysdep.h: Define atom_text_section.
53578 * sysdeps/x86_64/sysdep.h: Likewise.
53579 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53580 section with atom_text_section.
53581 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53582 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53583 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53584 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53585 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53586
53587 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53588 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53589 already be defined. Change to take two parameters and don't assign
53590 result to variable. Adjust all users.
53591 Define INTERNAL_GETTIME if not already defined.
53592 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53593 call.
53594 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53595 HAVE_CLOCK_GETTIME_VSYSCALL.
53596 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53597
53598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53599 gettimeofday vsyscall, just use time.
53600
53601 2011-09-06 Andreas Schwab <schwab@redhat.com>
53602
53603 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53604 <errno.h>.
53605
53606 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53607
53608 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53609 syscall on x86-64.
53610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53611 syscall.
53612 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53614 syscall if possible.
53615
53616 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53617
53618 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53619 e_ident. Don't pass to find_mapsXX.
53620 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53621
53622 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53623
53624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53625 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53626 * sysdeps/x86_64/multiarch/strchr.S: Update.
53627 Check bit_slow_BSF bit.
53628 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53629 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53630 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53631
53632 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53633
53634 [BZ #13134]
53635 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53636 before glibc 2.15.
53637 (tryshell): Define.
53638 (__spawni): Change last parameter to be flag. Test
53639 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53640 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53641 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53642 * posix/spawni.c: Likewise.
53643 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53644 * posix/spawnp.c: Likewise. Change normal version to use
53645 SPAWN_XFLAGS_USE_PATH.
53646 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53647 SPAWN_XFLAGS_TRY_SHELL.
53648
53649 [BZ #13150]
53650 * posix/glob.h: Remove gcc 1.x support.
53651
53652 [BZ #13068]
53653 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53654
53655 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53656
53657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53658 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53659 strrchr-sse2-bsf
53660 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53661 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53662 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53663 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53664 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53666
53667 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53668
53669 * sysdeps/x86_64/wcscmp.S: New file.
53670
53671 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53672 wcscmp-c wcscmp-sse2
53673 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53674 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53675 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53676 * wcsmbs/wcscmp.c: Allow renaming.
53677
53678 2011-09-05 David S. Miller <davem@davemloft.net>
53679
53680 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53681 stack slot, rather than the struct return pointer slot.
53682 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53683 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53685 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53686
53687 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53688
53689 * po/ja.po: Update from translation team.
53690
53691 [BZ #13144]
53692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53693 kernel in 64-bit binaries.
53694
53695 2011-09-01 David S. Miller <davem@davemloft.net>
53696
53697 * elf/elf.h (HWCAP_SPARC_*): Move to..
53698 * sysdeps/sparc/sysdep.h: this new file and add new values.
53699 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53700 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53701 _DL_HWCAP_COUNT to 24.
53702 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53703 entries.
53704 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53705 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53706 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53708 instead of magic constants.
53709 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53710
53711 2011-08-31 David S. Miller <davem@davemloft.net>
53712
53713 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53714 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53715 Reimplement to do errno handling inline.
53716 (SYSCALL_ERROR_HANDLER): New macro.
53717 (__SYSCALL_STRING): Do not do errno handling in asm.
53718 (__CLONE_SYSCALL_STRING): Delete.
53719 (__INTERNAL_SYSCALL_STRING): Delete.
53720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53721 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53722 (PSEUDO): Reimplement to do errno handling inline.
53723 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53724 (SYSCALL_ERROR_HANDLER): New macro.
53725 (__SYSCALL_STRING): Do not do errno handling in asm.
53726 (__CLONE_SYSCALL_STRING): Delete.
53727 (__INTERNAL_SYSCALL_STRING): Delete.
53728 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53729 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53730 i386.
53731 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53732 (inline_syscall*): Add 'err' argument.
53733 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53734 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53735 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53736 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53737
53738 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53739 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53740
53741 2011-08-30 Andreas Schwab <schwab@redhat.com>
53742
53743 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53744
53745 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53746
53747 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53748 directive.
53749
53750 2011-08-24 David S. Miller <davem@davemloft.net>
53751
53752 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53753
53754 2011-08-24 Andreas Schwab <schwab@redhat.com>
53755
53756 * elf/Makefile: Add rules to build and run unload8 test.
53757 * elf/unload8.c: New file.
53758 * elf/unload8mod1.c: New file.
53759 * elf/unload8mod1x.c: New file.
53760 * elf/unload8mod2.c: New file.
53761 * elf/unload8mod3.c: New file.
53762
53763 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53764 it wasn't used.
53765
53766 2011-08-23 David S. Miller <davem@davemloft.net>
53767
53768 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53769 subtract stack bias.
53770 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53771 %sp not %fp in calculations.
53772 (_JMPBUF_UNWINDS_ADJ): Likewise.
53773
53774 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53775 (aio_suspend): Call it to force an exception region around the
53776 AIO_MISC_WAIT() invocation.
53777
53778 2011-08-23 Andreas Schwab <schwab@redhat.com>
53779
53780 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53781 backslash.
53782
53783 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53784
53785 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53786 protection macro.
53787 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53788 and <dl-machine.h>.
53789 (Elf64_FuncDesc): Remove.
53790
53791 2011-08-22 David S. Miller <davem@davemloft.net>
53792
53793 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53794 sigaltstack check, add missing cfi directives.
53795 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53796 missing cfi directives, and sigaltstack handling.
53797
53798 2011-08-16 Andreas Schwab <schwab@redhat.com>
53799
53800 [BZ #11724]
53801 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53802 object is seen twice.
53803 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53804
53805 * elf/Makefile (distribute): Add tst-initorder2.c.
53806 (tests): Add tst-initorder2.
53807 (modules-names): Add tst-initorder2a tst-initorder2b
53808 tst-initorder2c tst-initorder2d. Add rules to build them.
53809 ($(objpfx)tst-initorder2.out): New rule.
53810 * elf/tst-initorder2.c: New file.
53811 * elf/tst-initorder2.exp: New file.
53812
53813 2011-08-22 Andreas Schwab <schwab@redhat.com>
53814
53815 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53816
53817 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53818 dependencies back to end of function.
53819
53820 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53821 $(elfobjdir)/ld.so.
53822
53823 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53824
53825 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53826 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53828 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53829 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53830 of __vdso_gettimeofday.
53831 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53832 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53833 attribute_hidden.
53834 (_libc_vdso_platform_setup): Remove initialization of
53835 __vdso_gettimeofday and __vdso_time.
53836
53837 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53838
53839 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53840 and fgetc_unlocked.
53841 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53842 getc_unlocked.
53843
53844 * elf/dl-open.c (add_to_global): Report additions to the global scope
53845 for LD_DEBUG=scopes.
53846 (dl_open_worker): Also print scope of newly loaded dependencies.
53847 (_dl_show_scope): Indicate if there is no scope.
53848
53849 [BZ #13114]
53850 * stdio-common/Makefile (tests): Add bug24.
53851 * stdio-common/bug24.c: New file.
53852
53853 2011-08-19 Andreas Jaeger <aj@suse.de>
53854
53855 [BZ #13114]
53856 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53857 non-existant file when using close-on-exec mode.
53858
53859 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53860
53861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53862 the very first instruction.
53863
53864 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53865 the CFI state in the end.
53866 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53867 inclusion of dl-trampoline.h.
53868 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53869
53870 2011-08-19 Andreas Schwab <schwab@redhat.com>
53871
53872 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53873 expectations for long double.
53874
53875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53876 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53877
53878 2011-08-14 David S. Miller <davem@davemloft.net>
53879
53880 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53881 artificual limit depends upon the system page size.
53882
53883 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53884
53885 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53886 * resolv/Makefile: Define CFLAGS-libresolv.
53887
53888 2011-08-17 Andreas Schwab <schwab@redhat.com>
53889
53890 * nss/makedb.c (compute_tables): Make variables used in nested
53891 function static.
53892
53893 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53894
53895 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53896 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53897 if buffer was too small.
53898
53899 * elf/pldd.c (main): Attach to all threads in the process.
53900 Rewrite /proc handling to use *at functions.
53901
53902 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53903
53904 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53905 specifies first scope to show.
53906 (dl_open_worker): Update callers. Move printing scope of new
53907 object to before the relocation.
53908 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53909 * sysdeps/generic/ldsodefs.h: Update declaration.
53910
53911 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53912 string for the scope number.
53913
53914 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53915
53916 * nscd/servicescache.c (cache_addserv): Make sure written is always
53917 initialized.
53918
53919 2011-08-14 Roland McGrath <roland@hack.frob.com>
53920
53921 * sysdeps/i386/i486/bits/atomic.h
53922 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53923 statement expression, so as to suppress "set but not used" warning.
53924 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53925
53926 * string/strncat.c (STRNCAT): Use prototype definition.
53927
53928 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53929 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53930 -Iprograms here.
53931 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53932 (localedef-modules): Add localedef.
53933 (locale-modules): Add locale.
53934
53935 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53936 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53937 to avoid a warning.
53938
53939 2011-08-14 David S. Miller <davem@davemloft.net>
53940
53941 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53942 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53943
53944 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53945
53946 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53947 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53948 * elf/rtld.c (dl_main): Set l_name of vDSO.
53949 Call _dl_show_scope when DL_DEBUG_SCOPES.
53950 (process_dl_debug): Recognize scopes flag and also set it for all.
53951 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53952 Declare _dl_show_scope.
53953
53954 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53955 (do_dlopen): Pass caller_dlopen to dl_open.
53956 (__libc_dlopen_mode): Initialize caller_dlopen.
53957
53958 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53959 of libc. Make tolower call locale-independent. Optimize a bit by
53960 using isdigit instead of isalnum.
53961 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53962
53963 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53964
53965 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53966 was a dependency or dynamically loaded.
53967
53968 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53969
53970 * intl/l10nflist.c: Allow architecture-specific pop function.
53971 * sysdeps/x86_64/l10nflist.c: New file.
53972
53973 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53974 classification.
53975
53976 2011-08-10 Andreas Schwab <schwab@redhat.com>
53977
53978 * include/dirent.h: Add libc_hidden_proto for scandirat and
53979 scandirat64. Don't declare __scandirat64.
53980 * dirent/scandirat.c: Add libc_hidden_def.
53981 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53982 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53983
53984 2011-08-10 David S. Miller <davem@davemloft.net>
53985
53986 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53987 enum.
53988 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53989 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53990 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53991
53992 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53993
53994 * Versions.def [libc]: Add GLIBC_2.15.
53995 * dirent/Makefile (routines): Add scandirat and scandirat64.
53996 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53997 GLIBC_2.15.
53998 * dirent/dirent.h: Declare scandirat and scandirat64.
53999 * dirent/scandirat.c: New file.
54000 * dirent/scandirat64.c: New file.
54001 * sysdeps/wordsize-64/scandirat.c: New file.
54002 * sysdeps/wordsize-64/scandirat64.c: New file.
54003 * dirent/opendir.c: Define opendirat.
54004 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54005 using scandirat.
54006 * dirent/scandir64.c: Adjust for scandir.c change.
54007 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54008 __scandirat64, and __scandir_cancel_handler.
54009 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54010 additional parameter and use openat instead of open (outside of ld.so).
54011 Add new __opendir as wrapper around __opendirat.
54012 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54013 here without requiring old scandirat implementation.
54014
54015 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54016
54017 * dirent/scandir.c (cancel_handler): Renamed to
54018 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54019 defined. Adjust users.
54020 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54022
54023 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54024
54025 * string/test-string.h (IMPL): Use __STRING to expand name and then
54026 stringify it.
54027
54028 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54029 of cleanups.
54030
54031 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54032
54033 * string/Makefile: Update.
54034 (strop-tests): Append strncat.
54035 * string/test-wcscmp.c: New file.
54036 New comprehensive test for wcscmp.
54037 * string/test-strcmp.c: Update.
54038 (WIDE): New define.
54039
54040 2011-07-22 Andreas Schwab <schwab@redhat.com>
54041
54042 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54043 line.
54044
54045 2011-07-26 Andreas Schwab <schwab@redhat.com>
54046
54047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54048 encoding to ACE if AI_IDN.
54049
54050 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54051
54052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54053 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54054
54055 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54056
54057 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54058 Fix overflow bug in strncat.
54059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54060
54061 * string/test-strncat.c: Update.
54062 Add new tests for checking overflow bugs.
54063
54064 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54065
54066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54067 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54068 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54069 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54071 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54072 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54073 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54074 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54075
54076 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54077 (USE_AS_STRCAT): Define.
54078 Add strcat and strncat support.
54079 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54080
54081 2011-07-25 Andreas Schwab <schwab@redhat.com>
54082
54083 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54084 __n bigger than INT_MAX+1.
54085 (__strncmp_g): Likewise.
54086
54087 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54088
54089 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54090 * libio/stido.h: Likewise.
54091
54092 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54093 (AF_NFC): Define.
54094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54095 (AF_NFC): Define.
54096
54097 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54099 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54100 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54102
54103 [BZ #13021]
54104 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54105 installed.
54106
54107 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54108 typo.
54109 (_dl_x86_64_save_sse): Likewise.
54110
54111 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54112
54113 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54114 OSXSAVE.
54115 (_dl_x86_64_save_sse): Likewise.
54116
54117 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54118
54119 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54120
54121 2011-07-21 Andreas Schwab <schwab@redhat.com>
54122
54123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54124 change.
54125 (_dl_x86_64_save_sse): Use correct AVX check.
54126
54127 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54128
54129 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54130 bug in strncpy/strncat.
54131 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54132
54133 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54134
54135 * string/tester.c (test_strcat): Add tests for different alignments
54136 of source and destination.
54137 (test_strncat): Likewise.
54138
54139 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54140
54141 [BZ #12852]
54142 * posix/glob.c (glob): Check passed in values before using them in
54143 expressions to avoid some overflows.
54144 (glob_in_dir): Likewise.
54145
54146 [BZ #13007]
54147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54148 check for AVX enablement so that we don't crash with old kernels and
54149 new hardware.
54150 * elf/tst-audit4.c: Add same checks here.
54151 * elf/tst-audit6.c: Likewise.
54152
54153 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54154
54155 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54156
54157 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54158
54159 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54160
54161 * po/cs.po: Update from translation team.
54162 * po/bg.po: Likewise.
54163
54164 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54165
54166 * misc/sys/cdefs.h: Add support for const attribute.
54167 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54168 to gnu_dev_{major,minor,makedev} functions.
54169
54170 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54171
54172 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54173
54174 2011-07-20 Andreas Schwab <schwab@redhat.com>
54175
54176 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54177 strlen results.
54178
54179 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54180
54181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54182 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54183 register in order to avoid conflicts with the soft frame pointer
54184 being held in r11 when necessary.
54185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54186 (INTERNAL_VSYSCALL_NCS): Likewise.
54187
54188 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54189
54190 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54191 * elf/dl-fini.c (_dl_fini): Adjust caller.
54192 * elf/dl-close.c (_dl_close_worker): Likewise.
54193 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54194
54195 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54196
54197 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54198 "aux_cache->nlibs < 0".
54199
54200 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54201 in the reload-count case.
54202
54203 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54204
54205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54206 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54207 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54208 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54209 * sysdeps/x86_64/multiarch/strcat.S: New file.
54210 * sysdeps/x86_64/multiarch/strncat.S: New file.
54211 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54212 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54213 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54214 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54215 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54216 (USE_AS_STRCAT): Define.
54217 Add strcat and strncat support.
54218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54220 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54221 * string/strncat.c: Update.
54222 (USE_AS_STRNCAT): Define.
54223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54224 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54225 and i7.
54226 * sysdeps/x86_64/multiarch/init-arch.h
54227 (bit_Prefer_PMINUB_for_stringop): New.
54228 (index_Prefer_PMINUB_for_stringop): Likewise.
54229 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54230 bit_Prefer_PMINUB_for_stringop.
54231
54232 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54233
54234 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54235 buffer64.
54236 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54237 of casting of buffer.
54238 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54239 buffer32 and buffer64.
54240 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54241 writes instead of casting of buffer.
54242 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54243 buffer32.
54244 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54245 casting of buffer.
54246
54247 2011-07-19 Andreas Schwab <schwab@redhat.com>
54248
54249 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54250
54251 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54252
54253 * nscd/nscd.c (termination_handler): Don't do anything for a database
54254 if it has not yet been initialized.
54255
54256 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54257
54258 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54259
54260 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54261
54262 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54263
54264 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54265
54266 * po/nl.po: Update from translation team.
54267 * po/sv.po: Likewise.
54268
54269 2011-07-16 Roland McGrath <roland@hack.frob.com>
54270
54271 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54272 now disallowed by GCC.
54273
54274 * configure.in (use-default-link): Default to yes if a test -shared
54275 link meets our qualifications.
54276 * configure: Regenerated.
54277
54278 * config.make.in (output-format): New variable.
54279 * configure.in: Check for ld --print-output-format support.
54280 * configure: Regenerated.
54281 * Makerules ($(common-objpfx)format.lds)
54282 [$(output-format) != unknown]: Just use $(output-format),
54283 instead of the linker-script munging.
54284
54285 2011-07-14 Roland McGrath <roland@hack.frob.com>
54286
54287 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54288 of $(common-objpfx)shlib.lds.
54289 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54290
54291 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54292 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54293
54294 * configure.in (-z relro check): Adjust test code to add a large
54295 writable data section after it.
54296 * configure: Regenerated.
54297
54298 2011-07-11 Roland McGrath <roland@hack.frob.com>
54299
54300 * configure.in (-z relro check): Fix test code to make the variable
54301 truly const.
54302 * configure: Regenerated.
54303
54304 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54305
54306 * nscd/nscd.h (struct traced_file): Define.
54307 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54308 elements. Add traced_files.
54309 (inotify_fd): Declare.
54310 (register_traced_file): Declare.
54311 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54312 (inotify_fd): Export.
54313 (resolv_conf_descr): Remove.
54314 (nscd_init): Move inotify descriptor creation to main.
54315 Don't register files for notification here.
54316 (register_traced_file): New function.
54317 (invalidate_cache): Don't use reset_res to determine whether to call
54318 res_init, go through the list of registered files.
54319 (main_loop_poll): The inotify descriptors are now stored in the
54320 structures for the traced files.
54321 (main_loop_epoll): Likewise
54322 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54323 to __nss_disable_nscd.
54324 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54325 for a database anymore. Check the records for all the registered
54326 files instead.
54327 * nss/Makefile (libnss_files-routines): Add files-init.
54328 (libnss_db-routines): Add db-init.
54329 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54330 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54331 * nss/nss_db/db-init.c: New file.
54332 * nss/nss_files/files-init.c: New file.
54333 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54334 __nss_lookup_function.
54335 (__nss_lookup_function): Call nss_load_library.
54336 (nss_load_all_libraries): New function.
54337 (__nss_disable_nscd): Take parameter with callback function for files
54338 to register. Set is_nscd. Load all the DSOs for the NSS modules
54339 used for the cached services.
54340 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54341 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54342 options for features to all the files in nscd.
54343
54344 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54345
54346 2011-07-10 Roland McGrath <roland@hack.frob.com>
54347
54348 * csu/elf-init.c (__libc_csu_init): Comment typo.
54349
54350 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54351
54352 * po/pl.po: Update from translation team.
54353 * po/ja.po: Likewise.
54354 * po/ru.po: Likewise.
54355 * po/ko.po: Likewise.
54356 * po/fr.po: Likewise.
54357
54358 2011-07-09 Roland McGrath <roland@hack.frob.com>
54359
54360 * configure.in (.ctors/.dtors header and trailer check):
54361 Use an empirical test on a built program.
54362 * configure: Regenerated.
54363
54364 * configure.in (-z relro check): Use an empirical test on a built DSO.
54365 Detect, but do not require, on ia64.
54366 * configure: Regenerated.
54367
54368 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54369 Update tests that use readelf to use $READELF instead.
54370 * configure: Regenerated.
54371
54372 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54373
54374 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54375 if the result is not used.
54376
54377 2011-07-05 Andreas Jaeger <aj@suse.de>
54378
54379 [BZ#9696]
54380 * stdlib/tst-strtod.c: Add testcase.
54381
54382 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54383
54384 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54385 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54386 The latter has a higher limit. Take additional parameter to pass to
54387 the new function.
54388 (__pathconf): Pass file to __statfs_link_max.
54389 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54390 __statfs_link_max.
54391 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54392 __statfs_link_max.
54393
54394 [BZ #12868]
54395 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54396 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54397 Handle Lustre.
54398 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54399 (__statfs_filesize_max): Likewise.
54400 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54401
54402 2011-07-05 Andreas Jaeger <aj@suse.de>
54403
54404 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54405
54406 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54407
54408 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54409 `status' variable.
54410 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54411 Likewise.
54412
54413 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54414
54415 * Makefile (strop-tests): Add strncat.
54416 * string/test-strncat.c: New file.
54417
54418 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54419
54420 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54421
54422 2011-06-21 Andreas Jaeger <aj@suse.de>
54423
54424 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54425 Copy rule from iconvdata/Makefile.
54426
54427 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54428
54429 [BZ #12922]
54430 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54431 but no long options are defined, just return 'W'.
54432
54433 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54434
54435 [BZ #9696]
54436 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54437
54438 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54439
54440 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54441 netgroups to read.
54442 (innetgr): Likewise.
54443
54444 2011-07-05 Roland McGrath <roland@hack.frob.com>
54445
54446 * config.make.in (install_root): Default to $(DESTDIR).
54447
54448 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54449
54450 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54451
54452 2011-07-02 Roland McGrath <roland@hack.frob.com>
54453
54454 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54455
54456 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54457 containing directory rather than embedding absolute directory names.
54458
54459 * scripts/check-local-headers.sh: Rewritten using awk.
54460 Match by word, not by line. Print error messages for matches.
54461 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54462
54463 * Makerules [shlib-lds-flags empty]:
54464 ($(common-objpfx)libc_pic.opts): New target.
54465 ($(common-objpfx)libc_pic.os.clean): New target.
54466 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54467
54468 * config.make.in (OBJCOPY): New variable.
54469 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54470 * configure: Regenerated.
54471
54472 * config.make.in (use-default-link): New variable.
54473 * configure.in (use_default_link): Grok --with-default-link to set it.
54474 * configure: Regenerated.
54475 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54476 (shlib-lds, shlib-lds-flags): Define to empty.
54477
54478 * Makerules (shlib-lds): New variable.
54479 (shlib-lds-flags): New variable.
54480 (build-shlib, build-moduile, build-module-asneeded): Use it.
54481 ($(common-objpfx)libc.so): Use $(shlib-lds).
54482 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54483 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54484
54485 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54486 DT_FLAGS/DT_FLAGS_1 with zero flags.
54487
54488 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54489 linker script munging.
54490
54491 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54492
54493 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54494 as 128-bit value.
54495 * crypt/sha512.c (sha512_process_block): Perform total addition using
54496 128-bit if possible.
54497 (__sha512_finish_ctx): Likewise.
54498 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54499 as 64-bit value.
54500 * crypt/sha256.c (SWAP64): Define.
54501 (sha256_process_block): Perform total addition using 64-bit if
54502 possible.
54503 (__sha256_finish_ctx): Likewise.
54504
54505 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54506
54507 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54508 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54509 * nscd/hstcache.c (cache_addhst): Likewise.
54510 * nscd/grpcache.c (cache_addgr): Likewise.
54511 * nscd/aicache.c (addhstaiX): Likewise
54512 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54513
54514 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54515
54516 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54518 * nscd/hstcache.c (cache_addhst): Likewise.
54519 * nscd/grpcache.c (cache_addgr): Likewise.
54520 * nscd/aicache.c (addhstaiX): Likewise
54521
54522 2011-07-01 Andreas Schwab <schwab@redhat.com>
54523
54524 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54525 domain only when needed.
54526
54527 2011-06-30 Andreas Schwab <schwab@redhat.com>
54528
54529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54530 is always restored.
54531
54532 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54533
54534 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54535 are re-adding the entry.
54536 * nscd/servicescache.c (cache_addserv): Likewise.
54537
54538 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54539
54540 * sysdeps/generic/dl-irel.h: fix protection against multiple
54541 inclusions.
54542 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54543
54544 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54545
54546 [BZ #12935]
54547 * malloc/memusage.sh: Fix quoting in message.
54548 * debug/xtrace.sh: Likewise.
54549
54550 * configure.in: Remove support for --experimental-malloc option, make
54551 it the default.
54552 * config.make.in: Likewise.
54553 * malloc/Makefile: Likewise.
54554
54555 2011-06-27 Andreas Schwab <schwab@redhat.com>
54556
54557 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54558 two-byte characters.
54559
54560 2011-06-27 Roland McGrath <roland@hack.frob.com>
54561
54562 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54563 AC_CACHE_CHECK invocation.
54564 * configure: Regenerated.
54565
54566 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54567
54568 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54569
54570 [BZ #12350]
54571 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54572 bit from old_res_options.
54573
54574 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54575
54576 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54577 value type for setfct.
54578
54579 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54580
54581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54582 __gettimeofday instead of gettimeofday.
54583
54584 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54585
54586 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54587
54588 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54589
54590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54591
54592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54593 info.
54594
54595 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54596
54597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54598 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54599 strcpy-sse2-unaligned strncpy-sse2-unaligned
54600 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54601 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54602 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54603 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54604 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54605 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54607 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54608 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54609 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54610 (STRCPY): Support SSE2 and SSSE3 versions.
54611
54612 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54613
54614 [BZ #12874]
54615 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54616 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54617 kernels which artificially limit size of requests.
54618
54619 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54620
54621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54622 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54623 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54624 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54625 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54626 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54627 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54628 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54629 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54630 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54631 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54632 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54633 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54634 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54635 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54637 Enable unaligned load optimization for Intel Core i3, i5 and i7
54638 processors.
54639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54640 Define.
54641 (index_Fast_Unaligned_Load): Define.
54642 (HAS_FAST_UNALIGNED_LOAD): Define.
54643
54644 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54645
54646 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54647
54648 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54649
54650 [BZ #12907]
54651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54652 until it is clear that the information is realy needed.
54653 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54654
54655 2011-06-22 Andreas Schwab <schwab@redhat.com>
54656
54657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54658
54659 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54660
54661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54662 /sys/devices/system/cpu/online if it is usable.
54663
54664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54665 reading the information from the /proc filesystem to once a second.
54666
54667 2011-06-21 Andreas Jaeger <aj@suse.de>
54668
54669 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54670 NULL after inclusion of kernel headers.
54671
54672 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54673
54674 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54675 calls to internal_setent.
54676
54677 [BZ #12885]
54678 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54679 addresses using gethostbyname4_r ignore IPv4 addresses.
54680
54681 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54682 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54683
54684 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54685
54686 2011-06-20 David S. Miller <davem@davemloft.net>
54687
54688 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54689 inclusions.
54690 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54691
54692 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54693 (elf_irel): Use it.
54694 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54695 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54696 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54697 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54698 * sysdeps/x86_64/dl-irel.h: Likewise.
54699
54700 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54701 * elf/dl-sym.c: Likewise.
54702
54703 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54704
54705 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54706 need to dereference resplen2.
54707
54708 2011-06-14 Andreas Schwab <schwab@redhat.com>
54709
54710 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54711
54712 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54713
54714 * Makeconfig: Define vardbdir and inst_vardbdir.
54715 * nss/Makefile: Add rules to install db-Makefile.
54716
54717 * nss/nss_db/db-XXX.c: Cleanup.
54718
54719 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54720 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54721 GLIBC_PRIVATE.
54722 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54723 * nss/makedb.c: Implement -g option to specify that value strings
54724 are generated and should not be added to table iterated over for
54725 get*ent calls.
54726 * nss/nss_db/db-initgroups.c: New file.
54727
54728 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54729 interface.
54730
54731 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54732 (internal_getgrouplist): Adjust to name change.
54733 Update use_initgroups_entry if this is not the first call.
54734 * nss/databases.def: Add initgroups entry.
54735
54736 * nss/makedb.c (compute_tables): Check result of multiple hash table
54737 sizes to minimize maximum chain length.
54738
54739 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54740
54741 * Versions.def: Add entry for libnss_db.
54742 * shlib-versions: Likewise.
54743 * nss/Makefile: Add rules to build libnss_db.
54744 * nss/Versions: Add libnss_db information. Organize libnss_files
54745 entries better.
54746 * nss/db-Makefile: Add gshadow support. Change rules for the new
54747 makedb progra. Some minor improvements to generate smaller files.
54748 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54749 here from...
54750 * nss/makedb.c: ...here.
54751 Improve database format to be smaller and require less memory at
54752 runtime.
54753 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54754 db anymore.
54755 * nss/nss_db/db-netgrp.c: Likewise.
54756 * nss/nss_db/db-open.c: Likewise.
54757 * nss/nss_files/flies-XXX.x: Adjust comments.
54758 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54759 * nss/nss_files/files-grp.c: Likewise.
54760 * nss/nss_files/files-hosts.c: Likewise.
54761 * nss/nss_files/files-network.c: Likewise.
54762 * nss/nss_files/files-proto.c: Likewise.
54763 * nss/nss_files/files-pwd.c: Likewise.
54764 * nss/nss_files/files-rpc.c: Likewise.
54765 * nss/nss_files/files-service.c: Likewise.
54766 * nss/nss_files/files-sgrp.c: Likewise.
54767 * nss/nss_files/files-spwd.c: Likewise.
54768 * nss/nss_db/db-alias.c: Removed.
54769 * nss/nss_db/dummy-db.h: Removed.
54770
54771 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54772
54773 * nss/makedb.c: Rewritten to not use database library.
54774 * nss/Makefile: Update to build new makedb program.
54775
54776 2011-06-14 Andreas Jaeger <aj@suse.de>
54777
54778 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54779 memset declaration.
54780
54781 2011-06-10 Andreas Schwab <schwab@redhat.com>
54782
54783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54784 tmpbuf.
54785
54786 2011-06-10 Roland McGrath <roland@hack.frob.com>
54787
54788 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54789 * elf/Makefile ($(objpfx)ld.so): Likewise.
54790
54791 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54792 Don't list ld.so twice in dependencies.
54793
54794 * posix/bug-regex31.c: Include <stdlib.h>.
54795
54796 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54797
54798 * nis/nss_compat/compat-spwd.c
54799 (getspent_next_nss_netgr): Remove unused variable.
54800 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54801
54802 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54803 nonmembers" output to use the right array.
54804
54805 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54806
54807 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54808
54809 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54810 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54811 * catgets/gencat.c (read_input_file): Likewise.
54812 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54813
54814 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54815 variable definition inside #if's controlling its use.
54816
54817 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54818
54819 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54820
54821 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54822
54823 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54824 unreachable code.
54825
54826 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54827
54828 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54829 * configure: Regenerated.
54830
54831 * Makerules: Revert last change.
54832 * elf/Makefile: Likewise.
54833
54834 2011-06-09 Roland McGrath <roland@hack.frob.com>
54835
54836 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54837 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54838 (reloc-link): Likewise.
54839
54840 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54841
54842 * elf/Makefile: Add rules to build pldd.
54843 * elf/pldd.c: New file.
54844 * elf/pldd-xx.c: New file.
54845
54846 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54847
54848 * version.h: Update for 2.15 development version.
54849
54850 2011-06-07 David S. Miller <davem@davemloft.net>
54851
54852 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54853 ifuncs.
54854 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54855 elf_machine_lazy_rel): Likewise.
54856 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54857 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54858 elf_machine_lazy_rel): Likewise.
54859 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54860 dl_hwcap via passed in argument.
54861 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54862 Likewise.
54863
54864 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54865
54866 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54867
54868 2011-06-06 Roland McGrath <roland@hack.frob.com>
54869
54870 [BZ #12849]
54871 * manual/fdl-1.1.texi: New file, verbatim from:
54872 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54873 * manual/lgpl-2.1.texi: New file, verbatim from:
54874 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54875 * manual/Makefile (licenses): New variable, list those new file names.
54876 (texis): Use it.
54877 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54878
54879 * manual/fdl.texi: File removed.
54880 * manual/lesser.texi: File removed.
54881 * manual/libc.texinfo (Copying, Documentation License):
54882 Use new @include file names, put @appendix directive before @include.
54883
54884 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54885
54886 [BZ #12841]
54887 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54888 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54889 (mq_open): Add __NTH.
54890
54891 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54892
54893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54894 Assume Intel Core i3/i5/i7 processor if AVX is available.
54895
54896 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54897
54898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54899 typo.
54900
54901 2011-05-31 Andreas Schwab <schwab@redhat.com>
54902
54903 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54904 memory. Use alloca_account. Fix memory leak when retrying.
54905
54906 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54907
54908 * version.h (RELEASE): Bump for 2.14 release.
54909 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54910
54911 * config.make.in (RANLIB): Remove entry.
54912
54913 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54914
54915 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54916 (libc.pot): Work around missing support for .ksh extension in xgettext.
54917
54918 [BZ #12684]
54919 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54920 if both request failed.
54921 (send_dg): In case of server errors clear resplen or *resplen2.
54922
54923 [BZ #12454]
54924 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54925 when there are multiple maps.
54926 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54927 (_dl_fini): Remove test here.
54928
54929 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54930
54931 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54932
54933 [BZ #12350]
54934 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54935 bit from old_res_options.
54936 (gaih_inet): Likewise.
54937
54938 [BZ #11099]
54939 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54940 as signed.
54941
54942 * resolv/res_init.c (res_setoptions): Make the code more compact.
54943
54944 [BZ #11558]
54945 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54946 set RES_USEVC.
54947
54948 [BZ #11634]
54949 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54950
54951 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54952
54953 [BZ #11781]
54954 * malloc/malloc.h: Declare malloc hook variables as volatile.
54955
54956 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54957 in last patch.
54958
54959 [BZ #11799]
54960 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54961 raise in the comment.
54962 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54963 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54964 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54965
54966 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54967
54968 [BZ #12811]
54969 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54970 grow the buffers more if it already has to be sufficient.
54971 (build_wcs_upper_buffer): Likewise.
54972 * posix/regexec.c (check_matching): Likewise.
54973 (clean_state_log_if_needed): Likewise.
54974 (extend_buffers): Don't enlarge buffers beyond size of the input
54975 buffer.
54976 Patches mostly by Emil Wojak <emil@wojak.eu>.
54977 * posix/bug-regex32.c: New file.
54978 * posix/Makefile (tests): Add bug-regex32.
54979
54980 * locale/findlocale.c (_nl_find_locale): Return right away if
54981 _nl_explode_name failed.
54982 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54983
54984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54985
54986 * debug/xtrace.sh: Unify messages.
54987 * malloc/memusage.sh: Likewise.
54988
54989 [BZ #12813]
54990 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54991 time symbol from vDSO. Substitute with vsyscall if not available.
54992 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54993 __vdso_time.
54994
54995 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54996 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54997 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54998 Add sendmmsg and internal_sendmmsg.
54999 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55000 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55001 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55002
55003 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55004 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55005 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55006
55007 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55008
55009 [BZ #12813]
55010 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55011 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55012 available.
55013 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55014 __vdso_getcpu.
55015
55016 [BZ #12814]
55017 * iconvdata/Makefile (tests): Add bug-iconv9.
55018 * iconvdata/bug-iconv9.c: New file.
55019
55020 2011-05-27 Andreas Schwab <schwab@redhat.com>
55021
55022 [BZ #12814]
55023 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55024
55025 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55026
55027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55028 (struct user_regs_struct): Change intcs field back to cs.
55029
55030 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55031
55032 * po/ja.po: Update from translation team.
55033
55034 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55035
55036 [BZ #12795]
55037 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55038 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55039
55040 2011-05-20 Andreas Schwab <schwab@redhat.com>
55041
55042 * stdlib/longlong.h: Update from GCC.
55043
55044 2011-05-23 Andreas Schwab <schwab@redhat.com>
55045
55046 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55047 parameter name.
55048 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55049 Add parameter name.
55050 (__sysconf): Pass it down.
55051
55052 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55053
55054 [BZ #12671]
55055 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55056 some situations.
55057 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55058 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55059 add in in __libc_use_alloca calls. Adjust callers.
55060 (glob): Use malloc in some situations.
55061
55062 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55063 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55064 pltexit.
55065
55066 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55067
55068 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55069 and CLOCK_BOOTTIME_ALARM.
55070
55071 [BZ #12782]
55072 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55073 is returned.
55074
55075 * string/_strerror.c (__strerror_r): Print negative errors as signed
55076 numbers.
55077
55078 [BZ #12777]
55079 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55080 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55081 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55082
55083 * configure.in: Fix typo in redirection and correct removal of test
55084 files in two cases.
55085
55086 [BZ #12788]
55087 * locale/setlocale.c (new_composite_name): Fix test to check for
55088 identical name of all categories.
55089
55090 [BZ #12792]
55091 * libio/filedoalloc.c (local_isatty): New function.
55092 (_IO_file_doallocate): Use local_isatty.
55093 * stdio-common/perror.c (perror): In case a new stream is used
55094 forward the stream error.
55095 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55096 error flag.
55097
55098 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55099
55100 [BZ #11869]
55101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55102 alloca.
55103 * include/alloca.h (extend_alloca_account): Define.
55104
55105 [BZ #11857]
55106 * posix/regex.h: Fix comments with documentation of user-accessible
55107 fields after compilation and describe correct free'ing of pattern
55108 after re_compile_pattern.
55109 Patch by Reuben Thomas <rrt@sc3d.org>.
55110
55111 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55112
55113 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55114 and -mno-altivec to prevent the compiler from using Altivec and/or
55115 VSX instructions when the corresponding registers are not available.
55116
55117 2011-05-19 Andreas Schwab <schwab@redhat.com>
55118
55119 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55120
55121 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55122
55123 * libio/freopen.c (freopen): Use __dup2, not dup2.
55124 * libio/freopen64.c (freopen64): Likewise.
55125
55126 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55127
55128 [BZ #12775]
55129 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55130 * math/Makefile (tests): Add test-powl.
55131 (CFLAGS-test-powl.c): Define.
55132 * math/test-powl.c: New file.
55133
55134 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55135
55136 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55137
55138 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55139
55140 [BZ #11837]
55141 * iconvdata/gb18030.c: Update to GB18020-2005.
55142
55143 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55144
55145 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55146 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55147 Patch by Aharon Robbins <arnold@skeeve.com>.
55148
55149 [BZ #11892]
55150 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55151 on the stack.
55152
55153 [BZ #11895]
55154 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55155 through underflows.
55156
55157 [BZ #12766]
55158 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55159 point to strings before performing equality test for error_one_per_line
55160 mode.
55161
55162 [BZ #11697]
55163 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55164
55165 [BZ #11820]
55166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55167 (struct user_fpregs_struct): Avoid __uint*_t types.
55168
55169 [BZ #6420]
55170 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55171 symbol info. Use it instead of calling _dl_addr locally.
55172 (lock_and_info): New function.
55173 (tr_freehook): Call lock_and_info and pass symbol info as additional
55174 parameter to tr_where.
55175 (tr_mallochook): Likewise.
55176 (tr_reallochook): Likewise.
55177 (tr_memalignhook): Likewise.
55178
55179 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55180 used and couldn't be at all thread-safe.
55181
55182 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55183
55184 * libio/freopen.c (freopen): Don't close old file descriptor
55185 before the new one is opened. Instead dup the new file descriptor
55186 to the old one after the new stream is created.
55187 * libio/freopen64.c (freopen64): Likewise.
55188 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55189 * libio/fileops.c (_IO_new_file_close_it): Handle new
55190 _IO_FLAGS2_NOCLOSE flag.
55191 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55192 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55193 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55194 _IO_FLAGS2_NOCLOSE flag.
55195 * include/unistd.h: Add hidden_proto for dup3.
55196 Define __have_dup3.
55197 * io/dup3.c: Define hidden symbol.
55198 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55199
55200 [BZ #7101]
55201 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55202 when an incomplete long option is used.
55203 * posix/tst-getopt_long1.c: New file.
55204 * posix/Makefile (tests): Add tst-getopt_long1.
55205
55206 [BZ #10138]
55207 * scripts/config.guess: Update from autoconf-2.68.
55208 * scripts/config.sub: Likewise.
55209
55210 [BZ #10157]
55211 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55212 tests into ...
55213 (has_cpuclock): ...this. New function.
55214 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55215 macro here based on has_cpuclock code.
55216
55217 [BZ #10149]
55218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55219 First byte (not low byte) is now always NUL.
55220 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55221
55222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55223 Use non-cancelable interfaces.
55224
55225 [BZ #9809]
55226 * locale/iso-639.def: Add entry for Sorani.
55227
55228 [BZ #11901]
55229 * include/stdlib.h: Move include protection to the right place.
55230 Define abort_msg_s. Declare __abort_msg with it.
55231 * stdlib/abort.c (__abort_msg): Adjust type.
55232 * assert/assert.c (__assert_fail_base): New function. Majority
55233 of code from __assert_fail. Allocate memory for __abort_msg with
55234 mmap.
55235 (__assert_fail): Now call __assert_fail_base.
55236 * assert/assert-perr.c: Remove bulk of implementation. Use
55237 __assert_fail_base.
55238 * include/assert.hL Declare __assert_fail_base.
55239 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55240 mmap.
55241 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55242
55243 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55244
55245 [BZ #11952]
55246 [BZ #12453]
55247 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55248 until all modules are registered in the DTV.
55249 * elf/Makefile: Add rules to build and run tst-tls19.
55250 * elf/tst-tls19.c: New file.
55251 * elf/tst-tls19mod1.c: New file.
55252 * elf/tst-tls19mod2.c: New file.
55253 * elf/tst-tls19mod3.c: New file.
55254 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55255
55256 [BZ #12083]
55257 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55258 correctly.
55259
55260 [BZ #12601]
55261 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55262 two-byte sequence errors.
55263 * iconvdata/Makefile (tests): Add bug-iconv8.
55264 * iconvdata/bug-iconv8.c: New file.
55265
55266 [BZ #12626]
55267 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55268 buf2 definition.
55269
55270 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55271
55272 [BZ #12432]
55273 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55274 (dummy_getcfa): New function.
55275 (init): Get _Unwind_GetCFA address, use dummy if not found.
55276 (backtrace_helper): In recursion check, also check whether CFA changes.
55277 (__backtrace): Completely initialize arg.
55278
55279 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55280 storing incomplete byte sequence in state object. Avoid testing for
55281 guaranteed too small input if we know there is enough data available.
55282
55283 2011-05-11 Andreas Schwab <schwab@redhat.com>
55284
55285 * Makeconfig (+link-pie): Indent.
55286 * Rules (binaries-pie): Define if $(have-fpie) and
55287 $(build-shared).
55288 (binaries-shared): Also filter out $(binaries-pie).
55289 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55290 * nscd/Makefile (others-pie): Add nscd.
55291 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55292 ($(objpfx)nscd): Remove command override.
55293 * login/Makefile (others-pie): Add pt_chown.
55294 ($(objpfx)pt_chown): Remove command override.
55295 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55296 remove command overrides.
55297
55298 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55299
55300 * libio/tst_putwc.c: Fix error messages.
55301
55302 [BZ #12724]
55303 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55304 currently writing and seek to current position when not.
55305 * libio/Makefile (tests): Add bug-fclose1.
55306 * libio/bug-fclose1.c: New file.
55307
55308 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55309
55310 [BZ #12511]
55311 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55312 don't set DF_1_NODELETE here.
55313 (do_lookup_x): When entering new entry test for copy relocation
55314 and if necessary set DF_1_NODELETE flag.
55315 * elf/tst-unique4.cc: New file.
55316 * elf/tst-unique4.h: New file.
55317 * elf/tst-unique4lib.cc: New file.
55318 * elf/Makefile: Add rules to build and run tst-unique4.
55319 Patch by Piotr Bury <pbury@goahead.com>.
55320
55321 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55322
55323 [BZ #12052]
55324 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55325
55326 [BZ #12625]
55327 * misc/mntent_r.c (addmntent): Flush the stream after the output
55328
55329 [BZ #12393]
55330 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55331 (is_trusted_path_normalize): Skip initial colon. Append slash
55332 to empty buffer. Duplicate is_trusted_path code but allow
55333 constructed patch to be prefix.
55334 (is_dst): Allow $ORIGIN followed by /.
55335 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55336 Correct testing of result of is_trusted_path_normalize
55337 (decompose_rpath): Fix warning.
55338
55339 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55340
55341 [BZ #11257]
55342 * grp/initgroups.c (internal_getgrouplist): When we found the service
55343 list through the initgroups entry in nsswitch.conf do not always
55344 continue on a successful lookup. Don't always use the
55345 __nss_group_database value if it is set.
55346 * nss/nsswitch.conf (initgroups): Change action for successful db
55347 lookup to continue for compatibility.
55348
55349 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55350
55351 [BZ #11532]
55352 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55353 and CP774 modules.
55354 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55355 and CP774 modules.
55356 * iconvdata/tst-tables.sh: Likewise.
55357 * iconvdata/cp770.c: New file.
55358 * iconvdata/cp771.c: New file.
55359 * iconvdata/cp772.c: New file.
55360 * iconvdata/cp773.c: New file.
55361 * iconvdata/cp774.c: New file.
55362 * iconvdata/testdata/CP770: New file.
55363 * iconvdata/testdata/CP770..UTF8: New file.
55364 * iconvdata/testdata/CP771: New file.
55365 * iconvdata/testdata/CP771..UTF8: New file.
55366 * iconvdata/testdata/CP772: New file.
55367 * iconvdata/testdata/CP772..UTF8: New file.
55368 * iconvdata/testdata/CP773: New file.
55369 * iconvdata/testdata/CP773..UTF8: New file.
55370 * iconvdata/testdata/CP774: New file.
55371 * iconvdata/testdata/CP774..UTF8: New file.
55372
55373 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55374 END CHARMAP line.
55375 * iconvdata/gen-8bit-gap.sh: Likewise.
55376 * iconvdata/gen-8bit.sh: Likewise.
55377
55378 * locale/iso-639.def: Add ary entry.
55379
55380 [BZ #11258]
55381 * locale/C-translit.h.in: Add U20A1 transliteration.
55382
55383 [BZ #12178]
55384 * locale/iso-639.def: Add wae entry.
55385 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55386
55387 [BZ #12545]
55388 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55389 for n.
55390
55391 [BZ #12711]
55392 * locale/C-translit.h.in: Add entry for U20B9.
55393 Patch by pravin.d.s@gmail.com.
55394
55395 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55396
55397 [BZ #12713]
55398 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55399 ENAMETOOLONG use generic getcwd.
55400 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55401 in rtld. Use *stat64.
55402 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55403 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55404 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55405 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55406 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55407 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55408 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55409 __fstatat64 macros.
55410 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55411 * dirent/rewinddir.c: Add libc_hidden_def.
55412 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55413 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55414
55415 * include/dirent.h (__alloc_dir): Add flags parameter.
55416 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55417 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55418 __alloc_dir.
55419 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55420 from fdopendir if O_CLOEXEC is already set.
55421
55422 2011-03-15 Alan Modra <amodra@gmail.com>
55423
55424 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55425 l_tls_firstbyte_offset non-zero. Save padding offset in
55426 l_tls_firstbyte_offset for later use.
55427 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55428 freeing static tls block.
55429
55430 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55431
55432 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55433 where #ifdef was intended. The intent is to prevent ARG_MAX from
55434 being defined by the kernel headers.
55435
55436 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55437
55438 [BZ #12734]
55439 * resolv/resolv.h: Define RES_NOTLDQUERY.
55440 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55441 no-tld-query and set RES_NOTLDQUERY.
55442 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55443 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55444 modern BIND to search name as TLD unless forbidden.
55445
55446 2011-05-07 Petr Baudis <pasky@suse.cz>
55447 Ulrich Drepper <drepper@gmail.com>
55448
55449 [BZ #12393]
55450 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55451 (is_trusted_path): ...to here.
55452 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55453 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55454 using is_trusted_path_normalize() in setuid scripts.
55455
55456 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55457
55458 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55459 __BEGIN/__END_DECLS.
55460
55461 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55462
55463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55464 NSS_STATUS_NOTFOUND if no record was found.
55465
55466 2011-05-05 Andreas Schwab <schwab@redhat.com>
55467
55468 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55469 (headers-not-in-tirpc): Remove rpc/netdb.h
55470 * resolv/netdb.h: Revert last change.
55471
55472 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55473
55474 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55475 circular dependency between libgcc.a and libc.a.
55476
55477 2011-05-05 Andreas Schwab <schwab@redhat.com>
55478
55479 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55480 * nis/Makefile: Don't install rpcsvc/*.
55481 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55482 instead of <rpc/types.h>.
55483 (MAXHOSTNAMELEN): Define.
55484
55485 2011-05-03 Andreas Schwab <schwab@redhat.com>
55486
55487 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55488
55489 2011-04-28 Maciej Babinski <mbabinski@google.com>
55490
55491 [BZ #12714]
55492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55493 gethostbyname4_r when IPv6 results are possible.
55494
55495 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55496
55497 [BZ #12723]
55498 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55499 _PC_PIPE_BUF handling.
55500
55501 2011-04-30 Bruno Haible <bruno@clisp.org>
55502
55503 [BZ #12717]
55504 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55505 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55506 to 'int'.
55507 * inet/getnameinfo.c (getnameinfo): Likewise.
55508
55509 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55510
55511 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55512 to groups setting in database lookup.
55513 * nss/nsswitch.conf: Add initgroups entry.
55514
55515 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55516
55517 [BZ #12685]
55518 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55519 mode string.
55520 Patch by Eric Blake <eblake@redhat.com>.
55521
55522 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55523
55524 * sunrpc/Makefile (need-export-routines): Add svc_run.
55525 (routines): Remove svc_run.
55526 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55527 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55528 * sunrpc/svc_run.c (svc_run): Likewise.
55529 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55530
55531 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55532
55533 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55534 problem in reallocation in last patch.
55535
55536 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55537
55538 * sunrpc/Makefile: Move inclusion of Rules.
55539
55540 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55541
55542 * nss/nss_files/files-initgroups.c: New file.
55543 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55544 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55545 _nss_files_initgroups_dyn.
55546
55547 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55548
55549 * elf/elf.h (R_ARM_IRELATIVE): Define.
55550
55551 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55552
55553 * po/ru.po: Update from translation team.
55554
55555 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55556
55557 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55558 dependencies.
55559
55560 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55561
55562 [BZ #12653]
55563 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55564 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55568
55569 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55570
55571 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55572 differing bytes.
55573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55574 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55576
55577 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55578
55579 [BZ #12420]
55580 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55581 storing it.
55582 * stdlib/bug-getcontext.c: New file.
55583 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55584
55585 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55586
55587 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55588 instructions into .machine "z9-109".
55589 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55590 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55591
55592 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55593
55594 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55595 between environment variables and auxiliary vector.
55596
55597 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55598
55599 * Makefile: Add rules to build linkobj/libc.so.
55600 * include/libc-symbols.h: Define libc_hidden_nolink.
55601 * include/rpc/auth.h: Mark functions which are to be hidden.
55602 * include/rpc/auth_des.h: Likewise.
55603 * include/rpc/auth_unix.h: Likewise.
55604 * include/rpc/clnt.h: Likewise.
55605 * include/rpc/des_crypt.h: Likewise.
55606 * include/rpc/key_prot.h: Likewise.
55607 * include/rpc/pmap_clnt.h: Likewise.
55608 * include/rpc/pmap_prot.h: Likewise.
55609 * include/rpc/pmap_rmt.h: Likewise.
55610 * include/rpc/rpc_msg.h: Likewise.
55611 * include/rpc/svc.h: Likewise.
55612 * include/rpc/svc_auth.h: Likewise.
55613 * include/rpc/xdr.h: Likewise.
55614 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55615 * nss/Makefile: Likewise.
55616 * sunrpc/Makefile: Don't install headers. Build library with normal
55617 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55618 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55619 for the compat linking library. Remove use of INTDEF/INTUSE.
55620 * sunrpc/auth_none.c: Likewise.
55621 * sunrpc/auth_unix.c: Likewise.
55622 * sunrpc/authdes_prot.c: Likewise.
55623 * sunrpc/authuxprot.c: Likewise.
55624 * sunrpc/clnt_gen.c: Likewise.
55625 * sunrpc/clnt_perr.c: Likewise.
55626 * sunrpc/clnt_raw.c: Likewise.
55627 * sunrpc/clnt_simp.c: Likewise.
55628 * sunrpc/clnt_tcp.c: Likewise.
55629 * sunrpc/clnt_udp.c: Likewise.
55630 * sunrpc/clnt_unix.c: Likewise.
55631 * sunrpc/des_crypt.c: Likewise.
55632 * sunrpc/des_soft.c: Likewise.
55633 * sunrpc/get_myaddr.c: Likewise.
55634 * sunrpc/key_call.c: Likewise.
55635 * sunrpc/key_prot.c: Likewise.
55636 * sunrpc/netname.c: Likewise.
55637 * sunrpc/pm_getmaps.c: Likewise.
55638 * sunrpc/pm_getport.c: Likewise.
55639 * sunrpc/pmap_clnt.c: Likewise.
55640 * sunrpc/pmap_prot.c: Likewise.
55641 * sunrpc/pmap_prot2.c: Likewise.
55642 * sunrpc/pmap_rmt.c: Likewise.
55643 * sunrpc/publickey.c: Likewise.
55644 * sunrpc/rpc_cmsg.c: Likewise.
55645 * sunrpc/rpc_common.c: Likewise.
55646 * sunrpc/rpc_dtable.c: Likewise.
55647 * sunrpc/rpc_prot.c: Likewise.
55648 * sunrpc/rpc_thread.c: Likewise.
55649 * sunrpc/rtime.c: Likewise.
55650 * sunrpc/svc.c: Likewise.
55651 * sunrpc/svc_auth.c: Likewise.
55652 * sunrpc/svc_authux.c: Likewise.
55653 * sunrpc/svc_raw.c: Likewise.
55654 * sunrpc/svc_run.c: Likewise.
55655 * sunrpc/svc_simple.c: Likewise.
55656 * sunrpc/svc_tcp.c: Likewise.
55657 * sunrpc/svc_udp.c: Likewise.
55658 * sunrpc/svc_unix.c: Likewise.
55659 * sunrpc/svcauth_des.c: Likewise.
55660 * sunrpc/xcrypt.c: Likewise.
55661 * sunrpc/xdr.c: Likewise.
55662 * sunrpc/xdr_array.c: Likewise.
55663 * sunrpc/xdr_float.c: Likewise.
55664 * sunrpc/xdr_intXX_t.c: Likewise.
55665 * sunrpc/xdr_mem.c: Likewise.
55666 * sunrpc/xdr_rec.c: Likewise.
55667 * sunrpc/xdr_ref.c: Likewise.
55668 * sunrpc/xdr_sizeof.c: Likewise.
55669 * sunrpc/xdr_stdio.c: Likewise.
55670
55671 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55672
55673 [BZ #12650]
55674 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55675 * sysdeps/ia64/dl-tls.h: Likewise.
55676 * sysdeps/powerpc/dl-tls.h: Likewise.
55677 * sysdeps/s390/dl-tls.h: Likewise.
55678 * sysdeps/sh/dl-tls.h: Likewise.
55679 * sysdeps/sparc/dl-tls.h: Likewise.
55680 * sysdeps/x86_64/dl-tls.h: Likewise.
55681 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55682
55683 2011-03-14 Andreas Schwab <schwab@redhat.com>
55684
55685 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55686 rpath element also skip the following colon.
55687 (expand_dynamic_string_token): Add is_path parameter and pass
55688 down to DL_DST_REQUIRED and _dl_dst_substitute.
55689 (decompose_rpath): Call expand_dynamic_string_token with
55690 non-zero is_path. Ignore empty rpaths.
55691 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55692 with zero is_path.
55693
55694 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55695
55696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55697 Make cancelable.
55698
55699 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55700
55701 [BZ #12655]
55702 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55703 Patch by Filipe David Manana <fdmanana@apache.org>.
55704
55705 2011-04-07 Andreas Schwab <schwab@redhat.com>
55706
55707 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55708 Maintain aligned stack.
55709 (CHECK_RSP): Remove unused macro.
55710
55711 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55712
55713 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55714 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55715
55716 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55717
55718 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55719
55720 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55721
55722 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55723
55724 [BZ #12518]
55725 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55726 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55727 * sysdeps/x86_64/memmove.c: New file.
55728 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55729 (memcpy): Renamed to ...
55730 (__new_memcpy): This.
55731 (memcpy): Provide GLIBC_2_14 memcpy.
55732 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55733 (memcpy): Provide GLIBC_2_2_5 memcpy.
55734
55735 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55736
55737 [BZ #12631]
55738 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55739
55740 2011-03-30 Andreas Schwab <schwab@redhat.com>
55741
55742 * misc/syncfs.c: New file.
55743 * misc/Makefile (routines): Add syncfs.
55744 * posix/unistd.h: Declare syncfs.
55745 * sysdeps/unix/syscalls.list: Add syncfs.
55746
55747 2011-04-01 Andreas Schwab <schwab@redhat.com>
55748
55749 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55750 open_by_handle_at.
55751 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55756 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55757 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55758
55759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55760
55761 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55763 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55765 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55768
55769 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55770 sync_file_range.c with -fexceptions.
55771 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55772 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55773 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55774 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55775 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55776 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55777 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55778 sync_file_range as cancellation point
55779 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55780 now a wrapper around __call_sync_file_range with cancellation handling.
55781 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55782 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55783 function name to __call_sync_file_range.
55784 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55785 Add call_sync_file_range.
55786
55787 2011-04-01 Andreas Schwab <schwab@redhat.com>
55788
55789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55790 bits/timex.h.
55791
55792 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55793
55794 * iconv/iconv.h: Fix typo in comment.
55795 * io/fcntl.h: Likewise.
55796 * libio/stdio.h: Likewise.
55797 * posix/spawn.h: Likewise.
55798 * posix/unistd.h: Likewise.
55799 * stdlib/stdlib.h: Likewise.
55800 * time/time.h: Likewise.
55801 * wcsmbs/wchar.h: Likewise.
55802
55803 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55804 open_by_handle): Add.
55805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55806 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55807 Augment a few comments.
55808 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55810 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55812 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55813 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55814 open_by_handle.
55815
55816 * io/fcntl.h (AT_EMPTY_PATH): Define.
55817
55818 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55819
55820 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55821 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55822 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55823 to...
55824 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55825 * Versions.def: Add GLIBC_2.14.
55826 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55827 Export.
55828
55829 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55830
55831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55832 round counter.
55833 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55834
55835 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55836
55837 [BZ #12597]
55838 * string/test-strncmp.c (do_page_test): New function.
55839 (check2): Likewise.
55840 (test_main): Call check2.
55841 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55842
55843 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55844
55845 [BZ #12587]
55846 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55847 Handle cache information in CPU leaf 4.
55848 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55849
55850 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55851
55852 [BZ #12583]
55853 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55854 character representation.
55855 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55856
55857 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55858
55859 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55860 END(__isnan) to END(__isnanf) to match function entry point/label
55861 EALIGN(__isnanf,...).
55862
55863 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55864
55865 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55866
55867 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55868
55869 [BZ #12510]
55870 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55871 copy from the symbol referenced in the relocation to initialize the
55872 used variable.
55873 Patch by Piotr Bury <pbury@goahead.com>.
55874 * elf/Makefile: Add rules to build and tst-unique3.
55875 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55876 * elf/tst-unique3.cc: New file.
55877 * elf/tst-unique3.h: New file.
55878 * elf/tst-unique3lib.cc: New file.
55879 * elf/tst-unique3lib2.cc: New file.
55880
55881 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55882
55883 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55884
55885 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55886 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55887 to _start.
55888
55889 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55890
55891 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55892 to-be-loaded object along a path to loader is ld.so.
55893
55894 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55895 Ulrich Drepper <drepper@gmail.com>
55896
55897 * sysdeps/x86_64/memset.S: After aligning destination, code
55898 branches to different locations depending on the value of
55899 misalignment, when multiarch is enabled. Fix this.
55900
55901 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55902
55903 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55904 Set _x86_64_preferred_memory_instruction for AMD processsors.
55905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55906 Set bit_Prefer_SSE_for_memop for AMD processors.
55907
55908 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55909
55910 * libio/fmemopen.c (fmemopen): Optimize a bit.
55911
55912 2011-03-03 Andreas Schwab <schwab@redhat.com>
55913
55914 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55915
55916 2011-03-03 Roland McGrath <roland@redhat.com>
55917
55918 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55919
55920 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55921
55922 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55923 __bzero_ultra1 instead of __memset_ultra1.
55924
55925 2011-02-23 Andreas Schwab <schwab@redhat.com>
55926 Ulrich Drepper <drepper@gmail.com>
55927
55928 [BZ #12509]
55929 * include/link.h (struct link_map): Add l_orig_initfini.
55930 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55931 returning unsuccessfully.
55932 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55933 close of a file loaded at startup, restore the original l_initfini
55934 list.
55935 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55936 list, store the pointer.
55937 * elf/Makefile ($(objpfx)noload-mem): New rule.
55938 (noload-ENV): Define.
55939 (tests): Add $(objpfx)noload-mem.
55940 * elf/noload.c: Include <memcheck.h>.
55941 (main): Call mtrace. Close all opened handles.
55942
55943 2011-02-17 Andreas Schwab <schwab@redhat.com>
55944
55945 [BZ #12454]
55946 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55947 dependencies are missing.
55948
55949 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55950
55951 Fix __if_freereq crash: Unlike the generic version which uses free,
55952 Hurd needs munmap.
55953 * sysdeps/mach/hurd/ifreq.h: New file.
55954
55955 2011-01-27 Petr Baudis <pasky@suse.cz>
55956 Ulrich Drepper <drepper@gmail.com>
55957
55958 [BZ 12445]#
55959 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55960 to extend_alloca().
55961 * stdio-common/bug23.c: New file.
55962 * stdio-common/Makefile (tests): Add bug23.
55963
55964 2010-09-28 Andreas Schwab <schwab@redhat.com>
55965 Ulrich Drepper <drepper@gmail.com>
55966
55967 [BZ #12489]
55968 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55969 before performing relro protection. At old place add assertion
55970 to make sure nothing changed.
55971
55972 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55973 Glauber de Oliveira Costa <glommer@gmail.com>
55974
55975 * elf/elf.h: Add new ARM TLS relocs.
55976
55977 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55978
55979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55980 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55981 cast from r3.
55982 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55983 'tests' variable.
55984 * sysdeps/wordsize-64/tst-writev.c: New file.
55985
55986 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55987
55988 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55989 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55990 insns in _dl_start to prevent a TOC reference before relocs are
55991 resolved.
55992
55993 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55994
55995 [BZ #12469]
55996 * Makeconfig: Remove RANLIB definition.
55997 * Makerules: Don't use RANLIB.
55998 * aclocal.m4: Remove ranlib test.
55999 * configure.in: No need to check for ranlib.
56000 * elf/rtld-Rules: Don't use RANLIB.
56001
56002 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56003
56004 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56005 protection macro.
56006 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56007 inclusion protection macro.
56008
56009 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56010 SIGRTMIN and SIGRTMAX and print information in that case only when
56011 SIGRTMIN is defined.
56012
56013 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56014
56015 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56016 arginfo fn returning -1.
56017
56018 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56019 and thousands string is zero terminated.
56020
56021 2011-02-03 Andreas Schwab <schwab@redhat.com>
56022
56023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56024 sysdeps/unix/sysv/linux/bits/socket.h.
56025
56026 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56027
56028 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56029 (__CPU_COUNT): Remove old macros.
56030 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56031 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56032 (__CPU_ALLOC, __CPU_FREE): Add macros.
56033 (__sched_cpualloc, __sched_cpufree): Add declarations.
56034
56035 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56036
56037 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56038 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56039 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56040 (readdhstai): Return value of addhstaiX call.
56041 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56042 (addgrbyX): Return value returned by cache_addgr.
56043 (readdgrbyname): Return value returned by addgrbyX.
56044 (readdgrbygid): Likewise.
56045 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56046 (addpwbyX): Return value returned by cache_addpw.
56047 (readdpwbyname): Return value returned by addhstbyX.
56048 (readdpwbyuid): Likewise.
56049 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56050 (addservbyX): Return value returned by cache_addserv.
56051 (readdservbyname): Return value returned by addservbyX:
56052 (readdservbyport): Likewise.
56053 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56054 (addhstbyX): Return value returned by cache_addhst.
56055 (readdhstbyname): Return value returned by addhstbyX.
56056 (readdhstbyaddr): Likewise.
56057 (readdhstbynamev6): Likewise.
56058 (readdhstbyaddrv6): Likewise.
56059 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56060 (readdinitgroups): Return value returned by addinitgroupsX.
56061 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56062 (prune_cache): Keep track of timeout value of re-added entries.
56063 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56064 * nscd/nscd.h: Adjust prototypes of readd* functions.
56065
56066 2011-02-04 Roland McGrath <roland@redhat.com>
56067
56068 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56069 (nis_stats): Likewise.
56070 * nis/nis_modify.c (nis_modify): Likewise.
56071 * nis/nis_remove.c (nis_remove): Likewise.
56072 * nis/nis_add.c (nis_add): Likewise.
56073
56074 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56075
56076 * posix/fnmatch_loop.c: Add some consts.
56077
56078 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56079
56080 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56081
56082 [BZ #12460]
56083 * config.make.in (config-cflags-novzeroupper): Define.
56084 * configure.in: Substitute libc_cv_cc_novzeroupper.
56085 * elf/Makefile (AVX-CFLAGS): Define.
56086 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56087 (CFLAGS-tst-auditmod4a.c): Likewise.
56088 (CFLAGS-tst-auditmod4b.c): Likewise.
56089 (CFLAGS-tst-auditmod6b.c): Likewise.
56090 (CFLAGS-tst-auditmod6c.c): Likewise.
56091 (CFLAGS-tst-auditmod7b.c): Likewise.
56092 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56093
56094 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56095
56096 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56097 function to the callback.
56098 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56099
56100 2011-02-02 Andreas Schwab <schwab@redhat.com>
56101
56102 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56103 of errno.
56104
56105 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56106
56107 [BZ #11724]
56108 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56109 of constructors.
56110 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56111 of destructors.
56112 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56113
56114 [BZ #11724]
56115 * elf/Makefile: Add rules to build and run new test.
56116 * elf/tst-initorder.c: New file.
56117 * elf/tst-initorder.exp: New file.
56118 * elf/tst-initordera1.c: New file.
56119 * elf/tst-initordera2.c: New file.
56120 * elf/tst-initordera3.c: New file.
56121 * elf/tst-initordera4.c: New file.
56122 * elf/tst-initorderb1.c: New file.
56123 * elf/tst-initorderb2.c: New file.
56124 * elf/tst-order-a1.c: New file.
56125 * elf/tst-order-a2.c: New file.
56126 * elf/tst-order-a3.c: New file.
56127 * elf/tst-order-a4.c: New file.
56128 * elf/tst-order-b1.c: New file.
56129 * elf/tst-order-b2.c: New file.
56130 * elf/tst-order-main.c: New file.
56131 New test case by George Gensure <werkt0@gmail.com>.
56132
56133 2010-10-01 Andreas Schwab <schwab@redhat.com>
56134
56135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56136 decoding ACE if AI_CANONIDN.
56137
56138 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56139
56140 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56141
56142 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56143
56144 * version.h (RELEASE): Bump for 2.13 release.
56145 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56146
56147 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56148
56149 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56150 MADV_NOHUGEPAGE.
56151 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56153 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56154 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56155 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56156 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56157
56158 * posix/getconf.c: Update copyright year.
56159 * catgets/gencat.c: Likewise.
56160 * csu/version.c: Likewise.
56161 * debug/catchsegv.sh: Likewise.
56162 * debug/xtrace.sh: Likewise.
56163 * elf/ldconfig.c: Likewise.
56164 * elf/ldd.bash.in: Likewise.
56165 * elf/sprof.c (print_version): Likewise.
56166 * iconv/iconv_prog.c: Likewise.
56167 * iconv/iconvconfig.c: Likewise.
56168 * locale/programs/locale.c: Likewise.
56169 * locale/programs/localedef.c: Likewise.
56170 * malloc/memusage.sh: Likewise.
56171 * malloc/mtrace.pl: Likewise.
56172 * nscd/nscd.c (print_version): Likewise.
56173 * nss/getent.c: Likewise.
56174
56175 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56176 PF_CAIF, and PF_ALG.
56177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56178
56179 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56180
56181 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56182 (modules-names): Use them.
56183 (ifunc-test-modules, ifunc-pie-tests): Define.
56184 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56185 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56186 (test-extras): Likewise.
56187 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56188 $(compile-command.c).
56189 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56190 (all-built-dso): Define.
56191 (check-textrel.out, check-execstack.out): Depend on it.
56192
56193 * configure.in: Don't override --enable-multi-arch.
56194
56195 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56196
56197 [BZ #6812]
56198 * nscd/hstcache.c (tryagain): Define.
56199 (cache_addhst): Return tryagain not notfound for temporary errors.
56200 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56201 failed.
56202
56203 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56204
56205 [BZ #10563]
56206 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56207 to make the syscall.
56208 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56209
56210 [BZ #12378]
56211 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56212 and fall back to matching as normal character if the string ends before
56213 the matching ']' is found. This is what POSIX requires.
56214 * posix/testfnm.c: Adjust test result.
56215 * posix/globtest.sh: Adjust test result. Add new test.
56216 * posix/tst-fnmatch.input: Likewise.
56217 * posix/tst-fnmatch2.c: Add new test.
56218
56219 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56220
56221 * elf/Makefile (check-execstack): Revert last change. Depend on
56222 check-execstack.h.
56223 (check-execstack.h): New target.
56224 (generated): Add check-execstack.h.
56225 * elf/check-execstack.c: Include "check-execstack.h".
56226 (main): Revert last change.
56227 (handle_file): Return zero if GNU_STACK is absent and
56228 DEFAULT_STACK_PERMS doesn't include PF_X.
56229
56230 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56231
56232 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56233 in child fails because the descriptor is already closed.
56234 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56235 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56236 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56237
56238 [BZ #12397]
56239 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56240 syscall.
56241
56242 [BZ #10484]
56243 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56244 temporary buffer used to handle multi lookups locally.
56245 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56246
56247 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56248
56249 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56250 loader is ld.so.
56251
56252 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56253
56254 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56255 alignment for SSE2.
56256
56257 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56258
56259 [BZ #12394]
56260 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56261 characters. When rounding increased number of integer digits recompute
56262 number of groups.
56263 * stdio-common/tst-grouping.c: New file.
56264 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56265
56266 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56267
56268 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56269 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56270
56271 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56272 void.
56273 * bits/select.h: Likewise.
56274
56275 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56276
56277 * po/ja.po: Update from translation team.
56278
56279 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56280
56281 [BZ #11155]
56282 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56283 implementation just like for lxstat, fxstatat, et al.
56284
56285 2010-12-27 Jim Meyering <meyering@redhat.com>
56286
56287 [BZ #12348]
56288 * posix/regexec.c (build_trtable): Return failure indication upon
56289 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56290
56291 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56292
56293 [BZ #12201]
56294 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56295 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56296 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56297 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56298
56299 [BZ #12207]
56300 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56301
56302 [BZ #12204]
56303 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56304 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56305
56306 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56307
56308 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56309 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56310 script has SORT_BY_INIT_PRIORITY.
56311 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56312 NO_CTORS_DTORS_SECTIONS is defined.
56313 * elf/soinit.c: Likewise.
56314 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56315 NO_CTORS_DTORS_SECTIONS is defined.
56316 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56317 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56318 * sysdeps/sh/init-first.c: Likewise.
56319 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56320
56321 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56322
56323 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56324 always use the slow path.
56325
56326 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56327
56328 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56329 similar rule which adds the sysdep directories to the header search in
56330 order to pick up the correct platform stackinfo.h.
56331 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56332 perform test if it is, otherwise return successfully without testing.
56333 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56334 DEFAULT_STACK_PERMS define in stackinfo.h.
56335 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56336 defined in stackinfo.h.
56337 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56338 DEFAULT_STACK_PERMS defined in stackinfo.h.
56339 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56340 * sysdeps/ia64/stackinfo.h: Likewise.
56341 * sysdeps/s390/stackinfo.h: Likewise.
56342 * sysdeps/sh/stackinfo.h: Likewise.
56343 * sysdeps/sparc/stackinfo.h: Likewise.
56344 * sysdeps/x86_64/stackinfo.h: Likewise.
56345 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56346 PF_X for powerpc64. Retain PF_X for powerpc32.
56347
56348 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56349
56350 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56351 accurately.
56352 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56353 GETDENTS_64BIT_ALIGNED.
56354
56355 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56356
56357 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56358
56359 2010-12-10 Andreas Schwab <schwab@redhat.com>
56360
56361 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56362 _GNU_SOURCE.
56363
56364 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56365 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56366 Remove __restrict.
56367 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56368 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56369
56370 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56371
56372 [BZ #11655]
56373 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56374 are initialized.
56375
56376 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56377
56378 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56379
56380 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56381
56382 * po/it.po: Update from translation team.
56383
56384 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56385
56386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56387 unused codes.
56388
56389 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56390
56391 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56392
56393 2010-11-24 Andreas Schwab <schwab@redhat.com>
56394
56395 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56396 specially.
56397 (gaih_getanswer_slice): Likewise.
56398
56399 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56400
56401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56402
56403 2010-05-31 Petr Baudis <pasky@suse.cz>
56404
56405 [BZ #11149]
56406 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56407 silently even in the chroot mode.
56408
56409 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56410
56411 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56412 last patch a bit. Pretty printing
56413
56414 2010-05-31 Petr Baudis <pasky@suse.cz>
56415
56416 [BZ #10085]
56417 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56418 initialization of skip_initgroups_dyn.
56419
56420 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56421
56422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56424
56425 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56426
56427 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56428
56429 2010-11-11 Andreas Schwab <schwab@redhat.com>
56430
56431 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56432 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56433 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56434 ($(objpfx)tst-fnmatch-mem): New rule.
56435 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56436 * posix/tst-fnmatch.c (main): Call mtrace.
56437
56438 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56439
56440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56441 Support Intel processor model 6 and model 0x2c.
56442
56443 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56444
56445 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56446 signed comparison.
56447
56448 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56449
56450 [BZ #12205]
56451 * string/test-strncasecmp.c (check_result): New function.
56452 (do_one_test): Use it.
56453 (check1): New function.
56454 (test_main): Use it.
56455 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56456 Support strcasecmp and strncasecmp.
56457
56458 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56459
56460 [BZ #12194]
56461 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56462 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56463
56464 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56465
56466 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56467 IFUNC support.
56468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56469 memset-x86-64.
56470 * sysdeps/x86_64/multiarch/bzero.S: New file.
56471 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56472 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56473 * sysdeps/x86_64/multiarch/memset.S: New file.
56474 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56476 Set bit_Prefer_SSE_for_memop for Intel processors.
56477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56478 Define.
56479 (index_Prefer_SSE_for_memop): Define.
56480 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56481
56482 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56483
56484 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56485 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56486
56487 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56488
56489 [BZ #12191]
56490 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56491 (__x86_64_raw_data_cache_size_half): Likewise.
56492 (__x86_64_raw_shared_cache_size): Likewise.
56493 (__x86_64_raw_shared_cache_size_half): Likewise.
56494
56495 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56496 (__x86_64_raw_data_cache_size_half): Likewise.
56497 (__x86_64_raw_shared_cache_size): Likewise.
56498 (__x86_64_raw_shared_cache_size_half): Likewise.
56499 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56500 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56501 and __x86_64_raw_shared_cache_size_half. Round
56502 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56503 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56504 to multiple of 256 bytes.
56505
56506 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56507
56508 [BZ #12167]
56509 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56510 of inacessible symlinks. Verify result of symlink before returning it.
56511 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56512 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56513
56514 2010-10-28 Erich Ritz <erichritz@gmail.com>
56515
56516 * math/math.h (isinf): Fix typo in comment.
56517
56518 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56519
56520 * po/da.po: Update from translation team.
56521
56522 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56523
56524 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56525 is added to the list.
56526
56527 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56528 Ulrich Drepper <drepper@gmail.com>
56529
56530 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56531 the global list here. Move code to...
56532 (_dl_add_to_namespace_list): ...here. New function.
56533 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56534 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56535 * elf/dl-load.c (lose): Don't remove the element from the list.
56536 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56537 (_dl_map_object): Likewise.
56538
56539 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56540
56541 [BZ #12159]
56542 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56543 into all bytes of SSE register.
56544 Patch by Richard Li <richardpku@gmail.com>.
56545
56546 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56547
56548 [BZ #12140]
56549 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56550 perturbing.
56551
56552 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56553
56554 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56555 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56557 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56559 submachine.
56560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56561
56562 2010-10-22 Andreas Schwab <schwab@redhat.com>
56563
56564 * include/dlfcn.h (__RTLD_SECURE): Define.
56565 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56566 mode & __RTLD_SECURE instead.
56567 (open_path): Rename preloaded parameter to secure.
56568 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56569 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56570 * elf/dl-deps.c (openaux): Likewise.
56571 * elf/rtld.c (struct map_args): Remove is_preloaded.
56572 (map_doit): Don't use it.
56573 (dl_main): Likewise.
56574 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56575 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56576
56577 2010-09-09 Andreas Schwab <schwab@redhat.com>
56578
56579 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56580 (sysd-rules-targets): Remove duplicates.
56581 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56582 rtld-%.$o dependency.
56583
56584 2010-10-18 Andreas Schwab <schwab@redhat.com>
56585
56586 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56587 _dl_map_object do it.
56588
56589 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56590
56591 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56592 fast fma builtins, define the macros in the C99 standard.
56593 (FP_FAST_FMAF): Likewise.
56594 (FP_FAST_FMAL): Likewise.
56595 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56596
56597 * bits/mathdef.h: Update copyright year.
56598 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56599
56600 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56601
56602 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56603 builtins, define the macros in the C99 standard.
56604 (FP_FAST_FMAF): Likewise.
56605 (FP_FAST_FMAL): Likewise.
56606 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56607 multiply/add.
56608 (FP_FAST_FMAF): Likewise.
56609
56610 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56611
56612 [BZ #3268]
56613 * math/libm-test.inc (fma_test): Some new testcases.
56614 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56615 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56616 y and infinite z. Do multiplication by C already in long double.
56617 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56619 y and infinite z. Do bitwise or of inexact bit into u.d.
56620 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56621 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56622 * sysdeps/i386/fpu/s_fma.S: Removed.
56623 * sysdeps/i386/fpu/s_fmal.S: Removed.
56624
56625 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56626
56627 [BZ #3268]
56628 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56630 computation is not scheduled after fetestexcept. Fix value
56631 of minimum denormal long double.
56632
56633 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56634
56635 [BZ #3268]
56636 * math/libm-test.inc (fma_test): Add some more tests.
56637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56638 correctly.
56639
56640 2010-10-15 Andreas Schwab <schwab@redhat.com>
56641
56642 * scripts/data/localplt-s390-linux-gnu.data: New file.
56643 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56644
56645 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56646
56647 [BZ #3268]
56648 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56649 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56650 instead of dbl-64.
56651 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56652 inlines.
56653 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56655 if one of x and y is very large and the other is subnormal.
56656 * sysdeps/s390/fpu/s_fmaf.c: New file.
56657 * sysdeps/s390/fpu/s_fma.c: New file.
56658 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56659 * sysdeps/powerpc/fpu/s_fma.S: New file.
56660 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56661 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56662 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56663
56664 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56665
56666 [BZ #3268]
56667 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56668 fma tests.
56669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56670 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56671 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56672 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56673 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56674 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56675 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56676
56677 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56678
56679 [BZ #12078]
56680 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56681 * posix/bug-regex31.input: Add test case.
56682
56683 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56684
56685 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56686 * posix/bug-regex31.input: New file.
56687
56688 [BZ #12078]
56689 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56690 (parse_sub_exp): Fix last change, use postorder.
56691
56692 * posix/bug-regex31.c: New file.
56693 * posix/Makefile: Add rules to build and run bug-regex31.
56694
56695 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56696
56697 [BZ #12078]
56698 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56699
56700 [BZ #12108]
56701 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56702 to have entries in sys_siglist.
56703
56704 [BZ #12093]
56705 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56706 be NULL.
56707
56708 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56709
56710 [BZ #3268]
56711 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56712 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56713 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56714 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56715 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56716 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56717 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56718 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56719 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56720 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56721 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56722 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56723 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56724 * math/ftestexcept.c (fetestexcept): Likewise.
56725 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56726 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56727 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56728 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56729 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56730 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56731 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56732
56733 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56734
56735 [BZ #12107]
56736 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56737 newline.
56738
56739 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56740
56741 * string/bug-strstr1.c: New file.
56742 * string/Makefile: Add rules to build and run bug-strstr1.
56743
56744 2010-10-05 Eric Blake <eblake@redhat.com>
56745
56746 [BZ #12092]
56747 * string/str-two-way.h (two_way_long_needle): Always clear memory
56748 when skipping input due to the shift table.
56749
56750 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56751
56752 [BZ #12005]
56753 * malloc/mcheck.c: Handle large requests.
56754
56755 [BZ #12077]
56756 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56757 for strncmp and strncasecmp.
56758 * string/stratcliff.c: Add tests for strcmp and strncmp.
56759 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56760
56761 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56762
56763 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56764 __set_fpscr.
56765
56766 2010-09-30 Andreas Jaeger <aj@suse.de>
56767
56768 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56769 (CGROUP_SUPER_MAGIC): Define.
56770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56771 Handle btrfs and cgroup file systems.
56772 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56773 Likewise.
56774
56775 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56776
56777 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56778 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56779
56780 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56781
56782 [BZ #12067]
56783 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56784 trying to locate the ELF header.
56785
56786 2010-09-27 Andreas Schwab <schwab@redhat.com>
56787
56788 [BZ #11611]
56789 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56790 Mask out sign-bit copies when constructing f_fsid.
56791
56792 2010-09-24 Petr Baudis <pasky@suse.cz>
56793
56794 * debug/stack_chk_fail_local.c: Add missing licence exception.
56795 * debug/warning-nop.c: Likewise.
56796
56797 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56798
56799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56800 implementing getdents64 using getdents syscall, set d_type if
56801 __ASSUME_GETDENTS32_D_TYPE.
56802
56803 2010-09-16 Andreas Schwab <schwab@redhat.com>
56804
56805 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56806 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56807
56808 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56809
56810 [BZ #12037]
56811 * posix/unistd.h: Undo change of feature selection for ftruncate from
56812 2010-01-11.
56813
56814 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56815
56816 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56817 detection.
56818
56819 2010-09-20 Andreas Schwab <schwab@redhat.com>
56820
56821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56822 fanotify_mark.
56823 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56824
56825 2010-09-14 Andreas Schwab <schwab@redhat.com>
56826
56827 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56828 variables after CHECK_SP call.
56829 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56830
56831 2010-09-13 Andreas Schwab <schwab@redhat.com>
56832 Ulrich Drepper <drepper@redhat.com>
56833
56834 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56835 re-relocationg ld.so.
56836 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56837 _dl_init_paths call.
56838 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56839 here anymore.
56840
56841 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56842
56843 * resolv/res_init.c (__res_vinit): Count the default server we added.
56844
56845 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56846 Ulrich Drepper <drepper@redhat.com>
56847
56848 [BZ #11968]
56849 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56850 (____longjmp_chk): Use %ebx for saving value across system call.
56851 Add unwind info.
56852
56853 2010-09-06 Andreas Schwab <schwab@redhat.com>
56854
56855 * manual/Makefile: Don't mix pattern rules with normal rules.
56856
56857 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56858
56859 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56860 operation.
56861 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56862 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56863 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56864 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56866 Likewise.
56867
56868 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56869
56870 [BZ #11979]
56871 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56872 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56873
56874 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56875
56876 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56877 * sysdeps/x86_64/addmul_1.S: Likewise.
56878 * sysdeps/x86_64/lshift.S: Likewise.
56879 * sysdeps/x86_64/mul_1.S: Likewise.
56880 * sysdeps/x86_64/rshift.S: Likewise.
56881 * sysdeps/x86_64/sub_n.S: Likewise.
56882 * sysdeps/x86_64/submul_1.S: Likewise.
56883
56884 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56885
56886 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56887 Define __sched_param instead of SCHED_* and sched_param when
56888 <bits/sched.h> is included with __need_schedparam defined.
56889 * bits/sched.h [__need_schedparam]
56890 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56891 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56892 (__defined_schedparam): Define to 1.
56893 (__sched_param): New structure, identical to sched_param.
56894 (__need_schedparam): Undefine.
56895
56896 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56897
56898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56899 (epoll_create1): Declare.
56900
56901 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56902
56903 2010-08-31 Andreas Schwab <schwab@redhat.com>
56904
56905 [BZ #7066]
56906 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56907 shifting retval into place.
56908
56909 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56910
56911 * nis/rpcsvc/nis.h: Update copyright notice.
56912 * nis/rpcsvc/nis.x: Likewise.
56913 * nis/rpcsvc/nis_callback.h: Likewise.
56914 * nis/rpcsvc/nis_callback.x: Likewise.
56915 * nis/rpcsvc/nis_object.x: Likewise.
56916 * nis/rpcsvc/nis_tags.h: Likewise.
56917 * nis/rpcsvc/yp.h: Likewise.
56918 * nis/rpcsvc/yp.x: Likewise.
56919 * nis/rpcsvc/ypupd.h: Likewise.
56920 * nis/yp_xdr.c: Likewise.
56921 * nis/ypupdate_xdr.c: Likewise.
56922
56923 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56924 mainly the body of pmap_getport. Add parameters to specify timeouts.
56925 (pmap_getport): Use __libc_rpc_getport.
56926 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56927 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56928 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56929
56930 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56931
56932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56933 fanotify_mark.
56934
56935 2010-08-27 Roland McGrath <roland@redhat.com>
56936
56937 * sysdeps/i386/i686/multiarch/Makefile
56938 (CFLAGS-varshift.c): New variable.
56939
56940 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56941
56942 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56943 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56944
56945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56946
56947 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56948
56949 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56950
56951 * sysdeps/x86_64/strlen.S: Unroll the loop.
56952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56953 strlen-sse2 strlen-sse2-bsf.
56954 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56955 __strlen_no_bsf if bit_Slow_BSF is set.
56956 (__strlen_sse42): Removed.
56957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56958 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56959
56960 2010-08-25 Roland McGrath <roland@redhat.com>
56961
56962 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56963 * sysdeps/x86_64/multiarch/varshift.c: New file.
56964 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56965 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56966 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56967 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56968
56969 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56970
56971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56972 strlen-sse2 strlen-sse2-bsf.
56973 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56974 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56975 (__strlen_sse2): Removed.
56976 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56979 bit_Slow_BSF for Atom.
56980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56981 (index_Slow_BSF): Define.
56982 (HAS_SLOW_BSF): Define.
56983
56984 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56985
56986 [BZ #10851]
56987 * resolv/res_init.c (__res_vinit): When no server address at all
56988 is given default to loopback.
56989
56990 2010-08-24 Roland McGrath <roland@redhat.com>
56991
56992 * configure.in: Remove config-name.h generation.
56993 * configure: Regenerated.
56994 * config-name.in: File removed.
56995 * scripts/config-uname.sh: New file.
56996 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56997 ($(objdir)config-name.h): New target.
56998
56999 * sunrpc/rpc_parse.h: Avoid nested comment.
57000
57001 2010-08-24 Richard Henderson <rth@redhat.com>
57002 Ulrich Drepper <drepper@redhat.com>
57003 H.J. Lu <hongjiu.lu@intel.com>
57004
57005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57007 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57008 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57009 _mm_alignr_epi8 with _mm_loadu_si128.
57010 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57011 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57012 (__m128i_shift_right): Removed.
57013 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57014 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57015 * sysdeps/x86_64/multiarch/varshift.h: New file.
57016 * sysdeps/x86_64/multiarch/varshift.S: New file.
57017
57018 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57019
57020 * configure.in: Move assembler checks to before sysdep dir checking.
57021
57022 2010-08-20 Petr Baudis <pasky@suse.cz>
57023
57024 * LICENSES: Sync the sunrpc license.
57025
57026 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57027
57028 * sunrpc/auth_des.c: Update copyright notice once again.
57029 * sunrpc/auth_none.c: Likewise.
57030 * sunrpc/auth_unix.c: Likewise.
57031 * sunrpc/authdes_prot.c: Likewise.
57032 * sunrpc/authuxprot.c: Likewise.
57033 * sunrpc/bindrsvprt.c: Likewise.
57034 * sunrpc/clnt_gen.c: Likewise.
57035 * sunrpc/clnt_perr.c: Likewise.
57036 * sunrpc/clnt_raw.c: Likewise.
57037 * sunrpc/clnt_simp.c: Likewise.
57038 * sunrpc/clnt_tcp.c: Likewise.
57039 * sunrpc/clnt_udp.c: Likewise.
57040 * sunrpc/clnt_unix.c: Likewise.
57041 * sunrpc/des_crypt.c: Likewise.
57042 * sunrpc/des_soft.c: Likewise.
57043 * sunrpc/get_myaddr.c: Likewise.
57044 * sunrpc/getrpcport.c: Likewise.
57045 * sunrpc/key_call.c: Likewise.
57046 * sunrpc/key_prot.c: Likewise.
57047 * sunrpc/openchild.c: Likewise.
57048 * sunrpc/pm_getmaps.c: Likewise.
57049 * sunrpc/pm_getport.c: Likewise.
57050 * sunrpc/pmap_clnt.c: Likewise.
57051 * sunrpc/pmap_prot.c: Likewise.
57052 * sunrpc/pmap_prot2.c: Likewise.
57053 * sunrpc/pmap_rmt.c: Likewise.
57054 * sunrpc/rpc/auth.h: Likewise.
57055 * sunrpc/rpc/auth_unix.h: Likewise.
57056 * sunrpc/rpc/clnt.h: Likewise.
57057 * sunrpc/rpc/des_crypt.h: Likewise.
57058 * sunrpc/rpc/key_prot.h: Likewise.
57059 * sunrpc/rpc/netdb.h: Likewise.
57060 * sunrpc/rpc/pmap_clnt.h: Likewise.
57061 * sunrpc/rpc/pmap_prot.h: Likewise.
57062 * sunrpc/rpc/pmap_rmt.h: Likewise.
57063 * sunrpc/rpc/rpc.h: Likewise.
57064 * sunrpc/rpc/rpc_des.h: Likewise.
57065 * sunrpc/rpc/rpc_msg.h: Likewise.
57066 * sunrpc/rpc/svc.h: Likewise.
57067 * sunrpc/rpc/svc_auth.h: Likewise.
57068 * sunrpc/rpc/types.h: Likewise.
57069 * sunrpc/rpc/xdr.h: Likewise.
57070 * sunrpc/rpc_clntout.c: Likewise.
57071 * sunrpc/rpc_cmsg.c: Likewise.
57072 * sunrpc/rpc_common.c: Likewise.
57073 * sunrpc/rpc_cout.c: Likewise.
57074 * sunrpc/rpc_dtable.c: Likewise.
57075 * sunrpc/rpc_hout.c: Likewise.
57076 * sunrpc/rpc_main.c: Likewise.
57077 * sunrpc/rpc_parse.c: Likewise.
57078 * sunrpc/rpc_parse.h: Likewise.
57079 * sunrpc/rpc_prot.c: Likewise.
57080 * sunrpc/rpc_sample.c: Likewise.
57081 * sunrpc/rpc_scan.c: Likewise.
57082 * sunrpc/rpc_scan.h: Likewise.
57083 * sunrpc/rpc_svcout.c: Likewise.
57084 * sunrpc/rpc_tblout.c: Likewise.
57085 * sunrpc/rpc_util.c: Likewise.
57086 * sunrpc/rpc_util.h: Likewise.
57087 * sunrpc/rpcinfo.c: Likewise.
57088 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57089 * sunrpc/rpcsvc/key_prot.x: Likewise.
57090 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57091 * sunrpc/rpcsvc/mount.x: Likewise.
57092 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57093 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57094 * sunrpc/rpcsvc/rex.x: Likewise.
57095 * sunrpc/rpcsvc/rstat.x: Likewise.
57096 * sunrpc/rpcsvc/rusers.x: Likewise.
57097 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57098 * sunrpc/rpcsvc/spray.x: Likewise.
57099 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57100 * sunrpc/rtime.c: Likewise.
57101 * sunrpc/svc.c: Likewise.
57102 * sunrpc/svc_auth.c: Likewise.
57103 * sunrpc/svc_authux.c: Likewise.
57104 * sunrpc/svc_raw.c: Likewise.
57105 * sunrpc/svc_run.c: Likewise.
57106 * sunrpc/svc_simple.c: Likewise.
57107 * sunrpc/svc_tcp.c: Likewise.
57108 * sunrpc/svc_udp.c: Likewise.
57109 * sunrpc/svc_unix.c: Likewise.
57110 * sunrpc/svcauth_des.c: Likewise.
57111 * sunrpc/xcrypt.c: Likewise.
57112 * sunrpc/xdr.c: Likewise.
57113 * sunrpc/xdr_array.c: Likewise.
57114 * sunrpc/xdr_float.c: Likewise.
57115 * sunrpc/xdr_mem.c: Likewise.
57116 * sunrpc/xdr_rec.c: Likewise.
57117 * sunrpc/xdr_ref.c: Likewise.
57118 * sunrpc/xdr_sizeof.c: Likewise.
57119 * sunrpc/xdr_stdio.c: Likewise.
57120
57121 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57122 handling.
57123
57124 2010-08-19 Andreas Schwab <schwab@redhat.com>
57125
57126 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57127
57128 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57129
57130 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57132 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57133 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57134 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57135 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57136 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57137 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57138 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57139 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57140 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57141 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57142 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57143 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57144
57145 2010-07-26 Anton Blanchard <anton@samba.org>
57146
57147 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57148 * malloc/arena.c (heap_trim): Likewise.
57149
57150 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57151
57152 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57153 here. Not...
57154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57155 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57156
57157 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57158
57159 * sysdeps/i386/elf/Makefile: New file.
57160
57161 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57162
57163 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57164 from fanotify_init.
57165 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57167
57168 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57169
57170 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57171 of strncasecmp_l.
57172 * sysdeps/multiarch/strcmp.S: Likewise.
57173
57174 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57175
57176 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57177 strncase_l-nonascii.
57178 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57179 Add strncase_l-ssse3.
57180 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57181 * sysdeps/x86_64/strcmp.S: Likewise.
57182 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57183 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57184 * sysdeps/x86_64/strncase.S: New file.
57185 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57186 * sysdeps/x86_64/strncase_l.S: New file.
57187 * string/Makefile (strop-tests): Add strncasecmp.
57188 * string/test-strncasecmp.c: New file.
57189
57190 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57191 warning.
57192
57193 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57194 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57195
57196 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57197
57198 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57199
57200 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57201
57202 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57203 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57204 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57205
57206 2010-05-01 Alan Modra <amodra@gmail.com>
57207
57208 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57209 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57210 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57211 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57212 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57213 tidying. Don't tail-call __sigjmp_save for static lib.
57214 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57215 save location.
57216 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57217 (CALL_MCOUNT): Add eh info, and nop after bl.
57218 (TAIL_CALL_SYSCALL_ERROR): New macro.
57219 (PSEUDO_RET): Use it.
57220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57221 Correct save location of integer regs and cr.
57222 (_dl_profile_resolve): Correct cr save location. Delete nops
57223 after bl when SHARED. Reduce cfi size a little by better
57224 placement of cfi directives.
57225 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57226 make a stack frame. Instead use parm save area as a temp.
57227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57228 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57230 Don't make a stack frame for parent, use parm save area.
57231 Increase child stack frame to 112 bytes. Don't save unused reg,
57232 and adjust reg usage. Set up cfi on error recovery and
57233 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57235 (__makecontext): Add dummy nop after jump to exit.
57236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57237 Use correct parm save area and cr save, reduce stack frame.
57238 Correct cfi for possible PSEUDO_RET frame setup.
57239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57240 Branch to local label emitted by PSEUDO_RET rather than
57241 __syscall_error.
57242
57243 2010-08-12 Andreas Schwab <schwab@redhat.com>
57244
57245 [BZ #11904]
57246 * locale/programs/locale.c (print_assignment): New function.
57247 (show_locale_vars): Use it.
57248
57249 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57250
57251 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57252 field.
57253 (struct statfs64): Likewise.
57254 (_STATFS_F_FLAGS): Define.
57255 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57257 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57258 (ST_VALID): Define locally.
57259 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57260 __statvfs_getflags, use the provided value.
57261 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57262 __ASSUME_STATFS_F_FLAGS.
57263
57264 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57265
57266 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57267 Add sys/fanotify.h.
57268 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57269 fanotify_mask for GLIBC_2.13.
57270 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57271 fanotify_init and fanotify_mark.
57272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57273 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57274
57275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57276 Add prlimit.
57277 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57278 prlimit64 for GLIBC_2.13.
57279 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57280 prlimit64.
57281 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57282 syscall.
57283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57284 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57285 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57287 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57288 add prlimit alias.
57289 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57290
57291 [BZ #11903]
57292 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57293 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57294
57295 * nss/Makefile: Add rules to build and run tst-nss-test1.
57296 * shlib-versions: Add entry for libnss_test1.
57297 * nss/nss_test1.c: New file.
57298 * nss/tst-nss-test1.c: New file.
57299
57300 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57301 (__nss_configure_lookup): Set appropriate entry in
57302 __nss_configure_lookup to true.
57303 * nss/nsswitch.h: Define enum with indeces of databases in
57304 databases and __nss_database_custom arrays. Declare
57305 __nss_database_custom.
57306 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57307 to avoid using nscd when custom rules are installed.
57308 * nss/getXXbyYY_r.c: Likewise.
57309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57310
57311 * nss/nss_files/files-parse.c: Whitespace fixes.
57312
57313 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57314
57315 [BZ #11883]
57316 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57317 * posix/fnmatch_loop.c: Likewise.
57318
57319 2010-07-17 Andi Kleen <ak@linux.intel.com>
57320
57321 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57322 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57323 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57324 * Versions.def [GLIBC_2.13]: Add.
57325
57326 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57327
57328 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57329 Also fail if tpwd after pwuid call is NULL.
57330
57331 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57332
57333 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57334 when converting to ms.
57335
57336 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57337
57338 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57339 EOPNOTSUPP errors with ENOTTY.
57340 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57341 EOPNOTSUPP errors with ENOTTY.
57342
57343 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57344
57345 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57346 Add strcasecmp_l-ssse3.
57347 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57348 strcasecmp.
57349 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57350 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57351 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57352
57353 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57354
57355 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57356
57357 * string/Makefile (strop-tests): Add strcasecmp.
57358 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57359 strcasecmp_l-nonascii.
57360 (gen-as-const-headers): Add locale-defines.sym.
57361 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57362 * sysdeps/x86_64/strcasecmp.S: New file.
57363 * sysdeps/x86_64/strcasecmp_l.S: New file.
57364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57365 * sysdeps/x86_64/locale-defines.sym: New file.
57366 * string/test-strcasecmp.c: New file.
57367
57368 * string/test-strcasestr.c: Test both ends of the range of characters.
57369 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57370
57371 2010-07-29 Roland McGrath <roland@redhat.com>
57372
57373 [BZ #11856]
57374 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57375
57376 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57377
57378 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57379 for ld.so.
57380
57381 2010-07-27 Andreas Schwab <schwab@redhat.com>
57382
57383 * manual/memory.texi (Malloc Tunable Parameters): Document
57384 M_PERTURB.
57385
57386 2010-07-26 Roland McGrath <roland@redhat.com>
57387
57388 [BZ #11840]
57389 * configure.in (-fgnu89-inline check): Set and substitute
57390 gnu89_inline, not libc_cv_gnu89_inline.
57391 * configure: Regenerated.
57392 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57393
57394 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57395
57396 * string/test-strnlen.c: New file.
57397 * string/Makefile (strop-tests): Add strnlen.
57398 * string/tester.c (test_strnlen): Add a few more test cases.
57399 * string/tst-strlen.c: Better error reporting.
57400
57401 * sysdeps/x86_64/strnlen.S: New file.
57402
57403 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57404
57405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57406 lower-latency instructions.
57407
57408 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57409
57410 * string/test-strcasestr.c: New file.
57411 * string/test-strstr.c: New file.
57412 * string/Makefile (strop-tests): Add strstr and strcasestr.
57413 * string/str-two-way.h: Don't undefine MAX.
57414 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57415
57416 2010-07-21 Andreas Schwab <schwab@redhat.com>
57417
57418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57419 strcasestr-nonascii.
57420 (CFLAGS-strcasestr-nonascii.c): Define.
57421 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57423 Remove unused attribute.
57424
57425 2010-07-20 Roland McGrath <roland@redhat.com>
57426
57427 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57428 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57429 ld.so.cache was broken. With it, there is no way to disable dsocaps
57430 like LD_HWCAP_MASK can disable hwcaps.
57431
57432 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57433
57434 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57435
57436 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57437
57438 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57439 call in strcasestr.
57440 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57441 __strcasestr_sse42_nonascii.
57442 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57443 strcasestr-nonascii.c.
57444 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57445
57446 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57447
57448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57451 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57452
57453 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57454
57455 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57456 fcntl.
57457
57458 2010-07-06 Andreas Schwab <schwab@redhat.com>
57459
57460 [BZ #11577]
57461 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57462 dl_signal_cerror.
57463
57464 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57465
57466 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57467 _PC_PIPE_BUF using F_GETPIPE_SZ.
57468
57469 2010-07-05 Roland McGrath <roland@redhat.com>
57470
57471 * manual/arith.texi (Rounding Functions): Fix rint description
57472 implicit in round description.
57473
57474 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57475
57476 * elf/Makefile: Fix linking for a few tests to make recent linker
57477 happy.
57478
57479 2010-06-30 Andreas Schwab <schwab@redhat.com>
57480
57481 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57482 $(common-objpfx)libc_nonshared.a.
57483
57484 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57485
57486 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57487 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57488 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57489 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57490 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57491 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57492 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57493 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57508 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57509 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57510 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57511 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57512 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57513 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57514 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57515 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57516 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57517 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57518 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57519 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57534
57535 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57536
57537 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57538 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57539 * string/memmove.c (memmove): Renamed to ...
57540 (MEMMOVE): ...this. Default to memmove.
57541 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57542 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57543 (END_CHK): Define.
57544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57545 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57546 mempcpy-ssse3-back memmove-ssse3-back.
57547 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57548 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57550 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57551 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57552 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57553 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57554 * sysdeps/x86_64/multiarch/memmove.c: New file.
57555 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57556 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57557 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57558 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57560 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57561 Define.
57562 (index_Fast_Copy_Backward): Define.
57563 (HAS_ARCH_FEATURE): Define.
57564 (HAS_FAST_REP_STRING): Define.
57565 (HAS_FAST_COPY_BACKWARD): Define.
57566
57567 2010-06-21 Andreas Schwab <schwab@redhat.com>
57568
57569 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57570 Restore proper fallback handling.
57571
57572 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57573
57574 [BZ #11701]
57575 * posix/group_member.c (__group_member): Correct checking loop.
57576
57577 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57578 OOM in getpwuid_r correctly. Return error number when the caller
57579 should return, otherwise -1.
57580 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57581 call returning > 0 value.
57582 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57583
57584 2010-06-07 Andreas Schwab <schwab@redhat.com>
57585
57586 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57587 libc_nonshared.a from targets in modules-names.
57588
57589 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57590
57591 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57592 requires it.
57593
57594 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57595
57596 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57597 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57600
57601 2010-06-02 Andreas Schwab <schwab@redhat.com>
57602
57603 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57604
57605 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57606
57607 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57608 and F_GETPIPE_SZ.
57609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57610 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57611 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57613 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57614 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57615
57616 2010-06-14 Roland McGrath <roland@redhat.com>
57617
57618 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57619
57620 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57621
57622 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57623 __REDIRECT followed by __THROW.
57624 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57625 * posix/getopt.h (getopt): Likewise.
57626
57627 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57628
57629 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57630 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57631 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57632 in AT_FLAGS.
57633 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57634 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57635
57636 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57637
57638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57639
57640 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57641
57642 [BZ #11640]
57643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57644 Properly check family and model.
57645
57646 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57647
57648 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57649
57650 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57651
57652 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57653
57654 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57655
57656 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57657 symbol reference.
57658
57659 2010-05-19 Andreas Schwab <schwab@redhat.com>
57660
57661 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57662 symbol reference.
57663
57664 2010-05-21 Andreas Schwab <schwab@redhat.com>
57665
57666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57667 and internal_recvmmsg.
57668 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57669 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57670 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57671 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57672
57673 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57674 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57675 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57676
57677 2010-05-20 Andreas Schwab <schwab@redhat.com>
57678
57679 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57680
57681 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57682
57683 POWER7 optimizations.
57684 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57685 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57686
57687 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57688
57689 * version.h: Update for 2.13 development version.
57690
57691 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57692
57693 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57694 exceptions. Return 0.
57695
57696 2010-05-07 Roland McGrath <roland@redhat.com>
57697
57698 * elf/ldconfig.c (main): Add a const.
57699
57700 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57701
57702 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57703 (args_options): Add no-idn option.
57704 (ahosts_keys_int): Add idn_flags to ai_flags.
57705 (parse_option): Handle 'i' option to clear idn_flags.
57706
57707 * malloc/malloc.c (_int_free): Possible race in the most recently
57708 added check. Only act on the data if no current modification
57709 happened.
57710
57711 See ChangeLog.17 for earlier changes.