]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix BZ #18043 comment # 19: don't call undefined setenv(..., NULL, 1).
[thirdparty/glibc.git] / ChangeLog
1 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2
3 [BZ #18043]
4 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
5
6 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7
8 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
10 Remove define.
11 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
16 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17 define.
18 * nptl_db/td_symbol_list.c (td_lookup): Remove
19 HAVE_ASM_GLOBAL_DOT_NAME code.
20 * sysdeps/powerpc/powerpc64/configure.ac: Remove
21 HAVE_ASM_GLOBAL_DOT_NAME check.
22 * sysdeps/powerpc/powerpc64/configure: Regenerate.
23 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24 (DOT_LABEL): Remove define.
25 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
26 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
29 (__TLS_GET_ADDR): Likewise.
30 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32
33 2015-03-11 Carlos O'Donell <carlos@redhat.com>
34
35 [BZ #18111]
36 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37 (_FPU_SETCW): Initialize cw from fpsr before storing.
38 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
39 (fesetexceptflag): Rewrite using fpu_control.h.
40 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
41
42 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
43
44 [BZ #18110]
45 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
46 asms.
47 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
48
49 2015-03-11 Joseph Myers <joseph@codesourcery.com>
50
51 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
52 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
53 abort.
54 (_FP_FMA): Likewise.
55 (_FP_DIV): Likewise.
56
57 2015-03-10 Roland McGrath <roland@hack.frob.com>
58
59 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
60 with 0 in that case.
61 * Makefile (summarize-tests): New canned sequence, factored out of
62 commands for targets tests and xtests. Display summary lines that
63 don't start with PASS: or XFAIL: rather than ones that do start with
64 ERROR: or FAIL:. Make the commands fail if any summary lines fail
65 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
66 do start with ERROR: or FAIL:.
67 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
68 (except for [$(build-shared) = yes]).
69 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
70 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
71 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
72 * nptl/Makefile: Revert 2015-03-04 changes.
73 [$(CXX) empty] (tests-unsupported): New variable.
74 * debug/Makefile: Likewise.
75
76 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
77 gnulib file. Replace __attribute with __attribute__ throughout.
78
79 2015-03-10 Carlos O'Donell <carlos@redhat.com>
80
81 * sysdeps/hppa/fpu/libm-test-ulps: Update.
82
83 2015-03-10 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #18104]
86 * math/auto-libm-test-in: Add another test of pow.
87 * math/auto-libm-test-out: Regenerated.
88
89 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90
91 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
92 $(config-cflags-nofma).
93
94 2015-03-10 Joseph Myers <joseph@codesourcery.com>
95
96 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
97 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
98 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
99 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
100 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
101 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
102 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
103 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
104 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
105 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
106 Add comment on closing #endif.
107
108 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
109
110 * posix/wordexp.c (CHAR_IN_SET): New macro.
111 (parse_param): Use it.
112
113 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
114
115 * sysdeps/powerpc/fpu/libm-test-ulps: update.
116
117 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
118
119 [BZ #18043]
120 * posix/wordexp.c (parse_param): Fix buffer overflow.
121 * posix/wordexp-test.c (test_case): Add test case.
122
123 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
124
125 [BZ #18042]
126 * posix/wordexp.c (parse_backtick): Fix off-by-one.
127 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
128
129 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
130
131 [BZ #18043]
132 * posix/wordexp-test.c (test_case): Add test for BZ #18043
133 (do_bz18043): Delete.
134 (at_page_end): New.
135 (testit): Refactor to have words at the edge of unreadable page.
136
137 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
138
139 [BZ #16734]
140 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
141 Cleanup read-only streams as well.
142 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
143
144 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
145
146 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
147 <bits/libc-lockP.h>
148
149 2015-03-07 Joseph Myers <joseph@codesourcery.com>
150
151 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
152 on [__KERNEL__].
153 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
154 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
155 * soft-fp/op-common.h (_FP_DECL): Likewise.
156
157 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
158
159 * elf/ifuncdep2.c (global): Replace
160 __attribute__((visibility("protected"))) with
161 asm (".protected global").
162 * elf/ifuncmod1.c (global): Likewise.
163 * elf/ifuncmod5.c (global): Likewise.
164
165 2015-03-06 Joseph Myers <joseph@codesourcery.com>
166
167 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
168 <asm/sfp-machine.h> instead of <sfp-machine.h>.
169
170 2015-03-06 Roland McGrath <roland@hack.frob.com>
171
172 * manual/install.texi (Configuring and compiling):
173 Document test-wrapper-env-only.
174 * INSTALL: Regenerated.
175
176 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
177
178 [BZ #18043]
179 * posix/wordexp.c (parse_param): Fix buffer overflow.
180 * posix/wordexp-test.c (do_bz18043): Add test case.
181
182 2015-03-06 Vincent Bernat <vincent@bernat.im>
183
184 * time/tst-strptime2.c (do_test): Ensure failing tests are
185 reported correctly.
186 * time/tst-strptime3.c (do_test): Likewise.
187
188 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
189
190 Fix aio_error thread-safety.
191 * sysdeps/pthread/aio_error.c: New file
192 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
193 synchronization.
194
195 2015-03-06 Florian Weimer <fweimer@redhat.com>
196
197 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
198 (group_number, vfprintf): Use it.
199 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
200 (JUMP, REF): Use it.
201 (WORK_BUFFER_SIZE): New enum constant.
202 (process_arg, vfprintf): Use it.
203
204 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
205
206 * manual/errno.texi (Error Messages): Complete example function
207 by adding missing #define.
208 (program_invocation_name): Add statement indicating GNU
209 extension and reference which header file declares the variable.
210 (program_invocation_short_name): Likewise.
211
212 2015-03-06 Mike Frysinger <vapier@gentoo.org>
213
214 * manual/errno.texi (Error Messages): Delete strerror ISO C89
215 compatibility note.
216
217 2015-03-05 Roland McGrath <roland@hack.frob.com>
218
219 * Makeconfig (test-wrapper-env-only): New variable.
220 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
221 then use that with $(test-wrapper-env-only) rather than using
222 $(test-wrapper-env) $(run-program-env) $($*-ENV).
223
224 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
225
226 [BZ #18082]
227 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
228 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
229 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
230 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
231 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
232 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
233 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
234 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
235 Likewise.
236 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
237 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
238 Likewise.
239 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
240 Likewise.
241 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
242 Likewise.
243 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
244 Likewise.
245 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
247 Likewise.
248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
249 Likewise.
250 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
251 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
252
253 2015-03-04 Roland McGrath <roland@hack.frob.com>
254
255 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
256 (ETH_ALEN): New macro.
257 (struct ether_addr): Use it for length of ether_addr_octet.
258
259 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
260 (setdb): Don't call __nss_configure_lookup for "rpc".
261 (do_test): Don't call test_rpc.
262 (output_rpcent, test_rpc): Functions moved ...
263 * sunrpc/test-rpcent.c: ... to this new file.
264 * sunrpc/Makefile (tests): Add it.
265
266 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
267 __xpg_sigpause.
268 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
269 * nptl/tst-signal6.c: Likewise.
270 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
271 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
272
273 * configure.ac (libc_cv_cxx_link_ok): New check.
274 Reset CXX to empty if it fails to link.
275 * configure: Regenerated.
276 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
277 bug-atexit3-lib only if $(CXX) is nonempty.
278 * nptl/Makefile (tests): Likewise for tst-cancel24.
279 (tests, tests-static): Likewise for tst-cancel24-static.
280 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
281 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
282 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
283 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
284
285 2015-03-04 Andreas Schwab <schwab@suse.de>
286
287 [BZ #17631]
288 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
289 for non-GCC compilers.
290 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
291 Likewise.
292
293 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
294
295 [BZ #17776]
296 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
297 integer before bitwise and assembly operations.
298 (feclearexcept): Likewise.
299 * math/test-fenvinline.c: New file.
300 * math/Makefile: Add test-fenvinline test.
301
302 2015-03-03 Alan Modra <amodra@gmail.com>
303
304 [BZ #16512]
305 * scripts/localplt.awk: Strip off symbol version.
306 * NEWS: Mention bug fix.
307
308 2015-03-02 Roland McGrath <roland@hack.frob.com>
309
310 * sysdeps/pthread/timer_routines.c
311 (timer_free_list, thread_free_list, thread_active_list): Make static.
312
313 2015-03-02 Joseph Myers <joseph@codesourcery.com>
314
315 [BZ #17779]
316 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
317 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
318 Undefine.
319 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
320 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
321 Likewise.
322 * sysdeps/unix/sysv/linux/sh/kernel-features.h
323 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
324 Likewise.
325
326 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
327
328 [BZ #18036]
329 * posix/fnmatch_loop.c (END): Detect invalid pattern.
330 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
331
332 2015-03-02 Andreas Schwab <schwab@suse.de>
333
334 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
335 variable name.
336
337 2015-03-02 Florian Weimer <fweimer@redhat.com>
338
339 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
340 Return error status.
341
342 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
343
344 [BZ #15969]
345 * locale/findlocale.c (_nl_find_locale): Introduce const
346 version of loc_name and drop unsafe type casts.
347
348 2015-02-27 Roland McGrath <roland@hack.frob.com>
349
350 * dlfcn/tststatic2.c (main): Converted to ...
351 (do_test): ... this.
352 (TEST_FUNCTION): New macro.
353 Include test-skeleton.c.
354
355 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
356
357 [BZ #17711]
358 * elf/Makefile (tests): Add vismain only if PIE is enabled.
359 (tests-pie): Add vismain.
360 (CFLAGS-vismain.c): New.
361 * elf/vismain.c: Add comments for PIE requirement.
362
363 2015-02-27 Joseph Myers <joseph@codesourcery.com>
364
365 [BZ #18046]
366 [BZ #18047]
367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
368 0x1p-56L as threshold for just returning the argument.
369 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
370 0x1p-32L as threshold for just returning the argument.
371 * math/auto-libm-test-in: Add more tests of atanh.
372 * math/auto-libm-test-out: Regenerated.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
375
376 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
377
378 * string/bcopy.c (bcopy): Call memmove for performance.
379
380 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
381
382 * string/bzero.c (__bzero): Call memset for performance.
383
384 2015-02-27 John David Anglin <dave.anglin@bell.net>
385
386 [BZ #18068]
387 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
388 to 00100000.
389
390 2015-02-27 Joseph Myers <joseph@codesourcery.com>
391
392 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
393
394 2015-02-26 Joseph Myers <joseph@codesourcery.com>
395
396 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
397 (__kernel_standard): Use CSTR macro when setting exc.name.
398 * sysdeps/ieee754/Makefile [$(subdir) = math]
399 (CFLAGS-k_standard.c): Remove variable.
400
401 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
402 setting p and q from "else if" to "else".
403 (qzero): Likewise.
404 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
405 (qone): Likewise.
406 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
407 (qzerof): Likewise.
408 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
409 (qonef): Likewise.
410 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
411 (qzero): Likewise.
412 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
413 (qone): Likewise.
414
415 [BZ #18038]
416 [BZ #18039]
417 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
418 return pi/2 for arguments below 0x1p-113L.
419 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
420 return pi/2 for arguments below 0x1p-106L.
421 * math/auto-libm-test-in: Add more tests of acos.
422 * math/auto-libm-test-out: Regenerated.
423
424 [BZ #16351]
425 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
426 (MO): New macro.
427 (__ieee754_asin): Force underflow exception for results with small
428 absolute value.
429 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
430 (MO): New macro.
431 (__ieee754_asinf): Force underflow exception for results with
432 small absolute value.
433 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
434 (__ieee754_asin): Force underflow exception for results with small
435 absolute value.
436 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
437 (__ieee754_asinf): Force underflow exception for results with
438 small absolute value.
439 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
440 (__ieee754_asinl): Force underflow exception for results with
441 small absolute value.
442 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
443 (__ieee754_asinl): Force underflow exception for results with
444 small absolute value.
445 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
446 (__ieee754_asinl): Force underflow exception for results with
447 small absolute value.
448 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
449 Include <math.h>.
450 * math/auto-libm-test-in: Do not mark underflow exceptions as
451 possibly missing for bug 16351.
452 * math/auto-libm-test-out: Regenerated.
453
454 [BZ #18030]
455 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
456 of power of 2 down when low part has opposite sign.
457 * math/libm-test.inc (logb_test_data): Add more tests.
458
459 2015-02-26 Andreas Schwab <schwab@suse.de>
460
461 [BZ #18032]
462 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
463 over collating symbol inside a bracket expression. Minor cleanup.
464 * posix/tst-fnmatch3.c (do_test): Add test case.
465
466 2015-02-26 Joseph Myers <joseph@codesourcery.com>
467
468 [BZ #18029]
469 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
470 Adjust exponent of power of 2 down when low part has opposite
471 sign.
472 * math/libm-test.inc (ilogb_test_data): Add more tests.
473
474 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
475
476 [BZ #15969]
477 * locale/findlocale.c (_nl_find_locale): Fix constness error in
478 the previous change.
479
480 [BZ #15969]
481 * locale/findlocale.c (_nl_find_locale): Retry archive search
482 after alias expansion.
483
484 2015-02-25 Roland McGrath <roland@hack.frob.com>
485
486 * iconv/tst-iconv3.c (main): Converted to ...
487 (do_test): ... this.
488 (TEST_FUNCTION): New macro.
489 Include test-skeleton.c.
490
491 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
492 (convert): Make function static.
493 (test_unalign): Likewise. Add const to argument pointee types.
494 (main): Replace with static function do_test.
495 Print "Succeeded." only if RET is zero.
496 (TEST_FUNCTION): New macro.
497 Include test-skeleton.c.
498
499 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
500 returns a null pointer.
501
502 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
503
504 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
505 to __memcpy_ppc only for static builds.
506
507 2015-02-25 Joseph Myers <joseph@codesourcery.com>
508
509 [BZ #18020]
510 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
511 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
512 * math/auto-libm-test-in: Add more tests of asinh.
513 * math/auto-libm-test-out: Regenerated.
514 * sysdeps/i386/fpu/libm-test-ulps: Update.
515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
516
517 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
518
519 [BZ #15850]
520 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
521 and ip6_mtuinfo definitions here.
522 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
523 in this define too. Update comment.
524
525 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
526
527 * elf/sprof.c (load_shobj): Tweak error message to match others.
528
529 2015-02-24 Kevin Easton <kevin@guarana.org>
530
531 [BZ #16145] (partial fix)
532 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
533 to reduce lock contention.
534
535 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
536
537 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
538 (struct timex): Update time comment.
539 (ADJ_SETOFFSET): Define.
540
541 2015-02-24 Joseph Myers <joseph@codesourcery.com>
542
543 [BZ #18019]
544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
545 2**56 not 2**28 as threshold for log (2x) formula.
546 * math/auto-libm-test-in: Add more tests of acosh.
547 * math/auto-libm-test-out: Regenerated.
548 * sysdeps/i386/fpu/libm-test-ulps: Update.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
550
551 2015-02-24 Mike Frysinger <vapier@gentoo.org>
552
553 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
554 parenthesis around the buf assignment.
555 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
556
557 2015-02-24 Joseph Myers <joseph@codesourcery.com>
558
559 [BZ #16783]
560 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
561 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
562 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
563 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
564 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
565 * math/libm-test.inc (scalb_test_data): Add more tests.
566
567 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
568
569 [BZ #17916]
570 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
571 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
572
573 2015-02-24 Eric Rannaud <e@nanocritical.com>
574
575 [BZ #17523]
576 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
577 * io/bits/fcntl2.h (open): Use it.
578 (openat): Likewise.
579 * io/open.c (__libc_open): Likewise.
580 * io/open64.c (__libc_open64): Likewise.
581 * io/open64_2.c (__open64_2): Likewise.
582 * io/open_2.c (__open_2): Likewise.
583 * io/openat.c (__openat): Likewise.
584 * io/openat64.c (__openat64): Likewise.
585 * io/openat64_2.c (__openat64_2): Likewise.
586 * io/openat_2.c (__openat_2): Likewise.
587 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
588 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
589 * sysdeps/posix/open64.c (__libc_open64): Likewise.
590 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
591 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
592 (__open_nocancel): Likewise.
593 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
594 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
595 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
596
597 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
598
599 [BZ #14841]
600 * resolv/gethnamaddr.c (getanswer): Skip logging if
601 RES_USE_DNSSEC is set.
602 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
603
604 2015-02-24 Mike Frysinger <vapier@gentoo.org>
605
606 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
607
608 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
609
610 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
611 201304L, for Unicode 7.
612
613 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
614
615 [BZ #17836]
616 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
617 shared library. Add gmon-start.os otherwise.
618 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
619 $(objpfx)gmon-start.os if builing shared library.
620 ($(objpfx)g$(static-start-installed-name)): Likewise.
621
622 2015-02-23 Andreas Schwab <schwab@suse.de>
623
624 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
625
626 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
627
628 [BZ #17269]
629 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
630 (enlarge_userbuf): Likewise.
631
632 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
633
634 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
635 * math/atest-exp.c (TIMEOUT): Adjust to 200.
636 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
637 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
638
639 2015-02-20 Joseph Myers <joseph@codesourcery.com>
640
641 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
642 expression inside statement expression.
643
644 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
645
646 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
647 <sysdeps/nptl/lowlevellock.h> and remove macros and
648 functions that are now defined there.
649 (SYS_futex): Remove.
650 (lll_compare_and_swap): Remove.
651 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
652
653 2015-02-19 Joseph Myers <joseph@codesourcery.com>
654
655 [BZ #17999]
656 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
657 instead of scandirat.
658 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
659 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
660 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
661 __scandirat.
662 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
663 (__scandirat): Declare. Use libc_hidden_proto.
664 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
665 Remove variable.
666 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
667
668 2015-02-18 Joseph Myers <joseph@codesourcery.com>
669
670 [BZ #15319]
671 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
672 (MO): New macro.
673 (__ieee754_atan2): For results with small absolute value, force
674 underflow exception and remove excess range and precision from
675 return value.
676 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
677 (MO): New macro.
678 (__ieee754_atan2f): For results with small absolute value, force
679 underflow exception and remove excess range and precision from
680 return value.
681 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
682 (MO): New macro.
683 (__atan): For results with small absolute value, force underflow
684 exception and remove excess range and precision from return value.
685 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
686 (MO): New macro.
687 (__atanf): For results with small absolute value, force underflow
688 exception and remove excess range and precision from return value.
689 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
690 <math.h>.
691 (__ieee754_atan2): Force underflow exception for results with
692 small absolute value.
693 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
694 <math_private.h>.
695 (atan): Force underflow exception for results with small absolute
696 value.
697 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
698 (__atanf): Force underflow exception for results with small
699 absolute value.
700 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
701 <math.h>.
702 (__atanl): Force underflow exception for results with small
703 absolute value.
704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
705 (__atanl): Force underflow exception for results with small
706 absolute value.
707 * sysdeps/x86/fpu/bits/mathinline.h
708 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
709 (__ieee754_atan2): Only define inline for long double.
710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
711 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
712 * math/auto-libm-test-in: Do not mark underflow exceptions as
713 possibly missing for bug 15319. Add more tests of atan2.
714 * math/auto-libm-test-out: Regenerated.
715 * math/libm-test.inc (casin_test_data): Do not mark underflow
716 exceptions as possibly missing for bug 15319.
717 (casinh_test_data): Likewise.
718 * sysdeps/i386/fpu/libm-test-ulps: Update.
719
720 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
721
722 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
723 * sysdeps/mips/bits/endian.h: Fix comments.
724
725 2015-02-18 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #17996]
728 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
729 (hdestroy_r): Likewise.
730 (hsearch_r): Likewise.
731 (__hcreate_r): Declare and use libc_hidden_proto.
732 (__hdestroy_r): Likewise.
733 (__hsearch_r): Likewise.
734 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
735 (hcreate): Call __hcreate_r instead of hcreate_r.
736 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
737 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
738 as weak alias of __hcreate_r.
739 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
740 __hdestroy_r.
741 (hsearch_r): Rename to __hsearch_r and define as weak alias of
742 __hsearch_r.
743 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
744 Remove variable.
745 (test-xfail-XPG4/search.h/linknamespace): Likewise.
746 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
747 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
748 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
749
750 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
751
752 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
753 arena_lock into a single arena_get.
754
755 2015-02-17 Carlos O'Donell <carlos@redhat.com>
756
757 * dl-reloc.c: Inlucde libc-internal.h.
758 (_dl_try_allocate_static_tls): Call ALIGN_UP.
759 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
760 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
761 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
762 (grow_heap): Likewise.
763 * malloc/malloc.c: Include libc-internal.h.
764 (do_check_malloc): Call powerof2.
765 (sysmalloc): Use pagesize. Call ALIGN_UP.
766 (systrim): Use pagesize.
767 (mremap_chunk): Use pagesize. Call ALIGN_UP.
768 (__libc_valloc): Use pagesize.
769 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
770
771 2015-02-17 Joseph Myers <joseph@codesourcery.com>
772
773 [BZ #17991]
774 * include/sys/resource.h (__getrlimit64): Declare. Use
775 libc_hidden_proto.
776 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
777 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
778 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
779 getrlimit64.
780 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
781 __getrlimit64.
782 [!getrlimit64] (getrlimit64): Define as weak alias of
783 __getrlimit64. Use libc_hidden_weak.
784 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
785 using __getrlimit64 not __new_getrlimit64.
786 (__GI_getrlimit64): Likewise.
787 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
788 Likewise.
789 (__GI_getrlimit64): Likewise.
790 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
792 (getrlimit): Add __getrlimit64 alias.
793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
794 Likewise.
795 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
796 Remove variable.
797 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
798 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
799
800 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
801
802 * libio/fileops.c: Add missing sys/mman.h
803 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
804
805 2015-02-17 Joseph Myers <joseph@codesourcery.com>
806
807 * manual/math.texi (Errors in Math Functions): Clarify goals
808 regarding inexact and underflow exceptions.
809
810 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
811
812 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
813 * sysdeps/mips/memset.S: Ditto.
814
815 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
816
817 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
818
819 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
820
821 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
822 (__v1longjmp): Remove versioned symbol.
823 (__v1siglongjmp): Remove alias and versioned symbol.
824 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
825 (__v2siglongjmp): Likewise.
826
827 2015-02-16 Torvald Riegel <triegel@redhat.com>
828
829 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
830
831 2015-02-16 Mike Frysinger <vapier@gentoo.org>
832
833 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
834
835 2015-02-16 Joseph Myers <joseph@codesourcery.com>
836
837 [BZ #17987]
838 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
839 zero result does not depend on the sign resulting from
840 subtraction.
841 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
842 Likewise.
843 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
844 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
845 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
846 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
847 * math/libm-test.inc (remquo_test_data): Add more tests.
848
849 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
850
851 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
852 Problem reported by J William Piggott.
853
854 2015-02-16 Joseph Myers <joseph@codesourcery.com>
855
856 [BZ #17978]
857 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
858 products 4 * y and 2 * y where those would overflow.
859 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
860 Likewise.
861 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
862 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
863 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
864 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
865 * math/libm-test.inc (remquo_test_data): Add more tests.
866
867 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
868
869 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
870 [defined _COMPILING_NEWLIB].
871 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
872 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
873
874 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
875 [!defined __mips_isa_rev || __mips_isa_rev < 6].
876
877 2015-02-16 Torvald Riegel <triegel@redhat.com>
878
879 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
880 acquired.
881
882 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
883
884 [BZ #17792]
885 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
886 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
887 HOST_STACK_END_ADDR): Likewise.
888
889 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
890
891 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
892 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
893 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
894
895 2015-02-13 Roland McGrath <roland@hack.frob.com>
896
897 * sysdeps/generic/c++-types.data: New file.
898 * sysdeps/generic/ld.abilist: New file.
899 * sysdeps/generic/libBrokenLocale.abilist: New file.
900 * sysdeps/generic/libanl.abilist: New file.
901 * sysdeps/generic/libc.abilist: New file.
902 * sysdeps/generic/libcrypt.abilist: New file.
903 * sysdeps/generic/libdl.abilist: New file.
904 * sysdeps/generic/libm.abilist: New file.
905 * sysdeps/generic/libpthread.abilist: New file.
906 * sysdeps/generic/libresolv.abilist: New file.
907 * sysdeps/generic/librt.abilist: New file.
908
909 2015-02-13 Joseph Myers <joseph@codesourcery.com>
910
911 [BZ #17569]
912 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
913 Compute absolute value of x as modified by fmod, not original
914 value of x.
915 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
916 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
917 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
918 RUN_TEST_ffI_f1_mod8.
919 (remquo_test_data): Add more tests.
920
921 2015-02-13 Roland McGrath <roland@hack.frob.com>
922
923 * sysdeps/init_array/pt-crti.S: New file.
924
925 2015-02-13 Joseph Myers <joseph@codesourcery.com>
926
927 [BZ #17967]
928 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
929 __builtin_fmaf instead of relying on contraction of a * b + c.
930
931 2015-02-12 J William Piggott <elseifthen@gmx.com>
932
933 [BZ #17969]
934 * manual/time.texi: correct the zoneinfo path in the TZ Variable
935 node.
936
937 2015-02-12 Joseph Myers <joseph@codesourcery.com>
938
939 [BZ #17964]
940 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
941 __builtin_fma instead of relying on contraction of a * b + c.
942
943 2015-02-12 Roland McGrath <roland@hack.frob.com>
944
945 * Makeconfig (ASFLAGS): Add -Werror=undef.
946 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
947 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
948 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
949
950 * Makeconfig (after-link): New variable.
951 (+link-pie, +link-pie-tests): Use it.
952 (+link-static, +link-static-tests): Likewise.
953 (+link, +link-tests): Likewise.
954 * Makerules (build-module, build-module-asneeded): Likewise.
955 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
956 Likewise.
957 * elf/Makefile ($(objpfx)ld.so): Likewise.
958
959 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
960
961 [BZ #17965]
962 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
963 both struct timeval and struct timespec.
964
965 2015-02-12 Joseph Myers <joseph@codesourcery.com>
966
967 [BZ #16560]
968 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
969 and redefine.
970 (__ieee754_exp2l): Do not multiply small fractional parts by
971 M_LN2l.
972 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
973 small argument.
974 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
975 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
976 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
977 * math/auto-libm-test-in: Add more tests of exp2.
978 * math/auto-libm-test-out: Regenerated.
979
980 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
981
982 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
983 unaligned path.
984
985 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
987 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
988 little endian.
989
990 2015-02-12 Andreas Schwab <schwab@suse.de>
991
992 [BZ #15790]
993 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
994 Filter out elision flags from value returned in kind.
995 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
996 * nptl/tst-pthread-mutexattr.c: New file.
997
998 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
999
1000 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1001 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1002 into gnu-gnu, and update comment to refer to abi-tags.
1003
1004 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1005
1006 [BZ #15467]
1007 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1008 (__sincos): Set errno to EDOM for infinite argument.
1009 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1010 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1011 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1012 (__sincosl): Set errno to EDOM for infinite argument.
1013 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1014 (__sincosl): Set errno to EDOM for infinite argument.
1015 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1016 (__sincosl): Set errno to EDOM for infinite argument.
1017 * math/libm-test.inc (sincos_test_data): Test errno setting.
1018
1019 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1020
1021 * string/strxfrm_l.c: Remove #define STRCMP.
1022 * string/strcoll_l.c: Remove #define STRLEN.
1023 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1024 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1025
1026 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1027
1028 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1029 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1030 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1031 * sysdeps/mips/mips64/Makefile: ... here.
1032 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1033 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1034 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1035 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1036 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1037 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1038 * sysdeps/mips/mips64/n64/Implies: Likewise.
1039
1040 2015-02-10 Roland McGrath <roland@hack.frob.com>
1041
1042 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1043 <sys/time.h>, <string.h>, and <errno.h>.
1044 (dest_offset, dest_address, value, zero): Remove unused variables.
1045 (ldouble): Remove typedef.
1046 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1047 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1048 1). Fix code style.
1049 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1050 (check): Function removed.
1051 (CHECK): New macro.
1052 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1053 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1054 Don't call set_sigaction_FP and remove_sigaction_FP here.
1055 (ldouble_test): Just use 'long double' as macro argument, no need for
1056 the 'ldouble' typedef.
1057 (do_test): Set up SIGFPE handler at start, using plain signal rather
1058 than sigaction. Fix code style.
1059
1060 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1061
1062 [BZ #17949]
1063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1064 jump label.
1065
1066 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1067
1068 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1069 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1070
1071 * sysdeps/powerpc/configure.ac: Remove file.
1072 * sysdeps/powerpc/configure: Likewise.
1073
1074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1075 [sysdep_routines]: Remove wordcopy-power6 object.
1076 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1077 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1078 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1079 (__memmove_ppc32): Likewise.
1080 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1081 file.
1082 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1083 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1084 Remove preprocessor.
1085
1086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1087 [sysdep_routines]: Remove wide chars objects.
1088 [wcsmbs]: New rule for wide char objects.
1089
1090 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1091 Remove wordcopy-power6 obejct.
1092 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1093 Use local call for wordcopy and memcpy symbols.
1094 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1095 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1096 implementation for loader.
1097 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1098
1099 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1100 Remove wordcopy-power7 object.
1101 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1102 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1103 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1104 (_wordcopy_fwd_dest_aligned): Likewise.
1105 (_wordcopy_bwd_aligned): Likewise.
1106 (_wordcopy_bwd_dest_aligned): Likewise.
1107
1108 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1109 Rewrite to call __memmove_ppc instead of include default
1110 implementation.
1111
1112 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1113 Remove wide chars objects.
1114 [wcsmbs]: New rule for wide char objects.
1115
1116 2015-02-09 Andreas Schwab <schwab@suse.de>
1117
1118 [BZ #17912]
1119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1120 in terms of __O_DIRECTORY.
1121
1122 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1123
1124 * time/getdate.c: Include <stdbool.h>.
1125 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1126 call PTR_MANGLE.
1127 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1128 PTR_DEMANGLE.
1129
1130 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1131
1132 Add ersatz _Static_assert on older C hosts
1133 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1134 pre-C11 C platform that is not known to support _Static_assert.
1135
1136 2015-02-07 Richard Braun <rbraun@sceen.net>
1137
1138 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1139 sigstate.
1140 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1141
1142 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1143
1144 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1145 priority against unexistent AIO_PRIO_DELTA_MAX.
1146 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1147 instead of int.
1148 * misc/fchflags.c (fchflags): Likewise.
1149 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1150 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1151 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1152 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1153 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1154 Declare macros.
1155 [__USE_MISC] (chflags, fchflags): Declare functions.
1156 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1157 EINVAL when nfds is greater than FD_SETSIZE.
1158 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1159 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1160 45.
1161 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1162 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1163 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1164 MACH_RCV_TIMED_OUT.
1165 * hurd/hurd/signal.h (_hurd_self_sigstate,
1166 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1167 Explicit casts from void *.
1168 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1169 * abi-tags: Rename gnu-gnu os into gnu.
1170
1171 [BZ #4719]
1172 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1173 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1174 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1175 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1176 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1177 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1178
1179 [BZ #17944]
1180 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1181 duplicates ADDR->sun_path with sockaddr LEN limitation.
1182 * sysdeps/mach/hurd/connect.c: Include <string.h>
1183 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1184 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1185 * sysdeps/mach/hurd/sendto.c: Likewise.
1186 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1187 implementing it by hand.
1188
1189 2015-02-06 Roland McGrath <roland@hack.frob.com>
1190
1191 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1192 Use sfi_breg on ldr.
1193 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1194 Likewise.
1195
1196 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1197 it's defined.
1198 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1199 Test SIGSETXID only if it's defined.
1200
1201 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1202
1203 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1204 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1205
1206 * nptl/tst-align2.c: Moved ...
1207 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1208 * nptl/Makefile (tests): Remove tst-align2.
1209 * sysdeps/unix/sysv/linux/Makefile
1210 [$(subdir) = nptl] (tests): Add tst-align-clone.
1211 * nptl/tst-getpid1.c: Moved ...
1212 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1213 * nptl/tst-getpid2.c: Moved ...
1214 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1215 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1216 * sysdeps/unix/sysv/linux/Makefile
1217 [$(subdir) = nptl] (tests): ... here.
1218 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1219 * sysdeps/unix/sysv/linux/Makefile
1220 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1221
1222 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1223 Drop trailing \n from perror argument. Use return rather than exit.
1224
1225 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1226 on [SA_SIGINFO].
1227 * nptl/tst-cancel21.c (do_test): Likewise.
1228 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1229 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1230 [!SA_SIGINFO]: Make it a stub test.
1231
1232 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1233 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1234
1235 * posix/tst-getlogin.c: Move to ...
1236 * login/tst-getlogin.c: ... here.
1237 * posix/Makefile (tests): Move tst-getlogin to ...
1238 * login/Makefile (tests): ... here.
1239
1240 * libio/tst-atime.c (do_test): Move local variables SV and E
1241 inside [ST_NOATIME] conditional.
1242
1243 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1244
1245 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1246
1247 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1248 (wait_code): New function replaces macro.
1249 Call nanosleep rather than syscall.
1250
1251 * nptl/pt-system.c: Rewritten. Put everything under
1252 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1253 Use IFUNC to redirect when possible.
1254
1255 * nptl/pt-longjmp.c: Rewritten. Put everything under
1256 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1257 Use IFUNC to redirect when possible.
1258
1259 * nptl/pt-fork.c: Rewritten. Put everything under
1260 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1261 Use IFUNC to redirect when possible.
1262 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1263
1264 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1265 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1266 unconditionally nowadays. This included the only reference to
1267 __vdso_clock_gettime that appears outside libc proper.
1268 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1269 Remove version set (containing only __vdso_clock_gettime).
1270 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1271 Add attribute_hidden.
1272 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1273 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1274 libc_hidden_data_def.
1275 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1276 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1277
1278 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1279 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1280 setrpcent, and getrpcport to ...
1281 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1282 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1283 getrpcbynumber_r, and getrpcent_r to ...
1284 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1285 * inet/getrpcbyname.c: Moved ...
1286 * sunrpc/getrpcbyname.c: ... here.
1287 * inet/getrpcbyname_r.c: Moved ...
1288 * sunrpc/getrpcbyname_r.c: ... here.
1289 * inet/getrpcbynumber.c: Moved ...
1290 * sunrpc/getrpcbynumber.c: ... here.
1291 * inet/getrpcbynumber_r.c: Moved ...
1292 * sunrpc/getrpcbynumber_r.c: ... here.
1293 * inet/getrpcent.c: Moved ...
1294 * sunrpc/getrpcent.c: ... here.
1295 * inet/getrpcent_r.c: Moved ...
1296 * sunrpc/getrpcent_r.c: ... here.
1297 * inet/Makefile (routines): Move those to ...
1298 * sunrpc/Makefile (routines): ... here.
1299 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1300 the $(subdirs) list.
1301 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1302 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1303 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1304 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1305
1306 * elf/Makefile (routines): Include $(all-dl-routines), not just
1307 $(dl-routines).
1308 (rtld-routines): Likewise. Use = rather than :=.
1309 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1310 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1311 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1312 * sysdeps/arm/Makefile: Likewise.
1313 * sysdeps/i386/Makefile: Likewise.
1314 * sysdeps/x86_64/Makefile: Likewise.
1315 * sysdeps/hppa/Makefile [$(subdir) = elf]
1316 (sysdep_routines, sysdep-rtld-routines): Don't add
1317 $(sysdep-dl-routines) to these.
1318 * sysdeps/ia64/Makefile: Likewise.
1319 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1320 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1321 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1322 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1323 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1324 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1325 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1326 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1327 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1328 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1329 these; sysdep-dl-routines alone is enough.
1330
1331 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1332
1333 [BZ #17932]
1334 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1335 where multiplication results in zero and third argument is finite
1336 and nonzero.
1337 * math/auto-libm-test-in: Add more tests of fma.
1338 * math/auto-libm-test-out: Regenerated.
1339
1340 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1341 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1342 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1343 (_FP_CMP_EQ): Likewise.
1344 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1345
1346 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1347 extra argument CHECK_NAN. Redefine as wrapper around
1348 _FP_EXTEND_CNAN.
1349
1350 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1351
1352 * version.h (RELEASE): Set to "stable".
1353 (VERSION): Set to "2.21"
1354 * include/features.h (__GLIBC_MINOR__): Set to 21.
1355
1356 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1357
1358 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1359 Paul Eggert <eggert@cs.ucla.edu>
1360
1361 [BZ #16618]
1362 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1363 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1364 size in bytes. Store needed elements in wpmax. Use needed size
1365 in bytes for extend_alloca.
1366
1367 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1368
1369 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1370 binutls 2.25, and texinfo 5.2.
1371 * INSTALL: Regenerate.
1372 * sysdeps/nios2/configure: Regenerate.
1373 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1374 * manual/contrib.texi: Update.
1375 * po/be.po: Update.
1376 * po/bg.po: Update.
1377 * po/ca.po: Update.
1378 * po/cs.po: Update.
1379 * po/da.po: Update.
1380 * po/de.po: Update.
1381 * po/el.po: Update.
1382 * po/eo.po: Update.
1383 * po/es.po: Update.
1384 * po/fi.po: Update.
1385 * po/fr.po: Update.
1386 * po/gl.po: Update.
1387 * po/hr.po: Update.
1388 * po/hu.po: Update.
1389 * po/ia.po: Update.
1390 * po/id.po: Update.
1391 * po/it.po: Update.
1392 * po/ja.po: Update.
1393 * po/ko.po: Update.
1394 * po/lt.po: Update.
1395 * po/nb.po: Update.
1396 * po/nl.po: Update.
1397 * po/pl.po: Update.
1398 * po/pt_BR.po: Update.
1399 * po/ru.po: Update.
1400 * po/rw.po: Update.
1401 * po/sk.po: Update.
1402 * po/sl.po: Update.
1403 * po/sv.po: Update.
1404 * po/tr.po: Update.
1405 * po/uk.po: Update.
1406 * po/vi.po: Update.
1407 * po/zh_CN.po: Update.
1408 * po/zh_TW.po: Update.
1409
1410 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1411 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1412 * sysdeps/hppa/dl-irel.h: Remove #warning.
1413 * sysdeps/hppa/entry.h: Provide prototype for
1414 __canonicalize_funcptr_for_compare and cast argument.
1415 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1416 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1417 * sysdeps/hppa/sotruss-lib.c: New file.
1418 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1419 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1420 (atomic_compare_and_exchange_bool_acq): Likewise.
1421 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1422 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1423
1424 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1425 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1426 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1427
1428 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1429
1430 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1431 called function in non-PIC case.
1432
1433 2015-01-31 David S. Miller <davem@davemloft.net>
1434
1435 * sysdeps/sparc/sparc32/bits/atomic.h
1436 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1437 unlock not after it.
1438 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1439 volatile register usage warnings from the compiler.
1440
1441 * sysdeps/sparc/nptl/sem_init.c: Delete.
1442 * sysdeps/sparc/nptl/sem_post.c: Delete.
1443 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1444 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1445 * sysdeps/sparc/sparc32/sem_init.c: New file.
1446 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1447 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1448 padding explicitly initialized.
1449 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1450 padding for in-semaphore spinlock.
1451 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1452 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1453 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1454 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1455 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1456 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1457 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1458 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1459 version.
1460 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1461 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1462
1463 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 [BZ #17801]
1466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1467 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1468 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1469 New.
1470 (index_AVX_Fast_Unaligned_Load): Likewise.
1471 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1472 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1473 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1474 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1475 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1476 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1477 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1478 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1479 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1480
1481 2015-01-29 Andreas Schwab <schwab@suse.de>
1482
1483 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1484
1485 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1486
1487 [BZ #17892]
1488 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1489
1490 2015-01-28 Martin Sebor <msebor@redhat.com>
1491
1492 * math/README.libm-test: Clarify. Add "How to read the test output."
1493
1494 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1495
1496 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1497 Define to 0.
1498
1499 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1500
1501 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1502 (__HAVE_64B_ATOMICS): Define to 0.
1503
1504 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1505
1506 [BZ #17885]
1507 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1508 value to set as new flag.
1509
1510 [BZ #16576]
1511 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1512 and use _ARCH_PPCSQ instead.
1513 (__ieee754_sqrt): Likewise.
1514 (__ieee754_sqrtf): Likewise.
1515 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1516 _ARCH_PPCSQ is defined.
1517 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1518 fsqrt instruction.
1519 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1520 _ARCH_PPCSQ is defined.
1521 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1522 fsqrts instruction.
1523 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1524
1525 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1526
1527 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1528 bug (GCC BZ #64739).
1529
1530 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1531
1532 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1533 Mark _retval as used.
1534 (lll_futex_wake_unlock): Likewise.
1535 (lll_futex_timed_wait_requeue_pi): Likewise.
1536
1537 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1538 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1539 register variables.
1540
1541 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1542 libm_hidden_def.
1543
1544 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1545 (__bswap_64): Mark as __always_inline.
1546
1547 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1548
1549 [BZ #15378]
1550 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1551 when none of the search directories exist.
1552
1553 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1554
1555 [BZ #17869]
1556 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1557 power8 in .machine directive.
1558
1559 [BZ #17868]
1560 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1561 set dependency from opd value.
1562
1563 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1564
1565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1566 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1567 architecture.
1568
1569 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 [BZ #17870]
1572 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1573 with uint64_t.
1574 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1575 (uint64_t) 1.
1576 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1577 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1578 Replace 1UL with (uint64_t) 1.
1579 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1580 int with uint64_t.
1581
1582 2015-01-23 Roland McGrath <roland@hack.frob.com>
1583
1584 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1585 (if_freenameindex): Likewise.
1586
1587 * resource/getrlimit64.c: Add missing libc_hidden_def.
1588
1589 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1590
1591 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1592 __label__.
1593 (_FP_FMA): Likewise.
1594 (_FP_TO_INT_ROUND): Likewise.
1595 (_FP_FROM_INT): Likewise.
1596
1597 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598
1599 [BZ #16418]
1600 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1601 Make code racy and cancel safe.
1602
1603 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1604
1605 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1606 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1607 attribution.
1608
1609 * pwd/tst-getpw.c: Rewrite.
1610
1611 [BZ #17702]
1612 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1613 (modules-names): Add moddummy1 and moddummy2.
1614 ($(objpfx)tst-rec-dlopen): Define.
1615 * dlfcn/moddummy1.c: New file.
1616 * dlfcn/moddummy2.c: New file.
1617 * dlfcn/tst-rec-dlopen.c: New file.
1618 * elf/dl-cache.c (_dl_load_cache_lookup):
1619 Return char*. Copy result with alloca/strcpy/strdup.
1620 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1621 returns char*. Free cached. If not saving realname
1622 free cached.
1623 * elf/dl-open.c (dl_open_worker): Do not assert that
1624 _r_debug->r_state is RT_CONSISTENT.
1625 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1626 returns char*.
1627
1628 2015-01-21 Torvald Riegel <triegel@redhat.com>
1629 Carlos O'Donell <carlos@redhat.com>
1630
1631 [BZ #12674]
1632 * nptl/sem_waitcommon.c: New file.
1633 * nptl/sem_wait.c: Include sem_waitcommon.c.
1634 (__sem_wait_cleanup, do_futex_wait): Remove.
1635 (__new_sem_wait): Adapt.
1636 (__new_sem_trywait): New function.
1637 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1638 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1639 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1640 (sem_timedwait): Adapt.
1641 * nptl/sem_post.c (__new_sem_post): Adapt.
1642 (futex_wake): New function.
1643 (__old_sem_post): Add release MO fence.
1644 * nptl/sem_open.c (sem_open): Adapt.
1645 * nptl/sem_init.c (__new_sem_init): Adapt.
1646 (futex_private_if_supported): New function.
1647 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1648 (__old_sem_getvalue): Add using previous code.
1649 * sysdeps/nptl/internaltypes.h: Adapt.
1650 * nptl/tst-sem13.c (do_test): Adapt.
1651 * nptl/tst-sem11.c (main): Adapt.
1652 * nptl/sem_trywait.c: Remove.
1653 * nptl/DESIGN-sem.txt: Remove.
1654 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1655 (gen-as-const-headers): Remove structsem.sym.
1656 * nptl/structsem.sym: Remove.
1657 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1658 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1659 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1660 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1661 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1662 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1663 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1664 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1665 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1666 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1667 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1668 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1669 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1670 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1671 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1672 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1673 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1674 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1675 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1676 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1677 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1678 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1679
1680 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1681
1682 * INSTALL: Regenerated.
1683
1684 * po/libc.pot: Regenerated.
1685
1686 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1687 Sandra Loosemore <sandra@codesourcery.com>
1688 Andrew Jenner <andrew@codesourcery.com>
1689 Joseph Myers <joseph@codesourcery.com>
1690 Nathan Sidwell <nathan@codesourcery.com>
1691
1692 * NEWS: Mention new Nios II port.
1693 * sysdeps/nios2/Implies: New file.
1694 * sysdeps/nios2/Makefile: New file.
1695 * sysdeps/nios2/Subdirs: New file.
1696 * sysdeps/nios2/Versions: New file.
1697 * sysdeps/nios2/__longjmp.S: New file.
1698 * sysdeps/nios2/abort-instr.h: New file.
1699 * sysdeps/nios2/backtrace.c: New file.
1700 * sysdeps/nios2/bits/endian.h: New file.
1701 * sysdeps/nios2/bits/fenv.h: New file.
1702 * sysdeps/nios2/bits/link.h: New file.
1703 * sysdeps/nios2/bits/setjmp.h: New file.
1704 * sysdeps/nios2/bsd-_setjmp.S: New file.
1705 * sysdeps/nios2/bsd-setjmp.S: New file.
1706 * sysdeps/nios2/configure: New generated file.
1707 * sysdeps/nios2/configure.ac: New file.
1708 * sysdeps/nios2/crti.S: New file.
1709 * sysdeps/nios2/crtn.S: New file.
1710 * sysdeps/nios2/dl-init.c: New file.
1711 * sysdeps/nios2/dl-machine.h: New file.
1712 * sysdeps/nios2/dl-sysdep.h: New file.
1713 * sysdeps/nios2/dl-tls.h: New file.
1714 * sysdeps/nios2/dl-trampoline.S: New file.
1715 * sysdeps/nios2/gccframe.h: New file.
1716 * sysdeps/nios2/gmp-mparam.h: New file.
1717 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1718 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1719 * sysdeps/nios2/ldsodefs.h: New file.
1720 * sysdeps/nios2/libc-tls.c: New file.
1721 * sysdeps/nios2/libm-test-ulps: New file.
1722 * sysdeps/nios2/machine-gmon.h: New file.
1723 * sysdeps/nios2/math-tests.h: New file.
1724 * sysdeps/nios2/math_private.h: New file.
1725 * sysdeps/nios2/memusage.h: New file.
1726 * sysdeps/nios2/nptl/Makefile: New file.
1727 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1728 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1729 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1730 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1731 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1732 * sysdeps/nios2/nptl/tls.h: New file.
1733 * sysdeps/nios2/preconfigure: New file.
1734 * sysdeps/nios2/s_fma.c: New file.
1735 * sysdeps/nios2/s_fmaf.c: New file.
1736 * sysdeps/nios2/setjmp.S: New file.
1737 * sysdeps/nios2/sfp-machine.h: New file.
1738 * sysdeps/nios2/sotruss-lib.c: New file.
1739 * sysdeps/nios2/stackguard-macros.h: New file.
1740 * sysdeps/nios2/stackinfo.h: New file.
1741 * sysdeps/nios2/start.S: New file.
1742 * sysdeps/nios2/sysdep.h: New file.
1743 * sysdeps/nios2/tls-macros.h: New file.
1744 * sysdeps/nios2/tst-audit.h: New file.
1745 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1746 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1747 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1748 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1749 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1750 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1751 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1752 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1753 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1754 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1755 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1756 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1757 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1758 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1759 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1760 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1761 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1762 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1763 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1764 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1765 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1766 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1767 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1768 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1769 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1770 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1771 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1772 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1773 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1774 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1775 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1776 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1777 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1778 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1779 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1780 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1781 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1782 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1783 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1784 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1785 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1786 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1787 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1788 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1789
1790 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1791
1792 [BZ #17844]
1793 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1794 (getutent): Use weak_alias in non SHARED case
1795 and default_symbol_version in SHARED case.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1797 (getutent_r, pututline): Likewise.
1798 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1799 (getutid): Likewise.
1800 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1801 (getutid_r): Likewise.
1802 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1803 (getutline): Likewise.
1804 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1805 (getutline_r): Likewise.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1807 (updwtmp): Likewise.
1808
1809 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1810
1811 [BZ #17848]
1812 * sysdeps/s390/s390-32/memcmp.S
1813 (memcmp_g5): Rename to __memcmp_g5.
1814 * sysdeps/s390/s390-32/memcpy.S
1815 (memcpy_g5): Rename to __memcpy_g5.
1816 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1817 (memcpy_mvcle) Rename to __memcpy_mvcle.
1818 * sysdeps/s390/s390-32/memset.S
1819 (memset_g5): Rename to __memset_g5.
1820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1821 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1822 and use prefixed functions.
1823 * sysdeps/s390/s390-32/multiarch/memcmp.S
1824 (memcmp_z196): Rename to __memcmp_z196.
1825 (memcmp_z10): Rename to __memcmp_z10.
1826 (memcmp): Set alias to __memcmp_g5.
1827 (bcmp): Set alias to __memcmp_g5.
1828 * sysdeps/s390/s390-32/multiarch/memcpy.S
1829 (memcpy_z196): Rename to __memcpy_z196.
1830 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1831 (memcpy_z10): Rename to __memcpy_z10.
1832 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1833 (memcpy): Set alias to __memcpy_g5.
1834 * sysdeps/s390/s390-32/multiarch/memset.S
1835 (memset_z196): Rename to __memset_z196.
1836 Jump to __memset_mvcle instead of memset_mvcle.
1837 (memset_z10): Rename to __memset_z10.
1838 Jump to __memset_mvcle instead of memset_mvcle.
1839 (memset_mvcle) Rename to __memset_mvcle.
1840 (memset): Set alias to __memset_g5.
1841 * sysdeps/s390/s390-64/memcmp.S
1842 (memcmp_z900): Rename to __memcmp_z900.
1843 * sysdeps/s390/s390-64/memcpy.S
1844 (memcpy_z900): Rename to __memcpy_z900.
1845 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1846 (memcpy_mvcle) Rename to __memcpy_mvcle.
1847 * sysdeps/s390/s390-64/memset.S
1848 (memset_z900): Rename to __memset_z900.
1849 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1850 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1851 and use prefixed functions.
1852 * sysdeps/s390/s390-64/multiarch/memcmp.S
1853 (memcmp_z196): Rename to __memcmp_z196.
1854 (memcmp_z10): Rename to __memcmp_z10.
1855 (memcmp): Set alias to __memcmp_z900.
1856 (bcmp): Set alias to __memcmp_z900.
1857 * sysdeps/s390/s390-64/multiarch/memcpy.S
1858 (memcpy_z196): Rename to __memcpy_z196.
1859 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1860 (memcpy_z10): Rename to __memcpy_z10.
1861 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1862 (memcpy): Set alias to __memcpy_z900.
1863 * sysdeps/s390/s390-64/multiarch/memset.S
1864 (memset_z196): Rename to __memset_z196.
1865 Jump to __memset_mvcle instead of memset_mvcle.
1866 (memset_z10): Rename to __memset_z10.
1867 Jump to __memset_mvcle instead of memset_mvcle.
1868 (memset_mvcle) Rename to __memset_mvcle.
1869 (memset): Set alias to __memset_z900.
1870
1871 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1872
1873 [BZ #17748]
1874 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1875 __fesetenv instead of fesetenv.
1876
1877 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1878
1879 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1880 macro.
1881
1882 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883
1884 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1885 regression on LE.
1886
1887 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1888 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1889 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1890 strncmp-power8 object.
1891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1892 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1893 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1894 * NEWS: Update.
1895
1896 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1897 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898
1899 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1900 trailing byte check.
1901
1902 2015-01-13 David S. Miller <davem@davemloft.net>
1903
1904 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1905
1906 2015-01-13 Roland McGrath <roland@hack.frob.com>
1907
1908 * login/logout.c (logout): Use memset rather than bzero.
1909 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1910 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1911 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1912 (_gethtbyaddr): Likewise.
1913 * locale/programs/simple-hash.c (bcopy): Macro removed.
1914
1915 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1916
1917 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1918 Add strcmp-power8 object.
1919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1920 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1921 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1922 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1923 __strcmp_power8 implementation.
1924 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1925 * NEWS: Update.
1926
1927 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1928 Add strncpy-power8 and stpncpy-power8 objects.
1929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1930 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1931 implementations.
1932 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1933 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1934 __stpncpy_power8 implementation.
1935 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1936 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1937 __strncpy_power8 implementation.
1938 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1939 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1940 * NEWS: Update.
1941
1942 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1943 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1944 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1945
1946 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1947 strncat-power8 object.
1948 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1949 __strcat_power8 implementation.
1950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1951 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1952 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1953 optimized strcat for power8.
1954
1955 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1956 strcpy-power8 and stpcpy-power8 objects.
1957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1958 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1959 implementations.
1960 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1961 multiarch stpcpy implementation for POWER8.
1962 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1963 multiarch strcpy implementation for POWER8.
1964 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1965 __strcpy_power8 function.
1966 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1967 stpcpy for POWER8.
1968 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1969 strcpy for POWER8.
1970 * NEWS: Update.
1971
1972 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
1973
1974 [BZ #16009]
1975 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1976 weights and rules. Use do_xfrm_cached if data fits in cache,
1977 do_xfrm otherwise. Moved former main loop to...
1978 * (do_xfrm_cached): New function.
1979 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1980 find_idx, find_position and stack_push.
1981 * (find_idx): New function.
1982 * (find_position): Likewise.
1983 * localedata/sort-test.sh: Added test run for do_xfrm.
1984 * localedata/xfrm-test.c (main): Added command line option
1985 -nocache to run the test with strings that are too large for
1986 the STRXFRM cache.
1987
1988 2015-01-13 Torvald Riegel <triegel@redhat.com>
1989
1990 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1991 variable to lll_futex_wake call, not the value itself.
1992
1993 2015-01-12 Joseph Myers <joseph@codesourcery.com>
1994
1995 [BZ #17803]
1996 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1997 twom64. Adjust value to 0x1p-64L.
1998 (__scalblnl): Only return standard underflowing result for K <=
1999 -64 not K <= -63; adjust exponent for underflowing result by 64
2000 not 63.
2001 * math/libm-test.inc (scalbn_test_data): Add more tests.
2002 (scalbln_test_data): Likewise.
2003
2004 [BZ #17834]
2005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2006 0x1p63L.
2007 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2008 not HX.
2009 * math/libm-test.inc (scalbn_test_data): Add more tests.
2010 (scalbln_test_data): Likewise.
2011
2012 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013 Stefani Seibold <stefani@seibold.net>
2014
2015 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2016 (sysdep_routines): Add dl-vdso here, ...
2017 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2018 (sysdep_routines): ... not here.
2019 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2020 fallback when vDSO is not presented.
2021 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2022 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2023 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2024 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2025 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2026 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2027 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2029 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2031 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2032 fallback configurable symbol when vDSO is not available.
2033 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2034 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2035 be able to redefine fallback symbol when vDSO is not available.
2036 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2037 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2038
2039 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040
2041 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2042 (TLS_INIT_TP): Add tm_capable initialization.
2043 (TLS_DEFINE_INIT_TP): Likewise.
2044 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2045 TCB.
2046 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2047 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2048 calculation.
2049 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2050 transactoion is lock elision is built and TCB tm_capable is set.
2051 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2053 (INTERNAL_SYSCALL_NCS): Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2055 (INTERNAL_SYSCALL_NCS): Likewise.
2056 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2057
2058 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2059 for powerpc.
2060 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2061 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2062 and remove it for 32 bits case.
2063 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2065 initialization.
2066 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2067 Disable lock elision with rdlocks if elision is not available.
2068
2069 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2070 (sysdep_routines): Add lock elision objects.
2071 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2072 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2073 [pthread_mutex_t] (__elision): Add field.
2074 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2075 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2076 elision definitions for powerpc.
2077 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2078 implementation of lock elision for powerpc.
2079 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2080 implementation of timed lock elision for powerpc.
2081 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2082 implementation of trylock with lock elision for powerpc.
2083 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2084 implementaion of unlock for lock elision for powerpc.
2085 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2086 automatic enable lock elision for mutexes.
2087 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2088 transaction execution definitions for powerpc.
2089 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2090 definitions.
2091 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2092 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2093 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2094 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2095 * NEWS: Update.
2096
2097 2015-01-09 Roland McGrath <roland@hack.frob.com>
2098
2099 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2100 for #include of <shm-directory.h>.
2101
2102 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2103
2104 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2105 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2106
2107 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2108
2109 [BZ #17791]
2110 * NEWS: Mention bug fix.
2111 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2112 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2113 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2114
2115 2015-01-09 Torvald Riegel <triegel@redhat.com>
2116
2117 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2118
2119 2015-01-09 Torvald Riegel <triegel@redhat.com>
2120
2121 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2122
2123 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2124
2125 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2126 pointer and cast to uintptr_t.
2127
2128 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2129
2130 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2131 removed.
2132 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2133
2134 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2135
2136 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2137 of 0.
2138
2139 2015-01-08 Roland McGrath <roland@hack.frob.com>
2140
2141 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2142 <nptl/pthreadP.h> instead.
2143 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2144
2145 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2146 already defined.
2147 [__SIGRTMIN] (init): Function removed.
2148 [__SIGRTMIN] (initialized): Variable removed.
2149 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2150 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2151 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2152 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2153 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2154 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2155 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2156 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2157 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2158 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2159 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2160 * sysdeps/nptl/allocrtsig.c: New file.
2161 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2162 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2163 * sysdeps/generic/testrtsig.h: File removed.
2164
2165 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2166 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2167
2168 * nptl/nptl-init.c (pthread_functions): Conditionalize
2169 .ptr__nptl_setxid initialization on [SIGSETXID].
2170
2171 * sysdeps/nptl/sys/procfs.h: New file.
2172 * nptl_db/Makefile (headers): Add it.
2173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2174
2175 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2176 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2177 * nptl/pthread_attr_setaffinity.c: Include it.
2178 * nptl/pthread_setattr_default_np.c: Likewise.
2179 * nptl/check-cpuset.h: New file.
2180
2181 2015-01-08 Richard Henderson <rth@redhat.com>
2182
2183 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2184 (CFLAGS-tst-execstack-prog.c): Likewise.
2185 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2186
2187 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2188 Sandra Loosemore <sandra@codesourcery.com>
2189 Andrew Jenner <andrew@codesourcery.com>
2190 Joseph Myers <joseph@codesourcery.com>
2191 Nathan Sidwell <nathan@codesourcery.com>
2192
2193 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2194 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2195 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2196 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2197 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2198 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2199 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2200 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2201 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2202 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2203 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2204 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2205 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2206 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2207 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2208 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2209 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2210
2211 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212
2213 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2214 timespec struct member in syscall macro.
2215 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2216 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2217 first timeval struct member in syscall macro.
2218 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2219
2220 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2221
2222 [BZ #17748]
2223 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2224 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2225 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2226 __feupdateenv and define as weak alias of __feupdateenv. Use
2227 libm_hidden_weak.
2228 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2229 libm_hidden_def.
2230 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2231 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2232 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2233 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2234 libm_hidden_def.
2235 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2236 __feupdateenv and define as weak alias of __feupdateenv. Use
2237 libm_hidden_weak.
2238 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2239 libm_hidden_def.
2240 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2241 __feupdateenv and define as weak alias of __feupdateenv. Use
2242 libm_hidden_weak.
2243 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2244 libm_hidden_def.
2245 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2246 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2247 (__feupdateenv): Likewise.
2248 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2249 __feupdateenv and define as weak alias of __feupdateenv. Use
2250 libm_hidden_weak.
2251 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2252 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2253 libm_hidden_def.
2254 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2255 function.
2256 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2257 libm_hidden_def.
2258 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2259 __feupdateenv instead of feupdateenv.
2260 (default_libc_feupdateenv_test): Likewise.
2261 (libc_feresetround_ctx): Likewise.
2262
2263 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2264
2265 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2266 prototype.
2267
2268 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2269
2270 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2271 COLL_SYM in a couple of places to avoid uninitialized variable
2272 wanings on tilegx gcc 4.8.2.
2273
2274 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2275
2276 * sysdeps/aarch64/strcpy.S: New file.
2277 * sysdeps/aarch64/stpcpy.S: New file.
2278 * NEWS: Updated.
2279
2280 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2281
2282 * sysdeps/aarch64/strrchr.S: New file.
2283 * NEWS: Updated.
2284
2285 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2286
2287 [BZ #17658]
2288 * stdlib/setenv.c: Fix memory leak when setting large,
2289 duplicate string.
2290
2291 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2292
2293 [BZ #17273]
2294 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2295 and tabs from buffer before parsing fstab entry.
2296 * misc/tst-mntent.c (main): Add test for mount entry with
2297 trailing spaces and tabs.
2298
2299 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2300
2301 [BZ #17748]
2302 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2303 * math/fesetround.c (fesetround): Rename to __fesetround and
2304 define as weak alias of __fesetround. Use libm_hidden_weak.
2305 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2306 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2307 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2308 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2309 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2310 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2311 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2312 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2313 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2314 __fesetround_inline.
2315 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2316 __fesetround_inline instead of __fesetround.
2317 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2318 __fesetround and define as weak alias of __fesetround. Use
2319 libm_hidden_weak. Call __fesetround_inline instead of
2320 __fesetround.
2321 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2322 __fesetround and define as weak alias of __fesetround. Use
2323 libm_hidden_weak.
2324 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2325 Likewise.
2326 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2327 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2328 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2329 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2330 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2331 __fesetround and define as weak alias of __fesetround. Use
2332 libm_hidden_weak.
2333 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2334 __fesetround instead of fesetround.
2335 (default_libc_feholdexcept_setround): Likewise.
2336 (libc_feholdsetround_ctx): Likewise.
2337 (libc_feholdsetround_noex_ctx): Likewise.
2338
2339 [BZ #17748]
2340 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2341 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2342 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2343 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2344 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2345 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2346 define as weak alias of __fesetenv. Use libm_hidden_weak.
2347 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2348 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2349 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2350 define as weak alias of __fesetenv. Use libm_hidden_weak.
2351 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2352 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2353 define as weak alias of __fesetenv. Use libm_hidden_weak.
2354 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2355 libm_hidden_def.
2356 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2357 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2358 Likewise.
2359 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2360 define as weak alias of __fesetenv. Use libm_hidden_weak.
2361 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2362 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2363 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2364 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2365 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2366 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2367 __fesetenv instead of fesetenv.
2368 (libc_feresetround_noex_ctx): Likewise.
2369 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2370 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2371 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2372 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2373 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2374 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2375 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2376 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2377 (__feupdateenv): Likewise.
2378 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2379 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2380 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2381 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2382
2383 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2384
2385 [BZ #17806]
2386 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2387 addresses have been freed.
2388
2389 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2390
2391 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2392 and nservall.
2393
2394 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2395
2396 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2397 Clean up check_pf allocation pattern. addresses
2398
2399 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2400
2401 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2402 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2403 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2404 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2405 * nptl/pthread_join.c (pthread_join): Likewise.
2406 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2407 * sysdeps/posix/waitid.c (__waitid): Likewise.
2408 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2409 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2410 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2411 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2412 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2413 Likewise.
2414 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2415 (__libc_pread64): Likewise.
2416 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2417 (__libc_pwrite): Likewise.
2418 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2419 (__libc_pwrite64): Likewsie.
2420 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2421 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2422 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2423 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2424 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2425 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2426 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2428 Likewise.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2430 (__libc_pread64): Likewise.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2432 Likewise.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2434 (__libc_pwrite64): Likewise.
2435 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2436 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2437 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2438 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2439 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2440 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2441 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2442 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2443 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2444 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2445 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2446 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2447 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2448 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2449 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2451 Likewise.
2452
2453 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2454
2455 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2456 (CFLAGS-test-double.c): Likewise.
2457 (CFLAGS-test-ldouble.c): Likewise.
2458 (CPPFLAGS-test-ifloat.c): Likewise.
2459 (CPPFLAGS-test-idouble.c): Likewise.
2460 (CPPFLAGS-test-ildoubl.c): Likewise.
2461 (CFLAGS-test-test-fenv.c): Remove variable.
2462 (CFLAGS-test-misc.c): Likewise.
2463
2464 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2465
2466 [BZ #17797]
2467 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2468 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2469 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2470 CLOCKS_PER_SEC == 1000000.
2471 * time/clocktest.c (main): Replace %ld with %jd and cast to
2472 intmax_t.
2473
2474 2015-01-05 Roland McGrath <roland@hack.frob.com>
2475
2476 * sysdeps/generic/unwind-resume.h: New file.
2477 * sysdeps/gnu/unwind-resume.c: Include it.
2478 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2479 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2480 argument list.
2481 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2482 global rather than static.
2483 (_Unwind_Resume): Update user.
2484 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2485 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2486 rather than static. Add __attribute__ ((cold)).
2487 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2488 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2489 * sysdeps/arm/arm-unwind-resume.S: New file.
2490 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2491 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2492 * sysdeps/arm/Makefile [$(subdir) = csu]
2493 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2494 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2495 Add rt-arm-unwind-resume.
2496 [$(subdir) = nptl]
2497 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2498 Add pt-arm-unwind-resume.
2499 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2500 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2501
2502 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2503
2504 [BZ #17748]
2505 * include/fenv.h (__feholdexcept): Declare. Use
2506 libm_hidden_proto.
2507 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2508 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2509 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2510 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2511 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2512 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2513 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2514 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2515 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2516 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2517 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2518 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2519 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2520 (feholdexcept): Likewise.
2521 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2522 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2523 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2524 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2525 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2526 __feholdexcept instead of feholdexcept.
2527 (default_libc_feholdexcept_setround): Likewise.
2528
2529 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2530
2531 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2532 to avoid using stl/str to align destination.
2533
2534 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2535
2536 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2537
2538 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2539
2540 [BZ #17796]
2541 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2542 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2543 Define as weak alias not strong alias.
2544
2545 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2546
2547 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2548 bltzal with addiupc.
2549 (RTLD_START): Ditto.
2550
2551 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2552
2553 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2554 for __vdso_* functions in declarations.
2555 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2556 definitions.
2557 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2558 INTERNAL_VSYSCALL): Use struct return types to check for error.
2559
2560 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2561 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2562 function with cast from llround().
2563 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2564 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2565 Define.
2566
2567 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2568
2569 [BZ #17793]
2570 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2571 Define as weak alias not strong alias.
2572
2573 [BZ #17635]
2574 * ctype/ctype-c99.c: New file. isblank implementation moved from
2575 ...
2576 * ctype/ctype-extn.c: ... here.
2577 (__isblank_l): Move to ...
2578 * ctype/ctype-c99_l.c: ... here. New file.
2579 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2580 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2581 Remove variable.
2582 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2583 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2584 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2585 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2586 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2587
2588 [BZ #17777]
2589 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2590 (posix_fadvise64): Define as weak alias not strong alias.
2591 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2592 (posix_fallocate64): Likewise.
2593 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2594 Remove variable.
2595 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2596 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2597 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2598 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2599 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2600
2601 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2602
2603 [BZ #16191]
2604 * NEWS: Mention bug fix.
2605 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2606 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2607 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2608 (HOST_STACK_END_ADDR): Likewise.
2609
2610 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2611
2612 [BZ #17748]
2613 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2614 * math/fegetround.c (fegetround): Rename to __fegetround and
2615 define as weak alias of __fegetround. Use libm_hidden_weak.
2616 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2617 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2618 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2619 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2620 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2621 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2622 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2623 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2624 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2625 Undefine after rather than before function definition; use
2626 parentheses around function name in definition.
2627 (__fegetround): Also undefine macro after function definition.
2628 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2629 __fegetround and define as weak alias of __fegetround. Use
2630 libm_hidden_weak. Do not undefine as macro.
2631 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2632 Likewise.
2633 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2634 __fegetround and define as weak alias of __fegetround. Use
2635 libm_hidden_weak.
2636 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2637 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2638 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2639 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2640 __fegetround and define as weak alias of __fegetround. Use
2641 libm_hidden_weak.
2642 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2643 __fegetround instead of fegetround.
2644
2645 [BZ #17782]
2646 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2647 Condition macro definition on [__USE_MISC].
2648
2649 [BZ #17781]
2650 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2651 (struct sigaction): Change type of sa_flags field to int.
2652
2653 [BZ #17780]
2654 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2655 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2656 __glibc_reserved0.
2657
2658 * nptl/version.c (banner): Use single year in copyright notice.
2659
2660 * NEWS: Update copyright dates.
2661 * catgets/gencat.c (print_version): Likewise.
2662 * csu/version.c (banner): Likewise.
2663 * debug/catchsegv.sh: Likewise.
2664 * debug/pcprofiledump.c (print_version): Likewise.
2665 * debug/xtrace.sh (do_version): Likewise.
2666 * elf/ldconfig.c (print_version): Likewise.
2667 * elf/ldd.bash.in: Likewise.
2668 * elf/pldd.c (print_version): Likewise.
2669 * elf/sotruss.sh: Likewise.
2670 * elf/sprof.c (print_version): Likewise.
2671 * iconv/iconv_prog.c (print_version): Likewise.
2672 * iconv/iconvconfig.c (print_version): Likewise.
2673 * locale/programs/locale.c (print_version): Likewise.
2674 * locale/programs/localedef.c (print_version): Likewise.
2675 * login/programs/pt_chown.c (print_version): Likewise.
2676 * malloc/memusage.sh (do_version): Likewise.
2677 * malloc/memusagestat.c (print_version): Likewise.
2678 * malloc/mtrace.pl: Likewise.
2679 * manual/libc.texinfo: Likewise.
2680 * nptl/version.c (banner): Likewise.
2681 * nscd/nscd.c (print_version): Likewise.
2682 * nss/getent.c (print_version): Likewise.
2683 * nss/makedb.c (print_version): Likewise.
2684 * posix/getconf.c (main): Likewise.
2685 * scripts/test-installation.pl: Likewise.
2686 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2687
2688 2015-01-02 Will Newton <will.newton@linaro.org>
2689
2690 * sysdeps/arm/armv7/configure: Removed.
2691 * sysdeps/arm/armv7/configure.ac: Likewise.
2692
2693 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2694
2695 * All files with FSF copyright notices: Update copyright dates
2696 using scripts/update-copyrights.
2697 * intl/plural.c: Regenerated.
2698 * locale/programs/charmap-kw.h: Likewise.
2699 * locale/programs/locfile-kw.h: Likewise.
2700
2701 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2702
2703 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2704
2705 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2706
2707 [BZ #17748]
2708 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2709 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2710 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2711 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2712 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2713 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2714 define as weak alias of __fegetenv. Use libm_hidden_weak.
2715 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2716 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2717 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2718 define as weak alias of __fegetenv. Use libm_hidden_weak.
2719 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2720 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2721 define as weak alias of __fegetenv. Use libm_hidden_weak.
2722 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2723 libm_hidden_def.
2724 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2725 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2726 Likewise.
2727 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2728 define as weak alias of __fegetenv. Use libm_hidden_weak.
2729 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2730 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2731 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2732 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2733 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2734 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2735 __fegetenv instead of fegetenv.
2736 (libc_feholdsetround_noex_ctx): Likewise.
2737
2738 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2739
2740 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2741 (Elf_MIPS_ABIFlags_v0): New structure.
2742 (EF_MIPS_FP64): Define.
2743 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2744 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2745 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2746 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2747 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2748 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2749 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2750 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2751 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2752 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2753 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2754 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2755 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2756 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2757 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2758 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2759 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2760 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2761 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2762 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2763 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2764 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2765 field.
2766 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2767 EF_MIPS_FP64.
2768 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2769 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2770 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2771 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2772 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2773 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2774 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2775 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2776 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2777 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2778 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2779 record the current FP ABI extension.
2780 (mips-mode-switch): Define to show if kernel headers support mode
2781 switching.
2782 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2783 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2784 supported SYSV ABI version to 3.
2785 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2786 feature.
2787
2788 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2789 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2790
2791 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2792 path.
2793 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2794
2795 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2796
2797 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2798 __fegetround and redefine to call __fegetround. Remove condition
2799 on [!__NO_MATH_INLINES].
2800 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2801 function.
2802 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2803 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2804 Remove macro.
2805 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2806 instead of <fenv_libc.h>.
2807 (__llrintl): Call fegetround instead of __fegetround.
2808 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2809 instead of <fenv_libc.h>.
2810 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2811 (__lrintl): Call fegetround instead of __fegetround.
2812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2813 instead of <fenv_libc.h>.
2814 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2815 (__rintl): Call fegetround instead of __fegetround.
2816
2817 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2818
2819 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2820 arrays.
2821
2822 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 [BZ #17775]
2825 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2826 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2827 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2828
2829 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2830
2831 * sysdeps/i386/tls-macros.h: Include <features.h>.
2832 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2833 (TLS_IE): Likewise.
2834 (TLS_LD): Likewise.
2835 (TLS_GD): Likewise.
2836 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2837 define for GCC >= 5.0.
2838
2839 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2840
2841 * math/test-fenv.c (test_single_exception, set_single_exc,
2842 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2843 feexcp_mask_test, feenable_test, fe_single_test): Add
2844 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2845 case where they are not used.
2846 * math/libm-test.inc: Likewise.
2847 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2848 unused in the absence of FP rounding/exception support.
2849 * stdio-common/tst-printf-round.c: Likewise.
2850 * stdlib/tst-strtod-round.c: Likewise.
2851 * stdlib/tst-strtod-underflow.c: Likewise.
2852
2853 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2854
2855 [BZ #17723]
2856 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2857 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2858 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2859 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2860 libm_hidden_weak.
2861 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2862 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2863 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2864 libm_hidden_def.
2865 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2866 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2867 libm_hidden_weak.
2868 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2869 Likewise.
2870 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2871 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2872 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2873 libm_hidden_weak.
2874 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2875 libm_hidden_def.
2876 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2877 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2878 (__feraiseexcept): Likewise.
2879 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2880 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2881 libm_hidden_weak.
2882 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2883 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2884 libm_hidden_def.
2885 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2886 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2887 Use libm_hidden_def.
2888 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2889 libm_hidden_def.
2890 (feraiseexcept): Define as weak not strong alias. Use
2891 libm_hidden_weak.
2892 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2893 New inline function. Factored out of ...
2894 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2895 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2896 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2897 feraiseexcept.
2898 * math/w_acos.c (__acos): Likewise.
2899 * math/w_asin.c (__asin): Likewise.
2900 * math/w_ilogb.c (__ilogb): Likewise.
2901 * math/w_j0.c (y0): Likewise.
2902 * math/w_j1.c (y1): Likewise.
2903 * math/w_jn.c (yn): Likewise.
2904 * math/w_log.c (__log): Likewise.
2905 * math/w_log10.c (__log10): Likewise.
2906 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2907 * sysdeps/aarch64/fpu/math_private.h
2908 (libc_feupdateenv_test_aarch64): Likewise.
2909 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2910 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2911 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2912 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2913 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2914 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2915 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2916 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2917 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2918 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2919
2920 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2921
2922 [BZ #17732]
2923 * io/test-utime.c (main): Replace %ld with %jd and cast to
2924 intmax_t.
2925 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2926 * nptl/tst-mutex5.c: Include <stdint.h>.
2927 (do_test): Replace %ld with %jd and cast to intmax_t.
2928 * posix/tst-regex.c (run_test): Likewise.
2929 (run_test_backwards): Likewise.
2930 * rt/tst-clock.c: Include <stdint.h>.
2931 (clock_test): Replace %ld with %jd and cast to intmax_t.
2932 * rt/tst-cpuclock1.c: Include <stdint.h>.
2933 (do_test): Replace %lu with %ju and cast to uintmax_t.
2934 * rt/tst-cpuclock2.c: Include <stdint.h>.
2935 (do_test): Replace %lu with %ju and cast to uintmax_t.
2936 * rt/tst-mqueue1.c: Include <stdint.h>.
2937 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2938 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2939 intmax_t.
2940 * rt/tst-mqueue4.c (do_test): Likewise.
2941 * rt/tst-timer4.c: Include <stdint.h>.
2942 (check_ts): Replace %ld with %jd and cast to intmax_t.
2943 (do_test): Likewise.
2944 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2945 and cast to intmax_t.
2946 * sysdeps/pthread/tst-timer.c (main): Likewise.
2947 * time/clocktest.c (main): Likewise.
2948 * time/tst-posixtz.c (do_test): Likewise.
2949 * timezone/tst-timezone.c (main): Likewise.
2950
2951 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2952 H.J. Lu <hongjiu.lu@intel.com>
2953
2954 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2955 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2956 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2957 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2958 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2959 version if bit_Fast_Unaligned_Load is set.
2960 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2961 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2962 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2963 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2964 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2965 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2967 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2968 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2969 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2970 to 4.
2971 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2972 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2973 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2974 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2975
2976 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2977
2978 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2979 instead of #if to avoid a Wundef warning.
2980 * stdlib/tst-limits.c (do_test): Likewise.
2981
2982 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2983 parallel other exception macros.
2984 (fegetenv): Convert from macro to extern inline so that it applies
2985 retroactively to inline functions already seen by the compiler.
2986 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2987
2988 * posix/Makefile (before-compile): Use $(objpfx) for
2989 posix-conf-vars-def.h.
2990
2991 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2992
2993 * posix/getconf.c (main): Use size_t for type of I.
2994 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2995 NSPEC.
2996
2997 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2998 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2999 * posix/posix-envs.def: Likewise.
3000 * sysdeps/posix/sysconf.c: Likewise.
3001 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3002 (specs): Remove array.
3003 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3004 array.
3005
3006 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3007 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3008 (__sysconf): Use CONF_IS_* macros.
3009
3010 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3011 ($(objpfx)posix-conf-vars-def.h): New target.
3012 * posix/posix-conf-vars.list: New file.
3013 * posix/posix-conf-vars.h: New file.
3014 * posix/confstr.c: Include posix-conf-vars.h.
3015 (confstr): Use CONF_IS_* macros.
3016 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3017 CONF_IS_* macros.
3018 * scripts/gen-posix-conf-vars.awk: New file.
3019
3020 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3021
3022 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3023 fegetround): Add no-op macros to avoid linknamespace issues.
3024
3025 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3026 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3027
3028 * sysdeps/unix/sysv/linux/tile/sysdep.h
3029 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3030 assembly-specific section to avoid a redefinition warning.
3031
3032 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3033 long before casting to pointer to avoid a cast warning.
3034
3035 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3036
3037 * sysdeps/tile/tilegx/Implies: New file.
3038
3039 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3040
3041 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3042
3043 2014-12-23 Florian Weimer <fweimer@redhat.com>
3044
3045 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3046
3047 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3048
3049 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3050 not define.
3051 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3052 <kernel-features.h>.
3053 (__utimes) [__NR_utimes]: Make code unconditional.
3054 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3055 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3056 (__ASSUME_UTIMES): Do not undefine.
3057 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3058 (__ASSUME_UTIMES): Likewise.
3059 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3060 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3061 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3062 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3063
3064 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3065
3066 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3067
3068 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3069
3070 [BZ #17747]
3071 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3072 alias to weak alias for j0l, y0l.
3073 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3074 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3075
3076 [BZ #17746]
3077 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3078 conversion.
3079
3080 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3081
3082 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3083 to zero if not already defined.
3084
3085 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3086
3087 [BZ #17724]
3088 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3089 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3090 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3091 (char *) casts added.
3092 * sysdeps/ieee754/k_standardf.c: New file.
3093 * sysdeps/ieee754/k_standardl.c: Likewise.
3094 * math/Makefile (libm-support): Remove k_standard.
3095 (libm-calls): Add k_standard.
3096
3097 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3098
3099 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3100 Optimize to avoid an unnecessary FPCR read.
3101
3102 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3103
3104 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3105 Optimize to reduce FPCR/FPSR accesses.
3106
3107 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3108
3109 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3110 Call libc_fetestexcept_aarch64.
3111
3112 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3113
3114 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3115 Call libc_fesetround_aarch64.
3116
3117 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3118
3119 [BZ #17733]
3120 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3121 (__bind): Do not define as weak alias.
3122 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3123 define.
3124 (__getsockname): Do not define as weak alias.
3125
3126 2014-12-22 Will Newton <will.newton@linaro.org>
3127
3128 * manual/install.texi: Document that we require bison 2.7
3129 or above.
3130 * INSTALL: Regenerate.
3131 * configure.ac: Use AC_CHECK_PROG_VER instead of
3132 AC_PATH_PROG when checking for bison and check for
3133 version 2.7 or above.
3134 * configure: Regenerate.
3135
3136 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3137
3138 [BZ #17745]
3139 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3140 * sysdeps/tile/ffsll.c (ffsll): To here.
3141
3142 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3143
3144 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3147 if not defined.
3148 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3149 definition.
3150 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3151 hidden ___tls_get_addr.
3152 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3153 hidden __tls_get_addr.
3154 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3155 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3156 Likewise.
3157
3158 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3159
3160 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3161 _dl_init call.
3162
3163 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3164
3165 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3166 from "call _dl_init@PLT".
3167 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3168
3169 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3170
3171 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3172 guarantees.
3173
3174 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3175
3176 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3177
3178 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3179
3180 [BZ #17744]
3181 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3182 strnlen.
3183
3184 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3185
3186 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3187 of multu on MIPSr6.
3188 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3189 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3190 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3191 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3192 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3193
3194 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3195
3196 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3197 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3198 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3199 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3200 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3201 mips32r6/mips64r6.
3202 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3203
3204 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3205
3206 * string/strncat.c (STRNCAT): Simplify implementation.
3207
3208 2014-12-19 David S. Miller <davem@davemloft.net>
3209
3210 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3211 access the quad as both a long double and as a series of 4 words.
3212
3213 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3214 link_map->l_info array access.
3215
3216 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3217
3218 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3219
3220 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3221 * math/atest-exp2.c (TIMEOUT): Likewise.
3222 * math/atest-sincos.c (TIMEOUT): Likewise.
3223
3224 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3225
3226 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3227 -Wno-error with -fno-builtin-lround.
3228
3229 2014-12-19 Torvald Riegel <triegel@redhat.com>
3230
3231 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3232 Contains futex constants and functions moved over from ...
3233 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3234 <lowlevellock-futex.h>.
3235 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3236 (lll_timedwait_tid): Add comments and parentheses around macro
3237 arguments.
3238
3239 2014-12-19 Torvald Riegel <triegel@redhat.com>
3240
3241 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3242 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3243 (__lll_private_flag): Remove.
3244 (lll_futex_wait): Likewise.
3245 (lll_futex_timed_wait): Likewise.
3246 (lll_futex_wake): Likewise.
3247 (lll_futex_requeue): Likewise.
3248 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3249 (__lll_timedwait_tid): Spell out argument names.
3250 (lll_timedwait_tid): Add comments and parentheses around macro
3251 arguments.
3252 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3253 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3254
3255 2014-12-19 Torvald Riegel <triegel@redhat.com>
3256
3257 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3258 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3259 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3260 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3261 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3262 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3263 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3264 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3265 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3266 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3267 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3269 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3270 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3271 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3272 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3273 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3274 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3275 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3276
3277 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3278
3279 * sysdeps/x86_64/x32/Makefile: New file.
3280
3281 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3282
3283 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3284 1L with (mp_limb_t) 1.
3285
3286 2014-12-17 Roland McGrath <roland@hack.frob.com>
3287
3288 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3289 * nptl/libc_pthread_init.c: ... here.
3290 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3291 * nptl/register-atfork.c: ... here.
3292
3293 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3294 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3295 Use assert_perror to check its return value.
3296 (__gai_create_helper_thread): Likewise.
3297
3298 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3299
3300 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3301
3302 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3303
3304 [BZ #17725]
3305 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3306 __profil_counter.
3307 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3308 Likewise.
3309 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3310 Likewise.
3311 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3312 Likewise.
3313 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3314 (profil_counter): Likewise.
3315 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3316 (profil_counter): Likewise.
3317 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3318 Likewise.
3319 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3320 Likewise.
3321 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3322 (profil_counter): Likewise.
3323 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3324 Likewise.
3325 [!__profil_counter] (profil_counter): Define as weak alias of
3326 __profil_counter.
3327 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3328 (profil_counter): Rename to __profil_counter.
3329 [!__profil_counter] (profil_counter): Define as weak alias of
3330 __profil_counter.
3331 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3332 (profil_counter): Rename to __profil_counter.
3333 [!__profil_counter] (profil_counter): Define as weak alias of
3334 __profil_counter.
3335 * sysdeps/posix/profil.c: Update comment referring to
3336 profil_counter.
3337 (__profil): Use __profil_counter instead of profil_counter.
3338 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3339 __profil_counter. Use __profil_counter_ushort and
3340 __profil_counter_uint in definitions.
3341 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3342 instead of profil_counter_uint and profil_counter_ushort.
3343
3344 [BZ #17722]
3345 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3346 define as weak alias of __inet_makeaddr.
3347 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3348 as weak alias of __inet_addr.
3349 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3350 as weak alias of __inet_pton. Use libc_hidden_weak.
3351 * include/arpa/inet.h (__inet_pton): Declare. Use
3352 libc_hidden_proto.
3353 (inet_makeaddr): Don't use libc_hidden_proto.
3354 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3355 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3356 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3357 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3358 Remove variable.
3359 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3360 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3361
3362 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3363
3364 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3365
3366 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3367
3368 * stdio-common/bug-vfprintf-nargs.c (do_test):
3369 Cast value to intptr_t to avoid format warning
3370 for usage with PRIdPTR printing macro.
3371
3372 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3373
3374 * libio/tst-widetext.c (do_test):
3375 Use format type %td instead of %Zd for ptrdiff_t
3376 in order to avoid format warning.
3377
3378 2014-12-17 Andreas Schwab <schwab@suse.de>
3379
3380 * nscd/mem.c (gc): Add size_t cast to match printf format.
3381
3382 2014-12-16 Roland McGrath <roland@hack.frob.com>
3383
3384 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3385 (init): Apply PTR_MANGLE to pointers before storing them.
3386 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3387 before using them.
3388
3389 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3390
3391 [BZ #17719]
3392 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3393 define as weak alias of __memrchr.
3394 (__memrchr): Do not define as strong alias of memrchr.
3395 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3396 Remove variable.
3397 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3398 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3399 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3400
3401 [BZ #17717]
3402 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3403 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3404 (if_indextoname): Rename to __if_indextoname and define as weak
3405 alias of __if_indextoname. Use libc_hidden_weak.
3406 (if_freenameindex): Rename to __if_freenameindex and define as
3407 weak alias of __if_freenameindex.
3408 (if_nameindex): Rename to __if_nameindex and define as weak alias
3409 of __if_nameindex.
3410 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3411 __if_nametoindex and define as weak alias of __if_nametoindex.
3412 Use libc_hidden_weak.
3413 (if_freenameindex): Rename to __if_freenameindex and define as
3414 weak alias of __if_freenameindex.
3415 (if_nameindex): Rename to __if_nameindex and define as weak alias
3416 of __if_nameindex.
3417 (if_indextoname): Rename to __if_indextoname and define as weak
3418 alias of __if_indextoname. Use libc_hidden_weak.
3419 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3420 __if_nametoindex and define as weak alias of __if_nametoindex.
3421 Use libc_hidden_weak.
3422 (if_freenameindex): Rename to __if_freenameindex and define as
3423 weak alias of __if_freenameindex. Use libc_hidden_weak.
3424 (if_nameindex_netlink): Use __if_freenameindex instead of
3425 if_freenameindex.
3426 (if_nameindex): Rename to __if_nameindex and define as weak alias
3427 of __if_nameindex. Use libc_hidden_weak.
3428 (if_indextoname): Rename to __if_indextoname and define as weak
3429 alias of __if_indextoname. Use libc_hidden_weak.
3430 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3431 libc_hidden_proto.
3432 [!_ISOMAC] (__if_freenameindex): Likewise.
3433 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3434 if_nametoindex.
3435 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3436 variable.
3437 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3438 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3439 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3440 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3441 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3442 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3443 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3444
3445 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3446 Remove variable.
3447 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3448 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3449
3450 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3451
3452 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3453 subscript above bounds'
3454
3455 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3456 bounds.
3457
3458 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3459
3460 * libio/tst-fopenloc.c: Use test-skeleton.c.
3461
3462 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3463 (entry): Rename to ITEM.
3464 (do_test, comp): Adjust.
3465
3466 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3467
3468 2014-12-16 Torvald Riegel <triegel@redhat.com>
3469
3470 * string/tester.c: Include <libc-internal.h>.
3471 (test_memset): Ignore -Wmemset-transposed-args.
3472
3473 2014-12-16 Torvald Riegel <triegel@redhat.com>
3474
3475 * misc/tst-mntent2.c (do_test): Fix warning.
3476
3477 2014-12-16 Torvald Riegel <triegel@redhat.com>
3478
3479 * elf/tst-unique4lib.cc(a): Mark as used.
3480
3481 2014-12-16 Florian Weimer <fweimer@redhat.com>
3482
3483 [BZ #17630]
3484 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3485 names.
3486
3487 2014-12-16 Allan McRae <allan@archlinux.org>
3488
3489 * stdio-common/Makefile (tests): Re-add bug26.
3490
3491 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3492
3493 [BZ #17657]
3494 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3495 static array.
3496
3497 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3498
3499 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3500 (__lll_lock_wait): Likewise.
3501 (__lll_timedlock_wait): Likewise.
3502 (__lll_timedwait_tid): Likewise.
3503 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3504 (__lll_robust_timedlock_wait): Likewise.
3505 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3506 (lll_cond_trylock): Likewise.
3507 (__lll_lock): Likewise.
3508 (__lll_robust_lock): Likewise.
3509 (__lll_cond_lock): Likewise.
3510 (lll_robust_cond_lock): Likewise.
3511 (__lll_timedlock): Likewise.
3512 (__lll_robust_timedlock): Likewise.
3513 (__lll_unlock): Likewise.
3514 (__lll_robust_unlock): Likewise.
3515 (lll_wait_tid): Likewise.
3516 (lll_timedwait_tid): Likewise.
3517
3518 2014-12-15 Torvald Riegel <triegel@redhat.com>
3519
3520 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3521
3522 2014-12-15 Torvald Riegel <triegel@redhat.com>
3523
3524 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3525
3526 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3527
3528 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3529 * stdio-common/tst-sprintf.c: Likewise.
3530
3531 2014-12-15 Torvald Riegel <triegel@redhat.com>
3532
3533 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3534
3535 2014-12-15 Jeff Law <law@redhat.com>
3536
3537 [BZ #16617]
3538 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3539 on the heap. (CVE-2012-3406)
3540 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3541 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3542 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3543
3544 2014-12-15 Will Newton <will.newton@linaro.org>
3545
3546 * manual/install.texi: Bump required version of texinfo
3547 to 4.7 from 4.5.
3548 * INSTALL: Regenerated.
3549 * configure.ac: Check for makeinfo version 4.7 and above.
3550 * configure: Regenerated.
3551
3552 2014-12-12 Roland McGrath <roland@hack.frob.com>
3553
3554 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3555 PREFIX, string constant to insert between directory and name.
3556 * sysdeps/posix/shm_open.c: Update caller.
3557 * sysdeps/posix/shm_unlink.c: Likewise.
3558 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3559 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3560 (SEM_SHM_PREFIX): New macro.
3561 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3562 [$(have-thread-library) = no].
3563 * nptl/Makefile (libpthread-routines): Add shm-directory.
3564 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3565 * sysdeps/nptl/shm-directory.h: New file.
3566 * sysdeps/posix/shm-directory.c
3567 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3568 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3569 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3570 INTERNAL_SYSCALL.
3571 (__where_is_shmfs): Function removed.
3572 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3573 Variables removed.
3574 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3575 Use SHM_GET_NAME.
3576 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3577
3578 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3579 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3580 unconditional for use inside libpthread.
3581 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3582
3583 2014-12-12 Roland McGrath <roland@hack.frob.com>
3584
3585 * nptl/pthread_getaffinity.c: New file.
3586 * nptl/pthread_setaffinity.c: New file.
3587 * nptl/pthread_getname.c: New file.
3588 * nptl/pthread_setname.c: New file.
3589
3590 * nptl/pthread_create.c (START_THREAD_DEFN)
3591 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3592
3593 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3594 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3595
3596 * resolv/res_send.c (send_vc): Disable warning resplen may
3597 be used uninitialized.
3598
3599 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3600
3601 * nptl/tst-mutex6.c
3602 (ATTR_NULL): New define checks ATTR against NULL.
3603 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3604 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3605
3606 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3607
3608 [BZ #17581]
3609 * malloc/hooks.c
3610 (mem2mem_check): Revert my previous change.
3611 (malloc_check_get_size): Revert my previous change.
3612 (mem2chunk_check): Revert my previous change.
3613
3614 2014-12-11 Roland McGrath <roland@hack.frob.com>
3615
3616 * sysdeps/posix/shm-directory.c: New file.
3617 * sysdeps/posix/shm-directory.h: New file.
3618 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3619 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3620 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3621 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3622 Transmute EPERM to EACCES.
3623 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3624 from ...
3625 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3626 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3627
3628 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3629
3630 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3631 pointer and cast to uintptr_t.
3632 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3633 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3634 Add cast to avoid warning.
3635 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3636
3637 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3638
3639 * nptl/semaphore.h: Move to ...
3640 * sysdeps/pthread/semaphore.h: ... here.
3641 * Makefile (installed-headers): Change nptl/semaphore.h to
3642 sysdeps/pthread/semaphore.h.
3643
3644 2014-12-11 Roland McGrath <roland@hack.frob.com>
3645
3646 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3647 generated error format strings.
3648
3649 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3650 -Wformat-extra-args warnings for scanf formats.
3651 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3652 test of zero-length format (duh).
3653 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3654 corner-case scanf format test.
3655 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3656 generated fprintf format string.
3657 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3658 corner-case sprintf format tests.
3659 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3660 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3661 -Wformat-extra-args warnings throughout.
3662 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3663 (CFLAGS-scanf4.c): Likewise.
3664 (CFLAGS-scanf7.c): Likewise.
3665 (CFLAGS-tst-sprintf.c): Likewise.
3666 (CFLAGS-tst-printf.c): Likewise.
3667 (CFLAGS-tst-printfsz.c): Likewise.
3668
3669 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3670
3671 * include/cpio.h: New file.
3672 * include/fmtmsg.h: Likewise.
3673
3674 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3675 corresponding format argument to size_t.
3676 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3677 arguments.
3678 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3679 corresponding format argument to size_t.
3680 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3681 arguments.
3682 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3683 corresponding format argument to size_t.
3684 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3685 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3686 (CFLAGS-tst-mbswcs2.c): Likewise.
3687 (CFLAGS-tst-mbswcs3.c): Likewise.
3688 (CFLAGS-tst-mbswcs4.c): Likewise.
3689 (CFLAGS-tst-mbswcs5.c): Likewise.
3690 (CFLAGS-tst-trans.c): Likewise
3691
3692 2014-12-11 Roland McGrath <roland@hack.frob.com>
3693
3694 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3695 rather than assuming they won't contain any '%'s.
3696
3697 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3698
3699 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3700 inhibit_loop_to_libcall to avoid recursive calls.
3701 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3702 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3703
3704 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3705
3706 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3707 prototype.
3708
3709 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3710
3711 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3712 integer value instead of boolean.
3713
3714 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3715
3716 * malloc/malloc.c: Fix powerof2 check.
3717
3718 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3719
3720 * locale/programs/locfile.h (maybe_swap_uint32):
3721 Remove inline and add unused attribute.
3722
3723 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3724
3725 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3726 Truncating assembler expression to a .long expression.
3727
3728 2014-12-11 Andreas Schwab <schwab@suse.de>
3729
3730 * elf/rtld.c (struct map_args): Constify str member.
3731 (do_preload): Constify fname argument.
3732
3733 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3734
3735 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3736 constants definition.
3737
3738 2014-12-11 Andreas Schwab <schwab@suse.de>
3739
3740 [BZ #16657]
3741 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3742 FORCE_ELISION instead of DO_ELISION.
3743 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3744 Remove.
3745 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3746 Likewise.
3747
3748 * iconvdata/gconv-modules: Remove duplicate entry.
3749
3750 2014-12-11 Will Newton <will.newton@linaro.org>
3751
3752 Merge gettext 0.19.3 into intl/.
3753
3754 This involves a number of cosmetic changes to comments
3755 and ANSI function definitions and prototypes throughout
3756 all the files. The gettext copyright header is used but
3757 with the date ranges taken from the glibc copy.
3758
3759 * NEWS: Add gettext merge to 2.21.
3760 * intl/bindtextdom.c: Switch to gettext copyright.
3761 Use ANSI definitions and prototypes.
3762 Use gl_* locking primitives rather than __libc_* ones.
3763 Use __builtin_expect rather than __glibc_likely/unlikely.
3764 * intl/dcgettext.c: Switch to gettext copyright.
3765 Use ANSI definitions and prototypes.
3766 * intl/dcigettext.c: Switch to gettext copyright.
3767 Use ANSI definitions and prototypes.
3768 (INTDIV0_RAISES_SIGFPE): New define.
3769 Use gl_* locking primitives rather than __libc_* ones.
3770 Include eval-plural.h instead of plural-eval.c.
3771 Use __builtin_expect rather than __glibc_likely/unlikely.
3772 * intl/dcngettext.c: Switch to gettext copyright.
3773 Use ANSI definitions and prototypes.
3774 * intl/dgettext.c: Likewise.
3775 * intl/dngettext.c: Likewise.
3776 * intl/plural-eval.c: Renamed to...
3777 * intl/eval-plural.h: ...this.
3778 * intl/explodename.c: Switch to gettext copyright.
3779 Use ANSI definitions and prototypes.
3780 (_nl_explode_name): Use strchr instead of __rawmemchr.
3781 * intl/finddomain.c: Switch to gettext copyright.
3782 Use ANSI definitions and prototypes.
3783 Use gl_* locking primitives rather than __libc_* ones.
3784 (_nl_find_domain): Use malloc rather than alloca for
3785 allocation of temporary locale name.
3786 * intl/gettext.c: Switch to gettext copyright.
3787 Use ANSI definitions and prototypes.
3788 * intl/gettextP.h: Switch to gettext copyright.
3789 Use ANSI definitions and prototypes.
3790 Use gl_* locking primitives rather than __libc_* ones.
3791 * intl/gmo.h: Switch to gettext copyright.
3792 (struct sysdep_string): Move struct segment_pair outside of
3793 struct definition.
3794 * intl/hash-string.c: Use ANSI definitions and prototypes.
3795 * intl/hash-string.h: Switch to gettext copyright.
3796 Use ANSI definitions and prototypes.
3797 * intl/l10nflist.c: Switch to gettext copyright.
3798 Use ANSI definitions and prototypes.
3799 (_nl_normalize_codeset): Avoid integer overflow.
3800 * intl/loadinfo.h: Switch to gettext copyright.
3801 Use ANSI definitions and prototypes.
3802 (LIBINTL_DLL_EXPORTED): New define.
3803 (PATH_SEPARATOR): New define.
3804 * intl/loadmsgcat.c: Switch to gettext copyright.
3805 * intl/localealias.c: Switch to gettext copyright.
3806 Use ANSI definitions and prototypes.
3807 (_nl_expand_alias): Use PATH_SEPARATOR.
3808 * intl/ngettext.c: Switch to gettext copyright.
3809 Use ANSI definitions and prototypes.
3810 * intl/plural-exp.c: Likewise.
3811 * intl/plural-exp.h: Switch to gettext copyright.
3812 Use ANSI definitions and prototypes.
3813 (struct expression): Move definition of enum operator outside
3814 of struct definition.
3815 * intl/plural.c: Regenerate.
3816 * intl/plural.y: Switch to gettext copyright.
3817 Use ANSI definitions and prototypes.
3818 Port to bison 3.0.
3819 * intl/textdomain.c: Switch to gettext copyright.
3820 Use ANSI definitions and prototypes.
3821 Use gl_* locking primitives rather than __libc_* ones.
3822
3823 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3824
3825 * debug/warning-nop.c: Add used atrribute.
3826
3827 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3828
3829 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3830
3831 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3832 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3833 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3834
3835 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3836 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3837
3838 [BZ #17634]
3839 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3840 Undefine after defining function. Define as weak alias of
3841 __wcschr. Use libc_hidden_weak.
3842 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3843 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3844 (libc_hidden_def): Also define __GI___wcschr alias.
3845 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3846 __wcschr and define as weak alias of __wcschr.
3847 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3848 __wcschr.
3849 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3850 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3851 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3852 libc_hidden_weak. Do not use libc_hidden_def.
3853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3854 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3855 __GI___wcschr alias.
3856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3857 [IS_IN (libc)] (wcschr): Define as macro expanding to
3858 __redirect_wcschr.
3859 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3860 [IS_IN (libc)] (__wcschr_power6): Likewise.
3861 [IS_IN (libc)] (__wcschr_power7): Likewise.
3862 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3863 instead of wcschr.
3864 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3865 __libc_wcschr.
3866 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3867 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3868 __wcschr and define as weak alias of __wcschr. Use
3869 libc_hidden_builtin_def.
3870 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3871 as weak alias of __wcschr. Use libc_hidden_weak.
3872 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3873 wcschr.
3874 * time/era.c (_nl_init_era_entries): Likewise.
3875 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3876 variable.
3877 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3878 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3879
3880 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3881
3882 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3883 format for long int variable.
3884
3885 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3886
3887 [BZ #10672]
3888 * manual/search.texi: (Array Sort Function): Remove claim how to make
3889 qsort stable.
3890
3891 2014-12-10 Andreas Schwab <schwab@suse.de>
3892
3893 [BZ #12847]
3894 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3895 user-controlled locks.
3896
3897 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3898
3899 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3900 register.
3901
3902 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3903
3904 * configure.ac (--disable-werror): New configure option.
3905 (enable_werror): New AC_SUBST.
3906 * configure: Regenerated.
3907 * config.make.in (enable-werror): New variable.
3908 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3909 -Wno-error=undef.
3910 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3911 * manual/install.texi (Configuring and compiling): Document
3912 --disable-werror.
3913 * INSTALL: Regenerated.
3914 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3915 (CFLAGS-tst-chk2.c): Likewise.
3916 (CFLAGS-tst-chk3.c): Likewise.
3917 (CFLAGS-tst-chk4.cc): Likewise.
3918 (CFLAGS-tst-chk5.cc): Likewise.
3919 (CFLAGS-tst-chk6.cc): Likewise.
3920 (CFLAGS-tst-lfschk1.c): Likewise.
3921 (CFLAGS-tst-lfschk2.c): Likewise.
3922 (CFLAGS-tst-lfschk3.c): Likewise.
3923 (CFLAGS-tst-lfschk4.cc): Likewise.
3924 (CFLAGS-tst-lfschk5.cc): Likewise.
3925 (CFLAGS-tst-lfschk6.cc): Likewise.
3926
3927 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3928 (main): Disable -Wdeprecated-declarations around calls to
3929 register_printf_function.
3930
3931 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3932 (do_test): Disable -Wdiv-by-zero around some calls to
3933 fwrite_unlocked and fread_unlocked.
3934
3935 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3936 (DIAG_POP_NEEDS_COMMENT): Likewise.
3937 (_DIAG_STR1): Likewise.
3938 (_DIAG_STR): Likewise.
3939 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3940 * stdio-common/bug21.c: Include <libc-internal.h>.
3941 (do_test): Disable -Wformat around call to sscanf.
3942 * stdio-common/scanf14.c: Include <libc-internal.h>.
3943 (main): Disable -Wformat around some calls to scanf functions.
3944
3945 2014-12-09 Torvald Riegel <triegel@redhat.com>
3946
3947 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3948
3949 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950
3951 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3952 stack variable alignment.
3953
3954 2014-12-06 Joseph Myers <joseph@codesourcery.com>
3955
3956 [BZ #17682]
3957 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3958 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3959 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3960 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3961 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3962 __getrlimit instead of getrlimit.
3963 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3964 __gettimeofday instead of gettimeofday.
3965 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3966 Likewise.
3967 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3968 Likewise.
3969 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3970 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3971 Remove variable.
3972 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3973 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3974
3975 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3976
3977 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3978 for wide-character tests.
3979
3980 2014-12-04 Roland McGrath <roland@hack.frob.com>
3981
3982 * io/openat64.c: #include <libc-internal.h>
3983 (__openat64): Prototypify. Use ignore_value on MODE.
3984 * io/openat.c: Likewise.
3985 * misc/reboot.c: #include <libc-internal.h>
3986 (reboot): Prototypify. Use ignore_value on HOWTO.
3987 * misc/ptrace.c: #include <libc-internal.h>
3988 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3989
3990 2014-12-04 Joseph Myers <joseph@codesourcery.com>
3991
3992 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3993 XPG4, UNIX98 and XOPEN2K.
3994 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3995 Remove variable.
3996 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3997
3998 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3999
4000 * libio/fileops.c: Use ISO C style for function definitions.
4001 * libio/iofopen.c: Likewise.
4002 * libio/wfileops.c: Likewise.
4003
4004 [BZ #17653]
4005 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4006 offset on EOF.
4007 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4008 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4009 (fgets_func): Function pointer to fgets and fgetws.
4010 (do_ftell_test): Add test to verify ftell value after read
4011 EOF.
4012 (do_test): Set fgets_func.
4013
4014 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4015 O_TRUNC flag for w and w+ modes.
4016 (do_rewind_test): Likewise.
4017 (do_ftell_test): Likewise.
4018 (do_write_test): Likewise.
4019
4020 [BZ #17647]
4021 * libio/fileops.c (do_ftell): Seek only when there are
4022 unflushed writes.
4023 * libio/wfileops.c (do_ftell_wide): Likewise.
4024 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4025 test case.
4026 (do_one_test): Call it.
4027
4028 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4029
4030 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4031 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4032 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4033 Remove variable.
4034 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4035 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4036 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4037
4038 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4039
4040 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4041 Remove variable.
4042 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4043
4044 [BZ #17668]
4045 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4046 as weak alias of __getifaddrs. Use libc_hidden_weak.
4047 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4048 __freeifaddrs. Use libc_hidden_weak.
4049 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4050 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4051 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4052 __freeifaddrs. Use libc_hidden_weak.
4053 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4054 __getifaddrs and define as weak alias of __getifaddrs. Use
4055 libc_hidden_weak.
4056 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4057 __freeifaddrs. Use libc_hidden_weak.
4058 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4059 Remove variable.
4060 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4061 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4062
4063 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4064
4065 [BZ #17601]
4066 * sysdeps/mips/start.S (__start): Use indirect jump to call
4067 __libc_start_main.
4068
4069 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4070
4071 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4072
4073 * nptl/tst-mutex1.c: Include <stdbool.h>.
4074 [!ATTR] (ATTR_NULL): New macro.
4075 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4076 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4077 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4078
4079 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4080 to char *.
4081
4082 [BZ #17665]
4083 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4084 Change conditional to [__USE_MISC].
4085
4086 [BZ #17664]
4087 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4088 fgets_unlocked.
4089 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4090 __fgets_unlocked.
4091 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4092 fgets_unlocked.
4093 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4094 Remove variable.
4095 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4096 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4097 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4098 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4099 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4100 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4101 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4102 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4103 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4104
4105 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4106
4107 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4108
4109 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4110 Remove strpbrk objects.
4111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4112 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4113 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4114 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4115 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4116 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4117
4118 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4119 Remove strcspn objects.
4120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4121 (__libc_ifunc_impl_list): Remove strcspn implementation.
4122 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4123 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4124 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4125 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4126
4127 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4128 Remove strspn objetcs.
4129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4130 (__libc_ifunc_impl_list): Remove strspn implementation.
4131 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4132 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4133 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4134 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4135
4136 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4137
4138 [BZ #17581]
4139 * malloc/hooks.c
4140 (mem2mem_check): Add a terminator to the chain of checking blocks.
4141 (malloc_check_get_size): Use it here.
4142 (mem2chunk_check): Ditto.
4143
4144 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4145
4146 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4147 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4148
4149 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4150
4151 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4152
4153 * nptl/nptl-init.c: Include libc-internal.h.
4154 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4155
4156 * elf/ldconfig.c (search_dir): Expand comment.
4157
4158 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4159
4160 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4161 variable.
4162 (linknamespace-symlist-stdlibs-tests): Likewise.
4163 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4164 instead of $(objpfx)symlist-stdlibs.
4165 (linknamespace-libs-isoc): New variable.
4166 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4167 (linknamespace-libs-ISO): New variable.
4168 (linknamespace-libs-ISO99): Likewise.
4169 (linknamespace-libs-ISO11): Likewise.
4170 (linknamespace-libs-XPG3): Likewise.
4171 (linknamespace-libs-XPG4): Likewise.
4172 (linknamespace-libs-POSIX): Likewise.
4173 (linknamespace-libs-UNIX98): Likewise.
4174 (linknamespace-libs-XOPEN2K): Likewise.
4175 (linknamespace-libs-POSIX2008): Likewise.
4176 (linknamespace-libs-XOPEN2K8): Likewise.
4177 ($(objpfx)symlist-stdlibs): Replace by
4178 $(linknamespace-symlist-stdlibs-tests). Use
4179 $(linknamespace-libs-$*) as set of libraries.
4180 ($(linknamespace-header-tests)): Update dependencies. Use
4181 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4182 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4183 * conform/linknamespace.pl: Remove comment about considering
4184 definitions of symbols from irrelevant libraries.
4185
4186 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4187
4188 [BZ #13862]
4189 * elf/dl-tls.c: Include <atomic.h>.
4190 (oom): Remove #ifdef SHARED/#endif.
4191 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4192 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4193 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4194 big enough.
4195 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4196 * nptl/Makefile (tests): Add tst-stack4.
4197 (modules-names): Add tst-stack4mod.
4198 ($(objpfx)tst-stack4): New.
4199 (tst-stack4mod.sos): Likewise.
4200 ($(objpfx)tst-stack4.out): Likewise.
4201 ($(tst-stack4mod.sos)): Likewise.
4202 (clean): Likewise.
4203 * nptl/tst-stack4.c: New file.
4204 * nptl/tst-stack4mod.c: Likewise.
4205
4206 2014-11-27 J. Brown <jb999@gmx.de>
4207
4208 * sysdeps/x86/bits/string.h: Add recent CPUs.
4209
4210 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4211
4212 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4213 sigblock.
4214
4215 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4216 feof.
4217
4218 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4219 variable.
4220
4221 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4222
4223 * nscd/connections.c: Include libc-internal.h because of macro
4224 usage ignore_value.
4225
4226 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4227
4228 * string/bits/string3.h (__warn_memset_zero_len): Don't
4229 declare for gcc newer than 5.0.
4230 (memset): Don't test for zero-length __LEN for gcc newer than
4231 5.0.
4232
4233 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4234
4235 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4236 size_t for %zu format.
4237
4238 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4239 difference, not %ju.
4240
4241 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4242
4243 * include/libc-internal.h (ignore_value): New macro.
4244 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4245 with ignore_value.
4246
4247 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4248 definition.
4249
4250 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4251 pthread_cleanup_push to void *.
4252
4253 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4254 Undefine.
4255
4256 [BZ #16619]
4257 [BZ #16740]
4258 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4259 instead of 1L << 52.
4260
4261 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4262 * libio/bug-rewind2.c (do_test): Likewise.
4263
4264 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4265 * debug/test-strcpy_chk-ifunc.c: Likewise.
4266 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4267 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4268 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4269 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4270 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4271 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4272 * Rules [$(multi-arch) = no] (tests): Do not filter out
4273 $(tests-ifunc).
4274 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4275 * debug/Makefile (tests-ifunc): Remove variable.
4276 (tests): Do not add $(tests-ifunc).
4277 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4278 (tests): Do not add $(tests-ifunc).
4279 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4280 [TEST_IFUNC]: Remove conditionals.
4281 * string/test-string.h (TEST_IFUNC): Remove macro.
4282 [TEST_IFUNC]: Remove conditionals.
4283
4284 * string/test-strchr.c [!WIDE] (L): New macro.
4285 [WIDE] (L): Likewise.
4286 (check1): Use CHAR instead of char. Use L on string and character
4287 constants.
4288
4289 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4290
4291 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4292 tests.
4293 * sysdeps/powerpc/bits/atomic.h
4294 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4295 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4296 (atomic_exchange_and_add_acq): Likewise.
4297 (atomic_exchange_and_add_rel): Likewise.
4298 * sysdeps/powerpc/powerpc32/bits/atomic.h
4299 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4300 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4301 * sysdeps/powerpc/powerpc64/bits/atomic.h
4302 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4303 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4304
4305 2014-11-26 Torvald Riegel <triegel@redhat.com>
4306
4307 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4308 Change synchronization of __sched_fifo_min_prio and
4309 __sched_fifo_max_prio.
4310 * nptl/pthread_mutexattr_getprioceiling.c
4311 (pthread_mutexattr_getprioceiling): Likewise.
4312 * nptl/pthread_mutexattr_setprioceiling.c
4313 (pthread_mutexattr_setprioceiling): Likewise.
4314 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4315 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4316 Likewise.
4317
4318 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4319
4320 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4321 void.
4322
4323 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4324
4325 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4326 third argument const.
4327
4328 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4329
4330 fnmatch: work around GCC compiler warning bug with uninit var
4331 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4332 This works around a bug with x86-64 GCC 4.9.2 and earlier
4333 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4334 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4335 used uninitialized in this function [-Wmaybe-uninitialized]".
4336
4337 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4338
4339 * posix/bug-regex31.c (main): Return RES not 0.
4340
4341 2014-11-25 Anton Blanchard <anton@samba.org>
4342
4343 * sysdeps/powerpc/bits/atomic.h
4344 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4345
4346 2014-11-24 Sterling Augustine <saugustine@google.com>
4347
4348 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4349
4350 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4351
4352 [BZ #17608]
4353 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4354
4355 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4356
4357 [BZ #17633]
4358 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4359 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4360 variable.
4361 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4362 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4363
4364 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4365
4366 * string/strncpy.c (strncpy): Improve performance by using memset.
4367
4368 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4369
4370 * string/strcpy.c (strcpy):
4371 Improve performance by using strlen and memcpy.
4372
4373 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4374
4375 * string/strcoll_l.c (get_next_seq): __always_inline.
4376 * string/strcoll_l.c (do_compare): __always_inline.
4377
4378 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4379
4380 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4381 defined.
4382 * include/mqueue.h: Likewise.
4383 * include/stdlib.h: Likewise.
4384
4385 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4386 (get_null_defines): Adjust.
4387 * sunrpc/Makefile: Adjust comment.
4388 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4389 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4390 (CFLAGS-interp.c): Likewise.
4391 (CFLAGS-ldconfig.c): Likewise.
4392 (CPPFLAGS-.os): Likewise.
4393 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4394 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4395 * extra-modules.mk (extra-modules.mk): Likewise.
4396 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4397 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4398 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4399 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4400 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4401 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4402 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4403 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4404 * iconvdata/Makefile (CPPFLAGS): Likewise.
4405 (cpp-srcs-left): Add libof for all iconvdata routines.
4406 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4407 * include/assert.h: Likewise.
4408 * include/ctype.h: Likewise.
4409 * include/errno.h: Likewise.
4410 * include/libc-symbols.h: Likewise.
4411 * include/math.h: Likewise.
4412 * include/netdb.h: Likewise.
4413 * include/resolv.h: Likewise.
4414 * include/stdio.h: Likewise.
4415 * include/stdlib.h: Likewise.
4416 * include/string.h: Likewise.
4417 * include/sys/stat.h: Likewise.
4418 * include/wctype.h: Likewise.
4419 * intl/l10nflist.c: Likewise.
4420 * libidn/idn-stub.c: Likewise.
4421 * libio/libioP.h: Likewise.
4422 * nptl/libc_multiple_threads.c: Likewise.
4423 * nptl/pthreadP.h: Likewise.
4424 * posix/regex_internal.h: Likewise.
4425 * resolv/res_hconf.c: Likewise.
4426 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4427 * sysdeps/arm/memmove.S: Likewise.
4428 * sysdeps/arm/sysdep.h: Likewise.
4429 * sysdeps/generic/_itoa.h: Likewise.
4430 * sysdeps/generic/symbol-hacks.h: Likewise.
4431 * sysdeps/gnu/errlist.awk: Likewise.
4432 * sysdeps/gnu/errlist.c: Likewise.
4433 * sysdeps/i386/i586/memcpy.S: Likewise.
4434 * sysdeps/i386/i586/memset.S: Likewise.
4435 * sysdeps/i386/i686/memcpy.S: Likewise.
4436 * sysdeps/i386/i686/memmove.S: Likewise.
4437 * sysdeps/i386/i686/mempcpy.S: Likewise.
4438 * sysdeps/i386/i686/memset.S: Likewise.
4439 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4440 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4441 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4442 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4443 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4444 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4445 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4446 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4447 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4448 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4449 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4450 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4451 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4452 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4453 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4454 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4455 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4456 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4457 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4458 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4459 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4460 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4461 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4462 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4463 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4464 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4465 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4466 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4467 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4468 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4469 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4470 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4472 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4475 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4476 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4479 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4480 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4481 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4482 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4483 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4484 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4485 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4486 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4487 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4488 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4489 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4490 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4491 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4492 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4493 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4494 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4495 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4496 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4497 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4498 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4499 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4500 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4501 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4502 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4503 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4504 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4505 * sysdeps/posix/closedir.c: Likewise.
4506 * sysdeps/posix/opendir.c: Likewise.
4507 * sysdeps/posix/readdir.c: Likewise.
4508 * sysdeps/posix/rewinddir.c: Likewise.
4509 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4510 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4511 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4512 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4513 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4514 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4515 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4517 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4518 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4520 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4521 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4522 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4523 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4524 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4525 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4526 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4527 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4528 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4529 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4530 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4531 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4532 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4534 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4535 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4536 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4537 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4541 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4543 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4544 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4545 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4546 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4547 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4548 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4549 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4550 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4551 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4553 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4554 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4555 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4556 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4557 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4558 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4559 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4560 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4561 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4562 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4563 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4564 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4566 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4567 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4568 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4569 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4570 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4571 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4572 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4573 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4574 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4576 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4577 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4578 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4579 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4580 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4581 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4582 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4583 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4584 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4585 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4586 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4587 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4588 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4589 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4591 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4592 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4593 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4594 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4595 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4596 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4597 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4598 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4599 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4600 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4601 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4604 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4605 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4606 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4607 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4608 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4609 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4610 * sysdeps/unix/alpha/sysdep.S: Likewise.
4611 * sysdeps/unix/alpha/sysdep.h: Likewise.
4612 * sysdeps/unix/make-syscalls.sh: Likewise.
4613 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4614 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4615 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4616 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4617 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4618 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4619 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4620 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4621 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4622 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4623 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4624 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4625 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4626 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4627 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4628 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4629 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4630 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4631 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4632 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4633 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4634 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4635 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4636 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4637 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4638 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4639 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4642 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4643 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4647 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4651 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4652 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4653 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4654 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4655 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4656 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4657 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4659 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4660 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4661 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4662 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4663 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4664 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4665 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4666 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4667 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4668 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4669 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4671 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4672 * sysdeps/x86_64/memcpy.S: Likewise.
4673 * sysdeps/x86_64/memmove.c: Likewise.
4674 * sysdeps/x86_64/memset.S: Likewise.
4675 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4676 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4677 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4678 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4679 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4680 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4681 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4682 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4683 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4684 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4685 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4686 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4687 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4688 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4689 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4690 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4691 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4692 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4693 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4694 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4695 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4696 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4697 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4699 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4700 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4701 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4702 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4703 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4704 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4705 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4706 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4707 * sysdeps/x86_64/strcmp.S: Likewise.
4708
4709 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4710
4711 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4712 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4713 * elf/rtld-Rules: Likewise.
4714 * elf/setup-vdso.h: Likewise.
4715 * include/assert.h: Likewise.
4716 * include/bits/stdlib-float.h: Likewise.
4717 * include/errno.h: Likewise.
4718 * include/sys/stat.h: Likewise.
4719 * include/unistd.h: Likewise.
4720 * sysdeps/aarch64/setjmp.S: Likewise.
4721 * sysdeps/alpha/setjmp.S: Likewise.
4722 * sysdeps/arm/__longjmp.S: Likewise.
4723 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4724 * sysdeps/arm/setjmp.S: Likewise.
4725 * sysdeps/arm/sysdep.h: Likewise.
4726 * sysdeps/generic/_itoa.h: Likewise.
4727 * sysdeps/generic/dl-sysdep.h: Likewise.
4728 * sysdeps/generic/ldsodefs.h: Likewise.
4729 * sysdeps/i386/dl-tls.h: Likewise.
4730 * sysdeps/i386/setjmp.S: Likewise.
4731 * sysdeps/m68k/setjmp.c: Likewise.
4732 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4733 * sysdeps/mach/hurd/opendir.c: Likewise.
4734 * sysdeps/posix/getcwd.c: Likewise.
4735 * sysdeps/posix/opendir.c: Likewise.
4736 * sysdeps/posix/profil.c: Likewise.
4737 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4738 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4739 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4740 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4741 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4742 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4743 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4744 * sysdeps/s390/dl-tls.h: Likewise.
4745 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4746 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4747 * sysdeps/sh/sh3/setjmp.S: Likewise.
4748 * sysdeps/sh/sh4/setjmp.S: Likewise.
4749 * sysdeps/unix/alpha/sysdep.h: Likewise.
4750 * sysdeps/unix/arm/sysdep.S: Likewise.
4751 * sysdeps/unix/i386/sysdep.S: Likewise.
4752 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4753 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4754 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4755 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4757 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4758 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4759 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4760 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4761 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4762 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4763 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4764 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4767 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4768 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4770 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4771 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4772 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4775 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4776 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4777 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4779 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4780 * sysdeps/x86_64/setjmp.S: Likewise.
4781
4782 * include/math.h: Use IS_IN instead of IS_IN_libm.
4783 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4795 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4799 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4803 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4804 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4805 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4806 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4807 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4808 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4810 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4811 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4812 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4813 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4814 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4815 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4817 Likewise.
4818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4819 Likewise.
4820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4821 Likewise.
4822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4823 Likewise.
4824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4825 Likewise.
4826 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4827 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4828 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4829 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4830 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4831 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4837 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4838 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4839 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4840 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4842 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4843 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4844 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4845 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4846 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4847 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4850 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4852 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4853
4854 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4855 * nptl/pthreadP.h: Likewise.
4856 * nptl_db/structs.def: Likewise.
4857 * sysdeps/arm/sysdep.h: Likewise.
4858 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4859 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4860 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4861 * sysdeps/unix/alpha/sysdep.h: Likewise.
4862 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4863 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4864 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4865 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4866 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4867 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4868 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4869 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4870 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4871 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4872 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4873 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4874 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4875 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4878 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4879 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4880 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4883 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4884 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4885 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4886 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4887 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4888
4889 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4890 * nptl/pthreadP.h: Likewise.
4891 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4892 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4893 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4894 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4895 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4896 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4897 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4898 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4899 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4900 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4901 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4902 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4904 Likewise.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4906 Likewise.
4907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4908 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4909 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4910 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4912 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4913 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4914 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4915
4916 * dlfcn/dladdr.c: Use IS_IN.
4917 * dlfcn/dladdr1.c: Likewise.
4918 * dlfcn/dlclose.c: Likewise.
4919 * dlfcn/dlerror.c: Likewise.
4920 * dlfcn/dlinfo.c: Likewise.
4921 * dlfcn/dlmopen.c: Likewise.
4922 * dlfcn/dlopen.c: Likewise.
4923 * dlfcn/dlsym.c: Likewise.
4924 * dlfcn/dlvsym.c: Likewise.
4925
4926 * include/ifaddrs.h: Use IS_IN.
4927 * inet/check_pf.c: Likewise.
4928 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4929 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4930
4931 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4932 IS_IN_ldconfig.
4933 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4934 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4935
4936 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4937 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4938 IS_IN (libc).
4939
4940 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4941
4942 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4943 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4944 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4945 * include/libc-symbols.h (IS_IN_LIB): New macro.
4946 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4947 * include/netdb.h: Likewise.
4948 * include/stap-probe.h: Remove all uses of IN_LIB.
4949
4950 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4951 instead of IN_MODULE.
4952 * include/libc-symbols.h (IN_MODULE): Define using
4953 MODULE_NAME.
4954 (PASTE_NAME, PASTE_NAME1): New macros.
4955 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4956 of IN_LIB.
4957 (STAP_PROBE_ASM): Likewise.
4958
4959 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4960
4961 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4962 __mach_init in dlopened libc.
4963
4964 2014-11-22 Mike Frysinger <vapier@gentoo.org>
4965
4966 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4967 * sysdeps/arm/preconfigure: Regenerate.
4968
4969 2014-11-21 Roland McGrath <roland@hack.frob.com>
4970
4971 * nptl/pthread_create.c (__pthread_create_2_1): Set
4972 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4973 when copying values from IATTR into PD.
4974
4975 2014-11-21 Will Newton <will.newton@linaro.org>
4976 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4977
4978 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4979 Refactor inline-asm. Also add comment.
4980
4981 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4982 ElfW macro instead of hardcoded Elf64 types.
4983 (la_aarch64_gnu_pltenter): Likewise.
4984 * sysdeps/aarch64/dl-machine.h
4985 (elf_machine_runtime_setup): Use ElfW(Addr).
4986
4987 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4988 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4989 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4990 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4991 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4992 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4993 (R_AARCH64_TLS_DTPMOD): This.
4994 (R_AARCH64_TLS_DTPREL64): Rename to ...
4995 (R_AARCH64_TLS_DTPREL): This.
4996 (R_AARCH64_TLS_TPREL64): Rename to ...
4997 (R_AARCH64_TLS_TPREL): This.
4998 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4999 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5000 R_AARCH64_TLS_TPREL64.
5001 (elf_machine_rela): Likewise.
5002
5003 2014-11-21 Torvald Riegel <triegel@redhat.com>
5004
5005 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5006 by setting it to 0. 64b atomics are not supported currently.
5007
5008 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5009
5010 [BZ #16469]
5011 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5012 search domain names.
5013
5014 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5015
5016 [BZ #16469]
5017 * NEWS: Update.
5018 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5019 trailing dot.
5020 * posix/tst-getaddrinfo5.c: New.
5021 * posix/Makefile (tests): Add it.
5022
5023 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5024
5025 [BZ #14498]
5026 * NEWS: Fixed.
5027 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5028 after parsing line but before break_if_match.
5029 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5030 if there is a protocol mismatch.
5031
5032 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5033
5034 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5035 because the potential race is on the user-supplied stream.
5036
5037 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5038
5039 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5040 string literal if not passed a buffer.
5041 * manual/job.texi (ctermid): Update reasoning, note deviation
5042 from posix, suggest mtasurace when not passed a buffer, for
5043 future non-preliminary safety notes.
5044
5045 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5046
5047 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5048 of not passing it a buffer.
5049 Reported by Peng Haitao.
5050
5051 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5052
5053 * manual/Makefile ($(objpfx)stamp-summary): Require
5054 check-safety.sh to pass.
5055 * manual/check-safety.sh: Wish for verification that every
5056 @deftypefn and @deftypefun is followed by a @safety remark.
5057
5058 2014-11-20 Roland McGrath <roland@hack.frob.com>
5059
5060 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5061
5062 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5063 PTHREAD_CANCEL_ASYNCHRONOUS.
5064 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5065 send SIGCANCEL.
5066
5067 * nptl/default-sched.h: New file.
5068 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5069 * nptl/pthread_create.c: Include it.
5070 (__pthread_create_2_1): Use collect_default_sched instead of making
5071 Linux syscalls here directly.
5072
5073 2014-11-20 Torvald Riegel <triegel@redhat.com>
5074
5075 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5076 __pthread_once): Use C11 atomics.
5077
5078 2014-11-20 Torvald Riegel <triegel@redhat.com>
5079
5080 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5081
5082 2014-11-20 Torvald Riegel <triegel@redhat.com>
5083
5084 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5085 atomic_thread_fence_acquire, atomic_thread_fence_release,
5086 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5087 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5088 atomic_compare_exchange_weak_relaxed,
5089 atomic_compare_exchange_weak_acquire,
5090 atomic_compare_exchange_weak_release,
5091 atomic_exchange_acquire, atomic_exchange_release,
5092 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5093 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5094 atomic_fetch_and_acquire,
5095 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5096
5097 2014-11-20 Torvald Riegel <triegel@redhat.com>
5098
5099 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5100 USE_ATOMIC_COMPILER_BUILTINS): Define.
5101 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5103 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5104 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5105 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5106 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5107 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5108 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5109 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5111 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5113 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5115 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5117 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5119 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5121 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5122 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5123 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5124 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5125 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5126 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5127 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5129 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5131 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5133 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5135 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5136 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5137 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5139 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5141
5142 2014-11-19 Roland McGrath <roland@hack.frob.com>
5143
5144 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5145 the sched_priority value here. It was already checked when the user
5146 called pthread_attr_setschedparam.
5147
5148 * nptl/tst-bad-schedattr.c: New file.
5149 * nptl/Makefile (tests): Add it.
5150
5151 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5152 Florian Weimer <fweimer@redhat.com>
5153 Joseph Myers <joseph@codesourcery.com>
5154 Adam Conrad <adconrad@0c3.net>
5155 Andreas Schwab <schwab@suse.de>
5156 Brooks <bmoses@google.com>
5157
5158 [BZ #17625]
5159 * wordexp-test.c (__dso_handle): Add prototype.
5160 (__register_atfork): Likewise.
5161 (__app_register_atfork): New function.
5162 (registered_forks): New global.
5163 (register_fork): New function.
5164 (test_case): Add 3 new tests for WRDE_CMDSUB.
5165 (main): Call __app_register_atfork.
5166 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5167 fork count is non-zero fail the test.
5168 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5169 is set.
5170 (parse_dollars): Remove check for WRDE_NOCMD.
5171 (parse_dquote): Likewise.
5172
5173 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5174
5175 * Makeconfig (built-modules): List non-library modules to be
5176 built.
5177 (module-cppflags): Include libc-modules.h for
5178 everything except shlib-versions.v.i.
5179 (CPPFLAGS): Use it.
5180 (before-compile): Add libc-modules.h.
5181 ($(common-objpfx)libc-modules.h,
5182 $(common-objpfx)libc-modules.stmp): New targets.
5183 (common-generated): Add libc-modules.h and libc-modules.stmp.
5184 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5185 * include/libc-symbols.h: Don't include libc-modules.h.
5186 * include/libc-modules.h: Remove file.
5187 * scripts/gen-libc-modules.awk: New script to generate
5188 libc-modules.h.
5189 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5190 Depend on libc-modules.stmp.
5191
5192 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5193
5194 * Makeconfig (in-module): Get value of libof set for the
5195 translation unit.
5196 (CPPFLAGS): Use $(in-module).
5197 * Makerules: Don't suffix routine names for nonlib.
5198 * include/libc-modules.h: New file.
5199 * include/libc-symbols.h: Include libc-modules.h
5200 (IS_IN): New macro to replace IS_IN_* macros.
5201 * elf/Makefile: Set libof-* for each routine.
5202 * elf/rtld-Rules: Likewise.
5203 * extra-modules.mk: Likewise.
5204 * iconv/Makefile: Likewise.
5205 * iconvdata/Makefile: Likewise.
5206 * locale/Makefile: Likewise.
5207 * malloc/Makefile: Likewise.
5208 * nss/Makefile: Likewise.
5209 * sysdeps/gnu/Makefile: Likewise.
5210 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5211 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5212 * sysdeps/s390/s390-64/Makefile: Likewise.
5213 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5214 CPPFLAGS for nscd instead of nonlib.
5215
5216 2014-11-18 Roland McGrath <roland@hack.frob.com>
5217
5218 * nptl/createthread.c: New file.
5219
5220 * nptl/createthread.c: Moved ...
5221 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5222
5223 * nptl/createthread.c: Add proper top-line comment.
5224 (do_clone): Folded into ...
5225 (create_thread): ... here. Take new arguments STOPPED_START and
5226 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5227 increment __nptl_threads, do event-reporting logic, do
5228 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5229 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5230 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5231 just send SIGCANCEL.
5232 * nptl/pthread_create.c: Forward-declare create_thread before
5233 including createthread.c.
5234 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5235 declaration, and new macro START_THREAD_SELF to replace argument.
5236 Remove return statement.
5237 (report_thread_creation): New function.
5238 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5239 synchronization logic, and __nptl_nthreads increment here, around
5240 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5241 PD->parent_cancelhandling here, before create_thread. When
5242 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5243 __deallocate_stack, and ENOMEM translation here.
5244
5245 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5246
5247 [BZ #17616]
5248 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5249 (mptwo): Rename to __mptwo.
5250 (__inv): Use __mptwo instead of mptwo.
5251 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5252 (mptwo): Rename to __mptwo.
5253 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5254 of mpone and __mptwo instead of mptwo.
5255 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5256 instead of mpone.
5257 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5258 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5259 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5260 of mpone and __mptwo instead of mptwo.
5261 (__mpranred): Use __mpone instead of mpone.
5262 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5263 variable.
5264 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5265 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5266 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5267 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5268 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5269 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5270 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5271 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5272 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5273 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5274 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5275 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5276 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5277 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5278 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5279 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5280 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5281 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5282 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5283
5284 2014-11-18 Tom de Vries <tom@codesoucery.com>
5285
5286 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5287 replace BSD Handler xref with BSD Signal Handling.
5288
5289 2014-11-17 Richard Henderson <rth@redhat.com>
5290
5291 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5292 (_FP_PACK_RAW_2): Remove.
5293 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5294 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5295 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5296 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5297 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5298 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5299 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5300 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5301 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5302 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5303 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5304 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5305 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5306 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5307 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5308 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5309
5310 2014-11-14 Roland McGrath <roland@hack.frob.com>
5311
5312 * signal/signal.h [__USE_MISC]
5313 (struct sigvec): Remove type.
5314 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5315 (sigvec): Remove declaration.
5316 * sysdeps/posix/sigvec.c: Moved ...
5317 * signal/sigvec.c: ... here, replacing old file.
5318 (struct sigvec): New type, copied from old signal.h definition.
5319 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5320 (__sigvec): Convert definition to prototype.
5321 (sigvec): Replace weak_alias with compat_symbol.
5322 * signal/Versions (libc: GLIBC_2.21): New version set.
5323 * include/signal.h: Remove __sigvec declaration.
5324 * sysdeps/unix/bsd/sigvec.c: Remove file.
5325 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5326 * manual/signal.texi (BSD Handler): Remove subsection.
5327 Move siginterrupt up to ...
5328 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5329 (Blocking in BSD): Fold subsection into its parent.
5330 * NEWS: Mention sigvec removal.
5331
5332 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5333
5334 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5335 (DLA_FMS): Make definition conditional only on [__FMA4__].
5336 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5337 definition.
5338
5339 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5340 Make definition conditional only on [PROF].
5341 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5342 definition.
5343 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5344 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5345
5346 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5347 !__GNUC__].
5348 * include/signal.h (__sigpause): Move declaration above call to
5349 libc_hidden_proto.
5350 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5351 variable.
5352 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5353 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5354
5355 2014-11-14 David S. Miller <davem@davemloft.net>
5356
5357 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5358 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5359
5360 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5361
5362 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5363 * configure: Regenerated.
5364 * manual/install.texi (Tools for Compilation): Document a
5365 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5366 compiler verified to work.
5367 * INSTALL: Regenerated.
5368
5369 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5370 redeclare with asm name.
5371 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5372 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5373 including <string.h>.
5374 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5375 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5376 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5377 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5378 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5379 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5380 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5381
5382 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5383
5384 * stdlib/strtol.c (__strtol): Use prototype definition.
5385
5386 [BZ #17594]
5387 * stdlib/strtol.c (SYM__): New macro.
5388 (SYM__1): Likewise.
5389 (__strtol): Likewise.
5390 (strtol): Rename to __strtol and define as weak alias of
5391 __strtol. Use libc_hidden_weak.
5392
5393 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5394
5395 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5396 Use numbered labels in inline assembly.
5397
5398 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5399
5400 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5401 Add setjmp LIBC_PROBE.
5402 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5403 Likewise.
5404 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5405 Add longjmp, longjmp_target LIBC_PROBE.
5406 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5407 Likewise.
5408
5409 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5410
5411 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5412 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5413 to get rid of unused variable warning.
5414
5415 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5416
5417 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5418 Check for unwind_backtrace == NULL only in SHARED case.
5419 (__backchain_backtrace): Compile only in SHARED case.
5420 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5421 Likewise.
5422 (__backchain_backtrace): Declare as static.
5423
5424 2014-11-12 Roland McGrath <roland@hack.frob.com>
5425
5426 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5427 (__libc_multiple_threads_ptr): Variable moved ...
5428 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5429
5430 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5431
5432 * conform/GlibcConform.pm: New file.
5433 * conform/conformtest.pl: Use GlibcConform module.
5434 * conform/linknamespace.pl: New file.
5435 * conform/list-header-symbols.pl: Likewise.
5436 * conform/Makefile (linknamespace-symlists-base): New variable.
5437 (linknamespace-symlists-tests): Likewise.
5438 (linknamespace-header-base): Likewise.
5439 (linknamespace-header-tests): Likewise.
5440 (tests-special): Add new tests.
5441 ($(linknamespace-symlists-tests)): New rule.
5442 (linknamespace-libs): New variable.
5443 ($(objpfx)symlist-stdlibs): New rule.
5444 ($(linknamespace-header-tests)): Likewise.
5445 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5446 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5447 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5448 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5449 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5450 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5451 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5452 (test-xfail-ISO/math.h/linknamespace): Likewise.
5453 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5454 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5455 (test-xfail-ISO/time.h/linknamespace): Likewise.
5456 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5457 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5458 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5459 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5460 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5461 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5462 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5463 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5464 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5465 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5466 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5467 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5468 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5469 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5470 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5471 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5472 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5473 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5474 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5475 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5476 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5477 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5478 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5479 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5480 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5481 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5482 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5483 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5484 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5485 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5486 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5487 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5488 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5489 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5490 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5491 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5492 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5493 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5494 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5495 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5496 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5497 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5498 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5499 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5500 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5501 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5502 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5503 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5504 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5505 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5506 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5507 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5508 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5509 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5510 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5511 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5512 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5513 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5514 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5515 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5516 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5517 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5518 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5519 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5520 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5521 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5522 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5523 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5524 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5525 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5526 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5527 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5528 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5529 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5530 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5531 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5532 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5533 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5534 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5535 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5536 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5537 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5538 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5539 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5540 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5541 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5542 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5543 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5544 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5545 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5546 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5547 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5548 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5549 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5550 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5551 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5552 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5553 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5554 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5555 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5556 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5557 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5558 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5559 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5560 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5561 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5562 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5563 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5564 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5565 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5566 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5567 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5568 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5569 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5570 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5571 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5572 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5573 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5574 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5575 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5576 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5577 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5578 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5579 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5580 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5581 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5582 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5583 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5584 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5585 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5586 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5587 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5588 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5589 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5590 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5591 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5592 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5593 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5594 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5595 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5596 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5597 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5598 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5599 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5600 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5601 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5602 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5603 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5604 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5605 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5606
5607 [BZ #17589]
5608 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5609 of fgets_unlocked.
5610
5611 [BZ #17585]
5612 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5613 (memmem): Rename to __memmem and define as weak alias of
5614 __memmem. Use libc_hidden_weak.
5615 (__memmem): Use libc_hidden_def.
5616 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5617 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5618 memmem.
5619
5620 [BZ #17582]
5621 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5622 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5623 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5624 and define as weak alias of __fgets_unlocked. Use
5625 libc_hidden_weak.
5626 (__fgets_unlocked): Use libc_hidden_def.
5627 * include/stdio.h (__fgets_unlocked): Declare. Use
5628 libc_hidden_proto.
5629 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5630 __fgets_unlocked instead of fgets_unlocked.
5631 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5632 (GET_NPROCS_CONF_PARSER): Likewise.
5633 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5634 (GET_NPROCS_CONF_PARSER): Likewise.
5635
5636 [BZ #17574]
5637 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5638 weak alias of __wmemset. Use libc_hidden_weak.
5639 (__wmemset): Use libc_hidden_def.
5640 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5641 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5642 of wmemset.
5643
5644 [BZ #17573]
5645 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5646 with asm name __mempcpy.
5647 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5648
5649 [BZ #17572]
5650 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5651 and define as weak alias of __rawmemchr.
5652 (__rawmemchr): Do not define as strong alias of rawmemchr.
5653
5654 [BZ #17571]
5655 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5656 alias of __qsort_r.
5657 (qsort): Call __qsort_r instead of qsort_r.
5658 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5659 (__qsort_r): Declare. Call libc_hidden_proto.
5660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5661 instead of qsort_r.
5662 * nscd/gai.c (__qsort_r): Define to qsort_r.
5663 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5664 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5665 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5666
5667 [BZ #17570]
5668 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5669 define as weak alias of __malloc_info.
5670
5671 [BZ #17584]
5672 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5673 as weak alias of __rewinddir. Don't use libc_hidden_def.
5674 (__rewinddir): Use libc_hidden_def.
5675 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5676 as weak alias of __rewinddir. Don't use libc_hidden_def.
5677 (__rewinddir): Use libc_hidden_def.
5678 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5679 weak alias of __rewinddir. Don't use libc_hidden_def.
5680 (__rewinddir): Use libc_hidden_def.
5681 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5682 (__rewinddir): Use libc_hidden_proto.
5683 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5684 rewinddir.
5685 (__getcwd): Use __rewinddir instead of rewinddir.
5686
5687 [BZ #17583]
5688 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5689 alias of __fileno. Use libc_hidden_weak.
5690 (__fileno): Use libc_hidden_def.
5691 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5692 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5693 alias of __ftello.
5694 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5695 __ftello.
5696 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5697 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5698 libc_hidden_def.
5699 (fread_unlocked): Don't use libc_hidden_ver.
5700 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5701 and define as weak alias of __fread_unlocked. Don't use
5702 libc_hidden_def.
5703 (__fread_unlocked): Use libc_hidden_def.
5704 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5705 (ftello): Don't use libc_hidden_proto.
5706 (__ftello): Declare. Use libc_hidden_proto.
5707 (fread_unlocked): Don't use libc_hidden_proto.
5708 (__fread_unlocked): Declare. Use libc_hidden_proto.
5709 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5710 and __ftello instead of fileno, fread_unlocked and ftello.
5711
5712 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5713
5714 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5715 GOT12.
5716 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5717 Likewise.
5718 (_dl_start_user): Likewise.
5719 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5720
5721 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5722 Siddhesh Poyarekar <siddhesh@redhat.com>
5723
5724 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5725 Move argv and envp down instead of moving argc up.
5726 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5727
5728 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5729
5730 [BZ #17506]
5731 * test-skeleton.c (main): Return successful if one of
5732 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5733 * string/tst-strcoll-overflow.c: Define expected status.
5734
5735 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5736
5737 [BZ #17475]
5738 * locale/iso-639.def: Define Bhili and Tulu language codes.
5739
5740 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5741
5742 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5743
5744 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5745
5746 [BZ #17555]
5747 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5748
5749 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5750
5751 * configure.ac: Updated check of minimal required version to
5752 2.22.
5753 * manual/install.texi (Tools for Compilation): Updated version
5754 number.
5755 * configure: Regenerated.
5756 * INSTALL: Likewise.
5757
5758 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5759
5760 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5761 __tls_get_addr.
5762
5763 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5764
5765 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5766 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5767 (__waitpid): Don't define as alias. Use libc_hidden_def not
5768 libc_hidden_weak.
5769 (waitpid): Define as alias of __waitpid.
5770 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5771 __waitpid.
5772 (__waitpid): Don't define as alias. Use libc_hidden_def not
5773 libc_hidden_weak.
5774 (waitpid): Define as alias of __waitpid.
5775 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5776 __libc_waitpid alias.
5777 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5778 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5779 Likewise.
5780 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5781 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5782 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5783 alias.
5784 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5785 __waitpid.
5786 (__waitpid): Don't define as alias. Use libc_hidden_def not
5787 libc_hidden_weak.
5788 (waitpid): Define as alias of __waitpid.
5789
5790 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5791
5792 * manual/llio.texi: Add comment that write safety has been
5793 fixed in Linux.
5794
5795 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5796 (localplt-build-dso): Add elf/ld.so.
5797 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5798 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5799 and free for ld.so.
5800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5801 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5803 Likewise.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5805 Likewise.
5806 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5807 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5808 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5809 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5810 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5811 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5812 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5813 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5814 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5816 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5817
5818 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5819
5820 [BZ #14132]
5821 * include/libc-symbols.h (INTUSE): Remove macro.
5822 (INTDEF): Likewise.
5823 (INTVARDEF): Likewise.
5824 (_INTVARDEF): Likewise.
5825 (INTDEF2): Likewise.
5826 (INTVARDEF2): Likewise.
5827 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5828 rtld_hidden_def instead of INTVARDEF.
5829 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5830 (_dl_starting_up_internal): Remove declaration.
5831 (_dl_starting_up): Use rtld_hidden_proto.
5832 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5833 declaration.
5834 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5835 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5836 _dl_starting_up.
5837 * elf/dl-writev.h (_dl_writev): Likewise.
5838 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5839 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5840 _dl_starting_up_internal.
5841
5842 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5843
5844 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5845 test-skeleton.c.
5846
5847 2014-11-05 Will Newton <will.newton@linaro.org>
5848
5849 * benchtests/Makefile: (bench-malloc): Add malloc thread
5850 scalability benchmark.
5851 * benchtests/bench-malloc-threads.c: New file.
5852
5853 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5854
5855 * sysdeps/aarch64/strchrnul.S: New file.
5856
5857 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5858
5859 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5860 definition.
5861 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5862 Likwise.
5863 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5864 Likewise.
5865 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5866 Likewise.
5867 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5868 Likewise.
5869 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5870 Likewise.
5871
5872 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5873
5874 * catgets/test-gencat.c: Use test-skeleton.c.
5875 * catgets/tst-catgets.c: Likewise.
5876 * csu/tst-empty.c: Likewise.
5877 * elf/tst-audit2.c: Likewise.
5878 * elf/tst-global1.c: Likewise.
5879 * elf/tst-pathopt.c: Likewise.
5880 * elf/tst-piemod1.c: Likewise.
5881 * elf/tst-tls10.c: Likewise.
5882 * elf/tst-tls11.c: Likewise.
5883 * elf/tst-tls12.c: Likewise.
5884 * gnulib/tst-gcc.c: Likewise.
5885 * iconvdata/tst-e2big.c: Likewise.
5886 * iconvdata/tst-loading.c: Likewise.
5887 * iconv/tst-iconv1.c: Likewise.
5888 * iconv/tst-iconv2.c: Likewise.
5889 * inet/test-inet6_opt.c: Likewise.
5890 * inet/tst-gethnm.c: Likewise.
5891 * inet/tst-network.c: Likewise.
5892 * inet/tst-ntoa.c: Likewise.
5893 * intl/tst-codeset.c: Likewise.
5894 * intl/tst-gettext2.c: Likewise.
5895 * intl/tst-gettext3.c: Likewise.
5896 * intl/tst-ngettext.c: Likewise.
5897 * intl/tst-translit.c: Likewise.
5898 * io/test-stat.c: Likewise.
5899 * libio/test-fmemopen.c: Likewise.
5900 * libio/tst-freopen.c: Likewise.
5901 * libio/tst-sscanf.c: Likewise.
5902 * libio/tst-ungetwc1.c: Likewise.
5903 * libio/tst-ungetwc2.c: Likewise.
5904 * libio/tst-widetext.c: Likewise.
5905 * localedata/tst-ctype.c: Likewise.
5906 * localedata/tst-digits.c: Likewise.
5907 * localedata/tst-leaks.c: Likewise.
5908 * localedata/tst-mbswcs1.c: Likewise.
5909 * localedata/tst-mbswcs2.c: Likewise.
5910 * localedata/tst-mbswcs3.c: Likewise.
5911 * localedata/tst-mbswcs4.c: Likewise.
5912 * localedata/tst-mbswcs5.c: Likewise.
5913 * localedata/tst-setlocale.c: Likewise.
5914 * localedata/tst-trans.c: Likewise.
5915 * localedata/tst-wctype.c: Likewise.
5916 * localedata/tst-xlocale1.c: Likewise.
5917 * login/tst-grantpt.c: Likewise.
5918 * malloc/tst-calloc.c: Likewise.
5919 * malloc/tst-malloc.c: Likewise.
5920 * malloc/tst-mallocstate.c: Likewise.
5921 * malloc/tst-mcheck.c: Likewise.
5922 * malloc/tst-mtrace.c: Likewise.
5923 * malloc/tst-obstack.c: Likewise.
5924 * math/atest-exp2.c: Likewise.
5925 * math/atest-exp.c: Likewise.
5926 * math/atest-sincos.c: Likewise.
5927 * math/test-matherr.c: Likewise.
5928 * math/test-misc.c: Likewise.
5929 * math/test-powl.c: Likewise.
5930 * math/tst-definitions.c: Likewise.
5931 * misc/tst-dirname.c: Likewise.
5932 * misc/tst-efgcvt.c: Likewise.
5933 * misc/tst-fdset.c: Likewise.
5934 * misc/tst-hsearch.c: Likewise.
5935 * misc/tst-mntent2.c: Likewise.
5936 * nptl/tst-sem7.c: Likewise.
5937 * nptl/tst-sem8.c: Likewise.
5938 * nptl/tst-sem9.c: Likewise.
5939 * nss/test-netdb.c: Likewise.
5940 * posix/tst-fnmatch.c: Likewise.
5941 * posix/tst-getlogin.c: Likewise.
5942 * posix/tst-gnuglob.c: Likewise.
5943 * posix/tst-mmap.c: Likewise.
5944 * pwd/tst-getpw.c: Likewise.
5945 * resolv/tst-inet_ntop.c: Likewise.
5946 * rt/tst-timer.c: Likewise.
5947 * stdio-common/test-fseek.c: Likewise.
5948 * stdio-common/test-popen.c: Likewise.
5949 * stdio-common/test-vfprintf.c: Likewise.
5950 * stdio-common/tst-cookie.c: Likewise.
5951 * stdio-common/tst-fileno.c: Likewise.
5952 * stdio-common/tst-gets.c: Likewise.
5953 * stdio-common/tst-obprintf.c: Likewise.
5954 * stdio-common/tst-perror.c: Likewise.
5955 * stdio-common/tst-sprintf2.c: Likewise.
5956 * stdio-common/tst-sprintf3.c: Likewise.
5957 * stdio-common/tst-sprintf.c: Likewise.
5958 * stdio-common/tst-swprintf.c: Likewise.
5959 * stdio-common/tst-tmpnam.c: Likewise.
5960 * stdio-common/tst-unbputc.c: Likewise.
5961 * stdio-common/tst-wc-printf.c: Likewise.
5962 * stdlib/tst-environ.c: Likewise.
5963 * stdlib/tst-fmtmsg.c: Likewise.
5964 * stdlib/tst-limits.c: Likewise.
5965 * stdlib/tst-rand48-2.c: Likewise.
5966 * stdlib/tst-rand48.c: Likewise.
5967 * stdlib/tst-random2.c: Likewise.
5968 * stdlib/tst-random.c: Likewise.
5969 * stdlib/tst-strtol.c: Likewise.
5970 * stdlib/tst-strtoll.c: Likewise.
5971 * stdlib/tst-tls-atexit.c: Likewise.
5972 * stdlib/tst-xpg-basename.c: Likewise.
5973 * string/test-ffs.c: Likewise.
5974 * string/tst-bswap.c: Likewise.
5975 * string/tst-inlcall.c: Likewise.
5976 * string/tst-strtok.c: Likewise.
5977 * string/tst-strxfrm.c: Likewise.
5978 * sysdeps/x86_64/tst-audit10.c: Likewise.
5979 * sysdeps/x86_64/tst-audit3.c: Likewise.
5980 * sysdeps/x86_64/tst-audit4.c: Likewise.
5981 * sysdeps/x86_64/tst-audit5.c: Likewise.
5982 * time/tst-ftime_l.c: Likewise.
5983 * time/tst-getdate.c: Likewise.
5984 * time/tst-mktime3.c: Likewise.
5985 * time/tst-mktime.c: Likewise.
5986 * time/tst-posixtz.c: Likewise.
5987 * time/tst-strptime2.c: Likewise.
5988 * time/tst-strptime3.c: Likewise.
5989 * wcsmbs/tst-btowc.c: Likewise.
5990 * wcsmbs/tst-mbrtowc.c: Likewise.
5991 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5992 * wcsmbs/tst-wchar-h.c: Likewise.
5993 * wcsmbs/tst-wcpncpy.c: Likewise.
5994 * wcsmbs/tst-wcrtomb.c: Likewise.
5995 * wcsmbs/tst-wcsnlen.c: Likewise.
5996 * wcsmbs/tst-wcstof.c: Likewise.
5997
5998 2014-11-04 Joseph Myers <joseph@codesourcery.com>
5999
6000 [BZ #14132]
6001 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6002 INTDEF.
6003 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6004 declaration.
6005 (_dl_mcount): Use rtld_hidden_proto.
6006 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6007 _dl_mcount.
6008 * elf/rtld.c (_rtld_global_ro): Likewise.
6009
6010 [BZ #14132]
6011 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6012 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6013 of _dl_init_internal.
6014 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6015 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6016 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6017 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6018 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6019 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6020 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6021 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6022 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6023 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6024 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6025 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6026 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6027 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6028 * sysdeps/tile/dl-start.S (_start): Likewise.
6029 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6030 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6031
6032 [BZ #14132]
6033 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6034 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6035 (rtld_progname): Make macro definition unconditional.
6036 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6037 INTDEF.
6038 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6039 (dl_main): Likewise.
6040 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6041 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6042 instead of _dl_argv_internal.
6043 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6044 __GI__dl_argv instead of INTUSE(_dl_argv).
6045 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6046 __GI__dl_argv instead of _dl_argv_internal.
6047
6048 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6049 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6050 macro.
6051 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6052 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6053 New macro.
6054 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6055 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6056 macro.
6057 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6058 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6059
6060 2014-11-04 Andreas Schwab <schwab@suse.de>
6061
6062 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6063
6064 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065
6066 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6067 mtvsrd instruction in binary form.
6068
6069 2014-11-03 Andreas Schwab <schwab@suse.de>
6070
6071 [BZ #17522]
6072 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6073 for less than MB_LEN_MAX use a local buffer of that size.
6074 * libio/tst-fputws.c: New file.
6075 * libio/Makefile (tests): Add tst-fputws.
6076
6077 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6078
6079 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6080 the size of the fpu_fr.fpu_dregs[] array.
6081
6082 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6083
6084 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6085 (__nanosleep): Do not define as alias.
6086 (nanosleep): Define as alias of __nanosleep.
6087 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6088 __libc_nanosleep name.
6089
6090 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6091
6092 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6093 install.texi in comment.
6094
6095 2014-10-31 Torvald Riegel <triegel@redhat.com>
6096
6097 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6098 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6099 ... add here and use lwsync or sync ...
6100 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6101 ... and add here using lwsync.
6102
6103 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6104
6105 * elf/dl-machine-reject-phdr.h: New file.
6106 * elf/dl-load.c: #include that.
6107 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6108 if that returned true.
6109
6110 2014-10-31 Roland McGrath <roland@hack.frob.com>
6111
6112 [BZ #17496]
6113 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6114 gen-as-const-headers chunk. Add a big scare comment after the last
6115 safe place to touch before-compile.
6116
6117 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6118
6119 * manual/install.texi (Tools for Compilation): Update autoconf
6120 version requirements.
6121 * INSTALL: Regenerated.
6122
6123 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6124 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6125 (__libc_pselect): Likewise.
6126
6127 [BZ #14138]
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6132
6133 2014-10-31 Torvald Riegel <triegel@redhat.com>
6134
6135 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6136 correct barrier instruction.
6137 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6138 Likewise.
6139 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6140 Likewise.
6141
6142 2014-10-30 Roland McGrath <roland@hack.frob.com>
6143
6144 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6145 after defining inlines. Instead, just use parens to defeat macro
6146 expansion of __isctype in its declaration.
6147
6148 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6149
6150 * include/sys/uio.h (__libc_readv): Remove declaration.
6151 (__libc_writev): Likewise.
6152 * misc/readv.c (__libc_readv): Rename to __readv.
6153 (__readv): Do not define as alias.
6154 (readv): Define as alias of __readv.
6155 * misc/writev.c (__libc_writev): Rename to __writev.
6156 (__writev): Do not define as alias.
6157 (writev): Define as alias of __writev.
6158 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6159 (__readv): Do not define as alias.
6160 (readv): Define unconditionally as alias of __readv.
6161 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6162 (__writev): Do not define as alias.
6163 (writev): Define unconditionally as alias of __writev.
6164 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6165 name.
6166 (writev): Do not define __libc_writev name.
6167
6168 2014-10-30 Roland McGrath <roland@hack.frob.com>
6169
6170 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6171 (convert_charseq): New function, broken out of ...
6172 (use_from_charmap): ... here. Call it.
6173 (use_to_charmap): Use convert_charseq and free instead of duplicating
6174 its code with a variable-length stack struct.
6175
6176 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6177
6178 * include/fcntl.h (__libc_creat): Remove declaration.
6179 * io/creat.c (__libc_creat): Rename to creat.
6180 (creat): Do not define as alias.
6181 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6182 of creat instead of __libc_creat.
6183 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6184 to creat.
6185 (creat): Do not define as alias.
6186 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6187 __libc_creat.
6188 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6189 __libc_creat name.
6190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6191 Likewise.
6192
6193 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6194
6195 * manual/llio.texi: Add comments discussing why write() may be
6196 considered MT-unsafe on Linux.
6197
6198 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6199
6200 * dl-load.c (local_strdup): Remove.
6201 (expand_dynamic_string_token): Use __strdup.
6202 (decompose_rpath): Likewise.
6203 (_dl_map_object): Likewise.
6204
6205 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6206
6207 [BZ #14132]
6208 * sysdeps/generic/unwind-dw2-fde.c
6209 (__register_frame_info_bases_internal): Do not declare.
6210 (__register_frame_info_table_bases_internal): Likewise.
6211 (__deregister_frame_info_bases_internal): Likewise.
6212 (__register_frame_info_bases): Declare and use hidden_proto before
6213 definition. Use hidden_def instead of INTDEF.
6214 (__register_frame_info_table_bases): Likewise.
6215 (__deregister_frame_info_bases): Likewise.
6216 (__register_frame_info): Do not use INTUSE.
6217 (__register_frame): Likewise.
6218 (__register_frame_info_table): Likewise.
6219 (__register_frame_table): Likewise.
6220 (__deregister_frame_info): Likewise.
6221 (__deregister_frame): Likewise.
6222
6223 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6224
6225 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6226 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6227 not undefine.
6228 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6229 Likewise.
6230 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6231 Likewise.
6232
6233 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6234
6235 [BZ #14138]
6236 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6237 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6238 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6239 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6240 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6241 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6242 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6243 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6244 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6245 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6246 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6247 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6248 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6249 syscall.
6250 (setfsuid): Likewise.
6251 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6252 (setfsuid): Likewise.
6253 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6254 (setfsuid): Likewise.
6255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6256 Likewise.
6257 (setfsuid): Likewise.
6258 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6259 (setfsuid): Likewise.
6260 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6261 Likewise.
6262 (setfsuid): Likewise.
6263
6264 2014-10-27 Andreas Schwab <schwab@suse.de>
6265
6266 [BZ #17501]
6267 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6268 check for Slow_SSE4_2 feature bit.
6269 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6270 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6271 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6272 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6273
6274 2014-10-24 Roland McGrath <roland@hack.frob.com>
6275
6276 * configure.ac: Validate compiler version with a empirical test of
6277 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6278 $CC -v output.
6279 * configure: Regenerated.
6280
6281 * inet/htons.c (htons): Prototypify.
6282 * inet/htonl.c (htonl): Likewise.
6283
6284 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6285
6286 * string/strncat.c (strncat): Improve performance by using strlen.
6287
6288 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6289
6290 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6291
6292 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6293
6294 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6295 Call libc_fetestexcept_aarch64.
6296
6297 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6298
6299 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6300 Call libc_feholdexcept_aarch64.
6301
6302 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6303
6304 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6305 Call get_rounding_mode.
6306
6307 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6308
6309 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6310 Simplify logic.
6311
6312 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6313
6314 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6315 Simplify logic.
6316
6317 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6318
6319 [BZ #14138]
6320 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6321 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6322 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6323 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6324 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6325 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6326 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6327 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6328 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6329 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6330 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6331 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6332 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6333 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6334 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6335 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6336 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6337 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6338 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6339 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6340 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6341 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6342 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6343 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6344 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6345 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6347 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6348 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6349 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6350 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6351 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6352 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6353 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6354 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6355 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6356 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6357 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6358 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6359 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6360 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6361 syscall.
6362 (geteuid): Likewise.
6363 (getgid): Likewise.
6364 (getuid): Likewise.
6365 (getresgid): Likewise.
6366 (getresuid): Likewise.
6367 (getgroups): Likewise.
6368 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6369 (geteuid): Likewise.
6370 (getgid): Likewise.
6371 (getuid): Likewise.
6372 (getresgid): Likewise.
6373 (getresuid): Likewise.
6374 (getgroups): Likewise.
6375 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6376 (geteuid): Likewise.
6377 (getgid): Likewise.
6378 (getuid): Likewise.
6379 (getresgid): Likewise.
6380 (getresuid): Likewise.
6381 (getgroups): Likewise.
6382 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6383 Likewise.
6384 (geteuid): Likewise.
6385 (getgid): Likewise.
6386 (getuid): Likewise.
6387 (getresgid): Likewise.
6388 (getresuid): Likewise.
6389 (getgroups): Likewise.
6390 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6391 (geteuid): Likewise.
6392 (getgid): Likewise.
6393 (getuid): Likewise.
6394 (getresgid): Likewise.
6395 (getresuid): Likewise.
6396 (getgroups): Likewise.
6397 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6398 Likewise.
6399 (geteuid): Likewise.
6400 (getgid): Likewise.
6401 (getuid): Likewise.
6402 (getgroups): Likewise.
6403
6404 [BZ #14138]
6405 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6406 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6407 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6408 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6409 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6410 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6411 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6412 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6413 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6414 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6415 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6416 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6417 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6418 __chown.
6419 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6420 (lchown): Likewise.
6421 (fchown): Likewise.
6422 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6423 Likewise.
6424 (lchown): Likewise.
6425 (fchown): Likewise.
6426 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6427 (lchown): Likewise.
6428 (fchown): Likewise.
6429 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6430 Likewise.
6431 (lchown): Likewise.
6432 (fchown): Likewise.
6433
6434 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6435
6436 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6437 Simplify logic.
6438
6439 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6440
6441 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6442 Cleanup logic.
6443
6444 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6445
6446 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6447 Remove unused include.
6448
6449 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6450
6451 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6452 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6453 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6454 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6455
6456 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6457 Helge Deller <deller@gmx.de>
6458
6459 [BZ #17508]
6460 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6461 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6462 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6463
6464 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6465
6466 [BZ #14132]
6467 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6468 Remove macro definition.
6469 (__ashrdi3_v_glibc20): Likewise.
6470 (__lshrdi3_v_glibc20): Likewise.
6471 (__cmpdi2_v_glibc20): Likewise.
6472 (__ucmpdi2_v_glibc20): Likewise.
6473 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6474 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6475 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6476 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6477 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6478 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6479
6480 2014-10-22 Roland McGrath <roland@hack.frob.com>
6481
6482 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6483 old GNU extension [0] syntax.
6484 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6485 alloca rather than an array member with variable length.
6486 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6487 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6488 (parse_opt): ... here. Likewise use alloca there.
6489 Validate the -i argument before checking for rootness.
6490 (send_shutdown): New function, broken out of ...
6491 (parse_opt): ... here.
6492
6493 2014-10-22 Roland McGrath <roland@hack.frob.com>
6494
6495 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6496 macro to get at the _rt_local_ro field.
6497 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6498 ([PIC] case) or _dl_hwcap ([!PIC] case).
6499 * sysdeps/arm/setjmp.S: Likewise.
6500
6501 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6502 * sysdeps/arm/configure.ac: New check to define it.
6503 * sysdeps/arm/configure: Regenerated.
6504 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6505 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6506 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6507 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6508 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6509 Use move/movt pair instead of a load.
6510 (LDST_GLOBAL): Macro removed.
6511 (LDR_GLOBAL): New macro replaces it.
6512 (LDR_HIDDEN): New macro.
6513 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6514 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6515
6516 * setjmp/tst-setjmp-static.c: New file.
6517 * setjmp/Makefile (tests): Add it.
6518 (tests-static): New variable.
6519
6520 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6521
6522 [BZ #17485]
6523 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6524
6525 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6526
6527 [BZ #14132]
6528 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6529
6530 2014-10-21 Roland McGrath <roland@hack.frob.com>
6531
6532 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6533
6534 2014-10-20 Roland McGrath <roland@hack.frob.com>
6535
6536 * io/fts.c (dirent_not_directory): New function.
6537 (fts_build): Call it.
6538
6539 2014-10-20 Roland McGrath <roland@hack.frob.com>
6540
6541 * nptl/version.c (__nptl_main): Use normal __write rather than
6542 INTERNAL_SYSCALL.
6543 (banner): Update copyright years.
6544
6545 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6546 gettimeofday.
6547 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6548 * nptl/pthread_cond_timedwait.c: Likewise.
6549 * nptl/pthread_mutex_timedlock.c: Likewise.
6550 * nptl/sem_timedwait.c: Likewise.
6551
6552 * sysdeps/nptl/bits/libc-lock.h
6553 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6554 (__libc_lock_init_recursive): Return void, not 0.
6555 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6556 (__libc_rwlock_init): Likewise.
6557 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6558
6559 2014-10-20 Torvald Riegel <triegel@redhat.com>
6560
6561 [BZ #15215]
6562 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6563 (__pthread_once_slow): ... here.
6564 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6565 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6566
6567 2014-10-20 Torvald Riegel <triegel@redhat.com>
6568
6569 [BZ #15215]
6570 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6571 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6572 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6573 * nptl/pthread_once.c (__pthread_once): Likewise.
6574 Update comments.
6575
6576 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6577
6578 [BZ #14138]
6579 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6580 name.
6581 (writev): Use __libc_writev as strong name.
6582 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6583 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6584
6585 2014-10-17 Roland McGrath <roland@hack.frob.com>
6586
6587 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6588
6589 * sysdeps/i386/nptl/tls.h
6590 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6591 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6592 New macros.
6593 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6594 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6595 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6596 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6597 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6598 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6599
6600 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6601 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6602 on [__NR_futex].
6603 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6604 broken out of ...
6605 (__pthread_mutex_init): ... here. Call it.
6606 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6607 Conditionalize PI cases on [__NR_futex].
6608 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6609 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6610 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6611
6612 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6613 conditional on [SIGSETXID].
6614 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6615 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6616 is defined. Likewise for SIGSETXID.
6617 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6618 Conditionalize definitions on [SIGSETXID].
6619 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6620 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6621 unblocking on [SIGCANCEL].
6622
6623 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6624 [__NR_set_robust_list].
6625
6626 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6627
6628 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6629 (do_compare): Likewise.
6630
6631 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6632
6633 [BZ #15884]
6634 * string/strcoll_l.c: Don't include stdio.h.
6635 (coll_seq): Remove members idxarr and rulearr.
6636 (get_next_seq_cached): Remove function.
6637 (get_next_seq): Likewise.
6638 (get_next_seq_nocache): Rename to get_next_seq.
6639 (do_compare): Remove function.
6640 (do_compare_nocache): Rename to do_compare.
6641 (STRCOLL): Remove weight and rules cache.
6642
6643 2014-10-16 Roland McGrath <roland@hack.frob.com>
6644
6645 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6646 * sysdeps/arm/sfp-machine.h: ... to here.
6647 * sysdeps/arm/Implies: Remove arm/soft-fp.
6648
6649 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6650
6651 * conform/data/sys/utsname.h-data (*_t): Allow.
6652 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6653 [POSIX] (WEXITED): Do not expect constant.
6654 [POSIX] (WSTOPPED): Likewise.
6655 [POSIX] (WNOHANG): Likewise.
6656 [POSIX] (WNOWAIT): Likewise.
6657 [POSIX] (siginfo_t): Do not expect type or elements.
6658 [POSIX] (pid_t): Do not expect type.
6659 [POSIX] (signal.h): Do not allow header.
6660 [POSIX] (sys/resource.h): Likewise.
6661 [POSIX] (si_*): Do not allow pattern.
6662 [POSIX] (W*): Likewise.
6663 [POSIX] (P_*): Likewise.
6664 [POSIX] (BUS_*): Likewise.
6665 [POSIX] (CLD_*): Likewise.
6666 [POSIX] (FPE_*): Likewise.
6667 [POSIX] (ILL_*): Likewise.
6668 [POSIX] (POLL_*): Likewise.
6669 [POSIX] (SEGV_*): Likewise.
6670 [POSIX] (SI_*): Likewise.
6671 [POSIX] (TRAP_*): Likewise.
6672 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6673 variable.
6674
6675 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6676
6677 [BZ #12926]
6678 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6679 infinite loop when __recvmsg returns 0.
6680
6681 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6682
6683 * CANCEL-FCT-WAIVE: Remove file.
6684 * CANCEL-FILE-WAIVE: Likewise.
6685
6686 [BZ #14132]
6687 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6688 instead of INTVARDEF.
6689 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6690 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6691 rtld_hidden_data_def instead of INTVARDEF.
6692 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6693 * elf/dl-deps.c (expand_dst): Likewise.
6694 * elf/dl-load.c (_dl_dst_count): Likewise.
6695 (_dl_dst_substitute): Likewise.
6696 (decompose_rpath): Likewise.
6697 (_dl_init_paths): Likewise.
6698 (open_path): Likewise.
6699 (_dl_map_object): Likewise.
6700 * elf/rtld.c (dl_main): Likewise.
6701 (process_dl_audit): Likewise.
6702 (process_envvars): Likewise.
6703 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6704 Remove declaration.
6705 (__libc_enable_secure): Use rtld_hidden_proto.
6706
6707 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6708
6709 * elf/dl-load.c
6710 (add_path): New function broken out of _dl_rtld_di_serinfo.
6711 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6712
6713 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6714
6715 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6716 parentheses around macro arguments.
6717 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6718 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6719 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6721 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6722 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6723 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6724 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6725 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6728 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6729 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6730 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6731 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6732 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6733 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6734 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6735 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6737 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6739 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6740 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6741 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6742 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6743 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6746 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6747 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6748 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6749 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6750 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6751 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6752 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6753 Likewise.
6754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6755 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6756 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6760 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6761 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6762 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6763 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6764 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6765 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6766 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6769 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6770 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6773 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6774 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6775 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6776 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6777 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6778 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6779 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6780 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6781 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6782 (_FP_FRAC_SRS_1): Likewise.
6783 (_FP_FRAC_CLZ_1): Likewise.
6784 (_FP_MUL_MEAT_1_imm): Likewise.
6785 (_FP_MUL_MEAT_1_wide): Likewise.
6786 (_FP_MUL_MEAT_1_hard): Likewise.
6787 (_FP_SQRT_MEAT_1): Likewise.
6788 (_FP_FRAC_ASSEMBLE_1): Likewise.
6789 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6790 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6791 (__FP_CLZ_2): Likewise.
6792 (_FP_MUL_MEAT_2_wide): Likewise.
6793 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6794 (_FP_MUL_MEAT_2_gmp): Likewise.
6795 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6796 (_FP_SQRT_MEAT_2): Likewise.
6797 (_FP_FRAC_ASSEMBLE_2): Likewise.
6798 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6799 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6800 (_FP_FRAC_CLZ_4): Likewise.
6801 (_FP_MUL_MEAT_4_wide): Likewise.
6802 (_FP_MUL_MEAT_4_gmp): Likewise.
6803 (_FP_SQRT_MEAT_4): Likewise.
6804 (_FP_FRAC_ASSEMBLE_4): Likewise.
6805 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6806 * soft-fp/op-common.h (_FP_CMP): Likewise.
6807 (_FP_CMP_EQ): Likewise.
6808 (_FP_CMP_UNORD): Likewise.
6809 (_FP_TO_INT): Likewise.
6810 (_FP_FROM_INT): Likewise.
6811 [!__FP_CLZ] (__FP_CLZ): Likewise.
6812 (_FP_DIV_HELP_imm): Likewise.
6813 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6814 Likewise.
6815 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6817 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6819 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6820 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6821 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6823 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6826 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6827 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6828 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6829 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6830 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6831 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6832 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6833 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6834 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6835 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6838 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6839 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6841 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6844 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6845 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6846 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6847 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6848 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6849 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6850 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6851 (FP_UNPACK_RAW_SP): Likewise.
6852 (FP_PACK_RAW_S): Likewise.
6853 (FP_PACK_RAW_SP): Likewise.
6854 (FP_UNPACK_S): Likewise.
6855 (FP_UNPACK_SP): Likewise.
6856 (FP_UNPACK_SEMIRAW_S): Likewise.
6857 (FP_UNPACK_SEMIRAW_SP): Likewise.
6858 (FP_PACK_S): Likewise.
6859 (FP_PACK_SP): Likewise.
6860 (FP_PACK_SEMIRAW_S): Likewise.
6861 (FP_PACK_SEMIRAW_SP): Likewise.
6862 (_FP_SQRT_MEAT_S): Likewise.
6863 (FP_CMP_S): Likewise.
6864 (FP_CMP_EQ_S): Likewise.
6865 (FP_CMP_UNORD_S): Likewise.
6866 (FP_TO_INT_S): Likewise.
6867 (FP_FROM_INT_S): Likewise.
6868
6869 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6870
6871 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6872 (FP_EX_INVALID_IMZ): Likewise.
6873 (FP_EX_INVALID_IMZ_FMA): Likewise.
6874 (FP_EX_INVALID_ISI): Likewise.
6875 (FP_EX_INVALID_ZDZ): Likewise.
6876 (FP_EX_INVALID_IDI): Likewise.
6877 (FP_EX_INVALID_SQRT): Likewise.
6878 (FP_EX_INVALID_CVI): Likewise.
6879 (FP_EX_INVALID_VC): Likewise.
6880 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6881 "invalid" exceptions.
6882 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6883 (_FP_ADD_INTERNAL): Likewise.
6884 (_FP_MUL): Likewise.
6885 (_FP_FMA): Likewise.
6886 (_FP_DIV): Likewise.
6887 (_FP_CMP_CHECK_NAN): Likewise.
6888 (_FP_SQRT): Likewise.
6889 (_FP_TO_INT): Likewise.
6890 (FP_EXTEND): Likewise.
6891
6892 2014-10-09 Allan McRae <allan@archlinux.org>
6893
6894 * po/fr.po: Update French translation from translation project.
6895
6896 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6897
6898 [BZ #14132]
6899 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6900 of INTDEF.
6901 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6902 (__cxa_atexit): Use libc_hidden_proto.
6903 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6904
6905 [BZ #14132]
6906 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6907 declaration.
6908 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6909 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6910 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6911 [!_ISOMAC] (__iswctype_internal): Likewise.
6912 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6913 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6914 alias.
6915 (fcntl): Remove __fcntl_internal alias.
6916 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6917 __connect_internal alias.
6918 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6919 Likewise.
6920
6921 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6922 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6923 FP_DENORM_ZERO.
6924 (_FP_CHECK_FLUSH_ZERO): New macro.
6925 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6926 (_FP_CMP): Likewise.
6927 (_FP_CMP_EQ): Likewise.
6928 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6929 FP_DENORM_ZERO.
6930 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6931 (FP_TRUNC): Likewise.
6932
6933 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6934 treated as invalid conversion, not as normal exponent.
6935
6936 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6937 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6938 (_FP_CMP_EQ): Likewise.
6939 (_FP_CMP_UNORD): Likewise.
6940 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6941 (FP_CMP_EQ_D): Likewise.
6942 (FP_CMP_UNORD_D): Likewise.
6943 * soft-fp/extended.h (FP_CMP_E): Likewise.
6944 (FP_CMP_EQ_E): Likewise.
6945 (FP_CMP_UNORD_E): Likewise.
6946 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6947 (FP_CMP_EQ_Q): Likewise.
6948 (FP_CMP_UNORD_Q): Likewise.
6949 * soft-fp/single.h (FP_CMP_S): Likewise.
6950 (FP_CMP_EQ_S): Likewise.
6951 (FP_CMP_UNORD_S): Likewise.
6952 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6953 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6954 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6955 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6956 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6957 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6958 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6959 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6960 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6961 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6962 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6963 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6964 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6965 to FP_CMP_Q.
6966 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6967 FP_CMP_Q.
6968 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6969 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6970 FP_CMP_EQ_Q.
6971 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6972 FP_CMP_Q.
6973 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6974 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6975 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6976 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6977 FP_CMP_EQ_Q.
6978 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6979 FP_CMP_Q.
6980 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6981 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6982 FP_CMP_EQ_Q.
6983 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6984 FP_CMP_Q.
6985 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6986 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6987 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6988 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6989 FP_CMP_EQ_Q.
6990
6991 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6992 a subnormal result, set the underflow exception if trapping on
6993 underflow is enabled.
6994 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6995 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6996 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6997 redefine to 0.
6998 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6999 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7000 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7001 * soft-fp/extendxftf2.c (__extendxftf2): Use
7002 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7003
7004 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7005 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7006 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7007 FP_HANDLE_EXCEPTIONS.
7008 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7009 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7010 FP_HANDLE_EXCEPTIONS.
7011 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7012 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7013 FP_HANDLE_EXCEPTIONS.
7014 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7015 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7016 FP_HANDLE_EXCEPTIONS.
7017
7018 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7019
7020 [BZ #14132]
7021 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7022 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7023 use INTUSE.
7024 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7025 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7026 Remove alias.
7027 (__adjtimex): Define using libc_hidden_ver.
7028 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7029 Remove declaration.
7030 (ntp_gettime): Call __adjtimex directly.
7031 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7032 Remove declaration.
7033 (ntp_gettimex): Call __adjtimex directly.
7034 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7035 __adjtimex_internal alias.
7036
7037 2014-10-08 Roland McGrath <roland@hack.frob.com>
7038
7039 [BZ #17460]
7040 * nscd/nscd.c (more_help): Rewrite list of tables collection
7041 using xstrdup and asprintf.
7042
7043 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7044
7045 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7046 Roland McGrath <roland@hack.frob.com>
7047
7048 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7049 (do_lookup_unique): ... local function 'enter' here; update callers.
7050
7051 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7052
7053 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7054 compat_symbol calls on [SHARED].
7055 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7056 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7057 Remove.
7058 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7059 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7060 (oldsetrlimit): Remove.
7061 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7063 (lchown): New syscall entry.
7064 (oldsetrlimit): Remove.
7065 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7066 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7067 (oldsetrlimit): Remove.
7068 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7069
7070 [BZ #14138]
7071 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7072 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7073 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7074 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7075 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7076 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7077 (fchown): Likewise.
7078 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7079 (fchown): Likewise.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7081 Likewise.
7082
7083 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7084
7085 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7086 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7087 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7088 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7089 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7090 Likewise.
7091 (__old_sem_post): Likewise.
7092
7093 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7094
7095 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7096 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7097 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7098 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7099 Use INLINE_VSYSCALL macro.
7100 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7101 __vdso_clock_gettime.
7102 * sysdeps/unix/sysv/linux/tile/init-first.c
7103 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7104 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7105 __vdso_clock_gettime.
7106
7107 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7108 to set up frame more cleanly.
7109
7110 * sysdeps/tile/memcmp.c: New file.
7111
7112 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7113
7114 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7115 * sysdeps/tile/tilegx/strcasestr.c: New file.
7116 * sysdeps/tile/tilegx/strnlen.c: New file.
7117 * sysdeps/tile/tilegx/strstr.c: New file.
7118
7119 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7120
7121 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7122
7123 * nptl/tst-setuid3.c: Write errors to stdout.
7124
7125 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7126
7127 * elf/dl-deps.c
7128 (preload): New functions broken out of _dl_map_object_deps.
7129 (_dl_map_object_deps): Remove a nested function. Update call sites.
7130
7131 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7132
7133 [BZ #14138]
7134 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7135 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7136
7137 2014-10-01 Steve Ellcey <sellcey@mips.com>
7138
7139 * sysdeps/mips/strcmp.S: New.
7140
7141 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7142
7143 [BZ #14138]
7144 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7145 (linkat): Likewise.
7146 (mkdirat): Likewise.
7147 (readlinkat): Likewise.
7148 (renameat): Likewise.
7149 (symlinkat): Likewise.
7150 (unlinkat): Likewise.
7151 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7152 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7153 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7154 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7155 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7156 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7157 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7158
7159 2014-09-30 Will Newton <will.newton@linaro.org>
7160
7161 * math/math.h: Define long double math functions if
7162 _LIBC_TEST is defined.
7163 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7164
7165 * localedata/Makefile: Move assignment to tests-special
7166 into an ifdef testing run-built-tests.
7167 * timezone/Makefile: Likewise.
7168
7169 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7170
7171 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7172 with $(BASH) not $(SHELL).
7173
7174 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7175 Matthew LeGendre <legendre1@llnl.gov>
7176
7177 [BZ #17411]
7178 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7179 l_reloc_result.
7180
7181 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7182
7183 * stdio-common/printf_fp.c
7184 (hack_digit): New function, broken out of ...
7185 (__printf_fp): ... local function here. Update call sites.
7186 hack_digit now takes an additional parameter that is a pointer
7187 to a struct of the referenced locals. Those locals moved inside
7188 the struct and references updated.
7189
7190 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7191
7192 * aclocal.m4: Require autoconf 2.69.
7193 * configure: Regenerated.
7194 * sysdeps/aarch64/configure: Likewise.
7195 * sysdeps/alpha/configure: Likewise.
7196 * sysdeps/arm/armv7/configure: Likewise.
7197 * sysdeps/arm/configure: Likewise.
7198 * sysdeps/ia64/configure: Likewise.
7199 * sysdeps/mach/configure: Likewise.
7200 * sysdeps/mips/configure: Likewise.
7201 * sysdeps/s390/configure: Likewise.
7202 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7204
7205 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7206 file.
7207 * sysdeps/ia64/configure.ac: Likewise.
7208
7209 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7210
7211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7212 specify symbol version for ld.so. Do not include entry for
7213 libpthread.
7214 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7215 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7216 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7217
7218 [BZ #14171]
7219 * Makeconfig [$(build-shared) = yes]
7220 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7221 makefiles.
7222 [$(build-shared) = yes && $(soversions.mk-done) = t]
7223 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7224 [$(build-shared) = yes && $(soversions.mk-done) = t]
7225 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7226 to Makerules.
7227 [$(build-shared) = yes && $(soversions.mk-done) = t]
7228 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7229 here.
7230 [$(build-shared) = yes && $(soversions.mk-done) = t]
7231 (common-generated): Don't append gnu/lib-names.h and
7232 gnu/lib-names.stmp here.
7233 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7234 (lib-names-h-abi): New variable.
7235 [$(build-shared) = yes && $(soversions.mk-done) = t]
7236 (lib-names-stmp-abi): Likewise.
7237 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7238 abi-variants] (before-compile): Append
7239 $(common-objpfx)$(lib-names-h-abi).
7240 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7241 abi-variants] (common-generated): Append gnu/lib-names.h.
7242 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7243 abi-variants] (install-others-nosubdir): Depend on
7244 $(inst_includedir)/$(lib-names-h-abi).
7245 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7246 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7247 [$(build-shared) = yes && $(soversions.mk-done) = t]
7248 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7249 [$(build-shared) = yes && $(soversions.mk-done) = t]
7250 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7251 [$(build-shared) = yes && $(soversions.mk-done) = t]
7252 (common-generated): Append $(lib-names-h-abi) and
7253 $(lib-names-stmp-abi).
7254 * scripts/lib-names.awk: Do not handle multi being set.
7255 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7256 Remove variable.
7257 (abi-lp64_be-ld-soname): Likewise.
7258 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7259 Likewise.
7260 (abi-hard-ld-soname): Likewise.
7261 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7262 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7263 Remove variable.
7264 (abi-o32_hard-ld-soname): Likewise.
7265 (abi-o32_soft_2008-ld-soname): Likewise.
7266 (abi-o32_hard_2008-ld-soname): Likewise.
7267 (abi-n32_soft-ld-soname): Likewise.
7268 (abi-n32_hard-ld-soname): Likewise.
7269 (abi-n32_soft_2008-ld-soname): Likewise.
7270 (abi-n32_hard_2008-ld-soname): Likewise.
7271 (abi-n64_soft-ld-soname): Likewise.
7272 (abi-n64_hard-ld-soname): Likewise.
7273 (abi-n64_soft_2008-ld-soname): Likewise.
7274 (abi-n64_hard_2008-ld-soname): Likewise.
7275 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7276 Likewise.
7277 (abi-64-v2-ld-soname): Likewise.
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7279 ld.so entries.
7280 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7281 variable.
7282 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7283 entry.
7284 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7285 variable.
7286 (abi-64-ld-soname): Likewise.
7287 (abi-x32-ld-soname): Likewise.
7288 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7289 entry.
7290 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7291
7292 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7293
7294 [BZ #14138]
7295 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7296 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7297 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7298 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7299 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7300 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7301 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7302 syscall entry for GLIBC_2.2 symbol version.
7303 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7304 Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7306 (setrlimit): Likewise.
7307 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7308 Likewise.
7309
7310 2014-09-23 Will Newton <will.newton@linaro.org>
7311
7312 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7313 _LINUX_ARM_SYSDEP_H include guard too.
7314 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7315 define.
7316
7317 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7318
7319 * sysdeps/unix/sysv/linux/eventfd.c:
7320 Make first argument unsigned.
7321 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7322 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7323
7324 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7325
7326 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7327 * socket/sys/socket.h: Likewise
7328 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7329
7330 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7331
7332 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7333
7334 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7335
7336 * time/tst-ftime.c: New test.
7337 * time/Makefile (tests): Add tst-ftime.
7338
7339 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7340
7341 * soft-fp/extended.h: Fix comment formatting.
7342 * soft-fp/op-1.h: Likewise.
7343 * soft-fp/op-2.h: Likewise.
7344 * soft-fp/op-4.h: Likewise.
7345 * soft-fp/op-8.h: Likewise.
7346 * soft-fp/op-common.h: Likewise.
7347 * soft-fp/soft-fp.h: Likewise.
7348
7349 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7350
7351 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7352
7353 [BZ #6652]
7354 * Makeconfig (soversions-default-setname): Remove variable.
7355 ($(common-objpfx)soversions.i): Don't pass default_setname to
7356 soversions.awk.
7357 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7358 oldest_abi to abi-versions.awk.
7359 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7360 * config.make.in (oldest-abi): Remove variable.
7361 * configure.ac (--enable-oldest-abi): Remove configure option.
7362 * configure: Regenerated.
7363 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7364 text.
7365 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7366 * scripts/soversions.awk: Do not handle default_setname variable.
7367 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7368 variable.
7369 * sysdeps/mach/hurd/configure: Regenerated.
7370 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7371 variable.
7372 * sysdeps/unix/sysv/linux/configure: Regenerated.
7373
7374 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7375
7376 * elf/Makefile (CFLAGS-interp.c): Remove.
7377 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7378 path string.
7379 * elf/interp.c: Include generated runtime-linker.h
7380
7381 * Makerules (lib%.so): Don't include $(+interp) in
7382 prerequisites.
7383 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7384 * dlfcn/eval.c: Remove file.
7385
7386 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7387 macros.
7388
7389 [BZ #17266]
7390 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7391 4.2 and newer.
7392
7393 [BZ #17370]
7394 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7395
7396 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7397 Jakub Jelinek <jakub@redhat.com>
7398
7399 [BZ #17266]
7400 * libio/stdio.h: Check definition of __fortify_function
7401 instead of __extern_always_inline to include bits/stdio2.h.
7402 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7403 check if __extern_always_inline is defined.
7404 [__USE_MISC || __USE_XOPEN]: Likewise.
7405 [__USE_ISOC99] Likewise.
7406 * misc/sys/cdefs.h (__fortify_function): Define only if
7407 __extern_always_inline is defined.
7408 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7409 __extern_always_inline and __extern_inline only for g++-4.3
7410 and newer or a compatible gcc.
7411
7412 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7413
7414 [BZ #17371]
7415 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7416 last change to handle zero prefix length.
7417
7418 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7419
7420 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7421 _SC_REGEX_VERSION.
7422
7423 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7424 _POSIX_RAW_SOCKETS.
7425
7426 2014-09-13 Allan McRae <allan@archlinux.org>
7427
7428 * po/ru.po: Update Russian translation from translation project.
7429
7430 2014-09-12 Roland McGrath <roland@hack.frob.com>
7431
7432 * locale/programs/locale.c (show_locale_vars): Inline local function
7433 into its sole call site. Clean up some style nits.
7434 (print_item): New function, broken out of ...
7435 (show_info): ... local function here. Clean up style nits.
7436
7437 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7438 out of ...
7439 (set_class_defaults): ... local function set_default here.
7440 Define set_default as a macro locally to pass constant parameters.
7441 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7442 rather than a shared local.
7443
7444 * stdlib/rpmatch.c (try): New function, broken out of ...
7445 (rpmatch): ... local function here. Also, prototypify definition.
7446
7447 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7448
7449 * scripts/soversions.awk: Do not handle configuration names.
7450 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7451 vendor and os variables to soversions.awk.
7452 * configure.ac: Do not modify gnu-* host_os.
7453 * configure: Regenerated
7454 * shlib-versions: Remove first column with configuration names.
7455 * nptl/shlib-versions: Likewise.
7456 * nptl_db/shlib-versions: Likewise.
7457 * sysdeps/hppa/shlib-versions: Likewise.
7458 * sysdeps/m68k/shlib-versions: Likewise.
7459 * sysdeps/mach/hurd/shlib-versions: Likewise.
7460 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7461 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7462 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7463 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7464 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7465 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7466 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7467 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7469 Likewise.
7470 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7471 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7472 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7473 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7474 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7475 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7476 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7477 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7478
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7480 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7482 Regenerated.
7483 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7485 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7486
7487 * shlib-versions: Remove OS-specific entries. Moved to files in
7488 sysdeps.
7489 * sysdeps/mach/hurd/shlib-versions: New file.
7490 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7491
7492 * nptl/shlib-versions: Remove architecture-specific entries.
7493 Moved to files in sysdeps.
7494 * shlib-versions: Likewise.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7496 file.
7497 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7498 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7499 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7500 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7501
7502 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7503 (UDP_NO_CHECK6_RX): Likewise.
7504
7505 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7506
7507 * sysdeps/posix/sysconf.c (__sysconf): Spell
7508 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7509
7510 2014-08-12 Florian Weimer <fweimer@redhat.com>
7511
7512 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7513 loading.
7514 * iconv/Versions (__gconv_transliterate): Export for use from
7515 gconv modules.
7516 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7517 (struct __gconv_trans_data, __gconv_trans_fct,
7518 __gconv_trans_context_fct, __gconv_trans_query_fct,
7519 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7520 definitions.
7521 (struct __gconv_step_data): Remove __trans member.
7522 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7523 longer hidden. Remove unused trans_data argument.
7524 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7525 (__gconv_translit_find): Remove declaration.
7526 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7527 prototype.
7528 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7529 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7530 trans_data argument. Add hidden definition.
7531 (__gconv_translit_find): Remove.
7532 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7533 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7534 * iconv/skeleton.c: Remove transliteration initialization.
7535 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7536 __gconv_step_data initialization.
7537 * libio/iofwide.c (__libio_translit_): Remove.
7538 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7539 * wcsmbs/btowc.c (__btowc): Likewise.
7540 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7541 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7542 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7543 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7544 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7545 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7546 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7547 * wcsmbs/wctob.c (wctob): Likewise.
7548
7549 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7550
7551 [BZ #16194]
7552 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7553 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7554 register usage.
7555 * sysdeps/x86/Makefile: Adjust.
7556
7557 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7558 Roland McGrath <roland@hack.frob.com>
7559
7560 * locale/weight.h: Add include guard.
7561 (findidx): Make static rather than auto; take new parameters
7562 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7563 * locale/weightwc.h: Likewise.
7564 * posix/fnmatch_loop.c
7565 (FCT): Change type of EXTRA from int32_t to wint_t.
7566 Don't include either header inside the function.
7567 Call FINDIDX rather than findidx, and pass new arguments.
7568 #undef FINDIDX at the end of the file.
7569 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7570 FINDIDX before including fnmatch_loop.c for the non-wide version.
7571 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7572 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7573 for the wide version.
7574 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7575 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7576 Pass new arguments to findidx.
7577 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7578 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7579 Don't #include it inside the function. Pass new arguments to findidx.
7580 * posix/regex_internal.h
7581 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7582 (re_string_elem_size_at): Don't #include it inside the function.
7583 Pass new arguments to findidx.
7584 * string/strcoll_l.c: #include WEIGHT_H at top level.
7585 (get_next_seq): Don't #include it inside the function.
7586 Pass new arguments to findidx.
7587 (get_next_seq_nocache): Likewise.
7588 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7589 (STRXFRM): Don't #include it inside the function.
7590 Pass new arguments to findidx.
7591
7592 2014-09-11 Florian Weimer <fweimer@redhat.com>
7593
7594 [BZ #17344]
7595 * malloc/malloc.c (unlink): Turn asserts into a call to
7596 malloc_printerr.
7597
7598 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7599
7600 [BZ #17370]
7601 * libio/wfileops (do_ftell_wide): Free OUT.
7602
7603 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7604
7605 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7606
7607 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7608
7609 [BZ #17363]
7610 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7611 group if the current group is empty.
7612
7613 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7614
7615 * benchtests/bench-memset.c (test_main): Add more test from size
7616 from 32 to 512 bytes.
7617 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7618 Add POWER8 memset object.
7619 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7620 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7621 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7622 implementation.
7623 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7624 Likewise.
7625 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7626 multiarch POWER8 memset optimization.
7627 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7628 POWER8 memset optimization.
7629
7630 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7631 Remove bzero multiarch objects.
7632 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7633 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7634 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7635 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7636 Remove define.
7637 [__bzero]: Redefine to specific name.
7638 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7639 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7640 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7641 define.
7642 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7643 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7644
7645 2014-09-10 Florian Weimer <fweimer@redhat.com>
7646
7647 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7648 warnings into errors.
7649
7650 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7651 __cxa_thread_atexit_impl prototype.
7652
7653 2014-09-09 Steve Ellcey <sellcey@mips.com>
7654
7655 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7656 Fix capitalization of error message.
7657
7658 2014-09-09 Steve Ellcey <sellcey@mips.com>
7659
7660 * sysdeps/mips/preconfigure: Modify ABI tests.
7661
7662 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7663
7664 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7665
7666 2014-09-07 Roland McGrath <roland@hack.frob.com>
7667 Carlos O'Donell <carlos@systemhalted.org>
7668
7669 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7670 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7671 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7672 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7673 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7674 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7675 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7676 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7677 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7678 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7679 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7680 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7681 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7682 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7683 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7684 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7685 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7686 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7687 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7688 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7689 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7690 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7691 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7692 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7693 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7694 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7695 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7696 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7697 Deconditionalize the code that was previously under [RESET_PID].
7698 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7699 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7700 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7701 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7702 include sysdep.h.
7703
7704 2014-09-08 Allan McRae <allan@archlinux.org>
7705
7706 * version.h (RELEASE): Set to "development".
7707 (VERSION): Set to "2.20.90"
7708
7709 2014-09-07 Allan McRae <allan@archlinux.org
7710
7711 * version.h (RELEASE): Set to "stable".
7712 (VERSION): Set to "2.20"
7713 * include/features.h (__GLIBC_MINOR__): Set to 20.
7714
7715 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7716 Liebler.
7717
7718 * po/ko.po: Update Korean translation from translation project.
7719
7720 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7721
7722 [BZ #17354]
7723 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7724 macro for handling signed relocations.
7725
7726 2014-09-03 Florian Weimer <fweimer@redhat.com>
7727
7728 [BZ #17325]
7729 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7730 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7731 assert.
7732 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7733 * iconvdata/ibm935.c (BODY): Likewise.
7734 * iconvdata/ibm937.c (BODY): Likewise.
7735 * iconvdata/ibm939.c (BODY): Likewise.
7736 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7737 assert.
7738 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7739 script.
7740 * iconvdata/run-iconv-test.sh: New test loop for checking for
7741 decoder crashers.
7742
7743 2014-09-02 Khem Raj <raj.khem@gmail.com>
7744
7745 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7746 libm_hidden_ver.
7747
7748 2014-09-01 Allan McRae <allan@archlinux.org>
7749
7750 * po/eo.po: Update Esperanto translation from translation project.
7751
7752 * po/ca.po: Update Catalan translation from translation project.
7753
7754 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7755
7756 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7757 __proc_dostop call.
7758
7759 2014-08-27 Mark Wielaard <mjw@redhat.com>
7760
7761 [BZ #17319]
7762 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7763 to call set_thread_area instead of hand written asm.
7764 (__NR_set_thread_area): Removed define.
7765 (TLS_FLAG_WRITABLE): Likewise.
7766 (__ASSUME_SET_THREAD_AREA): Remove check.
7767 (TLS_EBX_ARG): Remove define.
7768 (TLS_LOAD_EBX): Likewise.
7769
7770 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7771
7772 Simplify atomicity of socket creation in bind.
7773
7774 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7775 looking up the name after linking the file.
7776
7777 2014-08-27 Allan McRae <allan@archlinux.org>
7778
7779 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7780
7781 2014-08-26 Florian Weimer <fweimer@redhat.com>
7782
7783 [BZ #17187]
7784 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7785 trans_compare, open_translit, __gconv_translit_find):
7786 Remove module loading code.
7787
7788 2014-08-26 Allan McRae <allan@archlinux.org>
7789
7790 * po/vi.po: Update Vietnamese translation from translation project.
7791
7792 * po/uk.po: Update Ukrainian translation from translation project.
7793
7794 * po/fr.po: Update French translation from translation project.
7795
7796 * po/ru.po: Update Russian translation from translation project.
7797
7798 * po/pl.po: Update Polish translation from translation project.
7799
7800 * po/cs.po: Update Czech translation from translation project.
7801
7802 * po/de.po: Update German translation from translation project.
7803
7804 * po/bg.po: Update Bulgarian translation from translation project.
7805
7806 * po/sv.po: Update Sweedish translation from translation project.
7807
7808 * po/nl.po: Update Dutch translation from translation project.
7809
7810 * po/es.po: Update Spanish translation from translation project.
7811
7812 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7813
7814 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7815
7816 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7817 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7818 (CPPFLAGS-iconvconfig): Likewise.
7819 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7820
7821 * include/libc-symbols.h: Remove unnecessary check for
7822 NOT_IN_libc.
7823 * nptl/pthreadP.h: Likewise.
7824 * sysdeps/aarch64/setjmp.S: Likewise.
7825 * sysdeps/alpha/setjmp.S: Likewise.
7826 * sysdeps/arm/sysdep.h: Likewise.
7827 * sysdeps/i386/setjmp.S: Likewise.
7828 * sysdeps/m68k/setjmp.c: Likewise.
7829 * sysdeps/posix/getcwd.c: Likewise.
7830 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7831 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7832 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7833 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7834 * sysdeps/sh/sh3/setjmp.S: Likewise.
7835 * sysdeps/sh/sh4/setjmp.S: Likewise.
7836 * sysdeps/unix/alpha/sysdep.h: Likewise.
7837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7839 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7840 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7843 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7845 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7848 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7849 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7850 * sysdeps/x86_64/setjmp.S: Likewise.
7851
7852 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7853
7854 [BZ #17263]
7855 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7856 <stdint.h>.
7857 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7858 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7859
7860 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7861
7862 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7863
7864 [BZ #17262]
7865 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7866 and __x86_64__ when disabling x87 inline functions.
7867
7868 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7869
7870 [BZ #17259]
7871 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7872 asm statement with __cpuid_count.
7873
7874 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7875
7876 * configure.ac: Change __ehdr_start code to dereference the struct.
7877 Run readelf on the output to look for relocations.
7878 * configure: Regenerated.
7879
7880 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7881
7882 [BZ #17261]
7883 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7884 value to 0.
7885 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7886
7887 2014-08-12 Roland McGrath <roland@hack.frob.com>
7888
7889 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7890
7891 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7892
7893 [BZ #16892]
7894 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7895 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7896
7897 2014-08-12 Sean Anderson <seanga2@gmail.com>
7898
7899 * malloc/malloc.c: Fix typo in comment.
7900
7901 2014-08-09 Allan McRae <allan@archlinux.org>
7902
7903 * Regenerate libc.po.
7904
7905 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7906
7907 * intl/tst-gettext2.sh: Check every lang file for creation.
7908
7909 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7910
7911 * sysdeps/aarch64/fpu/math_private.h
7912 (libc_feholdsetround_noex_aarch64_ctx): New function.
7913
7914 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7915
7916 * sysdeps/arm/armv6/strcpy.S (strcpy):
7917 Fix performance issue in misaligned cases.
7918
7919 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7920
7921 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7922 Move definition from termios.h.
7923 (struct termio): Likewise.
7924 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7925 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7926 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7927 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7928 Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7930 Move definition to ioctl-types.h
7931 (struct termio): Likewise.
7932 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7933 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7934 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7935 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7936 Likewise.
7937
7938 2014-08-05 Richard Henderson <rth@redhat.com>
7939
7940 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7941 exceptions.
7942 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7943 Add fraiseexcpt.
7944 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7945 Use __feraiseexcept.
7946 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7947 Protect libm symbols with IS_IN_libm.
7948
7949 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7950
7951 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7952
7953 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7954
7955 2014-08-04 Will Newton <will.newton@linaro.org>
7956
7957 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7958 file.
7959
7960 2014-08-04 Mike Frysinger <vapier@gentoo.org>
7961
7962 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7963 variants for each function.
7964
7965 2014-08-04 Roland McGrath <roland@hack.frob.com>
7966
7967 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7968 appended ...
7969 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7970 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7971 appended ...
7972 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7973 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7974 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7975 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7976 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7977 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7978 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7979 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7980 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7981 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7982 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7983 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7984 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7986 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7987 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7988 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7989 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7990 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7991 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7992 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7993 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7994 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7995 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7996 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7997 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7998 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8000 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8001 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8002 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8003 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8004 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8008 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8009 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8010 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8011 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8012 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8013 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8014 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8015 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8016 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8017 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8018 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8019 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8020 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8021 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8022 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8023 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8024 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8025 Update #include.
8026 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8027 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8028
8029 2014-08-04 Roland McGrath <roland@hack.frob.com>
8030
8031 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8032 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8033 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8034 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8035 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8036 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8037
8038 2014-08-04 Roland McGrath <roland@hack.frob.com>
8039
8040 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8041 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8042 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8043 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8044
8045 2014-08-04 Roland McGrath <roland@hack.frob.com>
8046
8047 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8048 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8049 (__libc_vfork): Define function under this name.
8050 (__vfork): Define as an alias.
8051 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8052 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8053
8054 2014-08-04 Roland McGrath <roland@hack.frob.com>
8055
8056 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8057 that was previously under [RESET_PID].
8058 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8059
8060 2014-08-04 Andreas Schwab <schwab@suse.de>
8061
8062 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8063
8064 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8065
8066 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8067 (main): Likewise.
8068
8069 2014-08-01 Roland McGrath <roland@hack.frob.com>
8070
8071 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8072
8073 2014-08-01 Richard Henderon <rth@redhat.com>
8074
8075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8076 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8077 typo in exact zero test.
8078 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8079 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8081
8082 2014-08-01 Roland McGrath <roland@hack.frob.com>
8083
8084 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8085 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8086 * sysdeps/arm/sysdep.h: ... here.
8087 [!__ASSEMBLER__]: Include <stdint.h>.
8088
8089 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8090
8091 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8092 (HAVE_WCTYPE_H): Likewise.
8093 (HAVE_ISWCTYPE): Likewise.
8094 (ENABLE_NLS): Likewise.
8095 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8096 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8097
8098 * posix/regex_internal.c: Check if DEBUG is defined and is
8099 set.
8100
8101 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8102 (HAVE_MBSRTOWCS): Likewise.
8103 * posix/fnmatch.c: Include string.h unconditionally.
8104
8105 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8106
8107 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8108 reversal.
8109
8110 2014-07-31 Roland McGrath <roland@hack.frob.com>
8111
8112 * sysdeps/generic/safe-fatal.h: New file.
8113 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8114 * nptl/forward.c: Include it.
8115 (__pthread_unwind): Use __safe_fatal as default action, rather
8116 than a bogus use of INTERNAL_SYSCALL that could never work.
8117
8118 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8119 * configure.ac (libc_cv_builtin_trap): New test.
8120 * configure: Regenerated.
8121 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8122 (ABORT_INSTRUCTION): Define using __builtin_trap.
8123
8124 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8125 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8126 * sysdeps/nptl/nptl-signals.h: New file.
8127 * nptl/pthreadP.h: Include <nptl-signals.h>.
8128
8129 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8130
8131 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8132 (ONE_DIRECTION): Define.
8133 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8134 (ONE_DIRECTION): Define.
8135 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8136 (ONE_DIRECTION): Define.
8137
8138 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8139
8140 * sysdeps/s390/Makefile: Delete file.
8141 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8142 * sysdeps/s390/__longjmp.c: Delete file.
8143 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8144 Remove fields __flags and __reserved.
8145 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8146 and add versioning.
8147 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8148 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8149 * sysdeps/s390/rtld-setjmp.S: Likewise.
8150 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8151 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8152 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8153 * sysdeps/s390/s390-32/setjmp.S: ... here.
8154 Add versioning.
8155 (__sigsetjmp): Remove setting __flags field.
8156 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8157 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8158 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8159 * sysdeps/s390/s390-64/setjmp.S: ... here.
8160 Add versioning.
8161 (__sigsetjmp): Remove setting __flags field.
8162 * sysdeps/s390/setjmp.S: Delete file.
8163 * sysdeps/s390/sigjmp.c: Likewise.
8164 * sysdeps/s390/v1-longjmp.c: Likewise.
8165 * sysdeps/s390/v1-setjmp.h: Likewise.
8166 * sysdeps/s390/v1-sigjmp.c: Likewise.
8167 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8168 Remove v1-longjmp_chk.
8169 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8170 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8171 Include debug/longjmp_chk.c and add versioning.
8172 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8173 Include nptl/pt-longjmp.c and add versioning.
8174 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8175 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8176 Include __longjmp.c.
8177 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8178 Move to ...
8179 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8180 (__getcontext): Remove setting __flags field.
8181 Add versioning.
8182 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8183 Don't restore upper high grps.
8184 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8185 Likewise.
8186 (__swapcontext): Remove setting uc_flags field.
8187 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8188 Delete file.
8189 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8190 Include __longjmp.c.
8191 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8192 Move to ...
8193 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8194 (__getcontext): Remove setting __flags field.
8195 Add versioning.
8196 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8197 (__swapcontext): Remove setting uc_flags field.
8198 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8199 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8200 Remove fields uc_high_gprs and __reserved.
8201 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8202 New file with reverted content.
8203 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8204 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8205 Regenerated.
8206 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8207 Regenerated.
8208
8209 2014-07-31 Andreas Schwab <schwab@suse.de>
8210
8211 * config.h.in (HAVE_IFUNC): Define to 0.
8212 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8213 definedness.
8214
8215 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8216
8217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8218 memmove-avx-unaligned, memcpy-avx-unaligned and
8219 mempcpy-avx-unaligned.
8220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8221 Add tests for AVX memcpy functions.
8222 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8223 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8224 memcpy_chk.
8225 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8226 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8227 memmove_chk.
8228 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8229 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8230 mempcpy_chk.
8231 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8232 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8233 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8234
8235 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8236
8237 [BZ #17213]
8238 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8239 powerpc64le.
8240
8241 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8242
8243 [BZ #16839]
8244 * manual/llio.texi: Add section about open file description locks.
8245 * manual/examples/ofdlocks.c: Example of open file description
8246 lock usage.
8247 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8248 F_OFD_SETLK, and F_OFD_SETLKW.
8249
8250 2014-07-23 Allan McRae <allan@archlinux.org>
8251
8252 * po/es.po: Update Spanish translation from translation project.
8253
8254 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8255
8256 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8257
8258 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8259
8260 [BZ #17078]
8261 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8262 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8263 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8264
8265 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8266
8267 [BZ #17088]
8268 * math/fesetenv.c (__fesetenv)
8269 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8270 * math/feupdateenv.c (__feupdateenv)
8271 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8272
8273 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8274 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8275 (__ASSUME_SOCKETCALL): Do not define.
8276
8277 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8278 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8279 (__ASSUME_SOCKETCALL): Do not define.
8280 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8281 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8282 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8283 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8284 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8285 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8286 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8287 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8288
8289 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8290 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8291 (__ASSUME_SOCKETCALL): Do not define.
8292 (__ASSUME_IPC64): Define unconditionally.
8293 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8294 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8295 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8296 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8297 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8298 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8299 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8300 Likewise.
8301
8302 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8303 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8304 (__ASSUME_SOCKETCALL): Do not define.
8305 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8306 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8307 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8308 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8309 (__ASSUME_REQUEUE_PI): Define unconditionally.
8310 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8311 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8312 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8313 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8314 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8315 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8316
8317 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8318 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8319 (__ASSUME_SOCKETCALL): Do not define.
8320 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8321 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8322 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8323 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8324 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8325 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8326
8327 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8328 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8329 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8330 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8331 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8332 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8333 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8334 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8335 (__ASSUME_GETCPU_SYSCALL): Likewise.
8336
8337 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8338 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8339 cases for individual architectures.
8340 * sysdeps/gnu/configure: Regenerated.
8341 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8342 LIBC_SLIBDIR_RTLDDIR.
8343 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8344 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8345 LIBC_SLIBDIR_RTLDDIR.
8346 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8348 LIBC_SLIBDIR_RTLDDIR.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8350 Regenerated.
8351 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8352 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8353 file.
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8355 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8356 file.
8357 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8358 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8359 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8360 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8361
8362 * sysdeps/aarch64/shlib-versions: Move to ...
8363 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8364 * sysdeps/alpha/shlib-versions: Move to ...
8365 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8366 * sysdeps/arm/shlib-versions: Move to ...
8367 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8368 * sysdeps/hppa/shlib-versions: Move all contents except for
8369 libgcc_s entry to ...
8370 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8371 entry from ...
8372 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8373 * sysdeps/ia64/shlib-versions: Move to ...
8374 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8375 entry from ...
8376 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8377 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8378 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8379 * sysdeps/microblaze/shlib-versions: Move to ...
8380 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8381 * sysdeps/mips/shlib-versions: Move to ...
8382 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8383 entry from ...
8384 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8385 * sysdeps/tile/shlib-versions: Move to ...
8386 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8387 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8388 from ...
8389 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8390 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8391 entry from ...
8392 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8393
8394 2014-07-17 Will Newton <will.newton@linaro.org>
8395
8396 * sysdeps/arm/bits/atomic.h
8397 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8398 (__arch_compare_and_exchange_bool_16_int): Likewise.
8399 (__arch_compare_and_exchange_bool_64_int): Likewise.
8400
8401 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8402 into an #else block.
8403
8404 2014-07-16 Roland McGrath <roland@hack.frob.com>
8405
8406 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8407 just Linux configurations. Test empirically that the compiler sets
8408 __ARM_EABI__, rather than using the tuple to decide.
8409 * sysdeps/arm/preconfigure: Regenerated.
8410 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8411 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8412 contents appended ...
8413 * sysdeps/arm/configure.ac: ... here.
8414 * sysdeps/arm/configure: Regenerated.
8415
8416 2014-07-15 Roland McGrath <roland@hack.frob.com>
8417
8418 * nptl/pthread_kill.c: New file.
8419 * nptl/pthread_sigmask.c: New file.
8420 * nptl/pthread_sigqueue.c: New file.
8421
8422 * sysdeps/nptl/lowlevellock.h: New file.
8423 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8424 * sysdeps/nptl/lowlevellock-futex.h: New file.
8425
8426 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8427 Remove dead declarations.
8428
8429 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8432 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8433 config-cflags-avx2.
8434 * sysdeps/x86_64/configure.ac: Likewise.
8435 * sysdeps/i386/configure: Regenerated.
8436 * sysdeps/x86_64/configure: Likewise.
8437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8438 memset-avx2 only if config-cflags-avx2 is yes.
8439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8440 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8441 defined.
8442 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8443 only if HAVE_AVX2_SUPPORT is defined.
8444 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8445
8446 2014-07-14 Alan Modra <amodra@gmail.com>
8447
8448 [BZ #17153]
8449 * elf/elf.h (DT_PPC64_NUM): Correct value.
8450 * NEWS: Add to fixed bug list.
8451
8452 2014-07-13 Jim Meyering <meyering@fb.com>
8453
8454 [BZ 17150]
8455 regex: don't deref NULL upon heap allocation failure
8456 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8457 failure in one more place.
8458 To trigger the segfault, configure grep -with-included-regex,
8459 build it, and run these commands:
8460 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8461
8462 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8463
8464 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8465
8466 2014-07-11 Richard Henderson <rth@redhat.com>
8467
8468 * sysdeps/aarch64/libm-test-ulps: Update.
8469
8470 2014-07-10 Florian Weimer <fweimer@redhat.com>
8471
8472 [BZ #17135]
8473 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8474 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8475 (__nptl_setxid): Initialize error member. Call
8476 __nptl_setxid_error.
8477 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8478 * nptl/descr.h (struct xid_command): Add error member.
8479 * nptl/tst-setuid3.c: New file.
8480 * nptl/Makefile (tests): Add it.
8481
8482 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8483
8484 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8485 New define.
8486 (__lll_trylock): Use __lll_base_trylock.
8487 (__lll_cond_trylock): Likewise.
8488
8489 2014-07-10 Roland McGrath <roland@hack.frob.com>
8490
8491 * nptl/pthread_create.c (start_thread): Use atomic_or and
8492 lll_futex_wake directly rather than lll_robust_dead.
8493 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8494 (lll_robust_dead): Macro removed.
8495 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8496 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8497 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8498 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8499 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8500 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8501 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8502 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8503 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8504 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8505 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8506 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8507 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8508 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8509 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8510
8511 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8512 Use atomic_compare_and_exchange_val_acq directly rather than
8513 lll_robust_trylock.
8514 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8515 (__lll_robust_trylock, lll_robust_trylock): Removed.
8516 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8517 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8518 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8519 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8520 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8521 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8522 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8523 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8524 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8525 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8526 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8528 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8529 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8530
8531 2014-07-02 Florian Weimer <fweimer@redhat.com>
8532
8533 * manual/locale.texi (Locale Names): New section documenting
8534 locale name syntax. Adjust menu and node chaining accordingly.
8535 (Choosing Locale): Reference Locale Names, Locale Categories.
8536 Mention setting LC_ALL=C. Reflect that name syntax is now
8537 documented.
8538 (Locale Categories): New section title. Reference Locale Names.
8539 LC_ALL is an environment variable, but not a category.
8540 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8541 description, now in Locale Name. Reference that section. Locale
8542 name syntax is now documented.
8543
8544 2014-07-02 Florian Weimer <fweimer@redhat.com>
8545
8546 [BZ #17137]
8547 * locale/findlocale.c (name_present, valid_locale_name): New
8548 functions.
8549 (_nl_find_locale): Use the loc_name variable to store name
8550 candidates. Call name_present and valid_locale_name to check and
8551 validate locale names. Return an error if the locale is invalid.
8552
8553 2014-07-02 Florian Weimer <fweimer@redhat.com>
8554
8555 * locale/setlocale.c (setlocale): Use strdup for allocating
8556 composite name copy.
8557
8558 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8559
8560 Sync up with gnulib.
8561 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8562 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8563 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8564 and _GL_ARG_NONNULL.
8565 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8566 [!_LIBC]: Include code for Windows and Cygwin.
8567 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8568 Include prototype for int strerror_r.
8569 [!_LIBC] (is_open): New function.
8570 (flush_stdout): New function.
8571 (print_errno_message): Use it.
8572 (error): Likewise.
8573 (error_at_line): Likewise.
8574 (error_tail) Add function attribute macros. Use
8575 __builtin_expect.
8576
8577 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8578
8579 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8580
8581 * io/ftw.c: Include sys/param.h unconditionally.
8582
8583 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8584
8585 [BZ #17125]
8586 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8587 libc_freeres_ptr.
8588 (freecache): New function to free CACHE on exit.
8589
8590 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8591 initialization.
8592
8593 2014-07-09 David S. Miller <davem@davemloft.net>
8594
8595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8596
8597 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8598 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8599 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8600 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8601 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8602 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8603 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8604 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8605 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8606 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8607 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8608 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8609 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8610
8611 2014-07-09 Andreas Schwab <schwab@suse.de>
8612
8613 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8614 output.
8615 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8616 (do_test): Likewise.
8617
8618 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8619
8620 2014-07-09 Will Newton <will.newton@linaro.org>
8621
8622 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8623 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8624 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8625 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8626 * sysdeps/hppa/start.S (_start): Likewise.
8627
8628 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8629
8630 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8631
8632 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8633 defined.
8634
8635 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8636
8637 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8638 after checking that it is non-NULL.
8639
8640 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8641
8642 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8643
8644 * sysdeps/powerpc/memmove.c: Remove file.
8645 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8646 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8647 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8648 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8649 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8650 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8651 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8652 string memmove instead of removed powerpc one.
8653
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8655 [weak_alias]: Fix compiler warning due trailing data.
8656 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8657 [weak_alias]: Likewise.
8658 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8659 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8660
8661 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8662 (__libc_ifunc_impl_list): Add memmove functions.
8663
8664 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
8666 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8667 Remove code.
8668 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8669 Likewise
8670 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8671 Likewise
8672 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8673 Likewise
8674 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8675 Likewise
8676 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8677 Likewise
8678 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8679 Likewise
8680 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8681 Likewise
8682 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8683 Likewise
8684 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8685 Likewise
8686 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8687 Likewise
8688 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8689 Likewise
8690 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8691 Likewise
8692 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8693 Likewise
8694 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8695 Likewise
8696 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8697 Likewise
8698 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8699 Likewise
8700
8701 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8702
8703 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8704 to avoid alignment traps in non-cacheable memory.
8705 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8706
8707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8708 multiarch objects.
8709 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8710 file: multiarch power7 memmove.
8711 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8712 multiarch default memmove.
8713 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8714 multiarch memove for powerpc32/power4.
8715
8716 * string/bcopy.c: Use full path to include memmove.c.
8717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8718 multiarch objects.
8719 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8720 bcopy for powerpc64.
8721 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8722 bcopy for powerpc64.
8723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8724 and memmove implementations.
8725 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8726 optimized multiarch memmove for POWER7/powerpc64.
8727 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8728 default multiarch memmove for powerpc64.
8729 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8730 multiarch for powerpc64.
8731 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8732 for POWER7/powerpc64.
8733 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8734 memmove for POWER7/powerpc64.
8735
8736 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8737 glibc default one.
8738
8739 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8740 __ELF_NATIVE_CLASS equal to 64.
8741
8742 2014-07-07 Roland McGrath <roland@hack.frob.com>
8743
8744 * sysdeps/nptl/lowlevellock.h: File removed.
8745
8746 * NEWS: NPTL is no longer an add-on!
8747 * nptl/internaltypes.h: Moved ...
8748 * sysdeps/nptl/internaltypes.h: ... here.
8749 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8750 * sysdeps/nptl/fork.c: Likewise.
8751 * sysdeps/nptl/gai_misc.h: Likewise.
8752 * sysdeps/nptl/librt-cancellation.c: Likewise.
8753 * sysdeps/nptl/jmp-unwind.c: Likewise.
8754 * sysdeps/nptl/setxid.h: Likewise.
8755 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8756 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8757 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8758 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8759 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8760 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8761 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8762 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8763 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8764 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8765 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8766 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8767 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8768 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8769 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8770 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8771 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8772 * nptl/Makeconfig: Moved ...
8773 * sysdeps/nptl/Makeconfig: ... here.
8774 * nptl/configure: File removed.
8775 * nptl/ANNOUNCE: File removed.
8776 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8777 * sysdeps/unix/sysv/linux/configure: Regenerated.
8778
8779 * nptl/Makefile (routines): Add libc_pthread_init,
8780 libc_multiple_threads, register-atfork and unregister-atfork.
8781 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8782 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8783 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8784 pthread-pi-defines.sym, structsem.sym.
8785 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8786 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8787 [$(subdir) = nptl] (tests): Add tst-setgetname.
8788 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8789 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8790 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8791 [!LIBC_SIGACTION]: Remove aliases.
8792 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8793 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8794 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8795 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8796 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8797 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8798 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8799 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8801 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8802 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8803 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8804 __libc_allocate_rtsig_private.
8805 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8806 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8807 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8808 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8809 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8810 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8811 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8812 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8813 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8814 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8815 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8816 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8817 * nptl/internaltypes.h: ... here.
8818 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8819 * sysdeps/nptl/jmp-unwind.c: ... here.
8820 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8821 * nptl/libc-lowlevellock.c: ... here.
8822 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8823 * nptl/libc_multiple_threads.c: ... here.
8824 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8825 * nptl/libc_pthread_init.c: ... here.
8826 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8827 * nptl/lowlevelbarrier.sym: ... here.
8828 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8829 * nptl/lowlevelcond.sym: ... here.
8830 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8831 * nptl/lowlevellock.c: ... here.
8832 * nptl/lowlevellock.h: Moved ...
8833 * sysdeps/nptl/lowlevellock.h: ... here.
8834 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8835 * nptl/lowlevelrobustlock.c: ... here.
8836 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8837 * nptl/lowlevelrobustlock.sym: ... here.
8838 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8839 * nptl/lowlevelrwlock.sym: ... here.
8840 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8841 * nptl/pt-fork.c: ... here.
8842 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8843 * nptl/pthread-pi-defines.sym: ... here.
8844 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8845 * nptl/pthread_attr_getaffinity.c: ... here.
8846 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8847 * nptl/pthread_attr_setaffinity.c: ... here.
8848 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8849 * nptl/pthread_mutex_cond_lock.c: ... here.
8850 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8851 Update #include.
8852 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8853 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8854 * nptl/pthread_once.c: ... here, replacing old file.
8855 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8856 * nptl/pthread_yield.c: ... here.
8857 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8858 * nptl/register-atfork.c: ... here.
8859 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8860 * nptl/sem_post.c: ... here.
8861 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8862 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8863 * nptl/sem_timedwait.c: ... here.
8864 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8865 * nptl/sem_trywait.c: ... here.
8866 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8867 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8868 * nptl/sem_wait.c: ... here.
8869 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8870 * nptl/structsem.sym: ... here.
8871 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8872 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8873 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8874 * nptl/unregister-atfork.c: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8876 * nptl/unwindbuf.sym: ... here.
8877 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8878 * sysdeps/nptl/fork.c: ... here.
8879 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8880 * sysdeps/nptl/fork.h: ... here.
8881 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8882 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8883 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8884 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8885 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8886 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8887 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8888 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8889 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8890 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8891 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8892 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8893 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8894 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8895 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8896 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8897 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8898 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8899 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8900 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8901 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8902 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8903 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8904 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8905 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8906 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8907 * sysdeps/unix/sysv/linux/raise.c: ... here.
8908 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8909 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8910 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8911 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8912 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8913 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8915 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8916 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8917 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8919 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8920 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8921 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8922 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8923
8924 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
8926 * sysdeps/generic/memcopy.h: Add comment for
8927 MEMCPY_OK_FOR_FWD_MEMMOVE.
8928
8929 2014-07-04 Will Newton <will.newton@linaro.org>
8930
8931 * string/memchr.c: Merge from gnulib.
8932 [_LIBC]: Remove conditionals.
8933 (__ptr_t): Remove define.
8934 (LONG_MAX_32_BITS): Likewise.
8935 (LONG_MAX): Likewise.
8936 (MEMCHR): Use ANSI prototype and optimize algorithm.
8937
8938 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8939
8940 2014-07-03 Roland McGrath <roland@hack.frob.com>
8941
8942 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8943 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8944
8945 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8946 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8947 in a bare environment with no <stdlib.h> installed.
8948 * sysdeps/nptl/configure: Regenerated.
8949
8950 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8951
8952 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8953 AC_EGREP_CPP for kernel header checks, so they only succeed if
8954 including <linux/version.h> actually works right.
8955 * sysdeps/unix/sysv/linux/configure: Regenerated.
8956
8957 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8958 value so it's not diagnosed as unused.
8959
8960 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8961 thing) with "ifeq ($(subdir),rt)".
8962
8963 2014-07-03 Richard Henderson <rth@redhat.com>
8964
8965 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8966 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8967 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8968
8969 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8970 (math_force_eval): New.
8971
8972 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8973 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8974
8975 * sysdeps/alpha/fpu/s_round.c: Remove file.
8976 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8977
8978 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8979 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8980 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8981 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8982 (_dl_start, print_statistics): Likewise.
8983 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8984 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8985
8986 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8987 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8988 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8989 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8990 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8991 (HP_SMALL_TIMING_AVAIL): Define.
8992 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8993 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8994 (HP_SMALL_TIMING_AVAIL): Define.
8995 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8996 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8997
8998 * sysdeps/aarch64/hp-timing.h: New file.
8999
9000 * sysdeps/generic/hp-timing.h: Remove dead comment.
9001 * sysdeps/generic/hp-timing-common.h: New file.
9002 * sysdeps/alpha/hp-timing.h: Include it.
9003 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9004 * sysdeps/i386/i686/hp-timing.h: Likewise.
9005 * sysdeps/ia64/hp-timing.h: Likewise.
9006 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9007 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9008 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9009 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9010 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9011 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9012 (hp_timing_t): New.
9013
9014 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9015 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9016 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9017 * elf/rtld.c (_dl_start_final): Likewise.
9018 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9019 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9020 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9021 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9022 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9023 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9024 (HP_TIMING_DIFF_INIT): Remove.
9025 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9026 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9027 (HP_TIMING_DIFF_INIT): Remove.
9028 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9029 * sysdeps/i386/i686/hp-timing.c: Remove file.
9030 * sysdeps/x86_64/hp-timing.c: Remove file.
9031 * sysdeps/ia64/hp-timing.c: Remove file.
9032 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9033 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9035 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9036
9037 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9038 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9039 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9040 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9041 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9042 (HP_TIMING_ACCUM): Remove.
9043 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9044 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9045 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9046
9047 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9048 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9049 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9050 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9051 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9052 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9053 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9054 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9055
9056 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9057
9058 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9059
9060 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9061
9062 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9063
9064 Sync up with gettext.
9065 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9066 [_MSC_VER]: Include malloc.h
9067 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9068 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9069 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9070 TEMP_FAILURE_RETRY. Cast return of alloca.
9071 [!_LIBC] Call gl_rwlock_init.
9072 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9073
9074 2014-07-02 Roland McGrath <roland@hack.frob.com>
9075
9076 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9077 before checking its value.
9078
9079 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9080
9081 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9082
9083 * debug/memcpy_chk.c: Don't include pagecopy.h.
9084 * debug/mempcpy_chk.c: Likewise.
9085 * string/memcpy.c: Likewise.
9086 * string/memmove.c: Likewise.
9087 * sysdeps/powerpc/memmove.c: Likewise.
9088 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9089 definition of PAGE_COPY_FWD_MAYBE here...
9090 * sysdeps/generic/pagecopy.h: ... from here.
9091 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9092
9093 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9094 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9095
9096 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9098 optimizations.
9099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9100 (__libc_ifunc_impl_list): Likewise.
9101 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9102 multiarch strcat for PPC64.
9103 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9104 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9105
9106 2014-07-02 Roland McGrath <roland@hack.frob.com>
9107
9108 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9109
9110 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9111
9112 * intl/loadmsgcat.c: Remove declaration of
9113 get_sysdep_segment_value.
9114 (get_sysdep_segment_value): Use ISO C style.
9115 (_nl_load_domain): Use ISO C style. Get rid of redundant
9116 semicolon. Fix typo and formatting in comment.
9117 (_nl_unload_domain): Use ISO C style.
9118
9119 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9120
9121 2014-07-02 Will Newton <will.newton@linaro.org>
9122
9123 * malloc/obstack.c: Merge from gnulib master.
9124 [HAVE_CONFIG_H]: Remove conditional code.
9125 [!_LIBC]: Include config.h.
9126 [!ELIDE_CODE]: Don't include inttypes.h, include
9127 stdint.h unconditionally.
9128 (print_and_abort): Mark as _Noreturn.
9129 (_obstack_allocated_p): Mark as __attribute_pure__.
9130 (obstack_free): Rename to __obstack_free.
9131 [!__attribute__]: Remove conditional code.
9132 * malloc/obstack.h: Merge from gnulib master.
9133 [__cplusplus]: Move conditional down.
9134 [!__attribute_pure__]: Define __attribute_pure__ here
9135 if it is not already defined.
9136 (_obstack_memory_used): Mark as __attribute_pure__.
9137 [!__obstack_free]: Define as obstack_free.
9138 [__GNUC__]: Remove check for ancient NeXT gcc.
9139
9140 2014-07-02 Will Newton <will.newton@linaro.org>
9141 Paul Eggert <eggert@cs.ucla.edu>
9142
9143 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9144
9145 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9146
9147 * resolv/gethnamaddr.c: Add comment warning that the file is
9148 not maintained.
9149
9150 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9151
9152 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9153 entries.
9154
9155 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9156 entry for aio_cancel and aio_cancel64.
9157 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9158 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9159 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9160 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9161 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9162 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9163 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9164 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9165 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9166 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9167 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9168 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9169 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9170
9171 2014-07-01 Roland McGrath <roland@hack.frob.com>
9172
9173 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9174 * nptl/pthread_mutex_lock.c: Likewise.
9175 * nptl/pthread_mutex_timedlock.c: Likewise.
9176 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9177
9178 2014-07-01 Richard henderson <rth@redhat.com>
9179
9180 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9181 (__isnan, __isnanl): Remove.
9182 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9183
9184 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9185
9186 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9187
9188 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9189
9190 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9191
9192 * resolv/nss_dns/dns-host.c (getanswer_r)
9193 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9194
9195 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9196
9197 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9198 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9199 undefine.
9200 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9201 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9202
9203 2014-07-01 Roland McGrath <roland@hack.frob.com>
9204
9205 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9206 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9207
9208 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9209 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9210
9211 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9212 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9213 ... here.
9214 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9215 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9216
9217 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9218 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9219 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9220 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9221
9222 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9223 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9224 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9225 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9226 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9227 Moved ...
9228 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9229 ... here.
9230 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9231 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9232 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9233 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9234 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9235 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9236 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9237 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9238 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9239 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9240 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9241 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9242 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9243 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9245 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9247 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9248 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9250 ... here.
9251 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9254 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9255 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9256 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9257 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9258 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9259
9260 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9261
9262 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9263 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9264 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9265 Add sysdep.
9266
9267 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9268
9269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9270
9271 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9272
9273 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9274 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9275
9276 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9277
9278 * sysdeps/arm/libm-test-ulps: Regenerated.
9279
9280 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9281 Roland McGrath <roland@hack.frob.com>
9282
9283 * test-skeleton.c (signal_handler): Kill the whole process group
9284 before killing the child individually.
9285 (main): Report any failure on `setpgid'.
9286
9287 2014-06-30 Roland McGrath <roland@hack.frob.com>
9288
9289 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9290 from _TLS_H to _ARM_NPTL_TLS_H.
9291 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9292 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9293
9294 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9295
9296 [BZ #16539]
9297 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9298 (__expm1l): Return argument unchanged when small but not
9299 subnormal.
9300
9301 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9302 include macro name.
9303 (_FP_UNPACK_RAW_1_P): Likewise.
9304 (_FP_PACK_RAW_1): Likewise.
9305 (_FP_PACK_RAW_1_P): Likewise.
9306 (_FP_MUL_MEAT_1_wide): Likewise.
9307 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9308 (_FP_MUL_MEAT_1_hard): Likewise.
9309 (_FP_DIV_MEAT_1_imm): Likewise.
9310 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9311 (_FP_DIV_MEAT_1_udiv): Likewise.
9312 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9313 (_FP_UNPACK_RAW_2): Likewise.
9314 (_FP_UNPACK_RAW_2_P): Likewise.
9315 (_FP_PACK_RAW_2): Likewise.
9316 (_FP_PACK_RAW_2_P): Likewise.
9317 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9318 (_FP_MUL_MEAT_2_wide): Likewise.
9319 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9320 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9321 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9322 (_FP_MUL_MEAT_2_gmp): Likewise.
9323 (_FP_DIV_MEAT_2_udiv): Likewise.
9324 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9325 (_FP_FRAC_SRL_4): Likewise.
9326 (_FP_FRAC_SRST_4): Likewise.
9327 (_FP_FRAC_SRS_4): Likewise.
9328 (_FP_UNPACK_RAW_4): Likewise.
9329 (_FP_UNPACK_RAW_4_P): Likewise.
9330 (_FP_PACK_RAW_4): Likewise.
9331 (_FP_PACK_RAW_4_P): Likewise.
9332 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9333 (_FP_MUL_MEAT_4_wide): Likewise.
9334 (_FP_MUL_MEAT_4_gmp): Likewise.
9335 (umul_ppppmnnn): Likewise.
9336 (_FP_DIV_MEAT_4_udiv): Likewise.
9337 (__FP_FRAC_ADD_4): Likewise.
9338 (__FP_FRAC_SUB_3): Likewise.
9339 (__FP_FRAC_SUB_4): Likewise.
9340 (__FP_FRAC_DEC_3): Likewise.
9341 (__FP_FRAC_DEC_4): Likewise.
9342 (__FP_FRAC_ADDI_4): Likewise.
9343 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9344 (_FP_FRAC_SRL_8): Likewise.
9345 (_FP_FRAC_SRS_8): Likewise.
9346
9347 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9348 include macro name.
9349 (FP_UNPACK_RAW_EP): Likewise.
9350 (FP_PACK_RAW_E): Likewise.
9351 (FP_PACK_RAW_EP): Likewise.
9352 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9353 (_FP_ISSIGNAN): Likewise.
9354 (_FP_ADD_INTERNAL): Likewise.
9355 (_FP_FMA): Likewise.
9356 (_FP_CMP): Likewise.
9357 (_FP_SQRT): Likewise.
9358 (_FP_TO_INT): Likewise.
9359 (_FP_FROM_INT): Likewise.
9360 (FP_EXTEND): Likewise.
9361 (_FP_DIV_MEAT_N_loop): Likewise.
9362
9363 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9364
9365 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9366 throughout.
9367
9368 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9369
9370 [BZ #17097]
9371 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9372 result with correct sign in case of exponents that produce
9373 overflow except for X very close to 1.
9374
9375 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9376
9377 mktime: merge #if/#ifdef usage from glibc
9378 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9379 as that works with both Glibc's and Gnulib's style.
9380 See thread starting at Siddhesh Poyarekar's bug report at:
9381 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9382
9383 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
9385 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9386 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9387 * sysdeps/tile/tilegx/memmove.c: Remove file.
9388
9389 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9390
9391 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9392 abi-name definition.
9393 * scripts/soversions.awk: Do not handle or generate ABI lines.
9394 * shlib-versions: Remove ABI entries.
9395 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9396 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9397
9398 2014-06-27 Roland McGrath <roland@hack.frob.com>
9399
9400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9401 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9402 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9403 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9405 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9406 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9407 Moved ...
9408 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9409 ... here.
9410 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9411 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9413 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9414 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9415 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9416 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9417 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9419 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9421 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9423 Moved ...
9424 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9426 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9427 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9428 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9429 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9430 Moved ...
9431 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9433 Moved ...
9434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9436 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9438 Moved ...
9439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9441 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9443 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9444 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9445 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9447 Moved ...
9448 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9449 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9450 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9451 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9452 Moved ...
9453 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9454 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9455 Moved ...
9456 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9458 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9459 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9460 Moved ...
9461 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9462 ... here.
9463 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9464 Identical file removed.
9465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9466 Moved ...
9467 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9468 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9469 Identical file removed.
9470 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9471 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9472 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9473 Moved ...
9474 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9476 Identical file removed.
9477 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9478 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9479 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9480 Identical file removed.
9481 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9482 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9484 Identical file removed.
9485 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9486 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9487 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9488 Identical file removed.
9489 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9490 Moved ...
9491 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9492 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9493 Identical file removed.
9494 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9495 Moved ...
9496 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9498 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9499 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9500 Identical file removed.
9501 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9502 Moved ...
9503 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9504 ... here.
9505 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9506 Identical file removed.
9507 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9508 Moved ...
9509 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9510 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9511 Identical file removed.
9512 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9513 Moved ...
9514 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9516 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9518 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9519 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9520 Moved ...
9521 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9522 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9523 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9524
9525 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9526 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9527 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9528 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9529 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9530
9531 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9532
9533 [BZ #17092]
9534 * nscd/nscd.c (monitor_child): Return exit status of child
9535 instead of return value from wait syscall.
9536
9537 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9538
9539 * configure.ac (libc_commonpagesize): Remove variable.
9540 (libc_relro_required): Likewise.
9541 (libc_cv_z_relro): Remove configure test.
9542 * configure: Regenerated.
9543 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9544 variable.
9545 (libc_relro_required): Likewise.
9546 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9547 (libc_relro_required): Likewise.
9548 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9549 (libc_relro_required): Likewise.
9550 * sysdeps/arm/preconfigure: Regenerated.
9551 * sysdeps/ia64/preconfigure: Remove file.
9552 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9553 variable.
9554 (libc_relro_required): Likewise.
9555
9556 [BZ #16561]
9557 [BZ #16562]
9558 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9559 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9560 recompute overflowing results in original rounding mode.
9561 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9562 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9563 recompute overflowing results in original rounding mode.
9564 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9565 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9566 recompute overflowing results in original rounding mode.
9567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9568 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9569 recompute overflowing results in original rounding mode.
9570 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9571 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9572 recompute overflowing results in original rounding mode.
9573 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9574 (libc_feholdsetround_ctx): New macro.
9575 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9576 * sysdeps/i386/fpu/libm-test-ulps: Update.
9577 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9578
9579 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9580
9581 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9582 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9583 corresponding .cpsetup call.
9584
9585 2014-06-26 Roland McGrath <roland@hack.frob.com>
9586
9587 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9588 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9589 * sysdeps/arm/Makefile [$(subdir) = csu]
9590 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9591 (static-only-routines): Add aeabi_read_tp here.
9592 (shared-only-routines): Add libc-aeabi_read_tp here.
9593 (CFLAGS-libc-start.c): Add -fexceptions here.
9594 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9595 (sysdep_routines, static-only-routines, shared-only-routines):
9596 Don't add to these here.
9597 (CFLAGS-libc-start.c): Likewise.
9598
9599 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9600 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9601 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9602 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9603 * sysdeps/arm/Makefile [$(subdir) = rt]
9604 (librt-sysdep_routines, librt-shared-only-routines):
9605 Append rt-aeabi_unwind_cpp_pr1 here.
9606 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9607 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9608 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9609 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9610 Append nptl-aeabi_unwind_cpp_pr1 here.
9611 (tests): Filter out tst-cleanupx4 here.
9612 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9613 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9614 Don't do those here.
9615
9616 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9617
9618 * scripts/list-sources.sh: Do not handle ports specially.
9619
9620 2014-06-26 Roland McGrath <roland@hack.frob.com>
9621
9622 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9623 * sysdeps/arm/feupdateenv.c: Likewise.
9624
9625 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9626
9627 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9628
9629 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9630 trailing whitespace removed.
9631 * scripts/config.guess: Update to version 2014-03-23.
9632 * scripts/config.sub: Update to version 2014-05-01
9633 * scripts/install-sh: Update to version 2013-12-25.23.
9634 * scripts/move-if-change: Update from gnulib.
9635
9636 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9637
9638 * debug/memmove_chk.c: Remove pagecopy.h include.
9639
9640 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9641
9642 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9643 identical to gnulib mktime.
9644
9645 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9646
9647 * configure.ac: Do not test for machine being rs6000. Do not test
9648 for powerpc*-*soft.
9649 * configure: Regenerated.
9650
9651 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9652 test.
9653 * configure: Regenerated.
9654 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9655 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9656 Remove configure test.
9657 * sysdeps/arm/configure: Regenerated.
9658 * sysdeps/nptl/configure.ac: Do not check
9659 libc_cv_asm_cfi_directives.
9660 * sysdeps/nptl/configure: Regenerated.
9661 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9662 * sysdeps/x86_64/nptl/configure: Remove generated file.
9663 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9664 unconditional.
9665 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9666
9667 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9668
9669 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9670 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9671 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9672 it is defined.
9673
9674 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9675 instead of whether it is defined.
9676 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9677 * sysdeps/hppa/dl-machine.h: Likewise.
9678 * sysdeps/ia64/dl-machine.h: Likewise.
9679 * sysdeps/m68k/dl-machine.h: Likewise.
9680 * sysdeps/microblaze/dl-machine.h: Likewise.
9681 * sysdeps/mips/dl-machine.: Likewise.
9682 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9684 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9685 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9686 * sysdeps/sh/dl-machine.h: Likewise.
9687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9689 * sysdeps/tile/dl-machine.h: Likewise.
9690 * sysdeps/x86_64/dl-machine.h: Likewise.
9691
9692 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9693 code.
9694 (verify_persistent_db): Likewise.
9695
9696 2014-06-26 Roland McGrath <roland@hack.frob.com>
9697
9698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9699 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9701 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9703 Moved ...
9704 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9705 ... here.
9706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9707 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9709 Identical file removed.
9710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9713 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9715 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9717 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9719 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9721 Moved ...
9722 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9724 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9726 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9728 Moved ...
9729 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9731 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9733 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9735 Identical file removed.
9736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9737 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9739 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9741 Moved ...
9742 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9743 ... here.
9744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9747 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9749 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9751 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9755 Moved ...
9756 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9758 Moved ...
9759 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9761 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9763 Moved ...
9764 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9766 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9767
9768 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9769 folded into ...
9770 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9771 * sysdeps/unix/sysv/linux/s390/Versions
9772 (libpthread: GLIBC_2.19): New version set.
9773 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9774 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9775 (librt: GLIBC_2.3.3): New version set.
9776 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9777 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9778 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9779 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9780 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9781 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9782 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9783 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9784 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9785 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9786 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9787 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9788 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9789 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9790 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9791 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9792 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9793 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9794 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9795 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9796 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9797 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9798 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9799 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9800 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9801 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9802 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9803 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9804 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9805 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9806 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9807 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9809 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9811 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9812 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9813 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9814 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9816 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9818 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9819 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9820 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9821
9822 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9823 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9824 (__libc_vfork): Define the function under this name.
9825 [!NOT_IN_libc] (__vfork): Make this an alias.
9826 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9828 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9829 (__libc_vfork): Define the function under this name.
9830 [!NOT_IN_libc] (__vfork): Make this an alias.
9831 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9832 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9833 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9834 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9836 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9837
9838 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9839 code that was previously under [RESET_PID].
9840 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9841 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9843
9844 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9845 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9846 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9847 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9848 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9849 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9850 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9851 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9852 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9854 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9855 Moved ...
9856 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9860 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9863 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9876 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9877 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9880 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9881 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9882 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9883 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9884 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9885
9886 2014-06-25 Roland McGrath <roland@hack.frob.com>
9887
9888 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9889 that was previously under [RESET_PID].
9890 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9891
9892 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9893
9894 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9895 not undefine and redefine.
9896 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9897 [O_CLOEXEC]: Make code unconditional.
9898 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9899 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9900 <kernel-features.h>.
9901 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9902 conditional variable definition.
9903 (shm_open) [O_CLOEXEC]: Make code unconditional.
9904 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9905 code.
9906
9907 * configure.ac (USE_REGPARMS): Don't define here.
9908 * configure: Regenerated.
9909 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9910 * sysdeps/i386/configure: Regenerated.
9911
9912 * nptl/createthread.c: Don't include kernel-features.h.
9913 * nptl/pthread_cancel.c: Likewise.
9914 * nptl/pthread_condattr_setclock.c: Likewise.
9915 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9916 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9917 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9918 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9919 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9920 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9921 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9924 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9925 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9926 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9927 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9928 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9929 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9930 * nscd/gai.c: Likewise.
9931 * nss/nss_db/db-open.c: Likewise.
9932 * sysdeps/generic/ldsodefs.h: Likewise.
9933 * sysdeps/sh/nptl/tls.h: Likewise.
9934 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9935 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9936 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9937 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9938 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9939 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9940 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9941 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9942 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9943 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9944 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9945 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9946 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9947 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9948 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9949 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9950 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9951 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9952 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9953 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9954 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9955 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9956 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9957 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9960 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9961 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9962 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9963 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9964 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9965 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9966 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9967 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9968 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9969 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9970 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9971 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9972 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9973 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9974 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9975 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9976 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9977 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9978 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9979 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9980 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9981 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9982 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9983 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9984 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9985 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9986 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9987 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9988 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9989 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9990 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9991 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10014 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10015 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10016 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10017 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10018 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10019 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10020 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10021 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10022 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10023 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10024 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10025 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10026 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10027 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10028 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10029 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10030 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10031 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10032 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10033 * sysdeps/unix/sysv/linux/system.c: Likewise.
10034 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10035 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10036 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10037 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10038 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10039 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10040 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10041
10042 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10043 * configure: Regenerated.
10044 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10045
10046 * configure.ac (base_machine): Do not set specially for particular
10047 machines here.
10048 * configure: Regenerated.
10049 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10050 settings from configure.ac.
10051 * sysdeps/i386/preconfigure: New file.
10052 * sysdeps/s390/preconfigure: Likewise.
10053 * sysdeps/sh/preconfigure: Likewise.
10054 * sysdeps/sparc/preconfigure: Likewise.
10055
10056 2014-06-25 Roland McGrath <roland@hack.frob.com>
10057
10058 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10059 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10060 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10061 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10062 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10063 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10064 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10065 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10066 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10067 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10068 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10069 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10070 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10071 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10072 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10073 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10074 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10075 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10076 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10077
10078 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10079 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10080 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10081 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10082 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10083 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10084 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10085 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10086 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10087 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10088 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10089 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10090 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10091 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10092 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10093 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10094 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10095 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10096 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10097 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10098 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10099 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10100 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10101 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10102 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10103 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10104 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10105 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10107 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10108 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10109 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10110 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10111 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10112 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10113 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10114 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10115 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10116
10117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10118 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10120 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10122 Moved ...
10123 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10124 ... here.
10125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10126 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10128 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10130 Moved ...
10131 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10133 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10135 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10137 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10139 Moved ...
10140 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10142 Moved ...
10143 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10145 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10147 Moved ...
10148 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10150 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10152 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10154 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10156 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10158 Moved ...
10159 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10160 ... here.
10161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10162 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10164 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10166 Moved ...
10167 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10169 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10171 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10173 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10175 Moved ...
10176 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10178 Moved ...
10179 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10181 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10183 Moved ...
10184 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10186 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10188 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10189
10190 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10191
10192 * timezone/checktab.awk: Update from tzcode 2014e.
10193 * timezone/private.h: Likewise.
10194 * timezone/tzfile.h: Likewise.
10195 * timezone/zdump.c: Likewise.
10196 * timezone/zic.c: Likewise.
10197
10198 * sysdeps/unix/sysv/linux/kernel-features.h
10199 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10201 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10202 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10203 Remove conditional code.
10204
10205 2014-06-25 Will Newton <will.newton@linaro.org>
10206
10207 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10208 (_dl_arm_cap_flags): Add HWCAP2 values.
10209 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10210 (_DL_HWCAP_COUNT): Increase to 37.
10211 (_DL_HWCAP_LAST): New define.
10212 (_DL_HWCAP2_LAST): New define.
10213 (_dl_procinfo): Add support for printing
10214 AT_HWCAP2 entries.
10215 (_dl_string_hwcap): Use _dl_hwcap_string.
10216
10217 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10218
10219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10220
10221 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10222
10223 * README: Do not mention ports directory.
10224
10225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10226 Remove macro.
10227 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10228 <kernel-features.h>.
10229 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10230 conditional variable definition.
10231 (__futimes): Update comment.
10232 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10233 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10234
10235 [BZ #16560]
10236 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10237 arguments close to 0.
10238 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10239 Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10241 Likewise.
10242 * math/auto-libm-test-in: Add more tests of exp10.
10243 * math/auto-libm-test-out: Regenerated.
10244 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10245
10246 * sysdeps/unix/sysv/linux/kernel-features.h
10247 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10248 * sysdeps/unix/sysv/linux/readv.c: Do not include
10249 <kernel-features.h>.
10250 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10251 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10252 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10253 unconditional.
10254 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10255 conditional code.
10256 * sysdeps/unix/sysv/linux/writev.c: Do not include
10257 <kernel-features.h>.
10258 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10259 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10260 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10261 unconditional.
10262 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10263 conditional code.
10264
10265 2014-06-25 Will Newton <will.newton@linaro.org>
10266
10267 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10268 comment changes throughout the file. Remove checks
10269 for HAVE_*_H definitions that are not required.
10270 (__gen_tempname): Call abort if an unknown kind value is
10271 passed.
10272
10273 2014-06-25 Andreas Schwab <schwab@suse.de>
10274
10275 [BZ #17086]
10276 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10277 scalbln, scalblnf, scalblnl in libc.
10278
10279 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10280
10281 [BZ #17086]
10282 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10283 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10284 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10285
10286 2014-06-24 Roland McGrath <roland@hack.frob.com>
10287
10288 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10289 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10290 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10291 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10292 Update #include.
10293 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10294 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10295 Update #include.
10296 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10297 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10298 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10299 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10300 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10301 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10302 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10303 * sysdeps/x86/bits/semaphore.h: ... here.
10304 * sysdeps/x86/nptl/elide.h: Moved ...
10305 * sysdeps/x86/elide.h: ... here.
10306 * sysdeps/x86_64/nptl/Implies: File removed.
10307 * sysdeps/i386/nptl/Implies: File removed.
10308
10309 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10310
10311 [BZ #16539]
10312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10313 return the argument for normal arguments with exponent below -64.
10314 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10315 Likewise.
10316 * math/auto-libm-test-in: Add another test of expm1.
10317 * math/auto-libm-test-out: Regenerated.
10318
10319 [BZ #16287]
10320 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10321 calling __erfcl for arguments at least 16.
10322 * math/auto-libm-test-in: Add more tests of erf.
10323 * math/auto-libm-test-out: Regenerated.
10324
10325 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10326 individual architectures.
10327 * sysdeps/unix/sysv/linux/configure: Regenerated.
10328 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10329 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10330 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10331 (ldd_rewrite_script): Define variable.
10332 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10334 file.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10336 generated file.
10337 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10338 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10339 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10340 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10341 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10342 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10343 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10344 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10345
10346 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10347
10348 [BZ #17084]
10349 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10350 Rename member __data.d to __data.__elision_data.
10351
10352 2014-06-24 Wilco <wdijkstr@arm.com>
10353
10354 * NEWS: Add 16918 to fixed bug list.
10355
10356 2014-06-24 Wilco <wdijkstr@arm.com>
10357
10358 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10359
10360 2014-06-24 Wilco <wdijkstr@arm.com>
10361
10362 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10363 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10364 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10365 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10366 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10367 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10368 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10369 Use _FPU_MASK_RM.
10370
10371 2014-06-24 Wilco <wdijkstr@arm.com>
10372
10373 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10374
10375 2014-06-24 Wilco <wdijkstr@arm.com>
10376
10377 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10378 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10379 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10380 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10381
10382 2014-06-24 Wilco <wdijkstr@arm.com>
10383
10384 [BZ #16918]
10385 * sysdeps/arm/feupdateenv.c (feupdateenv):
10386 Rewrite to reduce FPSCR accesses and fix return value.
10387
10388 2014-06-24 Wilco <wdijkstr@arm.com>
10389
10390 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10391 Optimize to avoid unnecessary FPSCR writes.
10392 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10393 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10394 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10395 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10396
10397 2014-06-24 Wilco <wdijkstr@arm.com>
10398
10399 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10400 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10401 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10402 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10403 Call libc_fetestexcept_vfp.
10404 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10405 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10406 __SOFTFP__ ifdef so that they can be built for softfp.
10407
10408 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10409
10410 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10411 argument type signed char.
10412
10413 * Makerules (check-abi): Dump diff of symlist if the test
10414 fails.
10415
10416 2014-06-23 Roland McGrath <roland@hack.frob.com>
10417
10418 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10419 using abort.
10420
10421 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10422 Remove unused variable ST.
10423
10424 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10425
10426 [BZ #16354]
10427 [BZ #17061]
10428 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10429 small arguments before calling __expm1.
10430 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10431 small arguments before calling __expm1f.
10432 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10433 small arguments before calling __expm1l.
10434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10435 Likewise.
10436 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10437 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10438 spurious underflow for some cosh tests.
10439 * math/auto-libm-test-out: Regenerated.
10440 * sysdeps/i386/fpu/libm-test-ulps: Update.
10441
10442 [BZ #17050]
10443 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10444 (__ieee754_y1): Set errno if return value overflows.
10445 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10446 (__ieee754_y1f): Set errno if return value overflows.
10447 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10448 (__ieee754_y1l): Set errno if return value overflows.
10449 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10450 (__ieee754_y1l): Set errno if return value overflows.
10451 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10452 * math/auto-libm-test-out: Regenerated.
10453
10454 * math/gen-auto-libm-tests.c: Document use of
10455 ignore-zero-inf-sign.
10456 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10457 (input_flags): Add ignore-zero-inf-sign.
10458 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10459 * math/gen-libm-test.pl (generate_testfile): Handle
10460 ignore-zero-inf-sign.
10461 * math/auto-libm-test-in: Mark some cpow tests with
10462 ignore-zero-inf-sign and some with xfail-rounding.
10463 * math/auto-libm-test-out: Regenerated.
10464 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10465 * sysdeps/i386/fpu/libm-test-ulps: Update.
10466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10467
10468 [BZ #16315]
10469 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10470 overflowing or underflowing operations take place with sign of
10471 result.
10472 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10473 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10474 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10475 (__ieee754_pow): Recompute overflowing and underflowing results in
10476 original rounding mode.
10477 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10478 (__powl_helper): Allow negative argument X and scale negated value
10479 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10480 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10481 overflowing or underflowing operations take place with sign of
10482 result.
10483 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10484 Include <math.h>.
10485 * math/auto-libm-test-in: Add more tests of pow.
10486 * math/auto-libm-test-out: Regenerated.
10487 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10488 (pow_tonearest_test_data): Remove.
10489 (pow_test_tonearest): Likewise.
10490 (pow_towardzero_test_data): Likewise.
10491 (pow_test_towardzero): Likewise.
10492 (pow_downward_test_data): Likewise.
10493 (pow_test_downward): Likewise.
10494 (pow_upward_test_data): Likewise.
10495 (pow_test_upward): Likewise.
10496 (main): Don't call removed functions.
10497 * sysdeps/i386/fpu/libm-test-ulps: Update.
10498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10499
10500 2014-06-23 Roland McGrath <roland@hack.frob.com>
10501
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10503 Moved ...
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10506 Moved ...
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10509 Moved ...
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10512 Moved ...
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10515 File removed.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10517 File removed.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10519 File removed.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10521 File removed.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10523 File removed.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10525 File removed.
10526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10527 File removed.
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10529 File removed.
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10531 File removed.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10533 File removed.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10535 File removed.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10537 File removed.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10539 Moved ...
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10542 Moved ...
10543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10544 ... here.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10546 Moved ...
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10549 Moved ...
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10552 Moved ...
10553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10555 Moved ...
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10558 Moved ...
10559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10561 Moved ...
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10564 Moved ...
10565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10568 ... here.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10570 Moved ...
10571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10573 Moved ...
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10575 ... here.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10577 Moved ...
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10579 ... here.
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10581 Moved ...
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10583 ... here.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10585 Moved ...
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10588 Moved ...
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10593 Moved ...
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10595 ... here.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10597 Moved ...
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10599 ... here.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10601 Moved ...
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10604 Moved ...
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10607 Moved ...
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10610 Moved ...
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10613 Moved ...
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10615 ... here.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10617 Moved ...
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10620 Moved ...
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10623 Moved ...
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10626 Moved ...
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10631 Moved ...
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10634 Moved ...
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10637 Moved ...
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10639 ... here.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10641 Moved ...
10642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10643 ... here.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10645 Moved ...
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10647 ... here.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10649 Moved ...
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10652 Moved ...
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10655 Moved ...
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10658 Moved ...
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10660 ... here.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10662 Moved ...
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10664 ... here.
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10666 Moved ...
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10668 ... here.
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10670 Moved ...
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10673 Moved ...
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10675
10676 2014-06-23 Will Newton <will.newton@linaro.org>
10677 Wilco <wdijkstr@arm.com>
10678
10679 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10680 implementation. Include get-rounding-mode.h.
10681 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10682 [!libc_feholdsetround_noex_ctx]: Define
10683 libc_feholdsetround_noex_ctx.
10684 [!libc_feholdsetround_noexf_ctx]: Define
10685 libc_feholdsetround_noexf_ctx.
10686 [!libc_feholdsetround_noexl_ctx]: Define
10687 libc_feholdsetround_noexl_ctx.
10688 (libc_feholdsetround_ctx): New function.
10689 (libc_feresetround_ctx): New function.
10690 (libc_feholdsetround_noex_ctx): New function.
10691 (libc_feresetround_noex_ctx): New function.
10692
10693 2014-06-23 Roland McGrath <roland@hack.frob.com>
10694
10695 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10696 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10697 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10698 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10699 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10700 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10701
10702 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10703 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10704 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10705 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10706 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10707 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10708 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10709 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10710 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10711 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10712 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10713 Moved ...
10714 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10715 ... here.
10716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10717 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10719 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10720 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10721 Moved ...
10722 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10723 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10724 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10725 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10726 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10727 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10728 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10730 Moved ...
10731 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10732 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10733 Moved ...
10734 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10735 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10736 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10737 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10738 Moved ...
10739 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10740 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10741 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10742 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10743 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10744 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10745 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10746 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10747 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10748 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10749 Moved ...
10750 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10751 ... here.
10752 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10753 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10754 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10755 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10757 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10759 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10760 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10761 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10763 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10764 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10765 Moved ...
10766 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10768 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10769 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10770 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10771 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10772 Moved ...
10773 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10774 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10775 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10776 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10777 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10778
10779 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10780 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10781 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10782 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10783 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10784 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10785 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10786 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10787 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10788 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10789 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10790 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10791 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10792 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10793 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10794 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10795 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10796 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10797 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10798 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10799 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10800 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10801 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10802 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10803 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10804 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10805 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10806 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10807
10808 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10809
10810 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10811 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10812 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10813 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10814 (IPV6_PMTUDISC_INTERFACE): Likewise.
10815 (IPV6_PMTUDISC_OMIT): Likewise.
10816
10817 2014-06-23 Andreas Schwab <schwab@suse.de>
10818
10819 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10820 Remove unused errout label.
10821
10822 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10823
10824 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10825 macro: hardware supports Vector Crypto instructions.
10826
10827 2014-06-23 Will Newton <will.newton@linaro.org>
10828
10829 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10830 rather than __builtin_expect.
10831
10832 * elf/dl-lookup.c (undefined_msg): Remove variable.
10833 (_dl_lookup_symbol_x): Replace undefined_msg with string
10834 literal.
10835
10836 * elf/dl-lookup.c (do_lookup_unique): New function.
10837 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10838 to a separate function.
10839
10840 2014-06-23 Andreas Schwab <schwab@suse.de>
10841
10842 [BZ #17079]
10843 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10844 before reading the next line.
10845
10846 2014-06-23 Will Newton <will.newton@linaro.org>
10847
10848 * test-skeleton.c (signal_handler): Use printf and %m
10849 rather than perror. Use printf rather than fprintf to
10850 stderr. Use puts rather than fputs to stderr.
10851 (main): Likewise.
10852
10853 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10854
10855 * nscd/nscd.c (thread_info_t): Remove typedef.
10856 (thread_info): Remove variable.
10857
10858 2014-06-21 Allan McRae <allan@archlinux.org>
10859
10860 * NEWS: Mention CVE-2014-4043.
10861
10862 2014-06-20 Roland McGrath <roland@hack.frob.com>
10863
10864 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10865 * nptl/smp.h: ... here.
10866
10867 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10868
10869 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10870 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10871 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10872 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10873
10874 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10875 * nptl/stack-aliasing.h: New file.
10876 * sysdeps/i386/i686/stack-aliasing.h: New file.
10877 * sysdeps/i386/i686/nptl/Makefile: File removed.
10878 * sysdeps/x86_64/stack-aliasing.h: New file.
10879 * sysdeps/x86_64/nptl/Makefile
10880 (CFLAGS-pthread_create.c): Variable removed.
10881
10882 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10883 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10884 old file.
10885 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10886 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10887 old file.
10888
10889 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10890
10891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10892 (__ASSUME_SIGFRAME_V2): Remove macro.
10893 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10894 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10895 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10896 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10897 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10898 Declare as function. Remove conditional macro definitions.
10899 (__default_rt_sa_restorer): Likewise.
10900 (__default_sa_restorer_v1): Remove declaration.
10901 (__default_sa_restorer_v2): Likewise.
10902 (__default_rt_sa_restorer_v1): Likewise.
10903 (__default_rt_sa_restorer_v2): Likewise.
10904 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10905 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10906 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10907
10908 2014-06-20 Roland McGrath <roland@hack.frob.com>
10909
10910 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10911 (libpthread-routines): Add sysdep.
10912 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10913 * sysdeps/unix/sysv/linux/sparc/Versions
10914 (libpthread: GLIBC_2.3.3): New version set.
10915 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10916 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10917 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10918 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10919 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10920 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10921 Moved ...
10922 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10923 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10924 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10925 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10926 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10927 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10928 * sysdeps/sparc/nptl/sem_init.c: ... here.
10929 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10930 * sysdeps/sparc/nptl/sem_post.c: ... here.
10931 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10932 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10933 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10934 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10935 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10936 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10937 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10938 (libpthread-routines): Add cpu_relax.
10939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10940 File removed.
10941 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10942 (librt: GLIBC_2.3.3): New version set.
10943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10944 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10946 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10949 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10951 Moved ...
10952 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10954 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10956 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10958 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10960 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10962 Moved ...
10963 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10964 Update #include.
10965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10966 Moved ...
10967 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10968 Update #include.
10969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10970 Moved ...
10971 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10972 Update #include.
10973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10974 Moved ...
10975 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10976 Update #include.
10977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10978 Moved ...
10979 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10980 Update #include.
10981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10982 Moved ...
10983 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10984 Update #include.
10985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10986 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10990 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10994 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10996 Moved ...
10997 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10999 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11001 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11002
11003 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11004
11005 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11006 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11007 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11008 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11009 * nscd/nscd.c: Likewise.
11010 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11011 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11012 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11013 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11014
11015 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11016 <kernel-features.h>.
11017 (init_mq_netlink): Remove conditional have_sock_cloexec
11018 definitions. Remove code conditional on have_sock_cloexec < 0.
11019 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11020 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11021 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11022 <kernel-features.h>.
11023 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11024 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11025
11026 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11027
11028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11029 Add tests for memset_chk and memset.
11030
11031 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11032 with AVX2_Usable.
11033
11034 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11035
11036 [BZ #16046]
11037 * elf/tst-dl-iter-static.c: New file.
11038 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11039
11040 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11041 error.
11042
11043 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11044
11045 * sysdeps/unix/sysv/linux/kernel-features.h
11046 (__ASSUME_F_GETOWN_EX): Remove macro.
11047 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11048 <kernel-features.h>.
11049 (miss_F_GETOWN_EX): Remove variable or macro.
11050 (do_fcntl): Do not check miss_F_GETOWN_EX.
11051 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11052
11053 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11054 Remove macro.
11055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11056 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11057 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11058
11059 * sysdeps/unix/sysv/linux/kernel-features.h
11060 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11061 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11062 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11063 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11064
11065 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11066
11067 [BZ #17075]
11068 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11069 Fix calculation of the symbol's value.
11070 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11071 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11072 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11073 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11074 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11075 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11076 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11077 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11078 (modules-names): Add `tst-armtlsdescmod',
11079 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11080 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11081 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11082 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11083 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11084 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11085 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11086 ($(objpfx)tst-armtlsdescloc): New dependency.
11087 ($(objpfx)tst-armtlsdescextnow): Likewise.
11088 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11089 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11090 TLS scheme support.
11091 * sysdeps/arm/configure: Regenerate.
11092
11093 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11094
11095 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11096 (__atfct_seterrno_2): Likewise.
11097 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11098 <kernel-features.h>.
11099 (__ASSUME_ATFCTS): Do not undefine and redefine.
11100 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11101 (__have_atfcts): Remove conditional definition.
11102 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11103 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11104 unreachable if [__ASSUME_ATFCTS].
11105 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11106 not undefine and redefine.
11107 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11108 <kernel-features.h>.
11109 (faccessat) [__NR_faccessat]: Make code unconditional.
11110 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11111 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11112 <kernel-features.h>.
11113 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11114 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11115 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11116 <kernel-features.h>.
11117 (fchownat) [__NR_fchownat]: Make code unconditional.
11118 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11119 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11120 <kernel-features.h>.
11121 (futimesat) [__NR_futimesat]: Make code unconditional.
11122 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11123 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11124 <kernel-features.h>.
11125 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11126 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11127 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11128 <kernel-features.h>.
11129 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11130 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11131 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11132 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11133 <kernel-features.h>.
11134 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11135 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11136 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11137 <kernel-features.h>.
11138 (linkat) [__NR_linkat]: Make code unconditional.
11139 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11140 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11141 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11142 <kernel-features.h>.
11143 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11144 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11145 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11146 <kernel-features.h>.
11147 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11148 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11149 * sysdeps/unix/sysv/linux/openat.c: Do not include
11150 <kernel-features.h>.
11151 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11152 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11153 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11154 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11155 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11156 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11157 <kernel-features.h>.
11158 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11159 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11160 result of INLINE_SYSCALL directly, not via int variable.
11161 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11162 <kernel-features.h>.
11163 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11164 (renameat) [__NR_renameat]: Make code unconditional.
11165 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11166 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11167 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11168 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11169 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11170 (__ASSUME_ATFCTS): Do not undefine and redefine.
11171 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11172 <kernel-features.h>.
11173 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11174 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11175 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11176 <kernel-features.h>.
11177 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11178 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11179 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11180 (__ASSUME_ATFCTS): Do not undefine and redefine.
11181 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11182 <kernel-features.h>.
11183 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11184 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11185 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11186 <kernel-features.h>.
11187 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11188 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11189
11190 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11191
11192 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11193
11194 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11195
11196 [BZ #17069]
11197 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11198 constructed tree before returning error.
11199 * posix/bug-regexp36.c: Expand test case.
11200
11201 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11202
11203 [BZ #6803]
11204 * math/libm-test.inc (scalbln_test_date):
11205 Add errno expectations.
11206 * math/w_scalblnf.c: New File.
11207 Add wrapper which checks for setting errno to ERANGE.
11208 Add weak_alias for corresponding scalbln function.
11209 * math/w_scalbln.c: Likewise.
11210 * math/w_scalblnl.c: Likewise.
11211 * math/Makefile (libm-calls): Add w_scalbln.
11212 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11213 Remove weak_alias for corresponding scalbln function.
11214 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11215 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11217 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11218 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11219 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11220 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11221 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11222 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11223 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11224 Remove long_double_symbol for scalblnl function in libm, libc.
11225 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11226 Add wrapper which checks for setting errno to ERANGE.
11227 Add long_double_symbol for scalblnl function in libm, libc.
11228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11229 Remove long_double_symbol for scalblnl in libm.
11230 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11231 Add wrapper which checks for setting errno to ERANGE.
11232 Add long_double_symbol for scalblnl function in libm.
11233 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11234 Do not use wrapper because of own implementation.
11235
11236 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11237
11238 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11239 3 bytes for __pad1 for x32.
11240 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11241
11242 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11243 H.J. Lu <hongjiu.lu@intel.com>
11244
11245 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11246 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11247 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11248 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11249 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11250
11251 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11252
11253 [BZ #17069]
11254 * posix/regcomp.c (parse_expression): Deallocate partially
11255 constructed tree before returning error.
11256 * posix/Makefile.c (tests): Add bug-regex36.
11257 (generated): Add bug-regex36.mtrace.
11258 (tests-special): Add $(objpfx)bug-regex36-mem.out
11259 (bug-regex36-ENV): New variable.
11260 ($(objpfx)bug-regex36-mem.out): New rule.
11261 * posix/bug-regex36.c: New file.
11262
11263 2014-06-19 Will Newton <will.newton@linaro.org>
11264
11265 * malloc/malloc.c (systrim): If extra is zero then return
11266 early.
11267
11268 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11269
11270 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11271
11272 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11273
11274 * sysdeps/aarch64/strchr.S: New file.
11275
11276 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11277
11278 [BZ #17022]
11279 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11280 from arguments -2 or below.
11281 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11282 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11283
11284 2014-06-18 Andreas Schwab <schwab@suse.de>
11285
11286 [BZ #17062]
11287 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11288 of a bracket expr not to run off the end of the string.
11289 * posix/Makefile (tests): Add tst-fnmatch3.
11290 * posix/tst-fnmatch3.c: New file.
11291
11292 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11293
11294 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11295 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11296 [$(cross-compiling) = no]: Likewise.
11297 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11298 [$(cross-compiling) = no]: Likewise.
11299
11300 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11301
11302 [BZ #17031]
11303 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11304 double, adjusted for any remainder from the high double.
11305 * math/libm-test.inc (nearbyint): Add tests.
11306 (rint): Likewise.
11307
11308 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11309
11310 * nptl/sysdeps/powerpc/Makefile: Moved ...
11311 * sysdeps/powerpc/nptl/Makefile: ... here.
11312 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11313 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11314 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11315 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11316 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11317 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11318 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11319 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11320 * nptl/sysdeps/powerpc/tls.h: Moved ...
11321 * sysdeps/powerpc/nptl/tls.h: ... here.
11322
11323 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11324
11325 [BZ #16681]
11326 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11327 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11328 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11329 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11330 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11331 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11332 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11333 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11334 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11335
11336 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11337
11338 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11339
11340 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11341
11342 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11343 defined operator.
11344
11345 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11346 $TIMEOUTFACTOR.
11347
11348 2014-06-16 Florian Weimer <fweimer@redhat.com>
11349
11350 [BZ #17058]
11351 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11352 non-executed part of the test.
11353
11354 2014-06-16 Andreas Schwab <schwab@suse.de>
11355
11356 * string/bits/string2.h (strdup, strndup): Update feature guard.
11357
11358 2014-06-14 David S. Miller <davem@davemloft.net>
11359
11360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11361
11362 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11363
11364 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11365 that was previously under [RESET_PID].
11366 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11367
11368 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11369 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11370 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11371 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11372 (__libc_vfork): New strong alias.
11373 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11374
11375 2014-06-14 Andi Kleen <ak@linux.intel.com>
11376
11377 * sysdeps/generic/elide.h: New file.
11378
11379 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11380
11381 * Makefile (installed-headers): Adjust path of pthread.h header.
11382
11383 2014-06-13 Roland McGrath <roland@hack.frob.com>
11384
11385 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11386 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11387 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11388 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11389
11390 * nptl/sysdeps/s390/Makefile: Moved ...
11391 * sysdeps/s390/nptl/Makefile: ... here.
11392 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11393 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11394 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11395 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11396 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11397 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11398 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11399 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11400 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11401 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11402 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11403 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11404 * nptl/sysdeps/s390/tls.h: Moved ...
11405 * sysdeps/s390/nptl/tls.h: ... here.
11406
11407 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11408 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11409
11410 2014-06-13 David S. Miller <davem@davemloft.net>
11411
11412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11415 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11419 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11420 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11421 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11422 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11423 Remove RESET_PID cpp guards.
11424 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11425 Remove RESET_PID cpp guards.
11426 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11427
11428 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11429
11430 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11431 __sp to uintptr_t.
11432
11433 2014-06-13 Andi Kleen <ak@linux.intel.com>
11434
11435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11438 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11439 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11443 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11444 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11448 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11449 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11454 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11455
11456 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11457 (pthread_rwlock_rdlock): Add elision.
11458 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11459 (pthread_rwlock_wrlock): Add elision.
11460 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11461 (pthread_rwlock_trywrlock): Add elision.
11462 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11463 (pthread_rwlock_tryrdlock): Add elision.
11464 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11465 (pthread_rwlock_tryrdlock): Add elision unlock.
11466 * nptl/sysdeps/pthread/pthread.h:
11467 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11468 (PTHREAD_RWLOCK_INITIALIZER,
11469 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11470 Handle new elision field.
11471 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11472 * sysdeps/arm/nptl/bits/pthreadtypes.h
11473 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11474 * sysdeps/sh/nptl/bits/pthreadtypes.h
11475 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11476 * sysdeps/tile/nptl/bits/pthreadtypes.h
11477 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11478 * sysdeps/a/nptl/bits/pthreadtypes.h
11479 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11480 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11481 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11482 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11483 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11484 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11485 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11486 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11488 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11490 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11492 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11494 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11495 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11496 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11497 (elision_init): Set try_xbegin to zero when no RTM.
11498 * sysdeps/x86/nptl/bits/pthreadtypes.h
11499 (pthread_rwlock_t): Change __pad1 to __rwelision.
11500 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11501
11502 2014-06-13 Andi Kleen <ak@linux.intel.com>
11503
11504 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11505 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11506 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11507 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11508
11509 2014-06-13 Meador Inge <meadori@codesourcery.com>
11510
11511 [BZ #16996]
11512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11513 that the cached result has been set before returning it.
11514
11515 2014-06-12 Roland McGrath <roland@hack.frob.com>
11516
11517 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11518 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11519 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11520 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11521 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11522 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11523
11524 * nptl/sysdeps/sparc/Makefile: Moved ...
11525 * sysdeps/sparc/nptl/Makefile: ... here.
11526 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11527 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11528 * nptl/sysdeps/sparc/tls.h: Moved ...
11529 * sysdeps/sparc/nptl/tls.h: ... here.
11530 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11531 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11532 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11533 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11534 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11535 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11536 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11537 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11538 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11539 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11540 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11541 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11542 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11543 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11544 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11545 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11546 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11547 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11548 Update #include.
11549 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11550 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11551 Update #include.
11552 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11554 Update #include.
11555 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11556 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11557 Update #include.
11558
11559 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11560
11561 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11562 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11563
11564 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11565 (struct list_links): Type removed.
11566 (struct thread_node, struct timer_node): Replace struct list_links
11567 with struct list_head.
11568 (list_unlink_ip): Likewise.
11569 * sysdeps/pthread/timer_routines.c
11570 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11571 (list_append, list_insbefore): Likewise.
11572 (list_init): Function removed.
11573 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11574 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11575 * sysdeps/pthread/Makefile: ... here, new file.
11576
11577 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11578 * sysdeps/nptl/Implies: ... here.
11579 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11580 * nptl/sysdeps/pthread/list.h: Moved ...
11581 * include/list.h: ... here.
11582 * nptl/sysdeps/pthread/createthread.c: Moved ...
11583 * nptl/createthread.c: ... here.
11584 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11585 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11586 * nptl/pt-longjmp.c: ... here.
11587 * nptl/sysdeps/pthread/Makefile: Moved ...
11588 * sysdeps/nptl/Makefile: ... here.
11589 * nptl/sysdeps/pthread/Subdirs: Moved ...
11590 * sysdeps/nptl/Subdirs: ... here.
11591 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11592 * sysdeps/nptl/aio_misc.h: ... here.
11593 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11594 * sysdeps/nptl/bits/libc-lock.h: ... here.
11595 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11596 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11597 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11598 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11599 * nptl/sysdeps/pthread/configure: Moved ...
11600 * sysdeps/nptl/configure: ... here.
11601 * nptl/sysdeps/pthread/configure.ac: Moved ...
11602 * sysdeps/nptl/configure.ac: ... here.
11603 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11604 * sysdeps/nptl/gai_misc.h: ... here.
11605 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11606 * sysdeps/nptl/librt-cancellation.c: ... here.
11607 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11608 * sysdeps/nptl/malloc-machine.h: ... here.
11609 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11610 * sysdeps/nptl/pthread-functions.h: ... here.
11611 * nptl/sysdeps/pthread/pthread.h: Moved ...
11612 * sysdeps/nptl/pthread.h: ... here.
11613 * nptl/sysdeps/pthread/setxid.h: Moved ...
11614 * sysdeps/nptl/setxid.h: ... here.
11615 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11616 * sysdeps/nptl/sigfillset.c: ... here.
11617 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11618 * sysdeps/nptl/tcb-offsets.h: ... here.
11619 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11620 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11621 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11622 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11623 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11624 * sysdeps/pthread/allocalim.h: ... here.
11625 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11626 * sysdeps/pthread/bits/sigthread.h: ... here.
11627 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11628 * sysdeps/pthread/flockfile.c: ... here.
11629 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11630 * sysdeps/pthread/ftrylockfile.c: ... here.
11631 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11632 * sysdeps/pthread/funlockfile.c: ... here.
11633 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11634 * sysdeps/pthread/posix-timer.h: ... here.
11635 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11636 * sysdeps/pthread/timer_create.c: ... here.
11637 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11638 * sysdeps/pthread/timer_delete.c: ... here.
11639 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11640 * sysdeps/pthread/timer_getoverr.c: ... here.
11641 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11642 * sysdeps/pthread/timer_gettime.c: ... here.
11643 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11644 * sysdeps/pthread/timer_routines.c: ... here.
11645 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11646 * sysdeps/pthread/timer_settime.c: ... here.
11647 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11648 * sysdeps/pthread/tst-timer.c: ... here.
11649 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11650 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11651
11652 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11653 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11654
11655 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11656 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11657 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11658 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11659 Update #include target.
11660 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11661 * sysdeps/i386/i686/nptl/Makefile: ... here.
11662 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11663 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11664 Update #include target.
11665 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11666 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11667 * nptl/sysdeps/i386/Makefile: Moved ...
11668 * sysdeps/i386/nptl/Makefile: ... here.
11669 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11670 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11671 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11672 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11673 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11674 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11675 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11676 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11677 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11678 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11679 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11680 * nptl/sysdeps/i386/tls.h: Moved ...
11681 * sysdeps/i386/nptl/tls.h: ... here.
11682
11683 * sysdeps/sh/Makefile [$(subdir) = csu]
11684 (gen-as-const-headers): Add tcb-offsets.sym.
11685 * nptl/sysdeps/sh/Makefile: File removed.
11686 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11687 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11688 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11689 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11690 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11691 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11692 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11693 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11694 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11695 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11696 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11697 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11698 * nptl/sysdeps/sh/tls.h: Moved ...
11699 * sysdeps/sh/nptl/tls.h: ... here.
11700 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11701 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11702 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11703 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11704 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11705 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11706 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11707 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11708 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11709 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11710 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11711 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11712 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11713 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11714 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11715 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11716 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11717 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11718 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11719 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11720 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11721 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11722 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11723 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11724 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11725 Moved ...
11726 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11727 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11728 Moved ...
11729 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11730 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11731 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11732 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11733 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11734 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11735 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11736 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11737 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11738 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11739 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11740 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11741 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11742 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11743 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11744 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11745 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11746 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11747 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11748
11749 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11750
11751 * posix/spawn_faction_addopen.c: Include string.h.
11752
11753 2014-06-11 Roland McGrath <roland@hack.frob.com>
11754
11755 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11756 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11757 * nptl/sysdeps/x86_64/Makefile: Moved ...
11758 * sysdeps/x86_64/nptl/Makefile: ... here.
11759 * nptl/sysdeps/x86_64/configure: Moved ...
11760 * sysdeps/x86_64/nptl/configure: ... here.
11761 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11762 * sysdeps/x86_64/nptl/configure.ac: ... here.
11763 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11764 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11765 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11766 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11767 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11768 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11769 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11770 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11771 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11772 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11773 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11774 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11775 * nptl/sysdeps/x86_64/tls.h: Moved ...
11776 * sysdeps/x86_64/nptl/tls.h: ... here.
11777 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11778 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11779 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11780 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11781
11782 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11783
11784 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11785
11786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11787
11788 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11789
11790 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11791 type.
11792 [POSIX] (off_t): Likewise.
11793 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11794 [POSIX] (S_ISBLK): Require macro.
11795 [POSIX] (S_ISCHR): Likewise.
11796 [POSIX] (S_ISDIR): Likewise.
11797 [POSIX] (S_ISFIFO): Likewise.
11798 [POSIX] (S_ISREG): Likewise.
11799 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11800 optional-macro.
11801 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11802 type.
11803 [POSIX] (time_t): Likewise.
11804 [POSIX] (timer_t): Likewise.
11805
11806 2014-06-11 Florian Weimer <fweimer@redhat.com>
11807
11808 [BZ #17048]
11809 * posix/spawn_int.h (struct __spawn_action): Make the path string
11810 non-const to support deallocation.
11811 * posix/spawn_faction_addopen.c
11812 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11813 * posix/spawn_faction_destroy.c
11814 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11815 path in all spawn_do_open actions.
11816 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11817 posix_spawn_file_actions_addopen.
11818
11819 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11820
11821 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11822 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11823 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11824 conditional code always true.
11825 (__libc_vfork): New alias.
11826
11827 2014-06-11 Roland McGrath <roland@hack.frob.com>
11828
11829 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11830 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11831
11832 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11833
11834 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11835 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11836
11837 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11838 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11839
11840 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11841 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11842
11843 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11844
11845 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11846 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11847 multiarch strcmp for PPC64.
11848 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11849 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11851 multiarch optimizations.
11852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11853 (__libc_ifunc_impl_list): Likewise.
11854
11855 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11856
11857 * benchtests/scripts/validate_benchout.py: New script.
11858 * benchtests/Makefile (bench-func): Call it.
11859 * benchtests/scripts/benchout.schema.json: New file.
11860
11861 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11862
11863 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11864 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11865 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11866 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11867 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11868 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11869 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11870 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11871 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11872 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11873 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11874 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11875 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11876 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11877 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11878 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11880 Moved ...
11881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11882 ... here.
11883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11884 Moved ...
11885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11887 Moved ...
11888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11889 ... here.
11890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11891 Moved ...
11892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11893 ... here.
11894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11895 Moved ...
11896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11898 Moved ...
11899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11900 ... here.
11901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11902 Moved ...
11903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11904 ... here.
11905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11906 Moved ...
11907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11909 Moved ...
11910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11911 ... here.
11912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11913 Moved ...
11914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11915 ... here.
11916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11917 Moved ...
11918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11919 ... here.
11920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11921 Moved ...
11922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11924 Moved ...
11925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11926 ... here.
11927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11928 Moved ...
11929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11930 ... here.
11931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11932 Moved ...
11933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11934 ... here.
11935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11936 Moved ...
11937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11939 Moved ...
11940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11941 ... here.
11942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11943 Moved ...
11944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11945 ... here.
11946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11947 Moved ...
11948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11950 Moved ...
11951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11952 ... here.
11953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11954 Moved ...
11955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11957 Moved ...
11958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11960 Moved ...
11961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11962 ... here.
11963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11964 Moved ...
11965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11966 ... here.
11967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11968 Moved ...
11969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11970 ... here.
11971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11972 Moved ...
11973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11975 Moved ...
11976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11977 ... here.
11978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11979 Moved ...
11980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11981 ... here.
11982 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11983 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11984 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11985 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11986 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11987 Moved ...
11988 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11989 ... here.
11990 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11991 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11992 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11993 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11995 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11996 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11997 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11998 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11999 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12000 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12001 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12002 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12003 Moved ...
12004 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12005 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12006 Moved ...
12007 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12009 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12010 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12011 Moved ...
12012 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12013 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12014 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12015 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12016 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12017 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12018 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12019
12020 2014-06-10 Wilco <wdijkstr@arm.com>
12021
12022 * math/test-fenv-return.c: New file.
12023 * math/Makefile: Add new test test-fenv-return.
12024
12025 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12026
12027 [BZ #17042]
12028 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12029 when x - 1 is zero.
12030 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12031 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12032 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12033 0.0L for an argument of 1.0L.
12034 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12035 Likewise.
12036 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12037 value when x - 1 is zero.
12038 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12039 * sysdeps/i386/fpu/libm-test-ulps: Update.
12040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12041
12042 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12043
12044 [BZ #15119]
12045 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12046
12047 2014-06-09 Roland McGrath <roland@hack.frob.com>
12048
12049 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12050 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12051
12052 2014-06-09 Roland McGrath <roland@hack.frob.com>
12053
12054 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12055 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12056
12057 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12058 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12059
12060 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12061 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12062
12063 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12064 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12065
12066 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12067 if not already defined.
12068 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12069 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12070 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12071 (TLS_INIT_TP): Use it.
12072 (TLS_DEFINE_INIT_TP): New macro.
12073 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12074
12075 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12076
12077 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12078 constant.
12079 [POSIX] (IXANY): Likewise.
12080 [POSIX] (OLCUC): Likewise.
12081 [POSIX || POSIX2008] (CBAUD): Do not allow.
12082 [POSIX || POSIX2008] (DEFECHO): Likewise.
12083 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12084 [POSIX || POSIX2008] (ECHOKE): Likewise.
12085 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12086 [POSIX || POSIX2008] (EXTA): Likewise.
12087 [POSIX || POSIX2008] (EXTB): Likewise.
12088 [POSIX || POSIX2008] (FLUSHO): Likewise.
12089 [POSIX || POSIX2008] (LOBLK): Likewise.
12090 [POSIX || POSIX2008] (PENDIN): Likewise.
12091 [POSIX || POSIX2008] (SWTCH): Likewise.
12092 [POSIX || POSIX2008] (VDISCARD): Likewise.
12093 [POSIX || POSIX2008] (VDSUSP): Likewise.
12094 [POSIX || POSIX2008] (VLNEXT): Likewise.
12095 [POSIX || POSIX2008] (VREPRINT): Likewise.
12096 [POSIX || POSIX2008] (VSTATUS): Likewise.
12097 [POSIX || POSIX2008] (VWERASE): Likewise.
12098 (B*): Change to B[0123456789]*.
12099 * conform/data/time.h-data [POSIX || UNIX98]
12100 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12101 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12102 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12103 [POSIX] (tm_*): Do not allow.
12104
12105 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12106
12107 * Makefile (install): Don't set LANGUAGE.
12108 * Makefile.in (install): Likewise.
12109 * assert/Makefile (test-assert-ENV): Remove variable.
12110 (test-assert-perr-ENV): Likewise.
12111 * elf/Makefile (neededtest4-ENV): Likewise.
12112 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12113 [$(cross-compiling) = no]: Don't set LANGUAGE.
12114 * io/ftwtest-sh (LANG): Remove variable.
12115 * libio/Makefile (tst-widetext-ENV): Likewise.
12116 * manual/install.texi (Running make install): Don't refer to
12117 environment settings for make install.
12118 * INSTALL: Regenerated.
12119 * nptl/tst-tls6.sh: Don't set LANG.
12120 * posix/globtest.sh (LANG): Remove variable.
12121 * string/Makefile (tester-ENV): Likewise.
12122 (inl-tester-ENV): Likewise.
12123 (noinl-tester-ENV): Likewise.
12124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12125 [$(cross-compiling) = no]: Don't set LANGUAGE.
12126 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12127 without explicit environment settings.
12128
12129 2014-06-06 Roland McGrath <roland@hack.frob.com>
12130
12131 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12132 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12133 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12134 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12135
12136 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12137
12138 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12139 other files in the crypt directory.
12140 * crypt/crypt.c: Remove duplicate includes.
12141 * crypt/crypt-entry.c: Likewise.
12142 * crypt/crypt_util.c: Likewise.
12143
12144 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12145
12146 * Makeconfig (run-program-env): New variable.
12147 (run-program-prefix-before-env): Likewise.
12148 (run-program-prefix-after-env): Likewise.
12149 (run-program-prefix): Define in terms of new variables.
12150 (built-program-cmd-before-env): New variable.
12151 (built-program-cmd-after-env): Likewise.
12152 (built-program-cmd): Define in terms of new variables.
12153 (test-program-prefix-before-env): New variable.
12154 (test-program-prefix-after-env): Likewise.
12155 (test-program-prefix): Define in terms of new variables.
12156 (test-program-cmd-before-env): New variable.
12157 (test-program-cmd-after-env): Likewise.
12158 (test-program-cmd): Define in terms of new variables.
12159 * Rules (make-test-out): Use $(run-program-env).
12160 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12161 (help): Do not mention environment variables. Mention
12162 --timeoutfactor option.
12163 (timeoutfactor): New variable.
12164 (blacklist_exports): Remove function.
12165 (exports): Remove variable.
12166 (command): Do not include ${exports}.
12167 * manual/install.texi (Configuring and compiling): Do not mention
12168 test wrappers preserving environment variables. Mention that last
12169 assignment to a variable must take precedence.
12170 * INSTALL: Regenerated.
12171 * benchtests/Makefile (run-bench): Use $(run-program-env).
12172 * catgets/Makefile ($(objpfx)test1.cat): Use
12173 $(built-program-cmd-before-env), $(run-program-env) and
12174 $(built-program-cmd-after-env).
12175 ($(objpfx)test2.cat): Do not specify environment variables
12176 explicitly.
12177 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12178 $(run-program-env) and $(built-program-cmd-after-env).
12179 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12180 $(run-program-env) and $(test-program-cmd-after-env).
12181 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12182 explicitly.
12183 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12184 run_program_env and test_program_cmd_after_env arguments.
12185 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12186 * elf/tst-pathopt.sh: Use run_program_env argument.
12187 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12188 $(test-wrapper-env) and $(run-program-env).
12189 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12190 run_program_env arguments.
12191 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12192 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12193 $(test-program-prefix-before-env), $(run-program-env) and
12194 $(test-program-prefix-after-env).
12195 ($(objpfx)tst-gettext2.out): Likewise.
12196 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12197 run_program_env and test_program_prefix_after_env arguments.
12198 * intl/tst-gettext2.sh: Likewise.
12199 * intl/tst-gettext4.sh: Do not set environment variables
12200 explicitly.
12201 * intl/tst-gettext6.sh: Likewise.
12202 * intl/tst-translit.sh: Likewise.
12203 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12204 $(test-program-prefix-before-env), $(run-program-env) and
12205 $(test-program-prefix-after-env).
12206 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12207 run_program_env and test_program_prefix_after_env arguments.
12208 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12209 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12210 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12211 explicitly with each use of ${test_wrapper_env}.
12212 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12213 $(test-program-prefix-before-env), $(run-program-env) and
12214 $(test-program-prefix-after-env).
12215 * posix/tst-getconf.sh: Do not set environment variables
12216 explicitly.
12217 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12218 run_program_env and test_program_prefix_after_env arguments.
12219 * stdio-common/tst-printf.sh: Do not set environment variables
12220 explicitly.
12221 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12222 $(test-program-prefix-before-env), $(run-program-env) and
12223 $(test-program-prefix-after-env).
12224 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12225 run_program_env and test_program_prefix_after_env arguments.
12226 Split $test calls into $test_pre and $test.
12227 * timezone/Makefile (build-testdata): Use
12228 $(built-program-cmd-before-env), $(run-program-env) and
12229 $(built-program-cmd-after-env).
12230
12231 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12232
12233 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12234 strlen for non SHARED builds.
12235
12236 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12237
12238 * nptl/allocatestack.c (check_list): Inlined function...
12239 (__reclaim_stacks): ... here.
12240
12241 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12242
12243 [BZ #15698]
12244 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12245 memory overrun.
12246
12247 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12248
12249 * Rules (make-test-out): Include
12250 LOCPATH=$(common-objpfx)localedata in default environment.
12251 * debug/Makefile (tst-chk1-ENV): Remove variable.
12252 (tst-chk2-ENV): Likewise.
12253 (tst-chk3-ENV): Likewise.
12254 (tst-chk4-ENV): Likewise.
12255 (tst-chk5-ENV): Likewise.
12256 (tst-chk6-ENV): Likewise.
12257 (tst-lfschk1-ENV): Likewise.
12258 (tst-lfschk2-ENV): Likewise.
12259 (tst-lfschk3-ENV): Likewise.
12260 (tst-lfschk4-ENV): Likewise.
12261 (tst-lfschk5-ENV): Likewise.
12262 (tst-lfschk6-ENV): Likewise.
12263 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12264 (tst-iconv7-ENV): Likewise.
12265 * intl/Makefile (LOCPATH-ENV): Likewise.
12266 (tst-codeset-ENV): Likewise.
12267 (tst-gettext3-ENV): Likewise.
12268 (tst-gettext5-ENV): Likewise.
12269 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12270 (tst-fopenloc-ENV): Likewise.
12271 (tst-fgetws-ENV): Remove variable.
12272 (tst-ungetwc1-ENV): Likewise.
12273 (tst-ungetwc2-ENV): Likewise.
12274 (bug-ungetwc2-ENV): Likewise.
12275 (tst-swscanf-ENV): Likewise.
12276 (bug-ftell-ENV): Likewise.
12277 (tst-fgetwc-ENV): Likewise.
12278 (tst-fseek-ENV): Likewise.
12279 (tst-ftell-partial-wide-ENV): Likewise.
12280 (tst-ftell-active-handler-ENV): Likewise.
12281 (tst-ftell-append-ENV): Likewise.
12282 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12283 (tst-regexloc-ENV): Likewise.
12284 (bug-regex1-ENV): Likewise.
12285 (tst-regex-ENV): Likewise.
12286 (tst-regex2-ENV): Likewise.
12287 (bug-regex5-ENV): Likewise.
12288 (bug-regex6-ENV): Likewise.
12289 (bug-regex17-ENV): Likewise.
12290 (bug-regex18-ENV): Likewise.
12291 (bug-regex19-ENV): Likewise.
12292 (bug-regex20-ENV): Likewise.
12293 (bug-regex22-ENV): Likewise.
12294 (bug-regex23-ENV): Likewise.
12295 (bug-regex25-ENV): Likewise.
12296 (bug-regex26-ENV): Likewise.
12297 (bug-regex30-ENV): Likewise.
12298 (bug-regex32-ENV): Likewise.
12299 (bug-regex33-ENV): Likewise.
12300 (bug-regex34-ENV): Likewise.
12301 (bug-regex35-ENV): Likewise.
12302 (tst-rxspencer-ENV): Likewise.
12303 (tst-rxspencer-no-utf8-ENV): Likewise.
12304 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12305 (tst-sscanf-ENV): Likewise.
12306 (tst-swprintf-ENV): Likewise.
12307 (tst-swscanf-ENV): Likewise.
12308 (test-vfprintf-ENV): Likewise.
12309 (scanf13-ENV): Likewise.
12310 (bug14-ENV): Likewise.
12311 (tst-grouping-ENV): Likewise.
12312 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12313 (tst-strtod3-ENV): Likewise.
12314 (tst-strtod4-ENV): Likewise.
12315 (tst-strtod5-ENV): Likewise.
12316 (testmb2-ENV): Likewise./
12317 * string/Makefile (tst-strxfrm-ENV): Likewise.
12318 (tst-strxfrm2-ENV): Likewise.
12319 (bug-strcoll1-ENV): Likewise.
12320 (test-strcasecmp-ENV): Likewise.
12321 (test-strncasecmp-ENV): Likewise.
12322 * time/Makefile (tst-strptime-ENV): Likewise.
12323 (tst-ftime_l-ENV): Likewise.
12324 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12325 (tst-mbrtowc-ENV): Likewise.
12326 (tst-wcrtomb-ENV): Likewise.
12327 (tst-mbrtowc2-ENV): Likewise.
12328 (tst-c16c32-1-ENV): Likewise.
12329 (tst-mbsnrtowcs-ENV): Likewise.
12330
12331 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12332
12333 * manual/resource.texi (How to get information about the memory
12334 subsystem?): Fix typo.
12335 Reported by Peon de la Parra Ivan <peon@keba.com>
12336
12337 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12338
12339 [BZ #16882]
12340 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12341 (pthread_spin_lock): Branch out of spin loop to proper location.
12342 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12343 (pthread_spin_lock): Likewise.
12344
12345 * nptl/tst-spin4.c: New test.
12346 * nptl/Makefile (tests): Add tst-spin4.
12347
12348 2014-06-03 Andreas Schwab <schwab@suse.de>
12349
12350 [BZ #15946]
12351 * resolv/res_send.c (send_dg): Reload file descriptor after
12352 calling reopen.
12353
12354 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12355
12356 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12357
12358 2014-06-03 Richard Henderson <rth@redhat.com>
12359
12360 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12361 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12362 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12363 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12364 in the SAVE_PID block.
12365 (__libc_vfork): New alias.
12366 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12367
12368 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12369 child in registers, not on the stack. Remove RESET_PID conditionals.
12370 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12371
12372 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12373
12374 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12375
12376 2014-06-03 Wilco <wdijkstr@arm.com>
12377
12378 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12379 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12380 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12381 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12382 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12383 Likewise.
12384
12385 2014-06-03 Wilco <wdijkstr@arm.com>
12386
12387 * sysdeps/aarch64/fpu/math_private.h
12388 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12389 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12390 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12391 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12392 Fix declarations.
12393
12394 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12395
12396 * crypt/crypt-private.h: Include ufc-crypt.h.
12397 (__b64_from_24bit): Declare extern.
12398 * crypt/crypt_util.c(__b64_from_24bit): New function.
12399 (b64t): New static const variable.
12400 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12401 (b64t): Remove variable.
12402 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12403 * crypt/sha256-crypt.c: Include crypt-private.h.
12404 (b64t): Remove variable.
12405 (__sha256_crypt_r): Remove b64_from_24bit and replace
12406 with __b64_from_24bit.
12407 * crypt/sha512-crypt.c: Likewise.
12408
12409 2014-06-02 Roland McGrath <roland@hack.frob.com>
12410
12411 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12412 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12413 Label the code __libc_vfork rather than __vfork.
12414 [!NOT_IN_libc] (vfork): Define as weak alias.
12415 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12416 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12417 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12418
12419 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12420
12421 * malloc/malloc.c (malloc_info): Fix format specifier for
12422 n_mmaps.
12423
12424 2014-06-02 Wilco <wdijkstr@arm.com>
12425
12426 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12427 FPCR write.
12428
12429 2014-06-02 Wilco <wdijkstr@arm.com>
12430
12431 [BZ #17009]
12432 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12433 Rewrite to reduce FPCR/FPSR accesses.
12434
12435 2014-06-01 David S. Miller <davem@davemloft.net>
12436
12437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12438
12439 2014-05-31 David S. Miller <davem@davemloft.net>
12440
12441 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12442 to occur in round to nearest mode when |x| >= 2.0
12443
12444 2014-05-30 Richard Henderson <rth@twiddle.net>
12445
12446 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12447 (PSEUDO_RET_NOERRNO): Remove.
12448 (ret): Don't redefine.
12449 (ret_NOERRNO): Define in terms of ret.
12450 (ret_ERRVAL): Likewise.
12451
12452 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12453 use of PSEUDO_RET; perform the error check directly.
12454
12455 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12456
12457 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12458 with __int128_t.
12459
12460 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12461
12462 * malloc/malloc (malloc_info): Fix formatting.
12463
12464 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12465 Roland McGrath <roland@hack.frob.com>
12466
12467 * malloc/malloc (malloc_info): Also print mmapped statistics.
12468
12469 2014-05-30 Roland McGrath <roland@hack.frob.com>
12470
12471 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12472 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12473
12474 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12475
12476 * malloc/malloc.c (malloc_info): Inline mi_arena.
12477
12478 2014-05-29 Richard Henderson <rth@twiddle.net>
12479
12480 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12481 Remove comma before expanding ASM_ARGS_##nr.
12482 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12483 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12484 of ASM_ARGS_##nr.
12485 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12486 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12487 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12488 (ASM_ARGS_1): Add leading comma.
12489
12490 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12491 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12492 to __errno_location.
12493 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12494 Remove the expected plt for __errno_location.
12495
12496 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12497 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12498 call to __read_tp.
12499
12500 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12501 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12502 it and break it down.
12503 (DOCARGS_0, DOCARGS_1): Do nothing.
12504 (DOCARGS_2): Update to store into the new stack frame.
12505 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12506 (UNDOCARGS_1): Update to restore from the new stack frame.
12507 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12508 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12509
12510 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12511 (SINGLE_THREAD_P): New parameter for result regno.
12512 (PSEUDO): Update to match; use cbz instead of beq.
12513
12514 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12515 Use ENTRY to define the _nocancel entry point. Share the syscall
12516 and syscall error check paths with the cancel path.
12517 (PSEUDO_END): New.
12518
12519 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12520 whitespace; tabs before and after asm mnemonics.
12521
12522 2014-05-29 Eric Wong <normalperson@yhbt.net>
12523
12524 [BZ #15132]
12525 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12526 Call fstat64 or stat64 internally, depending on arguments passed.
12527 Replace stat buffer argument with file descriptor argument.
12528 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12529 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12530 Pass fd to __internal_statvfs instead of calling fstat64.
12531 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12532 Pass fd to __internal_statvfs64 instead of calling fstat64.
12533 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12534 Pass -1 to __internal_statvfs instead of calling stat64.
12535 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12536 Pass -1 to __internal_statvfs64 instead of calling stat64.
12537
12538 2014-05-28 Roland McGrath <roland@hack.frob.com>
12539
12540 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12541 that was previously under [RESET_PID].
12542 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12543
12544 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12545 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12546
12547 2014-05-27 Roland McGrath <roland@hack.frob.com>
12548
12549 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12550
12551 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12552 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12553
12554 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12555
12556 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12557
12558 2014-05-27 Andreas Schwab <schwab@suse.de>
12559
12560 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12561 TLS_INIT_TP macro.
12562 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12563 * elf/rtld.c (init_tls, dl_main): Likewise.
12564 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12565 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12566 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12567 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12568 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12569 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12570 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12571 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12572 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12573 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12574 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12575 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12576 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12577 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12578 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12579 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12580 * sysdeps/generic/tls.h: Update description.
12581
12582 2014-05-27 Will Newton <will.newton@linaro.org>
12583
12584 [BZ #16990]
12585 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12586 and restore r2 rather than just restoring.
12587
12588 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12589
12590 [BZ #16724]
12591 * libio/tst-ftell-append.c: New test case.
12592 * libio/Makefile (tests): Add test case.
12593 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12594 append mode.
12595 * libio/wfileops.c (do_ftell_wide): Likewise.
12596
12597 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12598
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
12601 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12602 ...
12603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12605 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12606 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12607 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12608 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12609 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12610 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12611 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12612 Moved ...
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12615 Moved ...
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12617 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12618 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12619 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12620 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12621 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12622 ...
12623 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12624 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12625 Moved ...
12626 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12627 here.
12628 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12629 ...
12630 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12631 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12632 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12633
12634 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12635 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12636 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12637 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12638
12639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12640 merge into ...
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12642 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12643 ...
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12646 ...
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12649 Moved ...
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12651 here.
12652 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12653 Moved ...
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12655 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12656 Moved ...
12657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12658
12659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12660 conditional [RESET_PID].
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12663 removed.
12664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12665 removed.
12666
12667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12668 <tcb-offsets.h>.
12669 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12670 (__libc_vfork): New strong alias.
12671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12672 removed.
12673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12674 Removed.
12675
12676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12677 <tcb-offsets.h>.
12678 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12679 (__libc_vfork): New strong alias.
12680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12681 removed.
12682 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12683 removed.
12684
12685 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12686
12687 * malloc/malloc.c (mi_arena): New function.
12688 (malloc_info): Remove nested function mi_arena. Call non-nosted
12689 function mi_arena.
12690
12691 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12692
12693 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12694 by insrwi.
12695 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12696 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12697 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12698 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12699 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12700 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12702
12703 2014-05-26 Andreas Schwab <schwab@suse.de>
12704
12705 [BZ #16984]
12706 * locale/programs/repertoire.c (repertoire_read): Add slash
12707 between I18NPATH element and file name.
12708 * locale/programs/locfile.c (locfile_read): Likewise.
12709
12710 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12711
12712 * nptl/pthread_mutexattr_settype.c
12713 (__pthread_mutexattr_settype):
12714 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12715
12716 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12717
12718 * nptl/tst-mutex5 (do_test):
12719 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12720
12721 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12722
12723 * benchtests/README: Document 'init' directive.
12724 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12725 BENCH_INIT.
12726 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12727 (parse_file): Recognize 'init' directive.
12728
12729 2014-05-26 Kyle McMartin <kyle@redhat.com>
12730
12731 [BZ #16796]
12732 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12733 alignment of struct pthread.
12734
12735 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12736
12737 [BZ #16878]
12738 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12739 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12740 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12741 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12742
12743 2014-05-25 Richard Henderson <rth@twiddle.net>
12744
12745 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12746 (SINGLE_THREAD_P_PIC): Remove.
12747 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12748 (SINGLE_THREAD_P_PIC): Remove.
12749
12750 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12751 branch to syscall error ...
12752 (PSEUDO): ... here.
12753 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12754 from __local_syscall_error to .Lsyscall_error.
12755 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12756 (SYSCALL_ERROR): Update label name.
12757
12758 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12759 Do not use DOARGS/UNDOARGS.
12760 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12761 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12762 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12763 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12764 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12765
12766 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12767 block comment.
12768
12769 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12770 define if !NOT_IN_libc.
12771 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12772 define with non-default symbol versions.
12773
12774 2014-05-23 Richard Henderson <rth@twiddle.net>
12775
12776 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12777 (vfork, __vfork): Define via compat_symbol.
12778
12779 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12780 [!HAVE_IFUNC] (vfork_compat): Remove.
12781 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12782
12783 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12784
12785 [BZ #16978]
12786 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12787 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12788 variable.
12789
12790 2014-05-23 Richard Henderson <rth@twiddle.net>
12791
12792 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12793 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12794 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12795 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12796
12797 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12798 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12799 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12800 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12801 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12802 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12803 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12804 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12805 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12806 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12807 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12808 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12809 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12810 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12811 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12812 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12813 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12814 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12815 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12816 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12817 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12818 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12819 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12820 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12821 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12822 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12823 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12824 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12825 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12826 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12827 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12828 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12829 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12830 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12831 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12832 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12833 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12834 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12835 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12836 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12837 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12838 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12839 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12840 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12841 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12842 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12843 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12844 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12845 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12846 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12847 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12848 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12850 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12851 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12852 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12853
12854 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12855 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12856 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12857 before exiting on error.
12858 (__libc_vfork): New strong alias.
12859 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12860 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12861
12862 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12863 that was previously under [RESET_PID].
12864 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12865
12866 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12867
12868 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12869
12870 [BZ #16977]
12871 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12872 value when x - 1 is zero.
12873 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12874 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12875 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12876 0.0L for an argument of 1.0L.
12877 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12878 Likewise.
12879 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12880 value when x - 1 is zero.
12881 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12882 * sysdeps/i386/fpu/libm-test-ulps: Update.
12883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12884
12885 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12886
12887 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12888 alphasort and versionsort.
12889
12890 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12891
12892 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12893 macro.
12894 [copysignf]: Likewise.
12895
12896 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12897
12898 * crypt/md5-crypt.c: Fix formatting.
12899
12900 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12901
12902 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12903 (b64_from_24bit): New function.
12904
12905 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12906
12907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12908 libc_hidden_builtin_def to ifunc.
12909 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12910 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12911
12912 2014-05-21 Roland McGrath <roland@hack.frob.com>
12913
12914 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12915 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12916
12917 2014-05-21 Joseph Myers <joseph@codesourcery.com>
12918
12919 * nscd/Depend (linuxthreads): Remove.
12920 (nptl): Add.
12921 * resolv/Depend (linuxthreads): Remove.
12922 * rt/Depend (linuxthreads): Remove.
12923
12924 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12925 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12926 $(common-objpfx)elf/.
12927 (link-libc-before-gnulib): Likewise.
12928 (elfobjdir): Remove variable.
12929 * Makefile (install): Use $(elf-objpfx) instead of
12930 $(common-objpfx)elf/.
12931 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12932 $(elfobjdir)/.
12933 (link-libc-deps): Likewise.
12934 ($(common-objpfx)libc.so): Likewise.
12935 ($(common-objpfx)linkobj/libc.so): Likewise.
12936 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12937 instead of $(common-objpfx)elf/.
12938 (symbolic-link-list): Likewise.
12939 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12940 [$(cross-compiling) = no]: Likewise.
12941 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12942 $(elfobjdir)/.
12943 (static-gnulib-arch): Likewise.
12944 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12945 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12946 $(common-objpfx)elf/.
12947
12948 2014-05-21 Richard Henderson <rth@redhat.com>
12949
12950 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12951 (SINGLE_THREAD_P): Use the correct width load. Fold
12952 into the ldr offset.
12953
12954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12955 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12956
12957 2014-05-20 Joseph Myers <joseph@codesourcery.com>
12958
12959 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12960 (libgcc_s_resume): Use __attribute_used__.
12961 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12962 Likewise.
12963
12964 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12965
12966 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12967 optimization when used with float constants.
12968
12969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12970
12971 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12972
12973 [BZ #16915]
12974 * locale/nl_langinfo_l.c: Make direct reference to every
12975 _nl_current_CATEGORY symbol.
12976 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12977 (tests-static): Add tst-langinfo-static.
12978 (tests-special): Add tst-langinfo-static.out.
12979 ($(objpfx)tst-langinfo.out): Redirect output.
12980 ($(objpfx)tst-langinfo-static.out): New.
12981 * localedata/tst-langinfo.sh: Send output to stdout.
12982 * localedata/tst-langinfo-static.c: New file.
12983
12984 [BZ #16965]
12985 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12986 when the shift amount is modulo the limb size.
12987
12988 2014-05-20 Richard Henderson <rth@redhat.com>
12989
12990 [BZ #16967]
12991 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12992 Change type of sa_flags from unsigned int to int.
12993
12994 [BZ #16966]
12995 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12996
12997 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12998
12999 2014-05-20 Will Newton <will.newton@linaro.org>
13000
13001 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13002 Test the return value of the system call in the nocancel case.
13003
13004 2014-05-20 Will Newton <will.newton@linaro.org>
13005 Yvan Roux <yvan.roux@linaro.org>
13006
13007 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13008 #include of asm/ptrace.h.
13009 (PTRACE_GET_THREAD_AREA): Remove #undef.
13010 (PTRACE_GETHBPREGS): Likewise.
13011 (PTRACE_SETHBPREGS): Likewise.
13012 (struct user_regs_struct): New structure.
13013 (struct user_fpsimd_struct): New structure.
13014 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13015 #include of asm/ptrace.h and second #include of sys/user.h.
13016 (PTRACE_GET_THREAD_AREA): Remove #undef.
13017 (PTRACE_GETHBPREGS): Likewise.
13018 (PTRACE_SETHBPREGS): Likewise.
13019 (ELF_NGREG): Use new struct user_regs_struct.
13020 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13021
13022 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13023
13024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13026
13027 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13028
13029 [BZ #16958]
13030 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13031 membar to avoid block loads/stores to overlap previous stores.
13032
13033 2014-05-17 Richard Henderson <rth@redhat.com>
13034
13035 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13036 Create the __##syscall_name##_nocancel entry point.
13037 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13038 Remove; let the sysdep-cancel.h code create it.
13039
13040 2014-05-17 David S. Miller <davem@davemloft.net>
13041
13042 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13043 Protect with __USE_GNU.
13044 (TIOCSET_TEMPT): Likewise.
13045 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13046 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13047 these are already provided in bits/ioctl-types.h
13048
13049 2014-05-16 Roland McGrath <roland@hack.frob.com>
13050
13051 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13052 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13053
13054 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13055 Use wait4 regardless of [__NR_waitpid].
13056
13057 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13058
13059 PR libgcc/60166
13060 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13061 (_FP_NANSIGN_Q): Set the quiet bit.
13062
13063 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13064
13065 * benchtests/Makefile
13066 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13067 not $(common-objpfx)math/libm.so.
13068 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13069 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13070 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13071 $(common-objpfx)dlfcn/libdl.so.
13072 ($(objpfx)tst-audit8): Depend on $(libm), not
13073 $(common-objpfx)math/libm.so.
13074 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13075 not $(common-objpfx)dlfcn/libdl.so.
13076 * math/Makefile
13077 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13078 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13079 [$(build-shared) = yes].
13080 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13081 $(common-objpfx)nptl/libpthread.so.
13082 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13083 $(common-objpfx)math/libm.so$(libm.so-version) or
13084 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13085 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13086 $(common-objpfx)dlfcn/libdl.so.
13087 * setjmp/Makefile (link-libm): Remove variable.
13088 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13089 * stdio-common/Makefile (link-libm): Remove variable.
13090 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13091 * stdlib/Makefile (link-libm): Remove variable.
13092 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13093 ($(objpfx)tst-strtod-round): Likewise.
13094 ($(objpfx)tst-tininess): Likewise.
13095 ($(objpfx)tst-strtod-underflow): Likewise.
13096 ($(objpfx)tst-strtod6): Likewise.
13097 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13098 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13099 $(common-objpfx)dlfcn/libdl.so.
13100
13101 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13102
13103 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13104 BSD terminal modes definitions.
13105
13106 2014-05-16 Roland McGrath <roland@hack.frob.com>
13107
13108 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13109 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13110
13111 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13112 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13113 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13114 Don't do #include_next.
13115 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13116 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13117 Don't do #include_next.
13118 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13119 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13120 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13121 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13122
13123 2014-05-16 Allan McRae <allan@archlinux.org>
13124
13125 * po/sv.po: Update Swedish translation from translation project.
13126
13127 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13128 in sed expression.
13129
13130 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13131
13132 [BZ #16917]
13133 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13134 errno if the TIOCGPTN ioctl fails with an error different than
13135 EINVAL.
13136 * login/tst-ptsname.c: New file.
13137 * login/Makefile (tests): Add tst-ptsname.
13138
13139 [BZ #16943]
13140 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13141 and prlimit64.
13142
13143 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13144
13145 [BZ #16849]
13146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13147 herrno to return EAI_AGAIN.
13148
13149 2014-05-14 Roland McGrath <roland@hack.frob.com>
13150
13151 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13152 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13153 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13154 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13155 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13156 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13157 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13158 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13159 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13160 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13161 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13162 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13163 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13164 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13165 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13166 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13167 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13168 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13170 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13172 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13173 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13174 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13175 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13176 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13177 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13178 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13179 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13180 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13182 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13184 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13186 Moved ...
13187 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13189 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13191 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13193 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13195 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13197 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13199 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13201 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13203 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13205 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13207 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13209 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13211 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13213 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13215 Moved ...
13216 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13218 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13220 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13222 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13224 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13226 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13228 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13230 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13232 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13234 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13236 Moved ...
13237 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13239 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13240
13241 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13242 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13243 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13244 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13245 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13246 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13247 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13248 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13249 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13250 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13251 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13252 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13253 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13254 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13255 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13256 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13257 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13258 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13259 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13260 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13261 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13262 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13263 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13264 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13265 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13266 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13267 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13268 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13269 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13270 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13271 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13272
13273 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13274 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13275
13276 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13277 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13278 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13279 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13280 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13281 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13282 Moved ...
13283 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13284 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13285 Moved ...
13286 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13287 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13288 Moved ...
13289 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13290 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13291 Moved ...
13292 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13293 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13294 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13295 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13296 Moved ...
13297 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13298 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13299 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13300 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13301 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13302 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13303 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13304 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13305 Moved ...
13306 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13307 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13308 Moved ...
13309 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13310 ... here.
13311 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13312 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13313 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13314 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13315 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13316 Moved ...
13317 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13318 ... here.
13319 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13320 Moved ...
13321 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13322 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13323 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13324 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13325 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13326 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13327 Moved ...
13328 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13329 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13330 Moved ...
13331 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13332 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13333 Moved ...
13334 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13335 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13336 Moved ...
13337 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13338 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13339 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13340 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13341 Moved ...
13342 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13343 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13344 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13345 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13346 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13347 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13348 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13349 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13350 Moved ...
13351 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13353 Moved ...
13354 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13355 ... here.
13356 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13357 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13358 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13359 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13360 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13361 Moved ...
13362 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13363 ... here.
13364 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13365 Moved ...
13366 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13367 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13368 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13369 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13370 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13371 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13372 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13373 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13374 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13375 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13376 Moved ...
13377 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13379 Moved ...
13380 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13381 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13382 Moved ...
13383 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13384 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13385 Moved ...
13386 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13387 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13388 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13390 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13391 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13392 Moved ...
13393 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13394 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13395 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13396 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13397 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13398 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13399 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13401 Moved ...
13402 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13404 Moved ...
13405 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13406 ... here.
13407 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13408 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13409 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13410 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13411 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13412 Moved ...
13413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13414 ... here.
13415 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13416 Moved ...
13417 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13418 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13419 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13420 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13421 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13423 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13424 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13425 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13426 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13427 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13428
13429 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13430 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13431
13432 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13433 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13434
13435 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13436 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13437 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13438 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13439 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13440 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13441 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13442 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13443 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13444 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13446 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13447 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13448 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13449 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13451 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13453 Moved ...
13454 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13456 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13458 Moved ...
13459 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13460 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13461 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13462 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13463 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13465 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13467 Moved ...
13468 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13470 Moved ...
13471 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13475 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13476 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13477 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13478 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13479 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13480 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13481 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13482 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13483 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13484 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13485 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13486 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13487 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13488
13489 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13490 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13491 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13492 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13493 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13494
13495 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13496 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13497 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13498 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13499 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13500 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13501 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13502 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13503 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13504 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13505
13506 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13508
13509 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13510 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13511 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13512 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13513 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13514 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13515 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13516 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13517 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13518 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13519 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13520 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13521 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13522 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13524 Update #include.
13525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13526 Likewise.
13527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13528 Likewise.
13529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13530 Likewise.
13531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13532 Likewise.
13533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13534 Likewise.
13535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13536 Likewise.
13537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13538 Likewise.
13539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13540 Likewise.
13541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13542 Likewise.
13543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13546 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13547 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13548 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13552 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13556 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13557 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13558
13559 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13560 that was previously under [RESET_PID].
13561 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13562 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13563 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13564
13565 * sysdeps/i386/nptl/Implies: New file.
13566 * sysdeps/x86_64/nptl/Implies: New file.
13567 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13568 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13569 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13570 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13571
13572 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13573 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13574 (__libc_vfork): New strong alias.
13575 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13576 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13577
13578 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13579 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13580 (__libc_vfork): New strong alias.
13581 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13582 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13583
13584 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13585 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13586 (__libc_vfork): New strong alias.
13587 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13588 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13589 * nptl/pt-vfork.c: New file.
13590 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13591 (libpthread: GLIBC_2.20): New version set (empty).
13592
13593 2014-05-14 Will Newton <will.newton@linaro.org>
13594
13595 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13596 rather than #if.
13597
13598 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13599
13600 [BZ #16564]
13601 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13602 arguments with exponent 65 or above.
13603 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13604 arguments 0x1p113L or above.
13605 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13606 to arguments 0x1p107L or above.
13607 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13608 positive arguments with exponent 65 or above.
13609 * math/auto-libm-test-in: Add more tests of log1p.
13610 * math/auto-libm-test-out: Regenerated.
13611
13612 [BZ #16928]
13613 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13614 non-finite arguments is +0.
13615 * math/s_cacosf.c (__cacosf): Likewise.
13616 * math/s_cacosl.c (__cacosl): Likewise.
13617 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13618 * sysdeps/i386/fpu/libm-test-ulps: Update.
13619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13620
13621 [BZ #16927]
13622 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13623 value.
13624 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13625 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13626 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13627 for explicit high bit of mantissa when testing for argument equal
13628 to 1.
13629 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13630 * sysdeps/i386/fpu/libm-test-ulps: Update.
13631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13632
13633 [BZ #16516]
13634 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13635 (__erf): Scale by 16 instead of 8 in potentially underflowing
13636 case. Ensure exception if result actually underflows.
13637 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13638 (__erff): Scale by 16 instead of 8 in potentially underflowing
13639 case. Ensure exception if result actually underflows.
13640 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13641 (efx8): Remove variable.
13642 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13643 case. Ensure exception if result actually underflows.
13644 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13645 (efx8): Remove variable.
13646 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13647 case. Ensure exception if result actually underflows.
13648 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13649 (efx8): Remove variable.
13650 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13651 case. Ensure exception if result actually underflows.
13652 * math/auto-libm-test-in: Add more tests of erf.
13653 * math/auto-libm-test-out: Regenerated.
13654
13655 2014-05-14 Andreas Schwab <schwab@suse.de>
13656
13657 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13658 Remove code conditionalized on USE___THREAD.
13659
13660 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13661 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13662 not definedness.
13663
13664 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13665
13666 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13667 Define unconditionally.
13668 (__ASSUME_O_CLOEXEC): Likewise.
13669 (__ASSUME_SOCK_CLOEXEC): Likewise.
13670 (__ASSUME_IN_NONBLOCK): Likewise.
13671 (__ASSUME_PIPE2): Likewise.
13672 (__ASSUME_EVENTFD2): Likewise.
13673 (__ASSUME_SIGNALFD4): Likewise.
13674 (__ASSUME_DUP3): Likewise.
13675 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13676 (__ASSUME_DUP3): Do not define.
13677 (__ASSUME_EVENTFD2): Likewise.
13678 (__ASSUME_IN_NONBLOCK): Likewise.
13679 (__ASSUME_O_CLOEXEC): Likewise.
13680 (__ASSUME_PIPE2): Likewise.
13681 (__ASSUME_SIGNALFD4): Likewise.
13682 (__ASSUME_SOCK_CLOEXEC): Likewise.
13683 (__ASSUME_UTIMES): Undefine.
13684 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13685 (__ASSUME_UTIMES): Do not define.
13686 (__ASSUME_O_CLOEXEC): Likewise.
13687 (__ASSUME_SOCK_CLOEXEC): Likewise.
13688 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13689 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13690 0x020621].
13691 (__ASSUME_PIPE2): Likewise.
13692 (__ASSUME_EVENTFD2): Likewise.
13693 (__ASSUME_SIGNALFD4): Likewise.
13694 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13695 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13696 Do not define.
13697 (__ASSUME_EVENTFD2): Likewise.
13698 (__ASSUME_SIGNALFD4): Likewise.
13699 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13700 (__ASSUME_32BITUIDS): Likewise.
13701 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13702 (__ASSUME_IPC64): Likewise.
13703 (__ASSUME_ST_INO_64_BIT): Likewise.
13704 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13705 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13706 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13707 (__ASSUME_UTIMES): Do not define.
13708 (__ASSUME_PSELECT): Likewise.
13709 (__ASSUME_PPOLL): Likewise.
13710 (__ASSUME_O_CLOEXEC): Likewise.
13711 (__ASSUME_SOCK_CLOEXEC): Likewise.
13712 (__ASSUME_IN_NONBLOCK): Likewise.
13713 (__ASSUME_PIPE2): Likewise.
13714 (__ASSUME_EVENTFD2): Likewise.
13715 (__ASSUME_SIGNALFD4): Likewise.
13716 (__ASSUME_DUP3): Likewise.
13717 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13718 (__ASSUME_UTIMES): Likewise.
13719 (__ASSUME_O_CLOEXEC): Likewise.
13720 (__ASSUME_SOCK_CLOEXEC): Likewise.
13721 (__ASSUME_IN_NONBLOCK): Likewise.
13722 (__ASSUME_PIPE2): Likewise.
13723 (__ASSUME_EVENTFD2): Likewise.
13724 (__ASSUME_SIGNALFD4): Likewise.
13725 (__ASSUME_DUP3): Likewise.
13726 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13727 (__ASSUME_UTIMES): Likewise.
13728 (__ASSUME_O_CLOEXEC): Likewise.
13729 (__ASSUME_SOCK_CLOEXEC): Likewise.
13730 (__ASSUME_IN_NONBLOCK): Likewise.
13731 (__ASSUME_PIPE2): Likewise.
13732 (__ASSUME_EVENTFD2): Likewise.
13733 (__ASSUME_SIGNALFD4): Likewise.
13734 (__ASSUME_DUP3): Likewise.
13735 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13736 Likewise.
13737 (__ASSUME_UTIMES): Likewise.
13738 (__ASSUME_EVENTFD2): Likewise.
13739 (__ASSUME_SIGNALFD4): Likewise.
13740 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13741 (__ASSUME_O_CLOEXEC): Likewise.
13742 (__ASSUME_SOCK_CLOEXEC): Likewise.
13743 (__ASSUME_IN_NONBLOCK): Likewise.
13744 (__ASSUME_PIPE2): Likewise.
13745 (__ASSUME_EVENTFD2): Likewise.
13746 (__ASSUME_SIGNALFD4): Likewise.
13747 (__ASSUME_DUP3): Likewise.
13748 (__ASSUME_UTIMES): Undefine.
13749
13750 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13751 feclearexcept. Remove symbol versioning code.
13752 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13753 symbol versioning code.
13754 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13755 symbol versioning code.
13756 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13757 feupdateenv. Remove symbol versioning code.
13758 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13759 fegetexceptflag. Remove symbol versioning code.
13760 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13761 fesetexceptflag. Remove symbol versioning code.
13762 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13763 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13764 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13765 (__posix_fadvise64_l32): Remove prototype.
13766 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13767 code.
13768
13769 2014-05-13 Roland McGrath <roland@hack.frob.com>
13770
13771 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13772 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13773 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13774 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13775
13776 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13777
13778 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13779 current working directory
13780
13781 2014-05-13 Roland McGrath <roland@hack.frob.com>
13782
13783 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13784 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13785 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13786 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13787 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13788 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13789 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13790 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13791 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13792 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13793 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13794 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13795 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13796 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13797 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13798 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13799 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13800 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13801 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13802 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13803 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13804 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13805 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13806 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13807 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13808 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13809 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13810 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13811 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13812 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13813 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13814 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13815 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13816 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13817 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13818 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13819 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13820 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13821 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13822 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13823 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13824 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13825
13826 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13827 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13828
13829 * sysdeps/unix/sysv/linux/arm/Makefile
13830 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13831 Add rt-aeabi_unwind_cpp_pr1.
13832 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13833 Add nptl-aeabi_unwind_cpp_pr1.
13834 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13835 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13836 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13837 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13838 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13839 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13840
13841 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13842 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13843 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13844 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13845
13846 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13847 Deconditionalize the code that was previously under [RESET_PID].
13848 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13849
13850 * sysdeps/generic/exit-thread.h: New file.
13851 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13852 * include/unistd.h (__exit_thread): Remove declaration.
13853 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13854 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13855 * csu/libc-start.c: Include <exit-thread.h>.
13856 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13857 * nptl/pthread_create.c: Include <exit-thread.h>.
13858 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13859 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13860 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13861 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13862 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13863 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13864 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13865 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13866 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13867 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13868 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13869 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13870 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13871 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13872 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13873 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13874 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13875
13876 2014-05-13 Andreas Schwab <schwab@suse.de>
13877
13878 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13879
13880 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13881
13882 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13883 (__ASSUME_UTIMES): Do not condition on kernel version.
13884 (__ASSUME_PSELECT): Define unconditionally.
13885 (__ASSUME_PPOLL): Likewise.
13886 (__ASSUME_ATFCTS): Likewise.
13887 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13888 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13889 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13890 (__ASSUME_UTIMENSAT): Define unconditionally.
13891 (__ASSUME_PRIVATE_FUTEX): Likewise.
13892 (__ASSUME_FALLOCATE): Likewise.
13893 (__ASSUME_O_CLOEXEC): Likewise.
13894 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13895 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13896 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13897 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13898 (__ASSUME_IN_NONBLOCK): Likewise.
13899 (__ASSUME_PIPE2): Likewise.
13900 (__ASSUME_EVENTFD2): Likewise.
13901 (__ASSUME_SIGNALFD4): Likewise.
13902 (__ASSUME_DUP3): Likewise.
13903 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13904 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13905 (__ASSUME_AT_RANDOM): Likewise.
13906 (__ASSUME_PREADV): Likewise.
13907 (__ASSUME_PWRITEV): Likewise.
13908 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13909 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13910 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13911 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13912 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13913 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13914 (__ASSUME_O_CLOEXEC): Define unconditionally.
13915 (__ASSUME_PSELECT): Do not undefine conditionally.
13916 (__ASSUME_PPOLL): Likewise.
13917 (__ASSUME_ATFCTS): Likewise.
13918 (__ASSUME_SET_ROBUST_LIST): Likewise.
13919 (__ASSUME_UTIMENSAT): Likewise.
13920 (__ASSUME_FDATASYNC): Define unconditionally.
13921 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13922 (__ASSUME_SIGFRAME_V2): Likewise.
13923 )__ASSUME_EVENTFD2): Likewise.
13924 (__ASSUME_SIGNALFD4): Likewise.
13925 (__ASSUME_PSELECT): Do not undefine conditionally.
13926 (__ASSUME_PPOLL): Likewise.
13927 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13928 (__ASSUME_PSELECT): Define unconditionally.
13929 (__ASSUME_PPOLL): Likewise.
13930 (__ASSUME_O_CLOEXEC): Likewise.
13931 (__ASSUME_SOCK_CLOEXEC): Likewise.
13932 (__ASSUME_IN_NONBLOCK): Likewise.
13933 (__ASSUME_PIPE2): Likewise.
13934 (__ASSUME_EVENTFD2): Likewise.
13935 (__ASSUME_SIGNALFD4): Likewise.
13936 (__ASSUME_DUP3): Likewise.
13937 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13938 (__ASSUME_O_CLOEXEC): Likewise.
13939 (__ASSUME_SOCK_CLOEXEC): Likewise.
13940 (__ASSUME_IN_NONBLOCK): Likewise.
13941 (__ASSUME_PIPE2): Likewise.
13942 (__ASSUME_EVENTFD2): Likewise.
13943 (__ASSUME_SIGNALFD4): Likewise.
13944 (__ASSUME_DUP3): Likewise.
13945 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13946 (__ASSUME_EVENTFD2): Likewise.
13947 (__ASSUME_SIGNALFD4): Likewise.
13948 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13949
13950 2014-05-12 Andreas Schwab <schwab@suse.de>
13951
13952 [BZ #16932]
13953 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13954 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13955 than maximum RPC packet size.
13956 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13957 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13958 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13959 (_nss_nis_getservbyport_r): Likewise.
13960
13961 2014-05-12 Will Newton <will.newton@linaro.org>
13962
13963 * malloc/Makefile (tests): Add tst-mallopt.
13964 * malloc/tst-mallopt.c: New file.
13965
13966 2014-05-09 Roland McGrath <roland@hack.frob.com>
13967
13968 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13969 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13970
13971 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13972
13973 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13974 (tst-tlsmod6.so): Likewise.
13975
13976 2014-05-09 Roland McGrath <roland@hack.frob.com>
13977
13978 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13979
13980 2014-05-09 Joseph Myers <joseph@codesourcery.com>
13981
13982 [BZ #16064]
13983 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13984 and <dl-procinfo.h>.
13985 (__fegetenv): Save SSE state in envp->__eip if supported.
13986 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13987 envp->__eip if supported.
13988 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13989 and <dl-procinfo.h>.
13990 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13991 __data_offset and __data_selector in environment to 0. Set SSE
13992 state if supported.
13993 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13994 test-fenv-sse.
13995 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13996 -mfpmath=sse.
13997 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13998
13999 2014-05-09 Will Newton <will.newton@linaro.org>
14000
14001 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14002 and libc_relro_required for ARM.
14003 * sysdeps/arm/preconfigure: Regenerate.
14004
14005 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14006 Stefan Liebler <stli@linux.vnet.ibm.com>
14007
14008 * config.make.in (enable-lock-elision): New Makefile variable.
14009 * configure.ac: Likewise.
14010 * configure: Regenerate.
14011 * sysdeps/s390/configure.ac:
14012 Add check for gcc transactions support.
14013 * sysdeps/s390/configure: Regenerate.
14014 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14015 Build elision files if enabled.
14016 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14017 Add lock elision support for s390.
14018 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14019 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14020 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14021 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14022 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14023 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14024 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14025 Likewise.
14026 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14027 Likewise.
14028 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14029 Likewise.
14030 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14031 Likewise.
14032 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14033 (__lll_timedlock_elision, __lll_lock_elision)
14034 (__lll_unlock_elision, __lll_trylock_elision)
14035 (lll_timedlock_elision, lll_lock_elision)
14036 (lll_unlock_elision, lll_trylock_elision): Add.
14037 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14038 (pthread_mutex_t): Add lock elision support for s390.
14039
14040 2014-05-14 Wilco <wdijkstr@arm.com>
14041
14042 * sysdeps/arm/fclrexcpt.c: Cleanup.
14043 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14044 * sysdeps/arm/feenablxcpt.c: Cleanup.
14045 * sysdeps/arm/fegetenv.c: Cleanup.
14046 * sysdeps/arm/fegetexcept.c: Cleanup.
14047 * sysdeps/arm/fegetround.c: Cleanup.
14048 * sysdeps/arm/feholdexcpt.c: Cleanup.
14049 * sysdeps/arm/fesetenv.c: Cleanup.
14050 * sysdeps/arm/fesetround.c: Cleanup.
14051 * sysdeps/arm/feupdateenv.c: Cleanup.
14052 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14053 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14054 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14055 * sysdeps/arm/ftestexcept.c: Cleanup.
14056 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14057 * sysdeps/arm/setfpucw.c: Cleanup.
14058
14059 2014-05-09 Will Newton <will.newton@linaro.org>
14060
14061 * sysdeps/arm/armv7/strcmp.S: New file.
14062 * NEWS: Mention addition of ARMv7 optimized strcmp.
14063
14064 2014-05-08 Roland McGrath <roland@hack.frob.com>
14065
14066 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14067 look for %.ac rather than %.in.
14068
14069 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14070 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14071 * sysdeps/mach/hurd/configure: Regenerated.
14072 * sysdeps/unix/sysv/linux/configure: Regenerated.
14073
14074 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14075
14076 2014-05-07 Steve Ellcey <sellcey@mips.com>
14077
14078 [BZ# 16922]
14079 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14080 (LONG_SUB): Ditto.
14081 (PTR_SUB): Ditto.
14082
14083 2014-05-07 Andreas Schwab <schwab@suse.de>
14084
14085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14086 when skipping over non-matching result from nscd.
14087
14088 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14089
14090 [BZ #16876]
14091 * nptl/sockperf.c (client): Check socket return value.
14092
14093 [BZ #16877]
14094 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14095 nscd security class.
14096
14097 2014-05-06 Roland McGrath <roland@hack.frob.com>
14098
14099 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14100 * sysdeps/arm/unwind.h: ... here.
14101
14102 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14103
14104 [BZ# 16916]
14105 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14106 Define.
14107
14108 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14109
14110 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14111 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14112 multiarch strncpy for PPC64.
14113 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14114 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14116 multiarch optimizations.
14117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14118 (__libc_ifunc_impl_list): Likewise.
14119 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14120 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14121 multiarch stpncpy for PPC64.
14122 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14123 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14124
14125 2014-05-06 Andreas Schwab <schwab@suse.de>
14126
14127 [BZ #16912]
14128 * gmon/mcount.c (_MCOUNT_DECL): Use
14129 atomic_compare_and_exchange_bool_acq instead of
14130 catomic_compare_and_exchange_bool_acq.
14131
14132 2014-05-05 Roland McGrath <roland@hack.frob.com>
14133
14134 * elf/Makefile (others, install-bin): Remove pldd.
14135 (pldd-modules): Variable removed.
14136 ($(objpfx)pldd): Target removed.
14137 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14138 (others, install-bin): Append pldd here.
14139 ($(objpfx)pldd): New target.
14140
14141 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14142 to 0, so the first #if test emitted later doesn't see it undefined.
14143 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14144 * sysdeps/gnu/errlist.c: Regenerated.
14145
14146 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14147
14148 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14149 [libc_hidden_builtin_def]: Define to empty value.
14150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14151 [libc_hidden_builtin_def]: Likewise.
14152 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14153 [libc_hidden_builtin_def]: Likewise.
14154 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14155 [libc_hidden_builtin_def]: Likewise.
14156 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14157 __redirect_memcpy and define ifunc as default hidden symbol.
14158 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14159 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14160
14161 2014-05-04 Adam Conrad <adconrad@0c3.net>
14162
14163 * locale/iso-4217.def: Reintroduce XDR currency.
14164
14165 2014-05-04 Allan McRae <allan@archlinux.org>
14166
14167 * po/eo.po: Update Esperanto translation from translation project.
14168
14169 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14170
14171 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14172 and FEATURE_INDEX_MAX to 1.
14173 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14174
14175 2014-05-01 Steve Ellcey <sellcey@mips.com>
14176
14177 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14178 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14179 * iconvdata/big5.c (ONE_DIRECTION): Define.
14180 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14181 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14182 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14183 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14184 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14185 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14186 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14187 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14188 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14189 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14190 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14191 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14192 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14193 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14194 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14195 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14196 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14197 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14198 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14199 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14200 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14201 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14202 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14203 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14204 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14205 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14206 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14207 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14208 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14209 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14210 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14211 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14212 * iconvdata/johab.c (ONE_DIRECTION): Define.
14213 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14214 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14215 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14216 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14217 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14218 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14219 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14220 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14221 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14222 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14223
14224 2014-05-01 Roland McGrath <roland@hack.frob.com>
14225
14226 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14227 (_IO_JUMPS_OFFSET): Define to 0.
14228
14229 * nptl/sysdeps/pthread/bits/libc-lock.h
14230 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14231 (__libc_lock_define_initialized_recursive): Always define using
14232 initializer. Modern compilers treat uninitialized (implicit zero) and
14233 explicit zero initializers the same (i.e. put the datum in bss).
14234
14235 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14236
14237 * nscd/nscd-client.h: Include <string.h>.
14238
14239 2014-05-01 David S. Miller <davem@davemloft.net>
14240
14241 [BZ #16885]
14242 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14243 multiple zero bytes exist at the end of a string.
14244 Reported by Aurelien Jarno <aurelien@aurel32.net>
14245
14246 * string/test-strcmp.c (check): Add explicit test for situations where
14247 there are multiple zero bytes after the first.
14248
14249 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14250
14251 [BZ #16890]
14252 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14253 when compiling wprintf.
14254 * stdio-common/tstdiomisc.c (t3): New function.
14255 (main): Call it.
14256
14257 2014-05-01 Steve Ellcey <sellcey@mips.com>
14258
14259 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14260 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14261 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14262 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14263
14264 2014-05-01 Steve Ellcey <sellcey@mips.com>
14265
14266 * stdlib/longlong.h: Updated from GCC.
14267
14268 2014-05-01 Will Newton <will.newton@linaro.org>
14269 Bernard Ogden <bernie.ogden@linaro.org>
14270
14271 * NEWS: Update fixed bug list.
14272
14273 [BZ #15119]
14274 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14275
14276 2014-04-30 David S. Miller <davem@davemloft.net>
14277
14278 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14279 (libc_feholdexcept_setround_sparc_ctx): New function.
14280 (libc_fesetenv_sparc_ctx): Likewise.
14281 (libc_feupdateenv_sparc_ctx): Likewise.
14282 (libc_feholdsetround_sparc_ctx): Likewise.
14283 (libc_feholdexcept_setround_ctx): Define.
14284 (libc_feholdexcept_setroundf_ctx): Likewise.
14285 (libc_feholdexcept_setroundl_ctx): Likewise.
14286 (libc_fesetenv_ctx): Likewise.
14287 (libc_fesetenvf_ctx): Likewise.
14288 (libc_fesetenvl_ctx): Likewise.
14289 (libc_feupdateenv_ctx): Likewise.
14290 (libc_feupdateenvf_ctx): Likewise.
14291 (libc_feupdateenvl_ctx): Likewise.
14292 (libc_feresetround_ctx): Likewise.
14293 (libc_feresetroundf_ctx): Likewise.
14294 (libc_feresetroundl_ctx): Likewise.
14295 (libc_feholdsetround_ctx): Likewise.
14296 (libc_feholdsetroundf_ctx): Likewise.
14297 (libc_feholdsetroundl_ctx): Likewise.
14298
14299 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14300 with __USE_GNU instead of XOPEN cpp guards.
14301
14302 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14303 0.
14304
14305 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14306 with XOPEN cpp guards.
14307
14308 2014-04-30 Julian Brown <julian@codesourcery.com>
14309
14310 [BZ #16888]
14311 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14312 handling.
14313
14314 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14315
14316 [BZ #9894]
14317 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14318 Change to 2.6.32.
14319 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14320 * sysdeps/unix/sysv/linux/configure: Regenerated.
14321 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14322 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14323 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14324 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14325 * README: Update reference to required Linux kernel version.
14326 * manual/install.texi (Linux): Update reference to required Linux
14327 kernel headers version.
14328 * INSTALL: Regenerated.
14329
14330 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14331 header inclusion.
14332 [POSIX] (limits.h): Likewise.
14333 [POSIX] (math.h): Likewise.
14334 [POSIX] (sys/wait.h): Likewise.
14335 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14336 function.
14337 [POSIX] (stddef.h): Do not allow header inclusion.
14338
14339 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14340
14341 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14342
14343 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14344
14345 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14346 Return immediately after lll_futex_wake.
14347
14348 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14349
14350 [BZ #16791]
14351 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14352 structure.
14353 (datahead_init_pos): Call datahead_init_common early.
14354 (datahead_init_neg): Likewise.
14355
14356 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14357 datahead_init_neg): New functions.
14358 * nscd/aicache.c (addhstaiX): Use them.
14359 * nscd/grpcache.c (cache_addgr): Likewise.
14360 * nscd/hstcache.c (cache_addhst): Likewise.
14361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14362 * nscd/netgroupcache.c (do_notfound): Likewise.
14363 (addgetnetgrentX): Likewise.
14364 (addinnetgrX): Likewise.
14365 * nscd/pwdcache.c (cache_addpw): Likewise.
14366 * nscd/servicescache.c (cache_addserv): Likewise.
14367
14368 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14369 Atsushi Onoe <atsushi@onoe.org>
14370
14371 [BZ #14308]
14372 [BZ #12994]
14373 [BZ #13651]
14374 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14375 one response is valid.
14376 * resolv/res_send.c (send_dg): Check for validity of other
14377 response if the current response is a referral.
14378
14379 2014-04-29 Steve Ellcey <sellcey@mips.com>
14380
14381 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14382
14383 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14384
14385 [BZ #16823]
14386 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14387 Always divide by positive zero when computing -Inf result.
14388 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14389 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14390
14391 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14392
14393 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14394 FPSCR if value do not change.
14395 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14396 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14397 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14398 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14399 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14400 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14401 function.
14402
14403 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14404
14405 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14406 * sysdeps/unix/sysv/linux/hppa: Move directory from
14407 ports/systeps/unix/sysv/linux/hppa.
14408 * README: Update listing for hppa-*-linux-gnu.
14409
14410 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14411
14412 [BZ #16754]
14413 * manual/stdio.texi (Hook functions): Fix types of stream hook
14414 functions.
14415 [BZ #16854]
14416 * socket/sys/socket.h: Fix typo in comment.
14417
14418 2014-04-28 Wilco <wdijkstr@arm.com>
14419
14420 * sysdeps/arm/fenv_private.h: New file.
14421 * sysdeps/arm/math_private.h: New file.
14422 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14423
14424 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14425
14426 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14427 with __int128_t.
14428 (La_x86_64_retval): Likewise.
14429
14430 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14431
14432 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14433 fpsr if value didn't change.
14434 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14435 to fpcr if value didn't change.
14436 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14437 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14438 fpsr or fpcr if value didn't change.
14439 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14440 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14441 fpcr if value didn't change.
14442 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14443 to fpsr if value didn't change.
14444
14445 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14446
14447 * nptl/tst-sem3.c: Use test-skeleton.c
14448 (main): Rename to do_test. Use return instead of
14449 exit.
14450 * nptl/tst-sem4.c: Use test-skeleton.c
14451 (main): Rename to do_test.
14452
14453 2014-04-22 David S. Miller <davem@davemloft.net>
14454
14455 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14456 (struct sigaction): New struct member __glibc_reserved0, change
14457 type of sa_flags to int.
14458
14459 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14460
14461 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14462 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14463
14464 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14465
14466 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14467 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14468
14469 2014-04-22 Will Newton <will.newton@linaro.org>
14470 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14471
14472 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14473 (__longjmp): Add longjmp and longjmp_target SystemTap
14474 probes.
14475 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14476 (__sigsetjmp): Add setjmp SystemTap probe.
14477
14478 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14479
14480 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14481 match manual order.
14482
14483 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14484
14485 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14486
14487 * sysdeps/powerpc/fpu/fenv_private.h
14488 (libc_feholdexcept_setroundl_ctx): Define to
14489 libc_feholdexcept_setround_ppc_ctx.
14490 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14491 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14492 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14493 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14494
14495 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14496
14497 * sysdeps/aarch64/math-tests.h: New file.
14498
14499 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14500
14501 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14502 New.
14503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14504 Check and set bit_AVX2_Usable.
14505 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14506 macro.
14507 (bit_AVX2): Likewise.
14508 (index_AVX2_Usable): Likewise.
14509 (CPUID_AVX2): Likewise.
14510 (HAS_AVX2): Likewise.
14511
14512 2014-04-17 Will Newton <will.newton@linaro.org>
14513
14514 * manual/setjmp.texi (System V contexts): Add note that
14515 calling setcontext on a context created by a call to a
14516 signal handler is undefined. Update text to note that
14517 setcontext from a signal handler is possible but not
14518 recommended.
14519
14520 [BZ #16629]
14521 * stdlib/tst-setcontext.c: Include signal.h.
14522 (main): Check that the signal stack before and
14523 after swapcontext is the same.
14524
14525 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14526 Re-implement to restore registers in user code and avoid
14527 rt_sigreturn system call.
14528
14529 2014-04-17 Wilco <wdijkstr@arm.com>
14530
14531 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14532 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14533 * math/test-fenv.c: Skip exception trap tests on targets which only
14534 support non-stop mode.
14535
14536 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14537 Wilco Dijkstra <wilco.dijkstra@arm.com>
14538
14539 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14540 (libc_feholdsetround_aarch64_ctx)
14541 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14542 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14543 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14544 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14545 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14546 (libc_feresetround_noexl_ctx): Define.
14547
14548 2014-04-16 Richard Henderson <rth@redhat.com>
14549
14550 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14551
14552 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14553 unwind tables.
14554
14555 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14556 const from the non-libc, non-ldso copy.
14557
14558 * sysdeps/alpha/libm-test-ulps: Regenerate.
14559
14560 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14561 Wilco Dijkstra <wilco.dijkstra@arm.com>
14562
14563 * sysdeps/aarch64/fpu/math_private.h: New file.
14564
14565 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14566
14567 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14568
14569 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14570
14571 [BZ #16275]
14572 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14573 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14575 Intel MPX bound registers before _dl_profile_fixup.
14576 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14577 registers after _dl_profile_fixup. Save and restore bound
14578 registers bnd0/bnd1 when calling _dl_call_pltexit.
14579 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14580 (LR_BND_OFFSET): Likewise.
14581 (LRV_BND0_OFFSET): Likewise.
14582 (LRV_BND1_OFFSET): Likewise.
14583
14584 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14585
14586 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14587 to...
14588 * sysdeps/mach/hurd/i386/tls.h: ... here.
14589 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14590 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14591 fields.
14592
14593 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14594
14595 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14596
14597 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14598
14599 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14600
14601 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14602
14603 [BZ #14770]
14604 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14605 * sysdeps/s390/configure: Regenerate.
14606
14607 [BZ #16824]
14608 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14609 Set round-to-nearest internally to reduce error accumulation.
14610
14611 2014-04-16 Alan Modra <amodra@gmail.com>
14612
14613 [BZ #16740]
14614 [BZ #16619]
14615 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14616 * math/libm-test.inc (frexp_test_data): Add tests.
14617 * NEWS: Update fixed bug list.
14618
14619 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14620
14621 * benchtests/Makefile: Depend on libraries in build directory.
14622 (bench-math): Separate out math tests.
14623 (bench-pthread): Separate out pthread tests.
14624 (bench): Include math and pthread tests.
14625
14626 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14627
14628 [BZ #16831]
14629 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14630 _dl_debug_initialize.
14631
14632 * configure.ac: Remove SELinux header check.
14633 * configure: Regenerate.
14634 * nscd/selinux.c (perms): Array of const char* to permission names.
14635 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14636 default policy. Call string_to_security_class and string_to_av_perm to
14637 translate strings. Enforce default policy and call avs_has_perm with
14638 results of translated strings.
14639
14640 2014-04-13 David S. Miller <davem@davemloft.net>
14641
14642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14643
14644 2014-04-12 Allan McRae <allan@archlinux.org>
14645
14646 [BZ #16838]
14647 * manual/string.texi (Collation Functions): Fix qsort argument
14648 order in example.
14649 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14650
14651 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14652
14653 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14654 Make the test a no-op if there are no exceptions defined.
14655
14656 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14657
14658 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14659 enable-hardcoded-path-in-tests
14660
14661 2014-04-11 Will Newton <will.newton@linaro.org>
14662
14663 * benchtests/Makefile (extra-objs): Add json-lib.o.
14664 (bench-func): Tidy up JSON output.
14665 * benchtests/bench-skeleton.c: Include json-lib.h.
14666 (main): Use JSON library functions to do output of
14667 benchmark results.
14668 * benchtests/bench-timing-type.c (main): Output the
14669 timing type simply, leaving formatting to the user.
14670 * benchtests/json-lib.c: New file.
14671 * benchtests/json-lib.h: Likewise.
14672
14673 2014-04-11 Torvald Riegel <triegel@redhat.com>
14674
14675 [BZ #15215]
14676 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14677 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14678 memory barriers. Add comments.
14679 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14680 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14681 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14682 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14683 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14684 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14685
14686 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14687
14688 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14689 * sysdeps/s390/s390-64/configure.ac: ... this ...
14690 * sysdeps/s390/configure.ac: ... to here.
14691 * sysdeps/s390/s390-32/configure: Delete file.
14692 * sysdeps/s390/s390-64/configure: Delete file.
14693 * sysdeps/s390/configure: Regenerate.
14694
14695 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14696
14697 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14698
14699 2014-04-11 Will Newton <will.newton@linaro.org>
14700
14701 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14702 to zero if it is not defined elsewhere. (mtrim): Test
14703 the value of MALLOC_DEBUG with #if rather than #ifdef.
14704
14705 2014-04-10 Torvald Riegel <triegel@redhat.com>
14706
14707 * benchtests/pthread_once-inputs: New file.
14708 * benchtests/pthread_once-source.c: New file.
14709 * benchtests/README: Update documentation.
14710
14711 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14712 H.J. Lu <hongjiu.lu@intel.com>
14713
14714 [BZ #16275]
14715 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14716 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14717 * sysdeps/x86_64/configure: Regenerated.
14718 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14719 macro.
14720 (REGISTER_SAVE_RAX): Likewise.
14721 (REGISTER_SAVE_RCX): Likewise.
14722 (REGISTER_SAVE_RDX): Likewise.
14723 (REGISTER_SAVE_RSI): Likewise.
14724 (REGISTER_SAVE_RDI): Likewise.
14725 (REGISTER_SAVE_R8): Likewise.
14726 (REGISTER_SAVE_R9): Likewise.
14727 (REGISTER_SAVE_BND0): Likewise.
14728 (REGISTER_SAVE_BND1): Likewise.
14729 (REGISTER_SAVE_BND2): Likewise.
14730 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14731 bound registers when calling _dl_fixup.
14732
14733 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14734
14735 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14736 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14737 of its definition.
14738 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14739 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14740 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14741 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14742 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14743 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14744 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14745
14746 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14747
14748 [BZ #15514]
14749 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14750 pathconf(_PC_NAME_MAX).
14751
14752 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14753
14754 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14755 Remove macro usage.
14756 (__PTHREAD_SPINS): Move definition to ...
14757 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14758 (__PTHREAD_SPINS): ... here.
14759 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14760 (__PTHREAD_SPIN): Likewise.
14761 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14762 (__PTHREAD_SPIN): Likewise.
14763 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14764 (__PTHREAD_SPIN): Likewise.
14765 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14766 (__PTHREAD_SPIN): Likewise.
14767 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14768 (__PTHREAD_SPIN): Likewise.
14769 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14770 (__PTHREAD_SPIN): Likewise.
14771 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14772 (__PTHREAD_SPIN): Likewise.
14773 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14774 (__PTHREAD_SPIN): Likewise.
14775 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14776 (__PTHREAD_SPIN): Likewise.
14777 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14778 (__PTHREAD_SPIN): Likewise.
14779 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14780 (__PTHREAD_SPIN): Likewise.
14781 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14782 (__PTHREAD_SPIN): Likewise.
14783
14784 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14785 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14786 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14787 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14788 imply folder.
14789 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14790 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14791 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14792 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14793 correct imply path.
14794 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14795 strlen symbol for non multi-arch builds.
14796 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14797 missing hidden_def and weak_alias.
14798
14799 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14800
14801 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14802
14803 2014-04-07 Will Newton <will.newton@linaro.org>
14804
14805 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14806 and contents. [!_LIBC] Remove #ifndef and contents.
14807 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14808 * string/memccpy.c (__memccpy): Use ANSI prototype.
14809 * string/memfrob.c (memfrob): Likewise.
14810 * string/strcoll.c (STRCOLL): Likewise.
14811 * string/strlen.c (strlen): Likewise.
14812 * string/strtok.c (STRTOK): Likewise.
14813 * string/strcat.c: Remove unused #include of memcopy.h.
14814 (strcat): Use ANSI prototype.
14815 * string/strchr.c: Remove unused #include of memcopy.h.
14816 (strchr): Use ANSI prototype.
14817 * string/strcmp.c: Remove unused #include of memcopy.h.
14818 (strcmp): Use ANSI prototype.
14819 * string/strcpy.c: Remove unused #include of memcopy.h.
14820 (strcpy): Use ANSI prototype.
14821
14822 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14823
14824 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14825 * config.make.in (config-extra-cppflags): Set it from
14826 libc_extra_cppflags.
14827 * configure.ac (libc_extra_cflags): Make it accumulate over
14828 configure fragments.
14829 (libc_extra_cppflags): New flag.
14830 * configure. Regenerate.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14832 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14833 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14835
14836 [BZ #16815]
14837 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14838 result for FE_DOWNWARD rounding mode.
14839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14840 Likewise.
14841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14842
14843 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14844
14845 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14846 in function argument name.
14847
14848 2014-04-03 David Svoboda <svoboda@cert.org>
14849
14850 [BZ #5666]
14851 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14852 explicitly.
14853
14854 2014-04-03 Roland McGrath <roland@hack.frob.com>
14855
14856 * elf/dl-unmap-segments.h: New file.
14857 * sysdeps/generic/ldsodefs.h
14858 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14859 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14860 * elf/dl-fptr.c: Likewise.
14861 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14862 * sysdeps/aarch64/tlsdesc.c: Likewise.
14863 * sysdeps/arm/tlsdesc.c: Likewise.
14864 * sysdeps/i386/tlsdesc.c: Likewise.
14865 * sysdeps/tile/dl-runtime.c: Likewise.
14866 * sysdeps/x86_64/tlsdesc.c: Likewise.
14867 * elf/dl-load.h: New file.
14868 * elf/dl-load.c: Include it.
14869 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14870 Macros moved to dl-load.h.
14871 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14872 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14873 Use _dl_unmap_segments in place of __munmap.
14874 Break out segment-mapping loop into ...
14875 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14876
14877 2014-04-03 Will Newton <will.newton@linaro.org>
14878
14879 * elf/dl-lookup.c (do_lookup_x): Remove comment
14880 referring to nested function and move variable
14881 declarations down to before first use.
14882
14883 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14884
14885 [BZ #16799]
14886 [BZ #16800]
14887 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14888 with 0 numerator.
14889 * math/s_catanf.c (__catanf): Likewise.
14890 * math/s_catanh.c (__catanh): Likewise.
14891 * math/s_catanhf.c (__catanhf): Likewise.
14892 * math/s_catanhl.c (__catanhl): Likewise.
14893 * math/s_catanl.c (__catanl): Likewise.
14894 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14895 by positive zero when computing -Inf result.
14896 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14897 (catanh_test): Likewise.
14898 * sysdeps/i386/fpu/libm-test-ulps: Update.
14899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14900
14901 [BZ #16789]
14902 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14903 instead of using underflowing value in computing result.
14904 * math/s_clog10.c (__clog10): Likewise.
14905 * math/s_clog10f.c (__clog10f): Likewise.
14906 * math/s_clog10l.c (__clog10l): Likewise.
14907 * math/s_clogf.c (__clogf): Likewise.
14908 * math/s_clogl.c (__clogl): Likewise.
14909 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14910 (clog10_test): Likewise.
14911 * sysdeps/i386/fpu/libm-test-ulps: Update.
14912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14913
14914 2014-04-02 Alan Modra <amodra@gmail.com>
14915
14916 [BZ #16739]
14917 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14918 output when value is near a power of two. Use int64_t for lx and
14919 remove casts. Use decimal rather than hex exponent constants.
14920 Don't use long double multiplication when double will suffice.
14921 * math/libm-test.inc (nextafter_test_data): Add tests.
14922 * NEWS: Add 16739 and 16786 to bug list.
14923
14924 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14925
14926 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14927
14928 2014-04-01 Will Newton <will.newton@linaro.org>
14929
14930 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14931 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14932
14933 2014-04-01 Florian Weimer <fweimer@redhat.com>
14934
14935 [BZ #13347]
14936 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14937 * nptl/tst-setuid2.c: New file.
14938 * nptl/Makefile (xtests): Add tst-setuid2.
14939
14940 2014-04-01 Alan Modra <amodra@gmail.com>
14941
14942 [BZ #16786]
14943 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14944
14945 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14946
14947 [BZ #6803]
14948 [BZ #6804]
14949 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14950 set errno as appropriate.
14951 * math/w_scalbf.c (__scalbf): Likewise.
14952 * math/w_scalbl.c (__scalbl): Likewise.
14953 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14954 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14955 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14956 Add more NaN tests.
14957
14958 [BZ #16349]
14959 * math/w_atan2.c: Include <errno.h>.
14960 (__atan2): Set errno for result underflowing to zero.
14961 * math/w_atan2f.c: Include <errno.h>.
14962 (__atan2f): Set errno for result underflowing to zero.
14963 * math/w_atan2l.c: Include <errno.h>.
14964 (__atan2l): Set errno for result underflowing to zero.
14965 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14966 tests.
14967 * math/auto-libm-test-out: Regenerated.
14968
14969 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14970
14971 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14972 Encode instruction correctly in little endian.
14973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14974 Likewise.
14975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14976 Likewise.
14977 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14978 Likewise.
14979 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14980 Likewise.
14981
14982 2014-03-31 Joseph Myers <joseph@codesourcery.com>
14983
14984 [BZ #9894]
14985 * sysdeps/unix/sysv/linux/kernel-features.h
14986 [__sparc__ && !__arch64__ && !__sparc_v9__]
14987 (__ASSUME_SET_ROBUST_LIST): Do not define.
14988 [__sparc__ && !__arch64__ && !__sparc_v9__]
14989 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14990 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14991 Likewise.
14992 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14993 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14994 (__ASSUME_REQUEUE_PI): Likewise.
14995 (__ASSUME_SET_ROBUST_LIST): Likewise.
14996 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14997 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14998 Undefine.
14999 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15000 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15001 Likewise.
15002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15003 Likewise.
15004 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15005 Likewise.
15006 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15007 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15008 Undefine.
15009 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15010 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15011 Likewise.
15012
15013 [BZ #16648]
15014 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15015 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15016 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15017
15018 2014-03-31 Will Newton <will.newton@linaro.org>
15019
15020 * benchtests/Makefile (bench): Add ffs and ffsll to list
15021 of tests.
15022 * benchtests/ffs-inputs: New file.
15023 * benchtests/ffsll-inputs: Likewise.
15024
15025 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15026
15027 [BZ #16770]
15028 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15029 too large before casting to int.
15030 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15031 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15032 * math/libm-test.inc (scalb_test_data): Add more tests.
15033
15034 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15035
15036 * benchtests/Makefile (DETAILED_OPT): New make option.
15037 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15038 set.
15039 * benchtests/bench-skeleton.c: Include stdbool.h.
15040 (main): Store and print timings per input.
15041 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15042 member to each argument value.
15043 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15044 (_print_arg_data): Initialize per-input timing to 0.
15045
15046 * benchtests/Makefile (timing-type): New binary.
15047 (bench-clean): Also remove bench-timing-type.
15048 (bench): New target for timing-type.
15049 (bench-func): Print output in JSON format.
15050 * benchtests/bench-skeleton.c (main): Print output in JSON
15051 format.
15052 * benchtests/bench-timing-type.c: New file.
15053 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15054 (TIMING_PRINT_STATS): Remove.
15055 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15056 name separately.
15057
15058 * benchtests/bench-modf.c: Remove.
15059 * benchtests/modf-inputs: New inputs file.
15060
15061 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15062
15063 [BZ #16362]
15064 * math/s_clog10.c (M_PI_LOG10E): New macro.
15065 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15066 imaginary parts are 0.
15067 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15068 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15069 imaginary parts are 0.
15070 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15071 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15072 imaginary parts are 0.
15073 * math/libm-test.inc (clog10_test_data): Update expected results
15074 for when real and imaginary parts are 0.
15075
15076 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15077
15078 * elf/dl-load.c: Finish conversion of __builtin_expect into
15079 __glibc_{un}likely.
15080
15081 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15082
15083 [BZ #16348]
15084 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15085 1+x for argument with exponent below -67.
15086 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15087 Likewise.
15088 * math/auto-libm-test-in: Add more tests of exp.
15089 * math/auto-libm-test-out: Regenerated.
15090
15091 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15092
15093 [BZ #16759]
15094 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15095 (nscd_getnetgrent): Use it.
15096
15097 [BZ #16760]
15098 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15099 of stpcpy.
15100
15101 2014-03-27 Andi Kleen <ak@linux.intel.com>
15102
15103 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15104 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15105 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15106 (lll_robust_unlock): Remove out of line section. Use cfi
15107 intrinsics.
15108 (LLL_STUB_UNWIND_INFO*): Remove.
15109 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15110 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15111 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15112 (lll_robust_unlock): Remove out of line section. Use cfi
15113 intrinsics.
15114 (LLL_STUB_UNWIND_INFO*): Remove.
15115
15116 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15117
15118 [BZ #16758]
15119 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15120 blank values.
15121
15122 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15123
15124 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15125
15126 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15127
15128 [BZ #16198]
15129 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15130 fnstenv.
15131 * math/test-fenv-preserve.c: New file.
15132 * math/Makefile (tests): Add test-fenv-preserve.
15133
15134 2014-03-26 Will Newton <will.newton@linaro.org>
15135
15136 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15137
15138 2014-03-25 Roland McGrath <roland@hack.frob.com>
15139
15140 * scripts/versionlist.awk: Partition the version sets and emit all
15141 GLIBC_* (sorted) before all others (sorted).
15142
15143 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15144
15145 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15146 GLIBC_2.2.5 version.
15147
15148 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15149
15150 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15151 calls.
15152
15153 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15154 previous change.
15155
15156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15157
15158 2014-03-25 Andreas Schwab <schwab@suse.de>
15159
15160 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15161 label to be used after in6ailist is initialized.
15162
15163 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15164
15165 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15166 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15167
15168 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15169
15170 [BZ #16357]
15171 [BZ #16599]
15172 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15173 min_plus_half.
15174 (fp_formats): Update initializers.
15175 (init_fp_formats): Initialize new field.
15176 (output_for_one_input_case): Allow underflow for results up to
15177 min_plus_half.
15178 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15179 * math/auto-libm-test-in: Don't mark some underflows from asin and
15180 atanh as spurious.
15181 * math/auto-libm-test-out: Regenerated.
15182 * sysdeps/i386/fpu/libm-test-ulps: Update.
15183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15184
15185 2014-03-25 Andreas Schwab <schwab@suse.de>
15186
15187 * libio/Makefile (tst-ftell-partial-wide-ENV)
15188 (tst-ftell-active-handler-ENV): Define.
15189
15190 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15191
15192 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15193
15194 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15195
15196 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15197
15198 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15199
15200 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15201 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15202 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15203
15204 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15205
15206 [BZ #16634]
15207 * elf/dl-load.c (open_verify): Add mode parameter.
15208 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15209 (open_path): Change from boolean 'secure' to complete flag 'mode'
15210 (_dl_map_object): Adjust.
15211 * elf/Makefile (tests): Add tst-dlopen-aout.
15212 * elf/tst-dlopen-aout.c: New test.
15213
15214 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15215
15216 [BZ #16714]
15217 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15218 (struct stat): Rename member pad0 to __glibc_reserved0.
15219
15220 [BZ #16712]
15221 * sysdeps/s390/s390-32/bits/wordsize.h
15222 (__WORDSIZE32_SIZE_ULONG): New define.
15223 * sysdeps/s390/s390-64/bits/wordsize.h
15224 (__WORDSIZE32_SIZE_ULONG): Likewise.
15225 * sysdeps/generic/stdint.h (SIZE_MAX):
15226 Define as UL if __WORDSIZE32_SIZE_ULONG.
15227
15228 [BZ #16713]
15229 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15230 (__glibc_reserved0): New variable.
15231 (sa_flags): Change type to int.
15232
15233 * posix/Makefile (before-compile): Use += before-compile instead
15234 of a :=.
15235
15236 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15237 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15238
15239 2014-03-20 Andreas Schwab <schwab@suse.de>
15240
15241 [BZ #16743]
15242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15243 non-matching result from nscd.
15244
15245 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15246
15247 * scripts/bench.py: Moved to ...
15248 * benchtests/scripts/bench.py: ... here.
15249 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15250
15251 2014-03-24 Andreas Schwab <schwab@suse.de>
15252
15253 [BZ #16002]
15254 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15255 alloca_account and account alloca use for struct in6ailist.
15256
15257 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15258
15259 [BZ #16284]
15260 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15261 rounding mode to recompute results that overflow to infinity or
15262 underflow to zero.
15263 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15264 bug 16284.
15265 * math/auto-libm-test-out: Regenerated.
15266 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15267 (ccosh_test): Likewise.
15268 (csin_test_data): Use plus_oflow.
15269 (csin_test): Use ALL_RM_TEST.
15270 (csinh_test_data): Use plus_oflow.
15271 (csinh_test): Use ALL_RM_TEST.
15272 * sysdeps/i386/fpu/libm-test-ulps: Update.
15273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15274
15275 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15276
15277 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15278 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15279 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15280
15281 [BZ #16731]
15282 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15283 when x - 1 is zero.
15284 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15285 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15286 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15288 argument is 1.
15289 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15290 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15291 zero.
15292 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15295
15296 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15297
15298 * scripts/bench.pl: Remove file.
15299 * scripts/bench.py: New benchmark script.
15300 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15301 * benchtests/README: Mention python dependency.
15302 * scripts/pylintrc: New file.
15303 * scripts/pylint: New file.
15304
15305 * bits/mathdef.h: Use #ifdef instead of #if.
15306 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15307 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15308 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15309 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15310 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15311 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15312
15313 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15314 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15315
15316 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15318 and strpbrk-ppc64 objects.
15319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15320 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15321 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15322 multiarch strpbrk for POWER7.
15323 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15324 multiarch strpbrk for PPC64.
15325 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15326 ifunc selector.
15327 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15328 strpbrk for POWER7.
15329
15330 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15331
15332 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15333 (atan_test): Likewise.
15334 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15335 (atanh_test): Use ALL_RM_TEST.
15336 (atan2_test_data): Likewise.
15337 (cabs_test): Likewise.
15338 (cacosh_test): Likewise.
15339 (carg_test): Likewise.
15340 (casin_test): Likewise.
15341 (casinh_test): Likewise.
15342 (cbrt_test): Likewise.
15343 (csqrt_test): Likewise.
15344 (erf_test): Likewise.
15345 (erfc_test): Likewise.
15346 (pow10_test): Likewise.
15347 (exp2_test): Likewise.
15348 (hypot_test): Likewise.
15349 (j0_test): Likewise.
15350 (j1_test): Likewise.
15351 (lgamma_test): Likewise.
15352 (gamma_test): Likewise.
15353 (sincos_test): Likewise.
15354 (tanh_test): Likewise.
15355 (y0_test): Likewise.
15356 (y1_test): Likewise.
15357 * sysdeps/i386/fpu/libm-test-ulps: Update.
15358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15359
15360 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15361
15362 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15364 and strcspn-ppc64 objects.
15365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15366 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15367 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15368 multiarch strcspn for POWER7.
15369 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15370 multiarch strcspn for PPC64.
15371 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15372 ifunc selector.
15373 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15374 strcspn for POWER7.
15375
15376 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15377
15378 * math/gen-libm-test.pl (generate_testfile): Expect only function
15379 name as argument to AUTO_TESTS_* and pass results for all rounding
15380 modes to parse_args.
15381 (parse_auto_input): Separate inputs of automatic tests from
15382 outputs before storing in %auto_tests.
15383 * math/libm-test.inc (acos_test_data): Update call to
15384 AUTO_TESTS_f_f.
15385 (acos_test): Use ALL_RM_TEST.
15386 (acos_tonearest_test_data): Remove.
15387 (acos_test_tonearest): Likewise.
15388 (acos_towardzero_test_data): Likewise.
15389 (acos_test_towardzero): Likewise.
15390 (acos_downward_test_data): Likewise.
15391 (acos_test_downward): Likewise.
15392 (acos_upward_test_data): Likewise.
15393 (acos_test_upward): Likewise.
15394 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15395 (asin_test_data): Likewise.
15396 (asin_test): Use ALL_RM_TEST.
15397 (asin_tonearest_test_data): Remove.
15398 (asin_test_tonearest): Likewise.
15399 (asin_towardzero_test_data): Likewise.
15400 (asin_test_towardzero): Likewise.
15401 (asin_downward_test_data): Likewise.
15402 (asin_test_downward): Likewise.
15403 (asin_upward_test_data): Likewise.
15404 (asin_test_upward): Likewise.
15405 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15406 (atan_test_data): Likewise.
15407 (atanh_test_data): Likewise.
15408 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15409 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15410 (carg_test_data): Likewise.
15411 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15412 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15413 (ccosh_test_data): Likewise.
15414 (cexp_test_data): Likewise.
15415 (clog_test_data): Likewise.
15416 (clog10_test_data): Likewise.
15417 (cos_test_data): Update call to AUTO_TESTS_f_f.
15418 (cos_test): Use ALL_RM_TEST.
15419 (cos_tonearest_test_data): Remove.
15420 (cos_test_tonearest): Likewise.
15421 (cos_towardzero_test_data): Likewise.
15422 (cos_test_towardzero): Likewise.
15423 (cos_downward_test_data): Likewise.
15424 (cos_test_downward): Likewise.
15425 (cos_upward_test_data): Likewise.
15426 (cos_test_upward): Likewise.
15427 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15428 (cosh_test): Use ALL_RM_TEST.
15429 (cosh_tonearest_test_data): Remove.
15430 (cosh_test_tonearest): Likewise.
15431 (cosh_towardzero_test_data): Likewise.
15432 (cosh_test_towardzero): Likewise.
15433 (cosh_downward_test_data): Likewise.
15434 (cosh_test_downward): Likewise.
15435 (cosh_upward_test_data): Likewise.
15436 (cosh_test_upward): Likewise.
15437 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15438 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15439 (ctan_test_data): Likewise.
15440 (ctan_test): Use ALL_RM_TEST.
15441 (ctan_tonearest_test_data): Remove.
15442 (ctan_test_tonearest): Likewise.
15443 (ctan_towardzero_test_data): Likewise.
15444 (ctan_test_towardzero): Likewise.
15445 (ctan_downward_test_data): Likewise.
15446 (ctan_test_downward): Likewise.
15447 (ctan_upward_test_data): Likewise.
15448 (ctan_test_upward): Likewise.
15449 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15450 (ctanh_test): Use ALL_RM_TEST.
15451 (ctanh_tonearest_test_data): Remove.
15452 (ctanh_test_tonearest): Likewise.
15453 (ctanh_towardzero_test_data): Likewise.
15454 (ctanh_test_towardzero): Likewise.
15455 (ctanh_downward_test_data): Likewise.
15456 (ctanh_test_downward): Likewise.
15457 (ctanh_upward_test_data): Likewise.
15458 (ctanh_test_upward): Likewise.
15459 (erf_test_data): Update call to AUTO_TESTS_f_f.
15460 (erfc_test_data): Likewise.
15461 (exp_test_data): Likewise.
15462 (exp_test): Use ALL_RM_TEST.
15463 (exp_tonearest_test_data): Remove.
15464 (exp_test_tonearest): Likewise.
15465 (exp_towardzero_test_data): Likewise.
15466 (exp_test_towardzero): Likewise.
15467 (exp_downward_test_data): Likewise.
15468 (exp_test_downward): Likewise.
15469 (exp_upward_test_data): Likewise.
15470 (exp_test_upward): Likewise.
15471 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15472 (exp10_test): Use ALL_RM_TEST.
15473 (exp10_tonearest_test_data): Remove.
15474 (exp10_test_tonearest): Likewise.
15475 (exp10_towardzero_test_data): Likewise.
15476 (exp10_test_towardzero): Likewise.
15477 (exp10_downward_test_data): Likewise.
15478 (exp10_test_downward): Likewise.
15479 (exp10_upward_test_data): Likewise.
15480 (exp10_test_upward): Likewise.
15481 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15482 (expm1_test_data): Likewise.
15483 (expm1_test): Use ALL_RM_TEST.
15484 (expm1_tonearest_test_data): Remove.
15485 (expm1_test_tonearest): Likewise.
15486 (expm1_towardzero_test_data): Likewise.
15487 (expm1_test_towardzero): Likewise.
15488 (expm1_downward_test_data): Likewise.
15489 (expm1_test_downward): Likewise.
15490 (expm1_upward_test_data): Likewise.
15491 (expm1_test_upward): Likewise.
15492 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15493 (fma_test): Use ALL_RM_TEST.
15494 (fma_towardzero_test_data): Remove.
15495 (fma_test_towardzero): Likewise.
15496 (fma_downward_test_data): Likewise.
15497 (fma_test_downward): Likewise.
15498 (fma_upward_test_data): Likewise.
15499 (fma_test_upward): Likewise.
15500 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15501 (j0_test_data): Update call to AUTO_TESTS_f_f.
15502 (j1_test_data): Likewise.
15503 (jn_test_data): Update call to AUTO_TESTS_if_f.
15504 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15505 (log_test_data): Update call to AUTO_TESTS_f_f.
15506 (log10_test_data): Likewise.
15507 (log1p_test_data): Likewise.
15508 (log2_test_data): Likewise.
15509 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15510 (pow_tonearest_test_data): Likewise.
15511 (sin_test_data): Update call to AUTO_TESTS_f_f.
15512 (sin_test): Use ALL_RM_TEST.
15513 (sin_tonearest_test_data): Remove.
15514 (sin_test_tonearest): Likewise.
15515 (sin_towardzero_test_data): Likewise.
15516 (sin_test_towardzero): Likewise.
15517 (sin_downward_test_data): Likewise.
15518 (sin_test_downward): Likewise.
15519 (sin_upward_test_data): Likewise.
15520 (sin_test_upward): Likewise.
15521 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15522 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15523 (sinh_test): Use ALL_RM_TEST.
15524 (sinh_tonearest_test_data): Remove.
15525 (sinh_test_tonearest): Likewise.
15526 (sinh_towardzero_test_data): Likewise.
15527 (sinh_test_towardzero): Likewise.
15528 (sinh_downward_test_data): Likewise.
15529 (sinh_test_downward): Likewise.
15530 (sinh_upward_test_data): Likewise.
15531 (sinh_test_upward): Likewise.
15532 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15533 (sqrt_test): Use ALL_RM_TEST.
15534 (sqrt_tonearest_test_data): Remove.
15535 (sqrt_test_tonearest): Likewise.
15536 (sqrt_towardzero_test_data): Likewise.
15537 (sqrt_test_towardzero): Likewise.
15538 (sqrt_downward_test_data): Likewise.
15539 (sqrt_test_downward): Likewise.
15540 (sqrt_upward_test_data): Likewise.
15541 (sqrt_test_upward): Likewise.
15542 (tan_test_data): Update call to AUTO_TESTS_f_f.
15543 (tan_test): Use ALL_RM_TEST.
15544 (tan_tonearest_test_data): Remove.
15545 (tan_test_tonearest): Likewise.
15546 (tan_towardzero_test_data): Likewise.
15547 (tan_test_towardzero): Likewise.
15548 (tan_downward_test_data): Likewise.
15549 (tan_test_downward): Likewise.
15550 (tan_upward_test_data): Likewise.
15551 (tan_test_upward): Likewise.
15552 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15553 (tgamma_test_data): Likewise.
15554 (y0_test_data): Likewise.
15555 (y1_test_data): Likewise.
15556 (yn_test_data): Update call to AUTO_TESTS_if_f.
15557 (main): Do not call removed functions.
15558
15559 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15560
15561 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15562 (ldexp_test_data): Remove.
15563 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15564 scalbn_test_data.
15565 (scalb_test): Use ALL_RM_TEST.
15566
15567 2014-03-19 Andreas Schwab <schwab@suse.de>
15568
15569 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15570
15571 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15572
15573 [BZ #16649]
15574 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15576 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15577 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15578 (__ASSUME_PREADV): Undefine.
15579 (__ASSUME_PWRITEV): Likewise.
15580
15581 2014-03-18 Roland McGrath <roland@hack.frob.com>
15582
15583 * bits/mman-linux.h: Add comment about non-Linux use.
15584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15585 bits/mman-linux.h resting place.
15586
15587 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15588 * bits/mman-linux.h: ... here.
15589
15590 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15591
15592 * conform/conformtest.pl: Add standard definition when calling C
15593 preprocessor on data files.
15594 (checknamespace): Remove unused variable.
15595
15596 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15597
15598 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15599 minus_oflow, plus_uflow and minus_uflow in expected results.
15600 * math/libm-test.inc (scalbn_test_data): Add more tests of
15601 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15602 minus_uflow.
15603 (scalbn_test): Use ALL_RM_TEST.
15604 (scalbln_test_data): Add more tests of negative arguments. Use
15605 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15606 (scalbln_test): Use ALL_RM_TEST.
15607
15608 2014-03-18 Roland McGrath <roland@hack.frob.com>
15609
15610 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15611
15612 2014-03-18 Will Newton <will.newton@linaro.org>
15613
15614 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15615 inaccurate comment.
15616
15617 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15618
15619 * Makerules [!subdir] (check-abi): Exit with error status if a
15620 test failed.
15621
15622 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15623
15624 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15625 for rint. Include results for all rounding modes.
15626 (nearbyint_test): Use ALL_RM_TEST.
15627 (rint_test_data): Include all tests used for nearbyint.
15628
15629 2014-03-17 Will Newton <will.newton@linaro.org>
15630
15631 * nptl/sysdeps/pthread/pthread.h: Revert previous
15632 change.
15633
15634 * sysdeps/generic/ldsodefs.h: Revert previous
15635 change.
15636
15637 * libio/genops.c: Revert previous change.
15638 * libio/libioP.h: Likewise.
15639 * stdio-common/vfprintf.c: Likewise.
15640
15641 * sysdeps/generic/math_private.h: Revert previous
15642 change.
15643
15644 * sysdeps/generic/math_private.h: Check whether
15645 HAVE_RM_CTX is defined with #ifdef rather
15646 than #if.
15647
15648 * argp/argp-fmtstream.h: Check whether
15649 __STRICT_ANSI__ is defined with #ifdef rather
15650 than #if.
15651 * argp/argp.h: Likewise.
15652
15653 * libio/genops.c: Check whether
15654 _IO_JUMPS_OFFSET is defined with #ifdef rather
15655 than #if.
15656 * libio/libioP.h: Likewise.
15657 * stdio-common/vfprintf.c: Likewise.
15658
15659 * sysdeps/generic/ldsodefs.h: Check whether
15660 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15661 than #if.
15662
15663 * nptl/sysdeps/pthread/pthread.h: Check
15664 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15665 its value.
15666
15667 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15668
15669 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15670 setting O_APPEND.
15671 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15672 test case.
15673
15674 [BZ #16680]
15675 * libio/fileops.c (_IO_file_open): Seek to end of file but
15676 don't cache the offset.
15677 (get_file_offset): Remove function.
15678 (do_ftell): Use cached offset when available.
15679 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15680 don't cache the offset.
15681 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15682 case.
15683 (do_one_test): Call it.
15684 (do_ftell_test): Fix up expected old offset for a+ mode.
15685 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15686 available.
15687
15688 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15689 up test status with function return status.
15690 (do_write_test): Likewise.
15691 (do_append_test): Likewise.
15692
15693 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15694 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15695 Remove.
15696
15697 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15698
15699 * math/gen-libm-test.pl (parse_args): Handle results specified for
15700 each rounding mode separately.
15701 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15702 tests and results from lrint_tonearest_test_data,
15703 lrint_towardzero_test_data, lrint_downward_test_data and
15704 lrint_upward_test_data.
15705 (lrint_test): Use ALL_RM_TEST.
15706 (lrint_tonearest_test_data): Remove.
15707 (lrint_test_tonearest): Likewise.
15708 (lrint_towardzero_test_data): Likewise.
15709 (lrint_test_towardzero): Likewise.
15710 (lrint_downward_test_data): Likewise.
15711 (lrint_test_downward): Likewise.
15712 (lrint_upward_test_data): Likewise.
15713 (lrint_test_upward): Likewise.
15714 (llrint_test_data): Merge in per-rounding-mode tests and results
15715 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15716 llrint_downward_test_data and llrint_upward_test_data.
15717 (llrint_test): Use ALL_RM_TEST.
15718 (llrint_tonearest_test_data): Remove.
15719 (llrint_test_tonearest): Likewise.
15720 (llrint_towardzero_test_data): Likewise.
15721 (llrint_test_towardzero): Likewise.
15722 (llrint_downward_test_data): Likewise.
15723 (llrint_test_downward): Likewise.
15724 (llrint_upward_test_data): Likewise.
15725 (llrint_test_upward): Likewise.
15726 (rint_test_data): Merge in per-rounding-mode tests and results
15727 from rint_tonearest_test_data, rint_towardzero_test_data,
15728 rint_downward_test_data and rint_upward_test_data. Add
15729 per-rounding-mode results for tests not in those arrays.
15730 (rint_test): Use ALL_RM_TEST.
15731 (rint_tonearest_test_data): Remove.
15732 (rint_test_tonearest): Likewise.
15733 (rint_towardzero_test_data): Likewise.
15734 (rint_test_towardzero): Likewise.
15735 (rint_downward_test_data): Likewise.
15736 (rint_test_downward): Likewise.
15737 (rint_upward_test_data): Likewise.
15738 (rint_test_upward): Likewise.
15739 (main): Don't call removed functions.
15740
15741 2014-03-14 Roland McGrath <roland@hack.frob.com>
15742
15743 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15744 "Compiled on ..." crapola. It is anti-useful.
15745
15746 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15747
15748 * scripts/evaluate-test.sh: Handle fourth argument to determine
15749 whether test run should stop on failure.
15750 * Makeconfig (stop-on-test-failure): New variable.
15751 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15752 $(stop-on-test-failure).
15753 * Makefile (tests): Give a summary of results from testing and
15754 exit with failure status if they include an ERROR or FAIL.
15755 (xtests): Likewise.
15756 * manual/install.texi (Configuring and compiling): Mention
15757 stop-on-test-failure=y.
15758 * INSTALL: Regenerated.
15759
15760 2014-03-14 Roland McGrath <roland@hack.frob.com>
15761
15762 * scripts/versionlist.awk: New file.
15763 * Makerules [$(build-shared) = yes]
15764 (postclean-generated): Add Versions.def, not Versions.def.v and
15765 Versions.def.v.i.
15766 ($(common-objpfx)Versions.def.v.i): Target removed.
15767 ($(common-objpfx)Versions.def): New target.
15768 ($(common-objpfx)Versions.all): Depend on that rather that
15769 $(common-objpfx)Versions.def.v.
15770 * Versions.def: File removed.
15771
15772 * Makeconfig (+gccwarn): Add -Wundef.
15773 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15774 a dl-sysdep.h breaking its contract.
15775 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15776 * include/stackinfo.h: New file.
15777 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15778 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15779 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15780 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15781 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15782 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15783 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15784 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15785 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15786 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15787 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15788 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15789 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15790 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15791 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15792
15793 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15794
15795 [BZ #16707]
15796 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15797 implementation.
15798 * math/libm-test.inc (round_test_data): Add more tests.
15799
15800 [BZ #16706]
15801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15802 implementation.
15803 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15804
15805 [BZ #16701]
15806 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15807 implementation.
15808 * math/libm-test.inc (ceil_test_data): Add more tests.
15809
15810 * math/libm-test.inc (trunc_test_data): Add more tests related to
15811 BZ#16414.
15812
15813 2014-03-14 Roland McGrath <roland@hack.frob.com>
15814
15815 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15816 with #if rather than #ifdef.
15817 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15818
15819 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15820
15821 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15822 first. Disable AVX-512 GCC support if assembler doesn't support
15823 it.
15824 * sysdeps/x86_64/configure: Regenerated.
15825
15826 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15827
15828 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15829 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15830 (__old_pthread_attr_setstack): Likewise.
15831 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15832 [!_STACK_GROWS_DOWN]: Likewise.
15833
15834 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15835
15836 * config.make.in (have-bash2): Delete.
15837 * configure.ac (libc_cv_have_bash2): Delete.
15838 * configure: Regenerate.
15839 * elf/Makefile (common-ldd-rewrite): Rename to ...
15840 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15841 (sh-ldd-rewrite): Delete.
15842 (bash-ldd-rewrite): Delete.
15843 (have-bash2): Delete checks.
15844 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15845 ldd-rewrite.
15846
15847 * config.make.in (have-ksh): Delete.
15848 (KSH): Delete.
15849 * configure.ac (libc_cv_have_ksh): Delete.
15850 * configure: Regenerate.
15851
15852 * elf/Makefile: Delete $(have-ksh) check.
15853 ($(objpfx)sotruss): Change KSH to BASH.
15854 * elf/sotruss.ksh: Rename to ...
15855 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15856 function style to match POSIX. Drop ksh vim mode setting.
15857
15858 * manual/time.texi (Specifying the Time Zone with TZ): Change
15859 Tuesday to Thursday.
15860
15861 * debug/tst-longjmp_chk2.c: Update header comment.
15862 (stackoverflow_handler): Add comment. Call assert on pass value.
15863
15864 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15865
15866 [BZ #16194]
15867 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15868 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15869 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15870 (La_x86_64_vector): Add zmm.
15871 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15872 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15873 ($(objpfx)tst-audit10): New target.
15874 ($(objpfx)tst-audit10.out): Likewise.
15875 (tst-audit10-ENV): New.
15876 (AVX512-CFLAGS): Likewise.
15877 (CFLAGS-tst-audit10.c): Likewise.
15878 (CFLAGS-tst-auditmod10a.c): Likewise.
15879 (CFLAGS-tst-auditmod10b.c): Likewise.
15880 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15881 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15882 * sysdeps/x86_64/configure: Regenerated.
15883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15884 AVX-512 zmm register support.
15885 (_dl_x86_64_save_sse): Likewise.
15886 (_dl_x86_64_restore_sse): Likewise.
15887 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15888 size vector registers.
15889 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15890 (ZMM_SIZE): Likewise.
15891 * sysdeps/x86_64/tst-audit10.c: New file.
15892 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15893 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15894
15895 2014-03-13 Roland McGrath <roland@hack.frob.com>
15896
15897 * configure.ac (HAVE_EHDR_START): New check.
15898 * configure: Regenerated.
15899 * config.h.in (HAVE_EHDR_START): New #undef.
15900 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15901 assuming the lowest-addressed segment maps the start of the file.
15902
15903 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15904
15905 * INSTALL: Regenerated.
15906
15907 2014-03-13 Will Newton <will.newton@linaro.org>
15908
15909 * manual/setjmp.texi (System V contexts): Improve
15910 clarity and grammar of documentation.
15911
15912 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15913
15914 [BZ #16381]
15915 * elf/Makefile (tests): Add tst-pie2.
15916 (tests-pie): Add tst-pie2.
15917 * elf/tst-pie2.c: New file.
15918 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15919 for ET_EXEC.
15920 * elf/rtld.c (map_doit): Load executable as lt_executable.
15921 (dl_main): Likewise.
15922
15923 2014-03-12 Joseph Myers <joseph@codesourcery.com>
15924
15925 [BZ #16642]
15926 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15927 (__ASSUME_PSELECT): Undefine.
15928
15929 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15930
15931 [BZ #16689]
15932 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15933 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15934 static build.
15935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15936 selector for static builds.
15937
15938 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15939
15940 [BZ #16695]
15941 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15942 key in the buffer.
15943
15944 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15945
15946 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15947 IFUNC selector for static builds.
15948
15949 2014-03-11 Joseph Myers <joseph@codesourcery.com>
15950
15951 * sysdeps/mips/math_private.h [__mips_hard_float]
15952 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15953 libc_feresetround_mips_ctx.
15954 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15955 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15956 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15957
15958 [BZ #16677]
15959 * math/s_nextafter.c (__nextafter): Do not return value from
15960 overflowing computation.
15961 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15962 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15963 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15964 Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15966 Likewise.
15967 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15968 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15969
15970 2014-03-11 Roland McGrath <roland@hack.frob.com>
15971
15972 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15973 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15974 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15975 the new mov targetting sp.
15976
15977 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15978
15979 [BZ #16683]
15980 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15981 Define it for static builds as well.
15982 (NO_BZERO_IMPL): Likewise.
15983
15984 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15985
15986 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15987 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15988 multiarch strspn for PPC64.
15989 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15990 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15992 (__libc_ifunc_impl_list): Likewise.
15993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15994 multiarch optimizations
15995 * string/strspn.c (strspn): Using macro to redefine symbol name.
15996
15997 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15998 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15999
16000 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16001 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16002 multiarch strncat for PPC64.
16003 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16004 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16006 (__libc_ifunc_impl_list): Likewise.
16007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16008 multiarch optimizations
16009
16010 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16011
16012 [BZ #16639]
16013 * nscd/nscd.service: Make service type forking.
16014
16015 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16016
16017 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16018 sign in non default rounding modes.
16019 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16020
16021 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16022
16023 * math/libm-test.inc (ALL_RM_TEST): New macro.
16024 (ceil_test): Use ALL_RM_TEST.
16025 (cimag_test): Likewise.
16026 (conj_test): Likewise.
16027 (copysign_test): Likewise.
16028 (cproj_test): Likewise.
16029 (creal_test): Likewise.
16030 (fabs_test): Likewise.
16031 (floor_test): Likewise.
16032 (fmax_test): Likewise.
16033 (fmin_test): Likewise.
16034 (fmod_test): Likewise.
16035 (fpclassify_test): Likewise.
16036 (frexp_test): Likewise.
16037 (ilogb_test): Likewise.
16038 (isfinite_test): Likewise.
16039 (finite_test): Likewise.
16040 (isgreater_test): Likewise.
16041 (isgreaterequal_test): Likewise.
16042 (isinf_test): Likewise.
16043 (isless_test): Likewise.
16044 (islessequal_test): Likewise.
16045 (islessgreater_test): Likewise.
16046 (isnan_test): Likewise.
16047 (isnormal_test): Likewise.
16048 (issignaling_test): Likewise.
16049 (isunordered_test): Likewise.
16050 (logb_test): Likewise.
16051 (logb_downward_test_data): Remove.
16052 (logb_test_downward): Likewise.
16053 (lround_test): Use ALL_RM_TEST.
16054 (llround_test): Likewise.
16055 (modf_test): Likewise.
16056 (nexttoward_test): Likewise.
16057 (remainder_test): Likewise.
16058 (drem_test): Likewise.
16059 (remainder_tonearest_test_data): Likewise.
16060 (remainder_test_tonearest): Likewise.
16061 (drem_test_tonearest): Likewise.
16062 (remainder_towardzero_test_data): Likewise.
16063 (remainder_test_towardzero): Likewise.
16064 (drem_test_towardzero): Likewise.
16065 (remainder_downward_test_data): Likewise.
16066 (remainder_test_downward): Likewise.
16067 (drem_test_downward): Likewise.
16068 (remainder_upward_test_data): Likewise.
16069 (remainder_test_upward): Likewise.
16070 (drem_test_upward): Likewise.
16071 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16072 (round_test): Use ALL_RM_TEST.
16073 (signbit_test): Likewise.
16074 (trunc_test): Likewise.
16075 (significand_test): Likewise.
16076 (main): Don't call removed functions.
16077
16078 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16079
16080 [BZ #16674]
16081 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16082 || __USE_XOPEN2K8].
16083 (ILL_ILLOPN): Likewise.
16084 (ILL_ILLADR): Likewise.
16085 (ILL_ILLTRP): Likewise.
16086 (ILL_PRVOPC): Likewise.
16087 (ILL_PRVREG): Likewise.
16088 (ILL_COPROC): Likewise.
16089 (ILL_BADSTK): Likewise.
16090 (FPE_INTDIV): Likewise.
16091 (FPE_INTOVF): Likewise.
16092 (FPE_FLTDIV): Likewise.
16093 (FPE_FLTOVF): Likewise.
16094 (FPE_FLTUND): Likewise.
16095 (FPE_FLTRES): Likewise.
16096 (FPE_FLTINV): Likewise.
16097 (FPE_FLTSUB): Likewise.
16098 (SEGV_MAPERR): Likewise.
16099 (SEGV_ACCERR): Likewise.
16100 (BUS_ADRALN): Likewise.
16101 (BUS_ADRERR): Likewise.
16102 (BUS_OBJERR): Likewise.
16103 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16104 (TRAP_TRACE): Likewise.
16105 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16106 __USE_XOPEN2K8].
16107 (CLD_KILLED): Likewise.
16108 (CLD_DUMPED): Likewise.
16109 (CLD_TRAPPED): Likewise.
16110 (CLD_STOPPED): Likewise.
16111 (CLD_CONTINUED): Likewise.
16112 (POLL_IN): Likewise.
16113 (POLL_OUT): Likewise.
16114 (POLL_MSG): Likewise.
16115 (POLL_ERR): Likewise.
16116 (POLL_PRI): Likewise.
16117 (POLL_HUP): Likewise.
16118 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16119 Likewise.
16120 (ILL_ILLOPN): Likewise.
16121 (ILL_ILLADR): Likewise.
16122 (ILL_ILLTRP): Likewise.
16123 (ILL_PRVOPC): Likewise.
16124 (ILL_PRVREG): Likewise.
16125 (ILL_COPROC): Likewise.
16126 (ILL_BADSTK): Likewise.
16127 (FPE_INTDIV): Likewise.
16128 (FPE_INTOVF): Likewise.
16129 (FPE_FLTDIV): Likewise.
16130 (FPE_FLTOVF): Likewise.
16131 (FPE_FLTUND): Likewise.
16132 (FPE_FLTRES): Likewise.
16133 (FPE_FLTINV): Likewise.
16134 (FPE_FLTSUB): Likewise.
16135 (SEGV_MAPERR): Likewise.
16136 (SEGV_ACCERR): Likewise.
16137 (BUS_ADRALN): Likewise.
16138 (BUS_ADRERR): Likewise.
16139 (BUS_OBJERR): Likewise.
16140 (BUS_MCEERR_AR): Likewise.
16141 (BUS_MCEERR_AO): Likewise.
16142 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16143 (TRAP_TRACE): Likewise.
16144 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16145 __USE_XOPEN2K8].
16146 (CLD_KILLED): Likewise.
16147 (CLD_DUMPED): Likewise.
16148 (CLD_TRAPPED): Likewise.
16149 (CLD_STOPPED): Likewise.
16150 (CLD_CONTINUED): Likewise.
16151 (POLL_IN): Likewise.
16152 (POLL_OUT): Likewise.
16153 (POLL_MSG): Likewise.
16154 (POLL_ERR): Likewise.
16155 (POLL_PRI): Likewise.
16156 (POLL_HUP): Likewise.
16157 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16158 (ILL_ILLOPN): Likewise.
16159 (ILL_ILLADR): Likewise.
16160 (ILL_ILLTRP): Likewise.
16161 (ILL_PRVOPC): Likewise.
16162 (ILL_PRVREG): Likewise.
16163 (ILL_COPROC): Likewise.
16164 (ILL_BADSTK): Likewise.
16165 (FPE_INTDIV): Likewise.
16166 (FPE_INTOVF): Likewise.
16167 (FPE_FLTDIV): Likewise.
16168 (FPE_FLTOVF): Likewise.
16169 (FPE_FLTUND): Likewise.
16170 (FPE_FLTRES): Likewise.
16171 (FPE_FLTINV): Likewise.
16172 (FPE_FLTSUB): Likewise.
16173 (SEGV_MAPERR): Likewise.
16174 (SEGV_ACCERR): Likewise.
16175 (BUS_ADRALN): Likewise.
16176 (BUS_ADRERR): Likewise.
16177 (BUS_OBJERR): Likewise.
16178 (BUS_MCEERR_AR): Likewise.
16179 (BUS_MCEERR_AO): Likewise.
16180 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16181 (TRAP_TRACE): Likewise.
16182 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16183 __USE_XOPEN2K8].
16184 (CLD_KILLED): Likewise.
16185 (CLD_DUMPED): Likewise.
16186 (CLD_TRAPPED): Likewise.
16187 (CLD_STOPPED): Likewise.
16188 (CLD_CONTINUED): Likewise.
16189 (POLL_IN): Likewise.
16190 (POLL_OUT): Likewise.
16191 (POLL_MSG): Likewise.
16192 (POLL_ERR): Likewise.
16193 (POLL_PRI): Likewise.
16194 (POLL_HUP): Likewise.
16195 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16196 Likewise.
16197 (ILL_ILLOPN): Likewise.
16198 (ILL_ILLADR): Likewise.
16199 (ILL_ILLTRP): Likewise.
16200 (ILL_PRVOPC): Likewise.
16201 (ILL_PRVREG): Likewise.
16202 (ILL_COPROC): Likewise.
16203 (ILL_BADSTK): Likewise.
16204 (ILL_BADIADDR): Likewise.
16205 (ILL_BREAK): Likewise.
16206 (FPE_INTDIV): Likewise.
16207 (FPE_INTOVF): Likewise.
16208 (FPE_FLTDIV): Likewise.
16209 (FPE_FLTOVF): Likewise.
16210 (FPE_FLTUND): Likewise.
16211 (FPE_FLTRES): Likewise.
16212 (FPE_FLTINV): Likewise.
16213 (FPE_FLTSUB): Likewise.
16214 (FPE_DECOVF): Likewise.
16215 (FPE_DECDIV): Likewise.
16216 (FPE_DECERR): Likewise.
16217 (FPE_INVASC): Likewise.
16218 (FPE_INVDEC): Likewise.
16219 (SEGV_MAPERR): Likewise.
16220 (SEGV_ACCERR): Likewise.
16221 (SEGV_PSTKOVF): Likewise.
16222 (BUS_ADRALN): Likewise.
16223 (BUS_ADRERR): Likewise.
16224 (BUS_OBJERR): Likewise.
16225 (BUS_MCEERR_AR): Likewise.
16226 (BUS_MCEERR_AO): Likewise.
16227 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16228 (TRAP_TRACE): Likewise.
16229 (TRAP_BRANCH): Likewise.
16230 (TRAP_HWBKPT): Likewise.
16231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16232 __USE_XOPEN2K8].
16233 (CLD_KILLED): Likewise.
16234 (CLD_DUMPED): Likewise.
16235 (CLD_TRAPPED): Likewise.
16236 (CLD_STOPPED): Likewise.
16237 (CLD_CONTINUED): Likewise.
16238 (POLL_IN): Likewise.
16239 (POLL_OUT): Likewise.
16240 (POLL_MSG): Likewise.
16241 (POLL_ERR): Likewise.
16242 (POLL_PRI): Likewise.
16243 (POLL_HUP): Likewise.
16244 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16245 (ILL_ILLOPN): Likewise.
16246 (ILL_ILLADR): Likewise.
16247 (ILL_ILLTRP): Likewise.
16248 (ILL_PRVOPC): Likewise.
16249 (ILL_PRVREG): Likewise.
16250 (ILL_COPROC): Likewise.
16251 (ILL_BADSTK): Likewise.
16252 (FPE_INTDIV): Likewise.
16253 (FPE_INTOVF): Likewise.
16254 (FPE_FLTDIV): Likewise.
16255 (FPE_FLTOVF): Likewise.
16256 (FPE_FLTUND): Likewise.
16257 (FPE_FLTRES): Likewise.
16258 (FPE_FLTINV): Likewise.
16259 (FPE_FLTSUB): Likewise.
16260 (SEGV_MAPERR): Likewise.
16261 (SEGV_ACCERR): Likewise.
16262 (BUS_ADRALN): Likewise.
16263 (BUS_ADRERR): Likewise.
16264 (BUS_OBJERR): Likewise.
16265 (BUS_MCEERR_AR): Likewise.
16266 (BUS_MCEERR_AO): Likewise.
16267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16268 (TRAP_TRACE): Likewise.
16269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16270 __USE_XOPEN2K8].
16271 (CLD_KILLED): Likewise.
16272 (CLD_DUMPED): Likewise.
16273 (CLD_TRAPPED): Likewise.
16274 (CLD_STOPPED): Likewise.
16275 (CLD_CONTINUED): Likewise.
16276 (POLL_IN): Likewise.
16277 (POLL_OUT): Likewise.
16278 (POLL_MSG): Likewise.
16279 (POLL_ERR): Likewise.
16280 (POLL_PRI): Likewise.
16281 (POLL_HUP): Likewise.
16282 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16283 (ILL_ILLOPN): Likewise.
16284 (ILL_ILLADR): Likewise.
16285 (ILL_ILLTRP): Likewise.
16286 (ILL_PRVOPC): Likewise.
16287 (ILL_PRVREG): Likewise.
16288 (ILL_COPROC): Likewise.
16289 (ILL_BADSTK): Likewise.
16290 (FPE_INTDIV): Likewise.
16291 (FPE_INTOVF): Likewise.
16292 (FPE_FLTDIV): Likewise.
16293 (FPE_FLTOVF): Likewise.
16294 (FPE_FLTUND): Likewise.
16295 (FPE_FLTRES): Likewise.
16296 (FPE_FLTINV): Likewise.
16297 (FPE_FLTSUB): Likewise.
16298 (SEGV_MAPERR): Likewise.
16299 (SEGV_ACCERR): Likewise.
16300 (BUS_ADRALN): Likewise.
16301 (BUS_ADRERR): Likewise.
16302 (BUS_OBJERR): Likewise.
16303 (BUS_MCEERR_AR): Likewise.
16304 (BUS_MCEERR_AO): Likewise.
16305 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16306 (TRAP_TRACE): Likewise.
16307 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16308 __USE_XOPEN2K8].
16309 (CLD_KILLED): Likewise.
16310 (CLD_DUMPED): Likewise.
16311 (CLD_TRAPPED): Likewise.
16312 (CLD_STOPPED): Likewise.
16313 (CLD_CONTINUED): Likewise.
16314 (POLL_IN): Likewise.
16315 (POLL_OUT): Likewise.
16316 (POLL_MSG): Likewise.
16317 (POLL_ERR): Likewise.
16318 (POLL_PRI): Likewise.
16319 (POLL_HUP): Likewise.
16320 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16321 (ILL_ILLOPN): Likewise.
16322 (ILL_ILLADR): Likewise.
16323 (ILL_ILLTRP): Likewise.
16324 (ILL_PRVOPC): Likewise.
16325 (ILL_PRVREG): Likewise.
16326 (ILL_COPROC): Likewise.
16327 (ILL_BADSTK): Likewise.
16328 (FPE_INTDIV): Likewise.
16329 (FPE_INTOVF): Likewise.
16330 (FPE_FLTDIV): Likewise.
16331 (FPE_FLTOVF): Likewise.
16332 (FPE_FLTUND): Likewise.
16333 (FPE_FLTRES): Likewise.
16334 (FPE_FLTINV): Likewise.
16335 (FPE_FLTSUB): Likewise.
16336 (SEGV_MAPERR): Likewise.
16337 (SEGV_ACCERR): Likewise.
16338 (BUS_ADRALN): Likewise.
16339 (BUS_ADRERR): Likewise.
16340 (BUS_OBJERR): Likewise.
16341 (BUS_MCEERR_AR): Likewise.
16342 (BUS_MCEERR_AO): Likewise.
16343 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16344 (TRAP_TRACE): Likewise.
16345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16346 __USE_XOPEN2K8].
16347 (CLD_KILLED): Likewise.
16348 (CLD_DUMPED): Likewise.
16349 (CLD_TRAPPED): Likewise.
16350 (CLD_STOPPED): Likewise.
16351 (CLD_CONTINUED): Likewise.
16352 (POLL_IN): Likewise.
16353 (POLL_OUT): Likewise.
16354 (POLL_MSG): Likewise.
16355 (POLL_ERR): Likewise.
16356 (POLL_PRI): Likewise.
16357 (POLL_HUP): Likewise.
16358 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16359 (ILL_ILLOPN): Likewise.
16360 (ILL_ILLADR): Likewise.
16361 (ILL_ILLTRP): Likewise.
16362 (ILL_PRVOPC): Likewise.
16363 (ILL_PRVREG): Likewise.
16364 (ILL_COPROC): Likewise.
16365 (ILL_BADSTK): Likewise.
16366 (ILL_DBLFLT): Likewise.
16367 (ILL_HARDWALL): Likewise.
16368 (FPE_INTDIV): Likewise.
16369 (FPE_INTOVF): Likewise.
16370 (FPE_FLTDIV): Likewise.
16371 (FPE_FLTOVF): Likewise.
16372 (FPE_FLTUND): Likewise.
16373 (FPE_FLTRES): Likewise.
16374 (FPE_FLTINV): Likewise.
16375 (FPE_FLTSUB): Likewise.
16376 (SEGV_MAPERR): Likewise.
16377 (SEGV_ACCERR): Likewise.
16378 (BUS_ADRALN): Likewise.
16379 (BUS_ADRERR): Likewise.
16380 (BUS_OBJERR): Likewise.
16381 (BUS_MCEERR_AR): Likewise.
16382 (BUS_MCEERR_AO): Likewise.
16383 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16384 (TRAP_TRACE): Likewise.
16385 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16386 __USE_XOPEN2K8].
16387 (CLD_KILLED): Likewise.
16388 (CLD_DUMPED): Likewise.
16389 (CLD_TRAPPED): Likewise.
16390 (CLD_STOPPED): Likewise.
16391 (CLD_CONTINUED): Likewise.
16392 (POLL_IN): Likewise.
16393 (POLL_OUT): Likewise.
16394 (POLL_MSG): Likewise.
16395 (POLL_ERR): Likewise.
16396 (POLL_PRI): Likewise.
16397 (POLL_HUP): Likewise.
16398 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16399 (ILL_ILLOPN): Likewise.
16400 (ILL_ILLADR): Likewise.
16401 (ILL_ILLTRP): Likewise.
16402 (ILL_PRVOPC): Likewise.
16403 (ILL_PRVREG): Likewise.
16404 (ILL_COPROC): Likewise.
16405 (ILL_BADSTK): Likewise.
16406 (FPE_INTDIV): Likewise.
16407 (FPE_INTOVF): Likewise.
16408 (FPE_FLTDIV): Likewise.
16409 (FPE_FLTOVF): Likewise.
16410 (FPE_FLTUND): Likewise.
16411 (FPE_FLTRES): Likewise.
16412 (FPE_FLTINV): Likewise.
16413 (FPE_FLTSUB): Likewise.
16414 (SEGV_MAPERR): Likewise.
16415 (SEGV_ACCERR): Likewise.
16416 (BUS_ADRALN): Likewise.
16417 (BUS_ADRERR): Likewise.
16418 (BUS_OBJERR): Likewise.
16419 (BUS_MCEERR_AR): Likewise.
16420 (BUS_MCEERR_AO): Likewise.
16421 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16422 (TRAP_TRACE): Likewise.
16423 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16424 __USE_XOPEN2K8].
16425 (CLD_KILLED): Likewise.
16426 (CLD_DUMPED): Likewise.
16427 (CLD_TRAPPED): Likewise.
16428 (CLD_STOPPED): Likewise.
16429 (CLD_CONTINUED): Likewise.
16430 (POLL_IN): Likewise.
16431 (POLL_OUT): Likewise.
16432 (POLL_MSG): Likewise.
16433 (POLL_ERR): Likewise.
16434 (POLL_PRI): Likewise.
16435 (POLL_HUP): Likewise.
16436 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16437 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16438
16439 [BZ #16670]
16440 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16441 before #include of <time.h>.
16442 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16443 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16444 (test-xfail-UNIX98/sched.h/conform): Likewise.
16445
16446 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16447
16448 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16449 error absence of trapping exception support.
16450 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16451
16452 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16453
16454 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16455 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16456 * timezone/Makefile (testdata): Move definition above include of
16457 Rules.
16458 (test-zones): New variable.
16459 (tests-special): Add zone files.
16460 (build-testdata): Use $(evaluate-test).
16461
16462 * elf/Makefile (tests-special): Rename tests to end with .out.
16463 ($(objpfx)noload-mem): Likewise.
16464 ($(objpfx)tst-leaks1-mem): Likewise.
16465 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16466 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16467 $(objpfx)test-iconvconfig.out.
16468 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16469 set -e inside subshell and redirect output to file.
16470 * iconvdata/Makefile (generated): Rename tests to end with .out.
16471 Correct type.
16472 (tests-special): Rename tests to end with .out.
16473 ($(objpfx)mtrace-tst-loading): Likewise.
16474 * intl/Makefile (generated): Likewise.
16475 (tests-special): Likewise.
16476 ($(objpfx)mtrace-tst-gettext): Likewise.
16477 * misc/Makefile (generated): Likewise.
16478 (tests-special): Likewise.
16479 ($(objpfx)tst-error1-mem): Likewise.
16480 * nptl/Makefile (tests-special): Likewise.
16481 ($(objpfx)tst-stack3-mem): Likewise.
16482 (generated): Likewise.
16483 * posix/Makefile (generated): Likewise.
16484 (tests-special): Likewise.
16485 (xtests-special): Likewise.
16486 ($(objpfx)tst-fnmatch-mem): Likewise.
16487 ($(objpfx)bug-regex2-mem): Likewise.
16488 ($(objpfx)bug-regex14-mem): Likewise.
16489 ($(objpfx)bug-regex21-mem): Likewise.
16490 ($(objpfx)bug-regex31-mem): Likewise.
16491 ($(objpfx)tst-vfork3-mem): Likewise.
16492 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16493 ($(objpfx)tst-pcre-mem): Likewise.
16494 ($(objpfx)tst-boost-mem): Likewise.
16495 ($(objpfx)bug-ga2-mem): Likewise.
16496 ($(objpfx)bug-glob2-mem): Likewise.
16497 * resolv/Makefile (generate): Likewise.
16498 (tests-special): Likewise.
16499 (xtests-special): Likewise.
16500 (generated): Likewise.
16501 ($(objpfx)mtrace-tst-leaks): Likewise.
16502 ($(objpfx)mtrace-tst-leaks2): Likewise.
16503
16504 * scripts/merge-test-results.sh: New file.
16505 * Makefile (tests-special-notdir): New variable.
16506 (tests): Run merge-test-results.sh.
16507 (xtests): Likewise.
16508 * Rules (tests-special-notdir): New variable.
16509 (xtests-special-notdir): Likewise.
16510 (tests): Run merge-test-results.sh
16511 (xtests): Likewise.
16512
16513 * Makeconfig (test-xfail-name): New variable.
16514 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16515 compute variable name for expected failures.
16516 * conform/Makefile (conformtest-headers-data): New variable.
16517 (conformtest-standards): Likewise.
16518 (conformtest-headers-ISO): Likewise.
16519 (conformtest-headers-ISO99): Likewise.
16520 (conformtest-headers-ISO11): Likewise.
16521 (conformtest-headers-POSIX): Likewise.
16522 (conformtest-headers-XPG3): Likewise.
16523 (conformtest-headers-XPG4): Likewise.
16524 (conformtest-headers-UNIX98): Likewise.
16525 (conformtest-headers-XOPEN2K): Likewise.
16526 (conformtest-headers-POSIX2008): Likewise.
16527 (conformtest-headers-XOPEN2K8): Likewise.
16528 (conformtest-header-list-base): Likewise.
16529 (conformtest-header-list-tests): Likewise.
16530 (conformtest-header-base): Likewise.
16531 (conformtest-header-tests): Likewise.
16532 (tests-special): Add $(conformtest-header-list-tests). If
16533 [$(fast-check) && !$(cross-compiling)], add
16534 $(conformtest-header-tests) instead of
16535 $(objpfx)run-conformtest.out.
16536 (generated): Add $(conformtest-header-list-base). If
16537 [$(fast-check) && !$(cross-compiling)], add
16538 $(conformtest-header-base). Remove previous setting.
16539 ($(conformtest-header-list-tests)): New target.
16540 (test-xfail-run-conformtest): Remove variable.
16541 ($(objpfx)run-conformtest.out): Remove target.
16542 (test-xfail-ISO11/complex.h/conform): New variable.
16543 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16544 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16545 (test-xfail-XPG3/varargs.h/conform): Likewise.
16546 (test-xfail-XPG4/varargs.h/conform): Likewise.
16547 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16548 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16549 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16550 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16551 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16552 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16553 (test-xfail-XPG3/ftw.h/conform): Likewise.
16554 (test-xfail-XPG3/grp.h/conform): Likewise.
16555 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16556 (test-xfail-XPG3/limits.h/conform): Likewise.
16557 (test-xfail-XPG3/pwd.h/conform): Likewise.
16558 (test-xfail-XPG3/search.h/conform): Likewise.
16559 (test-xfail-XPG3/signal.h/conform): Likewise.
16560 (test-xfail-XPG3/stdio.h/conform): Likewise.
16561 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16562 (test-xfail-XPG3/string.h/conform): Likewise.
16563 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16564 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16565 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16566 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16567 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16568 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16569 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16570 (test-xfail-XPG3/termios.h/conform): Likewise.
16571 (test-xfail-XPG3/time.h/conform): Likewise.
16572 (test-xfail-XPG3/unistd.h/conform): Likewise.
16573 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16574 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16575 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16576 (test-xfail-XPG4/netdb.h/conform): Likewise.
16577 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16578 (test-xfail-XPG4/signal.h/conform): Likewise.
16579 (test-xfail-XPG4/stdio.h/conform): Likewise.
16580 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16581 (test-xfail-XPG4/stropts.h/conform): Likewise.
16582 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16583 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16584 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16585 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16586 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16587 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16588 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16589 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16590 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16591 (test-xfail-XPG4/termios.h/conform): Likewise.
16592 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16593 (test-xfail-XPG4/unistd.h/conform): Likewise.
16594 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16595 (test-xfail-POSIX/sched.h/conform): Likewise.
16596 (test-xfail-POSIX/signal.h/conform): Likewise.
16597 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16598 (test-xfail-POSIX/tar.h/conform): Likewise.
16599 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16600 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16601 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16602 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16603 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16604 (test-xfail-UNIX98/sched.h/conform): Likewise.
16605 (test-xfail-UNIX98/signal.h/conform): Likewise.
16606 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16607 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16608 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16609 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16610 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16611 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16612 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16613 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16614 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16615 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16616 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16617 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16618 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16619 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16620 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16621 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16622 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16623 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16624 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16625 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16626 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16627 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16628 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16629 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16630 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16631 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16632 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16633 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16634 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16635 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16636 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16637 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16638 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16639 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16640 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16641 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16642 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16643 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16644 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16645 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16646 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16647 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16648 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16649 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16650 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16651 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16652 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16653 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16654 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16655 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16656 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16657 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16658 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16659 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16660 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16661 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16662 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16663 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16664 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16665 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16666 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16667 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16668 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16669 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16670 (conformtest-cc-flags): Likewise.
16671 ($(conformtest-header-tests): New target.
16672 * conform/check-header-lists.sh: New file.
16673 * conform/run-conformtest.sh: Remove.
16674
16675 * conform/conformtest.pl: Allow ' and \ in values given for
16676 constants.
16677 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16678 inclusion.
16679 [POSIX] (sys/types.h): Likewise.
16680 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16681 inclusion.
16682 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16683 inclusion.
16684 * conform/data/signal.h-data (SIGIO): Remove expectation.
16685 [XPG3] (SIGBUS): Do not expect.
16686 [POSIX || XPG3] (SIGPOLL): Likewise.
16687 [POSIX || XPG3] (SIGPROF): Likewise.
16688 [POSIX || XPG3] (SIGSYS): Likewise.
16689 [XPG3] (SIGTRAP): Likewise.
16690 [POSIX || XPG3] (SIGURG): Likewise.
16691 [POSIX || XPG3] (SIGVTALRM): Likewise.
16692 [POSIX || XPG3] (SIGXCPU): Likewise.
16693 [POSIX || XPG3] (SIGXFSZ): Likewise.
16694 [POSIX] (SA_SIGINFO): Expect.
16695 [XPG3] (siginfo_t): Do not expect type or contents.
16696 [POSIX] (si_pid): Do not expect element.
16697 [POSIX] (si_uid): Likewise.
16698 [POSIX] (si_addr): Likewise.
16699 [POSIX] (si_status): Likewise.
16700 [POSIX] (si_band): Likewise.
16701 [XPG4] (si_value): Likewise.
16702 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16703 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16704 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16705 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16706 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16707 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16708 [POSIX || XPG3] (ILL_COPROC): Likewise.
16709 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16710 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16711 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16712 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16713 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16714 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16715 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16716 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16717 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16718 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16719 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16720 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16721 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16722 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16723 [POSIX || XPG3] (CLD_EXITED): Likewise.
16724 [POSIX || XPG3] (CLD_KILLED): Likewise.
16725 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16726 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16727 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16728 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16729 [POSIX || XPG3] (POLL_IN): Likewise.
16730 [POSIX || XPG3] (POLL_OUT): Likewise.
16731 [POSIX || XPG3] (POLL_MSG): Likewise.
16732 [POSIX || XPG3] (POLL_ERR): Likewise.
16733 [POSIX || XPG3] (POLL_PRI): Likewise.
16734 [POSIX || XPG3] (POLL_HUP): Likewise.
16735 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16736 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16737 (SIG*): Do not allow.
16738 [XPG3] (si_*): Likewise.
16739 [XPG3] (SI_*): Likewise.
16740 [XPG3 || XPG4] (sigev_*): Likewise.
16741 [XPG3 || XPG4] (SIGEV_*): Likewise.
16742 [XPG3 || XPG4] (sival_*): Likewise.
16743 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16744 [POSIX || XPG3] (BUS_*): Likewise.
16745 [POSIX || XPG3] (CLD_*): Likewise.
16746 [POSIX || XPG3] (FPE_*): Likewise.
16747 [POSIX || XPG3] (ILL_*): Likewise.
16748 [POSIX || XPG3] (POLL_*): Likewise.
16749 [POSIX || XPG3] (SEGV_*): Likewise.
16750 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16751 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16752 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16753 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16754 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16755 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16756 Specify type and value.
16757 (TVERSLEN): Likewise.
16758 (REGTYPE): Likewise.
16759 (AREGTYPE): Likewise.
16760 (LNKTYPE): Likewise.
16761 (SYMTYPE): Likewise.
16762 (CHRTYPE): Likewise.
16763 (BLKTYPE): Likewise.
16764 (DIRTYPE): Likewise.
16765 (FIFOTYPE): Likewise.
16766 (CONTTYPE): Likewise.
16767 (TSUID): Likewise.
16768 (TSGID): Likewise.
16769 (TSVTX): Likewise.
16770 (TUREAD): Likewise.
16771 (TUWRITE): Likewise.
16772 (TUEXEC): Likewise.
16773 (TGREAD): Likewise.
16774 (TGWRITE): Likewise.
16775 (TGEXEC): Likewise.
16776 (TOREAD): Likewise.
16777 (TOWRITE): Likewise.
16778 (TOEXEC): Likewise.
16779 [POSIX] (TSVTX): Expect constant.
16780
16781 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16782
16783 * Makefile (tests): Change dependencies to ....
16784 (tests-special): ... additions to this variable.
16785 (tests): Depend on $(tests-special).
16786 * Makerules (check-abi-list): New variable.
16787 (check-abi): Depend on $(check-abi-list).
16788 [$(subdir) = elf] (tests-special): Add
16789 $(objpfx)check-abi-libc.out.
16790 [$(build-shared) = yes && subdir] (tests-special): Add
16791 $(check-abi-list).
16792 [$(build-shared) = yes && subdir] (tests): Do not depend on
16793 check-abi.
16794 * Rules (tests): Depend on $(tests-special).
16795 (xtests): Depend on $(xtests-special).
16796 * catgets/Makefile (tests): Change dependencies to ....
16797 (tests-special): ... additions to this variable.
16798 * conform/Makefile (tests): Change dependencies to ....
16799 (tests-special): ... additions to this variable.
16800 * elf/Makefile (tests): Change dependencies to ....
16801 (tests-special): ... additions to this variable.
16802 * grp/Makefile (tests): Change dependencies to ....
16803 (tests-special): ... additions to this variable.
16804 * iconv/Makefile (xtests): Change dependencies to ....
16805 (xtests-special): ... additions to this variable.
16806 * iconvdata/Makefile (tests): Change dependencies to ....
16807 (tests-special): ... additions to this variable.
16808 * intl/Makefile (tests): Change dependencies to ....
16809 (tests-special): ... additions to this variable. Also add
16810 $(objpfx)tst-gettext.out.
16811 * io/Makefile (tests): Change dependencies to ....
16812 (tests-special): ... additions to this variable.
16813 * libio/Makefile (tests): Change dependencies to ....
16814 (tests-special): ... additions to this variable.
16815 * malloc/Makefile (tests): Change dependencies to ....
16816 (tests-special): ... additions to this variable.
16817 * misc/Makefile (tests): Change dependencies to ....
16818 (tests-special): ... additions to this variable.
16819 * nptl/Makefile (tests): Change dependencies to ....
16820 (tests-special): ... additions to this variable.
16821 * nptl_db/Makefile (tests): Change dependencies to ....
16822 (tests-special): ... additions to this variable.
16823 * posix/Makefile (tests): Change dependencies to ....
16824 (tests-special): ... additions to this variable.
16825 (xtests): Change dependencies to ....
16826 (xtests-special): ... additions to this variable.
16827 * resolv/Makefile (tests): Change dependencies to ....
16828 (tests-special): ... additions to this variable.
16829 (xtests): Change dependencies to ....
16830 (xtests-special): ... additions to this variable.
16831 * stdio-common/Makefile (tests): Change dependencies to ....
16832 (tests-special): ... additions to this variable.
16833 (do-tst-unbputc): Remove target.
16834 (do-tst-printf): Likewise.
16835 * stdlib/Makefile (tests): Change dependencies to ....
16836 (tests-special): ... additions to this variable.
16837 * string/Makefile (tests): Change dependencies to ....
16838 (tests-special): ... additions to this variable.
16839 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16840 (tests-special): ... additions to this variable.
16841
16842 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16843 whole file.
16844 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16845 whole file.
16846 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16847 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16848
16849 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16850 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16851 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16852 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16853 * conform/data/libgen.h-data [XPG3]: Likewise.
16854 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16855 * conform/data/ndbm.h-data [XPG3]: Likewise.
16856 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16857 * conform/data/netdb.h-data [XPG3]: Likewise.
16858 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16859 * conform/data/poll.h-data [XPG3]: Likewise.
16860 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16861 * conform/data/strings.h-data [XPG3]: Likewise.
16862 * conform/data/stropts.h-data [XPG3]: Likewise.
16863 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16864 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16865 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16866 Likewise.
16867 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16868 * conform/data/sys/time.h-data [XPG3]: Likewise.
16869 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16870 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16871 * conform/data/sys/un.h-data [XPG3]: Likewise.
16872 * conform/data/syslog.h-data [XPG3]: Likewise.
16873 * conform/data/ucontext.h-data [XPG3]: Likewise.
16874 * conform/data/utmpx.h-data [XPG3]: Likewise.
16875 * conform/data/varargs.h-data [UNIX98]: Enable file.
16876
16877 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16878
16879 * math/libm-test.inc (struct test_f_f_data): Move expected results
16880 into structure for each rounding mode.
16881 (struct test_ff_f_data): Likewise.
16882 (struct test_ff_f_data_nexttoward): Likewise.
16883 (struct test_fi_f_data): Likewise.
16884 (struct test_fl_f_data): Likewise.
16885 (struct test_if_f_data): Likewise.
16886 (struct test_fff_f_data): Likewise.
16887 (struct test_c_f_data): Likewise.
16888 (struct test_f_f1_data): Likewise.
16889 (struct test_fF_f1_data): Likewise.
16890 (struct test_ffI_f1_data): Likewise.
16891 (struct test_c_c_data): Likewise.
16892 (struct test_cc_c_data): Likewise.
16893 (struct test_f_i_data): Likewise.
16894 (struct test_ff_i_data): Likewise.
16895 (struct test_f_l_data): Likewise.
16896 (struct test_f_L_data): Likewise.
16897 (struct test_fFF_11_data): Likewise.
16898 (RM_): New macro.
16899 (RM_FE_DOWNWARD): Likewise.
16900 (RM_FE_TONEAREST): Likewise.
16901 (RM_FE_TOWARDZERO): Likewise.
16902 (RM_FE_UPWARD): Likewise.
16903 (RUN_TEST_LOOP_f_f): Update references to expected results.
16904 (RUN_TEST_LOOP_2_f): Likewise.
16905 (RUN_TEST_LOOP_fff_f): Likewise.
16906 (RUN_TEST_LOOP_c_f): Likewise.
16907 (RUN_TEST_LOOP_f_f1): Likewise.
16908 (RUN_TEST_LOOP_fF_f1): Likewise.
16909 (RUN_TEST_LOOP_fI_f1): Likewise.
16910 (RUN_TEST_LOOP_ffI_f1): Likewise.
16911 (RUN_TEST_LOOP_c_c): Likewise.
16912 (RUN_TEST_LOOP_cc_c): Likewise.
16913 (RUN_TEST_LOOP_f_i): Likewise.
16914 (RUN_TEST_LOOP_f_i_tg): Likewise.
16915 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16916 (RUN_TEST_LOOP_f_b): Likewise.
16917 (RUN_TEST_LOOP_f_b_tg): Likewise.
16918 (RUN_TEST_LOOP_f_l): Likewise.
16919 (RUN_TEST_LOOP_f_L): Likewise.
16920 (RUN_TEST_LOOP_fFF_11): Likewise.
16921 * math/gen-libm-test.pl (parse_args): Output four copies of
16922 expected results for each test.
16923
16924 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16925 (__ASSUME_UTIMES): Remove.
16926 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16927 (__ASSUME_UTIMES): Likewise.
16928
16929 * math/gen-auto-libm-tests.c: Update comment on output format.
16930 (output_for_one_input_case): Generate before-rounding and
16931 after-rounding information as conditions on output flags not
16932 floating-point format.
16933 * math/auto-libm-test-out: Regenerated.
16934 * math/gen-libm-test.pl (cond_value): New function.
16935 (or_cond_value): Use cond_value.
16936 (generate_testfile): Handle conditional exceptions.
16937
16938 2014-03-05 Joseph Myers <joseph@codesourcery.com>
16939
16940 * math/libm-test.inc (max_valid_error): New variable.
16941 (init_max_error): Take new argument specifying whether function
16942 results are exactly determined. Set max_valid_error and bound
16943 other variables for errors based on this argument.
16944 (set_max_error): Do not record results above max_valid_error.
16945 (check_float_internal): Only accept errors of up to 0.5ulps if
16946 also at most max_valid_error.
16947 (START): Take new argument EXACT and pass it to init_max_error.
16948 (acos_test): Update call to START.
16949 (acos_test_tonearest): Likewise.
16950 (acos_test_towardzero): Likewise.
16951 (acos_test_downward): Likewise.
16952 (acos_test_upward): Likewise.
16953 (acosh_test): Likewise.
16954 (asin_test): Likewise.
16955 (asin_test_tonearest): Likewise.
16956 (asin_test_towardzero): Likewise.
16957 (asin_test_downward): Likewise.
16958 (asin_test_upward): Likewise.
16959 (asinh_test): Likewise.
16960 (atan_test): Likewise.
16961 (atanh_test): Likewise.
16962 (atan2_test): Likewise.
16963 (cabs_test): Likewise.
16964 (cacos_test): Likewise.
16965 (cacosh_test): Likewise.
16966 (carg_test): Likewise.
16967 (casin_test): Likewise.
16968 (casinh_test): Likewise.
16969 (catan_test): Likewise.
16970 (catanh_test): Likewise.
16971 (cbrt_test): Likewise.
16972 (ccos_test): Likewise.
16973 (ccosh_test): Likewise.
16974 (ceil_test): Likewise.
16975 (cexp_test): Likewise.
16976 (cimag_test): Likewise.
16977 (clog_test): Likewise.
16978 (clog10_test): Likewise.
16979 (conj_test): Likewise.
16980 (copysign_test): Likewise.
16981 (cos_test): Likewise.
16982 (cos_test_tonearest): Likewise.
16983 (cos_test_towardzero): Likewise.
16984 (cos_test_downward): Likewise.
16985 (cos_test_upward): Likewise.
16986 (cosh_test): Likewise.
16987 (cosh_test_tonearest): Likewise.
16988 (cosh_test_towardzero): Likewise.
16989 (cosh_test_downward): Likewise.
16990 (cosh_test_upward): Likewise.
16991 (cpow_test): Likewise.
16992 (cproj_test): Likewise.
16993 (creal_test): Likewise.
16994 (csin_test): Likewise.
16995 (csinh_test): Likewise.
16996 (csqrt_test): Likewise.
16997 (ctan_test): Likewise.
16998 (ctan_test_tonearest): Likewise.
16999 (ctan_test_towardzero): Likewise.
17000 (ctan_test_downward): Likewise.
17001 (ctan_test_upward): Likewise.
17002 (ctanh_test): Likewise.
17003 (ctanh_test_tonearest): Likewise.
17004 (ctanh_test_towardzero): Likewise.
17005 (ctanh_test_downward): Likewise.
17006 (ctanh_test_upward): Likewise.
17007 (erf_test): Likewise.
17008 (erfc_test): Likewise.
17009 (exp_test): Likewise.
17010 (exp_test_tonearest): Likewise.
17011 (exp_test_towardzero): Likewise.
17012 (exp_test_downward): Likewise.
17013 (exp_test_upward): Likewise.
17014 (exp10_test): Likewise.
17015 (exp10_test_tonearest): Likewise.
17016 (exp10_test_towardzero): Likewise.
17017 (exp10_test_downward): Likewise.
17018 (exp10_test_upward): Likewise.
17019 (pow10_test): Likewise.
17020 (exp2_test): Likewise.
17021 (expm1_test): Likewise.
17022 (expm1_test_tonearest): Likewise.
17023 (expm1_test_towardzero): Likewise.
17024 (expm1_test_downward): Likewise.
17025 (expm1_test_upward): Likewise.
17026 (fabs_test): Likewise.
17027 (fdim_test): Likewise.
17028 (floor_test): Likewise.
17029 (fma_test): Likewise.
17030 (fma_test_towardzero): Likewise.
17031 (fma_test_downward): Likewise.
17032 (fma_test_upward): Likewise.
17033 (fmax_test): Likewise.
17034 (fmin_test): Likewise.
17035 (fmod_test): Likewise.
17036 (fpclassify_test): Likewise.
17037 (frexp_test): Likewise.
17038 (hypot_test): Likewise.
17039 (ilogb_test): Likewise.
17040 (isfinite_test): Likewise.
17041 (finite_test): Likewise.
17042 (isgreater_test): Likewise.
17043 (isgreaterequal_test): Likewise.
17044 (isinf_test): Likewise.
17045 (isless_test): Likewise.
17046 (islessequal_test): Likewise.
17047 (islessgreater_test): Likewise.
17048 (isnan_test): Likewise.
17049 (isnormal_test): Likewise.
17050 (issignaling_test): Likewise.
17051 (isunordered_test): Likewise.
17052 (j0_test): Likewise.
17053 (j1_test): Likewise.
17054 (jn_test): Likewise.
17055 (ldexp_test): Likewise.
17056 (lgamma_test): Likewise.
17057 (gamma_test): Likewise.
17058 (lrint_test): Likewise.
17059 (lrint_test_tonearest): Likewise.
17060 (lrint_test_towardzero): Likewise.
17061 (lrint_test_downward): Likewise.
17062 (lrint_test_upward): Likewise.
17063 (llrint_test): Likewise.
17064 (llrint_test_tonearest): Likewise.
17065 (llrint_test_towardzero): Likewise.
17066 (llrint_test_downward): Likewise.
17067 (llrint_test_upward): Likewise.
17068 (log_test): Likewise.
17069 (log10_test): Likewise.
17070 (log1p_test): Likewise.
17071 (log2_test): Likewise.
17072 (logb_test): Likewise.
17073 (logb_test_downward): Likewise.
17074 (lround_test): Likewise.
17075 (llround_test): Likewise.
17076 (modf_test): Likewise.
17077 (nearbyint_test): Likewise.
17078 (nextafter_test): Likewise.
17079 (nexttoward_test): Likewise.
17080 (pow_test): Likewise.
17081 (pow_test_tonearest): Likewise.
17082 (pow_test_towardzero): Likewise.
17083 (pow_test_downward): Likewise.
17084 (pow_test_upward): Likewise.
17085 (remainder_test): Likewise.
17086 (drem_test): Likewise.
17087 (remainder_test_tonearest): Likewise.
17088 (drem_test_tonearest): Likewise.
17089 (remainder_test_towardzero): Likewise.
17090 (drem_test_towardzero): Likewise.
17091 (remainder_test_downward): Likewise.
17092 (drem_test_downward): Likewise.
17093 (remainder_test_upward): Likewise.
17094 (drem_test_upward): Likewise.
17095 (remquo_test): Likewise.
17096 (rint_test): Likewise.
17097 (rint_test_tonearest): Likewise.
17098 (rint_test_towardzero): Likewise.
17099 (rint_test_downward): Likewise.
17100 (rint_test_upward): Likewise.
17101 (round_test): Likewise.
17102 (scalb_test): Likewise.
17103 (scalbn_test): Likewise.
17104 (scalbln_test): Likewise.
17105 (signbit_test): Likewise.
17106 (sin_test): Likewise.
17107 (sin_test_tonearest): Likewise.
17108 (sin_test_towardzero): Likewise.
17109 (sin_test_downward): Likewise.
17110 (sin_test_upward): Likewise.
17111 (sincos_test): Likewise.
17112 (sinh_test): Likewise.
17113 (sinh_test_tonearest): Likewise.
17114 (sinh_test_towardzero): Likewise.
17115 (sinh_test_downward): Likewise.
17116 (sinh_test_upward): Likewise.
17117 (sqrt_test): Likewise.
17118 (sqrt_test_tonearest): Likewise.
17119 (sqrt_test_towardzero): Likewise.
17120 (sqrt_test_downward): Likewise.
17121 (sqrt_test_upward): Likewise.
17122 (tan_test): Likewise.
17123 (tan_test_tonearest): Likewise.
17124 (tan_test_towardzero): Likewise.
17125 (tan_test_downward): Likewise.
17126 (tan_test_upward): Likewise.
17127 (tanh_test): Likewise.
17128 (tgamma_test): Likewise.
17129 (trunc_test): Likewise.
17130 (y0_test): Likewise.
17131 (y1_test): Likewise.
17132 (yn_test): Likewise.
17133 (significand_test): Likewise.
17134
17135 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17136 individual tests in comment.
17137 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17138 (prev_max_error): New variable.
17139 (prev_real_max_error): Likewise.
17140 (prev_imag_max_error): Likewise.
17141 (compare_ulp_data): Don't refer to test names in comment.
17142 (find_test_ulps): Remove function.
17143 (find_function_ulps): Likewise.
17144 (find_complex_function_ulps): Likewise.
17145 (init_max_error): Take function name as argument. Look up ulps
17146 for that function.
17147 (print_ulps): Remove function.
17148 (print_max_error): Use prev_max_error instead of calling
17149 find_function_ulps.
17150 (print_complex_max_error): Use prev_real_max_error and
17151 prev_imag_max_error instead of calling find_complex_function_ulps.
17152 (check_float_internal): Take max_ulp parameter instead of calling
17153 find_test_ulps. Don't call print_ulps.
17154 (check_float): Update call to check_float_internal.
17155 (check_complex): Update calls to check_float_internal.
17156 (START): Pass argument to init_max_error.
17157 * math/gen-libm-test.pl (%results): Don't include "kind"
17158 information.
17159 (parse_ulps): Don't handle ulps of individual tests.
17160 (print_ulps_file): Likewise.
17161 (output_ulps): Likewise.
17162 * math/README.libm-test: Update.
17163 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17164 individual tests.
17165 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17166 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17167 * sysdeps/arm/libm-test-ulps: Likewise.
17168 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17169 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17170 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17171 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17172 * sysdeps/microblaze/libm-test-ulps: Likewise.
17173 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17174 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17176 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17177 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17178 * sysdeps/sh/libm-test-ulps: Likewise.
17179 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17180 * sysdeps/tile/libm-test-ulps: Likewise.
17181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17182
17183 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17184
17185 * math/libm-test.inc (print_complex_max_error): Check separately
17186 whether real and imaginary errors are within allowed range and
17187 pass 0 to print_complex_function_ulps instead of value within
17188 allowed range.
17189
17190 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17191
17192 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17193 formatting.
17194 (get_handles_fopen): Likewise.
17195 (do_write_test): Likewise.
17196
17197 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17198
17199 * libio/fileops.c (do_ftell): Use cached offset when
17200 available.
17201 * libio/iofwide.c (do_ftell_wide): Likewise.
17202 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17203 _IO_file_attach.
17204 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17205
17206 [BZ #16532]
17207 * libio/libioP.h (get_file_offset): New function.
17208 * libio/fileops.c (get_file_offset): Likewise.
17209 (do_ftell): Likewise.
17210 (_IO_new_file_seekoff): Split out ftell logic.
17211 * libio/wfileops.c (do_ftell_wide): Likewise.
17212 (_IO_wfile_seekoff): Split out ftell logic.
17213 * libio/tst-ftell-active-handler.c: New test case.
17214 * libio/Makefile (tests): Add it.
17215
17216 2014-03-03 Roland McGrath <roland@hack.frob.com>
17217
17218 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17219 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17220
17221 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17222
17223 [BZ #16639]
17224 * nscd/connections.c (nscd_init): Call do_exit.
17225 (start_threads): Call do_exit and notify_parent.
17226 (begin_drop_privileges): Call do_exit.
17227 (finish_drop_privileges): Likewise.
17228 * nscd/selinux.c (preserve_capabilities): Likewise.
17229 (install_real_capabilities): Likewise.
17230 (nscd_selinux_enabled): Likewise.
17231 (avc_create_thread): Likewise.
17232 (avc_alloc_lock): Likewise.
17233 (nscd_avc_init): Likewise.
17234 * nscd/nscd.c (parent_fd): New static variable.
17235 (main): Create a pipe between parent and child processes.
17236 Skip closing parent_fd.
17237 (monitor_child): New function.
17238 (do_exit): Likewise.
17239 (notify_parent): Likewise.
17240 * nscd/nscd.h (notify_parent): Likewise.
17241 (do_exit): Likewise.
17242
17243 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17244
17245 * malloc/malloc.c (__libc_calloc): Revert last change.
17246
17247 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17248
17249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17250
17251 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17252
17253 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17254 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17255 implementation.
17256 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17257 (__libc_ifunc_impl_list): Likewise.
17258 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17259 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17260 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17261 * string/strrchr.c: Define STRRCHR.
17262
17263 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17264
17265 * benchtest/bench-strtok.c (simple_strtok): Delete.
17266 (strtok_string): Use as benchmark.
17267 * string/strtok (STRTOK): New macro.
17268
17269 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17270
17271 * manual/threads.texi: Add header and standard comments to all
17272 functions.
17273
17274 * elf/dl-lookup.c (check_match): New function.
17275 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17276 (do_lookup_x): Remove nested function check_match. Use non-nested
17277 function check_match.
17278
17279 2014-02-28 Roland McGrath <roland@hack.frob.com>
17280
17281 * csu/Makefile (generated, before-compile): Use += rather than =.
17282 * catgets/Makefile (generated, generated-dirs): Likewise.
17283 * debug/Makefile (generated): Likewise.
17284 * dlfcn/Makefile (generated): Likewise.
17285 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17286 * iconvdata/Makefile (before-compile, generated): Likewise.
17287 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17288 * libio/Makefile (generated): Likewise.
17289 * malloc/Makefile (generated): Likewise.
17290 * manual/Makefile (generated, generated-dirs): Likewise.
17291 * misc/Makefile (generated): Likewise.
17292 * posix/Makefile (generated): Likewise.
17293 * resolv/Makefile (generated): Likewise.
17294 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17295 * timezone/Makefile (generated, generated-dirs): Likewise.
17296
17297 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17298
17299 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17300
17301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17302 power8 implementation.
17303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17304 file: POWER8 llround ifunc implementation.
17305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17306 (__lllround): Add POWER8 implementation.
17307 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17308 POWER8 llround implementation.
17309
17310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17311 power8 implementation.
17312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17313 file: POWER8 llrint ifunc implementation.
17314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17315 Add POWER8 implementation.
17316 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17317 POWER8 llrint implementation.
17318
17319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17320 power8 implementation.
17321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17322 file: POWER8 finite ifunc implementation.
17323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17324 Add POWER8 implementation.
17325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17326 Likewise.
17327 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17328 POWER8 finite implementation.
17329 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17330
17331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17332 power8 implementation.
17333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17334 file: POWER8 isinf ifunc implementation.
17335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17336 POWER8 implementation.
17337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17338 Likewise.
17339 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17340 isinf implementation.
17341 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17342
17343 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17344 (INIT_ARCH): Add hwcap2 initialization.
17345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17346 power8 implementation.
17347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17348 file: POWER8 isnan ifunc implementation.
17349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17350 POWER8 implementation.
17351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17352 Likewise.
17353 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17354 isnan implementation.
17355 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17356
17357 2014-02-27 Joey Ye <joey.ye@arm.com>
17358
17359 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17360 (_FP_NANFRAC_Q): Set to zero.
17361
17362 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17363
17364 [BZ #16623]
17365 * math/auto-libm-test-in: New test inputs.
17366 * math/auto-libm-test-out: Regenerate.
17367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17368 and DA.
17369 (__cos): Likewise.
17370 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17371
17372 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17373
17374 * scripts/evaluate-test.sh: Take new argument indicating whether
17375 failure is expected.
17376 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17377 indicating whether failure is expected.
17378 * conform/Makefile (test-xfail-run-conformtest): New variable.
17379 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17380 level.
17381 * posix/Makefile (test-xfail-annexc): New variable.
17382 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17383
17384 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17385
17386 * argp/Makefile: Include Makeconfig immediately after defining
17387 subdir.
17388 * assert/Makefile: Likewise.
17389 * benchtests/Makefile: Likewise.
17390 * catgets/Makefile: Likewise.
17391 * conform/Makefile: Likewise.
17392 * crypt/Makefile: Likewise.
17393 * csu/Makefile: Likewise.
17394 (all): Remove target.
17395 * ctype/Makefile: Include Makeconfig immediately after defining
17396 subdir.
17397 * debug/Makefile: Likewise.
17398 * dirent/Makefile: Likewise.
17399 * dlfcn/Makefile: Likewise.
17400 * gmon/Makefile: Likewise.
17401 * gnulib/Makefile: Likewise.
17402 * grp/Makefile: Likewise.
17403 * gshadow/Makefile: Likewise.
17404 * hesiod/Makefile: Likewise.
17405 * hurd/Makefile: Likewise.
17406 (all): Remove target.
17407 * iconvdata/Makefile: Include Makeconfig immediately after
17408 defining subdir.
17409 * inet/Makefile: Likewise.
17410 * intl/Makefile: Likewise.
17411 * io/Makefile: Likewise.
17412 * libio/Makefile: Likewise.
17413 (all): Remove target.
17414 * locale/Makefile: Include Makeconfig immediately after defining
17415 subdir.
17416 * login/Makefile: Likewise.
17417 * mach/Makefile: Likewise.
17418 (all): Remove target.
17419 * malloc/Makefile: Include Makeconfig immediately after defining
17420 subdir.
17421 (all): Remove target.
17422 * manual/Makefile: Include Makeconfig immediately after defining
17423 subdir.
17424 * math/Makefile: Likewise.
17425 * misc/Makefile: Likewise.
17426 * nis/Makefile: Likewise.
17427 * nss/Makefile: Likewise.
17428 * po/Makefile: Likewise.
17429 (all): Remove target.
17430 * posix/Makefile: Include Makeconfig immediately after defining
17431 subdir.
17432 * pwd/Makefile: Likewise.
17433 * resolv/Makefile: Likewise.
17434 * resource/Makefile: Likewise.
17435 * rt/Makefile: Likewise.
17436 * setjmp/Makefile: Likewise.
17437 * shadow/Makefile: Likewise.
17438 * signal/Makefile: Likewise.
17439 * socket/Makefile: Likewise.
17440 * soft-fp/Makefile: Likewise.
17441 * stdio-common/Makefile: Likewise.
17442 * stdlib/Makefile: Likewise.
17443 * streams/Makefile: Likewise.
17444 * string/Makefile: Likewise.
17445 * sunrpc/Makefile: Likewise.
17446 (all): Remove target.
17447 * sysvipc/Makefile: Include Makeconfig immediately after defining
17448 subdir.
17449 * termios/Makefile: Likewise.
17450 * time/Makefile: Likewise.
17451 * timezone/Makefile: Likewise.
17452 (all): Remove target.
17453 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17454 subdir.
17455 * wctype/Makefile: Likewise.
17456
17457 2014-02-26 Steve Ellcey <sellcey@mips.com>
17458
17459 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17460 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17461 (libc_feholdexcept_setround_mips): Ditto.
17462 (libc_feholdsetround): New.
17463 (libc_feholdsetroundf): New.
17464 (libc_feholdsetroundl): New.
17465 (libc_feupdateenv_test_mips): New.
17466 (libc_feupdateenv_test): New.
17467 (libc_feupdateenv_testf): New.
17468 (libc_feupdateenv_testl): New.
17469 (libc_feresetround): New.
17470 (libc_feresetroundf): New.
17471 (libc_feresetroundl): New.
17472 (libc_fetestexcept_mips): New.
17473 (libc_fetestexcept): New.
17474 (libc_fetestexceptf): New.
17475 (libc_fetestexceptl): New.
17476 (HAVE_RM_CTX): New.
17477 (libc_feholdexcept_setround_mips_ctx): New.
17478 (libc_feholdexcept_setround_ctx): New.
17479 (libc_feholdexcept_setroundf_ctx): New.
17480 (libc_feholdexcept_setroundl_ctx): New.
17481 (libc_fesetenv_mips_ctx): New.
17482 (libc_fesetenv_ctx): New.
17483 (libc_fesetenv_ctxf): New.
17484 (libc_fesetenv_ctxl): New.
17485 (libc_feupdateenv_mips_ctx): New.
17486 (libc_feupdateenv_ctx): New.
17487 (libc_feupdateenvf_ctx): New.
17488 (libc_feupdateenvl_ctx): New.
17489 (libc_feholdsetround_mips_ctx): New.
17490 (libc_feholdsetround_ctx): New.
17491 (libc_feholdsetroundf_ctx): New.
17492 (libc_feholdsetroundl_ctx): New.
17493 (libc_feresetround_mips_ctx): New.
17494 (libc_feresetround_ctx): New.
17495 (libc_feresetroundf_ctx): New.
17496 (libc_feresetroundl_ctx): New.
17497
17498 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17499
17500 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17501
17502 * manual/ipc.texi: New file.
17503 * manual/Makefile (chapters): Add ipc.
17504 * manual/job.texi: Add "Inter-Process Communication" to next.
17505 * manual/process.texi: Add "Inter-Process Communication" to prev.
17506
17507 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17508
17509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17510
17511 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17512
17513 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17514
17515 * manual/arith.texi: Fix spaces after sentences.
17516 * manual/charset.texi: Likewise.
17517 * manual/errno.texi: Likewise.
17518 * manual/install.texi: Likewise.
17519 * manual/llio.texi: Likewise.
17520 * manual/locale.texi: Likewise.
17521 * manual/maint.texi: Likewise.
17522 * manual/math.texi: Likewise.
17523 * manual/memory.texi: Likewise.
17524 * manual/message.texi: Likewise.
17525 * manual/probes.texi: Likewise.
17526 * manual/resource.texi: Likewise.
17527 * manual/signal.texi: Likewise.
17528 * manual/socket.texi: Likewise.
17529 * manual/stdio.texi: Likewise.
17530 * manual/string.texi: Likewise.
17531 * manual/time.texi: Likewise.
17532 * manual/users.texi: Likewise.
17533
17534 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17535
17536 [BZ #16632]
17537 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17538 _DEFAULT_SOURCE is defined.
17539
17540 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17541 Carlos O'Donell <carlos@redhat.com>
17542
17543 [BZ #16613]
17544 * elf/dl-tls.c (_dl_count_modids): New function.
17545 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17546 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17547 audit library and increment generation counter.
17548 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17549 * elf/tst-audit9.c: New file.
17550 * elf/tst-auditmod9a.c: New file.
17551 * elf/tst-auditmod9b.c: New file.
17552 * elf/Makefile: Add rules to build and run tst-audit9.
17553
17554 2014-02-25 Florian Weimer <fweimer@redhat.com>
17555
17556 [BZ #15347]
17557 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17558
17559 2014-02-25 Will Newton <will.newton@linaro.org>
17560
17561 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17562 (__longjmp): Restore sp and lr before restoring callee
17563 saved registers. Add longjmp and longjmp_target
17564 SystemTap probe point.
17565 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17566 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17567 Define to zero to match jmpbuf layout.
17568 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17569 (__sigsetjmp): Save sp and lr before saving callee
17570 saved registers. Add setjmp SystemTap probe point.
17571
17572 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17573
17574 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17575
17576 2014-02-24 Andreas Schwab <schwab@suse.de>
17577
17578 [BZ #15804]
17579 * elf/pldd.c (wait_for_ptrace_stop): New function.
17580 (main): Call it after attaching.
17581
17582 2014-02-22 Roland McGrath <roland@hack.frob.com>
17583
17584 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17585 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17586 Versions files is now verboten.
17587 * hurd/Versions (libc: GLIBC_2.0):
17588 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17589 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17590 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17591 * mach/Versions: Likewise.
17592
17593 * csu/Versions: Remove unused %include.
17594 * resolv/Versions: Likewise.
17595
17596 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17597
17598 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17599 ($(objpfx)check-local-headers.out): Likewise.
17600 ($(objpfx)begin-end-check.out): Likewise.
17601 * Makerules (check-abi-%.out): Likewise.
17602 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17603 ($(objpfx)test2.cat): Likewise.
17604 ($(objpfx)de/libc.cat): Likewise.
17605 ($(objpfx)test-gencat.out): Likewise.
17606 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17607 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17608 ($(objpfx)noload-mem): Likewise.
17609 ($(objpfx)tst-pathopt.out): Likewise.
17610 ($(objpfx)tst-rtld-load-self.out): Likewise.
17611 ($(objpfx)tst-array1-cmp.out): Likewise.
17612 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17613 ($(objpfx)tst-array2-cmp.out): Likewise.
17614 ($(objpfx)tst-array3-cmp.out): Likewise.
17615 ($(objpfx)tst-array4-cmp.out): Likewise.
17616 ($(objpfx)tst-array5-cmp.out): Likewise.
17617 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17618 ($(objpfx)check-textrel.out): Likewise.
17619 ($(objpfx)check-execstack.out): Likewise.
17620 ($(objpfx)check-localplt.out): Likewise.
17621 ($(objpfx)order2-cmp.out): Likewise.
17622 ($(objpfx)tst-leaks1-mem): Likewise.
17623 ($(objpfx)tst-leaks1-static-mem): Likewise.
17624 ($(objpfx)tst-initorder-cmp.out): Likewise.
17625 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17626 ($(objpfx)tst-unused-dep.out): Likewise.
17627 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17628 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17629 * iconv/Makefile (test-iconvconfig): Likewise.
17630 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17631 ($(objpfx)iconv-test.out): Likewise.
17632 ($(objpfx)tst-tables.out): Likewise.
17633 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17634 ($(objpfx)tst-gettext.out): Likewise.
17635 ($(objpfx)tst-translit.out): Likewise.
17636 ($(objpfx)tst-gettext2.out): Likewise.
17637 ($(objpfx)tst-gettext4.out): Likewise.
17638 ($(objpfx)tst-gettext6.out): Likewise.
17639 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17640 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17641 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17642 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17643 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17644 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17645 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17646 ($(objpfx)wordexp-tst.out): Likewise.
17647 ($(objpfx)annexc.out): Likewise.
17648 ($(objpfx)tst-fnmatch-mem): Likewise.
17649 ($(objpfx)bug-regex2-mem): Likewise.
17650 ($(objpfx)bug-regex14-mem): Likewise.
17651 ($(objpfx)bug-regex21-mem): Likewise.
17652 ($(objpfx)bug-regex31-mem): Likewise.
17653 ($(objpfx)tst-vfork3-mem): Likewise.
17654 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17655 ($(objpfx)tst-pcre-mem): Likewise.
17656 ($(objpfx)tst-boost-mem): Likewise.
17657 ($(objpfx)tst-getconf.out): Likewise.
17658 ($(objpfx)bug-ga2-mem): Likewise.
17659 ($(objpfx)bug-glob2-mem): Likewise.
17660 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17661 ($(objpfx)mtrace-tst-leaks2): Likewise.
17662 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17663 ($(objpfx)tst-printf.out): Likewise.
17664 ($(objpfx)tst-setvbuf1.out): Likewise.
17665 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17666 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17667 ($(objpfx)tst-fmtmsg.out): Likewise.
17668 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17669 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17670
17671 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17672 * bits/sigaction.h [__USE_MISC]: Likewise.
17673 * bits/waitstatus.h: Update #endif comments.
17674 * ctype/ctype.h: Likewise.
17675 * dirent/dirent.h: Likewise.
17676 [__USE_MISC]: Remove redundant conditionals.
17677 * grp/grp.h: Update #endif comments.
17678 [__USE_GNU]: Remove redundant conditionals.
17679 [__USE_MISC]: Likewise.
17680 * inet/netinet/in.h [__USE_GNU]: Likewise.
17681 * io/sys/stat.h [__USE_MISC]: Likewise.
17682 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17683 * libio/bits/stdio.h: Update #endif comments.
17684 [__USE_MISC]: Remove redundant conditionals.
17685 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17686 * libio/stdio.h: Update #endif comments.
17687 [__USE_MISC]: Remove redundant conditionals.
17688 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17689 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17690 * math/math.h: Update #else and #endif comments.
17691 [__USE_MISC]: Remove redundant conditionals.
17692 * misc/sys/uio.h: Update #endif comments.
17693 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17694 * posix/glob.h [__USE_MISC]: Likewise.
17695 * posix/sys/types.h: Update #endif comments.
17696 [__USE_MISC]: Remove redundant conditionals.
17697 * posix/sys/wait.h: Update #endif comments.
17698 [__USE_MISC]: Remove redundant conditionals.
17699 * posix/unistd.h: Update #endif comments.
17700 [__USE_MISC]: Remove redundant conditionals.
17701 * pwd/pwd.h [__USE_GNU]: Likewise.
17702 [__USE_MISC]: Likewise.
17703 * resolv/netdb.h [__USE_GNU]: Likewise.
17704 * signal/signal.h: Update #endif comments.
17705 [__USE_MISC]: Remove redundant conditionals.
17706 * stdlib/stdlib.h: Update #else and #endif comments.
17707 [__USE_MISC]: Remove redundant conditionals.
17708 [__USE_GNU]: Likewise.
17709 * string/bits/string2.h [__USE_MISC]: Likewise.
17710 * string/string.h: Update #endif comments.
17711 [__USE_MISC]: Remove redundant conditionals.
17712 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17713 Likewise.
17714 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17715 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17716 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17717 Likewise.
17718 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17719 Likewise.
17720 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17721 comments.
17722 [__USE_MISC]: Remove redundant conditionals.
17723 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17724 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17725 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17726 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17727 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17728 Likewise.
17729 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17730 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17731 Likewise.
17732 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17733 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17734 Likewise.
17735 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17736 Likewise.
17737 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17739 Likewise.
17740 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17741 Likewise.
17742 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17743 * sysdeps/x86/bits/string.h: Update #endif comments.
17744 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17745 conditionals.
17746 * time/sys/time.h: Update #endif comments.
17747 * time/time.h: Likewise.
17748 [__USE_MISC]: Remove redundant conditionals.
17749
17750 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17751
17752 [BZ #16600]
17753 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17754
17755 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17756
17757 * Versions.def (librt): Add GLIBC_2.17.
17758
17759 2014-02-21 Adam Conrad <adconrad@0c3.net>
17760
17761 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17762 synonym for _SYS_AUXV_H to allow direct inclusion.
17763 * sysdeps/sparc/bits/hwcap.h: Likewise.
17764 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17765 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17766 * sysdeps/sparc/sysdep.h: Likewise.
17767
17768 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17769
17770 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17771
17772 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17773
17774 * benchtests/bench-strrchr.c: Print length instead of position.
17775
17776 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17777
17778 [BZ #16611]
17779 * sysdeps/unix/sysv/linux/kernel-features.h
17780 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17781 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17782 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17783 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17784 Likewise.
17785 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17786 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17787 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17788 (__ASSUME_SENDMMSG): Define instead of using previous
17789 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17790 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17791 (__ASSUME_SENDMMSG_SYSCALL): Define.
17792 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17793 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17794 Likewise.
17795 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17796 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17797 Likewise.
17798 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17799 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17800 Likewise.
17801 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17802 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17803 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17804 [__ASSUME_SENDMMSG]: Change conditionals to
17805 [__ASSUME_SENDMMSG_SOCKETCALL].
17806 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17807 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17808 Define.
17809 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17810 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17811 Likewise.
17812 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17813 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17814 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17815 [!__ASSUME_SENDMMSG]: Change conditional to
17816 [!__ASSUME_SENDMMSG_SOCKETCALL].
17817 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17818 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17819 Define.
17820
17821 [BZ #16610]
17822 * sysdeps/unix/sysv/linux/kernel-features.h
17823 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17824 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17825 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17826 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17827 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17828 [__i386__ || __sparc__]
17829 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17830 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17831 (__ASSUME_RECVMMSG): Define instead of using previous
17832 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17833 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17834 (__ASSUME_RECVMMSG_SYSCALL): Define.
17835 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17836 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17837 Likewise.
17838 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17839 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17840 Likewise.
17841 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17842 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17843 Likewise.
17844 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17845 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17846 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17847 [__ASSUME_RECVMMSG]: Change condition to
17848 [__ASSUME_RECVMMSG_SOCKETCALL].
17849 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17850 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17851 Define.
17852 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17853 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17854 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17855 Likewise.
17856 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17857 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17858 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17859 [!__ASSUME_RECVMMSG]: Change condition to
17860 [!__ASSUME_RECVMMSG_SOCKETCALL].
17861 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17862 (__ASSUME_RECVMMSG_SYSCALL): Define.
17863
17864 [BZ #16609]
17865 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17866 __powerpc__ || __s390__ || __sh__ || __sparc__]
17867 (__ASSUME_SOCKETCALL): Define.
17868 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17869 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17870 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17871 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17872 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17873 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17874 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17875 (__ASSUME_ACCEPT4): Define instead of using previous
17876 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17877 __powerpc__ || __sparc__ || __s390__)] condition.
17878 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17879 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17880 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17881 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17882 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17883 [!__ASSUME_ACCEPT4]: Change condition to
17884 [!__ASSUME_ACCEPT4_SOCKETCALL].
17885 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17886 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17887 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17888 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17889 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17890 __ASSUME_ACCEPT4_SYSCALL.
17891 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17892 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17893 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17894 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17895 __ASSUME_ACCEPT4_SYSCALL.
17896 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17897 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17898 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17899 [__ASSUME_ACCEPT4]: Change condition to
17900 [__ASSUME_ACCEPT4_SOCKETCALL].
17901 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17902 (__ASSUME_SOCKETCALL): Define.
17903 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17904 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17905 (__ASSUME_SOCKETCALL): Define.
17906 (__ASSUME_ACCEPT4): Remove.
17907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17908 Define.
17909 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17910 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17911 Likewise.
17912 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17913 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17914
17915 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17916 macro.
17917 (HWCAP_ARM_LPAE): Likewise.
17918 (HWCAP_ARM_EVTSTRM): Likewise.
17919 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17920 Add vpfd32, lpae and evtstrm.
17921 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17922 Increase to 22.
17923
17924 2014-02-19 Joseph Myers <joseph@codesourcery.com>
17925
17926 * math/auto-libm-test-in: Add tests of clog10.
17927 * math/auto-libm-test-out: Regenerated.
17928 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17929 * sysdeps/i386/fpu/libm-test-ulps: Update.
17930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17931
17932 2014-02-18 Andreas Schwab <schwab@suse.de>
17933
17934 [BZ #16574]
17935 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17936 Store non-zero if the second buffer was newly allocated.
17937 (send_dg): Likewise.
17938 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17939 to send_vc and send_dg.
17940 (res_nsend): Pass NULL for ansp2_malloced.
17941 * resolv/res_query.c (__libc_res_nquery): Add parameter
17942 answerp2_malloced and pass it down to __libc_res_nsend.
17943 (res_nquery): Pass additional NULL to __libc_res_nquery.
17944 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17945 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17946 second answer buffer if answerp2_malloced was set.
17947 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17948 (__libc_res_nquerydomain): Add parameter
17949 answerp2_malloced and pass it down to __libc_res_nquery.
17950 (res_nquerydomain): Pass additional NULL to
17951 __libc_res_nquerydomain.
17952 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17953 additional NULL to __libc_res_nsend and __libc_res_nquery.
17954 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17955 additional NULL to __libc_res_nsearch.
17956 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17957 parameter of __libc_res_nsearch to check for separately allocated
17958 second buffer.
17959 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17960 __libc_res_nquery.
17961 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17962 additional NULL to __libc_res_nquery.
17963 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17964 __libc_res_nsearch.
17965 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17966 * include/resolv.h: Update prototypes of __libc_res_nquery,
17967 __libc_res_nsearch, __libc_res_nsend.
17968
17969 2014-02-18 Joseph Myers <joseph@codesourcery.com>
17970
17971 * math/auto-libm-test-in: Add tests of fma.
17972 * math/auto-libm-test-out: Regenerated.
17973 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17974 (fma_towardzero_test_data): Likewise.
17975 (fma_downward_test_data): Likewise.
17976 (fma_upward_test_data): Likewise.
17977 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17978 mpc_mode.
17979 (rounding_modes): Add values for new field.
17980 (func_calc_method): Add value mpfr_fff_f.
17981 (func_calc_desc): Add mpfr_fff_f union field.
17982 (test_function): Add field exact_args.
17983 (FUNC): Add macro argument EXACT_ARGS.
17984 (FUNC_mpfr_f_f): Update call to FUNC.
17985 (FUNC_mpfr_f_f): Likewise.
17986 (FUNC_mpfr_ff_f): Likewise.
17987 (FUNC_mpfr_if_f): Likewise.
17988 (FUNC_mpc_c_f): Likewise.
17989 (FUNC_mpc_c_c): Likewise.
17990 (test_functions): Add fma. Update calls to FUNC.
17991 (handle_input_arg): Add argument exact_args.
17992 (add_test): Update call to handle_input_arg.
17993 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17994 (output_for_one_input_case): Update call to calc_generic_results.
17995 Recalculate exact zero results in each rounding mode.
17996
17997 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17998 non-negative before setting low bit.
17999 * math/auto-libm-test-in: Mark one asin test possibly having
18000 spurious underflow.
18001 * math/auto-libm-test-out: Regenerated.
18002 * sysdeps/i386/fpu/libm-test-ulps: Update.
18003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18004
18005 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18006
18007 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18008 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18009 ports/sysdeps/unix/sysv/linux/microblaze.
18010 * README: Add missing listing for microblaze*-*-linux-gnu.
18011
18012 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18013
18014 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18015 duplicate code
18016
18017 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18018
18019 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18020 * sysdeps/unix/sysv/linux/ia64: Move directory from
18021 ports/sysdeps/unix/sysv/linux/ia64.
18022 * README: Update listing for ia64-*-linux-gnu.
18023
18024 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18025 Joseph Myers <joseph@codesourcery.com>
18026
18027 * Makeconfig (test-name): New variable.
18028 (evaluate-test): Likewise.
18029 * Makerules (do-test-clean): Remove .test-result files.
18030 (common-mostlyclean): Likewise.
18031 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18032 * scripts/evaluate-test.sh: New file.
18033
18034 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18035
18036 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18037 separate $(objpfx)tst-fopenloc-cmp.out and
18038 $(objpfx)tst-fopenloc-mem.out targets.
18039 (tests): Update dependencies.
18040 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18041 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18042 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18043 (tst-rxspencer-no-utf8-ARGS): New variable.
18044 (tst-rxspencer-no-utf8-ENV): Likewise.
18045 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18046 instead of $(objpfx)tst-rxspencer-mem.
18047 ($(objpfx)tst-rxspencer-mem): Change target to
18048 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18049 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18050 * posix/tst-rxspencer-no-utf8.c: New file.
18051
18052 * elf/Makefile ($(objpfx)order.out): Remove rule.
18053 [$(run-built-tests) = yes] (tests): Depend on
18054 $(objpfx)order-cmp.out.
18055 ($(objpfx)order-cmp.out): New rule.
18056 [$(run-built-tests) = yes] (tests): Depend on
18057 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18058 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18059 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18060 $(objpfx)tst-array5-static-cmp.out.
18061 ($(objpfx)tst-array1.out): Remove rule.
18062 ($(objpfx)tst-array1-cmp.out): New rule.
18063 ($(objpfx)tst-array1-static.out): Remove rule.
18064 ($(objpfx)tst-array1-static-cmp.out): New rule.
18065 ($(objpfx)tst-array2.out): Remove rule.
18066 ($(objpfx)tst-array2-cmp.out): New rule.
18067 ($(objpfx)tst-array3.out): Remove rule.
18068 ($(objpfx)tst-array3-cmp.out): New rule.
18069 ($(objpfx)tst-array4.out): Remove rule.
18070 ($(objpfx)tst-array4-cmp.out): New rule.
18071 ($(objpfx)tst-array5.out): Remove rule.
18072 ($(objpfx)tst-array5-cmp.out): New rule.
18073 ($(objpfx)tst-array5-static.out): Remove rule.
18074 ($(objpfx)tst-array5-static-cmp.out): New rule.
18075 [$(run-built-tests) = yes] (tests): Depend on
18076 $(objpfx)order2-cmp.out.
18077 ($(objpfx)order2.out): Remove rule.
18078 ($(objpfx)order2-cmp.out): New rule.
18079 ($(objpfx)tst-initorder.out): Remove rule.
18080 [$(run-built-tests) = yes] (tests): Depend on
18081 $(objpfx)tst-initorder-cmp.out.
18082 ($(objpfx)tst-initorder-cmp.out): New rule.
18083 ($(objpfx)tst-initorder2.out): Remove rule.
18084 [$(run-built-tests) = yes] (tests): Depend on
18085 $(objpfx)tst-initorder2-cmp.out.
18086 ($(objpfx)tst-initorder2-cmp.out): New rule.
18087 [$(run-built-tests) = yes] (tests): Depend on
18088 $(objpfx)tst-unused-dep-cmp.out.
18089 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18090 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18091 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18092 on $(objpfx)tst-setvbuf1-cmp.out.
18093 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18094 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18095 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18096 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18097 ($(objpfx)tst-svc.out): Remove rule.
18098 ($(objpfx)tst-svc-cmp.out): New rule.
18099
18100 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18101
18102 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18103 * ctype/ctype.h [__USE_MISC]: Likewise.
18104 * dirent/dirent.h [__USE_MISC]: Likewise.
18105 * grp/grp.h [__USE_MISC]: Likewise.
18106 * io/fcntl.h [__USE_MISC]: Likewise.
18107 * io/sys/stat.h [__USE_MISC]: Likewise.
18108 * libio/stdio.h [__USE_MISC]: Likewise.
18109 * posix/unistd.h [__USE_MISC]: Likewise.
18110 * pwd/pwd.h [__USE_MISC]: Likewise.
18111 * stdlib.h [__USE_MISC]: Likewise.
18112 * string/bits/string2.h [__USE_MISC]: Likewise.
18113 * string/string.h [__USE_MISC]: Likewise.
18114 * time/time.h [__USE_MISC]: Likewise.
18115
18116 2014-02-13 Andreas Schwab <schwab@suse.de>
18117
18118 [BZ #16574]
18119 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18120 second answer buffer if it was separately allocated.
18121
18122 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18123
18124 * sysdeps/mips/math-tests.h: Include <features.h>.
18125 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18126 (ROUNDING_TESTS_long_double): Do not define.
18127 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18128 (EXCEPTION_TESTS_long_double): Likewise.
18129 * sysdeps/mips/mips64/libm-test-ulps: Update.
18130
18131 * include/features.h (__USE_BSD): Remove macro definitions.
18132 (__USE_SVID): Likewise.
18133 (_BSD_SOURCE): Likewise.
18134 (_SVID_SOURCE): Likewise.
18135 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18136 from definition of _DEFAULT_SOURCE.
18137 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18138 [_DEFAULT_SOURCE].
18139 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18140 * bits/mman.h [__USE_BSD]: Likewise.
18141 * bits/termios.h [__USE_BSD]: Likewise.
18142 * bits/waitstatus.h [__USE_BSD]: Likewise.
18143 * ctype/ctype.h [__USE_SVID]: Likewise.
18144 * dirent/dirent.h [__USE_BSD]: Likewise.
18145 * grp/grp.h [__USE_SVID]: Likewise.
18146 [__USE_BSD]: Likewise.
18147 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18148 * io/fcntl.h [__USE_BSD]: Likewise.
18149 * io/ftw.h [__USE_BSD]: Likewise.
18150 * io/sys/stat.h [__USE_BSD]: Likewise.
18151 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18152 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18153 * libio/stdio.h [__USE_SVID]: Likewise.
18154 [__USE_BSD]: Likewise.
18155 * math/math.h [__USE_SVID]: Likewise.
18156 [__USE_BSD]: Likewise.
18157 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18158 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18159 * misc/search.h [__USE_SVID]: Likewise.
18160 * misc/sys/mman.h [__USE_BSD]: Likewise.
18161 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18162 * misc/sys/uio.h [__USE_BSD]: Likewise.
18163 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18164 * posix/glob.h [__USE_BSD]: Likewise.
18165 * posix/regex.h [__USE_BSD]: Likewise.
18166 * posix/sys/types.h [__USE_BSD]: Likewise.
18167 [__USE_SVID]: Likewise.
18168 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18169 * posix/sys/wait.h [__USE_BSD]: Likewise.
18170 [__USE_SVID]: Likewise.
18171 * posix/unistd.h [__USE_BSD]: Likewise.
18172 [__USE_SVID]: Likewise.
18173 * pwd/pwd.h [__USE_SVID]: Likewise.
18174 * resolv/netdb.h [__USE_BSD]: Likewise.
18175 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18176 * signal/signal.h [__USE_BSD]: Likewise.
18177 [__USE_SVID]: Likewise.
18178 * socket/sys/socket.h [__USE_BSD]: Likewise.
18179 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18180 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18181 [__USE_SVID]: Likewise.
18182 * string/bits/string2.h [__USE_BSD]: Likewise.
18183 [__USE_SVID]: Likewise.
18184 * string/bits/string3.h [__USE_BSD]: Likewise.
18185 * string/endian.h [__USE_BSD]: Likewise.
18186 * string/string.h [__USE_SVID]: Likewise.
18187 [__USE_BSD]: Likewise.
18188 * string/strings.h [__USE_BSD]: Likewise.
18189 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18190 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18191 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18192 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18193 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18194 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18195 Likewise.
18196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18197 Likewise.
18198 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18199 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18200 Likewise.
18201 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18202 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18203 Likewise.
18204 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18205 Likewise.
18206 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18207 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18208 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18209 Likewise.
18210 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18211 Likewise.
18212 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18213 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18214 * termios/termios.h [__USE_BSD]: Likewise.
18215 * time/sys/time.h [__USE_BSD]: Likewise.
18216 * time/time.h [__USE_BSD]: Likewise.
18217 [__USE_SVID]: Likewise.
18218
18219 * Makefile (subdir_targets): Remove subdir_lint.out.
18220
18221 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18222 (do-tst-printf): Likewise.
18223 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18224 $(objpfx)tst-printf.out.
18225
18226 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18227
18228 * Makerules (check-abi-%): Change target to
18229 $(objpfx)check-abi-%.out.
18230 (check-abi target): Update dependencies.
18231 (check-abi-pattern variable): Redirect output of diff to $@.
18232 (check-abi variable): Likewise.
18233 * elf/Makefile (check-abi): Update dependencies.
18234
18235 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18236 unused.
18237 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18238 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18239 subnormal range.
18240 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18241 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18242 value has largest subnormal exponent.
18243 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18244 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18245 * sysdeps/aarch64/soft-fp/sfp-machine.h
18246 (_FP_TININESS_AFTER_ROUNDING): New macro.
18247 * sysdeps/alpha/soft-fp/sfp-machine.h
18248 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18249 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18250 Likewise.
18251 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18252 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18253 * sysdeps/mips/soft-fp/sfp-machine.h
18254 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18255 * sysdeps/powerpc/soft-fp/sfp-machine.h
18256 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18257 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18258 Likewise.
18259 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18260 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18261 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18262 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18263 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18264 Likewise.
18265
18266 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18267
18268 [BZ #16545]
18269 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18270 model 1.
18271
18272 2014-02-12 Richard Henderson <rth@redhat.com>
18273
18274 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18275 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18276 * sysdeps/unix/sysv/linux/alpha: Move directory from
18277 ports/sysdeps/unix/sysv/linux/alpha.
18278 * README: Update listing for alpha-*-linux-gnu.
18279
18280 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18281
18282 * include/features.h: Update comment documenting feature test
18283 macros.
18284 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18285 _DEFAULT_SOURCE.
18286 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18287 (_SVID_SOURCE): Likewise.
18288 (_DEFAULT_SOURCE): Update description of default features.
18289 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18290 with _GNU_SOURCE.
18291 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18292 (S_ISVTX): Likewise.
18293 * manual/math.texi (Mathematical Constants): Likewise.
18294 * manual/signal.texi (Interrupted Primitives): Likewise.
18295 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18296 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18297 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18298 Don't refer to _SVID_SOURCE in warning text.
18299
18300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18301
18302 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18303 already defined.
18304 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18305 * sysdeps/mips/dl-lookup.c: Remove.
18306 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18307
18308 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18309
18310 [BZ #16447]
18311 * math/auto-libm-test-in: Add testcase for expl.
18312 * math/auto-libm-test-out: Regenerate.
18313 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18314 calculation of unsafe.
18315 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18316
18317 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18318
18319 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18320 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18321 ports/sysdeps/unix/sysv/linux/aarch64.
18322 * README: Update listing for aarch64*-*-linux-gnu.
18323
18324 2014-02-11 Will Newton <will.newton@linaro.org>
18325
18326 * manual/probes.texi (Mathematical Function Probes): Use
18327 "triggered" instead of "hit".
18328
18329 * manual/probes.texi (Internal Probes): Add documentation
18330 of setjmp, longjmp and longjmp_target probes.
18331
18332 * include/stap-probe.h: Add comment about probe argument
18333 format.
18334
18335 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18336 definition. (tr_where, tr_freehook, tr_mallochook,
18337 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18338
18339 2014-02-11 David S. Miller <davem@davemloft.net>
18340
18341 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18342 processing int_tests.
18343
18344 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18345
18346 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18347 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18348 * sysdeps/unix/sysv/linux/mips: Move directory from
18349 ports/sysdeps/unix/sysv/linux/mips.
18350 * README: Update listing for mips-*-linux-gnu and
18351 mips64-*-linux-gnu.
18352
18353 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18354
18355 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18356 * sysdeps/unix/sysv/linux/m68k: Move directory from
18357 ports/sysdeps/unix/sysv/linux/m68k.
18358 * README: Update listing for m68k-*-linux-gnu.
18359
18360 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18361
18362 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18363 * sysdeps/unix/sysv/linux/generic: Move directory from
18364 ports/sysdeps/unix/sysv/linux/generic.
18365 * sysdeps/unix/sysv/linux/tile: Move directory from
18366 ports/sysdeps/unix/sysv/linux/tile.
18367 * README: Update listing for tile*-*-linux-gnu.
18368
18369 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18370
18371 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18372 __builtin_expect.
18373 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18374 * catgets/open_catalog.c (__open_catalog): Likewise.
18375 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18376 * debug/confstr_chk.c: Likewise.
18377 * debug/fread_chk.c (__fread_chk): Likewise.
18378 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18379 * debug/getgroups_chk.c: Likewise.
18380 * debug/mbsnrtowcs_chk.c: Likewise.
18381 * debug/mbsrtowcs_chk.c: Likewise.
18382 * debug/mbstowcs_chk.c: Likewise.
18383 * debug/memcpy_chk.c: Likewise.
18384 * debug/memmove_chk.c: Likewise.
18385 * debug/mempcpy_chk.c: Likewise.
18386 * debug/memset_chk.c: Likewise.
18387 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18388 * debug/strcat_chk.c (__strcat_chk): Likewise.
18389 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18390 * debug/strncat_chk.c (__strncat_chk): Likewise.
18391 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18392 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18393 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18394 * debug/wcpncpy_chk.c: Likewise.
18395 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18396 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18397 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18398 * debug/wcsncpy_chk.c: Likewise.
18399 * debug/wcsnrtombs_chk.c: Likewise.
18400 * debug/wcsrtombs_chk.c: Likewise.
18401 * debug/wcstombs_chk.c: Likewise.
18402 * debug/wmemcpy_chk.c: Likewise.
18403 * debug/wmemmove_chk.c: Likewise.
18404 * debug/wmempcpy_chk.c: Likewise.
18405 * debug/wmemset_chk.c: Likewise.
18406 * dirent/scandirat.c (SCANDIRAT): Likewise.
18407 * dlfcn/dladdr1.c (dladdr1): Likewise.
18408 * dlfcn/dladdr.c (dladdr): Likewise.
18409 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18410 * dlfcn/dlerror.c (__dlerror): Likewise.
18411 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18412 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18413 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18414 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18415 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18416 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18417 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18418 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18419 Likewise.
18420 * elf/dl-conflict.c: Likewise.
18421 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18422 * elf/dl-dst.h: Likewise.
18423 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18424 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18425 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18426 * elf/dl-init.c (call_init, _dl_init): Likewise.
18427 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18428 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18429 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18430 Likewise.
18431 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18432 Likewise.
18433 * elf/dl-minimal.c (__libc_memalign): Likewise.
18434 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18435 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18436 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18437 * elf/dl-sym.c (do_sym): Likewise.
18438 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18439 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18440 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18441 * elf/dl-writev.h (_dl_writev): Likewise.
18442 * elf/ldconfig.c (search_dir): Likewise.
18443 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18444 (dl_main): Likewise.
18445 * elf/setup-vdso.h (setup_vdso): Likewise.
18446 * grp/compat-initgroups.c (compat_call): Likewise.
18447 * grp/fgetgrent.c (fgetgrent): Likewise.
18448 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18449 * grp/putgrent.c (putgrent): Likewise.
18450 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18451 Likewise.
18452 * hurd/hurdinit.c: Likewise.
18453 * iconvdata/8bit-gap.c (struct): Likewise.
18454 * iconvdata/ansi_x3.110.c : Likewise.
18455 * iconvdata/big5.c : Likewise.
18456 * iconvdata/big5hkscs.c : Likewise.
18457 * iconvdata/cp1255.c: Likewise.
18458 * iconvdata/cp1258.c : Likewise.
18459 * iconvdata/cp932.c : Likewise.
18460 * iconvdata/euc-cn.c: Likewise.
18461 * iconvdata/euc-jisx0213.c : Likewise.
18462 * iconvdata/euc-jp.c: Likewise.
18463 * iconvdata/euc-jp-ms.c : Likewise.
18464 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18465 * iconvdata/gb18030.c : Likewise.
18466 * iconvdata/gbbig5.c (const): Likewise.
18467 * iconvdata/gbgbk.c: Likewise.
18468 * iconvdata/gbk.c : Likewise.
18469 * iconvdata/ibm1364.c : Likewise.
18470 * iconvdata/ibm930.c : Likewise.
18471 * iconvdata/ibm932.c: Likewise.
18472 * iconvdata/ibm933.c : Likewise.
18473 * iconvdata/ibm935.c : Likewise.
18474 * iconvdata/ibm937.c : Likewise.
18475 * iconvdata/ibm939.c : Likewise.
18476 * iconvdata/ibm943.c: Likewise.
18477 * iconvdata/iso_11548-1.c: Likewise.
18478 * iconvdata/iso-2022-cn.c : Likewise.
18479 * iconvdata/iso-2022-cn-ext.c : Likewise.
18480 * iconvdata/iso-2022-jp-3.c: Likewise.
18481 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18482 * iconvdata/iso-2022-kr.c : Likewise.
18483 * iconvdata/iso646.c (gconv_end): Likewise.
18484 * iconvdata/iso_6937-2.c : Likewise.
18485 * iconvdata/iso_6937.c : Likewise.
18486 * iconvdata/iso8859-1.c: Likewise.
18487 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18488 * iconvdata/shift_jisx0213.c : Likewise.
18489 * iconvdata/sjis.c : Likewise.
18490 * iconvdata/t.61.c : Likewise.
18491 * iconvdata/tcvn5712-1.c : Likewise.
18492 * iconvdata/tscii.c: Likewise.
18493 * iconvdata/uhc.c : Likewise.
18494 * iconvdata/unicode.c (gconv_end): Likewise.
18495 * iconvdata/utf-16.c (gconv_end): Likewise.
18496 * iconvdata/utf-32.c (gconv_end): Likewise.
18497 * iconvdata/utf-7.c (base64): Likewise.
18498 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18499 * iconv/gconv_close.c (__gconv_close): Likewise.
18500 * iconv/gconv_open.c (__gconv_open): Likewise.
18501 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18502 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18503 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18504 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18505 (ucs4le_internal_loop_single): Likewise.
18506 * iconv/iconv.c (iconv): Likewise.
18507 * iconv/iconv_close.c: Likewise.
18508 * iconv/loop.c (SINGLE): Likewise.
18509 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18510 * include/atomic.h: Likewise.
18511 * inet/inet6_option.c (option_alloc): Likewise.
18512 * intl/bindtextdom.c (set_binding_values): Likewise.
18513 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18514 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18515 * intl/localealias.c (read_alias_file): Likewise.
18516 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18517 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18518 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18519 * libio/fmemopen.c (fmemopen): Likewise.
18520 * libio/iofgets.c (_IO_fgets): Likewise.
18521 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18522 * libio/iofgetws.c (fgetws): Likewise.
18523 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18524 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18525 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18526 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18527 * locale/findlocale.c (_nl_find_locale): Likewise.
18528 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18529 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18530 Likewise.
18531 * locale/setlocale.c (setlocale): Likewise.
18532 * login/programs/pt_chown.c (main): Likewise.
18533 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18534 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18535 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18536 (mmap, mmap64, mremap, munmap): Likewise.
18537 * math/e_exp2l.c: Likewise.
18538 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18539 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18540 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18541 * math/s_catan.c (__catan): Likewise.
18542 * math/s_catanf.c (__catanf): Likewise.
18543 * math/s_catanh.c (__catanh): Likewise.
18544 * math/s_catanhf.c (__catanhf): Likewise.
18545 * math/s_catanhl.c (__catanhl): Likewise.
18546 * math/s_catanl.c (__catanl): Likewise.
18547 * math/s_ccosh.c (__ccosh): Likewise.
18548 * math/s_ccoshf.c (__ccoshf): Likewise.
18549 * math/s_ccoshl.c (__ccoshl): Likewise.
18550 * math/s_cexp.c (__cexp): Likewise.
18551 * math/s_cexpf.c (__cexpf): Likewise.
18552 * math/s_cexpl.c (__cexpl): Likewise.
18553 * math/s_clog10.c (__clog10): Likewise.
18554 * math/s_clog10f.c (__clog10f): Likewise.
18555 * math/s_clog10l.c (__clog10l): Likewise.
18556 * math/s_clog.c (__clog): Likewise.
18557 * math/s_clogf.c (__clogf): Likewise.
18558 * math/s_clogl.c (__clogl): Likewise.
18559 * math/s_csin.c (__csin): Likewise.
18560 * math/s_csinf.c (__csinf): Likewise.
18561 * math/s_csinh.c (__csinh): Likewise.
18562 * math/s_csinhf.c (__csinhf): Likewise.
18563 * math/s_csinhl.c (__csinhl): Likewise.
18564 * math/s_csinl.c (__csinl): Likewise.
18565 * math/s_csqrt.c (__csqrt): Likewise.
18566 * math/s_csqrtf.c (__csqrtf): Likewise.
18567 * math/s_csqrtl.c (__csqrtl): Likewise.
18568 * math/s_ctan.c (__ctan): Likewise.
18569 * math/s_ctanf.c (__ctanf): Likewise.
18570 * math/s_ctanh.c (__ctanh): Likewise.
18571 * math/s_ctanhf.c (__ctanhf): Likewise.
18572 * math/s_ctanhl.c (__ctanhl): Likewise.
18573 * math/s_ctanl.c (__ctanl): Likewise.
18574 * math/w_pow.c: Likewise.
18575 * math/w_powf.c: Likewise.
18576 * math/w_powl.c: Likewise.
18577 * math/w_scalb.c (sysv_scalb): Likewise.
18578 * math/w_scalbf.c (sysv_scalbf): Likewise.
18579 * math/w_scalbl.c (sysv_scalbl): Likewise.
18580 * misc/error.c (error_tail): Likewise.
18581 * misc/pselect.c (__pselect): Likewise.
18582 * nis/nis_callback.c (__nis_create_callback): Likewise.
18583 * nis/nis_call.c (__nisfind_server): Likewise.
18584 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18585 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18586 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18587 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18588 * nis/nis_lookup.c (nis_lookup): Likewise.
18589 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18590 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18591 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18592 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18593 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18594 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18595 * nis/nss_compat/compat-initgroups.c (add_group)
18596 (internal_getgrent_r): Likewise.
18597 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18598 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18599 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18600 (internal_getspnam_r): Likewise.
18601 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18602 (_nss_nis_getaliasbyname_r): Likewise.
18603 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18604 (_nss_nis_getntohost_r): Likewise.
18605 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18606 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18607 (_nss_nis_getgrgid_r): Likewise.
18608 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18609 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18610 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18611 (_nss_nis_gethostbyname4_r): Likewise.
18612 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18613 (initgroups_netid): Likewise.
18614 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18615 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18616 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18617 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18618 (_nss_nis_getprotobynumber_r): Likewise.
18619 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18620 (_nss_nis_getsecretkey): Likewise.
18621 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18622 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18623 (_nss_nis_getpwuid_r): Likewise.
18624 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18625 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18626 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18627 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18628 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18629 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18630 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18631 Likewise.
18632 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18633 (_nss_nisplus_getntohost_r): Likewise.
18634 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18635 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18636 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18637 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18638 Likewise.
18639 * nis/nss_nisplus/nisplus-initgroups.c
18640 (_nss_nisplus_initgroups_dyn): Likewise.
18641 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18642 (_nss_nisplus_getnetbyaddr_r): Likewise.
18643 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18644 (_nss_nisplus_getprotobynumber_r): Likewise.
18645 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18646 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18647 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18648 Likewise.
18649 * nis/nss_nisplus/nisplus-service.c
18650 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18651 (_nss_nisplus_getservbyport_r): Likewise.
18652 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18653 (_nss_nisplus_getspnam_r): Likewise.
18654 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18655 Likewise.
18656 * nscd/aicache.c (addhstaiX): Likewise.
18657 * nscd/cache.c (cache_search, prune_cache): Likewise.
18658 * nscd/connections.c (register_traced_file, send_ro_fd)
18659 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18660 (main_loop_epoll): Likewise.
18661 * nscd/grpcache.c (addgrbyX): Likewise.
18662 * nscd/hstcache.c (addhstbyX): Likewise.
18663 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18664 * nscd/mem.c (gc, mempool_alloc): Likewise.
18665 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18666 (addinnetgrX): Likewise.
18667 * nscd/nscd-client.h (__nscd_acquire_maplock)
18668 (__nscd_drop_map_ref): Likewise.
18669 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18670 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18671 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18672 Likewise.
18673 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18674 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18675 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18676 (__nscd_get_map_ref): Likewise.
18677 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18678 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18679 Likewise.
18680 * nscd/pwdcache.c (addpwbyX): Likewise.
18681 * nscd/selinux.c (preserve_capabilities): Likewise.
18682 * nscd/servicescache.c (addservbyX): Likewise.
18683 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18684 * posix/fnmatch.c (fnmatch): Likewise.
18685 * posix/getopt.c (_getopt_internal_r): Likewise.
18686 * posix/glob.c (glob, glob_in_dir): Likewise.
18687 * posix/wordexp.c (exec_comm_child): Likewise.
18688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18689 (getanswer_r, gaih_getanswer_slice): Likewise.
18690 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18691 * resolv/res_init.c: Likewise.
18692 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18693 * resolv/res_query.c (__libc_res_nquery): Likewise.
18694 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18695 Likewise.
18696 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18697 * stdio-common/perror.c (perror): Likewise.
18698 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18699 * stdio-common/tmpnam.c (tmpnam): Likewise.
18700 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18701 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18702 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18703 Likewise.
18704 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18705 * stdlib/putenv.c (putenv): Likewise.
18706 * stdlib/setenv.c (__add_to_environ): Likewise.
18707 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18708 * stdlib/strtol_l.c (INTERNAL): Likewise.
18709 * string/memmem.c (memmem): Likewise.
18710 * string/strerror.c (strerror): Likewise.
18711 * string/strnlen.c (__strnlen): Likewise.
18712 * string/test-memmem.c (simple_memmem): Likewise.
18713 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18714 * sunrpc/pm_getport.c (__get_socket): Likewise.
18715 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18716 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18717 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18718 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18719 Likewise.
18720 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18721 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18722 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18723 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18724 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18725 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18726 Likewise.
18727 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18728 Likewise.
18729 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18730 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18732 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18733 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18734 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18735 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18736 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18737 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18738 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18739 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18740 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18741 Likewise.
18742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18743 Likewise.
18744 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18745 Likewise.
18746 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18748 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18749 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18750 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18751 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18752 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18755 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18756 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18757 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18758 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18761 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18762 Likewise.
18763 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18764 Likewise.
18765 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18766 Likewise.
18767 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18768 Likewise.
18769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18771 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18772 Likewise.
18773 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18774 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18775 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18776 * sysdeps/posix/sleep.c: Likewise.
18777 * sysdeps/posix/tempname.c: Likewise.
18778 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18779 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18780 Likewise.
18781 * sysdeps/powerpc/powerpc32/dl-machine.h
18782 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18783 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18785 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18786 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18787 Likewise.
18788 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18789 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18790 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18791 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18792 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18793 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18794 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18795 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18796 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18797 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18799 (elf_machine_lazy_rel): Likewise.
18800 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18802 (elf_machine_lazy_rel): Likewise.
18803 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18804 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18805 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18806 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18807 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18808 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18809 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18810 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18811 Likewise.
18812 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18813 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18814 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18815 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18816 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18817 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18818 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18819 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18820 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18821 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18822 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18823 Likewise.
18824 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18825 (__posix_fallocate64_l64): Likewise.
18826 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18827 (posix_fallocate): Likewise.
18828 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18829 Likewise.
18830 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18831 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18832 (getifaddrs_internal): Likewise.
18833 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18834 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18835 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18836 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18837 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18838 (__posix_fallocate64_l64): Likewise.
18839 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18840 Likewise.
18841 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18842 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18843 (__get_clockfreq): Likewise.
18844 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18845 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18846 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18848 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18849 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18850 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18851 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18852 Likewise.
18853 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18854 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18855 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18856 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18857 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18858 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18859 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18860 Likewise.
18861 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18862 (posix_fallocate): Likewise.
18863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18864 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18865 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18866 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18867 (elf_machine_rela, elf_machine_rela_relative)
18868 (elf_machine_lazy_rel): Likewise.
18869 * time/asctime.c (asctime_internal): Likewise.
18870 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18871 * time/tzset.c (__tzset_parse_tz): Likewise.
18872 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18873 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18874 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18875 * wcsmbs/wcsmbsload.h: Likewise.
18876
18877 [BZ #15894]
18878 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18879
18880 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18881 (arena_get2): Remove THREAD_STATS conditionals.
18882 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18883 (__malloc_stats, int): Likewise.
18884
18885 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18886
18887 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18888 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18889
18890 * manual/setjmp.texi: Fix typos/grammar errors.
18891
18892 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18893 Only return early when n is <= 0. Delete unused return statement.
18894
18895 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18896 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18897 * debug/tst-longjmp_chk3.c: New file.
18898
18899 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18900 (test_main): Replace code with set_fortify_handler call.
18901 * debug/test-strcpy_chk.c: Likewise.
18902 * debug/tst-chk1.c: Likewise.
18903 * debug/tst-longjmp_chk.c: Likewise.
18904 * test-skeleton.c: Include fcntl.h & paths.h
18905 (set_fortify_handler): Define.
18906
18907 * debug/tst-longjmp_chk.c: Add header comment and include
18908 ../test-skeleton.c.
18909 (do_test): Mark static.
18910 (TEST_FUNCTION): Define.
18911
18912 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18913 (IP_PMTUDISC_INTERFACE): Likewise.
18914 (IP_MULTICAST_IF): Likewise.
18915 (IP_MULTICAST_TTL): Likewise.
18916 (IP_MULTICAST_LOOP): Likewise.
18917 (IP_ADD_MEMBERSHIP): Likewise.
18918 (IP_DROP_MEMBERSHIP): Likewise.
18919 (IP_UNBLOCK_SOURCE): Likewise.
18920 (IP_BLOCK_SOURCE): Likewise.
18921 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18922 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18923 (IP_MSFILTER): Likewise.
18924 (MCAST_JOIN_GROUP): Likewise.
18925 (MCAST_BLOCK_SOURCE): Likewise.
18926 (MCAST_UNBLOCK_SOURCE): Likewise.
18927 (MCAST_LEAVE_GROUP): Likewise.
18928 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18929 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18930 (MCAST_MSFILTER): Likewise.
18931 (IP_MULTICAST_ALL): Likewise.
18932 (IP_UNICAST_IF): Likewise.
18933
18934 * timezone/Makefile: Delete $(have-ksh) check.
18935 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18936 * timezone/tzselect.ksh: Add +x mode bits.
18937
18938 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18939 (ANON_INODE_FS_MAGIC): Likewise.
18940 (BDEVFS_MAGIC): Likewise.
18941 (BINFMTFS_MAGIC): Likewise.
18942 (BTRFS_TEST_MAGIC): Likewise.
18943 (CRAMFS_MAGIC_WEND): Likewise.
18944 (DEBUGFS_MAGIC): Likewise.
18945 (ECRYPTFS_SUPER_MAGIC): Likewise.
18946 (EXT3_SUPER_MAGIC): Likewise.
18947 (EXT4_SUPER_MAGIC): Likewise.
18948 (FUTEXFS_SUPER_MAGIC): Likewise.
18949 (HOSTFS_SUPER_MAGIC): Likewise.
18950 (HUGETLBFS_MAGIC): Likewise.
18951 (MINIX3_SUPER_MAGIC): Likewise.
18952 (MTD_INODE_FS_MAGIC): Likewise.
18953 (NILFS_SUPER_MAGIC): Likewise.
18954 (OPENPROM_SUPER_MAGIC): Likewise.
18955 (PIPEFS_MAGIC): Likewise.
18956 (PSTOREFS_MAGIC): Likewise.
18957 (QNX6_SUPER_MAGIC): Likewise.
18958 (RAMFS_MAGIC): Likewise.
18959 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18960 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18961 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18962 (SECURITYFS_MAGIC): Likewise.
18963 (SELINUX_MAGIC): Likewise.
18964 (SMACK_MAGIC): Likewise.
18965 (SOCKFS_MAGIC): Likewise.
18966 (SQUASHFS_MAGIC): Likewise.
18967 (STACK_END_MAGIC): Likewise.
18968 (TMPFS_MAGIC): Likewise.
18969 (USBDEVICE_SUPER_MAGIC): Likewise.
18970 (V9FS_MAGIC): Likewise.
18971 (XENFS_SUPER_MAGIC): Likewise.
18972 (CRAMFS_MAGIC): Fix typo in comment.
18973 (EXT2_SUPER_MAGIC): Update comment.
18974 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18975
18976 2014-02-08 Joseph Myers <joseph@codesourcery.com>
18977
18978 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18979 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18980 * sysdeps/unix/sysv/linux/arm: Move directory from
18981 ports/sysdeps/unix/sysv/linux/arm.
18982 * README: Update listing for arm-*-linux-gnueabi.
18983
18984 * README: Remove mention of am33.
18985
18986 2014-02-07 Roland McGrath <roland@hack.frob.com>
18987
18988 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18989 than the comma operator, to avoid "rhs of comma has no effect"
18990 compiler warnings.
18991 (__sigfillset, __sigandset, __sigorset): Likewise.
18992 * include/signal.h (__sigemptyset): Likewise.
18993 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18994
18995 2014-02-07 Allan McRae <allan@archlinux.org>
18996
18997 * version.h (RELEASE): Set to "development".
18998 (VERSION): Set to "2.19.90"
18999 * NEWS: Add 2.20 section.
19000
19001 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19002
19003 [BZ #16529]
19004 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19005
19006 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19007
19008 * manual/contrib.texi: Update entry for Carlos O'Donell,
19009 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19010
19011 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19012
19013 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19014
19015 * sysdeps/unix/sysv/linux/kernel-features.h
19016 [__LINUX_KERNEL_VERSION >= 0x020621]
19017 (__ASSUME_PROC_PID_TASK_COMM): Define.
19018
19019 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19020
19021 [BZ #16398]
19022 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19023 conversion when destination buffer does not have enough space.
19024 * libio/tst-ftell-partial-wide.c: New test case.
19025 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19026
19027 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19028 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19029 Leonard and Allan McRae.
19030
19031 2014-02-04 David S. Miller <davem@davemloft.net>
19032
19033 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19034 32-bit.
19035
19036 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19037
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19039 New file
19040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19041 New file
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19043 New file.
19044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19045 New file.
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19047 New file.
19048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19049 New file.
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19051 New file.
19052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19053 New file.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19055 New file.
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19057 New file.
19058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19059 New file.
19060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19061 New file.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19063 New file.
19064
19065 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19066
19067 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19068 * shlib-versions: Likewise.
19069
19070 2014-02-04 Roland McGrath <roland@hack.frob.com>
19071 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19072
19073 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19074 (abilist-pattern): New variable, set to %-le.abilist.
19075
19076 * Makerules (abilist-pattern): New variable.
19077 (vpath): Use $(abilist-pattern) in place of %.abilist.
19078 (check-abi-% pattern rule): Likewise.
19079 (check-abi, update-abi): Likewise.
19080
19081 2014-02-04 Eric Wong <normalperson@yhbt.net>
19082
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19084
19085 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19086
19087 * manual/startup.texi: Add next, previous, and top entries for
19088 the `Program Arguments' and `Environment Variables' nodes.
19089
19090 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19091
19092 * manual/macros.texi: Add comments before MTASC-safety macros.
19093
19094 * manual/users.texi: Document MTASC-safety properties.
19095
19096 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19097 (pthread_getspecific, pthread_setspecific): Format with
19098 @deftypefun, and add @safety note.
19099 * manual/signal.texi: Move comments that analyze the above
19100 functions to their home place.
19101
19102 2014-02-03 Allan McRae <allan@archlinux.org>
19103
19104 * po/sl.po: Update Slovenian translation from translation project.
19105
19106 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19107
19108 * manual/time.texi (timegm): Add missing blank after @c.
19109 Reported by Joseph Myers <joseph@codesourcery.com>.
19110
19111 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19112
19113 * manual/check-safety.sh: New.
19114 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19115
19116 * manual/terminal.texi: Document MTASC-safety properties.
19117
19118 * manual/filesys.texi: Document MTASC-safety properties.
19119
19120 * manual/errno.texi: Document MTASC-safety properties.
19121
19122 * manual/intro.texi: Document safety identifiers and
19123 conditionals.
19124
19125 * manual/string.texi (wcstok): Fix prototype.
19126 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19127
19128 * manual/time.texi: Document MTASC-safety properties.
19129
19130 * manual/string.texi: Document MTASC-safety properties.
19131
19132 * manual/threads.texi: Document MTASC-safety properties.
19133
19134 * manual/stdio.texi: Document MTASC-safety properties.
19135
19136 * manual/syslog.texi: Document MTASC-safety properties.
19137
19138 * manual/sysinfo.texi: Document MTASC-safety properties.
19139
19140 * manual/startup.texi: Document MTASC-safety properties.
19141
19142 * manual/socket.texi: Document MTASC-safety properties.
19143
19144 * manual/signal.texi: Document MTASC-safety properties.
19145
19146 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19147
19148 * manual/setjmp.texi: Document MTASC-safety properties.
19149
19150 * manual/search.texi: Document MTASC-safety properties.
19151
19152 * manual/resource.texi: Document MTASC-safety properties.
19153
19154 * manual/process.texi: Document MTASC-safety properties.
19155
19156 * manual/platform.texi: Document MTASC-safety properties.
19157
19158 * manual/pipe.texi: Document MTASC-safety properties.
19159
19160 * manual/pattern.texi: Document MTASC-safety properties.
19161
19162 * manual/message.texi: Document MTASC-safety properties.
19163
19164 [BZ #12751]
19165 * manual/memory.texi: Document MTASC-safety properties.
19166
19167 * manual/math.texi: Document MTASC-safety properties.
19168
19169 * manual/locale.texi: Document MTASC-safety properties.
19170
19171 * manual/llio.texi: Document MTASC-safety properties.
19172
19173 * manual/libdl.texi: New.
19174
19175 * manual/lang.texi: Document MTASC-safety properties.
19176
19177 * manual/job.texi: Document MTASC-safety properties.
19178
19179 * manual/getopt.texi: Document MTASC-safety properties.
19180
19181 * manual/ctype.texi: Document MTASC-safety properties.
19182
19183 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19184
19185 [BZ #16046]
19186 * csu/libc-tls.c (static_map): Remove variable.
19187 (__libc_setup_tls): Use main executable's link map for TLS data.
19188 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19189 casing for LM_ID_BASE and GL(dl_nns).
19190 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19191 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19192 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19193 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19194 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19195 member.
19196 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19197 l_phnum members.
19198
19199 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19200
19201 * manual/debug.texi: Document MTASC-safety properties.
19202
19203 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19204
19205 [BZ #16510]
19206 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19207 of __x86_64__ when disabling x87 inline functions.
19208
19209 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19210
19211 * manual/charset.texi: Document MTASC-safety properties.
19212
19213 * manual/crypt.texi: Document MTASC-safety properties.
19214
19215 * manual/conf.texi: Document MTASC-safety properties.
19216
19217 * manual/arith.texi: Document MTASC-safety properties.
19218
19219 * manual/argp.texi: Document MTASC-safety properties.
19220
19221 * manual/macros.texi: Introduce macros to document multi
19222 thread, asynchronous signal and asynchronous cancellation
19223 safety properties.
19224 * manual/intro.texi: Introduce the properties themselves.
19225
19226 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19227
19228 * sysdeps/sh/sh4/Makefile: New file.
19229
19230 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19231
19232 * math/gen-libm-test.pl ($srcdir): New variable.
19233 ($auto_input): Use it.
19234
19235 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19236
19237 [BZ #16506]
19238 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19239 access beyond array bounds when parsing netgroups file.
19240
19241 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19242 the old buffer before realloc.
19243
19244 2014-01-27 Allan McRae <allan@archlinux.org>
19245
19246 * po/fr.po: Update French translation from translation project.
19247
19248 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19249
19250 * sysdeps/sh/libm-test-ulps: Regenerate.
19251
19252 2014-01-24 David S. Miller <davem@davemloft.net>
19253
19254 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19255
19256 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19257
19258 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19259 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19260
19261 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19262
19263 [BZ #16474]
19264 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19265 string pointers after reallocation.
19266
19267 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19268
19269 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19270 __SH4A__ instead of __SH_FPU_ANY__.
19271
19272 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19273
19274 * sysdeps/sh/fpu_control.h: New file.
19275 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19276 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19277 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19278 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19279 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19280 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19281 * sysdeps/sh/sys/ucontext.h: Remove.
19282 * sysdeps/sh/sys: Remove directory.
19283
19284 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19285
19286 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19287 s390/sys/ucontext.h.
19288 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19289 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19290
19291 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19292
19293 [BZ #15605]
19294 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19295
19296 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19297
19298 [BZ#16431]
19299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19300 Adjust the vDSO correctly for internal calls.
19301 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19302
19303 2014-01-20 Allan McRae <allan@archlinux.org>
19304
19305 * po/ca.po: Update Catalan translation from translation project.
19306
19307 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19308
19309 * sysdeps/s390/sotruss-lib.c: New file.
19310
19311 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19312
19313 [BZ#16430]
19314 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19315 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19316 local calls issues by not having a PLT stub required for IFUNC calls.
19317 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19318
19319 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19320
19321 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19322 * math/test-fpucw-static.c: Likewise.
19323
19324 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19325
19326 [BZ #16453]
19327 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19328
19329 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19330
19331 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19332 implementation for powerpc.
19333
19334 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19335
19336 [BZ #14782]
19337 * sysdeps/posix/system.c (__libc_system): Do not enable
19338 asynchronous cancellation.
19339
19340 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19341
19342 [BZ #16427]
19343 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19344 handling only for numbers special also in the IEEE case.
19345
19346 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19347
19348 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19349
19350 2014-01-11 Allan McRae <allan@archlinux.org>
19351
19352 * po/bg.po: Update Bulgarian translation from translation project.
19353
19354 * po/de.po: Update German translation from translation project.
19355
19356 2014-01-10 Roland McGrath <roland@hack.frob.com>
19357
19358 * sysdeps/generic/gcc-compat.h: New file.
19359
19360 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19361
19362 * benchtests/asin-inputs: Correct slow inputs.
19363 * benchtests/acos-inputs: Likewise.
19364
19365 2014-01-10 Allan McRae <allan@archlinux.org>
19366
19367 * po:sv.po: Update Swedish translation from translation project.
19368
19369 * po/vi.po: Update Vietnamese translation from translation project.
19370
19371 * po/eo.po: Update Esperanto translation from translation project.
19372
19373 * po/cs.po: Update Czech translation from translation project.
19374
19375 * po/nl.po: Update Dutch translation from translation project.
19376
19377 * po/pl.po: Update Polish translation from translation project.
19378
19379 * po/ru.po: Update Russian translation from translation project.
19380
19381 * po/uk.po: Update Ukrainian translation from translation project.
19382
19383 2014-01-08 Brooks Moses <bmoses@google.com>
19384
19385 * elf/dl-load.c: Fix comment typo.
19386
19387 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19388
19389 * po/header.pot: Rename to...
19390 * po/pot.header: ... this.
19391 * po/Makefile: Use pot.header.
19392
19393 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19394 Maxim Kuvyrkov <maxim@kugelworks.com>
19395
19396 [BZ #16394]
19397 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19398 SRC and DEST against LEN.
19399
19400 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19401
19402 [BZ #16414]
19403 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19404 implementation.
19405 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19406
19407 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19408
19409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19410
19411 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19412
19413 [BZ #16408]
19414 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19415 for large positive arguments.
19416
19417 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19418
19419 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19420
19421 * math/auto-libm-test-in: Mark various tests with
19422 xfail-rounding:ldbl-128ibm.
19423 * math/auto-libm-test-out: Regenerated.
19424
19425 [BZ #16407]
19426 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19427 Increase overflow threshold.
19428
19429 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19430
19431 [BZ #14286]
19432 * stdio-common/vfprintf.c: Check for integer overflow.
19433
19434 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19435
19436 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19437 the first argument and return value of __tls_get_addr_internal.
19438
19439 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19440
19441 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19442 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19443
19444 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19445
19446 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19447 * sysdeps/s390/rtld-global-offsets.sym: New file.
19448 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19449 GLIBC_2.19 symbol.
19450 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19451 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19452 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19453 ... this.
19454 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19455 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19456 ... this.
19457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19458 Regenerate.
19459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19460 Regenerate.
19461 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19462 halfs of GPRs for high_gprs contexts.
19463 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19464 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19465 field.
19466 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19467 uc_flags field.
19468 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19469 64 bit versions:
19470 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19471 for high GPRs (uc_high_gprs) and for future extensions
19472 (__reserved).
19473 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19474 for future extensions (__reserved).
19475 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19476 64 bit versions:
19477 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19478 SC_HIGHGPRS offset definition.
19479 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19480 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19481
19482 * Versions.def: Add GLIBC_2.19 for libpthread.
19483 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19484 siglongjmp for libpthread with GLIBC_2.19 symver.
19485 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19486 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19487 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19488 * sysdeps/s390/__longjmp.c: New file.
19489 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19490 * sysdeps/s390/longjmp.c: New file.
19491 * sysdeps/s390/setjmp.S: New file.
19492 * sysdeps/s390/sigjmp.S: New file.
19493 * sysdeps/s390/v1-longjmp.c: New file.
19494 * sysdeps/s390/v1-setjmp.h: New file.
19495 * sysdeps/s390/v1-sigjmp.c: New file.
19496 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19497 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19498 GLIBC_2.19 version.
19499 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19500 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19501 versioned symbols for ____longjmp_chk.
19502 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19503 Likewise.
19504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19505 Regenerate.
19506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19507 Regenerate.
19508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19509 Regenerate.
19510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19511 Regenerate.
19512 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19513 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19514 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19515 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19516 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19517 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19518 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19519 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19520 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19521 * sysdeps/s390/rtld-__longjmp.c: New file.
19522 * sysdeps/s390/rtld-setjmp.S: New file.
19523
19524 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19525
19526 [BZ #16400]
19527 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19528 Return -__logl (x) for small positive arguments without evaluating
19529 a polynomial.
19530
19531 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19532
19533 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19534 Rename to ...
19535 (__ptrace_peeksiginfo_args): ... this.
19536 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19537 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19538 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19539
19540 2014-01-06 Allan McRae <allan@archlinux.org>
19541
19542 * inet/netinet/in.h: Fix typo in comment.
19543
19544 2014-01-05 Andreas Jaeger <aj@suse.de>
19545
19546 * sysdeps/i386/fpu/libm-test-ulps: Update.
19547
19548 2014-01-05 Allan McRae <allan@archlinux.org>
19549
19550 * po/libc.pot: Regenerated.
19551
19552 * malloc/memusagestat.c: Fix gettext call formatting.
19553
19554 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19555
19556 * nscd/nscd.c: Improve usage() output.
19557
19558 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19559
19560 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19561 * sysdeps/unix/sysv/linux/configure: Regenerated.
19562 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19563 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19564
19565 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19566
19567 [BZ #16390]
19568 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19569 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19570
19571 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19572
19573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19574 extra tokens at end of #undef directive.
19575 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19576 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19577 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19578
19579 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19580
19581 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19582
19583 * math/auto-libm-test-in: Mark various tests with
19584 xfail-rounding:ldbl-128ibm.
19585 * math/auto-libm-test-out: Regenerated.
19586
19587 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19588
19589 [BZ #16386]
19590 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19591 numbers with subnormal high part when calculating exponent.
19592
19593 [BZ #16385]
19594 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19595 fabs.
19596
19597 [BZ #16384]
19598 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19599 M_LN2l.
19600 (__ieee754_acoshl): Use __log1pl not __log1p.
19601
19602 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19603
19604 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19605 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19606 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19607 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19608 (reused_arena, arena_get2): Convert to GNU style.
19609 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19610 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19611 (memalign_check, __malloc_set_state): Likewise.
19612 * malloc/mallocbug.c (main): Likewise.
19613 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19614 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19615 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19616 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19617 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19618 (__posix_memalign, malloc_info): Likewise.
19619 * malloc/malloc.h: Likewise.
19620 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19621 (mallochook, memalignhook, reallochook, mabort): Likewise.
19622 * malloc/mcheck.h: Likewise.
19623 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19624 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19625 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19626 * malloc/morecore.c (__default_morecore): Likewise.
19627 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19628 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19629 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19630 (print_and_abort): Likewise.
19631 * malloc/obstack.h: Likewise.
19632 * malloc/set-freeres.c (__libc_freeres): Likewise.
19633 * malloc/tst-mallocstate.c (main): Likewise.
19634 * malloc/tst-mtrace.c (main): Likewise.
19635 * malloc/tst-realloc.c (do_test): Likewise.
19636
19637 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19638
19639 [BZ #16366]
19640 * nscd/netgroupcache.c (do_notfound): New function.
19641 (addgetnetgrentX): Use it.
19642
19643 [BZ # 16365]
19644 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19645 NSS_STATUS_NOTFOUND.
19646
19647 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19648
19649 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19651
19652 2014-01-01 Allan McRae <allan@archlinux.org>
19653
19654 * scripts/update-copyrights: Update configure input file suffix.
19655
19656 * NEWS: Update copyright year.
19657 * catgets/gencat.c: Likewise.
19658 * csu/version.c: Likewise.
19659 * debug/catchsegv.sh: Likewise.
19660 * debug/pcprofiledump.c: Likewise.
19661 * debug/xtrace.sh: Likewise.
19662 * elf/ldconfig.c: Likewise.
19663 * elf/ldd.bash.in: Likewise.
19664 * elf/pldd.c: Likewise.
19665 * elf/sotruss.ksh: Likewise.
19666 * elf/sprof.c: Likewise.
19667 * iconv/iconv_prog.c: Likewise.
19668 * iconv/iconvconfig.c: Likewise.
19669 * locale/programs/locale.c: Likewise.
19670 * locale/programs/localedef.c: Likewise.
19671 * login/programs/pt_chown.c: Likewise.
19672 * malloc/memusage.sh: Likewise.
19673 * malloc/memusagestat.c: Likewise.
19674 * malloc/mtrace.pl: Likewise.
19675 * manual/libc.texinfo: Likewise.
19676 * nscd/nscd.c: Likewise.
19677 * nss/getent.c: Likewise.
19678 * nss/makedb.c: Likewise.
19679 * posix/getconf.c: Likewise.
19680 * scripts/test-installation.pl: Likewise.
19681
19682 * All files with FSF copyright notices: Update copyright dates
19683 using scripts/update-copyrights.
19684 * intl/plural.c: Regenerated.
19685 * locale/programs/charmap-kw.h: Likewise.
19686 * locale/programs/locfile-kw.h: Likewise.
19687
19688 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19689
19690 * sysdeps/unix/sysv/linux/configure: Regenerated.
19691 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19692 the linux/fanotify.h header.
19693 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19694 HAVE_LINUX_FANOTIFY_H is defined.
19695
19696 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19697
19698 * benchtests/cos-inputs: New inputs.
19699 * benchtests/sin-inputs: Likewise.
19700
19701 * benchtests/atan-inputs: New inputs. Fix name of multiple
19702 precision fallback inputs.
19703
19704 * benchtests/atanh-inputs: New inputs.
19705 * benchtests/tanh-inputs: Likewise.
19706
19707 * benchtests/acosh-inputs: New inputs.
19708 * benchtests/asinh-inputs: Likewise.
19709
19710 * benchtests/cosh-inputs: New inputs.
19711 * benchtests/sinh-inputs: Likewise.
19712
19713 * benchtests/acos-inputs: Add more inputs.
19714 * benchtests/asin-inputs: Likewise.
19715
19716 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19717
19718 [BZ #16375]
19719 * manual/arith.texi: Fix spelling.
19720 * manual/charset.texi: Likewise.
19721 * manual/errno.texi: Likewise.
19722 * manual/filesys.texi: Likewise.
19723 * manual/lang.texi: Likewise.
19724 * manual/llio.texi: Likewise.
19725 * manual/locale.texi: Likewise.
19726 * manual/message.texi: Likewise.
19727 * manual/resource.texi: Likewise.
19728 * manual/search.texi: Likewise.
19729 * manual/setjmp.texi: Likewise.
19730 * manual/stdio.texi: Likewise.
19731 * manual/string.texi: Likewise.
19732 * manual/sysinfo.texi: Likewise.
19733 * manual/time.texi: Likewise.
19734
19735 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19736
19737 * po/sl.po: New file.
19738
19739 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19740
19741 * .gitignore: Add core/.gdbinit/.gdb_history.
19742
19743 2013-12-27 Allan McRae <allan@archlinux.org>
19744
19745 [BZ #16369]
19746 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19747 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19748
19749 2013-12-24 Brooks Moses <bmoses@google.com>
19750
19751 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19752 all compilers that claim C++98 compliance, not just GCC.
19753 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19754 Likewise.
19755
19756 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19757
19758 * NEWS: Restore accidentally deleted bug-fix entries.
19759
19760 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19761 Ondřej Bílka <neleai@seznam.cz>
19762
19763 [BZ #15073]
19764 * malloc/malloc.c (_int_free): Perform sanity check only if we
19765 have_lock.
19766
19767 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19768
19769 [BZ #12986]
19770 * manual/stdio.texi (String Input Conversions): Clarify that character
19771 classes are not supported.
19772
19773 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19774
19775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19776
19777 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19778
19779 [BZ #16337]
19780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19781 Calculate results for small negative arguments directly rather
19782 than using reflection formula with special underflow handling.
19783
19784 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19785 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19786 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19787 (fchflags): Likewise.
19788 (revoke): Likewise.
19789 (setlogin): Likewise.
19790 (sigaltstack): Likewise.
19791 (wait4): Likewise.
19792 (sigblock): Remove.
19793 (sigsetmask): Likewise.
19794 (wait3): Likewise.
19795 (waitpid): Likewise.
19796 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19797 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19798 file.
19799 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19800 * sysdeps/unix/bsd/Makefile: ... here.
19801 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19802 * sysdeps/unix/bsd/Versions: ... here.
19803 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19804 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19805 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19806 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19807 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19808 * sysdeps/unix/bsd/sigblock.c: ... here.
19809 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19810 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19811 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19812 * sysdeps/unix/bsd/sigvec.c: ... here.
19813 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19814 * sysdeps/unix/bsd/tcdrain.c: ... here.
19815 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19816 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19817 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19818 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19819 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19820 * sysdeps/unix/bsd/wait.c: ... here.
19821 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19822 * sysdeps/unix/bsd/wait3.c: ... here.
19823 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19824 * sysdeps/unix/bsd/waitpid.c: ... here.
19825
19826 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19827
19828 [BZ #16356]
19829 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19830 round-to-nearest for [!USE_AS_EXPM1L].
19831 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19832 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19833 more tests of exp and exp10. Expect some exp10 tests to miss
19834 exceptions or fail in directed rounding modes.
19835 * math/auto-libm-test-out: Regenerated.
19836 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19837 (exp10_test_tonearest): New function.
19838 (exp10_towardzero_test_data): New array.
19839 (exp10_test_towardzero): New function.
19840 (exp10_downward_test_data): New array.
19841 (exp10_test_downward): New function.
19842 (exp10_upward_test_data): New array.
19843 (exp10_test_upward): New function.
19844 (main): Call the new functions.
19845 * sysdeps/i386/fpu/libm-test-ulps: Update.
19846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19847
19848 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19849
19850 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19851 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19852 * math/auto-libm-test-out: Regenerated.
19853 * math/libm-test.inc (acosh_test_data): Add more tests.
19854 (atanh_test_data): Likewise.
19855 (ceil_test_data): Likewise.
19856 (copysign_test_data): Likewise.
19857 * sysdeps/i386/fpu/libm-test-ulps: Update.
19858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19859
19860 * timezone/checktab.awk: Update from tzcode 2013i.
19861 * timezone/private.h: Likewise.
19862 * timezone/scheck.c: Likewise.
19863 * timezone/tzfile.h: Likewise.
19864 * timezone/tzselect.ksh: Likewise.
19865 * timezone/zdump.c: Likewise.
19866 * timezone/zic.c: Likewise.
19867
19868 * math/auto-libm-test-in: Add tests of cpow.
19869 * math/auto-libm-test-out: Regenerated.
19870 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19871 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19872 mpc_cc_c.
19873 (func_calc_desc): Add mpc_cc_c union field.
19874 (test_functions): Add cpow.
19875 (special_fill_2pi): New function.
19876 (special_real_inputs): Add 2pi.
19877 (calc_generic_results): Handle mpc_cc_c.
19878 * sysdeps/i386/fpu/libm-test-ulps: Update.
19879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19880
19881 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19882 csqrt, ctan and ctanh.
19883 * math/auto-libm-test-out: Regenerated.
19884 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19885 (TEST_COND_x86): Likewise.
19886 (ccos_test_data): Use AUTO_TESTS_c_c.
19887 (ccosh_test_data): Likewise.
19888 (cexp_test_data): Likewise.
19889 (clog_test_data): Likewise.
19890 (csqrt_test_data): Likewise.
19891 (ctan_test_data): Likewise.
19892 (ctan_tonearest_test_data): Likewise.
19893 (ctan_towardzero_test_data): Likewise.
19894 (ctan_downward_test_data): Likewise.
19895 (ctan_upward_test_data): Likewise.
19896 (ctanh_test_data): Likewise.
19897 (ctanh_tonearest_test_data): Likewise.
19898 (ctanh_towardzero_test_data): Likewise.
19899 (ctanh_downward_test_data): Likewise.
19900 (ctanh_upward_test_data): Likewise.
19901 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19902 mpc_c_c.
19903 (func_calc_desc): Add mpc_c_c union field.
19904 (FUNC_mpc_c_c): New macro.
19905 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19906 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19907 ctanh.
19908 (special_fill_min_subnorm_p120): New function.
19909 (special_real_inputs): Add min_subnorm_p120.
19910 (calc_generic_results): Handle mpc_c_c.
19911 * sysdeps/i386/fpu/libm-test-ulps: Update.
19912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19913
19914 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19915
19916 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19917 (do_sin_slow): New functions.
19918 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19919 (cslow2, csloww1, csloww2): Use the new functions.
19920
19921 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19922 Use M to change sign of result instead of X. Assume X is
19923 positive.
19924 (csloww1): Likewise.
19925 (__sin): Adjust.
19926 (__cos): Adjust.
19927
19928 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19929 arguments A and DA.
19930 (__sin): Adjust.
19931 (__cos): Likewise.
19932
19933 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19934 (__cos): Likewise.
19935 (sloww1): Don't adjust sign of DX.
19936 (csloww1): Likewise.
19937 (sloww2): Use X directly and don't adjust sign of DX.
19938 (csloww2): Likewise.
19939
19940 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19941
19942 * math/auto-libm-test-in: Add tests of cabs and carg.
19943 * math/auto-libm-test-out: Regenerated.
19944 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19945 (carg_test_data): Likewise.
19946 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19947 mpc_c_f.
19948 (func_calc_desc): Add mpc_c_f union field.
19949 (test_functions): Add cabs and carg.
19950 (calc_generic_results): Handle mpc_c_f.
19951
19952 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19953 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19954 as a macro and a compat symbol.
19955 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19956 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19957 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19958 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19959 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19960 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19961 not use .hidden.
19962 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19963 Likewise.
19964 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19965 Likewise.
19966 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19967 Likewise.
19968 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19969 Likewise.
19970 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19971 Likewise.
19972 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19973 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19974 from GLIBC_2.3.2.
19975
19976 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19977
19978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19979
19980 2013-12-19 Joseph Myers <joseph@codesourcery.com>
19981
19982 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19983 trailing whitespace removed.
19984 * scripts/config.guess: Update to version 2013-11-29.
19985 * scripts/config.sub: Update to version 2013-10-01.
19986
19987 * math/auto-libm-test-in: Add tests of sincos.
19988 * math/auto-libm-test-out: Regenerated.
19989 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19990 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19991 mpfr_f_11.
19992 (func_calc_desc): Add mpfr_f_11 union field.
19993 (test_functions): Add sincos.
19994 (calc_generic_results): Handle mpfr_f_11.
19995 * sysdeps/i386/fpu/libm-test-ulps: Update.
19996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19997
19998 2013-12-19 Andreas Schwab <schwab@suse.de>
19999
20000 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20001 CALL_MCOUNT.
20002 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20003 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20004 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20005
20006 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20007
20008 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20009 * sysdeps/i386/fpu/libm-test-ulps: Update.
20010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20011
20012 [BZ #16293]
20013 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20014 round-to-nearest mode when using frndint.
20015 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20016 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20017 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20018 Likewise.
20019 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20020 sinh test to fail.
20021 * math/auto-libm-test-out: Regenerated.
20022 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20023 (TEST_COND_x86): Likewise.
20024 (expm1_tonearest_test_data): New array.
20025 (expm1_test_tonearest): New function.
20026 (expm1_towardzero_test_data): New array.
20027 (expm1_test_towardzero): New function.
20028 (expm1_downward_test_data): New array.
20029 (expm1_test_downward): New function.
20030 (expm1_upward_test_data): New array.
20031 (expm1_test_upward): New function.
20032 (main): Run the new test functions.
20033 * sysdeps/i386/fpu/libm-test-ulps: Update.
20034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20035
20036 * include/features.h: Update comment documenting feature test
20037 macros. Mention _DEFAULT_SOURCE in comment.
20038 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20039 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20040 _BSD_SOURCE and _SVID_SOURCE.
20041 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20042 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20043 !_SVID_SOURCE]: Likewise.
20044 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20045 (__USE_POSIX_IMPLICITLY): Define.
20046 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20047 (_POSIX_SOURCE): Undefine and redefine.
20048 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20049 (_POSIX_C_SOURCE): Likewise.
20050 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20051 (Feature Test Macros): Update documentation of default features.
20052
20053 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20054
20055 * benchtests/Makefile: Add bench-strtok.
20056 * benchtests/bench-strtok.c: New file: strtok benchtest.
20057
20058 2013-12-19 Allan McRae <allan@archlinux.org>
20059
20060 * manual/install.texi: Suppress menu for plain text output.
20061 * INSTALL: Regenerated.
20062
20063 2013-12-18 Brooks Moses <bmoses@google.com>
20064
20065 [BZ #15846]
20066 * misc/getauxval.c: Include errno.h.
20067 (__getauxval): Set errno to ENOENT if the requested type is not
20068 found.
20069 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20070 don't declare with __attribute_const__.
20071 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20072 * manual/startup.texi: Document that getauxval sets errno.
20073
20074 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20075
20076 * math/auto-libm-test-in: Add tests of jn and yn.
20077 * math/auto-libm-test-out: Regenerated.
20078 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20079 (yn_test_data): Likewise.
20080 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20081 mpfr_if_f.
20082 (func_calc_desc): Add mpfr_if_f union field.
20083 (FUNC_mpfr_if_f): New macro.
20084 (test_functions): Add jn and yn.
20085 (calc_generic_results): Assert type of second input for
20086 mpfr_ff_f. Handle mpfr_if_f.
20087 (output_for_one_input_case): Disable all checking for arguments
20088 fitting floating-point types in case of an integer argument.
20089 * sysdeps/i386/fpu/libm-test-ulps: Update.
20090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20091
20092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20093 Don't expect fegetround reference in libm.so.
20094
20095 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20096
20097 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20098 $(config-cflags-nofma).
20099
20100 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20101
20102 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20103 * math/auto-libm-test-out: Regenerated.
20104
20105 [BZ #16338]
20106 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20107 to determine exponent and adjust argument to have exponent of -1.
20108 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20109 log2.
20110 * math/auto-libm-test-out: Regenerated.
20111 * sysdeps/i386/fpu/libm-test-ulps: Update.
20112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20113
20114 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20115
20116 * manual/probes.texi: Remove cases when per-thread arenas are
20117 disabled.
20118
20119 2013-12-18 Andreas Schwab <schwab@suse.de>
20120
20121 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20122 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20123 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20124 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20125 * sysdeps/i386/i686/multiarch/Makefile: Update.
20126 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20127
20128 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20129
20130 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20131 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20132
20133 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20134
20135 [BZ #15968]
20136 Support TZ transition times < 00:00:00.
20137 This is needed for version-3 tz-format files; it supports time
20138 stamps past 2037 for America/Godthab (the only entry in the tz
20139 database for which this change is relevant).
20140 * manual/time.texi (TZ Variable): Document transition times
20141 from -167:59:59 through -00:00:01.
20142 * time/tzset.c (tz_rule): Time of day is now signed.
20143 (__tzset_parse_tz): Parse negative time of day.
20144
20145 Document TZ transition times >= 25:00:00.
20146 * manual/time.texi (TZ Variable): Document transition times from
20147 25:00:00 through 167:59:59. These are already supported, and this
20148 support will help with version-3 tz-format files.
20149
20150 * manual/time.texi (TZ Variable): Modernize North America example
20151 to reflect current (i.e., 2007-and-later) daylight saving rules.
20152
20153 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20154
20155 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20156
20157 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20158 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20159 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20160 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20161 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20162 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20163 * sysdeps/unix/bsd/clock.c: Likewise.
20164 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20165 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20166 * sysdeps/unix/bsd/init-posix.c: Likewise.
20167 * sysdeps/unix/bsd/poll.c: Likewise.
20168 * sysdeps/unix/bsd/ptsname.c: Likewise.
20169 * sysdeps/unix/bsd/seekdir.c: Likewise.
20170 * sysdeps/unix/bsd/setegid.c: Likewise.
20171 * sysdeps/unix/bsd/seteuid.c: Likewise.
20172 * sysdeps/unix/bsd/setgid.c: Likewise.
20173 * sysdeps/unix/bsd/setrgid.c: Likewise.
20174 * sysdeps/unix/bsd/setruid.c: Likewise.
20175 * sysdeps/unix/bsd/setsid.c: Likewise.
20176 * sysdeps/unix/bsd/setuid.c: Likewise.
20177 * sysdeps/unix/bsd/sigaction.c: Likewise.
20178 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20179 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20180 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20181 * sysdeps/unix/bsd/telldir.c: Likewise.
20182 * sysdeps/unix/bsd/times.c: Likewise.
20183 * sysdeps/unix/bsd/usleep.c: Likewise.
20184
20185 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20186 ($(objpfx)libbsd-compat.a): Remove rule.
20187
20188 * include/features.h (__FAVOR_BSD): Do not define.
20189 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20190 features conflicting with POSIX.
20191 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20192 (_BSD_SOURCE): Remove description of not being a subset of other
20193 feature test macros.
20194 * manual/job.texi (getpgrp): Do not document BSD version.
20195 (getpgid): Do not document by reference to BSD getpgrp.
20196 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20197 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20198 * signal/signal.h [__FAVOR_BSD]: Likewise.
20199 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20200 instead of making contents conditional on [__FAVOR_BSD].
20201 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20202
20203 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20204
20205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20206
20207 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20208
20209 [BZ #16314]
20210 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20211 values below 2**-450, not 2**-500.
20212 * math/auto-libm-test-in: Don't allow spurious underflow from
20213 hypot.
20214 * math/auto-libm-test-out: Regenerated.
20215
20216 [BZ #16316]
20217 [BZ #16330]
20218 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20219 values of ha and hb and sort them after adjusting subnormal
20220 arguments.
20221 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20222 Likewise.
20223 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20224 values of ea and eb and sort them after adjusting subnormal
20225 arguments.
20226 * math/auto-libm-test-in: Do not expect some hypot tests of
20227 subnormals to fail. Add more hypot tests.
20228 * math/auto-libm-test-out: Regenerated.
20229
20230 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20231
20232 [BZ #13304]
20233 * sysdeps/sh/s_fma.c: New file.
20234 * sysdeps/sh/s_fmaf.c: New file.
20235 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20236 version.
20237 * sysdeps/sh/Implies: Add sh/soft-fp.
20238
20239 2013-12-16 Roland McGrath <roland@hack.frob.com>
20240
20241 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20242 level of indirection to members `objname', `errstring', `malloced'.
20243 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20244 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20245 it as the __longjmp argument (just pass 1 instead).
20246 (_dl_catch_error): Initialize C with argument pointers and address of
20247 volatile local ERRCODE rather than copying values out of C at return.
20248
20249 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20250
20251 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20252 * math/auto-libm-test-out: Regenerated.
20253 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20254 (hypot_test_data): Likewise.
20255 (pow_test_data): Likewise.
20256 (pow_tonearest_test_data): Likewise.
20257 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20258 mpfr_ff_f.
20259 (func_calc_desc): Add mpfr_ff_f union field.
20260 (FUNC_mpfr_ff_f): New macro.
20261 (test_functions): Add atan2, hypot and pow.
20262 (special_fill_min): New function.
20263 (special_fill_minus_min): Likewise.
20264 (special_fill_min_subnorm): Likewise.
20265 (special_fill_minus_min_subnorm): Likewise.
20266 (special_real_inputs): Add min, -min, min_subnorm and
20267 -min_subnorm.
20268 (calc_generic_results): Handle mpfr_ff_f.
20269 * sysdeps/i386/fpu/libm-test-ulps: Update.
20270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20271
20272 2013-12-16 Will Newton <will.newton@linaro.org>
20273
20274 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20275 (Aligned Memory Blocks): Add documentation for aligned_alloc
20276 and suggest it as an alternative to posix_memalign.
20277 (Hooks for Malloc): Document __memalign_hook is also called
20278 for aligned_alloc. (Summary of Malloc): Add summary for
20279 aligned alloc. Document __memalign_hook is also called
20280 for aligned_alloc.
20281
20282 2013-12-16 Will Newton <will.newton@linaro.org>
20283
20284 * manual/memory.texi (Malloc Examples): Clarify default
20285 alignment documentation. Suggest posix_memalign rather
20286 than memalign or valloc.
20287 (Aligned Memory Blocks): Remove suggestion to use memalign
20288 or valloc. Remove obsolete comment about BSD.
20289 Document memalign errno values and mark the function obsolete.
20290 Document posix_memalign returned error codes. Mark valloc
20291 as obsolete. (Hooks for Malloc): __memalign_hook is also
20292 called for posix_memalign and valloc.
20293 (Summary of Malloc): Add posix_memalign to function summary.
20294 __memalign_hook is also called for posix_memalign and valloc.
20295
20296 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20297
20298 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20299 TAYLOR_SIN.
20300 (__sin): Adjust.
20301 (__cos): Likewise.
20302 (sloww): Use mynumber union. Expand ternary operator into
20303 if-else statements.
20304 (cslow): use mynumber union.
20305
20306 2013-12-16 Allan McRae <allan@archlinux.org>
20307
20308 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20309 * configure: Regenerated.
20310
20311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20312
20313 [BZ #14120]
20314 * configure.ac: Added --enable-maintainer-mode. Check for
20315 autoconf when enabled.
20316 * configure: Regenerated.
20317
20318 * nscd/nscd.service: New file.
20319 * nscd/nscd.tmpfiles: New file.
20320
20321 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20322
20323 [BZ #12100]
20324 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20325 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20326 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20327 (strstr): Add __strstr_sse2_unaligned ifunc.
20328 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20329 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20330 (strcasestr): Remove __strcasestr_sse42 ifunc.
20331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20333 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20334
20335 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20336
20337 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20338 * sysdeps/sh/bits/fenv.h: ... here.
20339 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20340
20341 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20342
20343 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20344
20345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20346 hypotf multiarch implementations.
20347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20348 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20350 multiarch hypot for PPC64.
20351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20352 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20353 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20354 multiarch hypotf for PPC64.
20355
20356 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20357 modff multiarch implementations.
20358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20361 multiarch modf for PPC64.
20362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20365 multiarch modff for PPC64.
20366
20367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20368 and logl multiarch implementations.
20369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20372 multiarch logb for PPC64.
20373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20376 multiarch logb for PPC64.
20377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20380 multiarch logb for PPC64.
20381
20382 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20383 isinff multiarch implementation.
20384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20385 file.
20386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20388 multiarch isinf for PPC64.
20389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20390 file.
20391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20392 multiarch isinff for PPC64.
20393
20394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20395 finitef multiarch implementation.
20396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20397 file.
20398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20400 multiarch finite for PPC64.
20401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20402 file.
20403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20404 multiarch finitef for PPC64.
20405
20406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20407 lrint multiarch implementation.
20408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20409 file.
20410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20412 multiarch llrint for PPC64.
20413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20414 multiarch lrint for PPC64.
20415
20416 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20417 copysignf multiarch implementation.
20418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20419 file.
20420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20421 file.
20422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20423 multiarch copysign for PPC64.
20424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20425 multiarch copysignf for PPC64.
20426
20427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20428 multiarch implementation.
20429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20430 file.
20431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20432 file.
20433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20434 file.
20435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20436 file.
20437 multiarch llround for PPC64.
20438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20439 multiarch trunc for PPC64.
20440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20441 multiarch truncf for PPC64.
20442
20443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20444 multiarch implementation.
20445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20446 file.
20447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20448 file.
20449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20450 file.
20451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20452 file.
20453 multiarch llround for PPC64.
20454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20455 multiarch round for PPC64.
20456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20457 multiarch roundf for PPC64.
20458
20459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20460 multiarch implementation.
20461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20462 file.
20463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20464 file.
20465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20466 file.
20467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20468 file.
20469 multiarch llround for PPC64.
20470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20471 multiarch floor for PPC64.
20472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20473 multiarch floorf for PPC64.
20474
20475 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20476 multiarch implementation.
20477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20478 file.
20479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20480 file.
20481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20482 file.
20483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20484 file.
20485 multiarch llround for PPC64.
20486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20487 multiarch ceil for PPC64.
20488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20489 multiarch ceilf for PPC64.
20490
20491 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20492 multiarch implementation.
20493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20494 file.
20495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20496 file.
20497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20498 file.
20499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20500 multiarch llround for PPC64.
20501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20502 multiarch lround for PPC64.
20503
20504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20505 multiarch implementation.
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20509 file.
20510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20513 multiarch isnan for PPC64.
20514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20515 multiarch isnanf for PPC64.
20516
20517 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20518 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20519 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20520 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20521 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20523
20524 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20525 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20528
20529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20530 multiarch implementations.
20531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20532 (__libc_ifunc_impl_list): Likewise.
20533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20534 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20535 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20536 multiarch stpcpy for PPC64.
20537
20538 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20539 multiarch implementations.
20540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20541 (__libc_ifunc_impl_list): Likewise.
20542 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20543 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20544 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20545 multiarch strcpy for PPC64.
20546
20547 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20548 redefine function name.
20549 (_wordcopy_fwd_dest_aligned): Likewise.
20550 (_wordcopy_bwd_aligned): Likewise.
20551 (_wordcopy_bwd_dest_aligned): Likewise.
20552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20553 multiarch implementations.
20554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20555 (__libc_ifunc_impl_list): Likewise.
20556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20558 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20559 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20560 multiarch wcscpy for PPC64.
20561
20562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20563 multiarch implementations.
20564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20565 (__libc_ifunc_impl_list): Likewise.
20566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20568 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20569 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20570 multiarch wcscpy for PPC64.
20571
20572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20573 multiarch implementations.
20574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20575 (__libc_ifunc_impl_list): Likewise.
20576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20578 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20579 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20580 multiarch wcsrchr for PPC64.
20581
20582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20583 multiarch implementations.
20584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20585 (__libc_ifunc_impl_list): Likewise.
20586 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20587 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20588 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20589 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20590 multiarch wcschr for PPC64.
20591
20592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20593 multiarch implementations.
20594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20595 (__libc_ifunc_impl_list): Likewise.
20596 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20597 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20598 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20599 multiarch strchrnul for PPC64.
20600
20601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20602 implementations.
20603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20604 (__libc_ifunc_impl_list): Likewise.
20605 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20606 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20607 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20608 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20609 strchr for PPC64.
20610
20611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20612 implementations.
20613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20614 (__libc_ifunc_impl_list): Likewise.
20615 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20616 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20617 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20618 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20619 strncmp for PPC64.
20620
20621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20622 multiarch implementations.
20623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20624 (__libc_ifunc_impl_list): Likewise.
20625 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20626 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20627 strncasecmp for PPC64.
20628 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20629 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20630 multiarch strncasecmp_l for PPC64.
20631
20632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20633 multiarch implementations.
20634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20635 (__libc_ifunc_impl_list): Likewise.
20636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20637 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20638 multiarch strcasecmp for PPC64.
20639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20640 file.
20641 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20642 multiarch strcasecmp_l for PPC64.
20643
20644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20645 implementations.
20646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20647 (__libc_ifunc_impl_list): Likewise.
20648 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20649 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20650 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20651 strnlen for PPC64.
20652
20653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20654 implementations.
20655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20656 (__libc_ifunc_impl_list): Likewise.
20657 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20658 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20659 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20660 strlen for PPC64.
20661
20662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20663 implementations.
20664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20665 (__libc_ifunc_impl_list): Likewise.
20666 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20667 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20668 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20669 rawmemrchr for PPC64.
20670
20671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20672 implementation.
20673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20674 (__libc_ifunc_impl_list): Likewise.
20675 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20676 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20677 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20678 memrchr for PPC64.
20679
20680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20681 implementation.
20682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20683 (__libc_ifunc_impl_list): Likewise.
20684 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20685 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20686 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20687 memchr for PPC64.
20688
20689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20690 implementation.
20691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20692 (__libc_ifunc_impl_list): Likewise.
20693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20694 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20695 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20696 mempcpy for PPC64.
20697
20698 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20699 avoid cretion of __bzero symbol.
20700 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20701 Likewise.
20702 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20703 Likewise.
20704 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20705 Likewise.
20706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20707 multiarch implementations.
20708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20709 (__libc_ifunc_impl_list): Likewise.
20710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20711 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20712 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20713 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20714 bzero for PPC32.
20715 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20716 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20717 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20718 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20719 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20720 memset for PPC64.
20721 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20722
20723 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20725 implementations.
20726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20727 (__libc_ifunc_impl_list): Likewise.
20728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20729 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20730 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20731 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20732 memcmp for PPC64.
20733
20734 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20735 multiarch for POWER/PPC64.
20736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20737 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20742 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20743 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20744 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20745 memcpy for PPC64.
20746
20747 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20748 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20749 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20750 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20751 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20752 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20753 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20754 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20755 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20756 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20757 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20758 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20759 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20760 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20761 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20769
20770 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20771
20772 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20773
20774 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20775
20776 * benchtests/Makefile (bench): Add exp2 and log2.
20777 (LDLIBS-bench-exp2): Add -lm.
20778 (LDLIBS-bench-log2): Likewise.
20779 * benchtests/exp2-inputs: New inputs file.
20780 * benchtests/log2-inputs: New inputs file.
20781 * benchtests/log-inputs: Add new inputs.
20782 * benchtests/tan-inputs: Likewise.
20783
20784 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20785
20786 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20787 definition...
20788 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20789 (csloww2): ... from here.
20790
20791 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20792 instead of structures.
20793 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20794 (POLYNOMIAL): Likewise.
20795 (TAYLOR_SLOW): Likewise.
20796 (__sin): Likewise.
20797 (__cos): Likewise.
20798 (slow1): Likewise.
20799 (slow2): Likewise.
20800 (sloww): Likewise.
20801 (sloww1); Likewise.
20802 (sloww2): Likewise.
20803 (bsloww1): Likewise.
20804 (bsloww2): Likewise.
20805 (cslow2): Likewise.
20806 (csloww): Likewise.
20807 (csloww1): Likewise.
20808 (csloww2): Likewise.
20809
20810 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20811
20812 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20813 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20814 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20815 * malloc/hooks.c (realloc_check): Likewise.
20816
20817 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20818 * malloc/arena.c: Remove PER_THREAD conditional.
20819 [!PER_THREAD]: Remove code.
20820 (ptmalloc_unlock_all2): Likewise.
20821 (ptmalloc_init): Likewise.
20822 (_int_new_arena): Likewise.
20823 (arena_get2): Likewise.
20824 * malloc/hooks.c (__malloc_get_state): Likewise.
20825 (__malloc_set_state): Likewise.
20826 * malloc/malloc.c: Likewise.
20827 (struct malloc_state): Likewise.
20828 (struct malloc_par): Likewise.
20829 (__libc_realloc): Likewise.
20830 (__libc_mallopt): Likewise.
20831
20832 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20833
20834 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20835
20836 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20837
20838 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20839 macro to a function. Check for zero perturb_byte.
20840 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20841
20842 * malloc/malloc.c: (force_reg): Remove.
20843 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20844 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20845 force_reg by atomic_forced_read.
20846 * malloc/arena.c (ptmalloc_init): Likewise.
20847 * malloc/hooks.c (top_check): Likewise.
20848
20849 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20850
20851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20852
20853 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20854
20855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20856
20857 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20858
20859 * math/auto-libm-test-in: Add tests of lgamma.
20860 * math/auto-libm-test-out: Regenerated.
20861 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20862 (M_LOG_2_SQRT_PIl): Likewise.
20863 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20864 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20865 mpfr_f_f1.
20866 (func_calc_desc): Add mpfr_f_f1 union field.
20867 (ARGS1): New macro.
20868 (ARGS2): Likewise.
20869 (ARGS3): Likewise.
20870 (ARGS4): Likewise.
20871 (RET1): Likewise.
20872 (RET2): Likewise.
20873 (CALC): Likewise.
20874 (FUNC): Likewise.
20875 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20876 (test_functions): Add lgamma.
20877 (calc_generic_results): Handle mpfr_f_f1.
20878 * sysdeps/i386/fpu/libm-test-ulps: Update.
20879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20880
20881 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20882
20883 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20884 __mpn_add_n for PowerPC64/POWER7.
20885 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20886 __mpn_sub_n for PowerPC64/POWER7.
20887
20888 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20889 __mpn_addmul_1 for PowerPC64.
20890 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20891 __mpn_submul_1 for PowerPC64.
20892 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20893 for PowerPC64.
20894 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20895 for PowerPC64.
20896
20897 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20898
20899 [BZ #15089]
20900 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20901
20902 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20903
20904 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20905
20906 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20907 add multiarch folders.
20908 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20909 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20910 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20911 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20912 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20913 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20914 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20915 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20916 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20917 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20918 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20925
20926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20927 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20929 New file.
20930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20931 New file.
20932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20933 multiarch __ieee754_hypot for PowerPC32.
20934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20935 New file.
20936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20937 New file.
20938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20939 multiarch __ieee754_hypotf for PowerPC32.
20940
20941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20942 long_double_symbol only if __logbl is defined.
20943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20944 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20946 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20947 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20948 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20950 path for implementation.
20951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20952 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20954 logb, and logbl multiarch implementations for PowerPC32.
20955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20956 file.
20957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20958 file.
20959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20960 multiarch logb for PowerPC32.
20961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20962 file.
20963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20964 file.
20965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20966 multiarch logbf for PowerPC32.
20967 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20969 file.
20970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20971 multiarch logbl implementation for PowerPC32.
20972
20973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20974 and modff multiarch implementations.
20975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20976 New file.
20977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20978 New file.
20979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20980 multiarch modf for PowerPC32.
20981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20982 New file.
20983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20984 New file.
20985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20986 multiarch modff for PowerPC32.
20987
20988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20989 and lrintf multiarch implementations.
20990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20991 New file.
20992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20993 New file.
20994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20995 multiarch lrint for PowerPC32.
20996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20997 file: multiarch lrintf for PowerPC32.
20998
20999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21000 and lroundf multiarch implementations.
21001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21002 New file.
21003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21004 New file.
21005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21006 New file.
21007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21008 multiarch lround for PowerPC32.
21009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21010 file: multiarch lroundf for PowerPC32.
21011
21012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21013 copysign and copysignf multiarch implementations.
21014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21015 New file.
21016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21017 New file.
21018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21019 file: multiarch copysign for PowerPC32.
21020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21021 file: multiarch copysignf for PowerPC32.
21022
21023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21024 and truncf multiarch implementations.
21025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21026 New file.
21027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21028 file.
21029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21030 multiarch trunc for PowerPC32.
21031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21032 New file.
21033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21034 New file.
21035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21036 multiarch truncf for PowerPC32.
21037
21038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21039 and roundf multiarch implementations.
21040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21041 New file.
21042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21043 file.
21044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21045 multiarch round for PowerPC32.
21046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21047 New file.
21048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21049 New file.
21050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21051 multiarch roundf for PowerPC32.
21052
21053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21054 and floorf multiarch implementations.
21055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21056 New file.
21057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21058 file.
21059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21060 multiarch floor for PowerPC32.
21061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21062 New file.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21064 New file.
21065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21066 multiarch floorf for PowerPC32.
21067
21068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21069 and ceilf multiarch implementations.
21070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21071 New file.
21072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21073 file.
21074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21075 multiarch ceil for PowerPC32.
21076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21077 New file.
21078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21079 file.
21080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21081 multiarch ceilf for PowerPC32.
21082
21083 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21084 is defined.
21085 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21086 FINITEF is defined.
21087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21088 and finitef multiarch implementations.
21089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21090 New file.
21091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21092 file.
21093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21094 multiarch finite for PowerPC32.
21095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21096 New file.
21097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21098 file: multiarch finitef for PowerPC32.
21099
21100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21101 and isinff multiarch implementations.
21102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21103 file.
21104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21105 file.
21106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21107 multiarch isinf for PowerPC32.
21108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21109 New file.
21110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21111 multiarch isinff for PowerPC32.
21112
21113 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21114 alias when __isnan is defined.
21115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21116 and isnanf multiarch implementations.
21117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21118 file.
21119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21120 file.
21121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21122 file.
21123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21124 file.
21125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21126 multiarch isnan for PowerPC32.
21127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21128 New file.
21129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21130 New file.
21131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21132 multiarch isnanf for PowerPC32.
21133
21134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21135 and sqrtf multiarch implementations.
21136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21137 file.
21138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21139 file.
21140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21141 multiarch sqrt for PowerPC32.
21142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21143 file.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21145 file.
21146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21147 multiarch sqrtf for PowerPC32.
21148
21149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21150 and llroundf multiarch implementations.
21151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21152 New file.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21154 New file.
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21156 New file.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21158 file: multiarch llround for PowerPC32.
21159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21160 file: multiarch llroundf for PowerPC32.
21161
21162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21163 multiarch PowerPC32 fpu implementations.
21164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21165 New file.
21166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21167 New file.
21168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21169 multiarch llrint for PowerPC32.
21170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21171 New file.
21172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21173 New file.
21174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21175 file.
21176
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21178
21179 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21180 file.
21181 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21182 file.
21183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21184 file.
21185 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21186 multiarch wordcopy for PPC32.
21187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21188 wordcopy objects.
21189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21190 (__libc_ifunc_impl_list): Likewise.
21191 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21192 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21193 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21194 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21195 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21196 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21197
21198 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21200 file.
21201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21202 file.
21203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21204 file.
21205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21206 multiarch wcscpy for PPC32.
21207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21208 multiarch objects.
21209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21210 (__libc_ifunc_impl_list): Likewise.
21211 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21212 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21213 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21214 sysdeps/powerpc/power6/wcscpy.c.
21215
21216 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21218 file.
21219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21220 file.
21221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21222 file.
21223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21224 multiarch wcsrchr for PPC32.
21225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21226 multiarch objects.
21227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21228 (__libc_ifunc_impl_list): Likewise.
21229 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21230 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21231 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21232 sysdeps/powerpc/power6/wcsrchr.c.
21233
21234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21235 file.
21236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21237 file.
21238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21239 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21240 multiarch wcschr for PPc32.
21241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21242 multiarch objects.
21243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21244 (__libc_ifunc_impl_list): Likewise.
21245 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21246 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21247 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21248 sysdeps/powerpc/power6/wcschr.c.
21249
21250 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21251 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21252 file.
21253 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21254 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21255 file: multiarch strchr for PPC32.
21256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21257 multiarch objects.
21258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21259 (__libc_ifunc_impl_list): Likewise.
21260
21261 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21262 name.
21263 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21264 file.
21265 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21266 file.
21267 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21268 multiarch strchrnul for PPC32.
21269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21270 multiarch objects.
21271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21272 (__libc_ifunc_impl_list): Likewise.
21273
21274 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21275 file.
21276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21277 multiarch strncasecmp for PPC32.
21278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21279 file.
21280 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21281 multiarch strncasecmp_l for PPC32.
21282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21283 strncasecmp multiarch objects.
21284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21285 (__libc_ifunc_impl_list): Likewise.
21286
21287 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21288 file.
21289 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21290 multiarch strncasecmp for PPC32.
21291 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21292 New file.
21293 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21294 multiarch strcasecmp_l for PPC32.
21295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21296 multiarch objects.
21297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21298 (__libc_ifunc_impl_list): Likewise.
21299
21300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21301 file.
21302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21303 file.
21304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21305 multiarch strncmp for PPC32.
21306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21307 multiarch objects.
21308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21309 (__libc_ifunc_impl_list): Likewise.
21310
21311 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21312 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21313 file.
21314 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21315 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21317 multiarch objects.
21318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21319 (__libc_ifunc_impl_list): Likewise.
21320
21321 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21322 file.
21323 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21324 file.
21325 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21327 multiarch objects.
21328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21329 (__libc_ifunc_impl_list): Likewise.
21330
21331 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21332 file.
21333 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21334 file.
21335 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21336 multiarch rawmemchr for PPC32.
21337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21338 multiarch objects.
21339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21340 (__libc_ifunc_impl_list): Likewise.
21341
21342 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21343 file.
21344 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21345 file.
21346 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21347 file: memrchr multiarch for PPC32.
21348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21349 multiarch objects.
21350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21351 (__libc_ifunc_impl_list): Likewise.
21352
21353 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21354 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21355 file.
21356 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21358 multiarch memchr for PPC32.
21359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21360 multiarch objects.
21361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21362 (__libc_ifunc_impl_list): Likewise.
21363
21364 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21365 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21366 file.
21367 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21368 file.
21369 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21370 file: multiarch mempcpy for PPC32.
21371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21372 multiarch objects.
21373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21374 (__libc_ifunc_impl_list): Likewise.
21375
21376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21378 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21379 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21380 multiarch bzero for PPC32.
21381 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21382 file.
21383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21384 file.
21385 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21386 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21387 file: multiarch memset for PPC32.
21388 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21390 memset multiarch objects.
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21392 (__libc_ifunc_impl_list): Likewise.
21393
21394 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21395 file.
21396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21397 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21398 memcmp for PPC32.
21399 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21401 multiarch objects.
21402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21403 (__libc_ifunc_impl_list): Likewise.
21404
21405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21407 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21408 file.
21409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21410 file.
21411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21412 file.
21413 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21414 multiarch memcpy for PPC32.
21415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21416 multiarch objects.
21417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21418 (__libc_ifunc_impl_list): Likewise.
21419
21420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21421 support multiarch for POWER/PPC32.
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21423 Likewise.
21424 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21426 Implies file to make multiarch folder appers before the fpu and
21427 default folder for power4 configuration.
21428
21429 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21430
21431 * scripts/bench.pl: Append volatile keyword to type.
21432
21433 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21434
21435 * sysdeps/sh/sotruss-lib.c: New file.
21436 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21437
21438 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21439
21440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21441
21442 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21443
21444 [BZ #6810]
21445 * math/w_tgamma.c: Include <errno.h>.
21446 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21447 * math/w_tgammaf.c: Include <errno.h>.
21448 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21449 * math/w_tgammal.c: Include <errno.h>.
21450 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21451 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21452 underflow. Add more tgamma tests.
21453 * math/auto-libm-test-out: Regenerated.
21454 * sysdeps/i386/fpu/libm-test-ulps: Update.
21455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21456
21457 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21458 sin, sinh, tan, tanh, tgamma, y0 and y1.
21459 * math/auto-libm-test-out: Regenerated.
21460 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21461 (TEST_COND_x86): Likewise.
21462 (M_E2l): Remove macro.
21463 (M_E3l): Likewise.
21464 (M_2_SQRT_PIl): Likewise.
21465 (M_SQRT_PIl): Likewise.
21466 (M_1_DIV_El): Likewise.
21467 (log_test_data): Use AUTO_TESTS_f_f.
21468 (log10_test_data): Likewise.
21469 (log1p_test_data): Likewise.
21470 (log2_test_data): Likewise.
21471 (sin_test_data): Likewise.
21472 (sin_tonearest_test_data): Likewise.
21473 (sin_towardzero_test_data): Likewise.
21474 (sin_downward_test_data): Likewise.
21475 (sin_upward_test_data): Likewise.
21476 (sinh_test_data): Likewise.
21477 (sinh_tonearest_test_data): Likewise.
21478 (sinh_towardzero_test_data): Likewise.
21479 (sinh_downward_test_data): Likewise.
21480 (sinh_upward_test_data): Likewise.
21481 (tan_test_data): Likewise.
21482 (tan_tonearest_test_data): Likewise.
21483 (tan_towardzero_test_data): Likewise.
21484 (tan_downward_test_data): Likewise.
21485 (tan_upward_test_data): Likewise.
21486 (tanh_test_data): Likewise.
21487 (tgamma_test_data): Likewise.
21488 (y0_test_data): Likewise.
21489 (y1_test_data): Likewise.
21490 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21491 (special_real_inputs): Add pi/4.
21492 * sysdeps/i386/fpu/libm-test-ulps: Update.
21493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21494
21495 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21496
21497 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21498 "longjmp_target" static probes.
21499 (__longjmp): Rename to __longjmp_symbol.
21500 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21501 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21502 on which longjmp to generate.
21503 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21504 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21505 probe.
21506 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21507 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21508 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21509 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21510 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21511 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21513 __longjmp_symbol based on which __longjmp to generate.
21514 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21515 probe.
21516 (setjmp): Rename to setjmp_symbol.
21517 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21518 (_setjmp): Rename to _setjmp_symbol.
21519 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21520 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21521 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21522 which setjmp to generate.
21523 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21524 "longjmp_target" static probes.
21525
21526 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21527
21528 * benchtests/README: Add note about output arguments.
21529 * benchtests/bench-sincos.c: Remove file.
21530 * benchtests/sincos-inputs: New file.
21531 * scripts/bench.pl: Identify output arguments and define
21532 static variables for them.
21533
21534 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21535
21536 [BZ #15941]
21537 * Makefile (INSTALL): Add install-plain.texi as the primary
21538 dependency.
21539 * manual/install-plain.texi: New file.
21540 * manual/install.texi: Include node directive only for
21541 non-plaintext output.
21542
21543 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21544
21545 * stdlib/longlong.h: Update from GCC.
21546
21547 [BZ #6807]
21548 [BZ #15901]
21549 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21550 * math/w_j0f.c (y0f): Likewise.
21551 * math/w_j0l.c (__y0l): Likewise.
21552 * math/w_j1.c (y1): Likewise.
21553 * math/w_j1f.c (y1f): Likewise.
21554 * math/w_j1l.c (__y1l): Likewise
21555 * math/w_jn.c (yn): Likewise.
21556 * math/w_jnf.c (ynf): Likewise.
21557 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21558 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21559 value for Bessel function domain errors outside _SVID_ mode.
21560 Adjust sign of return value for yn (negative integer, 0).
21561 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21562 by zero in return for negative x and set sign appropriately for
21563 negative n.
21564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21565 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21566 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21567 expectations in error cases.
21568 (y1_test_data): Likewise.
21569 (yn_test_data): Likewise.
21570 * sysdeps/i386/fpu/libm-test-ulps: Update.
21571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21572
21573 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21574
21575 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21576 "64" to "64-v1". Add "64-v2".
21577 (abi-64-options): Rename to ...
21578 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21579 (abi-64-condition): Rename to ...
21580 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21581 (abi-64-ld-soname): Rename to ...
21582 (abi-64-v1-ld-soname): ... this.
21583 (abi-64-v2-options): Define.
21584 (abi-64-v2-condition): Likewise.
21585 (abi-64-v2-ld-soname): Likewise.
21586 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21587 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21591
21592 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21593 Alan Modra <amodra@gmail.com>
21594
21595 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21596 New versions for use with the ELFv2 ABI.
21597 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21598 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21599 declaration.
21600 (struct La_ppc64v2_retval): Likewise.
21601 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21602 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21603 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21604 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21605 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21606 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21607 Do not save or restore CR.
21608 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21609 (_dl_profile_resolve): Do no save or restore CR. Support extended
21610 return values for ELFv2 ABI. Fix location of FPR return registers.
21611 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21612 updated values for _CALL_ELF == 2.
21613 (La_regs, La_retval, int_retval): Likewise.
21614
21615 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21616
21617 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21618 (FRAME_MIN_SIZE_PARM): Likewise.
21619 (FRAME_BACKCHAIN): Likewise.
21620 (FRAME_CR_SAVE): Likewise.
21621 (FRAME_LR_SAVE): Likewise.
21622 (FRAME_TOC_SAVE): Likewise.
21623 (FRAME_PARM_SAVE): Likewise.
21624 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21625 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21626 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21627 (call_mcount_parm_offset): New macro.
21628 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21629 (PROF): Use symbolic stack frame offsets.
21630 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21631 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21632 Redefine in terms of FRAME_MIN_SIZE.
21633 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21634 (_dl_profile_resolve): Likewise. Update comment.
21635 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21636 symbols stack frame offsets.
21637 (__sigsetjmp): Likewise.
21638 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21639 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21640 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21641 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21642
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21644 (FRAME_BACKCHAIN): Remove.
21645 (FRAME_CR_SAVE): Likewise.
21646 (FRAME_LR_SAVE): Likewise.
21647 (FRAME_COMPILER_DW): Likewise.
21648 (FRAME_LINKER_DW): Likewise.
21649 (FRAME_TOC_SAVE): Likewise.
21650 (FRAME_PARM_SAVE): Likewise.
21651 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21652 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21653 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21655 (CHECK_SP): Use symbolic stack frame offsets.
21656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21657 zone" instead of caller's parameter save area for temp storage.
21658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21659 Likewise. Also, use symbolic stack frame offsets.
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21661 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21662 our own stack frame instead of the caller's.
21663 (__socket): Use symbolic stack frame offsets.
21664
21665 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21666 Alan Modra <amodra@gmail.com>
21667
21668 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21669 Define.
21670 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21671 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21672 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21673 New function.
21674 (elf_machine_fixup_plt): Call it.
21675 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21676 reloc arguments.
21677 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21679 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21680 r2 before calling target.
21681
21682 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21683 Alan Modra <amodra@gmail.com>
21684
21685 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21686 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21687 versions of macros to support ELFv2 ABI.
21688 (LOCALENTRY): New macro.
21689 (ENTRY, EALIGN): Use it.
21690 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21691 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21692 fall through into ENTRY entry point.
21693 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21694 Only define if _CALL_ELF != 2.
21695
21696 (elf_machine_matches_host): Verify ABI version matches.
21697 (RTLD_START): Use LOCALENTRY.
21698 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21699 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21700 (PLT_ENTRY_WORDS): New macro.
21701 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21702 (elf_machine_runtime_setup): Support ELFv2 ABI.
21703 (elf_machine_fixup_plt): Likewise.
21704 (elf_machine_plt_conflict): Likewise.
21705 (resolve_ifunc): Likewise.
21706 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21708 Likewise.
21709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21710 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21712 (makecontext): Support ELFv2 ABI.
21713 * elf/elf.h (EF_PPC64_ABI): Define.
21714
21715 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21716
21717 * sysdeps/powerpc/powerpc64/sysdep.h
21718 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21719 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21720 (ENTRY) [ASSEMBLER]: ... but instead here ...
21721 (EALIGN) [ASSEMBLER]: ... and here.
21722 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21723 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21724 (ENTRY_2) [!ASSEMBLER]: Use it.
21725 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21726 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21727 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21728 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21729 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21731 Use PPC64_LOAD_FUNCPTR.
21732
21733 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21734
21735 2013-12-04 Alan Modra <amodra@gmail.com>
21736
21737 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21738 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21739 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21740 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21741
21742 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21743 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21744 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21745 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21746 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21747 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21748
21749 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21750
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21752 (__makecontext): Fix incorrect CFI when backtracing out of
21753 context created via makecontext.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21755 (__setcontext): Fix incorrect CFI during switch to new context.
21756 (__novec_setcontext): Likewise.
21757
21758 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21759
21760 [BZ #4772]
21761 * time/strptime_l.c (__strptime_internal): Allow modifiers
21762 in strptime.
21763 * time/tst-strptime.c (day_tests): Add testcase.
21764
21765 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21766
21767 * scripts/bench.pl: Skip over blank lines.
21768
21769 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21770
21771 [BZ #926]
21772 * manual/time.texi (Calendar Time): Clarify what timezone functions
21773 use.
21774
21775 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21776
21777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21778
21779 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21780
21781 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21782 implementation.
21783 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21784 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21785 * debug/memset_chk.c (__memset_chk): Likewise.
21786 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21787 * debug/strncpy_chk.c: Likewise.
21788
21789 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21790
21791 [BZ #15268]
21792 [BZ #15425]
21793 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21794 (__ieee754_exp): For possibly underflowing results, check size of
21795 result and force underflow exception if required.
21796 * math/auto-libm-test-in: Add more tests of exp.
21797 * math/auto-libm-test-out: Regenerated.
21798 * sysdeps/i386/fpu/libm-test-ulps: Update.
21799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21800
21801 [BZ #16283]
21802 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21803 * math/w_exp2f.c (__exp2f): Likewise.
21804 * math/w_exp2l.c (__exp2l): Likewise.
21805 * math/auto-libm-test-in: Do not allow missing errno on exp2
21806 underflow.
21807 * math/auto-libm-test-out: Regenerated.
21808
21809 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21810
21811 [BZ #16274]
21812 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21813 handle filename validation.
21814 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21815 (do_open): Delete.
21816
21817 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21818
21819 [BZ #6786]
21820 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21821 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21822 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21823 <float.h>.
21824 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21825 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21826 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21827 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21828 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21829 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21830 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21831 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21832 Add more erfc tests.
21833 * math/auto-libm-test-out: Regenerated.
21834 * sysdeps/i386/fpu/libm-test-ulps: Update.
21835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836
21837 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21838 exp2, expm1, j0 and j1.
21839 * math/auto-libm-test-out: Regenerated.
21840 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21841 (erfc_test_data): Likewise.
21842 (exp_test_data): Likewise.
21843 (exp_tonearest_test_data): Likewise.
21844 (exp_towardzero_test_data): Likewise.
21845 (exp_downward_test_data): Likewise.
21846 (exp_upward_test_data): Likewise.
21847 (exp10_test_data): Likewise.
21848 (exp2_test_data): Likewise.
21849 (expm1_test_data): Likewise.
21850 (j0_test_data): Likewise.
21851 (j1_test_data): Likewise.
21852 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21853 (input_flag_type): Add flag_xfail_rounding.
21854 (input_flags): Add xfail-rounding.
21855 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21856 (output_for_one_input_case): Handle flag_xfail_rounding.
21857 * sysdeps/i386/fpu/libm-test-ulps: Update.
21858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21859
21860 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21861
21862 [BZ #16289]
21863 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21864 division by 0.
21865
21866 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21867
21868 [BZ #16195]
21869 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21870 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21871 (STAP_PROBE0): New macro.
21872 (STAP_PROBE1): Likewise.
21873 (STAP_PROBE2): Likewise.
21874 (STAP_PROBE3): Likewise.
21875 (STAP_PROBE4): Likewise.
21876
21877 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21878
21879 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21880
21881 2013-12-02 Steve Ellcey <sellcey@mips.com>
21882
21883 * benchtests/Makefile (bench): Add sqrt.
21884 (LDLIBS-bench-sqrt): New.
21885 * benchtests/sqrt-input: New.
21886
21887 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21888
21889 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21890 (GAIH_EAI): Likewise.
21891 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21892 (gaih_inet): Likewise.
21893 (getaddrinfo): Don't use GAIH_EAI.
21894
21895 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21896 (struct gaih): Remove definition.
21897
21898 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21899
21900 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21901 Use HERRNOP directly.
21902
21903 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21904
21905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21906
21907 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21908
21909 * math/gen-auto-libm-tests.c (test_functions): Add more
21910 single-argument functions.
21911 (special_fill_pi_2): New function.
21912 (special_fill_minus_pi_2): Likewise.
21913 (special_fill_pi_6): Likewise.
21914 (special_fill_minus_pi_6): Likewise.
21915 (special_fill_pi_3): Likewise.
21916 (special_fill_2pi_3): Likewise.
21917 (special_fill_e): Likewise.
21918 (special_fill_1_e): Likewise.
21919 (special_fill_e_minus_1): Likewise.
21920 (special_real_inputs): Add more special inputs.
21921 (output_for_one_input_case): Do not require ERANGE on underflow to
21922 zero if round-to-nearest result does not underflow to zero, unless
21923 exact results required.
21924 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21925 atan, atanh, cbrt, cos and cosh.
21926 * math/auto-libm-test-out: Regenerated.
21927 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21928 (acos_tonearest_test_data): Likewise.
21929 (acos_towardzero_test_data): Likewise.
21930 (acos_downward_test_data): Likewise.
21931 (acos_upward_test_data): Likewise.
21932 (acosh_test_data): Likewise.
21933 (asin_test_data): Likewise.
21934 (asin_tonearest_test_data): Likewise.
21935 (asin_towardzero_test_data): Likewise.
21936 (asin_upward_test_data): Likewise.
21937 (asinh_test_data): Likewise.
21938 (atan_test_data): Likewise.
21939 (atanh_test_data): Likewise.
21940 (cbrt_test_data): Likewise.
21941 (cos_test_data): Likewise.
21942 (cos_tonearest_test_data): Likewise.
21943 (cos_towardzero_test_data): Likewise.
21944 (cos_downward_test_data): Likewise.
21945 (cos_upward_test_data): Likewise.
21946 (cosh_test_data): Likewise.
21947 (cosh_tonearest_test_data): Likewise.
21948 (cosh_towardzero_test_data): Likewise.
21949 (cosh_downward_test_data): Likewise.
21950 (cosh_upward_test_data): Likewise.
21951 * sysdeps/i386/fpu/libm-test-ulps: Update.
21952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21953
21954 2013-11-29 Joseph Myers <joseph@codesourcery.com>
21955
21956 [BZ #6787]
21957 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21958 * math/w_exp10f.c (__exp10f): Likewise.
21959 * math/w_exp10l.c (__exp10l): Likewise.
21960 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21961 errno settings in existing tests.
21962
21963 [BZ #14032]
21964 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21965 precision control set to double precision.
21966 * sysdeps/i386/fpu/w_sqrt.c: New file.
21967 * math/auto-libm-test-in: Add more tests.
21968 * math/auto-libm-test-out: Update.
21969
21970 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21971 (sqrt_test_tonearest): New function.
21972 (sqrt_towardzero_test_data): New variable.
21973 (sqrt_test_towardzero): New function.
21974 (sqrt_downward_test_data): New variable.
21975 (sqrt_test_downward): New function.
21976 (sqrt_upward_test_data): New variable.
21977 (sqrt_test_upward): New function.
21978 (main): Call the new functions.
21979
21980 * math/gen-auto-libm-tests.c: New file.
21981 * math/auto-libm-test-in: Likewise.
21982 * math/auto-libm-test-out: New generated file.
21983 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21984 variables.
21985 (%beautify): Add generated representations of zero.
21986 (top level): Set $auto_input and call parse_auto_input.
21987 (beautify): Remove trailing "f" from hex float constants.
21988 (parse_args): Handle XFAIL_TEST.
21989 (convert_condition): New function.
21990 (or_value): Likewise.
21991 (or_cond_value): Likewise.
21992 (generate_testfile): Handle AUTO_TESTS_* lines.
21993 (parse_auto_input): New function.
21994 * math/libm-test.inc (XFAIL_TEST): New macro.
21995 (ERRNO_UNCHANGED): Update value.
21996 (ERRNO_EDOM): Likewise.
21997 (ERRNO_ERANGE): Likewise.
21998 (IGNORE_RESULT): Likewise.
21999 (TEST_COND_flt_32): New macro.
22000 (TEST_COND_dbl_64): Likewise.
22001 (TEST_COND_ldbl_96_intel): Likewise.
22002 (TEST_COND_ldbl_96_m68k): Likewise.
22003 (TEST_COND_ldbl_128): Likewise.
22004 (TEST_COND_ldbl_128ibm): Likewise.
22005 (TEST_COND_long32): Likewise.
22006 (TEST_COND_long64): Likewise.
22007 (TEST_COND_before_rounding): Likewise.
22008 (TEST_COND_after_rounding): Likewise.
22009 (enable_test): Handle XFAIL_TEST flag.
22010 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22011 with finite results.
22012 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22013 auto-libm-test-out.
22014
22015 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22016 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22017
22018 [BZ #16214]
22019 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22020 __tls_get_addr_internal instead of __tls_get_offset in order to
22021 avoid GOT pointer dependency. Make rtld export
22022 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22023 __tls_get_addr since we are a __tls_get_offset platform.
22024 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22025 GOT pointer being set up before.
22026 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22027
22028 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22029
22030 * manual/math.texi (Errors in Math Functions): Document accuracy
22031 goals.
22032
22033 [BZ #15004]
22034 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22035 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22036 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22037 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22038 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22039 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22040 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22041 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22042 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22043 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22044 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22045 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22046 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22047 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22048 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22049 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22050
22051 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22052 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22053 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22054 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22055 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22056 Likewise.
22057 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22058 Likewise.
22059 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22060 Likewise.
22061 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22062 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22063 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22064 atomic-feupdateenv and flt-rounds.
22065 * sysdeps/powerpc/nofpu/Versions (libc): Add
22066 __atomic_feholdexcept, __atomic_feclearexcept,
22067 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22068 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22069 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22070 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22071 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22072 here.
22073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22074 Update.
22075
22076 * manual/arith.texi (FP Exceptions): Document that exceptions may
22077 not be raised when matherr is used.
22078 (Math Error Reporting): Document overflow in directed rounding
22079 modes. Document that errno may not be set when finite values are
22080 returned on overflow. Document intent to set errno on underflow
22081 only for underflow to zero.
22082
22083 [BZ #16271]
22084 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22085 round-to-nearest then adjust result for other rounding modes.
22086 * include/fenv.h (fegetround): Use libm_hidden_proto.
22087 * math/fegetround.c (fegetround): Use libm_hidden_def.
22088 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22089 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22090 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22091 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22092 Likewise.
22093 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22094 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22095 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22096 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22097
22098 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22099
22100 [BZ #16077]
22101 * nss/Versions (libnss_files): Add
22102 _nss_files_gethostbyname3_r.
22103 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22104 New function.
22105 (HOST_DB_LOOKUP): Remove macro.
22106 (_nss_files_gethostbyname_r): Implement function without the
22107 HOST_DB_LOOKUP macro.
22108 (_nss_files_gethostbyname2_r): Likewise.
22109
22110 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22111
22112 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22113
22114 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22115
22116 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22117 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22118 warning.
22119
22120 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22121
22122 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22123 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22124 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22125 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22126 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22127 __fe_nomask_env_priv and attribute_hidden.
22128 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22129 (libc_feupdateenv_test_ppc): Likewise.
22130 (libc_feresetround_ppc): Likewise.
22131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22132 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22133 compat_symbol macro.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22135 (__fe_nomask_env): Likewise.
22136 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22137
22138 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22139
22140 * string/Makefile: Remove ifunc tests.
22141 * string/test-string.h: Define TEST_IFUNC.
22142 * string/test-bcopy-ifunc.c: Remove.
22143 * string/test-bzero-ifunc.c: Likewise.
22144 * string/test-memccpy-ifunc.c: Likewise.
22145 * string/test-memchr-ifunc.c: Likewise.
22146 * string/test-memcmp-ifunc.c: Likewise.
22147 * string/test-memcpy-ifunc.c: Likewise.
22148 * string/test-memmem-ifunc.c: Likewise.
22149 * string/test-memmove-ifunc.c: Likewise.
22150 * string/test-mempcpy-ifunc.c: Likewise.
22151 * string/test-memrchr-ifunc.c: Likewise.
22152 * string/test-memset-ifunc.c: Likewise.
22153 * string/test-rawmemchr-ifunc.c: Likewise.
22154 * string/test-stpcpy-ifunc.c: Likewise.
22155 * string/test-stpncpy-ifunc.c: Likewise.
22156 * string/test-strcasecmp-ifunc.c: Likewise.
22157 * string/test-strcasestr-ifunc.c: Likewise.
22158 * string/test-strcat-ifunc.c: Likewise.
22159 * string/test-strchr-ifunc.c: Likewise.
22160 * string/test-strchrnul-ifunc.c: Likewise.
22161 * string/test-strcmp-ifunc.c: Likewise.
22162 * string/test-strcpy-ifunc.c: Likewise.
22163 * string/test-strcspn-ifunc.c: Likewise.
22164 * string/test-strlen-ifunc.c: Likewise.
22165 * string/test-strncasecmp-ifunc.c: Likewise.
22166 * string/test-strncat-ifunc.c: Likewise.
22167 * string/test-strncmp-ifunc.c: Likewise.
22168 * string/test-strncpy-ifunc.c: Likewise.
22169 * string/test-strnlen-ifunc.c: Likewise.
22170 * string/test-strpbrk-ifunc.c: Likewise.
22171 * string/test-strrchr-ifunc.c: Likewise.
22172 * string/test-strspn-ifunc.c: Likewise.
22173 * string/test-strstr-ifunc.c: Likewise.
22174
22175 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22176
22177 * benchtests/Makefile: Remove ifunc tests.
22178 * benchtests/bench-string.h: Define TEST_IFUNC.
22179 * benchtests/bench-bcopy-ifunc.c: Remove.
22180 * benchtests/bench-bzero-ifunc.c: Likewise.
22181 * benchtests/bench-memccpy-ifunc.c: Likewise.
22182 * benchtests/bench-memchr-ifunc.c: Likewise.
22183 * benchtests/bench-memcmp-ifunc.c: Likewise.
22184 * benchtests/bench-memcpy-ifunc.c: Likewise.
22185 * benchtests/bench-memmem-ifunc.c: Likewise.
22186 * benchtests/bench-memmove-ifunc.c: Likewise.
22187 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22188 * benchtests/bench-memrchr-ifunc.c: Likewise.
22189 * benchtests/bench-memset-ifunc.c: Likewise.
22190 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22191 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22192 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22193 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22194 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22195 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22196 * benchtests/bench-strcat-ifunc.c: Likewise.
22197 * benchtests/bench-strchr-ifunc.c: Likewise.
22198 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22199 * benchtests/bench-strcmp-ifunc.c: Likewise.
22200 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22201 * benchtests/bench-strcpy-ifunc.c: Likewise.
22202 * benchtests/bench-strcspn-ifunc.c: Likewise.
22203 * benchtests/bench-strlen-ifunc.c: Likewise.
22204 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22205 * benchtests/bench-strncat-ifunc.c: Likewise.
22206 * benchtests/bench-strncmp-ifunc.c: Likewise.
22207 * benchtests/bench-strncpy-ifunc.c: Likewise.
22208 * benchtests/bench-strnlen-ifunc.c: Likewise.
22209 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22210 * benchtests/bench-strrchr-ifunc.c: Likewise.
22211 * benchtests/bench-strsep-ifunc.c: Likewise.
22212 * benchtests/bench-strspn-ifunc.c: Likewise.
22213 * benchtests/bench-strstr-ifunc.c: Likewise.
22214
22215 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22216
22217 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22218
22219 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22220
22221 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22222 * rt/aio.h: Likewise.
22223 * sysdeps/gnu/bits/utmp.h: Likewise.
22224 * sysdeps/gnu/bits/utmpx.h: Likewise.
22225 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22226 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22227 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22228 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22229 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22230 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22231 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22232 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22233 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22234 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22235 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22236 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22237 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22239 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22240 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22241 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22242 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22243 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22244 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22245 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22246 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22247 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22248 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22249 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22251 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22252 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22253 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22254 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22255 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22256 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22257 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22258 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22259 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22260 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22261 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22262 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22263 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22264 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22265 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22266 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22267
22268 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22269
22270 [BZ #16245]
22271 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22272 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22273
22274 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22275
22276 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22277 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22278 Likewise.
22279
22280 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22281
22282 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22283 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22284 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22285 (__fesetround): Remove define.
22286 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22287 rounding and exceptions handling.
22288 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22289 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22290 (__fe_nomask_env): Likewise.
22291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22292 __fegetround instead of fegetround.
22293 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22294 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22295
22296 2013-11-21 Roland McGrath <roland@hack.frob.com>
22297
22298 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22299 it's there.
22300
22301 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22302
22303 2013-11-21 Meador Inge <meadori@codesourcery.com>
22304
22305 [BZ #11157]
22306 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22307 (encrypt_r): Likewise.
22308 * malloc/obstack.h (obstack_free): Likewise.
22309 * posix/unistd.h (encrypt): Likewise.
22310
22311 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22312
22313 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22314 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22315 DL_CALL_DT_FINI() that call the functions directly.
22316 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22317 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22318 * elf/dl-fini.c: Likewise.
22319
22320 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22321
22322 * malloc/hooks.c (memalign_check): Add alignment rounding.
22323 * malloc/malloc.c (_mid_memalign): New function.
22324 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22325 Implement by calling _mid_memalign.
22326 * manual/probes.texi (Memory Allocation Probes): Remove
22327 memory_valloc_retry and memory_pvalloc_retry.
22328
22329 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22330
22331 * locale/programs/locarchive.c (open_archive): Add const
22332 qualifier to ARCHIVEFNAME and copy default fname to
22333 DEFAULT_FNAME.
22334
22335 [BZ #15601]
22336 * libio/tst-widetext.input: Rename Oriya to Odia.
22337 * locale/iso-639.def: Likewise.
22338
22339 * manual/probes.texi (Mathematical Function Probes): Add
22340 documentation for sin, cos, asin and acos probes.
22341 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22342 (__sin32): Add slowasin probe.
22343 (__cos32): Add slowacos probe.
22344 (__mpsin): Add slowsin probe.
22345 (__mpcos): Add slowcos probe.
22346
22347 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22348
22349 [BZ #15483]
22350 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22351 thread-local __sim_exceptions_thread and global
22352 __sim_exceptions_global.
22353 (__sim_disabled_exceptions): Change to thread-local
22354 __sim_disabled_exceptions_thread and global
22355 __sim_disabled_exceptions_global.
22356 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22357 and global __sim_round_mode_global.
22358 (__simulate_exceptions): Use thread-local floating-point state and
22359 set global state from it as needed.
22360 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22361 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22362 __sim_round_mode_thread.
22363 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22364 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22365 and global __sim_exceptions_global.
22366 (__sim_disabled_exceptions): Change to thread-local
22367 __sim_disabled_exceptions_thread and global
22368 __sim_disabled_exceptions_global.
22369 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22370 and global __sim_round_mode_global.
22371 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22372 (SIM_SET_GLOBAL): Likewise.
22373 * sysdeps/powerpc/soft-fp/sfp-machine.h
22374 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22375 __sim_round_mode_thread.
22376 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22377 __sim_disabled_exceptions_thread.
22378 (__sim_exceptions): Change to __sim_exceptions_thread.
22379 (__sim_disabled_exceptions): Change to
22380 __sim_disabled_exceptions_thread.
22381 (__sim_round_mode): Change to __sim_round_mode_thread.
22382 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22383 thread-local floating-point state and set global state from it as
22384 needed.
22385 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22386 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22387 (__sim_disabled_exceptions): Remove extern declaration.
22388 (feenableexcept): Use thread-local floating-point state and set
22389 global state from it as needed.
22390 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22391 extern declaration.
22392 (__sim_disabled_exceptions): Likewise.
22393 (__sim_round_mode): Likewise.
22394 (__fegetenv): Use thread-local floating-point state.
22395 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22396 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22397 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22398 floating-point state and set global state from it as needed.
22399 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22400 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22401 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22402 Likewise.
22403 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22404 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22405 Likewise.
22406 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22407 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22408 Use __sim_round_mode_thread.
22409 * math/test-fenv-tls.c: New file.
22410 * math/Makefile (tests): Add test-fenv-tls.
22411 ($(objpfx)test-fenv-tls): Depend on
22412 $(common-objpfx)nptl/libpthread.so.
22413
22414 2013-11-19 Andreas Schwab <schwab@suse.de>
22415
22416 * locale/programs/locale.c (show_info): Decode wordarray elements.
22417 * locale/categories.def (LC_MONETARY): Add element for
22418 _NL_MONETARY_CRNCYSTR.
22419 * locale/C-monetary.c (conversion_rate): New variable.
22420 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22421 element.
22422
22423 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22424
22425 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22426 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22427
22428 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22429
22430 * elf/Makefile (tst-auxv): New test.
22431 * elf/tst-auxv.c: New
22432 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22433
22434 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22435
22436 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22437 (hidden_proto): Caller changed.
22438 (hidden_tls_proto): New macro.
22439 (libc_hidden_tls_proto): Likewise.
22440 (rtld_hidden_tls_proto): Likewise.
22441 (libm_hidden_tls_proto): Likewise.
22442 (libresolv_hidden_tls_proto): Likewise.
22443 (librt_hidden_tls_proto): Likewise.
22444 (libdl_hidden_tls_proto): Likewise.
22445 (libnss_files_hidden_tls_proto): Likewise.
22446 (libnsl_hidden_tls_proto): Likewise.
22447 (libnss_nisplus_hidden_tls_proto): Likewise.
22448 (libutil_hidden_tls_proto): Likewise.
22449
22450 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22451
22452 [BZ #10253]
22453 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22454 (decompose_rpath): Defer expansion to fillin_rpath.
22455 (_dl_init_paths): Pass linkmap to fillin_rpath.
22456
22457 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22458
22459 * benchtests/Makefile: Add strsep.
22460 * benchtests/bench-strsep.c: New file: strsep benchtest.
22461 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22462
22463 2013-11-18 Andreas Schwab <schwab@suse.de>
22464
22465 * locale/programs/locale.c (show_info) [case byte]: Check for
22466 '\377' instead of '\177'.
22467 * locale/C-monetary.c (not_available): Always use "\377".
22468 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22469 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22470 detect unavailable sign_posn locale elements.
22471 * locale/localeconv.c (__localeconv): For grouping and
22472 mon_grouping handle "\177" and "\377" like no grouping.
22473 (INT_ELEM): New macro. Use it to set all numeric members.
22474 * locale/programs/ld-monetary.c (monetary_read)
22475 <tok_mon_grouping>: Normalize single -1 to the empty string.
22476 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22477 Likewise.
22478
22479 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22480
22481 [BZ #16055]
22482 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22483 when we match (nil).
22484 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22485
22486 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22487
22488 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22489 (NO_TEST_INLINE): Update value.
22490 (ERRNO_UNCHANGED): Likewise.
22491 (ERRNO_EDOM): Likewise.
22492 (ERRNO_ERANGE): Likewise.
22493 (IGNORE_RESULT): Likewise.
22494 (check_float_internal): Check signs of NaN results if
22495 TEST_NAN_SIGN used.
22496 (check_complex): Pass TEST_NAN_SIGN flag through to second
22497 check_float_internal call.
22498 (copysign_test_data): Add tests with quiet NaNs as second
22499 argument. Use TEST_NAN_SIGN.
22500 (fabs_test_data): Add test of negative quiet NaN argument. Use
22501 TEST_NAN_SIGN.
22502 (signbit_test_data): Add tests of quiet NaN argument.
22503 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22504
22505 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22506 $ignore_result.
22507 (parse_args): Handle function results specified as IGNORE.
22508 * math/libm-test.inc (IGNORE_RESULT): New macro.
22509 (check_float_internal): Do not check numerical result if flag
22510 IGNORE_RESULT set.
22511 (check_complex): Pass through IGNORE_RESULT to second
22512 check_float_internal call.
22513 (check_int): Do not check numerical result if flag IGNORE_RESULT
22514 set.
22515 (check_long): Likewise.
22516 (check_bool): Likewise.
22517 (check_longlong): Likewise.
22518 (lrint_test_data): Add tests of infinite and NaN arguments.
22519 (lrint_tonearest_test_data): Likewise.
22520 (lrint_towardzero_test_data): Likewise.
22521 (lrint_downward_test_data): Likewise.
22522 (lrint_upward_test_data): Likewise.
22523 (llrint_test_data): Likewise.
22524 (llrint_tonearest_test_data): Likewise.
22525 (llrint_towardzero_test_data): Likewise.
22526 (llrint_downward_test_data): Likewise.
22527 (llrint_upward_test_data): Likewise.
22528 (lround_test_data): Likewise.
22529 (llround_test_data): Likewise.
22530
22531 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22532 (ERRNO_UNCHANGED): Update value.
22533 (ERRNO_EDOM): Likewise.
22534 (ERRNO_ERANGE): Likewise.
22535 (NO_TEST_INLINE_FLOAT): New macro.
22536 (NO_TEST_INLINE_DOUBLE): Likewise.
22537 (enable_test): New function.
22538 (RUN_TEST_f_f): Check enable_test before running test.
22539 (RUN_TEST_2_f): Likewise.
22540 (RUN_TEST_fff_f): Likewise.
22541 (RUN_TEST_c_f): Likewise.
22542 (RUN_TEST_f_f1): Likewise.
22543 (RUN_TEST_fF_f1): Likewise.
22544 (RUN_TEST_fI_f1): Likewise.
22545 (RUN_TEST_ffI_f1): Likewise.
22546 (RUN_TEST_c_c): Likewise.
22547 (RUN_TEST_cc_c): Likewise.
22548 (RUN_TEST_f_i): Likewise.
22549 (RUN_TEST_f_i_tg): Likewise.
22550 (RUN_TEST_ff_i_tg): Likewise.
22551 (RUN_TEST_f_b): Likewise.
22552 (RUN_TEST_f_b_tg): Likewise.
22553 (RUN_TEST_f_l): Likewise.
22554 (RUN_TEST_f_L): Likewise.
22555 (RUN_TEST_fFF_11): Likewise.
22556 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22557 conditionals.
22558 (cosh_test_data): Likewise.
22559 (exp_test_data): Likewise.
22560 (expm1_test_data): Likewise.
22561 (hypot_test_data): Likewise.
22562 (pow_test_data): Likewise.
22563 (sinh_test_data): Likewise.
22564 (tanh_test_data): Likewise.
22565 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22566 flags argument.
22567
22568 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22569 tests with quiet NaN input and output.
22570 (acosh_test_data): Likewise.
22571 (asin_test_data): Likewise.
22572 (asinh_test_data): Likewise.
22573 (atan_test_data): Likewise.
22574 (atanh_test_data): Likewise.
22575 (atan2_test_data): Likewise.
22576 (cbrt_test_data): Likewise.
22577 (cos_test_data): Likewise.
22578 (cosh_test_data): Likewise.
22579 (erf_test_data): Likewise.
22580 (erfc_test_data): Likewise.
22581 (exp_test_data): Likewise.
22582 (exp10_test_data): Likewise.
22583 (exp2_test_data): Likewise.
22584 (expm1_test_data): Likewise.
22585 (hypot_test_data): Likewise.
22586 (j0_test_data): Likewise.
22587 (j1_test_data): Likewise.
22588 (jn_test_data): Likewise.
22589 (lgamma_test_data): Likewise.
22590 (log_test_data): Likewise.
22591 (log10_test_data): Likewise.
22592 (log1p_test_data): Likewise.
22593 (log2_test_data): Likewise.
22594 (pow_test_data): Likewise.
22595 (scalb_test_data): Likewise.
22596 (sin_test_data): Likewise.
22597 (sincos_test_data): Likewise.
22598 (sinh_test_data): Likewise.
22599 (tan_test_data): Likewise.
22600 (tanh_test_data): Likewise.
22601 (tgamma_test_data): Likewise.
22602 (y0_test_data): Likewise.
22603 (y1_test_data): Likewise.
22604 (yn_test_data): Likewise.
22605
22606 [BZ #16167]
22607 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22608 argument being NaN and avoid computations with second argument in
22609 that case.
22610 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22611 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22612 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22613
22614 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22615
22616 * locale/iso-639.def: Add Chitwani Tharu (the).
22617
22618 2013-11-14 Andreas Schwab <schwab@suse.de>
22619
22620 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22621 word instead of empty string.
22622
22623 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22624
22625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22626 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22628 (__fe_nomask_env): Likewise.
22629
22630 2013-11-13 Steve Ellcey <sellcey@mips.com>
22631
22632 * benchtests/bench-timing.h: Include time.h.
22633
22634 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22635
22636 [BZ #15997]
22637 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22638 to 3.4.0 for x32.
22639 * sysdeps/unix/sysv/linux/configure: Regenerated.
22640
22641 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22642
22643 [BZ #16151]
22644 * stdlib/strtod_l.c (round_and_return): Do not consider
22645 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22646 exponent one less than half the least subnormal exponent.
22647 * stdlib/test-strtod-round-data: Add more tests.
22648 * stdlib/tst-strtod-round.c (tests): Regenerated.
22649
22650 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22651
22652 [BZ #14143]
22653 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22654 (__fe_mask_env): Likewise.
22655 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22656 libm_hidden_proto and add function prototype.
22657 (__fe_mask_env): Add function prototype.
22658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22659 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22661 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22663 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22664
22665 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22666
22667 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22668 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22669
22670 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22671
22672 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22673 of htab_find_slot().
22674
22675 2013-11-11 David S. Miller <davem@davemloft.net>
22676
22677 [BZ #16150]
22678 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22679 symbol in the non-vis3 case in static builds.
22680 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22681 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22682 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22683 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22684
22685 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22686
22687 [BZ #387]
22688 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22689 it is empty.
22690
22691 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22692
22693 * benchtests/Makefile: Add bench-strtod.
22694 * benchtests/bench-strtod.c: New file: strtod benchtest
22695
22696 2013-11-11 Andreas Schwab <schwab@suse.de>
22697
22698 [BZ #16153]
22699 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22700 terminating NUL in key length.
22701
22702 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22703
22704 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22705 Add artificial ODP entry for vDSO symbol for PPC64.
22706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22707 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22708
22709 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22710
22711 [BZ #15374]
22712 * nss/getent.c (services_keys): Recognize services starting with digit.
22713
22714 2013-11-06 David S. Miller <davem@davemloft.net>
22715
22716 [BZ #15985]
22717 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22718 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22719
22720 2013-11-06 Will Newton <will.newton@linaro.org>
22721
22722 * manual/memory.texi (Malloc Examples): Remove register
22723 keyword from examples.
22724
22725 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22726
22727 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22728
22729 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22730
22731 [BZ #6981]
22732 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22733 depending on [__GCC_IEC_559 > 0].
22734 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22735 depending on [__GCC_IEC_559_COMPLEX > 0].
22736
22737 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22738
22739 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22740 to iso-639.def.
22741
22742 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22743
22744 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22745
22746 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22747
22748 [BZ #16112]
22749 * malloc/malloc (malloc_info): Do not handle first bin as
22750 special case.
22751
22752 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22753
22754 * locale/iso-639.def: Add Central Nahuatl (nhn).
22755
22756 2013-11-01 Bruno Haible <bruno@clisp.org>
22757
22758 [BZ #7003]
22759 * manual/math.texi (BSD Random): Specify range upper bound as
22760 in POSIX.
22761
22762 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22763
22764 * locale/iso-639.def: Add Meadow Mari (mhr).
22765
22766 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22767
22768 [BZ #14752], [BZ #15763]
22769 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22770 Validate name.
22771 * rt/tst_shm.c: Add test for escaping directory.
22772
22773 2013-10-31 Andreas Schwab <schwab@suse.de>
22774
22775 [BZ #15917]
22776 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22777 followed by 'x' as part of digit sequence.
22778 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22779
22780 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22781
22782 [BZ #16037]
22783 * configure.ac: allow GNU Make 4.0 and greater.
22784 * configure: Regenerated.
22785
22786 2013-10-30 Will Newton <will.newton@linaro.org>
22787
22788 [BZ #16038]
22789 * malloc/hooks.c (memalign_check): Limit alignment to the
22790 maximum representable power of two.
22791 * malloc/malloc.c (__libc_memalign): Likewise.
22792 * malloc/tst-memalign.c (do_test): Add test for very
22793 large alignment values.
22794 * malloc/tst-posix_memalign.c (do_test): Likewise.
22795
22796 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22797
22798 [BZ #11087]
22799 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22800 (munmap_chunk): Likewise.
22801 (mremap_chunk): Likewise.
22802
22803 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22804
22805 [BZ #15799]
22806 * stdlib/div.c (div): Remove obsolete code.
22807 * stdlib/ldiv.c (ldiv): Likewise.
22808 * stdlib/lldiv.c (lldiv): Likewise.
22809
22810 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22811
22812 [BZ #16071]
22813 * nss/nss_files/files-XXX.c (get_contents_ret): New
22814 enumerator.
22815 (get_contents): New function.
22816 (internal_getent): Use it. Expand size of LINEBUFLEN.
22817
22818 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22819
22820 * configure.in: Moved to ...
22821 * configure.ac: ... here. Change reference to configure.in
22822 to configure.ac.
22823 * sysdeps/arm/preconfigure.ac: ... here.
22824 configure.in to configure.ac.
22825 * sysdeps/gnu/configure.in: Moved to ...
22826 * sysdeps/gnu/configure.ac: ... here.
22827 * sysdeps/i386/configure.in: Moved to ...
22828 * sysdeps/i386/configure.ac: ... here.
22829 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22830 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22831 * sysdeps/mach/configure.in: Moved to ...
22832 * sysdeps/mach/configure.ac: ... here.
22833 * sysdeps/mach/hurd/configure.in: Moved to ...
22834 * sysdeps/mach/hurd/configure.ac: ... here.
22835 * sysdeps/powerpc/configure.in: Moved to ...
22836 * sysdeps/powerpc/configure.ac: ... here.
22837 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22838 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22839 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22840 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22841 * sysdeps/s390/s390-32/configure.in: Moved to ...
22842 * sysdeps/s390/s390-32/configure.ac: ... here.
22843 * sysdeps/s390/s390-64/configure.in: Moved to ...
22844 * sysdeps/s390/s390-64/configure.ac: ... here.
22845 * sysdeps/sh/configure.in: Moved to ...
22846 * sysdeps/sh/configure.ac: ... here.
22847 * sysdeps/sparc/configure.in: Moved to ...
22848 * sysdeps/sparc/configure.ac: ... here.
22849 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22850 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22851 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22852 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22853 * sysdeps/x86_64/configure.in: Moved to ...
22854 * sysdeps/x86_64/configure.ac: ... here.
22855 * sysdeps/x86_64/preconfigure.in: Moved to ...
22856 * sysdeps/x86_64/preconfigure.ac: ... here.
22857 * aclocal.m4: Change reference to configure.in to configure.ac.
22858 * config.h.in: Likewise.
22859 * manual/install.texi: Likewise.
22860 * manual/maint.texi: Likewise.
22861 * Makefile: Likewise.
22862 * malloc/Makefile: Likewise.
22863 * nscd/Makefile: Likewise.
22864 * Makeconfig: Change reference to configure.in and
22865 preconfigure.in to configure.ac and preconfigure.ac
22866 respectively.
22867 * INSTALL: Regenerated.
22868 * configure: Likewise.
22869 * sysdeps/gnu/configure: Likewise.
22870 * sysdeps/i386/configure: Likewise.
22871 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22872 * sysdeps/mach/configure: Likewise.
22873 * sysdeps/mach/hurd/configure: Likewise.
22874 * sysdeps/powerpc/configure: Likewise.
22875 * sysdeps/powerpc/powerpc32/configure: Likewise.
22876 * sysdeps/powerpc/powerpc64/configure: Likewise.
22877 * sysdeps/s390/s390-32/configure: Likewise.
22878 * sysdeps/s390/s390-64/configure: Likewise.
22879 * sysdeps/sh/configure: Likewise.
22880 * sysdeps/sparc/configure: Likewise.
22881 * sysdeps/unix/sysv/linux/configure: Likewise.
22882 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22883 * sysdeps/x86_64/configure: Likewise.
22884 * sysdeps/x86_64/preconfigure: Likewise.
22885
22886 2013-10-29 Andreas Schwab <schwab@suse.de>
22887
22888 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22889
22890 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22891
22892 * benchtests/pow-inputs: Add new inputs.
22893
22894 * benchtests/exp-inputs: Add new inputs.
22895
22896 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22897 conditional check for return value.
22898 (__cos32): Likewise.
22899
22900 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22901
22902 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22903 to provide a boost for large inputs with word alignment.
22904 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22905 implementation based on optimized PPC64 strcpy.
22906 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22907 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22908 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22909 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22910
22911 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22912
22913 [BZ #2801]
22914 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22915
22916 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22917
22918 [BZ #14876]
22919 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22920 * time/tst-strptime.c (day_tests): Add testcase.
22921
22922 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
22923
22924 [BZ #14029]
22925 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22926
22927 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22928
22929 [BZ #16074]
22930 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22931 MAP_FAILED on error.
22932
22933 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22934
22935 [BZ #16072]
22936 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22937 heap for large requests.
22938
22939 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22940
22941 [BZ #9954]
22942 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22943 result if the result has no associated interface.
22944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22945 interface for all 127.X.Y.Z addresses.
22946
22947 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
22948
22949 * locale/iso-639.def: Add Ligurian (lij)
22950
22951 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
22952
22953 [BZ #15825]
22954 * sunrpc/rpc_main.c: Document rpcgen -5.
22955
22956 2013-10-19 Michael Stahl <mstahl@redhat.com>
22957
22958 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22959
22960 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22961
22962 [BZ #10278]
22963 * posix/glob.c: Match only directories when trailing slash is present.
22964 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22965 (main): Add testcase.
22966
22967 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
22968
22969 [BZ #15670]
22970 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22971
22972 2013-10-18 Carlos O'Donell <carlos@redhat.com>
22973
22974 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22975 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22976 AUTH_DES and cindex for FIPS 140-2.
22977 (DES Encryption): Add cindex FIPS 46-3.
22978
22979 * locale/locarchive.h (struct locarhandle): Add fname.
22980 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22981 if an optional argument was specified to --list-archive,
22982 otherwise NULL.
22983 * locale/programs/locarchive.c (show_archive_content): Take new
22984 argument fname and pass it via ah.fname to open_archive.
22985 * locale/programs/localedef.h: Update decl.
22986 (open_archive): If AH->fname is non-null, open that file
22987 rather than the default file name, and don't ignore ENOENT.
22988 (create_archive): Set AH.fname to NULL.
22989 (delete_locales_from_archive): Likewise.
22990 (add_locales_to_archive): Likewise.
22991 * locale/programs/locfile.c (write_all_categories): Likewise.
22992
22993 2013-10-18 Joseph Myers <joseph@codesourcery.com>
22994 Aldy Hernandez <aldyh@redhat.com>
22995
22996 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22997 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22998 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22999 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23000 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23002 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23003 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23004 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23005 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23006 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23007 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23008 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23009 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23010 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23011 Likewise.
23012 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23013 Likewise.
23014 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23015 Likewise.
23016 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23017 Likewise.
23018 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23019 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23020 Likewise.
23021 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23022 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23023 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23024 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23025 Likewise.
23026 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23027 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23028 * sysdeps/powerpc/preconfigure: Likewise.
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23030 Likewise.
23031 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23032 Replace contents of file by #include of <fenv_libc.h>.
23033 * sysdeps/powerpc/soft-fp/sfp-machine.h
23034 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23035 and <sys/prctl.h>.
23036 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23042 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23049 Allow copysignl PLT reference to be missing.
23050
23051 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23052 Joseph Myers <joseph@codesourcery.com
23053
23054 [BZ #15948]
23055 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23056 single character.
23057 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23058
23059 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23060
23061 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23062 * elf/tst-tls1.c: Likewise.
23063 * elf/tst-tls10.h: Likewise.
23064 * elf/tst-tls14.c: Likewise.
23065 * elf/tst-tls2.c: Likewise.
23066 * elf/tst-tls3.c: Likewise.
23067 * elf/tst-tls4.c: Likewise.
23068 * elf/tst-tls5.c: Likewise.
23069 * elf/tst-tls6.c: Likewise.
23070 * elf/tst-tls7.c: Likewise.
23071 * elf/tst-tls8.c: Likewise.
23072 * elf/tst-tls9.c: Likewise.
23073 * elf/tst-tlsmod1.c: Likewise.
23074 * elf/tst-tlsmod13.c: Likewise.
23075 * elf/tst-tlsmod13a.c: Likewise.
23076 * elf/tst-tlsmod14a.c: Likewise.
23077 * elf/tst-tlsmod16a.c: Likewise.
23078 * elf/tst-tlsmod16b.c: Likewise.
23079 * elf/tst-tlsmod2.c: Likewise.
23080 * elf/tst-tlsmod3.c: Likewise.
23081 * elf/tst-tlsmod4.c: Likewise.
23082 * elf/tst-tlsmod5.c: Likewise.
23083 * elf/tst-tlsmod6.c: Likewise.
23084
23085 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23086
23087 [BZ #12486]
23088 * malloc/malloc.c: remove checks for statistics.
23089
23090 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23091
23092 [BZ #15277]
23093 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23094 * inet/tst-network.c: Add testcase.
23095
23096 2013-10-17 Andreas Schwab <schwab@suse.de>
23097
23098 [BZ #15218]
23099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23100 to determine canonical name.
23101
23102 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23103
23104 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23105 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23117 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23118 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23119 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23122 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23123 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23125 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23127 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23128 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23129 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23130 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23131 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23132 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23133 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23135 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23136 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23137 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23161 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23162
23163 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23164
23165 [BZ #16041]
23166 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23167 make result into a quiet NaN.
23168
23169 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23170
23171 * soft-fp/adddf3.c: Fix horizontal whitespace.
23172 * soft-fp/addsf3.c: Likewise.
23173 * soft-fp/addtf3.c: Likewise.
23174 * soft-fp/divdf3.c: Likewise.
23175 * soft-fp/divsf3.c: Likewise.
23176 * soft-fp/divtf3.c: Likewise.
23177 * soft-fp/double.h: Likewise.
23178 * soft-fp/eqdf2.c: Likewise.
23179 * soft-fp/eqsf2.c: Likewise.
23180 * soft-fp/eqtf2.c: Likewise.
23181 * soft-fp/extenddftf2.c: Likewise.
23182 * soft-fp/extended.h: Likewise.
23183 * soft-fp/extendsfdf2.c: Likewise.
23184 * soft-fp/extendsftf2.c: Likewise.
23185 * soft-fp/extendxftf2.c: Likewise.
23186 * soft-fp/fixdfdi.c: Likewise.
23187 * soft-fp/fixdfsi.c: Likewise.
23188 * soft-fp/fixdfti.c: Likewise.
23189 * soft-fp/fixsfdi.c: Likewise.
23190 * soft-fp/fixsfsi.c: Likewise.
23191 * soft-fp/fixsfti.c: Likewise.
23192 * soft-fp/fixtfdi.c: Likewise.
23193 * soft-fp/fixtfsi.c: Likewise.
23194 * soft-fp/fixtfti.c: Likewise.
23195 * soft-fp/fixunsdfdi.c: Likewise.
23196 * soft-fp/fixunsdfsi.c: Likewise.
23197 * soft-fp/fixunsdfti.c: Likewise.
23198 * soft-fp/fixunssfdi.c: Likewise.
23199 * soft-fp/fixunssfsi.c: Likewise.
23200 * soft-fp/fixunssfti.c: Likewise.
23201 * soft-fp/fixunstfdi.c: Likewise.
23202 * soft-fp/fixunstfsi.c: Likewise.
23203 * soft-fp/fixunstfti.c: Likewise.
23204 * soft-fp/floatdidf.c: Likewise.
23205 * soft-fp/floatdisf.c: Likewise.
23206 * soft-fp/floatditf.c: Likewise.
23207 * soft-fp/floatsidf.c: Likewise.
23208 * soft-fp/floatsisf.c: Likewise.
23209 * soft-fp/floatsitf.c: Likewise.
23210 * soft-fp/floattidf.c: Likewise.
23211 * soft-fp/floattisf.c: Likewise.
23212 * soft-fp/floattitf.c: Likewise.
23213 * soft-fp/floatundidf.c: Likewise.
23214 * soft-fp/floatundisf.c: Likewise.
23215 * soft-fp/floatunditf.c: Likewise.
23216 * soft-fp/floatunsidf.c: Likewise.
23217 * soft-fp/floatunsisf.c: Likewise.
23218 * soft-fp/floatunsitf.c: Likewise.
23219 * soft-fp/floatuntidf.c: Likewise.
23220 * soft-fp/floatuntisf.c: Likewise.
23221 * soft-fp/floatuntitf.c: Likewise.
23222 * soft-fp/fmadf4.c: Likewise.
23223 * soft-fp/fmasf4.c: Likewise.
23224 * soft-fp/fmatf4.c: Likewise.
23225 * soft-fp/gedf2.c: Likewise.
23226 * soft-fp/gesf2.c: Likewise.
23227 * soft-fp/getf2.c: Likewise.
23228 * soft-fp/ledf2.c: Likewise.
23229 * soft-fp/lesf2.c: Likewise.
23230 * soft-fp/letf2.c: Likewise.
23231 * soft-fp/muldf3.c: Likewise.
23232 * soft-fp/mulsf3.c: Likewise.
23233 * soft-fp/multf3.c: Likewise.
23234 * soft-fp/negdf2.c: Likewise.
23235 * soft-fp/negsf2.c: Likewise.
23236 * soft-fp/negtf2.c: Likewise.
23237 * soft-fp/op-1.h: Likewise.
23238 * soft-fp/op-2.h: Likewise.
23239 * soft-fp/op-4.h: Likewise.
23240 * soft-fp/op-8.h: Likewise.
23241 * soft-fp/op-common.h: Likewise.
23242 * soft-fp/quad.h: Likewise.
23243 * soft-fp/single.h: Likewise.
23244 * soft-fp/soft-fp.h: Likewise.
23245 * soft-fp/sqrtdf2.c: Likewise.
23246 * soft-fp/sqrtsf2.c: Likewise.
23247 * soft-fp/sqrttf2.c: Likewise.
23248 * soft-fp/subdf3.c: Likewise.
23249 * soft-fp/subsf3.c: Likewise.
23250 * soft-fp/subtf3.c: Likewise.
23251 * soft-fp/truncdfsf2.c: Likewise.
23252 * soft-fp/trunctfdf2.c: Likewise.
23253 * soft-fp/trunctfsf2.c: Likewise.
23254 * soft-fp/trunctfxf2.c: Likewise.
23255 * soft-fp/unorddf2.c: Likewise.
23256 * soft-fp/unordsf2.c: Likewise.
23257 * soft-fp/unordtf2.c: Likewise.
23258
23259 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23260
23261 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23262 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23263
23264 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23265
23266 * elf/dl-libc.c: Clear initfini list after freeing.
23267
23268 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23269
23270 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23271 * soft-fp/addsf3.c: Likewise.
23272 * soft-fp/addtf3.c: Likewise.
23273 * soft-fp/divdf3.c: Likewise.
23274 * soft-fp/divsf3.c: Likewise.
23275 * soft-fp/divtf3.c: Likewise.
23276 * soft-fp/double.h: Likewise.
23277 * soft-fp/eqdf2.c: Likewise.
23278 * soft-fp/eqsf2.c: Likewise.
23279 * soft-fp/eqtf2.c: Likewise.
23280 * soft-fp/extenddftf2.c: Likewise.
23281 * soft-fp/extended.h: Likewise.
23282 * soft-fp/extendsfdf2.c: Likewise.
23283 * soft-fp/extendsftf2.c: Likewise.
23284 * soft-fp/extendxftf2.c: Likewise.
23285 * soft-fp/fixdfdi.c: Likewise.
23286 * soft-fp/fixdfsi.c: Likewise.
23287 * soft-fp/fixdfti.c: Likewise.
23288 * soft-fp/fixsfdi.c: Likewise.
23289 * soft-fp/fixsfsi.c: Likewise.
23290 * soft-fp/fixsfti.c: Likewise.
23291 * soft-fp/fixtfdi.c: Likewise.
23292 * soft-fp/fixtfsi.c: Likewise.
23293 * soft-fp/fixtfti.c: Likewise.
23294 * soft-fp/fixunsdfdi.c: Likewise.
23295 * soft-fp/fixunsdfsi.c: Likewise.
23296 * soft-fp/fixunsdfti.c: Likewise.
23297 * soft-fp/fixunssfdi.c: Likewise.
23298 * soft-fp/fixunssfsi.c: Likewise.
23299 * soft-fp/fixunssfti.c: Likewise.
23300 * soft-fp/fixunstfdi.c: Likewise.
23301 * soft-fp/fixunstfsi.c: Likewise.
23302 * soft-fp/fixunstfti.c: Likewise.
23303 * soft-fp/floatdidf.c: Likewise.
23304 * soft-fp/floatdisf.c: Likewise.
23305 * soft-fp/floatditf.c: Likewise.
23306 * soft-fp/floatsidf.c: Likewise.
23307 * soft-fp/floatsisf.c: Likewise.
23308 * soft-fp/floatsitf.c: Likewise.
23309 * soft-fp/floattidf.c: Likewise.
23310 * soft-fp/floattisf.c: Likewise.
23311 * soft-fp/floattitf.c: Likewise.
23312 * soft-fp/floatundidf.c: Likewise.
23313 * soft-fp/floatundisf.c: Likewise.
23314 * soft-fp/floatunsidf.c: Likewise.
23315 * soft-fp/floatunsisf.c: Likewise.
23316 * soft-fp/floatuntidf.c: Likewise.
23317 * soft-fp/floatuntisf.c: Likewise.
23318 * soft-fp/floatuntitf.c: Likewise.
23319 * soft-fp/fmadf4.c: Likewise.
23320 * soft-fp/fmasf4.c: Likewise.
23321 * soft-fp/fmatf4.c: Likewise.
23322 * soft-fp/gedf2.c: Likewise.
23323 * soft-fp/gesf2.c: Likewise.
23324 * soft-fp/getf2.c: Likewise.
23325 * soft-fp/ledf2.c: Likewise.
23326 * soft-fp/lesf2.c: Likewise.
23327 * soft-fp/letf2.c: Likewise.
23328 * soft-fp/muldf3.c: Likewise.
23329 * soft-fp/mulsf3.c: Likewise.
23330 * soft-fp/multf3.c: Likewise.
23331 * soft-fp/negdf2.c: Likewise.
23332 * soft-fp/negsf2.c: Likewise.
23333 * soft-fp/negtf2.c: Likewise.
23334 * soft-fp/op-1.h: Likewise.
23335 * soft-fp/op-2.h: Likewise.
23336 * soft-fp/op-4.h: Likewise.
23337 * soft-fp/op-8.h: Likewise.
23338 * soft-fp/op-common.h: Likewise.
23339 * soft-fp/quad.h: Likewise.
23340 * soft-fp/single.h: Likewise.
23341 * soft-fp/soft-fp.h: Likewise.
23342 * soft-fp/sqrtdf2.c: Likewise.
23343 * soft-fp/sqrtsf2.c: Likewise.
23344 * soft-fp/sqrttf2.c: Likewise.
23345 * soft-fp/subdf3.c: Likewise.
23346 * soft-fp/subsf3.c: Likewise.
23347 * soft-fp/subtf3.c: Likewise.
23348 * soft-fp/truncdfsf2.c: Likewise.
23349 * soft-fp/trunctfdf2.c: Likewise.
23350 * soft-fp/trunctfsf2.c: Likewise.
23351 * soft-fp/trunctfxf2.c: Likewise.
23352 * soft-fp/unorddf2.c: Likewise.
23353 * soft-fp/unordsf2.c: Likewise.
23354 * soft-fp/unordtf2.c: Likewise.
23355
23356 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23357
23358 [BZ #15672]
23359 * misc/error.c (error_tail): Fix possible buffer overflow.
23360
23361 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23362
23363 [BZ #13028]
23364 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23365 address.
23366
23367 2013-10-14 P. J. McDermott <pj@pehjota.net>
23368
23369 [BZ #832]
23370 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23371 testing pipefail option.
23372
23373 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23374
23375 * soft-fp/double.h: Indent preprocessor directives inside #if.
23376 * soft-fp/extended.h: Likewise.
23377 * soft-fp/op-2.h: Likewise.
23378 * soft-fp/op-4.h: Likewise.
23379 * soft-fp/op-common.h: Likewise.
23380 * soft-fp/quad.h: Likewise.
23381 * soft-fp/single.h: Likewise.
23382 * soft-fp/soft-fp.h: Likewise.
23383
23384 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23385
23386 * iconv/iconv_prog.c: Fix typos.
23387 * stdio-common/psiginfo-data.h: Likewise.
23388
23389 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23390
23391 [BZ #15764]
23392 * locale/setlocale.c: Fix typo.
23393
23394 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23395
23396 [BZ #16036]
23397 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23398 signaling NaN arguments.
23399 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23400 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23401
23402 [BZ #14910]
23403 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23404 unordered operands.
23405 * soft-fp/gesf2.c (__gesf2): Likewise.
23406 * soft-fp/getf2.c (__getf2): Likewise.
23407 * soft-fp/ledf2.c (__ledf2): Likewise.
23408 * soft-fp/lesf2.c (__lesf2): Likewise.
23409 * soft-fp/letf2.c (__letf2): Likewise.
23410
23411 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23412 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23413 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23414 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23415 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23416 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23417 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23418 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23419 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23420 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23421 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23422 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23423 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23424 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23425 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23426 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23427 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23428 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23429 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23430 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23431 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23432 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23433 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23434 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23435 * soft-fp/floattidf.c (__floattidf): Likewise.
23436 * soft-fp/floattisf.c (__floattisf): Likewise.
23437 * soft-fp/floattitf.c (__floattitf): Likewise.
23438 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23439 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23440 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23441 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23442 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23443 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23444 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23445 * soft-fp/gesf2.c (__gesf2): Likewise.
23446 * soft-fp/getf2.c (__getf2): Likewise.
23447 * soft-fp/ledf2.c (__ledf2): Likewise.
23448 * soft-fp/lesf2.c (__lesf2): Likewise.
23449 * soft-fp/letf2.c (__letf2): Likewise.
23450
23451 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23452 Undefine and redefine.
23453 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23454 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23455 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23456 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23457 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23458 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23459 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23460 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23461 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23462 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23463 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23464 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23465 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23466 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23467 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23468
23469 [BZ #16032]
23470 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23471 without decrementing exponent if mantissa >= that for the
23472 denominator, not >.
23473 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23474 denominator, not >. Decrement exponent in < case instead of
23475 incrementing in >= case.
23476 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23477 without decrementing exponent if mantissa >= that for the
23478 denominator, not >.
23479
23480 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23481 computing saturated result for unsigned overflow.
23482
23483 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23484 Jeff Law <law@redhat.com>
23485
23486 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23487 (atan2Mp): Add systemtap probe marker.
23488 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23489 (__ieee754_log): Add systemtap probe marker.
23490 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23491 (atanMp): Add systemtap probe marker.
23492 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23493 (tanMp): Add systemtap probe marker.
23494 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23495 (__slowexp): Add systemtap probe marker.
23496 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23497 (__slowpow): Add systemtap probe marker.
23498 * manual/probes.texi: Document probes.
23499
23500 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23501
23502 [BZ #15362]
23503 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23504 written.
23505 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23506 written.
23507 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23508 written to buffer but not flushed.
23509 * libio/iofwrite_u.c: Likewise.
23510 * libio/iopadn.c: Return bytes returned even if EOF was
23511 encountered.
23512 * libio/iowpadn.c: Likewise.
23513 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23514 if _IO_padn does not write the whole buffer.
23515 [!COMPILE_WPRINTF] (PAD): Likewise.
23516
23517 2013-10-10 David S. Miller <davem@davemloft.net>
23518
23519 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23520 directory block.
23521
23522 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23523
23524 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23525 instead of FSF address.
23526 * soft-fp/fixdfti.c: Likewise.
23527 * soft-fp/fixsfti.c: Likewise.
23528 * soft-fp/fixtfti.c: Likewise.
23529 * soft-fp/fixunsdfti.c: Likewise.
23530 * soft-fp/fixunssfti.c: Likewise.
23531 * soft-fp/fixunstfti.c: Likewise.
23532 * soft-fp/floattidf.c: Likewise.
23533 * soft-fp/floattisf.c: Likewise.
23534 * soft-fp/floattitf.c: Likewise.
23535 * soft-fp/floatuntidf.c: Likewise.
23536 * soft-fp/floatuntisf.c: Likewise.
23537 * soft-fp/floatuntitf.c: Likewise.
23538 * soft-fp/trunctfxf2.c: Likewise.
23539
23540 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23541 * soft-fp/fixdfti.c: Likewise.
23542 * soft-fp/fixsfti.c: Likewise.
23543 * soft-fp/fixtfti.c: Likewise.
23544 * soft-fp/fixunsdfti.c: Likewise.
23545 * soft-fp/fixunssfti.c: Likewise.
23546 * soft-fp/fixunstfti.c: Likewise.
23547 * soft-fp/floattidf.c: Likewise.
23548 * soft-fp/floattisf.c: Likewise.
23549 * soft-fp/floattitf.c: Likewise.
23550 * soft-fp/floatuntidf.c: Likewise.
23551 * soft-fp/floatuntisf.c: Likewise.
23552 * soft-fp/floatuntitf.c: Likewise.
23553 * soft-fp/trunctfxf2.c: Likewise.
23554
23555 2013-10-10 David S. Miller <davem@davemloft.net>
23556
23557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23558
23559 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23560
23561 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23562 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23563 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23564 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23565 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23566 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23567 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23568
23569 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23570 for NaNs before doing comparisons on argument.
23571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23572 Likewise.
23573
23574 2013-10-10 Will Newton <will.newton@linaro.org>
23575
23576 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23577 passed to _int_memalign does not overflow.
23578
23579 2013-10-10 Torvald Riegel <triegel@redhat.com>
23580
23581 * scripts/bench.pl: Add include-sources directive.
23582 * benchtests/README: Update documentation.
23583
23584 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23585
23586 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23587 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23588 instead of FP_INIT_ROUNDMODE.
23589 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23590 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23591
23592 [BZ #16034]
23593 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23594 copy class of input value.
23595 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23596 not handle exceptions.
23597 * soft-fp/negsf2.c (__negsf2): Likewise.
23598 * soft-fp/negtf2.c (__negtf2): Likewise.
23599 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23600
23601 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23602
23603 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23604 semicolon. From Linux kernel.
23605
23606 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23607
23608 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23609
23610 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23611
23612 [BZ #156]
23613 * manual/socket.texi: Added statement about buffer
23614 for gethostbyname2_r.
23615
23616 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23617
23618 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23619 Use .p2align directive instead, throughout.
23620 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23621 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23622 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23623 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23624 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23625 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23626 * sysdeps/x86_64/strchr.S: Likewise.
23627 * sysdeps/x86_64/strrchr.S: Likewise.
23628
23629 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23630
23631 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23632
23633 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23634
23635 * sysdeps/generic/math_private.h (__mpsin1): Remove
23636 declaration.
23637 (__mpcos1): Likewise.
23638 (__mpsin): New argument __range_reduce.
23639 (__mpcos): Likewise.
23640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23641 (slow): Use __mpsin and __mpcos.
23642 (slow1): Likewise.
23643 (slow2): Likewise.
23644 (sloww): Likewise.
23645 (sloww1): Likewise.
23646 (sloww2): Likewise.
23647 (bsloww): Likewise.
23648 (bsloww1): Likewise.
23649 (bsloww2): Likewise.
23650 (cslow2): Likewise.
23651 (csloww): Likewise.
23652 (csloww1): Likewise.
23653 (csloww2): Likewise.
23654 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23655 range_reduce. Merge in __mpsin1.
23656 (__mpcos): Likewise.
23657 (__mpsin1): Remove.
23658 (__mpcos1): Likewise.
23659
23660 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23661
23662 * locale/loadlocale.c (_nl_intern_locale_data): Use
23663 LOCFILE_ALIGNED_P.
23664 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23665 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23666 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23667 obstack data is appropriately aligned.
23668 (obstack_int32_grow_fast): Likewise.
23669 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23670 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23671 (add_locale_uint32_array): Likewise.
23672
23673 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23674
23675 * benchtests/Makefile: Remove ARGLIST and RET variables.
23676 ($(objpfx)bench-%.c): Pass only function name to the script.
23677 * benchtests/README: Update documentation.
23678 * benchtests/acos-inputs: Add new directives.
23679 * benchtests/acosh-inputs: Likewise.
23680 * benchtests/asin-inputs: Likewise.
23681 * benchtests/asinh-inputs: Likewise.
23682 * benchtests/atan-inputs: Likewise.
23683 * benchtests/atanh-inputs: Likewise.
23684 * benchtests/cos-inputs: Likewise.
23685 * benchtests/cosh-inputs: Likewise.
23686 * benchtests/exp-inputs: Likewise.
23687 * benchtests/log-inputs: Likewise.
23688 * benchtests/pow-inputs: Likewise.
23689 * benchtests/rint-inputs: Likewise.
23690 * benchtests/sin-inputs: Likewise.
23691 * benchtests/sinh-inputs: Likewise.
23692 * benchtests/tan-inputs: Likewise.
23693 * benchtests/tanh-inputs: Likewise.
23694 * scripts/bench.pl: Add support for new directives.
23695
23696 2013-10-07 Alan Modra <amodra@gmail.com>
23697
23698 * README: Fix careless merge.
23699
23700 2013-10-05 Alan Modra <amodra@gmail.com>
23701
23702 * NEWS: Mention powerpc64le support and bugs fixed.
23703 * README: Both big-endian and little-endian powerpc64 supported.
23704
23705 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23706
23707 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23708 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23709 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23710 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23711
23712 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23713
23714 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23715 match prototype.
23716
23717 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23718
23719 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23720 Move -mhard-float appending from
23721 ports/sysdeps/powerpc/powerpc32/Makefile.
23722 [$(with-fp) = yes] (ASFLAGS): Likewise.
23723 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23724 * sysdeps/powerpc/nofpu: Move directory from
23725 ports/sysdeps/powerpc/nofpu.
23726 * sysdeps/powerpc/soft-fp: Move directory from
23727 ports/sysdeps/powerpc/soft-fp.
23728 * sysdeps/powerpc/powerpc32/405: Move directory from
23729 ports/sysdeps/powerpc/powerpc32/405.
23730 * sysdeps/powerpc/powerpc32/440: Move directory from
23731 ports/sysdeps/powerpc/powerpc32/440.
23732 * sysdeps/powerpc/powerpc32/464: Move directory from
23733 ports/sysdeps/powerpc/powerpc32/464.
23734 * sysdeps/powerpc/powerpc32/476: Move directory from
23735 ports/sysdeps/powerpc/powerpc32/476.
23736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23737 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23739 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23741 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23743 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23745 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23746 * README: Update for powerpc-*-linux-gnu software floating point
23747 support in libc.
23748
23749 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23750 case to powerpc/powerpc32*.
23751 * sysdeps/unix/sysv/linux/configure: Regenerated.
23752
23753 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23754 (_FPU_MASK_OM): Define as 0x04.
23755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23757 0x00c10080.
23758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23759 0x0000003c.
23760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23761
23762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23763 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23764 getcontext_e500.
23765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23766 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23767 setcontext_e500.
23768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23769 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23770 and setcontext_e500.
23771
23772 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23773
23774 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23775
23776 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23777
23778 * manual/threads.texi (Default Thread Attributes): Fix typo.
23779
23780 2013-10-04 Will Newton <will.newton@linaro.org>
23781
23782 * malloc/Makefile: Add tst-memalign.
23783 * malloc/tst-memalign.c: New file.
23784
23785 * malloc/tst-posix_memalign.c: Add comments.
23786 (do_test): Add comments and call free on all potentially
23787 allocated pointers. Add space after cast.
23788
23789 * malloc/tst-pvalloc.c: Add comments.
23790 (do_test): Add comments and call free on all potentially
23791 allocated pointers. Remove duplicate check for NULL pointer.
23792 Add space after cast.
23793
23794 * malloc/tst-valloc.c: Add comments.
23795 (do_test): Add comments and call free on all potentially
23796 allocated pointers. Remove duplicate check for NULL pointer.
23797 Add space after cast.
23798
23799 2013-10-04 Alan Modra <amodra@gmail.com>
23800
23801 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23802 Use stdint types in rather than __attribute__((mode())).
23803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23804
23805 2013-10-04 Alan Modra <amodra@gmail.com>
23806
23807 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23808 Correct handling of unaligned relocs for little-endian.
23809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23810
23811 2013-10-04 Alan Modra <amodra@gmail.com>
23812
23813 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23814 * configure: Regenerate.
23815 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23816 * shlib-versions: Likewise.
23817
23818 2013-10-04 Alan Modra <amodra@gmail.com>
23819
23820 * string/tester.c (test_memrchr): Increment reported test cycle.
23821
23822 2013-10-04 Alan Modra <amodra@gmail.com>
23823
23824 * string/test-memcpy.c (do_one_test): When reporting errors, print
23825 string address and don't overrun end of string.
23826
23827 2013-10-04 Alan Modra <amodra@gmail.com>
23828
23829 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23830 insrdi. Make better use of reg selection to speed exit slightly.
23831 Schedule entry path a little better. Remove useless "are we done"
23832 checks on entry to main loop. Handle wrapping around zero address.
23833 Correct main loop count. Handle single left-over word from main
23834 loop inline rather than by using loop_small. Remove extra word
23835 case in loop_small caused by wrong loop count. Add little-endian
23836 support.
23837 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23838 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23839 cache hint.
23840 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23841 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23842 support. Avoid rlwimi.
23843 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23844
23845 2013-10-04 Alan Modra <amodra@gmail.com>
23846
23847 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23848 insrdi. Formatting.
23849 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23850 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23851 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23852 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23853 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23854 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23855
23856 2013-10-04 Alan Modra <amodra@gmail.com>
23857
23858 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23859 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23860 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23861 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23862 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23863 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23864 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23866 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23867 use of regs. Use power7 mtocrf. Tidy function tails.
23868
23869 2013-10-04 Alan Modra <amodra@gmail.com>
23870
23871 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23872 Formatting. Consistently use rXXX register defines or rN defines.
23873 Use early exit labels that avoid restoring unused non-volatile regs.
23874 Make cr field use more consistent with rWORDn compares. Rename
23875 regs used as shift registers for unaligned loop, using rN defines
23876 for short lifetime/multiple use regs.
23877 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23878 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23879 addi 1,1,64 to pop stack frame. Simplify return value code.
23880 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23881
23882 2013-10-04 Alan Modra <amodra@gmail.com>
23883
23884 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23885 support. Correct typos, formatting. Optimize tail. Use insrdi
23886 rather than rlwimi.
23887 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23888 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23889 little-endian support. Correct typos.
23890 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23891 rather than rlwimi.
23892 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23893 in loop and entry code to keep "and." results.
23894 (strchr): Add little-endian support. Comment. Move cntlzd
23895 earlier in tail.
23896 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23897
23898 2013-10-04 Alan Modra <amodra@gmail.com>
23899
23900 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23901 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23902 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23903 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23904
23905 2013-10-04 Alan Modra <amodra@gmail.com>
23906
23907 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23908 (rTMP): Define as r11.
23909 (strcmp): Add little-endian support. Optimise tail.
23910 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23911 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23912 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23913 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23914 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23917
23918 2013-10-04 Alan Modra <amodra@gmail.com>
23919
23920 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23921 little-endian support. Remove unnecessary "are we done" tests.
23922 Handle "s" wrapping around zero and extremely large "size".
23923 Correct main loop count. Handle single left-over word from main
23924 loop inline rather than by using small_loop. Correct comments.
23925 Delete "zero" tail, use "end_max" instead.
23926 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23927
23928 2013-10-04 Alan Modra <amodra@gmail.com>
23929
23930 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23931 support. Don't branch over align.
23932 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23933 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23934 support. Rearrange tmp reg use to suit. Comment.
23935 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23936
23937 2013-10-04 Alan Modra <amodra@gmail.com>
23938
23939 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23940
23941 2013-10-04 Alan Modra <amodra@gmail.com>
23942
23943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23944 conditional form of branch and link when obtaining pc.
23945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23946
23947 2013-10-04 Alan Modra <amodra@gmail.com>
23948
23949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23950 HIWORD/LOWORD.
23951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23953
23954 2013-10-04 Alan Modra <amodra@gmail.com>
23955
23956 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23957 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23958 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23959 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23960 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23961 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23962 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23963 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23964 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23965 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23966
23967 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23968 Alistair Popple <alistair@ozlabs.au.ibm.com>
23969 Alan Modra <amodra@gmail.com>
23970
23971 [BZ #15723]
23972 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23973 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23974 _dl_hwcap access for little-endian.
23975 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23976 destroy vmx regs when saving unaligned.
23977 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23978 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23979 destroy vmx regs when saving unaligned.
23980
23981 2013-10-04 Alan Modra <amodra@gmail.com>
23982
23983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23984 Don't use a union to pack hi/low value.
23985
23986 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
23987
23988 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23989 for little-endian.
23990 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23991 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23992 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23993 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23994 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23995
23996 2013-10-04 Alan Modra <amodra@gmail.com>
23997
23998 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23999 constants to usual value for .cst8 section, and remove redundant
24000 high address load.
24001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24002 constant for 0x1p52. Load little-endian words of double from
24003 correct stack offsets.
24004
24005 2013-10-04 Alan Modra <amodra@gmail.com>
24006
24007 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24008 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24009 words of double from correct stack offsets.
24010 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24011 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24012 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24013 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24014 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24015 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24016 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24017 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24018 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24019 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24020 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24021 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24022 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24023 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24024 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24025 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24026 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24027
24028 2013-10-04 Alan Modra <amodra@gmail.com>
24029
24030 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24031 64-bit int/double union.
24032 (_FPU_SETCW): Likewise.
24033 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24034 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24035
24036 2013-10-04 Alan Modra <amodra@gmail.com>
24037
24038 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24039 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24040
24041 2013-10-04 Alan Modra <amodra@gmail.com>
24042
24043 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24044 use vector int constants.
24045 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24046
24047 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24048
24049 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24050 array with long long.
24051 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24052 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24053 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24054 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24055 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24056 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24057 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24058 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24059 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24060 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24061 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24062 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24063 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24064
24065 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24066
24067 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24068 (__signbit): Likewise. Correct for little-endian.
24069 (__signbitl): Call __signbit.
24070 (lrint): Correct for little-endian.
24071 (lrintf): Call lrint.
24072
24073 2013-10-04 Alan Modra <amodra@gmail.com>
24074
24075 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24076 union 32-bit int array member with 64-bit int array.
24077 (t515, tm256): Double rather than long double.
24078 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24079
24080 2013-10-04 Alan Modra <amodra@gmail.com>
24081
24082 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24083 Delete.
24084 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24085 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24086 version of math_ldbl.h.
24087
24088 2013-10-04 Alan Modra <amodra@gmail.com>
24089
24090 [BZ #15734], [BZ #15735]
24091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24092 all uses of ieee875 long double macros and unions. Simplify test
24093 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24094 ldbl_extract_mantissa value for ix,iy exponents. Properly
24095 normalize after ldbl_extract_mantissa, and don't add hidden bit
24096 already handled. Don't treat low word of ieee854 mantissa like
24097 low word of IBM long double and mask off bit when testing for
24098 zero.
24099 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24100 all uses of ieee875 long double macros and unions. Simplify tests
24101 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24102 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24103 two1022, instead use their values. Recognise that tests for large
24104 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24105 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24106 Rewrite all uses of ieee875 long double macros and unions. Simplify
24107 test for 0.0L and nan. Correct negation.
24108 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24109 ieee875 long double macros and unions. Correct output for large
24110 magnitude x. Correct absolute value calculation.
24111 (__erfcl): Likewise.
24112 * math/libm-test.inc: Add tests for errors discovered in IBM long
24113 double versions of fmodl, remainderl, erfl and erfcl.
24114
24115 2013-10-04 Alan Modra <amodra@gmail.com>
24116
24117 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24118 all uses of ieee854 long double macros and unions. Simplify tests
24119 for long doubles that are fully specified by the high double.
24120 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24121 Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24123 Remove dead code too.
24124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24125 (__ieee754_ynl): Likewise.
24126 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24127 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24129 Remove dead code too.
24130 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24132 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24133 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24134 Simplify.
24135 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24136 Simplify.
24137 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24138 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24140 Comment on variable precision.
24141 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24143 Likewise.
24144 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24145 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24147 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24148 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24149
24150 2013-10-04 Alan Modra <amodra@gmail.com>
24151
24152 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24154 all uses of ieee854 long double macros and unions.
24155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24159 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24160 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24161 Likewise.
24162 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24163 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24164 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24165 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24166 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24168 Simplify sign and nan test too.
24169 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24170 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24171 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24172 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24173 Likewise.
24174 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24175 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24176 Likewise.
24177 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24179 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24180 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24182 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24183
24184 2013-10-04 Alan Modra <amodra@gmail.com>
24185
24186 * stdio-common/printf_size.c (__printf_size): Don't use
24187 union ieee854_long_double in fpnum union.
24188 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24189 signbit macro to retrieve sign from long double.
24190 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24191 retrieve sign from long double.
24192 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24193 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24194 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24195 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24196 * math/test-misc.c (main): Don't use union ieee854_long_double.
24197
24198 2013-10-04 Alan Modra <amodra@gmail.com>
24199
24200 [BZ #15680]
24201 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24202 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24203 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24204 calculation. Remove unnecessary test for denormal exponent.
24205 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24206 Correct handling of denormals. Avoid undefined shift behaviour.
24207 Correct normalisation of low mantissa when low double is denormal.
24208 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24209 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24210 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24211 Correct normalisation of low mantissa. Test for overflow of high
24212 mantissa and normalise.
24213 (ldbl_nearbyint): Use more readable constant for two52.
24214 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24215 (__mpn_construct_long_double): Fix test for overflow of high
24216 mantissa and correct normalisation. Avoid undefined shift.
24217
24218 2013-10-04 Alan Modra <amodra@gmail.com>
24219
24220 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24221 (union ibm_extended_long_double): Define as an array of ieee754_double.
24222 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24223 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24224 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24225 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24229 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24233
24234 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24235
24236 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24237 page size instead of calling getpagesize.
24238
24239 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24240 (LOCFILE_ALIGN_MASK): Likewise.
24241 (LOCFILE_ALIGN_UP): Likewise.
24242 (LOCFILE_ALIGNED_P): Likewise.
24243 * locale/programs/ld-collate.c (collate_output): Use the new
24244 macros instead of __alignof__ (int32_t).
24245 * locale/weight.h (findidx): Likewise.
24246
24247 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24248
24249 [BZ #431]
24250 * manual/string.texi: Fix strncat and wcsncat.
24251
24252 2013-10-03 Brooks Moses <bmoses@google.com>
24253
24254 [BZ #15915]
24255 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24256 * Makerules: ...here, and adjust associated comments.
24257
24258 2013-10-02 Will Newton <will.newton@linaro.org>
24259
24260 * malloc/Makefile: Add tst-pvalloc.
24261 * malloc/tst-pvalloc.c: New file.
24262
24263 2013-10-02 Will Newton <will.newton@linaro.org>
24264
24265 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24266 improve test coverage.
24267
24268 2013-10-02 Will Newton <will.newton@linaro.org>
24269
24270 * malloc/Makefile: Add tst-posix_memalign.
24271 * malloc/tst-posix_memalign.c: New file.
24272
24273 2013-10-01 Eric Blake <eblake@redhat.com>
24274
24275 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24276 Use __THROWNL rather than __THROW on static functions.
24277
24278 2013-09-30 Petr Machata <pmachata@redhat.com>
24279
24280 * elf/elf.h (R_AARCH64_ABS16): New macro.
24281 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24282 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24283 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24284 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24285 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24286 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24287 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24288 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24289 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24290 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24291 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24292 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24293 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24294 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24295 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24296 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24297 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24298 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24299 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24300 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24301 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24302 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24303 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24304 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24305 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24306 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24307 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24308 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24309 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24310 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24311 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24312 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24313 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24314 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24315 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24316 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24317 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24318 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24319 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24320 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24321 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24322 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24323 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24324 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24325 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24326 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24327 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24328 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24329 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24330 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24331 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24332 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24333 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24334 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24335 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24336 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24337 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24338 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24339 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24340 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24341 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24342 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24343 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24344 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24345 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24346 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24347 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24348 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24349 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24350 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24351 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24352 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24353 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24354 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24355 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24356 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24357 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24358 (R_AARCH64_TLSDESC_LDR): Likewise.
24359 (R_AARCH64_TLSDESC_ADD): Likewise.
24360 (R_AARCH64_TLSDESC_CALL): Likewise.
24361
24362 2013-09-30 Andreas Schwab <schwab@suse.de>
24363
24364 [BZ #15048]
24365 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24366 the nss database lookup.
24367 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24369
24370 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24371
24372 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24373
24374 2013-09-28 P. J. McDermott <pj@pehjota.net>
24375
24376 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24377 ${Bash-specific parameter/pattern/string} parameter expansion.
24378 * sysdeps/unix/make-syscalls.sh: Likewise.
24379
24380 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24381
24382 * sysdeps/sh/stackguard-macros.h: New file.
24383
24384 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24385
24386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24388 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24389 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24390 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24391 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24392
24393 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24394
24395 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24396 Fix thread ID register.
24397
24398 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24399
24400 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24401 [POSIX || UNIX98]: Require rather than permitting all symbols from
24402 <time.h>.
24403 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24404 element of struct sched_param.
24405 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24406 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24407 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24408 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24409 constant.
24410
24411 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24412
24413 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24414 argument calculation.
24415
24416 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24417
24418 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24419 Expect macro.
24420 [POSIX] (pthread_attr_t): Do not require type.
24421 [POSIX] (pthread_cond_t): Likewise.
24422 [POSIX] (pthread_condattr_t): Likewise.
24423 [POSIX] (pthread_key_t): Likewise.
24424 [POSIX] (pthread_mutex_t): Likewise.
24425 [POSIX] (pthread_mutexattr_t): Likewise.
24426 [POSIX] (pthread_once_t): Likewise.
24427 [POSIX] (pthread_t): Likewise.
24428 [POSIX-based standards] (pthread_atfork): Expect function.
24429
24430 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24431 Richard Sandiford <richard@codesourcery.com>
24432
24433 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24434 (swap_endianness_p): New extern variable.
24435 (set_big_endian): New inline function.
24436 (maybe_swap_uint32): Likewise.
24437 (maybe_swap_uint32_array): Likewise.
24438 (maybe_swap_uint32_obstack): Likewise.
24439 * locale/programs/locfile.c: Include <stdbool.h>.
24440 (swap_endianness_p): New variable.
24441 (add_locale_uint32): Call maybe_swap_uint32.
24442 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24443 (write_locale_data): Call maybe_swap_uint32_array.
24444 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24445 maybe_swap_uint32.
24446 (obstack_int32_grow_fast): Likewise.
24447 (output_weightwc): Call maybe_swap_uint32_obstack.
24448 (collate_output): Likewise.
24449 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24450 (OPT_LITTLE_ENDIAN): Likewise.
24451 (options): Add --little-endian and --big-endian options.
24452 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24453 * locale/programs/locarchive.c: Include "locfile.h".
24454 (GET): New macro.
24455 (SET): Likewise.
24456 (INC): Likewise.
24457 (create_archive): Use the new macros to access fields of
24458 structures directly mapped from or written to locale archives.
24459 (oldlocrecentcmp): Likewise.
24460 (enlarge_archive): Likewise.
24461 (insert_name): Likewise.
24462 (add_alias): Likewise.
24463 (add_locale): Likewise.
24464 (delete_locales_from_archive): Likewise.
24465 (show_archive_content): Likewise.
24466 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24467 locale data.
24468
24469 2013-09-24 Roland McGrath <roland@hack.frob.com>
24470
24471 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24472 http://www.gnu.org/doc/freemanuals.texi.
24473 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24474
24475 2013-09-24 Will Newton <will.newton@linaro.org>
24476
24477 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24478 macro.
24479
24480 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24481
24482 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24483 unsigned char.
24484
24485 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24486
24487 * manual/threads.texi (POSIX Threads): Fix a typo.
24488
24489 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24490
24491 [BZ #14547]
24492 * string/tst-strcoll-overflow.c: New test case.
24493 * string/Makefile (xtests): Add tst-strcoll-overflow.
24494 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24495 cache if string sizes may cause integer overflow.
24496
24497 [BZ #14547]
24498 * string/strcoll_l.c (coll_seq): New members rule, idx,
24499 save_idx and back_us.
24500 (get_next_seq_nocache): New function.
24501 (do_compare_nocache): New function.
24502 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24503 when malloc fails.
24504
24505 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24506
24507 [BZ #15754]
24508 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24509 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24510 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24511
24512 [BZ #15754]
24513 * elf/Makefile (tests): Add tst-ptrguard1.
24514 (tests-static): Add tst-ptrguard1-static.
24515 (tst-ptrguard1-ARGS): Define.
24516 (tst-ptrguard1-static-ARGS): Define.
24517 * elf/tst-ptrguard1.c: New file.
24518 * elf/tst-ptrguard1-static.c: New file.
24519 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24520 * sysdeps/i386/stackguard-macros.h: Likewise.
24521 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24522 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24523 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24524 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24525 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24526 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24527
24528 2013-09-23 Hector Marco <hecmargi@upv.es>
24529 Ismael Ripoll <iripoll@disca.upv.es>
24530 Carlos O'Donell <carlos@redhat.com>
24531
24532 [BZ #15754]
24533 * sysdeps/generic/stackguard-macros.h: Define
24534 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24535 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24536 Define __pointer_chk_guard_local.
24537 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24538 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24539
24540 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24541
24542 [BZ #15859]
24543 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24544
24545 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24546
24547 * include/string.h (__ffs): Declare as hidden.
24548 * string/ffs.c (__ffs): Define as hidden.
24549 * sysdeps/i386/ffs.c (__ffs): Likewise.
24550 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24551 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24552 * sysdeps/s390/ffs.c (__ffs): Likewise.
24553 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24554
24555 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24556
24557 * NEWS: Mention malloc probes.
24558
24559 * malloc/arena.c (new_heap): New memory_heap_new probe.
24560 (grow_heap): New memory_heap_more probe.
24561 (shrink_heap): New memory_heap_less probe.
24562 (heap_trim): New memory_heap_free probe.
24563 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24564 (systrim): New memory_sbrk_less probe.
24565 * manual/probes.texi: Document them.
24566
24567 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24568 * manual/probes.texi: Document it.
24569
24570 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24571 (__libc_realloc): Add memory_realloc_retry probe.
24572 (__libc_memalign): Add memory_memalign_retry probe.
24573 (__libc_valloc): Add memory_valloc_retry probe.
24574 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24575 (__libc_calloc): Add memory_calloc_retry probe.
24576 * manual/probes.texi: Document them.
24577
24578 * malloc/arena.c (get_free_list): Add probe
24579 memory_arena_reuse_free_list.
24580 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24581 and memory_arena_reuse.
24582 (arena_get2) [!PER_THREAD]: Likewise.
24583 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24584 memory_arena_reuse_realloc.
24585 * manual/probes.texi: Document them.
24586
24587 * malloc/malloc.c (__libc_free): Add
24588 memory_mallopt_free_dyn_thresholds probe.
24589 (__libc_mallopt): Add multiple memory_mallopt probes.
24590 * manual/probes.texi: Document them.
24591
24592 * malloc/malloc.c: Include stap-probe.h.
24593 (__libc_mallopt): Add memory_mallopt probe.
24594 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24595 * manual/probes.texi: New.
24596 * manual/Makefile (chapters): Add probes.
24597 * manual/threads.texi: Set next node.
24598
24599 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24600
24601 [BZ #15963, #13985]
24602 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24603 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24604 Add `Chinese' to `nan' entry name.
24605
24606 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24607
24608 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24609 (POLYNOMIAL): Likewise.
24610 (TAYLOR_SINCOS): Likewise.
24611 (TAYLOR_SLOW): Likewise.
24612 (__sin): Use TAYLOR_SINCOS.
24613 (__cos): Likewise.
24614 (slow): Use TAYLOR_SLOW.
24615 (sloww): Likewise.
24616 (bsloww): Likewise.
24617 (csloww): Likewise.
24618
24619 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24620
24621 * stdlib/strtod_l.c: Fix buffer overrun.
24622
24623 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24624
24625 * benchtests/Makefile (bench): Add sincos.
24626 * benchtests/bench-sincos.c: New file.
24627
24628 * math/libm-test.inc (cos_test_data): New test inputs.
24629 (sin_test_data): Likewise.
24630
24631 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24632 macro.
24633 (__sin): Use it.
24634 (__cos): Likewise.
24635 (slow1): Likewise.
24636 (slow2): Likewise.
24637 (sloww1): Likewise.
24638 (sloww2): Likewise.
24639 (bsloww1): Likewise.
24640 (bsloww2): Likewise.
24641 (cslow2): Likewise.
24642 (csloww1): Likewise.
24643 (csloww2): Likewise.
24644
24645 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24646 function.
24647 (__sin): Use it.
24648 (__cos): Likewise.
24649
24650 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24651 gotos.
24652 (__cos): Likewise.
24653
24654 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24655
24656 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24657 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24658 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24659 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24660 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24661 * elf/cache.c (print_entry): Handle the new cache flags.
24662
24663 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24664 Aldy Hernandez <aldyh@redhat.com>
24665
24666 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24667 Change condition to [_SOFT_FLOAT].
24668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24680 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24683 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24684 declaration.
24685
24686 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24687
24688 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24689 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24690 (__longjmp): Use LOAD_GP to load saved GPRs.
24691 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24692 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24693 (__sigsetjmp): Use SAVE_GP to save GPRs.
24694
24695 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24696 Do not append -msoft-float.
24697 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24698
24699 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24700
24701 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24702
24703 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24704
24705 [BZ #15966]
24706 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24707 (_FPU_GETCW): Use initial "__" on variable and field names but not
24708 on macro parameter name.
24709 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24710 parentheses around reference to macro parameter.
24711
24712 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24713
24714 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24715 prototype.
24716 (ctype_startup): Use uint32_t in cast and sizeof for
24717 ctype->charnames.
24718
24719 2013-09-11 Jia Liu <proljc@gmail.com>
24720
24721 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24722 __daddr_t_defined.
24723 [__FreeBSD__]: Likewise.
24724
24725 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24726
24727 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24728 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24729 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24730 (strchr): Remove __strchr_sse42 ifunc selection.
24731 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24732 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24733
24734 2013-09-11 Will Newton <will.newton@linaro.org>
24735
24736 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24737 parameter to RES. Remove hardcoded 1000 value.
24738 * benchtests/bench-skeleton.c (main): Pass RES parameter
24739 to TIMING_INIT and multiply result by 1000.
24740
24741 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24742
24743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24744
24745 2013-09-11 Andreas Schwab <schwab@suse.de>
24746
24747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24748 if not defined.
24749 (O_TMPFILE) [__USE_GNU]: Define.
24750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24751 Define.
24752
24753 2013-09-11 Will Newton <will.newton@linaro.org>
24754
24755 [BZ #15857]
24756 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24757 does not overflow.
24758
24759 2013-09-11 Will Newton <will.newton@linaro.org>
24760
24761 [BZ #15856]
24762 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24763 does not overflow.
24764
24765 2013-09-11 Will Newton <will.newton@linaro.org>
24766
24767 [BZ #15855]
24768 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24769 does not overflow.
24770
24771 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24772
24773 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24774 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24775 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24776 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24777 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24778
24779 2013-09-10 Allan McRae <allan@archlinux.org>
24780
24781 [BZ #15748]
24782 * manual/arith.texi (Parsing of Floats): Clarify
24783 cross-reference.
24784
24785 [BZ #15849]
24786 * manual/install.texi (Running make install): Mention
24787 --enable-pt-chown.
24788 * INSTALL: Regenerated.
24789
24790 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24791
24792 * csu/init-first.c (_init): Remove the !SHARED condition around
24793 FPU control word initialization.
24794 * elf/dl-support.c (_dl_fpu_control): New variable.
24795 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24796 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24797 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24798 * math/test-fpucw-static.c: New file.
24799 * math/test-fpucw-ieee.c: New file.
24800 * math/test-fpucw-ieee-static.c: New file.
24801 * math/Makefile (tests): Add `test-fpucw-ieee' and
24802 `$(tests-static)'.
24803 (tests-static): New variable.
24804 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24805 dependency to...
24806 [($(build-shared),yes)]
24807 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24808 ... this.
24809 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24810 New dependency.
24811
24812 2013-09-09 Allan McRae <allan@archlinux.org>
24813
24814 [BZ #15939]
24815 * manual/string.texi (Collation Functions): Fix typo in
24816 strcoll example.
24817 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24818
24819 [BZ #15893]
24820 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24821
24822 [BZ #15892]
24823 * libio/memstream.c (open_memstream): Fix memory leak.
24824 * libio/wmemstream.c (open_wmemstream): Likewise.
24825
24826 [BZ #15895]
24827 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24828
24829 2013-09-09 Will Newton <will.newton@linaro.org>
24830
24831 * malloc/Makefile: Add tst-realloc to tests.
24832 * malloc/tst-realloc.c: New file.
24833
24834 2013-09-09 Allan McRae <allan@archlinux.org>
24835
24836 [BZ #15844]
24837 * COPYING: Update from GNU website to fix FSF address.
24838 * COPYING.LIB: Likewise.
24839
24840 2013-09-06 David S. Miller <davem@davemloft.net>
24841
24842 * po/zh_TW.po: Update Chinese (traditional) translation from
24843 translation project.
24844
24845 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24846 Joseph Myers <joseph@codesourcery.com>
24847
24848 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24849 "localeinfo.h".
24850 (obstack_chunk_alloc): New macro.
24851 (obstack_chunk_free): Likewise.
24852 (record_offset): New function.
24853 (init_locale_data): Likewise.
24854 (align_locale_data): Likewise.
24855 (add_locale_empty): Likewise.
24856 (add_locale_raw_data): Likewise.
24857 (add_locale_raw_obstack): Likewise.
24858 (add_locale_string): Likewise.
24859 (add_locale_wstring): Likewise.
24860 (add_locale_uint32): Likewise.
24861 (add_locale_uint32_array): Likewise.
24862 (add_locale_char): Likewise.
24863 (start_locale_structure): Likewise.
24864 (end_locale_structure): Likewise.
24865 (start_locale_prelude): Likewise.
24866 (end_locale_prelude): Likewise.
24867 (write_locale_data): Take locale_file structure rather than an
24868 iovec.
24869 * locale/programs/locfile.h: Include "obstack.h".
24870 (struct locale_file): Change to store locale file contents instead
24871 of header.
24872 (init_locale_data): New prototype.
24873 (align_locale_data): Likewise.
24874 (add_locale_empty): Likewise.
24875 (add_locale_raw_data): Likewise.
24876 (add_locale_raw_obstack): Likewise.
24877 (add_locale_string): Likewise.
24878 (add_locale_wstring): Likewise.
24879 (add_locale_uint32): Likewise.
24880 (add_locale_uint32_array): Likewise.
24881 (add_locale_char): Likewise.
24882 (start_locale_structure): Likewise.
24883 (end_locale_structure): Likewise.
24884 (start_locale_prelude): Likewise.
24885 (end_locale_prelude): Likewise.
24886 (write_locale_data): Update prototype.
24887 * locale/programs/3level.h (struct TABLE): Remove result field.
24888 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24889 Use new locale_file interface.
24890 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24891 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24892 * locale/programs/ld-address.c (address_output): Use new
24893 locale_file interface.
24894 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24895 NO_ADD_LOCALE.
24896 (collate_finish): Don't call collseq_table_finalize.
24897 (collate_output): Use new locale_file interface.
24898 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24899 in file.
24900 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24901 (TABLE): Move defines earlier in file.
24902 (ELEMENT): Likewise.
24903 (DEFAULT): Likewise.
24904 (wctrans_table_add): Move macro and inline function earlier in
24905 file.
24906 (struct wctype_table): Move type earlier in file.
24907 (add_locale_wctype_table): New static prototype.
24908 (struct locale_ctype_t): Use logical types instead of struct iovec
24909 pointers for members.
24910 (ctype_output): Use new locale_file interface.
24911 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24912 new locale_file interface.
24913 (allocate_arrays): Update for use of new locale_file interface.
24914 * locale/programs/ld-identification.c (identification_output): Use
24915 new locale_file interface.
24916 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24917 * locale/programs/ld-messages.c (messages_output): Likewise.
24918 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24919 * locale/programs/ld-name.c (name_output): Likewise.
24920 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24921 * locale/programs/ld-paper.c (paper_output): Likewise.
24922 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24923 * locale/programs/ld-time.c (time_output): Likewise.
24924
24925 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24926
24927 * benchtests/Makefile: Add memrchr benchmark.
24928 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24929 benchmark as memrchr.
24930 * benchtests/bench-memrchr-ifunc.c: New file.
24931 * benchtests/bench-memrchr.c: New file.
24932
24933 2013-09-06 Will Newton <will.newton@linaro.org>
24934
24935 * benchtests/Makefile (string-bench): Add memcpy.
24936
24937 2013-09-05 Carlos O'Donell <carlos@redhat.com>
24938 Cong Wang <amwang@redhat.com>
24939
24940 [BZ #15850]
24941 * sysdeps/unix/sysv/linux/bits/in.h
24942 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24943 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24944 before __USE_KERNEL_IPV6_DEFS uses.
24945 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24946 IPPROTO_BEETPH.
24947 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24948 sockaddr_in6, or ipv6_mreq.
24949
24950 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24951
24952 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24953 memory access for final bytes in some large inputs.
24954 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24955
24956 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24957
24958 * string/test-memrchr.c: New file.
24959 * string/test-memrchr-ifunc.c: New file.
24960 * string/Makefile: Add new memrchr testcase.
24961
24962 2013-09-05 Mike Frysinger <vapier@gentoo.org>
24963
24964 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24965 fanotify_init returns EPERM.
24966
24967 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24968
24969 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24970 errors.
24971 (top level): Treat second token from macro or constant entries for
24972 allowed headers as allowed.
24973 * include/complex.h: Condition internal declarations on
24974 [!_ISOMAC].
24975 * include/fenv.h: Condition include of <stdbool.h> and internal
24976 declarations on [!_ISOMAC].
24977
24978 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24979
24980 [BZ #15923]
24981 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24982
24983 2013-09-04 Joseph Myers <joseph@codesourcery.com>
24984
24985 * configure.in (--enable-versioning): Remove configure option.
24986 (libc_cv_asm_symver_directive): Remove configure test.
24987 (libc_cv_ld_version_script_option): Likewise.
24988 (VERSIONING): Remove variable and AC_SUBST.
24989 (DO_VERSIONING): Remove AC_DEFINE.
24990 * configure: Regenerated.
24991 * config.h.in (DO_VERSIONING): Remove macro.
24992 * Makerules [$(versioning) = yes]: Change conditionals to
24993 [$(build-shared) = yes].
24994 * config.make.in (versioning): Remove variable.
24995 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24996 [$(build-shared) = yes].
24997 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24998 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24999 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25000 [$(build-shared) = yes].
25001 * extra-lib.mk [$(versioning) = yes]: Likewise.
25002 * hurd/Makefile [$(versioning) = yes]: Likewise.
25003 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25004 [SHARED].
25005 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25006 [SHARED].
25007 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25008 [SHARED && !NO_HIDDEN].
25009 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25010 [SHARED].
25011 [SHARED && DO_VERSIONING]: Likewise..
25012 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25013 [$(build-shared) = yes].
25014 * manual/install.texi (--disable-versioning): Remove
25015 documentation.
25016 * INSTALL: Regenerated.
25017 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25018 to [SHARED].
25019 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25020 [$(build-shared) = yes].
25021 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25022 * sysdeps/i386/i686/multiarch/strstr-c.c
25023 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25024 [SHARED && !NO_HIDDEN].
25025 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25026 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25027 * sysdeps/powerpc/powerpc32/dl-machine.c
25028 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25029 * sysdeps/powerpc/powerpc32/sysdep.h
25030 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25031 to [SHARED && PIC && !NO_HIDDEN].
25032 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25033 conditional to [SHARED].
25034
25035 2013-09-04 Will Newton <will.newton@linaro.org>
25036
25037 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25038 * benchtests/bench-string.h: Include bench-timing.h instead
25039 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25040 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25041 call to HP_TIMING_DIFF_INIT.
25042 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25043 instead of hp-timing.h macros.
25044 * benchtests/bench-memchr.c: Likewise.
25045 * benchtests/bench-memcmp.c: Likewise.
25046 * benchtests/bench-memcpy.c: Likewise.
25047 * benchtests/bench-memmem.c: Likewise.
25048 * benchtests/bench-memmove.c: Likewise.
25049 * benchtests/bench-memset.c: Likewise.
25050 * benchtests/bench-rawmemchr.c: Likewise.
25051 * benchtests/bench-strcasecmp.c: Likewise.
25052 * benchtests/bench-strcasestr.c: Likewise.
25053 * benchtests/bench-strcat.c: Likewise.
25054 * benchtests/bench-strchr.c: Likewise.
25055 * benchtests/bench-strcmp.c: Likewise.
25056 * benchtests/bench-strcpy.c: Likewise.
25057 * benchtests/bench-strcpy_chk.c: Likewise.
25058 * benchtests/bench-strlen.c: Likewise.
25059 * benchtests/bench-strncasecmp.c: Likewise.
25060 * benchtests/bench-strncat.c: Likewise.
25061 * benchtests/bench-strncmp.c: Likewise.
25062 * benchtests/bench-strncpy.c: Likewise.
25063 * benchtests/bench-strnlen.c: Likewise.
25064 * benchtests/bench-strpbrk.c: Likewise.
25065 * benchtests/bench-strrchr.c: Likewise.
25066 * benchtests/bench-strspn.c: Likewise.
25067 * benchtests/bench-strstr.c: Likewise.
25068
25069 2013-09-04 Will Newton <will.newton@linaro.org>
25070
25071 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25072
25073 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25074
25075 [BZ #15427]
25076 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25077 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25078 * math/libm-test.inc (lgamma_test_data): Add more tests.
25079 * sysdeps/i386/fpu/libm-test-ulps: Update.
25080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25081
25082 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25083
25084 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25085 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25086 Add ifunc.
25087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25088 Add strcmp-sse2-unaligned
25089 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25090
25091 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25092
25093 * Versions.def (libc): Add GLIBC_2.19.
25094
25095 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25096
25097 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25098 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25099
25100 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25101
25102 [BZ #14155]
25103 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25104 intermediate calculations in recurrence.
25105 (__ieee754_ynf): Likewise.
25106 * math/libm-test.inc (jn_test_data): Do not allow spurious
25107 underflow exception. Add more tests.
25108 (yn_test_data): Add more tests.
25109 * sysdeps/i386/fpu/libm-test-ulps: Update.
25110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25111
25112 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25113
25114 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25115
25116 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25117
25118 * csu/init-first.c: Fix then/than typos.
25119 * locale/programs/ld-collate.c: Likewise.
25120 * locale/programs/linereader.h: Likewise.
25121 * manual/charset.texi: Likewise.
25122 * manual/filesys.texi: Likewise.
25123 * manual/stdio.texi: Likewise.
25124 * manual/string.texi: Likewise.
25125 * stdlib/fmtmsg.c: Likewise.
25126 * sysdeps/i386/stpncpy.S: Likewise.
25127 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25128 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25129 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25130 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25131
25132 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25133
25134 * elf/dl-open.c: Fix typos.
25135 * iconvdata/gbbig5.c: Likewise.
25136 * iconvdata/iso-2022-jp.c: Likewise.
25137 * iconv/gconv_int.h: Likewise.
25138 * iconv/loop.c: Likewise.
25139 * nis/rpcsvc/nis.h: Likewise.
25140 * resolv/ns_name.c: Likewise.
25141 * stdio-common/vfscanf.c: Likewise.
25142 * streams/stropts.h: Likewise.
25143 * sunrpc/rpc_thread.c: Likewise.
25144 * sysdeps/i386/strpbrk.S: Likewise.
25145 * sysdeps/ieee754/k_standard.c: Likewise.
25146 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25147 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25148 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25149 * sysdeps/mach/hurd/profil.c: Likewise.
25150 * sysdeps/s390/dl-procinfo.h: Likewise.
25151 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25152 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25153 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25154 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25156
25157 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25158
25159 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25161
25162 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25163
25164 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25165 aix specific files.
25166 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25167 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25168 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25169 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25170 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25171 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25172 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25173 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25174
25175 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25176 Roland McGrath <roland@hack.frob.com>
25177
25178 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25179 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25180
25181 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25182
25183 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25184 __executable_start symbol instead of _start.
25185
25186 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25187
25188 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25189 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25190 Move macros to...
25191 * sysdeps/gnu/ldsodefs.h: ... this new file.
25192
25193 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25194 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25195 instead of ELFOSABI_LINUX.
25196
25197 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25198 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25199 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25200 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25201 Likewise.
25202 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25203 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25205 Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25207 (ibm_extended_long_double): Add ieee_nan member.
25208 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25209 (do_test): New function.
25210
25211 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25212 TEST_TRUNC.
25213 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25214 functions, renamed from truncdfsf_test, trunctfsf_test,
25215 trunctfdf_test.
25216 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25217 functions.
25218 (do_test): Run all these.
25219
25220 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25221
25222 * argp/argp-help.c: Fix typos.
25223 * argp/argp-parse.c: Likewise.
25224 * debug/backtracesyms.c: Likewise.
25225 * elf/elf.h: Likewise.
25226 * malloc/malloc.c: Likewise.
25227 * nis/nis_print.c: Likewise.
25228 * resolv/res_comp.c: Likewise.
25229 * stdlib/stdlib.h: Likewise.
25230 * sunrpc/clnt_tcp.c: Likewise.
25231 * sunrpc/clnt_udp.c: Likewise.
25232 * sunrpc/clnt_unix.c: Likewise.
25233 * sysdeps/unix/bsd/ptsname.c: Likewise.
25234 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25235 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25237 Likewise.
25238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25239 Likewise.
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25241 Likewise.
25242 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25243
25244 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25245
25246 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25248
25249 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25250
25251 [BZ #15897]
25252 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25253 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25254 ($(objpfx)bug-dl-leaf): New rule.
25255 ($(objpfx)bug-dl-leaf.so): Likewise.
25256 ($(objpfx)bug-dl-leaf.out): Likewise.
25257 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25258 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25259 * dlfcn/bug-dl-leaf.c: New test.
25260 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25261 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25262 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25263 (dlclose): Likewise.
25264 (dlmopen): Likewise.
25265
25266 2013-08-27 Roland McGrath <roland@hack.frob.com>
25267
25268 * include/netdb.h [!_ISOMAC]:
25269 Don't include <tls.h>.
25270 (h_errno, __libc_h_errno): Move declaration and macros out of
25271 [_LIBC_REENTRANT].
25272
25273 * include/resolv.h [_RESOLV_H_]:
25274 Don't include <tls.h>.
25275 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25276 * resolv/res_libc.c: Don't include <tls.h>.
25277 (_res): Use __attribute__ ((nocommon)) in place of
25278 __attribute__ ((section (".bss"))).
25279
25280 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25281 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25282
25283 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25284
25285 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25286 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25287
25288 * resolv/res_mkquery.c: Include <sys/time.h>.
25289
25290 * inet/ifreq.c: Moved to ...
25291 * sysdeps/unix/ifreq.c: ... here.
25292 * inet/ifreq.c: New file, true stub version.
25293
25294 * socket/sa_len.c: New file.
25295 * socket/Makefile (aux): Add it.
25296 * sysdeps/unix/sysv/linux/Makefile
25297 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25298 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25299 and #include <socket/sa_len.c>.
25300 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25301 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25302
25303 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25304 * bits/socket.h: ... here.
25305
25306 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25307 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25308 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25309
25310 2013-08-27 Andreas Schwab <schwab@suse.de>
25311
25312 [BZ #15736]
25313 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25314 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25315 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25316 * string/test-strcasecmp.c (test_main): Run tests in several
25317 locales.
25318 * string/test-strncasecmp.c (test_main): Likewise.
25319
25320 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25321 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25322 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25324 (__strncasecmp_ssse3) [PIC]: Likewise.
25325
25326 2013-08-26 Roland McGrath <roland@hack.frob.com>
25327
25328 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25329
25330 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25331 instead of explicitly declaring xdecrypt.
25332 * nis/nss_nis/nis-publickey.c: Likewise.
25333
25334 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25335
25336 [BZ #15890]
25337 * nscd/aicache.c: Include res_hconf.h.
25338 (addhstaiX): Initialize res_hconf.
25339
25340 2013-08-26 Andreas Schwab <schwab@suse.de>
25341
25342 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25343 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25344
25345 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25346
25347 * nscd/aicache.c (addhstaiX): Fix indentation.
25348
25349 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25350
25351 * configure.ac: Quote $build_pt_chown test.
25352 * configure: Regenerated.
25353
25354 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25355
25356 [BZ #15532]
25357 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25358 * math/s_cexpf.c (__cexpf): Likewise.
25359 * math/s_cexpl.c (__cexpl): Likewise.
25360 * math/libm-test.inc (cexp_test_data): Correct expected return
25361 value for NaN + i0. Add another test.
25362
25363 2013-08-22 David S. Miller <davem@davemloft.net>
25364
25365 * po/ca.po: Update Catalan translation from translation project.
25366 * po/uk.po: Add Ukrainian translations from translation project.
25367
25368 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25369
25370 [BZ #15797]
25371 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25372 is infinite, not alongside NaN test.
25373 * math/s_fdimf.c (__fdimf): Likewise.
25374 * math/s_fdiml.c (__fdiml): Likewise.
25375 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25376 errno is unchanged.
25377
25378 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25379
25380 * argp/argp-help.c: Fix typos.
25381 * crypt/speeds.c: Likewise.
25382 * csu/check_fds.c: Likewise.
25383 * elf/dl-load.c: Likewise.
25384 * elf/dl-open.c: Likewise.
25385 * elf/reldep3.c: Likewise.
25386 * elf/reldep.c: Likewise.
25387 * elf/sprof.c: Likewise.
25388 * iconv/iconv_charmap.c: Likewise.
25389 * iconv/skeleton.c: Likewise.
25390 * iconv/strtab.c: Likewise.
25391 * io/lockf64.c: Likewise.
25392 * libio/libioP.h: Likewise.
25393 * resolv/gai_notify.c: Likewise.
25394 * resolv/ns_name.c: Likewise.
25395 * resolv/ns_samedomain.c: Likewise.
25396 * resolv/res_send.c: Likewise.
25397 * stdlib/random.c: Likewise.
25398 * sunrpc/rpc/xdr.h: Likewise.
25399 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25400 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25403 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25404 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25407 * sysdeps/mach/hurd/check_fds.c: Likewise.
25408 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25409 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25410 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25411 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25412 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25413 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25414 * sysdeps/pthread/aio_notify.c: Likewise.
25415 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25416 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25417 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25418 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25419 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25420
25421 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25422
25423 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25424 version if bit_Slow_SSE4_2 is set.
25425 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25427
25428 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25429
25430 [BZ #15867]
25431 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25432 trampoline stack frame information.
25433 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25434 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25435 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25436 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25437 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25438 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25439 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25440 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25441 sa_flags value.
25442 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25443 interrupting a syscall and set with option SA_SIGINFO.
25444
25445 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25446
25447 [BZ #15531]
25448 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25449 argument is infinite.
25450 * math/s_cprojf.c (__cprojf): Likewise.
25451 * math/s_cprojl.c (__cprojl): Likewise.
25452 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25453 * math/libm-test.inc (cproj_test_data): Add more tests.
25454
25455 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25456
25457 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25458 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25459 size. Use __ffs to determine corresponding shift.
25460
25461 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25462 Roland McGrath <roland@hack.frob.com>
25463
25464 * Makefile (INSTALL): Remove trailing blank lines from output of
25465 makeinfo.
25466
25467 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25468
25469 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25470 Align 32 bit compat elf_greg to 8 bytes.
25471
25472 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25473
25474 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25475
25476 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25477
25478 * string/strcoll_l.c (coll_seq): New structure.
25479 (get_next_seq_cached): New function.
25480 (get_next_seq): New function.
25481 (do_compare): New function.
25482 (STRCOLL): Use GNU style definition. Simplify implementation
25483 by using get_next_seq, get_next_seq_cached and do_compare.
25484
25485 2013-08-16 Florian Weimer <fweimer@redhat.com>
25486
25487 [BZ #14699]
25488 CVE-2013-4237
25489 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25490 member.
25491 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25492 member.
25493 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25494 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25495 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25496 conditional.
25497 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25498 GETDENTS_64BIT_ALIGNED.
25499 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25500 * manual/filesys.texi (Reading/Closing Directory): Document
25501 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25502 strongly.
25503 * manual/conf.texi (Limits for Files): Add portability note to
25504 NAME_MAX, PATH_MAX.
25505 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25506
25507 2013-08-13 Andreas Schwab <schwab@suse.de>
25508
25509 [BZ #15749]
25510 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25511 of fabs.
25512 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25513 LDBL_MAX_EXP >= 16384]: Add tests for it.
25514
25515 2013-08-12 David S. Miller <davem@davemloft.net>
25516
25517 * version.h (RELEASE): Set to "development".
25518 (VERSION): Set to "2.18.90".
25519 * NEWS: Add 2.19 section.
25520
25521 2013-08-03 David S. Miller <davem@davemloft.net>
25522
25523 * po/ko.po: Update Korean translation from translation project.
25524
25525 2013-08-01 David S. Miller <davem@davemloft.net>
25526
25527 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25528 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25529 Bilka.
25530
25531 2013-07-30 David S. Miller <davem@davemloft.net>
25532
25533 * po/fr.po: Update French translation from translation project.
25534
25535 2013-07-28 David S. Miller <davem@davemloft.net>
25536
25537 * po/cs.po: Update Czech translation from translation project.
25538
25539 * po/sv.po: Update Swedish translation from translation project.
25540
25541 2013-07-27 David S. Miller <davem@davemloft.net>
25542
25543 * po/eo.po: Update Esperanto translation from translation project.
25544
25545 * po/vi.po: Update Vietnamese translation from translation project.
25546
25547 * po/de.po: Update German translation from translation project.
25548
25549 2013-07-26 David S. Miller <davem@davemloft.net>
25550
25551 * po/bg.po: Update Bulgarian translation from translation project.
25552
25553 * po/nl.po: Update Dutch translation from translation project.
25554 * po/pl.po: Update Polish translation from translation project.
25555 * po/ru.po: Update Russian translation from translation project.
25556
25557 2013-07-24 David S. Miller <davem@davemloft.net>
25558
25559 * po/libc.pot: Update.
25560
25561 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25562
25563 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25564 variable page size.
25565 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25566 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25567 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25568
25569 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25570
25571 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25572
25573 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25574 Andreas Schwab <schwab@suse.de>
25575 Roland McGrath <roland@hack.frob.com>
25576 Joseph Myers <joseph@codesourcery.com>
25577 Carlos O'Donell <carlos@redhat.com>
25578
25579 [BZ #15755]
25580 * config.h.in: Define HAVE_PT_CHOWN.
25581 * config.make.in (build-pt-chown): New variable.
25582 * configure.in (--enable-pt_chown): New configure option.
25583 * configure: Regenerate.
25584 * login/Makefile: Include Makeconfig. Build pt_chown only if
25585 build-pt-chown is enabled.
25586 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25587 pt_chown to fix pty ownership.
25588 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25589 CLOSE_ALL_FDS.
25590 * manual/install.texi (Configuring and compiling): Mention
25591 --enable-pt_chown. Add @findex for grantpt.
25592 * INSTALL: Regenerate.
25593
25594 2013-07-20 David S. Miller <davem@davemloft.net>
25595
25596 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25597 difference between 32-bit and 64-bit.
25598
25599 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25600
25601 [BZ #15711]
25602 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25603 Avoid system header dependency with -ffreestanding.
25604 ($(objpfx)bits/syscall%d): Likewise.
25605
25606 2013-07-13 David S. Miller <davem@davemloft.net>
25607
25608 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25609 underflows from atanl/atan2l due to bug 15319.
25610 (casinh_test_data): Likewise.
25611
25612 2013-07-07 David S. Miller <davem@davemloft.net>
25613
25614 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25615
25616 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25617
25618 * sysdeps/i386/fpu/libm-test-ulps: Update.
25619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25620
25621 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25622
25623 * configure.in (--enable-lock-elision): Fix message text.
25624 * INSTALL: Regenerate.
25625 * configure: Regenerate.
25626
25627 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25628
25629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25630
25631 2013-07-03 Andreas Jaeger <aj@suse.de>
25632
25633 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25634 define.
25635 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25636 (ptrace_peeksiginfo_args): Add.
25637 (__ptrace_peeksiginfo_flags): Add.
25638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25640 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25641
25642 2013-07-03 Allan McRae <allan@archlinux.org>
25643
25644 * sysdeps/i386/fpu/libm-test-ulps: Update.
25645
25646 2013-07-02 David S. Miller <davem@davemloft.net>
25647
25648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25649
25650 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25651
25652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25653
25654 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25655
25656 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25658
25659 2013-07-02 Andi Kleen <ak@linux.intel.com>
25660
25661 * config.h.in (ENABLE_LOCK_ELISION): Add.
25662 * configure.in (--enable-lock-elision): Add option.
25663 * manual/install.texi: Document --enable lock elision.
25664 * configure: Regenerate
25665 * INSTALL: Regenerate.
25666
25667 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25668
25669 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25670 SSE4.2 strcasecmp for libc.a.
25671 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25672
25673 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25674
25675 [BZ #13304]
25676 * soft-fp/op-common.h (_FP_FMA): New macro.
25677 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25678 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25679 (_FP_MUL_MEAT_1_imm): ... here.
25680 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25681 (_FP_MUL_MEAT_1_wide): ... here.
25682 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25683 (_FP_MUL_MEAT_1_hard): ... here.
25684 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25685 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25686 (_FP_MUL_MEAT_2_wide): ... here.
25687 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25688 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25689 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25690 (_FP_MUL_MEAT_2_gmp): ... here.
25691 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25692 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25693 (_FP_MUL_MEAT_4_wide): ... here.
25694 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25695 (_FP_MUL_MEAT_4_gmp): ... here.
25696 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25697 (_FP_WFRACBITS_DW_S): Likewise.
25698 (_FP_WFRACXBITS_DW_S): Likewise.
25699 (_FP_HIGHBIT_DW_S): Likewise.
25700 (FP_FMA_S): Likewise.
25701 (_FP_FRAC_HIGH_DW_S): Likewise.
25702 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25703 (_FP_WFRACBITS_DW_D): Likewise.
25704 (_FP_WFRACXBITS_DW_D): Likewise.
25705 (_FP_HIGHBIT_DW_D): Likewise.
25706 (FP_FMA_D): Likewise.
25707 (_FP_FRAC_HIGH_DW_D): Likewise.
25708 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25709 (_FP_WFRACBITS_DW_E): Likewise.
25710 (_FP_WFRACXBITS_DW_E): Likewise.
25711 (_FP_HIGHBIT_DW_E): Likewise.
25712 (FP_FMA_E): Likewise.
25713 (_FP_FRAC_HIGH_DW_E): Likewise.
25714 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25715 (_FP_WFRACBITS_DW_Q): Likewise.
25716 (_FP_WFRACXBITS_DW_Q): Likewise.
25717 (_FP_HIGHBIT_DW_Q): Likewise.
25718 (FP_FMA_Q): Likewise.
25719 (_FP_FRAC_HIGH_DW_Q): Likewise.
25720 * soft-fp/fmasf4.c: New file.
25721 * soft-fp/fmadf4.c: Likewise.
25722 * soft-fp/fmatf4.c: Likewise.
25723
25724 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25725
25726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25727 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25728 Silvermont.
25729 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25730 macro.
25731 (index_Slow_SSE4_2): Likewise.
25732 (index_Prefer_PMINUB_for_stringop): Likewise.
25733 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25734 bit_Slow_SSE4_2 is set.
25735 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25736 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25737
25738 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25739
25740 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25741 rtld_global._dl_hwcap2.
25742 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25743 POWER8.
25744 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25745 POWER8 feature descriptions defined in _dl_hwcap2.
25746 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25747 string handling for POWER8 feature bits.
25748 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25749 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25750 _dl_powerpc_cap_flags.
25751 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25752 * sysdeps/powerpc/rtld-global-offsets.sym
25753 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25754 _dl_hwcap2 in the rtld_global_ro structure.
25755
25756 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25757
25758 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25759 hardware capabilities in support of AT_HWCAP2.
25760 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25761 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25762 GLRO(dl_hwcap2).
25763 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25764 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25765 explicitly the unknown a_type display mechanism is used.
25766 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25767 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25768 struct member.
25769 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25770 to macro prototype for AT_HWCAP2 support.
25771 * sysdeps/i386/dl-procinfo.h: Likewise.
25772 * sysdeps/s390/dl-procinfo.h: Likewise.
25773 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25774 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25775 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25776 return -1 for unknown a_type display fallback.
25777 * sysdeps/sparc/dl-procinfo.h: Likewise.
25778 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25779 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25780
25781 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25782
25783 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25784 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25785
25786 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25787
25788 [BZ #12492]
25789 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25790 mprotect making __stack_prot writable.
25791
25792 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25793 Joseph Myers <joseph@codesourcery.com>
25794
25795 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25796 as being properly aligned.
25797
25798 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25799
25800 * dlfcn/modstatic5.c: New file.
25801 * dlfcn/tststatic5.c: New file.
25802 * dlfcn/Makefile (tests): Add tststatic5.
25803 (tests-static): Likewise.
25804 (modules-names): Add modstatic5.
25805 (tststatic5-ENV): New variable.
25806 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25807
25808 [BZ #15022]
25809 * elf/dl-support.c (_dl_main_map): New variable.
25810 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25811 (_dl_nns, _dl_load_adds): Set to 1.
25812 (_dl_initial_searchlist): Refer to _dl_main_map.
25813 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25814 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25815 call to _dl_get_origin.
25816 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25817 around call_map.
25818 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25819 * dlfcn/modstatic3.c: New file.
25820 * dlfcn/tststatic3.c: New file.
25821 * dlfcn/tststatic4.c: New file.
25822 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25823 (tests-static): Likewise.
25824 (modules-names): Add modstatic3.
25825 (tststatic3-ENV, tststatic4-ENV): New variables.
25826 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25827 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25828
25829 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25830
25831 * configure.in (CC): Require GCC version 4.4 or later.
25832 * configure: Regenerated.
25833 * manual/install.texi (Tools for Compilation): Update GCC version
25834 requirement.
25835 * INSTALL: Regenerated.
25836
25837 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25838
25839 [BZ #15674]
25840 * string/test-memcmp.c (check2): New.
25841 (main): Call check2.
25842
25843 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25844
25845 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25846
25847 [BZ #15022]
25848 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25849 over to...
25850 (dl_open_worker) [!SHARED]: ... here.
25851
25852 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25853
25854 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25855
25856 2013-06-25 Richard Henderson <rth@redhat.com>
25857
25858 * locale/programs/locarchive.c: Include <libc-internal.h>
25859
25860 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25861
25862 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25863 trailing whitespace removed.
25864
25865 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25866
25867 [BZ #10283]
25868 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25869 * locale/programs/locarchive.c: Include libc-mmap.h.
25870 (prepare_address_space): Take two new outputs (the mmap base and len).
25871 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25872 values.
25873 (create_archive): Declare new mmap base and len values for
25874 prepare_address_space, and store the result in ah.
25875 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25876 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25877 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25878 Declare new mmap base and len values for
25879 prepare_address_space, and store the result in new_ah.
25880 (open_archive): Declare new mmap base and len values for
25881 prepare_address_space, and store the result in ah.
25882 (close_archive): If ah->mmap_base is not NULL, use that and
25883 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25884 * sysdeps/generic/libc-mmap.h: New file.
25885
25886 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25887
25888 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25889 (ALIGN_UP): Likewise.
25890 (PTR_ALIGN_DOWN): Likewise.
25891 (PTR_ALIGN_UP): Likewise.
25892
25893 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25894
25895 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25896 entry mapped to PPC_PLATFORM_POWER8.
25897 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25898 POWER8.
25899 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25900 (_dl_string_platform): Add case for exporting platform position for
25901 POWER8.
25902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25903 search path to sysdeps/powerpc/powerpc32/power8 directory.
25904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25905 search path to sysdeps/powerpc/powerpc64/power8 directory.
25906 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25907 power7 directories.
25908 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25909 power7 directories.
25910
25911 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25912
25913 * INSTALL: Regenerate.
25914
25915 * nscd/connections.c (nscd_init): Fix comment.
25916
25917 2013-06-22 Joseph Myers <joseph@codesourcery.com>
25918
25919 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25920
25921 [BZ #15667]
25922 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25923 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25924
25925 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25926
25927 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25928 DL_DST_REQ_STATIC.
25929 (DL_DST_REQ_STATIC): Remove macro.
25930
25931 2013-06-21 Joseph Myers <joseph@codesourcery.com>
25932
25933 [BZ #7006]
25934 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25935 with a shift of 0 bits.
25936
25937 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25938
25939 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25940 $(tststatic-ENV).
25941
25942 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25943
25944 [BZ #15655]
25945 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25946
25947 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25948
25949 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25950 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25951 accepts -fno-tree-loop-distribute-patterns.
25952 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25953 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25954 recursive call.
25955 * string/memset.c (memset): Likewise.
25956 * string/test-memmove.c (simple_memmove): Disable loop transformation
25957 to library calls.
25958 * string/test-memset.c (simple_memset): Likewise.
25959 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25960 * benchtests/bench-memset.c (simple_memset): Likewise.
25961 * configure: Regenerated.
25962
25963 2013-06-20 Joseph Myers <joseph@codesourcery.com>
25964
25965 * math/test-misc.c (main): Ignore fesetround failure when failures
25966 of subsequent rounding tests would be ignored.
25967
25968 [BZ #15654]
25969 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25970 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25971 * math/fegetenv.c (__fegetenv): Return 0.
25972 * math/fegetexcept.c (fegetexcept): Return 0.
25973 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25974 FE_TONEAREST.
25975 * math/feholdexcpt.c (feholdexcept): Return 0.
25976 * math/fesetenv.c (__fesetenv): Return 0.
25977 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25978 argument FE_TONEAREST.
25979 * math/feupdateenv.c (__feupdateenv): Return 0.
25980 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25981
25982 2013-06-18 Roland McGrath <roland@hack.frob.com>
25983
25984 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25985 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25986 ($(objpfx)rtld-%.os rules): Use them.
25987
25988 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25989
25990 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25991 fields.
25992
25993 2013-06-17 Roland McGrath <roland@hack.frob.com>
25994
25995 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25996 length of target pattern, then descending length of dependency pattern.
25997 * configure.in (AWK): Require gawk 3.1.2 or newer.
25998 * manual/install.texi (Tools for Compilation): Say that we do.
25999 * configure: Regenerated.
26000
26001 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26002 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26003 * scripts/sysd-rules.awk: ... this new script.
26004 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26005 than a glob-style pattern.
26006
26007 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26008
26009 * math/test-misc.c (main): Do not treat incorrectly rounded
26010 conversions as failure unless ROUNDING_TESTS passes.
26011
26012 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26013
26014 [BZ #15631]
26015 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26016 restore exception state around main square root computation, then
26017 check for inexactness explicitly.
26018
26019 * math/libm-test.inc (fma_test_data): Add another test.
26020
26021 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26022
26023 * manual/threads.texi (Non-POSIX Extensions): New document
26024 node. Document pthread_getattr_default_np and
26025 pthread_setattr_default_np.
26026
26027 * Versions.def (libpthread): Add GLIBC_2.18.
26028 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26030 Likewise.
26031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26032 Likewise.
26033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26034 Likewise.
26035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26036 Likewise.
26037 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26038 Likewise.
26039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26040 Likewise.
26041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26042 Likewise.
26043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26044 Likewise.
26045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26046 Likewise.
26047
26048 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26049
26050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26051 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26052
26053 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26054 H.J. Lu <hjl.tools@gmail.com>
26055
26056 [BZ #15627]
26057 * sysdeps/x86_64/rtld-memset.c: Remove file.
26058 * sysdeps/x86_64/rtld-memset.S: New file.
26059
26060 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26061
26062 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26063 (test_in_one_mode): Take arguments for whether the rounding mode
26064 is supported for each floating-point type.
26065 (do_test): Pass new arguments to test_in_one_mode using
26066 ROUNDING_TESTS.
26067
26068 2013-06-13 Roland McGrath <roland@hack.frob.com>
26069
26070 * posix/tst-waitid.c (do_test): Distinguish different instances of
26071 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26072 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26073 before entering the kernel for waitpid.
26074
26075 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26076
26077 * NEWS: Fix note on clock function precision. Text by Roland
26078 McGrath.
26079
26080 2013-06-13 Roland McGrath <roland@hack.frob.com>
26081
26082 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26083 it into place only when and if the sanity check passes.
26084
26085 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26086
26087 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26088 output for whether conversion result is exact. Take argument
26089 indicating whether type is IBM long double.
26090 (round_for_all): Change need_exact field to ibm_ld.
26091 * stdlib/tst-strtod-round.c (struct exactness): New type.
26092 (struct test): Change bool ld_ok field to struct exactness exact.
26093 (TEST): Update all definitions for change to field.
26094 (tests): Regenerate array contents.
26095 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26096 field value. Check for IBM long double here.
26097 (do_test): Update calls to test_in_one_mode.
26098
26099 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26100
26101 [BZ #12515]
26102 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26103 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26104
26105 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26106
26107 [BZ #15605]
26108 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26109 generated by the compiler on loop optimizations.
26110 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26111 general definitions.
26112
26113 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26114
26115 * math/bug-nextafter.c: Include <math-tests.h>.
26116 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26117 the relevant type.
26118 * math/bug-nexttoward.c: Include <math-tests.h>.
26119 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26120 the relevant type.
26121 * math/test-misc.c: Include <math-tests.h>.
26122 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26123 the relevant type.
26124
26125 2013-06-12 Andreas Jaeger <aj@suse.de>
26126
26127 * po/ia.po: Update Interlingua translation from translation
26128 project.
26129
26130 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26131
26132 * include/fenv.h: Include stdbool.h.
26133 (struct rm_ctx): New structure.
26134 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26135 Define macro.
26136 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26137 (SET_RESTORE_ROUNDF): Likewise.
26138 (SET_RESTORE_ROUNDL): Likewise.
26139 (SET_RESTORE_ROUND_NOEX): Likewise.
26140 (SET_RESTORE_ROUND_NOEXF): Likewise.
26141 (SET_RESTORE_ROUND_NOEXL): Likewise.
26142 (SET_RESTORE_ROUND_53BIT): Likewise.
26143 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26144 (libc_feresetround_noexf_ctx): Likewise.
26145 (libc_feresetround_noexl_ctx): Likewise.
26146 (libc_feholdsetround_53bit_ctx): Likewise.
26147 (libc_feresetround_53bit_ctx): Likewise.
26148 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26149 (libc_feholdexcept_setround_sse_ctx): New function.
26150 (libc_fesetenv_sse_ctx): Likewise.
26151 (libc_feupdateenv_sse_ctx): Likewise.
26152 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26153 (libc_feholdexcept_setround_387_ctx): Likewise.
26154 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26155 (libc_feholdsetround_387_prec_ctx): Likewise.
26156 (libc_feholdsetround_387_ctx): Likewise.
26157 (libc_feholdsetround_387_53bit_ctx): Likewise.
26158 (libc_feholdsetround_sse_ctx): Likewise.
26159 (libc_feresetround_sse_ctx): Likewise.
26160 (libc_feresetround_387_ctx): Likewise.
26161 (libc_feupdateenv_387_ctx): Likewise.
26162 (libc_feholdexcept_setroundf_ctx): Define macro.
26163 (libc_fesetenvf_ctx): Likewise.
26164 (libc_feupdateenvf_ctx): Likewise.
26165 (libc_feholdsetroundf_ctx): Likewise.
26166 (libc_feresetroundf_ctx): Likewise.
26167 (libc_feholdexcept_setround_ctx): Likewise.
26168 (libc_fesetenv_ctx): Likewise.
26169 (libc_feupdateenv_ctx): Likewise.
26170 (libc_feholdsetround_ctx): Likewise.
26171 (libc_feresetround_ctx): Likewise.
26172 (libc_feholdexcept_setroundl_ctx): Likewise.
26173 (libc_feupdateenvl_ctx): Likewise.
26174 (libc_feholdsetroundl_ctx): Likewise.
26175 (libc_feresetroundl_ctx): Likewise.
26176 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26177 (libc_feresetround_53bit_ctx): Likewise.
26178
26179 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26180
26181 * locale/iso-639.def: Convert to UTF-8.
26182
26183 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26184
26185 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26186 (EXCEPTION_TESTS_double): Likewise.
26187 (EXCEPTION_TESTS_long_double): Likewise.
26188 (EXCEPTION_TESTS): Likewise.
26189 * math/libm-test.inc (test_exceptions): Only test exceptions if
26190 EXCEPTION_TESTS (FLOAT).
26191
26192 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26193
26194 * benchtests/Makefile (string-bench): Add strcpy_chk and
26195 stpcpy_chk.
26196 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26197 * benchtests/bench-stpcpy_chk.c: New file.
26198 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26199 * benchtests/bench-strcpy_chk.c: New file.
26200 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26201 code.
26202 (do_test): Likewise.
26203
26204 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26205
26206 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26207 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26208 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26209 with tabs where appropriate.
26210 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26211 dl-procinfo.h.
26212 [PPC_PLATFORM_PPC440]: Likewise.
26213 [PPC_PLATFORM_PPC464]: Likewise.
26214 [PPC_PLATFORM_PPC476]: Likewise.
26215 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26216 ppc464, and ppc476 platform strings merging from ports/
26217 dl-procinfo.h.
26218
26219 2013-06-11 Andreas Schwab <schwab@suse.de>
26220
26221 [BZ #14991]
26222 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26223 (from_ucs4_idx): Regenerate.
26224 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26225 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26226 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26227 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26228 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26229 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26230 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26231 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26232 from FROM_LOOP and TO_LOOP specific macros.
26233 (BODY): Handle combining characters.
26234 * iconvdata/BIG5HKSCS.irreversible: Update.
26235 * iconvdata/BIG5HKSCS.precomposed: New file.
26236 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26237 characters.
26238 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26239
26240 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26241
26242 * include/sys/time.h: Fix indentation and add copyright header.
26243
26244 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26245 (do_test): Likewise.
26246 * string/test-memchr.c (do_one_test): Likewise.
26247 (do_test): Likewise.
26248 * string/test-memcmp.c (do_one_test): Likewise.
26249 (do_test): Likewise.
26250 * string/test-memcpy.c (do_one_test): Likewise.
26251 (do_test): Likewise.
26252 * string/test-memmem.c (do_one_test): Likewise.
26253 (do_test): Likewise.
26254 (do_random_tests): Likewise.
26255 * string/test-memmove.c (do_one_test): Likewise.
26256 (do_test): Likewise.
26257 * string/test-memset.c (do_one_test): Likewise.
26258 (do_test): Likewise.
26259 * string/test-rawmemchr.c (do_one_test): Likewise.
26260 (do_test): Likewise.
26261 * string/test-strcasecmp.c (do_one_test): Likewise.
26262 (do_test): Likewise.
26263 * string/test-strcasestr.c (do_one_test): Likewise.
26264 (do_test): Likewise.
26265 * string/test-strcat.c (do_one_test): Likewise.
26266 (do_test): Likewise.
26267 * string/test-strchr.c (do_one_test): Likewise.
26268 (do_test): Likewise.
26269 * string/test-strcmp.c (do_one_test): Likewise.
26270 (do_test): Likewise.
26271 * string/test-strcpy.c (do_one_test): Likewise.
26272 (do_test): Likewise.
26273 * string/test-string.h: Likewise.
26274 (test_init): Likewise.
26275 * string/test-strlen.c (do_one_test): Likewise.
26276 (do_test): Likewise.
26277 * string/test-strncasecmp.c (do_one_test): Likewise.
26278 (do_test): Likewise.
26279 * string/test-strncat.c (do_one_test): Likewise.
26280 (do_test): Likewise.
26281 * string/test-strncmp.c (do_one_test): Likewise.
26282 (do_test_limit): Likewise.
26283 (do_test): Likewise.
26284 * string/test-strncpy.c (do_one_test): Likewise.
26285 (do_test): Likewise.
26286 * string/test-strnlen.c (do_one_test): Likewise.
26287 (do_test): Likewise.
26288 * string/test-strpbrk.c (do_one_test): Likewise.
26289 (do_test): Likewise.
26290 * string/test-strrchr.c (do_one_test): Likewise.
26291 (do_test): Likewise.
26292 * string/test-strspn.c (do_one_test): Likewise.
26293 (do_test): Likewise.
26294 * string/test-strstr.c (do_one_test): Likewise.
26295 (do_test): Likewise.
26296
26297 * benchtests/Makefile (string-bench): Add string benchmarks.
26298 * benchtests/bench-bcopy-ifunc.c: New file.
26299 * benchtests/bench-bcopy.c: New file.
26300 * benchtests/bench-bzero-ifunc.c: New file.
26301 * benchtests/bench-bzero.c: New file.
26302 * benchtests/bench-memccpy-ifunc.c: New file.
26303 * benchtests/bench-memccpy.c: New file.
26304 * benchtests/bench-memchr-ifunc.c: New file.
26305 * benchtests/bench-memchr.c: New file.
26306 * benchtests/bench-memcmp-ifunc.c: New file.
26307 * benchtests/bench-memcmp.c: New file.
26308 * benchtests/bench-memmem-ifunc.c: New file.
26309 * benchtests/bench-memmem.c: New file.
26310 * benchtests/bench-memmove-ifunc.c: New file.
26311 * benchtests/bench-memmove.c: New file.
26312 * benchtests/bench-mempcpy-ifunc.c: New file.
26313 * benchtests/bench-mempcpy.c: New file.
26314 * benchtests/bench-memset-ifunc.c: New file.
26315 * benchtests/bench-memset.c: New file.
26316 * benchtests/bench-rawmemchr-ifunc.c: New file.
26317 * benchtests/bench-rawmemchr.c: New file.
26318 * benchtests/bench-stpcpy-ifunc.c: New file.
26319 * benchtests/bench-stpcpy.c: New file.
26320 * benchtests/bench-stpncpy-ifunc.c: New file.
26321 * benchtests/bench-stpncpy.c: New file.
26322 * benchtests/bench-strcasecmp-ifunc.c: New file.
26323 * benchtests/bench-strcasecmp.c: New file.
26324 * benchtests/bench-strcasestr-ifunc.c: New file.
26325 * benchtests/bench-strcasestr.c: New file.
26326 * benchtests/bench-strcat-ifunc.c: New file.
26327 * benchtests/bench-strcat.c: New file.
26328 * benchtests/bench-strchr-ifunc.c: New file.
26329 * benchtests/bench-strchr.c: New file.
26330 * benchtests/bench-strchrnul-ifunc.c: New file.
26331 * benchtests/bench-strchrnul.c: New file.
26332 * benchtests/bench-strcmp-ifunc.c: New file.
26333 * benchtests/bench-strcmp.c: New file.
26334 * benchtests/bench-strcpy-ifunc.c: New file.
26335 * benchtests/bench-strcpy.c: New file.
26336 * benchtests/bench-strcspn-ifunc.c: New file.
26337 * benchtests/bench-strcspn.c: New file.
26338 * benchtests/bench-strlen-ifunc.c: New file.
26339 * benchtests/bench-strlen.c: New file.
26340 * benchtests/bench-strncasecmp-ifunc.c: New file.
26341 * benchtests/bench-strncasecmp.c: New file.
26342 * benchtests/bench-strncat-ifunc.c: New file.
26343 * benchtests/bench-strncat.c: New file.
26344 * benchtests/bench-strncmp-ifunc.c: New file.
26345 * benchtests/bench-strncmp.c: New file.
26346 * benchtests/bench-strncpy-ifunc.c: New file.
26347 * benchtests/bench-strncpy.c: New file.
26348 * benchtests/bench-strnlen-ifunc.c: New file.
26349 * benchtests/bench-strnlen.c: New file.
26350 * benchtests/bench-strpbrk-ifunc.c: New file.
26351 * benchtests/bench-strpbrk.c: New file.
26352 * benchtests/bench-strrchr-ifunc.c: New file.
26353 * benchtests/bench-strrchr.c: New file.
26354 * benchtests/bench-strspn-ifunc.c: New file.
26355 * benchtests/bench-strspn.c: New file.
26356 * benchtests/bench-strstr-ifunc.c: New file.
26357 * benchtests/bench-strstr.c: New file.
26358
26359 * benchtests/Makefile: Disable parallel execution of targets.
26360 (string-bench): Add memcpy.
26361 (benchset): New variable to store a list of benchmark sets.
26362 (bench-func): Renamed from bench.
26363 (bench-set): New target.
26364 (bench): Depend on bench-func and bench-set.
26365 * benchtests/README: Add section on benchmark sets.
26366 * benchtests/bench-memcpy-ifunc.c: New file.
26367 * benchtests/bench-memcpy.c: New file.
26368 * benchtests/bench-string.h: New file.
26369
26370 2013-06-11 Andreas Schwab <schwab@suse.de>
26371
26372 [BZ #15577]
26373 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26374 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26375 values in the triple.
26376 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26377 terminator in the group key.
26378
26379 2013-06-11 Andreas Jaeger <aj@suse.de>
26380
26381 * po/zh_TW.po: Update Chinese (traditional) translation from
26382 translation project.
26383
26384 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26385
26386 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26387 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26388 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26389 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26390 (clock_getcpuclockid): Likewise.
26391 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26392 Add weak_alias and libc_hidden_def.
26393 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26394 * rt/clock_gettime.c (clock_gettime): Rename to
26395 __clock_gettime. Add weak_alias and libc_hidden_def.
26396 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26397 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26398 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26399 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26400 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26401 Likewise.
26402 * rt/clock_settime.c (clock_settime): Rename to
26403 __clock_settime. Add weak_alias and libc_hidden_def.
26404 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26405
26406 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26407
26408 * mach/err_boot.sub: Remove trailing whitespace.
26409 * mach/err_ipc.sub: Likewise.
26410 * mach/err_mach.sub: Likewise.
26411
26412 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26413 (ROUNDING_TESTS_double): Likewise.
26414 (ROUNDING_TESTS_long_double): Likewise.
26415 (ROUNDING_TESTS): Likewise.
26416 * math/libm-test.inc: Include <math-tests.h>.
26417 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26418 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26419 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26420 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26421
26422 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26423
26424 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26425 of assigning.
26426
26427 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26428
26429 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26430 otherwise empty TRANS lines.
26431 * sysdeps/gnu/errlist.c: Regenerated.
26432
26433 * catgets/gencat.c (error_print): Use (void) in function
26434 definition.
26435 * crypt/crypt_util.c (__init_des): Likewise.
26436 * crypt/speeds.c (Stop): Likewise.
26437 (main): Likewise.
26438 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26439 * inet/ruserpass.c (token): Likewise.
26440 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26441 * intl/localealias.c (extend_alias_table): Likewise.
26442 * intl/plural-exp.c (init_germanic_plural): Likewise.
26443 * libio/fcloseall.c (__fcloseall): Likewise.
26444 * libio/genops.c (_IO_flush_all): Likewise.
26445 (_IO_flush_all_linebuffered): Likewise.
26446 (_IO_cleanup): Likewise.
26447 (_IO_iter_begin): Likewise.
26448 (_IO_iter_end): Likewise.
26449 (_IO_list_lock): Likewise.
26450 (_IO_list_unlock): Likewise.
26451 (_IO_list_resetlock): Likewise.
26452 * libio/getchar.c (getchar): Likewise.
26453 * libio/getchar_u.c (getchar_unlocked): Likewise.
26454 * libio/getwchar.c (getwchar): Likewise.
26455 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26456 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26457 * login/getpt.c (__getpt): Likewise.
26458 * login/tst-utmp.c (main): Likewise.
26459 * malloc/hooks.c (__malloc_check_init): Likewise.
26460 * malloc/malloc.c (__malloc_stats): Likewise.
26461 * malloc/mtrace.c (tr_break): Likewise.
26462 (mtrace): Likewise.
26463 (muntrace): Likewise.
26464 * misc/fstab.c (endfsent): Likewise.
26465 * misc/getclktck.c (__getclktck): Likewise.
26466 * misc/getdtsz.c (__getdtablesize): Likewise.
26467 * misc/gethostid.c (gethostid): Likewise.
26468 * misc/getpagesize.c (__getpagesize): Likewise.
26469 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26470 (__get_nprocs): Likewise.
26471 (__get_phys_pages): Likewise.
26472 (__get_avphys_pages): Likewise.
26473 * misc/getttyent.c (getttyent): Likewise.
26474 (setttyent): Likewise.
26475 (endttyent): Likewise.
26476 * misc/getusershell.c (getusershell): Likewise.
26477 (endusershell): Likewise.
26478 (setusershell): Likewise.
26479 (initshells): Likewise.
26480 * misc/hsearch.c (__hdestroy): Likewise.
26481 * misc/sync.c (sync): Likewise.
26482 * misc/syslog.c (closelog_internal): Likewise.
26483 (closelog): Likewise.
26484 * misc/ttyslot.c (ttyslot): Likewise.
26485 * misc/vhangup.c (vhangup): Likewise.
26486 * posix/fork.c (__fork): Likewise.
26487 * posix/getegid.c (__getegid): Likewise.
26488 * posix/geteuid.c (__geteuid): Likewise.
26489 * posix/getgid.c (__getgid): Likewise.
26490 * posix/getpid.c (__getpid): Likewise.
26491 * posix/getppid.c (__getppid): Likewise.
26492 * posix/getuid.c (__getuid): Likewise.
26493 * posix/pause.c (pause): Likewise.
26494 * posix/setpgrp.c (setpgrp): Likewise.
26495 * posix/setsid.c (__setsid): Likewise.
26496 * posix/test-vfork.c (noop): Likewise.
26497 * resolv/gethnamaddr.c (_endhtent): Likewise.
26498 (_gethtent): Likewise.
26499 (ht_endhostent): Likewise.
26500 (gethostent): Likewise.
26501 (dns_service): Likewise.
26502 * stdlib/drand48.c (drand48): Likewise.
26503 * stdlib/lrand48.c (lrand48): Likewise.
26504 * stdlib/mrand48.c (mrand48): Likewise.
26505 * stdlib/rand.c (rand): Likewise.
26506 * stdlib/random.c (__random): Likewise.
26507 * stdlib/setenv.c (clearenv): Likewise.
26508 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26509 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26510 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26511 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26512 (__get_nprocs): Likewise.
26513 (__get_phys_pages): Likewise.
26514 (__get_avphys_pages): Likewise.
26515 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26516 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26517 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26518 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26519 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26520 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26521 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26522 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26523 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26524 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26525 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26526 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26527 * sysdeps/posix/clock.c (clock): Likewise.
26528 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26529 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26530 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26531 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26532 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26534 (__get_nprocs_conf): Likewise.
26535 (__get_phys_pages): Likewise.
26536 (__get_avphys_pages): Likewise.
26537 * time/clock.c (clock): Likewise.
26538 * time/tzset.c (__tzname_max): Likewise.
26539
26540 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26541
26542 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26543 (__bswap_32): Do not use "register".
26544 * crypt/crypt.c (_ufc_doit_r): Likewise.
26545 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26546 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26547 * gmon/gmon.c (__monstartup): Likewise.
26548 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26549 * hurd/hurdmalloc.c (more_memory): Likewise.
26550 (malloc): Likewise.
26551 (free): Likewise.
26552 (realloc): Likewise.
26553 (malloc_fork_prepare): Likewise.
26554 (malloc_fork_parent): Likewise.
26555 (malloc_fork_child): Likewise.
26556 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26557 (_svcauth_des): Likewise.
26558 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26559 * inet/inet_net.c (inet_network): Likewise.
26560 * inet/inet_netof.c (inet_netof): Likewise.
26561 * inet/rcmd.c (__validuser2_sa): Likewise.
26562 * io/fts.c (fts_open): Likewise.
26563 (fts_load): Likewise.
26564 (fts_close): Likewise.
26565 (fts_read): Likewise.
26566 (fts_children): Likewise.
26567 (fts_build): Likewise.
26568 (fts_stat): Likewise.
26569 (fts_sort): Likewise.
26570 (fts_alloc): Likewise.
26571 (fts_lfree): Likewise.
26572 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26573 (_IO_file_xsgetn): Likewise.
26574 (_IO_file_xsgetn_mmap): Likewise.
26575 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26576 (_IO_cookie_write): Likewise.
26577 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26578 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26579 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26580 * malloc/obstack.c (_obstack_begin): Likewise.
26581 (_obstack_begin_1): Likewise.
26582 (_obstack_newchunk): Likewise.
26583 (_obstack_allocated_p): Likewise.
26584 (obstack_free): Likewise.
26585 (_obstack_memory_used): Likewise.
26586 * misc/getttyent.c (getttynam): Likewise.
26587 (getttyent): Likewise.
26588 (skip): Likewise.
26589 (value): Likewise.
26590 * misc/getusershell.c (initshells): Likewise.
26591 * misc/syslog.c (__vsyslog_chk): Likewise.
26592 * misc/ttyslot.c (ttyslot): Likewise.
26593 * nis/nis_hash.c (__nis_hash): Likewise.
26594 * posix/fnmatch_loop.c (FCT): Likewise.
26595 * posix/getconf.c (print_all): Likewise.
26596 (main): Likewise.
26597 * posix/getopt.c (exchange): Likewise.
26598 * posix/glob.c (globfree): Likewise.
26599 (prefix_array): Likewise.
26600 (__glob_pattern_type): Likewise.
26601 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26602 (NS_GET32): Likewise.
26603 (NS_PUT16): Likewise.
26604 (NS_PUT32): Likewise.
26605 * resolv/gethnamaddr.c (getanswer): Likewise.
26606 (gethostbyname2): Likewise.
26607 (gethostbyaddr): Likewise.
26608 (_gethtent): Likewise.
26609 (_gethtbyname2): Likewise.
26610 (_gethtbyaddr): Likewise.
26611 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26612 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26613 * resolv/res_init.c (__res_vinit): Likewise.
26614 (net_mask): Likewise.
26615 * resolv/res_mkquery.c (outchar): Likewise.
26616 (PRINT): Likewise.
26617 * stdio-common/printf_fp.c (outchar): Likewise.
26618 (PRINT): Likewise.
26619 * stdio-common/printf_fphex.c (outchar): Likewise.
26620 (PRINT): Likewise.
26621 * stdio-common/printf_size.c (outchar): Likewise.
26622 (PRINT): Likewise.
26623 * stdio-common/test_rdwr.c (main): Likewise.
26624 * stdio-common/tfformat.c (matches): Likewise.
26625 * stdio-common/vfprintf.c (outchar): Likewise.
26626 (printf_unknown): Likewise.
26627 (buffered_vfprintf): Likewise.
26628 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26629 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26630 (ReadFile): Likewise.
26631 * stdlib/qsort.c (SWAP): Likewise.
26632 (_quicksort): Likewise.
26633 * stdlib/setenv.c (__add_to_environ): Likewise.
26634 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26635 * stdlib/strtol_l.c (__strtol_l): Likewise.
26636 * stdlib/tst-strtod.c (main): Likewise.
26637 * stdlib/tst-strtol.c (main): Likewise.
26638 * stdlib/tst-strtoll.c (main): Likewise.
26639 * string/bits/string2.h (__strcmp_cc): Likewise.
26640 (__strcmp_cg): Likewise.
26641 (__strcspn_c1): Likewise.
26642 (__strcspn_c2): Likewise.
26643 (__strcspn_c3): Likewise.
26644 (__strspn_c1): Likewise.
26645 (__strspn_c2): Likewise.
26646 (__strspn_c3): Likewise.
26647 (__strsep_1c): Likewise.
26648 (__strsep_2c): Likewise.
26649 (__strsep_3c): Likewise.
26650 * string/memccpy.c (__memccpy): Likewise.
26651 * string/stpcpy.c (__stpcpy): Likewise.
26652 * string/strcmp.c (strcmp): Likewise.
26653 * string/strrchr.c (strrchr): Likewise.
26654 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26655 Likewise.
26656 * sysdeps/mach/hurd/getcwd.c
26657 (_hurd_canonicalize_directory_name_internal): Likewise.
26658 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26659 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26660 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26661 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26662 Likewise, in both definitions.
26663 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26664 definitions.
26665 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26666 64] (__bswap_64): Likewise.
26667 * time/test_time.c (main): Likewise.
26668 * time/tzfile.c (__tzfile_read): Likewise.
26669 (__tzfile_compute): Likewise.
26670 * time/tzset.c (__tzset_parse_tz): Likewise.
26671 (tzset_internal): Likewise.
26672 (compute_change): Likewise.
26673 * wcsmbs/wcscat.c (__wcscat): Likewise.
26674 * wcsmbs/wcschr.c (wcschr): Likewise.
26675 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26676 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26677 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26678 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26679 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26680 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26681 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26682 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26683 * wcsmbs/wmemset.c (wmemset): Likewise.
26684
26685 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26686
26687 * scripts/config.guess: Update to version 2013-05-16.
26688 * scripts/config.sub: Update to version 2013-04-24.
26689 * scripts/install-sh: Update to version 2011-11-20.07.
26690 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26691 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26692
26693 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26694
26695 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26696 * elf/sln.c: Likewise.
26697 * hurd/hurd/ioctl.h: Likewise.
26698 * hurd/hurdmalloc.c: Likewise.
26699 * hurd/xattr.c: Likewise.
26700 * include/shlib-compat.h: Likewise.
26701 * inet/ruserpass.c: Likewise.
26702 * libio/iofgets_u.c: Likewise.
26703 * libio/iofgetws_u.c: Likewise.
26704 * locale/programs/ld-identification.c: Likewise.
26705 * locale/programs/ld-time.c: Likewise.
26706 * mach/msg-destroy.c: Likewise.
26707 * nss/nss_files/files-netgrp.c: Likewise.
26708 * resolv/res_data.c: Likewise.
26709 * soft-fp/op-1.h: Likewise.
26710 * soft-fp/op-2.h: Likewise.
26711 * soft-fp/op-4.h: Likewise.
26712 * soft-fp/op-common.h: Likewise.
26713 * stdio-common/printf_fphex.c: Likewise.
26714 * stdlib/strtod_l.c: Likewise.
26715 * sunrpc/rpc/clnt.h: Likewise.
26716 * sysdeps/generic/framestate.c: Likewise.
26717 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26718 * sysdeps/i386/bsd-setjmp.S: Likewise.
26719 * sysdeps/i386/__longjmp.S: Likewise.
26720 * sysdeps/i386/setjmp.S: Likewise.
26721 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26722 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26723 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26739 * sysdeps/ieee754/support.c: Likewise.
26740 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26741 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26742 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26743 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26744 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26745 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26746 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26747 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26748 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26749 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26750 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26751 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26753 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26754 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26755 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26756 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26758
26759 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26760
26761 * posix/transbug.c: Remove executable mode.
26762
26763 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26764
26765 * crypt/speeds.c: Remove trailing whitespace.
26766 * dlfcn/default.c: Likewise.
26767 * elf/ifuncdep2.c: Likewise.
26768 * elf/ifuncmain1.c: Likewise.
26769 * elf/ifuncmain1vis.c: Likewise.
26770 * elf/testobj.h: Likewise.
26771 * elf/tst-stackguard1.c: Likewise.
26772 * gmon/sys/gmon.h: Likewise.
26773 * hurd/hurdmsg.c: Likewise.
26774 * hurd/new-fd.c: Likewise.
26775 * hurd/ports-get.c: Likewise.
26776 * iconvdata/ibm1008_420.c: Likewise.
26777 * inet/tst-getni1.c: Likewise.
26778 * inet/tst-getni2.c: Likewise.
26779 * libio/ioungetc.c: Likewise.
26780 * libio/wfiledoalloc.c: Likewise.
26781 * manual/libm-err-tab.pl: Likewise.
26782 * math/w_dremf.c: Likewise.
26783 * misc/ftruncate.c: Likewise.
26784 * posix/bug-glob2.c: Likewise.
26785 * posix/tst-pcre.c: Likewise.
26786 * posix/wait4.c: Likewise.
26787 * resolv/README: Likewise.
26788 * resolv/res_debug.h: Likewise.
26789 * resolv/tst-inet_ntop.c: Likewise.
26790 * setjmp/bug269-setjmp.c: Likewise.
26791 * soft-fp/extended.h: Likewise.
26792 * soft-fp/op-1.h: Likewise.
26793 * soft-fp/op-2.h: Likewise.
26794 * soft-fp/op-4.h: Likewise.
26795 * soft-fp/op-8.h: Likewise.
26796 * soft-fp/testit.c: Likewise.
26797 * stdio-common/bug16.c: Likewise.
26798 * stdlib/random.c: Likewise.
26799 * sunrpc/rpcsvc/rquota.x: Likewise.
26800 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26801 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26802 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26803 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26804 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26805 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26806 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26807 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26808 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26809 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26810 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26827 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26829 * sysdeps/ieee754/s_lib_version.c: Likewise.
26830 * sysdeps/mach/hurd/check_fds.c: Likewise.
26831 * sysdeps/mach/hurd/getsockname.c: Likewise.
26832 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26833 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26834 * sysdeps/powerpc/bits/link.h: Likewise.
26835 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26836 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26837 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26838 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26839 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26840 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26841 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26842 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26843 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26844 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26845 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26846 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26847 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26848 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26849 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26850 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26852 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26853 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26854 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26855 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26856 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26858 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26859 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26860 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26861 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26862 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26863 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26865 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26866 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26867 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26868 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26869 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26870 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26871 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26872 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26873 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26874 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26875 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26876 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26877 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26878 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26879 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26880 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26881 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26882 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26883 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26884 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26887 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26888 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26889 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26890 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26891 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26892 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26893 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26894 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26895 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26896 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26897 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26898 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26899 * sysdeps/powerpc/sysdep.h: Likewise.
26900 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26901 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26902 * sysdeps/sh/dl-trampoline.S: Likewise.
26903 * sysdeps/sh/memset.S: Likewise.
26904 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26905 * sysdeps/sh/strlen.S: Likewise.
26906 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26907 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26908 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26909 * sysdeps/sparc/sparc32/rem.S: Likewise.
26910 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26911 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26912 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26913 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26914 * sysdeps/sparc/sparc32/urem.S: Likewise.
26915 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26916 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26917 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26918 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26919 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26920 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26921 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26922 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26923 * sysdeps/unix/bsd/times.c: Likewise.
26924 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26925 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26929 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26930 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26931 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26932 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26933 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26934 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26935 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26936 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26937 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26938 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26939 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26940 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26941 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26942 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26943 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26944 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26945 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26946 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26947 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26948 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26949 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26950 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26952 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26953 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26954 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26955 * sysdeps/x86_64/strcspn.S: Likewise.
26956
26957 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26958
26959 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26960 generated file. Regenerate properly from gen-translit.pl.
26961 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26962 locale/C-translit.h.
26963
26964 2013-06-05 Andreas Schwab <schwab@suse.de>
26965
26966 [BZ #15100]
26967 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26968 week as 6 instead of -1.
26969 * time/tst-strptime.c (day_tests): Add test case.
26970
26971 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26972
26973 * sysdeps/generic/math_private.h
26974 (libc_feholdexcept_setround_53bit): Replace with
26975 libc_feholdsetround_53bit.
26976 (libc_feupdateenv_53bit): Replace with
26977 libc_feresetround_53bit.
26978 (SET_RESTORE_ROUND_53BIT): Adjust.
26979
26980 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26981
26982 * string/test-strchrnul.c: Add copyright header.
26983
26984 * posix/tst-getaddrinfo4.c: Increase test timeout.
26985
26986 2013-06-03 Carlos O'Donell <carlos@redhat.com>
26987
26988 [BZ #15536]
26989 * math/libm-test.inc (MAX_EXP): Remove
26990 (MIN_EXP): Define.
26991 (ulp): Use MIN_EXP - MANT_DIG.
26992 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26993
26994 2013-05-31 Carlos O'Donell <carlos@redhat.com>
26995
26996 * po/be.po: Revert last change.
26997 * po/zh_CN.po: Likewise.
26998 * po/header.pot: Likewise.
26999
27000 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27001
27002 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27003 link-libc-deps to empty as target-specific variable.
27004 * Makerules (link-libc-args): New variable.
27005 (libc-for-link): Likewise.
27006 (link-libc-deps): Likewise.
27007 (lib%.so): Depend on $(link-libc-deps). Link with
27008 $(link-libc-args).
27009 (build-module): Link with $(link-libc-args).
27010 (build-module-asneeded): Likewise.
27011 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27012 list of objects.
27013 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27014 target-specific variable.
27015 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27016 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27017 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27018 libc.
27019 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27020 libc and ld.so.
27021 ($(objpfx)libpcprofile.so): Likewise.
27022 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27023 libc_nonshared.a.
27024 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27025 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27026 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27027 $(link-libc-deps).
27028 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27029 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27030 * login/Makefile ($(objpfx)libutil.so): Likewise.
27031 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27032 * math/Makefile ($(objpfx)libm.so): Likewise.
27033 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27034 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27035 variable instead of depending directly on libc.
27036 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27037 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27038 $(link-libc-deps).
27039 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27040 libc.
27041 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27042 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27043 ($(objpfx)libanl.so): Likewise.
27044 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27045 ld.so.
27046 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27047 $(link-libc-deps).
27048 * sysdeps/i386/fpu/Makefile: Remove file.
27049 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27050 ($(objpfx)libm.so): Remove dependency on ld.so.
27051
27052 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27053
27054 [BZ # 15553]
27055 * nis/yp_xdr.c (XDRMAXNAME): Define.
27056 (XDRMAXRECORD): Define.
27057 (xdr_domainname): Use XDRMAXNAME.
27058 (xdr_mapname): Likewise.
27059 (xdr_peername): Likewise.
27060 (xdr_keydat): Use XDRMAXRECORD.
27061 (xdr_valdat): Likewise.
27062
27063 2013-05-30 Jeff Law <law@redhat.com>
27064
27065 [BZ #14256]
27066 * manual/errno.texi (ESTALE): Update to account for more than
27067 just NFS file systems.
27068 * sysdeps/gnu/errlist.c: Regenerated.
27069
27070 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27071
27072 [BZ #15465]
27073 * elf/Makefile (tests): Add tst-null-argv.
27074 (modules-names): Add tst-null-argv-lib.
27075 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27076 (tst-null-argv-ENV): Set environment for tst-null-argv.
27077 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27078 (RTLD_PROGNAME): New macro.
27079 * elf/tst-null-argv.c: New test case.
27080 * elf/tst-null-argv-lib.c: Library for test case.
27081 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27082 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27083 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27084 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27085 * elf/dl-init.c (call_init): Likewise.
27086 (_dl_init): Likewise.
27087 * elf/dl-load.c (print_search_path): Likewise.
27088 (_dl_map_object): Likewise.
27089 * elf/dl-lookup.c (do_lookup_x): Likewise.
27090 (add_dependency): Likewise.
27091 (_dl_lookup_symbol_x): Likewise.
27092 (_dl_debug_bindings): Likewise.
27093 * elf/dl-open.c (_dl_show_scope): Likewise.
27094 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27095 * elf/dl-version.c (match_symbol): Likewise.
27096 (_dl_check_map_versions): Likewise.
27097 * elf/rtld.c (dl_main): Likewise.
27098 (print_unresolved): Use RTLD_PROGNAME.
27099 (print_missing_version): Likewise.
27100 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27101 (elf_machine_rela): Likewise.
27102 * sysdeps/powerpc/powerpc32/dl-machine.c
27103 (__process_machine_rela): Likewise.
27104 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27105 Likewise.
27106 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27107 Likewise.
27108 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27109 Likewise.
27110 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27111 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27112 Likewise.
27113 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27114 Likewise.
27115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27116
27117 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27118
27119 * po/be.po: Add descriptive title.
27120 * po/zh_CN.po: Likewise.
27121 * po/header.pot: Likewise.
27122
27123 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27124
27125 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27126 error message.
27127 (enlarge_archive): Likewise.
27128
27129 2013-05-28 Ben North <ben@redfrontdoor.org>
27130
27131 * manual/arith.texi (frexp): It is the magnitude of the return
27132 value which lies in [0.5, 1), not the return value itself.
27133
27134 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27135
27136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27137
27138 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27139
27140 * stdio-common/bug26.c (main): Correct fscanf template.
27141
27142 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27143 declare _dl_skip_args.
27144
27145 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27146 Don't declare.
27147
27148 * manual/platform.texi: Add missing @end deftypefun.
27149
27150 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27151
27152 [BZ #15529]
27153 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27154 bit of mantissa of 2^16382.
27155 * math/libm-test.inc (hypot_test_data): Add more tests.
27156
27157 * math/libm-test.inc: Add drem and pow10 to list of tested
27158 functions.
27159 (pow10_test): New function.
27160 (drem_test): Likewise.
27161 (drem_test_tonearest): Likewise.
27162 (drem_test_towardzero): Likewise.
27163 (drem_test_downward): Likewise.
27164 (drem_test_upward): Likewise.
27165 (main): Call the new functions.
27166
27167 * math/libm-test.inc (finite_test_data): Remove.
27168 (finite_test): Run tests from isfinite_test_data.
27169 (gamma_test_data): Remove.
27170 (gamma_test): Run tests from lgamma_test_data.
27171 * sysdeps/i386/fpu/libm-test-ulps: Update.
27172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27173
27174 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27175
27176 * manual/platform.texi: Add PowerPC PPR function set documentation.
27177 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27178 implementation.
27179
27180 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27181
27182 * math/libm-test.inc (MAX_EXP): Define.
27183 (ULPDIFF): Define.
27184 (ulp): New function.
27185 (check_float_internal): Use ULPDIFF.
27186 (cpow_test): Disable failing test.
27187 (check_ulp): Test ulp() implemetnation.
27188 (main): Call check_ulp before starting tests.
27189
27190 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27191
27192 * math/gen-libm-test.pl (generate_testfile): Do not handle
27193 START_DATA and END_DATA.
27194 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27195 END_DATA.
27196 (acos_tonearest_test_data): Likewise.
27197 (acos_towardzero_test_data): Likewise.
27198 (acos_downward_test_data): Likewise.
27199 (acos_upward_test_data): Likewise.
27200 (acosh_test_data): Likewise.
27201 (asin_test_data): Likewise.
27202 (asin_tonearest_test_data): Likewise.
27203 (asin_towardzero_test_data): Likewise.
27204 (asin_downward_test_data): Likewise.
27205 (asin_upward_test_data): Likewise.
27206 (asinh_test_data): Likewise.
27207 (atan_test_data): Likewise.
27208 (atanh_test_data): Likewise.
27209 (atan2_test_data): Likewise.
27210 (cabs_test_data): Likewise.
27211 (cacos_test_data): Likewise.
27212 (cacosh_test_data): Likewise.
27213 (carg_test_data): Likewise.
27214 (casin_test_data): Likewise.
27215 (casinh_test_data): Likewise.
27216 (catan_test_data): Likewise.
27217 (catanh_test_data): Likewise.
27218 (cbrt_test_data): Likewise.
27219 (ccos_test_data): Likewise.
27220 (ccosh_test_data): Likewise.
27221 (ceil_test_data): Likewise.
27222 (cexp_test_data): Likewise.
27223 (cimag_test_data): Likewise.
27224 (clog_test_data): Likewise.
27225 (clog10_test_data): Likewise.
27226 (conj_test_data): Likewise.
27227 (copysign_test_data): Likewise.
27228 (cos_test_data): Likewise.
27229 (cos_tonearest_test_data): Likewise.
27230 (cos_towardzero_test_data): Likewise.
27231 (cos_downward_test_data): Likewise.
27232 (cos_upward_test_data): Likewise.
27233 (cosh_test_data): Likewise.
27234 (cosh_tonearest_test_data): Likewise.
27235 (cosh_towardzero_test_data): Likewise.
27236 (cosh_downward_test_data): Likewise.
27237 (cosh_upward_test_data): Likewise.
27238 (cpow_test_data): Likewise.
27239 (cproj_test_data): Likewise.
27240 (creal_test_data): Likewise.
27241 (csin_test_data): Likewise.
27242 (csinh_test_data): Likewise.
27243 (csqrt_test_data): Likewise.
27244 (ctan_test_data): Likewise.
27245 (ctan_tonearest_test_data): Likewise.
27246 (ctan_towardzero_test_data): Likewise.
27247 (ctan_downward_test_data): Likewise.
27248 (ctan_upward_test_data): Likewise.
27249 (ctanh_test_data): Likewise.
27250 (ctanh_tonearest_test_data): Likewise.
27251 (ctanh_towardzero_test_data): Likewise.
27252 (ctanh_downward_test_data): Likewise.
27253 (ctanh_upward_test_data): Likewise.
27254 (erf_test_data): Likewise.
27255 (erfc_test_data): Likewise.
27256 (exp_test_data): Likewise.
27257 (exp_tonearest_test_data): Likewise.
27258 (exp_towardzero_test_data): Likewise.
27259 (exp_downward_test_data): Likewise.
27260 (exp_upward_test_data): Likewise.
27261 (exp10_test_data): Likewise.
27262 (exp2_test_data): Likewise.
27263 (expm1_test_data): Likewise.
27264 (fabs_test_data): Likewise.
27265 (fdim_test_data): Likewise.
27266 (finite_test_data): Likewise.
27267 (floor_test_data): Likewise.
27268 (fma_test_data): Likewise.
27269 (fma_towardzero_test_data): Likewise.
27270 (fma_downward_test_data): Likewise.
27271 (fma_upward_test_data): Likewise.
27272 (fmax_test_data): Likewise.
27273 (fmin_test_data): Likewise.
27274 (fmod_test_data): Likewise.
27275 (fpclassify_test_data): Likewise.
27276 (frexp_test_data): Likewise.
27277 (gamma_test_data): Likewise.
27278 (hypot_test_data): Likewise.
27279 (ilogb_test_data): Likewise.
27280 (isfinite_test_data): Likewise.
27281 (isgreater_test_data): Likewise.
27282 (isgreaterequal_test_data): Likewise.
27283 (isinf_test_data): Likewise.
27284 (isless_test_data): Likewise.
27285 (islessequal_test_data): Likewise.
27286 (islessgreater_test_data): Likewise.
27287 (isnan_test_data): Likewise.
27288 (isnormal_test_data): Likewise.
27289 (issignaling_test_data): Likewise.
27290 (isunordered_test_data): Likewise.
27291 (j0_test_data): Likewise.
27292 (j1_test_data): Likewise.
27293 (jn_test_data): Likewise.
27294 (ldexp_test_data): Likewise.
27295 (lgamma_test_data): Likewise.
27296 (lrint_test_data): Likewise.
27297 (lrint_tonearest_test_data): Likewise.
27298 (lrint_towardzero_test_data): Likewise.
27299 (lrint_downward_test_data): Likewise.
27300 (lrint_upward_test_data): Likewise.
27301 (llrint_test_data): Likewise.
27302 (llrint_tonearest_test_data): Likewise.
27303 (llrint_towardzero_test_data): Likewise.
27304 (llrint_downward_test_data): Likewise.
27305 (llrint_upward_test_data): Likewise.
27306 (log_test_data): Likewise.
27307 (log10_test_data): Likewise.
27308 (log1p_test_data): Likewise.
27309 (log2_test_data): Likewise.
27310 (logb_test_data): Likewise.
27311 (logb_downward_test_data): Likewise.
27312 (lround_test_data): Likewise.
27313 (llround_test_data): Likewise.
27314 (modf_test_data): Likewise.
27315 (nearbyint_test_data): Likewise.
27316 (nextafter_test_data): Likewise.
27317 (nexttoward_test_data): Likewise.
27318 (pow_test_data): Likewise.
27319 (pow_tonearest_test_data): Likewise.
27320 (pow_towardzero_test_data): Likewise.
27321 (pow_downward_test_data): Likewise.
27322 (pow_upward_test_data): Likewise.
27323 (remainder_test_data): Likewise.
27324 (remainder_tonearest_test_data): Likewise.
27325 (remainder_towardzero_test_data): Likewise.
27326 (remainder_downward_test_data): Likewise.
27327 (remainder_upward_test_data): Likewise.
27328 (remquo_test_data): Likewise.
27329 (rint_test_data): Likewise.
27330 (rint_tonearest_test_data): Likewise.
27331 (rint_towardzero_test_data): Likewise.
27332 (rint_downward_test_data): Likewise.
27333 (rint_upward_test_data): Likewise.
27334 (round_test_data): Likewise.
27335 (scalb_test_data): Likewise.
27336 (scalbn_test_data): Likewise.
27337 (scalbln_test_data): Likewise.
27338 (signbit_test_data): Likewise.
27339 (sin_test_data): Likewise.
27340 (sin_tonearest_test_data): Likewise.
27341 (sin_towardzero_test_data): Likewise.
27342 (sin_downward_test_data): Likewise.
27343 (sin_upward_test_data): Likewise.
27344 (sincos_test_data): Likewise.
27345 (sinh_test_data): Likewise.
27346 (sinh_tonearest_test_data): Likewise.
27347 (sinh_towardzero_test_data): Likewise.
27348 (sinh_downward_test_data): Likewise.
27349 (sinh_upward_test_data): Likewise.
27350 (sqrt_test_data): Likewise.
27351 (tan_test_data): Likewise.
27352 (tan_tonearest_test_data): Likewise.
27353 (tan_towardzero_test_data): Likewise.
27354 (tan_downward_test_data): Likewise.
27355 (tan_upward_test_data): Likewise.
27356 (tanh_test_data): Likewise.
27357 (tgamma_test_data): Likewise.
27358 (trunc_test_data): Likewise.
27359 (y0_test_data): Likewise.
27360 (y1_test_data): Likewise.
27361 (yn_test_data): Likewise.
27362 (significand_test_data): Likewise.
27363
27364 * math/gen-libm-test.pl (@functions): Remove variable.
27365 (generate_testfile): Don't handle START and END lines.
27366 * math/libm-test.inc (START): New macro.
27367 (END): Likewise.
27368 (END_COMPLEX): Likewise.
27369 (acos_test): Use END macro without arguments.
27370 (acos_test_tonearest): Likewise.
27371 (acos_test_towardzero): Likewise.
27372 (acos_test_downward): Likewise.
27373 (acos_test_upward): Likewise.
27374 (acosh_test): Likewise.
27375 (asin_test): Likewise.
27376 (asin_test_tonearest): Likewise.
27377 (asin_test_towardzero): Likewise.
27378 (asin_test_downward): Likewise.
27379 (asin_test_upward): Likewise.
27380 (asinh_test): Likewise.
27381 (atan_test): Likewise.
27382 (atanh_test): Likewise.
27383 (atan2_test): Likewise.
27384 (cabs_test): Likewise.
27385 (cacos_test): Use END_COMPLEX macro without arguments.
27386 (cacosh_test): Likewise.
27387 (carg_test): Use END macro without arguments.
27388 (casin_test): Use END_COMPLEX macro without arguments.
27389 (casinh_test): Likewise.
27390 (catan_test): Likewise.
27391 (catanh_test): Likewise.
27392 (cbrt_test): Use END macro without arguments.
27393 (ccos_test): Use END_COMPLEX macro without arguments.
27394 (ccosh_test): Likewise.
27395 (ceil_test): Use END macro without arguments.
27396 (cexp_test): Use END_COMPLEX macro without arguments.
27397 (cimag_test): Use END macro without arguments.
27398 (clog_test): Use END_COMPLEX macro without arguments.
27399 (clog10_test): Likewise.
27400 (conj_test): Likewise.
27401 (copysign_test): Use END macro without arguments.
27402 (cos_test): Likewise.
27403 (cos_test_tonearest): Likewise.
27404 (cos_test_towardzero): Likewise.
27405 (cos_test_downward): Likewise.
27406 (cos_test_upward): Likewise.
27407 (cosh_test): Likewise.
27408 (cosh_test_tonearest): Likewise.
27409 (cosh_test_towardzero): Likewise.
27410 (cosh_test_downward): Likewise.
27411 (cosh_test_upward): Likewise.
27412 (cpow_test): Use END_COMPLEX macro without arguments.
27413 (cproj_test): Likewise.
27414 (creal_test): Use END macro without arguments.
27415 (csin_test): Use END_COMPLEX macro without arguments.
27416 (csinh_test): Likewise.
27417 (csqrt_test): Likewise.
27418 (ctan_test): Likewise.
27419 (ctan_test_tonearest): Likewise.
27420 (ctan_test_towardzero): Likewise.
27421 (ctan_test_downward): Likewise.
27422 (ctan_test_upward): Likewise.
27423 (ctanh_test): Likewise.
27424 (ctanh_test_tonearest): Likewise.
27425 (ctanh_test_towardzero): Likewise.
27426 (ctanh_test_downward): Likewise.
27427 (ctanh_test_upward): Likewise.
27428 (erf_test): Use END macro without arguments.
27429 (erfc_test): Likewise.
27430 (exp_test): Likewise.
27431 (exp_test_tonearest): Likewise.
27432 (exp_test_towardzero): Likewise.
27433 (exp_test_downward): Likewise.
27434 (exp_test_upward): Likewise.
27435 (exp10_test): Likewise.
27436 (exp2_test): Likewise.
27437 (expm1_test): Likewise.
27438 (fabs_test): Likewise.
27439 (fdim_test): Likewise.
27440 (finite_test): Likewise.
27441 (floor_test): Likewise.
27442 (fma_test): Likewise.
27443 (fma_test_towardzero): Likewise.
27444 (fma_test_downward): Likewise.
27445 (fma_test_upward): Likewise.
27446 (fmax_test): Likewise.
27447 (fmin_test): Likewise.
27448 (fmod_test): Likewise.
27449 (fpclassify_test): Likewise.
27450 (frexp_test): Likewise.
27451 (gamma_test): Likewise.
27452 (hypot_test): Likewise.
27453 (ilogb_test): Likewise.
27454 (isfinite_test): Likewise.
27455 (isgreater_test): Likewise.
27456 (isgreaterequal_test): Likewise.
27457 (isinf_test): Likewise.
27458 (isless_test): Likewise.
27459 (islessequal_test): Likewise.
27460 (islessgreater_test): Likewise.
27461 (isnan_test): Likewise.
27462 (isnormal_test): Likewise.
27463 (issignaling_test): Likewise.
27464 (isunordered_test): Likewise.
27465 (j0_test): Likewise.
27466 (j1_test): Likewise.
27467 (jn_test): Likewise.
27468 (ldexp_test): Likewise.
27469 (lgamma_test): Likewise.
27470 (lrint_test): Likewise.
27471 (lrint_test_tonearest): Likewise.
27472 (lrint_test_towardzero): Likewise.
27473 (lrint_test_downward): Likewise.
27474 (lrint_test_upward): Likewise.
27475 (llrint_test): Likewise.
27476 (llrint_test_tonearest): Likewise.
27477 (llrint_test_towardzero): Likewise.
27478 (llrint_test_downward): Likewise.
27479 (llrint_test_upward): Likewise.
27480 (log_test): Likewise.
27481 (log10_test): Likewise.
27482 (log1p_test): Likewise.
27483 (log2_test): Likewise.
27484 (logb_test): Likewise.
27485 (logb_test_downward): Likewise.
27486 (lround_test): Likewise.
27487 (llround_test): Likewise.
27488 (modf_test): Likewise.
27489 (nearbyint_test): Likewise.
27490 (nextafter_test): Likewise.
27491 (nexttoward_test): Likewise.
27492 (pow_test): Likewise.
27493 (pow_test_tonearest): Likewise.
27494 (pow_test_towardzero): Likewise.
27495 (pow_test_downward): Likewise.
27496 (pow_test_upward): Likewise.
27497 (remainder_test): Likewise.
27498 (remainder_test_tonearest): Likewise.
27499 (remainder_test_towardzero): Likewise.
27500 (remainder_test_downward): Likewise.
27501 (remainder_test_upward): Likewise.
27502 (remquo_test): Likewise.
27503 (rint_test): Likewise.
27504 (rint_test_tonearest): Likewise.
27505 (rint_test_towardzero): Likewise.
27506 (rint_test_downward): Likewise.
27507 (rint_test_upward): Likewise.
27508 (round_test): Likewise.
27509 (scalb_test): Likewise.
27510 (scalbn_test): Likewise.
27511 (scalbln_test): Likewise.
27512 (signbit_test): Likewise.
27513 (sin_test): Likewise.
27514 (sin_test_tonearest): Likewise.
27515 (sin_test_towardzero): Likewise.
27516 (sin_test_downward): Likewise.
27517 (sin_test_upward): Likewise.
27518 (sincos_test): Likewise.
27519 (sinh_test): Likewise.
27520 (sinh_test_tonearest): Likewise.
27521 (sinh_test_towardzero): Likewise.
27522 (sinh_test_downward): Likewise.
27523 (sinh_test_upward): Likewise.
27524 (sqrt_test): Likewise.
27525 (tan_test): Likewise.
27526 (tan_test_tonearest): Likewise.
27527 (tan_test_towardzero): Likewise.
27528 (tan_test_downward): Likewise.
27529 (tan_test_upward): Likewise.
27530 (tanh_test): Likewise.
27531 (tgamma_test): Likewise.
27532 (trunc_test): Likewise.
27533 (y0_test): Likewise.
27534 (y1_test): Likewise.
27535 (yn_test): Likewise.
27536 (significand_test): Likewise.
27537
27538 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27539
27540 [BZ #15381]
27541 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27542
27543 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27544
27545 [BZ #14894]
27546 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27547 __ppc_mdoio and __ppc_mdoom.
27548 * manual/platform.texi: Document new functions __ppc_yield,
27549 __ppc_mdoio and __ppc_mdoom.
27550
27551 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27552
27553 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27554 (main): Mention "tls" pseudo-hwcap is legacy.
27555 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27556
27557 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27558
27559 * math/gen-libm-test.pl (parse_args): Output only string of
27560 arguments as text for test name, not full call or descriptions of
27561 tests for extra outputs.
27562 (generate_testfile): Do not pass function name to parse_args.
27563 Generate this_func variable from START.
27564 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27565 field to arg_str.
27566 (struct test_ff_f_data): Likewise.
27567 (test_ff_f_data_nexttoward): Likewise.
27568 (struct test_fi_f_data): Likewise.
27569 (struct test_fl_f_data): Likewise.
27570 (struct test_if_f_data): Likewise.
27571 (struct test_fff_f_data): Likewise.
27572 (struct test_c_f_data): Likewise.
27573 (struct test_f_f1_data): Likewise. Remove field extra_name.
27574 (struct test_fF_f1_data): Likewise.
27575 (struct test_ffI_f1_data): Likewise.
27576 (struct test_c_c_data): Rename test_name field to arg_str.
27577 (struct test_cc_c_data): Likewise.
27578 (struct test_f_i_data): Likewise.
27579 (struct test_ff_i_data): Likewise.
27580 (struct test_f_l_data): Likewise.
27581 (struct test_f_L_data): Likewise.
27582 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27583 and extra2_name.
27584 (COMMON_TEST_SETUP): New macro.
27585 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27586 (COMMON_TEST_CLEANUP): Likewise.
27587 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27588 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27589 macros.
27590 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27591 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27592 macros.
27593 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27594 (RUN_TEST_fff_f): Take argument string. Call new setup and
27595 cleanup macros.
27596 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27597 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27598 macros.
27599 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27600 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27601 macros.
27602 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27603 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27604 cleanup macros.
27605 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27606 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27607 cleanup macros.
27608 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27609 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27610 cleanup macros.
27611 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27612 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27613 macros.
27614 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27615 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27616 macros.
27617 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27618 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27619 macros.
27620 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27621 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27622 cleanup macros.
27623 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27624 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27625 cleanup macros.
27626 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27627 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27628 macros.
27629 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27630 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27631 cleanup macros.
27632 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27633 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27634 macros.
27635 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27636 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27637 macros.
27638 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27639 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27640 cleanup macros.
27641 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27642
27643 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27644
27645 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27646 to _sifields.sigfault.
27647 (si_addr_lsb): Define new macro.
27648 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27650 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27651
27652 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27653
27654 [BZ #15441]
27655 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27656 returns -1.
27657 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27658 null return -1.
27659 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27660 loading the domain.
27661
27662 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27663
27664 * math/gen-libm-test.pl (parse_args): Do not include expected
27665 result in test name.
27666 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27667 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27668 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27669 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27670 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27672
27673 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27674
27675 * benchtests/Makefile: Sort function entries.
27676
27677 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27678 tanh, asinh, acosh, atanh.
27679 * benchtests/acos-inputs: New file.
27680 * benchtests/acosh-inputs: New file.
27681 * benchtests/asin-inputs: New file.
27682 * benchtests/asinh-inputs: New file.
27683 * benchtests/atanh-inputs: New file.
27684 * benchtests/cosh-inputs: New file.
27685 * benchtests/log-inputs: New file.
27686 * benchtests/sinh-inputs: New file.
27687 * benchtests/tanh-inputs: New file.
27688
27689 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27690
27691 [BZ #15339]
27692 * posix/tst-getaddrinfo4.c: New test.
27693 * posix/Makefile (tests): Add it.
27694
27695 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27696
27697 [BZ #15339]
27698 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27699 when no services were used.
27700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27701 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27702
27703 2013-05-21 Andreas Schwab <schwab@suse.de>
27704
27705 [BZ #15014]
27706 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27707 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27708 successful.
27709 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27710 redundant variable declarations and reallocation of buffer when
27711 parsing as IPv6 address. Always set NSS status when called from
27712 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27713 buffer too small. Correct computation of needed size.
27714 * nss/Makefile (tests): Add test-digits-dots.
27715 * nss/test-digits-dots.c: New test.
27716
27717 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27718
27719 * benchtests/Makefile: Remove instructions for adding
27720 benchmark tests.
27721 * benchtests/README: New file to explain how to execute and
27722 enhance the benchmark tests.
27723
27724 2013-05-21 Andreas Schwab <schwab@suse.de>
27725
27726 [BZ #15493]
27727 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27728 * setjmp/tst-sigsetjmp.c: New test.
27729
27730 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27731
27732 * sysdeps/x86_64/memset.S (memset): New implementation.
27733 (__bzero): Likewise.
27734 (__memset_tail): New function.
27735
27736 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27737
27738 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27739 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27740 __memcpy_sse2_unaligned ifunc selection.
27741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27742 Add memcpy-sse2-unaligned.S.
27743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27744 Add: __memcpy_sse2_unaligned.
27745
27746 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27747
27748 [BZ #15490]
27749 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27750 math_force_eval before restoring floating-point envrionment.
27751 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27753 Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27755 <math_private.h>.
27756 (__nearbyintl): Use math_force_eval before restoring
27757 floating-point environment.
27758 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27759
27760 * math/gen-libm-test.pl (special_functions): Remove.
27761 (parse_args): Don't handle TEST_extra. Handle functions with no
27762 return value.
27763 * math/libm-test.inc (struct test_sincos_data): Replace with
27764 struct test_fFF_11_data.
27765 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27766 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27767 (sincos_test_data): Change element type to struct
27768 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27769 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27770 RUN_TEST_LOOP_sincos.
27771 * math/README.libm-test: Don't mention special handling of
27772 individual functions.
27773 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27774 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27775 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27776 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27777 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27779
27780 * math/gen-libm-test.pl (get_variable): Remove function.
27781 (parse_args): Don't show pointer parameters to call in test
27782 names. Use "extra output N" in test names for extra outputs
27783 rather than naming variables.
27784
27785 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27786
27787 [BZ #15488]
27788 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27789 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27790 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27791 double tests.
27792 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27793 disable.
27794 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27795 check_long_double.
27796
27797 * math/gen-libm-test.pl (@tests): Remove variable.
27798 ($count): Likewise.
27799 (new_test): Remove function.
27800 (show_exceptions): New function.
27801 (special_functions): Use show_exceptions instead of new_test.
27802 (parse_args): Likewise.
27803 (generate_testfile): Pass only function name in generated call to
27804 print_max_error or print_complex_max_error.
27805 (get_ulps): Do not handle complex tests specially.
27806 (output_test): Rename to ...
27807 (get_all_ulps_for_test): ... this. Return a string rather than
27808 printing to a file. Require ulps to be present.
27809 (output_ulps): Generate arrays rather than #defines.
27810 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27811 (struct ulp_data): New type.
27812 (BUILD_COMPLEX_ULP): Remove macro.
27813 (compare_ulp_data): New function.
27814 (find_ulps): Likewise.
27815 (find_test_ulps): Likewise.
27816 (find_function_ulps): Likewise.
27817 (find_complex_function_ulps): Likewise.
27818 (print_max_error): Determine allowed ulps using
27819 find_function_ulps.
27820 (print_complex_max_error): Determine allowed ulps using
27821 find_complex_function_ulps.
27822 (check_float_internal): Determine max ulps using find_test_ulps.
27823 (check_float): Do not take max_ulp parameter. Update call to
27824 check_float_internal.
27825 (check_complex): Likewise.
27826 (check_int): Do not take max_ulp parameter.
27827 (check_long): Likewise.
27828 (check_bool): Likewise.
27829 (check_longlong): Likewise.
27830 (struct test_f_f_data): Remove max_ulp field.
27831 (struct test_ff_f_data): Likewise.
27832 (struct test_ff_f_data_nexttoward): Likewise.
27833 (struct test_fi_f_data): Likewise.
27834 (struct test_fl_f_data): Likewise.
27835 (struct test_if_f_data): Likewise.
27836 (struct test_fff_f_data): Likewise.
27837 (struct test_c_f_data): Likewise.
27838 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27839 (struct test_fF_f1_data): Likewise.
27840 (struct test_ffI_f1_data): Likewise.
27841 (struct test_c_c_data): Remove max_ulp field.
27842 (struct test_cc_c_data): Likewise.
27843 (struct test_f_i_data): Likewise.
27844 (struct test_ff_i_data): Likewise.
27845 (struct test_f_l_data): Likewise.
27846 (struct test_f_L_data): Likewise.
27847 (struct test_sincos_data): Likewise.
27848 (RUN_TEST_f_f): Do not handle ulps.
27849 (RUN_TEST_LOOP_f_f): Likewise.
27850 (RUN_TEST_2_f): Likewise.
27851 (RUN_TEST_LOOP_2_f): Likewise.
27852 (RUN_TEST_fff_f): Likewise.
27853 (RUN_TEST_LOOP_fff_f): Likewise.
27854 (RUN_TEST_c_f): Likewise.
27855 (RUN_TEST_LOOP_c_f): Likewise.
27856 (RUN_TEST_f_f1): Likewise.
27857 (RUN_TEST_LOOP_f_f1): Likewise.
27858 (RUN_TEST_fF_f1): Likewise.
27859 (RUN_TEST_LOOP_fF_f1): Likewise.
27860 (RUN_TEST_fI_f1): Likewise.
27861 (RUN_TEST_LOOP_fI_f1): Likewise.
27862 (RUN_TEST_ffI_f1): Likewise.
27863 (RUN_TEST_LOOP_ffI_f1): Likewise.
27864 (RUN_TEST_c_c): Likewise.
27865 (RUN_TEST_LOOP_c_c): Likewise.
27866 (RUN_TEST_cc_c): Likewise.
27867 (RUN_TEST_LOOP_cc_c): Likewise.
27868 (RUN_TEST_f_i): Likewise.
27869 (RUN_TEST_LOOP_f_i): Likewise.
27870 (RUN_TEST_f_i_tg): Likewise.
27871 (RUN_TEST_LOOP_f_i_tg): Likewise.
27872 (RUN_TEST_ff_i_tg): Likewise.
27873 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27874 (RUN_TEST_f_b): Likewise.
27875 (RUN_TEST_LOOP_f_b): Likewise.
27876 (RUN_TEST_f_b_tg): Likewise.
27877 (RUN_TEST_LOOP_f_b_tg): Likewise.
27878 (RUN_TEST_f_l): Likewise.
27879 (RUN_TEST_LOOP_f_l): Likewise.
27880 (RUN_TEST_f_L): Likewise.
27881 (RUN_TEST_LOOP_f_L): Likewise.
27882 (RUN_TEST_sincos): Likewise.
27883 (RUN_TEST_LOOP_sincos): Likewise.
27884
27885 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27886
27887 [BZ #15480]
27888 [BZ #15485]
27889 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27890 main case of finite arguments, set rounding mode to FE_TONEAREST
27891 and discard exceptions.
27892 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27893 exceptions.
27894 (remainder_tonearest_test_data): New variable.
27895 (remainder_test_tonearest): New function.
27896 (remainder_towardzero_test_data): New variable.
27897 (remainder_test_towardzero): New function.
27898 (remainder_downward_test_data): New variable.
27899 (remainder_test_downward): New function.
27900 (remainder_upward_test_data): New variable.
27901 (remainder_test_upward): New function.
27902 (main): Call the new test functions.
27903
27904 * math/libm-test.inc (struct test_f_f1_data): Remove field
27905 extra_init.
27906 (struct test_fF_f1_data): Likewise.
27907 (struct test_ffI_f1_data): Likewise.
27908 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27909 based on value of EXTRA_EXPECTED.
27910 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27911 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27912 EXTRA_VAR based on value of EXTRA_EXPECTED.
27913 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27914 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27915 EXTRA_VAR based on value of EXTRA_EXPECTED.
27916 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27917 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27918 EXTRA_VAR based on value of EXTRA_EXPECTED.
27919 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27920 * math/gen-libm-test.pl (parse_args): Don't output initializers
27921 for extra output values.
27922
27923 * math/libm-test.inc (check_int): Expect result to be exactly
27924 equal to expected value and do not handle ulps.
27925 (check_long): Likewise.
27926 (check_longlong): Likewise.
27927
27928 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27929 exceptions.
27930 (cimag_test_data): Likewise.
27931 (conj_test_data): Likewise.
27932 (copysign_test_data): Likewise.
27933 (cproj_test_data): Likewise.
27934 (creal_test_data): Likewise.
27935 (fabs_test_data): Likewise.
27936 (fdim_test_data): Likewise.
27937 (finite_test_data): Likewise.
27938 (floor_test_data): Likewise.
27939 (fmax_test_data): Likewise.
27940 (fmin_test_data): Likewise.
27941 (fmod_test_data): Likewise.
27942 (fpclassify_test_data): Likewise.
27943 (frexp_test_data): Likewise.
27944 (ilogb_test_data): Likewise.
27945 (isfinite_test_data): Likewise.
27946 (isgreater_test_data): Likewise.
27947 (isgreaterequal_test_data): Likewise.
27948 (isinf_test_data): Likewise.
27949 (isless_test_data): Likewise.
27950 (islessequal_test_data): Likewise.
27951 (islessgreater_test_data): Likewise.
27952 (isnan_test_data): Likewise.
27953 (isnormal_test_data): Likewise.
27954 (issignaling_test_data): Likewise.
27955 (isunordered_test_data): Likewise.
27956 (ldexp_test_data): Likewise.
27957 (lrint_test_data): Likewise.
27958 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27959 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27960 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27961 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27962 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27963 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27964 test input.
27965 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27966 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27967 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27968 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27969 that test input.
27970 (lrint_downward_test_data): Test for "inexact" exceptions.
27971 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27972 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27973 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27974 test input.
27975 (lrint_upward_test_data): Test for "inexact" exceptions.
27976 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27977 test input.
27978 (llrint_test_data): Test for "inexact" exceptions.
27979 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27980 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27981 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27982 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27983 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27984 (llrint_downward_test_data): Test for "inexact" exceptions.
27985 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27986 (llrint_upward_test_data): Test for "inexact" exceptions.
27987 (logb_test_data): Likewise.
27988 (logb_downward_test_data): Likewise.
27989 (nextafter_test_data): Likewise.
27990 (nexttoward_test_data): Likewise.
27991 (remainder_test_data): Likewise.
27992 (remquo_test_data): Likewise.
27993 (scalbn_test_data): Likewise.
27994 (scalbln_test_data): Likewise.
27995 (signbit_test_data): Likewise.
27996 (sqrt_test_data): Likewise.
27997 (significand_test_data): Likewise.
27998
27999 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28000
28001 [BZ #15424]
28002 * benchtests/bench-modf.c (struct args): Mark arg0 as
28003 volatile.
28004 * scripts/bench.pl: Mark members of struct args as volatile.
28005
28006 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28007
28008 [BZ # 15497]
28009 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28010 negative infinity on POWER6 or lower.
28011 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28012
28013 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28014
28015 [BZ #15442]
28016 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28017 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28018 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28019 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28020 (_FP_SETQNAN): New macro.
28021 (_FP_SETQNAN_SEMIRAW): Likewise.
28022 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28023 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28024 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28025 (FP_EXTEND): Use _FP_FRAC_SNANP.
28026 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28027 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28028 into account.
28029 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28030 New macro.
28031 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28032 Likewise.
28033
28034 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28035
28036 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28037 with DIVIDE_BY_ZERO_EXCEPTION.
28038 (gamma_test_data): Likewise.
28039 (lgamma_test_data): Likewise.
28040 (log_test_data): Likewise.
28041 (log10_test_data): Likewise.
28042 (log2_test_data): Likewise.
28043 (tgamma_test_data): Likewise.
28044
28045 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28046 (acos_test_tonearest): Likewise.
28047 (acos_test_towardzero): Likewise.
28048 (acos_test_downward): Likewise.
28049 (acos_test_upward): Likewise.
28050 (acosh_test): Likewise.
28051 (asin_test): Likewise.
28052 (asin_test_tonearest): Likewise.
28053 (asin_test_towardzero): Likewise.
28054 (asin_test_downward): Likewise.
28055 (asin_test_upward): Likewise.
28056 (asinh_test): Likewise.
28057 (atan_test): Likewise.
28058 (atanh_test): Likewise.
28059 (atan2_test): Likewise.
28060 (cabs_test): Likewise.
28061 (cacos_test): Likewise.
28062 (cacosh_test): Likewise.
28063 (casin_test): Likewise.
28064 (casinh_test): Likewise.
28065 (catan_test): Likewise.
28066 (catanh_test): Likewise.
28067 (cbrt_test): Likewise.
28068 (ccos_test): Likewise.
28069 (ccosh_test): Likewise.
28070 (cexp_test): Likewise.
28071 (clog_test): Likewise.
28072 (clog10_test): Likewise.
28073 (cos_test): Likewise.
28074 (cos_test_tonearest): Likewise.
28075 (cos_test_towardzero): Likewise.
28076 (cos_test_downward): Likewise.
28077 (cos_test_upward): Likewise.
28078 (cosh_test): Likewise.
28079 (cosh_test_tonearest): Likewise.
28080 (cosh_test_towardzero): Likewise.
28081 (cosh_test_downward): Likewise.
28082 (cosh_test_upward): Likewise.
28083 (cpow_test): Likewise.
28084 (csin_test): Likewise.
28085 (csinh_test): Likewise.
28086 (csqrt_test): Likewise.
28087 (ctan_test): Likewise.
28088 (ctan_test_tonearest): Likewise.
28089 (ctan_test_towardzero): Likewise.
28090 (ctan_test_downward): Likewise.
28091 (ctan_test_upward): Likewise.
28092 (ctanh_test): Likewise.
28093 (ctanh_test_tonearest): Likewise.
28094 (ctanh_test_towardzero): Likewise.
28095 (ctanh_test_downward): Likewise.
28096 (ctanh_test_upward): Likewise.
28097 (erf_test): Likewise.
28098 (erfc_test): Likewise.
28099 (exp_test): Likewise.
28100 (exp_test_tonearest): Likewise.
28101 (exp_test_towardzero): Likewise.
28102 (exp_test_downward): Likewise.
28103 (exp_test_upward): Likewise.
28104 (exp10_test): Likewise.
28105 (exp2_test): Likewise.
28106 (expm1_test): Likewise.
28107 (fmod_test): Likewise.
28108 (gamma_test): Likewise.
28109 (hypot_test): Likewise.
28110 (j0_test): Likewise.
28111 (j1_test): Likewise.
28112 (jn_test): Likewise.
28113 (lgamma_test): Likewise.
28114 (log_test): Likewise.
28115 (log10_test): Likewise.
28116 (log1p_test): Likewise.
28117 (log2_test): Likewise.
28118 (logb_test_downward): Likewise.
28119 (pow_test): Likewise.
28120 (pow_test_tonearest): Likewise.
28121 (pow_test_towardzero): Likewise.
28122 (pow_test_downward): Likewise.
28123 (pow_test_upward): Likewise.
28124 (remainder_test): Likewise.
28125 (remquo_test): Likewise.
28126 (sin_test): Likewise.
28127 (sin_test_tonearest): Likewise.
28128 (sin_test_towardzero): Likewise.
28129 (sin_test_downward): Likewise.
28130 (sin_test_upward): Likewise.
28131 (sincos_test): Likewise.
28132 (sinh_test): Likewise.
28133 (sinh_test_tonearest): Likewise.
28134 (sinh_test_towardzero): Likewise.
28135 (sinh_test_downward): Likewise.
28136 (sinh_test_upward): Likewise.
28137 (sqrt_test): Likewise.
28138 (tan_test): Likewise.
28139 (tan_test_tonearest): Likewise.
28140 (tan_test_towardzero): Likewise.
28141 (tan_test_downward): Likewise.
28142 (tan_test_upward): Likewise.
28143 (tanh_test): Likewise.
28144 (tgamma_test): Likewise.
28145 (y0_test): Likewise.
28146 (y1_test): Likewise.
28147 (yn_test): Likewise.
28148
28149 * math/gen-libm-test.pl (adjust_arg): Remove function.
28150 (special_function): Remove argument $in_func. Only handle
28151 generating output for tables of tests, not inside functions.
28152 (parse_args): Likewise.
28153 (generate_testfile): Remove variable $in_func. Update call to
28154 parse_args.
28155 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28156 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28157 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28158 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28159 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28160 (MAX_VALUE_INIT): Rename macro to max_value.
28161 (MIN_VALUE_INIT): Rename macro to min_value.
28162 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28163 (plus_zero): Remove variable.
28164 (minus_zero): Likewise.
28165 (plus_infty): Likewise.
28166 (minus_infty): Likewise.
28167 (qnan_value): Likewise.
28168 (max_value): Likewise.
28169 (min_value): Likewise.
28170 (min_subnorm_value): Likewise.
28171
28172 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28173
28174 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28175 uint64_t or uint32_t usage.
28176 * crypt/sha256-block.c: Likewise.
28177 * crypt/sha256-crypt.c: Likewise.
28178 * crypt/sha256.c: Likewise.
28179 * crypt/sha512-block.c: Likewise.
28180 * crypt/sha512-crypt.c: Likewise.
28181 * crypt/sha512.c: Likewise.
28182 * debug/backtrace-tst.c: Likewise.
28183 * debug/pcprofiledump.c: Likewise.
28184 * elf/cache.c: Likewise.
28185 * elf/dl-cache.c: Likewise.
28186 * elf/dl-misc.c: Likewise.
28187 * elf/dl-profile.c: Likewise.
28188 * elf/dl-support.c: Likewise.
28189 * elf/ldconfig.c: Likewise.
28190 * elf/sprof.c: Likewise.
28191 * iconv/dummy-repertoire.c: Likewise.
28192 * iconv/iconv_charmap.c: Likewise.
28193 * iconv/skeleton.c: Likewise.
28194 * iconvdata/8bit-generic.c: Likewise.
28195 * iconvdata/cp737.h: Likewise.
28196 * iconvdata/cp775.h: Likewise.
28197 * iconvdata/ibm1008.h: Likewise.
28198 * iconvdata/ibm1025.h: Likewise.
28199 * iconvdata/ibm1046.h: Likewise.
28200 * iconvdata/ibm1097.h: Likewise.
28201 * iconvdata/ibm1112.h: Likewise.
28202 * iconvdata/ibm1122.h: Likewise.
28203 * iconvdata/ibm1123.h: Likewise.
28204 * iconvdata/ibm1124.h: Likewise.
28205 * iconvdata/ibm1129.h: Likewise.
28206 * iconvdata/ibm1130.h: Likewise.
28207 * iconvdata/ibm1132.h: Likewise.
28208 * iconvdata/ibm1133.h: Likewise.
28209 * iconvdata/ibm1137.h: Likewise.
28210 * iconvdata/ibm1140.h: Likewise.
28211 * iconvdata/ibm1141.h: Likewise.
28212 * iconvdata/ibm1142.h: Likewise.
28213 * iconvdata/ibm1143.h: Likewise.
28214 * iconvdata/ibm1144.h: Likewise.
28215 * iconvdata/ibm1145.h: Likewise.
28216 * iconvdata/ibm1146.h: Likewise.
28217 * iconvdata/ibm1147.h: Likewise.
28218 * iconvdata/ibm1148.h: Likewise.
28219 * iconvdata/ibm1149.h: Likewise.
28220 * iconvdata/ibm1153.h: Likewise.
28221 * iconvdata/ibm1154.h: Likewise.
28222 * iconvdata/ibm1155.h: Likewise.
28223 * iconvdata/ibm1156.h: Likewise.
28224 * iconvdata/ibm1157.h: Likewise.
28225 * iconvdata/ibm1158.h: Likewise.
28226 * iconvdata/ibm1160.h: Likewise.
28227 * iconvdata/ibm1161.h: Likewise.
28228 * iconvdata/ibm1162.h: Likewise.
28229 * iconvdata/ibm1163.h: Likewise.
28230 * iconvdata/ibm1164.h: Likewise.
28231 * iconvdata/ibm1166.h: Likewise.
28232 * iconvdata/ibm1167.h: Likewise.
28233 * iconvdata/ibm12712.h: Likewise.
28234 * iconvdata/ibm1390.h: Likewise.
28235 * iconvdata/ibm1399.h: Likewise.
28236 * iconvdata/ibm16804.h: Likewise.
28237 * iconvdata/ibm4517.h: Likewise.
28238 * iconvdata/ibm4899.h: Likewise.
28239 * iconvdata/ibm4909.h: Likewise.
28240 * iconvdata/ibm4971.h: Likewise.
28241 * iconvdata/ibm5347.h: Likewise.
28242 * iconvdata/ibm803.h: Likewise.
28243 * iconvdata/ibm856.h: Likewise.
28244 * iconvdata/ibm901.h: Likewise.
28245 * iconvdata/ibm902.h: Likewise.
28246 * iconvdata/ibm9030.h: Likewise.
28247 * iconvdata/ibm9066.h: Likewise.
28248 * iconvdata/ibm921.h: Likewise.
28249 * iconvdata/ibm922.h: Likewise.
28250 * iconvdata/ibm9448.h: Likewise.
28251 * iconvdata/isiri-3342.h: Likewise.
28252 * iconvdata/jis0201.h: Likewise.
28253 * include/link.h: Likewise.
28254 * include/netdb.h: Likewise.
28255 * inet/check_native.c: Likewise.
28256 * inet/check_pf.c: Likewise.
28257 * inet/getipv4sourcefilter.c: Likewise.
28258 * inet/getnameinfo.c: Likewise.
28259 * inet/getsourcefilter.c: Likewise.
28260 * inet/htonl.c: Likewise.
28261 * inet/setipv4sourcefilter.c: Likewise.
28262 * inet/setsourcefilter.c: Likewise.
28263 * inet/test-inet6_opt.c: Likewise.
28264 * inet/tst-network.c: Likewise.
28265 * locale/C-collate.c: Likewise.
28266 * locale/C-ctype.c: Likewise.
28267 * locale/C-time.c: Likewise.
28268 * locale/C-translit.h: Likewise.
28269 * locale/loadarchive.c: Likewise.
28270 * locale/programs/3level.h: Likewise.
28271 * locale/programs/charmap.c: Likewise.
28272 * locale/programs/charmap.h: Likewise.
28273 * locale/programs/ld-address.c: Likewise.
28274 * locale/programs/ld-collate.c: Likewise.
28275 * locale/programs/ld-ctype.c: Likewise.
28276 * locale/programs/ld-identification.c: Likewise.
28277 * locale/programs/ld-measurement.c: Likewise.
28278 * locale/programs/ld-messages.c: Likewise.
28279 * locale/programs/ld-monetary.c: Likewise.
28280 * locale/programs/ld-name.c: Likewise.
28281 * locale/programs/ld-numeric.c: Likewise.
28282 * locale/programs/ld-paper.c: Likewise.
28283 * locale/programs/ld-telephone.c: Likewise.
28284 * locale/programs/ld-time.c: Likewise.
28285 * locale/programs/linereader.c: Likewise.
28286 * locale/programs/locale.c: Likewise.
28287 * locale/programs/locarchive.c: Likewise.
28288 * locale/programs/locfile.h: Likewise.
28289 * locale/programs/repertoire.c: Likewise.
28290 * locale/programs/simple-hash.c: Likewise.
28291 * locale/programs/simple-hash.h: Likewise.
28292 * malloc/memusage.c: Likewise.
28293 * malloc/memusagestat.c: Likewise.
28294 * nis/nis_defaults.c: Likewise.
28295 * nis/nis_hash.c: Likewise.
28296 * nis/nis_print.c: Likewise.
28297 * nis/nis_xdr.c: Likewise.
28298 * nscd/connections.c: Likewise.
28299 * nscd/hstcache.c: Likewise.
28300 * nscd/nscd_gethst_r.c: Likewise.
28301 * nscd/nscd_getserv_r.c: Likewise.
28302 * nscd/nscd_helper.c: Likewise.
28303 * nscd/servicescache.c: Likewise.
28304 * nss/makedb.c: Likewise.
28305 * nss/nss_db/db-XXX.c: Likewise.
28306 * nss/nss_db/db-initgroups.c: Likewise.
28307 * nss/nss_db/db-netgrp.c: Likewise.
28308 * nss/nss_files/files-network.c: Likewise.
28309 * nss/nss_files/files-parse.c: Likewise.
28310 * posix/bug-regex5.c: Likewise.
28311 * posix/fnmatch_loop.c: Likewise.
28312 * posix/regcomp.c: Likewise.
28313 * posix/regexec.c: Likewise.
28314 * posix/tst-rfc3484-2.c: Likewise.
28315 * posix/tst-rfc3484-3.c: Likewise.
28316 * posix/tst-rfc3484.c: Likewise.
28317 * resolv/nss_dns/dns-canon.c: Likewise.
28318 * resolv/nss_dns/dns-network.c: Likewise.
28319 * resolv/res_init.c: Likewise.
28320 * resolv/res_mkquery.c: Likewise.
28321 * resolv/tst-aton.c: Likewise.
28322 * stdlib/cxa_atexit.c: Likewise.
28323 * stdlib/cxa_finalize.c: Likewise.
28324 * stdlib/gen-fpioconst.c: Likewise.
28325 * stdlib/strtol_l.c: Likewise.
28326 * string/tst-endian.c: Likewise.
28327 * sunrpc/auth_des.c: Likewise.
28328 * sunrpc/clnt_udp.c: Likewise.
28329 * sunrpc/rtime.c: Likewise.
28330 * sunrpc/svcauth_des.c: Likewise.
28331 * sunrpc/xdr.c: Likewise.
28332 * sunrpc/xdr_intXX_t.c: Likewise.
28333 * sunrpc/xdr_rec.c: Likewise.
28334 * sysdeps/generic/ldconfig.h: Likewise.
28335 * sysdeps/generic/ldsodefs.h: Likewise.
28336 * sysdeps/generic/memusage.h: Likewise.
28337 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28338 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28339 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28340 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28342 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28343 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28344 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28345 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28347 * sysdeps/posix/getaddrinfo.c: Likewise.
28348 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28349 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28350 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28351 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28352 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28353 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28354 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28355 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28356 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28357 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28358 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28359 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28360 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28361 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28362 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28363 * sysdeps/x86_64/dl-tls.h: Likewise.
28364 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28365 * time/alt_digit.c: Likewise.
28366 * time/era.c: Likewise.
28367 * wcsmbs/tst-c16c32-1.c: Likewise.
28368
28369 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28370
28371 * math/libm-test.inc (struct test_sincos_data): New type.
28372 (RUN_TEST_LOOP_sincos): New macro.
28373 (sincos_test_data): New variable.
28374 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28375
28376 2013-05-16 Richard Henderson <rth@redhat.com>
28377
28378 * math/atest-exp2.c (LIMB64): New macro.
28379 (CONSTSZ): New macro.
28380 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28381 (hexdig): Move ...
28382 (print_mpn_fp): ... to function scope.
28383 (read_mpn_hex): Remove.
28384 (get_log2): Remove.
28385 (exp2_mpn): Use mp_log2.
28386 (main): Use mp_exp1.
28387
28388 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28389
28390 * math/libm-test.inc: Remove comment about not testing "inexact"
28391 exceptions.
28392 (INEXACT_EXCEPTION): New macro.
28393 (NO_INEXACT_EXCEPTION): Likewise.
28394 (INVALID_EXCEPTION_OK): Update value.
28395 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28396 (OVERFLOW_EXCEPTION_OK): Likewise.
28397 (UNDERFLOW_EXCEPTION_OK): Likewise.
28398 (IGNORE_ZERO_INF_SIGN): Likewise.
28399 (ERRNO_UNCHANGED): Likewise.
28400 (ERRNO_EDOM): Likewise.
28401 (ERRNO_ERANGE): Likewise.
28402 (test_exceptions): Handle testing "inexact" exceptions.
28403 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28404 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28405 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28406 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28407 INEXACT_EXCEPTION.
28408 (rint_towardzero_test_data): Likewise.
28409 (rint_downward_test_data): Likewise.
28410 (rint_upward_test_data): Likewise.
28411
28412 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28413 with OVERFLOW_EXCEPTION.
28414 (exp10_test_data): Likewise.
28415 (exp2_test_data): Likewise.
28416 (expm1_test_data): Likewise.
28417 (lgamma_test_data): Likewise.
28418 (pow_test_data): Likewise.
28419 (tgamma_test_data): Likewise.
28420 (yn_test_data): Remove duplicate test of overflow.
28421
28422 * math/libm-test.inc (struct test_cc_c_data): New type.
28423 (RUN_TEST_LOOP_cc_c): New macro.
28424 (cpow_test_data): New variable.
28425 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28426
28427 * math/libm-test.inc (struct test_f_L_data): New type.
28428 (RUN_TEST_LOOP_f_L): New macro.
28429 (llrint_test_data): New variable.
28430 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28431 (llrint_tonearest_test_data): New variable.
28432 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28433 (llrint_towardzero_test_data): New variable.
28434 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28435 (llrint_downward_test_data): New variable.
28436 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28437 (llrint_upward_test_data): New variable.
28438 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28439 (llround_test_data): New variable.
28440 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28441
28442 2013-05-13 Peter Collingbourne <pcc@google.com>
28443
28444 * math/atest-exp2.c (get_log2): Remove const attribute.
28445
28446 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28447
28448 * math/libm-test.inc (struct test_f_l_data): New type.
28449 (RUN_TEST_LOOP_f_l): New macro.
28450 (lrint_test_data): New variable.
28451 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28452 (lrint_tonearest_test_data): New variable.
28453 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28454 (lrint_towardzero_test_data): New variable.
28455 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28456 (lrint_downward_test_data): New variable.
28457 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28458 (lrint_upward_test_data): New variable.
28459 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28460 (lround_test_data): New variable.
28461 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28462
28463 2013-05-15 Peter Collingbourne <pcc@google.com>
28464
28465 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28466 (EXTRACT_WORDS64) Use where appropriate.
28467 (INSERT_WORDS64) Likewise.
28468
28469 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28470 constraints with x constraints.
28471 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28472
28473 * malloc/obstack.c (_obstack_compat): Add initializer.
28474
28475 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28476
28477 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28478 si_trapno and add si_addr_lsb to _sifields.sigfault.
28479 (si_trapno): Remove macro.
28480 (si_addr_lsb): Define new macro.
28481 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28482
28483 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28484
28485 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28486 instead of TEST_f_l.
28487 (llrint_test_tonearest): Likewise.
28488 (llrint_test_towardzero): Likewise.
28489 (llrint_test_downward): Likewise.
28490 (llrint_test_upward): Likewise.
28491 (llround_test): Likewise.
28492
28493 * math/libm-test.inc (struct test_f_i_data): Add comment.
28494 (RUN_TEST_LOOP_f_b): New macro.
28495 (RUN_TEST_LOOP_f_b_tg): Likewise.
28496 (finite_test_data): New variable.
28497 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28498 (isfinite_test_data): New variable.
28499 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28500 (isinf_test_data): New variable.
28501 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28502 (isnan_test_data): New variable.
28503 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28504 (isnormal_test_data): New variable.
28505 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28506 (issignaling_test_data): New variable.
28507 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28508 (signbit_test_data): New variable.
28509 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28510
28511 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28512 with INVALID_EXCEPTION.
28513 (acosh_test_data): Likewise.
28514 (asin_test_data): Likewise.
28515 (atanh_test_data): Likewise.
28516 (fmod_test_data): Likewise.
28517 (log_test_data): Likewise.
28518 (log10_test_data): Likewise.
28519 (log2_test_data): Likewise.
28520 (pow_test_data): Likewise.
28521 (sqrt_test_data): Likewise.
28522 (y0_test_data): Likewise.
28523 (y1_test_data): Likewise.
28524 (yn_test_data): Likewise.
28525
28526 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28527 function contents.
28528
28529 * math/libm-test.inc (struct test_ff_i_data): New type.
28530 (RUN_TEST_LOOP_ff_i_tg): New macro.
28531 (isgreater_test_data): New variable.
28532 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28533 (isgreaterequal_test_data): New variable.
28534 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28535 (isless_test_data): New variable.
28536 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28537 (islessequal_test_data): New variable.
28538 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28539 (islessgreater_test_data): New variable.
28540 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28541 (isunordered_test_data): New variable.
28542 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28543
28544 2013-05-14 David S. Miller <davem@davemloft.net>
28545
28546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28547
28548 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28549
28550 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28551
28552 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28553 extra_test to int.
28554 (struct test_f_i_data): Change type of max_ulp to int.
28555
28556 * math/libm-test.inc (test_ffI_f1_data): New type.
28557 (RUN_TEST_LOOP_ffI_f1): New macro.
28558 (remquo_test_data): New variable.
28559 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28560
28561 * setjmp/tst-setjmp-fp.c: New file.
28562 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28563 (link-libm): New variable.
28564 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28565
28566 * math/libm-test.inc (struct test_f_i_data): New type.
28567 (RUN_TEST_LOOP_f_i): New macro.
28568 (RUN_TEST_LOOP_f_i_tg): Likewise.
28569 (fpclassify_test_data): New variable.
28570 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28571 (ilogb_test_data): New variable.
28572 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28573
28574 * math/libm-test.inc (scalbln_test): Correct function name in END
28575 call.
28576
28577 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28578 (RUN_TEST_LOOP_fI_f1): New macro.
28579 (frexp_test_data): New variable.
28580 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28581
28582 * math/libm-test.inc (struct test_fF_f1_data): New type.
28583 (RUN_TEST_LOOP_fF_f1): New macro.
28584 (modf_test_data): New variable.
28585 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28586
28587 * math/libm-test.inc (struct test_f_f1_data): New type.
28588 (RUN_TEST_LOOP_f_f1): New macro.
28589 (gamma_test_data): New variable.
28590 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28591 (lgamma_test_data): New variable.
28592 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28593
28594 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28595
28596 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28597 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28598 (main): Comment "tls" pseudo-hwcap.
28599
28600 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28601
28602 * math/libm-test.inc (struct test_fl_f_data): New type.
28603 (RUN_TEST_LOOP_fl_f): New variable.
28604 (scalbln_test_data): New variable.
28605 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28606
28607 * math/libm-test.inc (struct test_fi_f_data): New type.
28608 (RUN_TEST_LOOP_fi_f): New macro.
28609 (ldexp_test_data): New variable.
28610 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28611 (scalbn_test_data): New variable.
28612 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28613
28614 * math/libm-test.inc (struct test_c_f_data): New type.
28615 (RUN_TEST_LOOP_c_f): New macro.
28616 (cabs_test_data): New variable.
28617 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28618 (carg_test_data): New variable.
28619 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28620 (cimag_test_data): New variable.
28621 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28622 (creal_test_data): New variable.
28623 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28624
28625 * math/libm-test.inc (struct test_if_f_data): New type.
28626 (RUN_TEST_LOOP_if_f): New macro.
28627 (jn_test_data): New variable.
28628 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28629 (yn_test_data): New variable.
28630 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28631
28632 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28633
28634 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28635
28636 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28637 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28638
28639 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28640
28641 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28642 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28643 (bench-deps): Add bench-timing.h.
28644 * benchtests-bench-skeleton.c: Include bench-timing.h.
28645 (main): Use TIMING_* macros instead of clock_gettime.
28646 * benchtests/bench-timing.h: New file.
28647
28648 [BZ #14582]
28649 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28650 Renamed from _LIB_VERSION.
28651 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28652
28653 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28654
28655 * math/libm-test.inc (struct test_fff_f_data): New type.
28656 (RUN_TEST_LOOP_fff_f): New macro.
28657 (fma_test_data): New variable.
28658 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28659 (fma_towardzero_test_data): New variable.
28660 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28661 (fma_downward_test_data): New variable.
28662 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28663 (fma_upward_test_data): New variable.
28664 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28665
28666 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28667 (struct test_c_c_data): New type.
28668 (RUN_TEST_LOOP_c_c): New macro.
28669 (cacos_test_data): New variable.
28670 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28671 (cacosh_test_data): New variable.
28672 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28673 (casin_test_data): New variable.
28674 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28675 (casinh_test_data): New variable.
28676 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28677 (catan_test_data): New variable.
28678 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28679 (catanh_test_data): New variable.
28680 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28681 (ccos_test_data): New variable.
28682 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28683 (ccosh_test_data): New variable.
28684 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28685 (cexp_test_data): New variable.
28686 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28687 (clog_test_data): New variable.
28688 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28689 (clog10_test_data): New variable.
28690 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28691 (conj_test_data): New variable.
28692 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28693 (cproj_test_data): New variable.
28694 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28695 (csin_test_data): New variable.
28696 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28697 (csinh_test_data): New variable.
28698 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28699 (csqrt_test_data): New variable.
28700 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28701 (ctan_test_data): New variable.
28702 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28703 (ctan_tonearest_test_data): New variable.
28704 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28705 (ctan_towardzero_test_data): New variable.
28706 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28707 (ctan_downward_test_data): New variable.
28708 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28709 (ctan_upward_test_data): New variable.
28710 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28711 (ctanh_test_data): New variable.
28712 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28713 (ctanh_tonearest_test_data): New variable.
28714 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28715 (ctanh_towardzero_test_data): New variable.
28716 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28717 (ctanh_downward_test_data): New variable.
28718 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28719 (ctanh_upward_test_data): New variable.
28720 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28721 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28722 of BUILD_COMPLEX.
28723
28724 * math/libm-test.inc (struct test_ff_f_data): New type.
28725 (struct test_ff_f_data_nexttoward): Likewise.
28726 (RUN_TEST_LOOP_2_f): New macro.
28727 (RUN_TEST_LOOP_ff_f): Likewise.
28728 (atan2_test_data): New variable.
28729 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28730 (copysign_test_data): New variable.
28731 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28732 (fdim_test_data): New variable.
28733 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28734 (fmax_test_data): New variable.
28735 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28736 (fmin_test_data): New variable.
28737 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28738 (fmod_test_data): New variable.
28739 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28740 (hypot_test_data): New variable.
28741 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28742 (nextafter_test_data): New variable.
28743 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28744 (nexttoward_test_data): New variable.
28745 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28746 (pow_test_data): New variable.
28747 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28748 (pow_tonearest_test_data): New variable.
28749 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28750 (pow_towardzero_test_data): New variable.
28751 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28752 (pow_downward_test_data): New variable.
28753 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28754 (pow_upward_test_data): New variable.
28755 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28756 (remainder_test_data): New variable.
28757 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28758 (scalb_test_data): New variable.
28759 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28760 * sysdeps/i386/fpu/libm-test-ulps: Update.
28761
28762 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28763
28764 * math/libm-test.inc (fma_test): Use max_value instead of local
28765 variable fltmax.
28766 (nextafter_test): Likewise.
28767
28768 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28769 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28770 (acos_downward_test_data): New variable.
28771 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28772 (acos_upward_test_data): New variable.
28773 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28774 (acosh_test_data): New variable.
28775 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28776 (asin_test_data): New variable.
28777 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28778 (asin_tonearest_test_data): New variable.
28779 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28780 (asin_towardzero_test_data): New variable.
28781 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28782 (asin_downward_test_data): New variable.
28783 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28784 (asin_upward_test_data): New variable.
28785 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28786 (asinh_test_data): New variable.
28787 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28788 (atan_test_data): New variable.
28789 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28790 (atanh_test_data): New variable.
28791 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28792 (cbrt_test_data): New variable.
28793 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28794 (ceil_test_data): New variable.
28795 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28796 (cos_test_data): New variable.
28797 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28798 (cos_tonearest_test_data): New variable.
28799 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28800 (cos_towardzero_test_data): New variable.
28801 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28802 (cos_downward_test_data): New variable.
28803 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28804 (cos_upward_test_data): New variable.
28805 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28806 (cosh_test_data): New variable.
28807 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28808 (cosh_tonearest_test_data): New variable.
28809 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28810 (cosh_towardzero_test_data): New variable.
28811 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28812 (cosh_downward_test_data): New variable.
28813 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28814 (cosh_upward_test_data): New variable.
28815 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28816 (erf_test_data): New variable.
28817 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28818 (erfc_test_data): New variable.
28819 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28820 (exp_test_data): New variable.
28821 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28822 (exp_tonearest_test_data): New variable.
28823 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28824 (exp_towardzero_test_data): New variable.
28825 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28826 (exp_downward_test_data): New variable.
28827 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28828 (exp_upward_test_data): New variable.
28829 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28830 (exp10_test_data): New variable.
28831 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28832 (exp2_test_data): New variable.
28833 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28834 (expm1_test_data): New variable.
28835 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28836 (fabs_test_data): New variable.
28837 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28838 (floor_test_data): New variable.
28839 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28840 (j0_test_data): New variable.
28841 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28842 (j1_test_data): New variable.
28843 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28844 (log_test_data): New variable.
28845 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28846 (log10_test_data): New variable.
28847 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28848 (log1p_test_data): New variable.
28849 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28850 (log2_test_data): New variable.
28851 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28852 (logb_test_data): New variable.
28853 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28854 (logb_downward_test_data): New variable.
28855 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28856 (nearbyint_test_data): New variable.
28857 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28858 (rint_test_data): New variable.
28859 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28860 (rint_tonearest_test_data): New variable.
28861 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28862 (rint_towardzero_test_data): New variable.
28863 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28864 (rint_downward_test_data): New variable.
28865 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28866 (rint_upward_test_data): New variable.
28867 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28868 (round_test_data): New variable.
28869 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28870 (sin_test_data): New variable.
28871 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28872 (sin_tonearest_test_data): New variable.
28873 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28874 (sin_towardzero_test_data): New variable.
28875 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28876 (sin_downward_test_data): New variable.
28877 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28878 (sin_upward_test_data): New variable.
28879 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28880 (sinh_test_data): New variable.
28881 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28882 (sinh_tonearest_test_data): New variable.
28883 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28884 (sinh_towardzero_test_data): New variable.
28885 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28886 (sinh_downward_test_data): New variable.
28887 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28888 (sinh_upward_test_data): New variable.
28889 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28890 (sqrt_test_data): New variable.
28891 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28892 (tan_test_data): New variable.
28893 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28894 (tan_tonearest_test_data): New variable.
28895 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28896 (tan_towardzero_test_data): New variable.
28897 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28898 (tan_downward_test_data): New variable.
28899 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28900 (tan_upward_test_data): New variable.
28901 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28902 (tanh_test_data): New variable.
28903 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28904 (tgamma_test_data): New variable.
28905 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28906 (trunc_test_data): New variable.
28907 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28908 (y0_test_data): New variable.
28909 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28910 (y1_test_data): New variable.
28911 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28912 (significand_test_data): New variable.
28913 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28914
28915 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28916
28917 [BZ #12387]
28918 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28919
28920 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28921
28922 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28923
28924 2013-05-10 Andreas Jaeger <aj@suse.de>
28925
28926 [BZ #15448]
28927 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28928 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28929
28930 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28931
28932 * math/gen-libm-test.pl (adjust_arg): New function.
28933 (special_functions): Handle generating output in both functions
28934 and arrays.
28935 (parse_args): Likewise.
28936 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28937 $in_func argument to parse_args.
28938 * math/libm-test.inc (struct test_f_f_data): New type.
28939 (IF_ROUND_INIT_): New macro.
28940 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28941 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28942 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28943 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28944 (ROUND_RESTORE_): Likewise.
28945 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28946 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28947 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28948 (ROUND_RESTORE_FE_UPWARD): Likewise.
28949 (RUN_TEST_LOOP_f_f): New macro.
28950 (acos_test_data): New variable.
28951 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28952 (acos_tonearest_test_data): New variable.
28953 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28954
28955 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28956
28957 * benchtests/bench-skeleton.c (startup): Fix coding style.
28958
28959 2013-05-10 Joseph Myers <joseph@codesourcery.com>
28960
28961 [BZ #6809]
28962 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28963 negative infinity argument.
28964 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28965 negative infinity argument.
28966 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28967 negative infinity argument.
28968 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28969 domain errors.
28970
28971 2013-05-10 Florian Weimer <fweimer@redhat.com>
28972
28973 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28974 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28975 * iconv/iconv_prog.c (main): Likewise.
28976 * locale/programs/charmap-dir.c (charmap_readdir)
28977 (fopen_uncompressed): Likewise.
28978 * locale/programs/locfile.c (siblings_uncached)
28979 (write_locale_data): Use lstat64 instead of lstat.
28980 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28981 stat.
28982
28983 2013-05-10 Andreas Jaeger <aj@suse.de>
28984
28985 [BZ #15395]
28986 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28987 localization.
28988 Include <locale.h>.
28989
28990 2013-05-09 Carlos O'Donell <carlos@redhat.com>
28991
28992 * elf/dl-close.c (_dl_close_worker): Add comments.
28993
28994 2013-05-09 Joseph Myers <joseph@codesourcery.com>
28995
28996 [BZ #15359]
28997 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28998 high part of pi/2.
28999 (__ieee754_rem_pio2l): Update comments.
29000
29001 [BZ #15429]
29002 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29003 high part of pi/2.
29004 (__ieee754_rem_pio2l): Update comments.
29005
29006 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29007 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29008
29009 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29010 M_PI_4l.
29011
29012 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29013 (M_PI_34_LOG10El): Likewise.
29014 (M_PI2_LOG10El): Likewise.
29015 (M_PI4_LOG10El): Likewise.
29016 (M_PI_LOG10El): Likewise.
29017
29018 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29019
29020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29021
29022 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29023
29024 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29025 (MINUS_ZERO_INIT): Likewise.
29026 (PLUS_INFTY_INIT): Likewise.
29027 (MINUS_INFTY_INIT): Likewise.
29028 (QNAN_VALUE_INIT): Likewise.
29029 (MAX_VALUE_INIT): Likewise.
29030 (MIN_VALUE_INIT): Likewise.
29031 (MIN_SUBNORM_VALUE_INIT): Likewise.
29032 (plus_zero): Initialize with PLUS_ZERO_INIT.
29033 (minus_zero): Initialize with MINUS_ZERO_INIT.
29034 (plus_infty): Initialize with PLUS_INFTY_INIT.
29035 (minus_infty): Initialize with MINUS_INFTY_INIT.
29036 (qnan_value): Initialize with QNAN_VALUE_INIT.
29037 (max_value): Initialize with MAX_VALUE_INIT.
29038 (min_value): Initialize with MIN_VALUE_INIT.
29039 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29040
29041 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29042 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29043 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29044 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29045
29046 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29047 (RUN_TEST_2_f): Likewise.
29048 (RUN_TEST_ff_f): Likewise.
29049 (RUN_TEST_fi_f): Likewise.
29050 (RUN_TEST_fl_f): Likewise.
29051 (RUN_TEST_fff_f): Likewise.
29052 (RUN_TEST_c_f): Likewise.
29053 (RUN_TEST_f_f1): Likewise.
29054 (RUN_TEST_fF_f1): Likewise.
29055 (RUN_TEST_fI_f1): Likewise.
29056 (RUN_TEST_ffI_f1): Likewise.
29057 (RUN_TEST_c_c): Likewise.
29058 (RUN_TEST_cc_c): Likewise.
29059 (RUN_TEST_f_i): Likewise.
29060 (RUN_TEST_f_i_tg): Likewise.
29061 (RUN_TEST_ff_i_tg): Likewise.
29062 (RUN_TEST_f_b): Likewise.
29063 (RUN_TEST_f_b_tg): Likewise.
29064 (RUN_TEST_f_l): Likewise.
29065 (RUN_TEST_f_L): Likewise.
29066 (RUN_TEST_sincos): Likewise.
29067 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29068 whether to show exceptions. Do not include ");\n" in return
29069 value.
29070 (special_functions): Output call to RUN_TEST_sincos instead of
29071 check_float calls. Update calls to new_test.
29072 (parse_args): Output call to single RUN_TEST_* macro instead of
29073 check_* calls and other assignments. Update calls to new_test.
29074
29075 [BZ #2546]
29076 [BZ #2560]
29077 [BZ #5159]
29078 [BZ #15426]
29079 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29080 input to result for tgamma overflow.
29081 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29082 (gamma_coeff): New variable.
29083 (NCOEFF): New macro.
29084 (gamma_positive): New function.
29085 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29086 underflow here. Use gamma_positive instead of exp (lgamma) for
29087 other arguments.
29088 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29089 (gamma_coeff): New variable.
29090 (NCOEFF): New macro.
29091 (gammaf_positive): New function.
29092 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29093 underflow here. Use gamma_positive instead of exp (lgamma) for
29094 other arguments.
29095 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29096 (gamma_coeff): New variable.
29097 (NCOEFF): New macro.
29098 (gammal_positive): New function.
29099 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29100 underflow here. Use gamma_positive instead of exp (lgamma) for
29101 other arguments.
29102 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29103 (gamma_coeff): New variable.
29104 (NCOEFF): New macro.
29105 (gammal_positive): New function.
29106 (__ieee754_gammal_r): Handle positive infinity, overflow and
29107 underflow here. Handle NaN the same as positive infinity. Remove
29108 check x < 0xffffffff for negative integers. Use gamma_positive
29109 instead of exp (lgamma) for other arguments.
29110 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29111 (gamma_coeff): New variable.
29112 (NCOEFF): New macro.
29113 (gammal_positive): New function.
29114 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29115 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29116 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29117 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29118 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29119 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29120 * sysdeps/generic/math_private.h (__gamma_productf): New
29121 prototype.
29122 (__gamma_product): Likewise.
29123 (__gamma_productl): Likewise.
29124 * math/Makefile (libm-calls): Add gamma_product.
29125 * math/libm-test.inc (tgamma_test): Add more tests.
29126 * sysdeps/i386/fpu/libm-test-ulps: Update.
29127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29128
29129 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29130
29131 * benchtests/bench-skeleton.c (main): Preheat CPU.
29132
29133 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29134
29135 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29136
29137 2013-05-07 Roland McGrath <roland@hack.frob.com>
29138
29139 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29140 and _dl_skip_args_internal.
29141
29142 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29143
29144 * manual/message.texi (Message Translation): Talk about users.
29145 Message to key mapping impacts design.
29146
29147 2013-05-06 Roland McGrath <roland@hack.frob.com>
29148
29149 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29150
29151 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29152
29153 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29154 * sysdeps/wordsize-64/glob64.c: ... here.
29155
29156 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29157 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29158 New macros.
29159
29160 * debug/getlogin_r_chk.c: Moved to ...
29161 * login/getlogin_r_chk.c: ... here.
29162 * debug/Makefile (routines): Move getlogin_r_chk to ...
29163 * login/Makefile (routines): ... here.
29164 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29165 * login/Versions (libc: GLIBC_2.4): ... here.
29166
29167 * io/poll.c (__poll): Renamed from poll.
29168 Add libc_hidden_def.
29169 (poll): Define as weak alias.
29170
29171 * debug/ptsname_r_chk.c: Moved to ...
29172 * login/ptsname_r_chk.c: ... here.
29173 * debug/Makefile (routines): Move ptsname_r_chk to ...
29174 * login/Makefile (routines): ... here.
29175 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29176 * login/Versions (libc: GLIBC_2.4): ... here.
29177
29178 * posix/getlogin.c: Moved to ...
29179 * login/getlogin.c: ... here.
29180 * posix/getlogin_r.c: Moved to ...
29181 * login/getlogin_r.c: ... here.
29182 * posix/getlogin_r.c: Moved to ...
29183 * login/getlogin_r.c: ... here.
29184 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29185 * login/Makefile (routines): ... here.
29186 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29187 * login/Versions (libc: GLIBC_2.0): ... here.
29188
29189 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29190 (setrlimit): Define as weak alias.
29191
29192 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29193 Call __ names for open, ftruncate, and close.
29194 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29195 (truncate): Define as weak alias.
29196
29197 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29198
29199 * math/gen-libm-test.pl (parse_args): Initialize x before each
29200 test of frexp, modf and remquo.
29201
29202 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29203 test signgam value.
29204
29205 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29206
29207 [BZ #15418]
29208 [BZ #15419]
29209 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29210 internal tests.
29211 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29212
29213 2013-05-06 Roland McGrath <roland@hack.frob.com>
29214
29215 * elf/dl-writev.h: New file.
29216 * elf/dl-misc.c: Include it.
29217 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29218 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29219
29220 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29221
29222 * math/libm-test.inc (noXFails): Remove variable.
29223 (noXPasses): Likewise.
29224 (BUILD_COMPLEX_INT): Remove macro.
29225 (print_screen): Remove xfail argument.
29226 (print_screen_max_error): Likewise.
29227 (update_stats): Likewise.
29228 (print_max_error): Likewise. Update calls to other affected
29229 functions.
29230 (print_complex_max_error): Likewise.
29231 (test_single_exception): Update calls to print_screen.
29232 (test_single_errno): Likewise.
29233 (check_float_internal): Remove xfail argument. Update calls to
29234 other affected functions.
29235 (check_float): Likewise.
29236 (check_complex): Likewise.
29237 (check_int): Likewise.
29238 (check_long): Likewise.
29239 (check_bool): Likewise.
29240 (check_longlong): Likewise.
29241 (main): Don't print noXFails and noXPasses.
29242 * math/gen-libm-test.pl (top level): Don't mention expected
29243 failure handling in comment.
29244 (new_test): Don't handle expected failures.
29245 (parse_args): Don't mention expected failure handling in comment.
29246 (generate_testfile): Don't handle expected failures.
29247 (parse_ulps): Likewise.
29248 (print_ulps_file): Likewise.
29249 (get_failure): Remove function.
29250 (output_test): Don't handle expected failures.
29251 * make/README.libm-test: Don't mention expected failure handling.
29252
29253 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29254 (minus_zero): Likewise.
29255 (plus_infty): Likewise.
29256 (minus_infty): Likewise.
29257 (qnan_value): Likewise.
29258 (max_value): Likewise.
29259 (min_value): Likewise.
29260 (min_subnorm_value): Likewise.
29261 (initialize): Do not initialize those variables dynamically.
29262
29263 2013-05-03 Roland McGrath <roland@hack.frob.com>
29264
29265 * io/open.c (__open_2): Moved to ...
29266 * io/open_2.c: ... this new file.
29267 * io/open64.c (__open64_2): Moved to ...
29268 * io/open64_2.c: ... this new file.
29269 * io/openat.c (__openat_2): Moved to ...
29270 * io/openat_2.c: ... this new file.
29271 * io/openat64.c (__openat64_2): Moved to ...
29272 * io/openat64_2.c: ... this new file.
29273 * io/Makefile (routines): Add them.
29274 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29275 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29276 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29277 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29278 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29279 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29280 (__openat64): Add hidden_ver.
29281 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29282 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29283
29284 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29285 Separately conditionalize setting of GLRO(dl_sysinfo) so
29286 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29287 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29288
29289 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29290
29291 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29292 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29293 definition.
29294 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29295 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29296 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29297 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29298 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29299
29300 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29301
29302 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29303 test signgam value.
29304
29305 * math/libm-test.inc (hypot_test): Do not use
29306 IGNORE_ZERO_INF_SIGN.
29307
29308 2013-05-03 Andreas Jaeger <aj@suse.de>
29309
29310 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29311 Linux 3.9.
29312 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29313 (PF_MAX): Adjust for VSOCK change.
29314
29315 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29316
29317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29318
29319 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29320
29321 [BZ #15264]
29322 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29323 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29324 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29325
29326 2013-05-02 David S. Miller <davem@davemloft.net>
29327
29328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29329
29330 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29331
29332 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29333
29334 2013-05-01 Roland McGrath <roland@hack.frob.com>
29335
29336 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29337
29338 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29339
29340 [BZ #14952]
29341 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29342 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29343 Use __attribute__ ((__gnu_inline__)).
29344 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29345 Don't use __attribute__ ((__gnu_inline__)).
29346
29347 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29348
29349 [BZ #15423]
29350 * math/s_catan.c (__catan): Handle small real or imaginary part of
29351 input specially to avoid spurious underflow.
29352 * math/s_catanf.c (__catanf): Likewise.
29353 * math/s_catanh.c (__catanh): Likewise.
29354 * math/s_catanhf.c (__catanhf): Likewise.
29355 * math/s_catanhl.c (__catanhl): Likewise.
29356 * math/s_catanl.c (__catanl): Likewise.
29357 * math/libm-test.inc (catan_test): Add more tests.
29358 (catanh_test): Likewise.
29359 * sysdeps/i386/fpu/libm-test-ulps: Update.
29360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29361
29362 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29363
29364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29365
29366 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29367
29368 [BZ #15416]
29369 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29370 accurately for denominator in atan2.
29371 * math/s_catanf.c (__catanf): Likewise.
29372 * math/s_catanh.c (__catanh): Likewise.
29373 * math/s_catanhf.c (__catanhf): Likewise.
29374 * math/s_catanhl.c (__catanhl): Likewise.
29375 * math/s_catanl.c (__catanl): Likewise.
29376 * math/libm-test.inc (catan_test): Add more tests.
29377 (catanh_test): Likewise.
29378 * sysdeps/i386/fpu/libm-test-ulps: Update.
29379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29380
29381 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29382
29383 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29384
29385 * benchtests/Makefile (bench): Remove slow benchmarks.
29386 * benchtests/atan-inputs: Add slow benchmark inputs.
29387 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29388 (BENCH_FUNC): Accept variant offset.
29389 (VARIANT): Define.
29390 * benchtests/bench-skeleton.c (main): Run benchmark for each
29391 variant.
29392 * benchtests/cos-inputs: Add slow benchmark inputs.
29393 * benchtests/exp-inputs: Likewise.
29394 * benchtests/pow-inputs: Likewise.
29395 * benchtests/sin-inputs: Likewise.
29396 * benchtests/slowatan-inputs: Remove.
29397 * benchtests/slowatan.c: Remove.
29398 * benchtests/slowcos-inputs: Remove.
29399 * benchtests/slowcos.c: Remove.
29400 * benchtests/slowexp-inputs: Remove.
29401 * benchtests/slowexp.c: Remove.
29402 * benchtests/slowpow-inputs: Remove.
29403 * benchtests/slowpow.c: Remove.
29404 * benchtests/slowsin-inputs: Remove.
29405 * benchtests/slowsin.c: Remove.
29406 * benchtests/slowtan-inputs: Remove.
29407 * benchtests/slowtan.c: Remove.
29408 * benchtests/tan-inputs: Add slow benchmark inputs.
29409 * scripts/bench.pl: Parse comments and directives.
29410
29411 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29412 in CPPFLAGS.
29413 ($(objpfx)bench-%.c): Remove *-ITER.
29414 * benchtests/bench-modf.c: Remove definition of ITER.
29415 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29416 (main): Loop for DURATION seconds instead of fixed number of
29417 iterations.
29418 * scripts/bench.pl: Don't expect iterations in parameters.
29419
29420 2013-04-29 Roland McGrath <roland@hack.frob.com>
29421
29422 * io/fchdir.c (__fchdir): Renamed from fchdir.
29423 (fchdir): Define as weak alias.
29424
29425 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29426
29427 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29428 (ERRNO_EDOM): Likewise.
29429 (ERRNO_ERANGE): Likewise.
29430 (noErrnoTests): New variable.
29431 (init_max_error): Set errno to 0.
29432 (test_single_errno): New function.
29433 (test_errno): Likewise.
29434 (check_float_internal): Call test_errno. Set errno to 0.
29435 (check_complex): Refer to errno tests in comment.
29436 (check_int): Call test_errno. Set errno to 0.
29437 (check_long): Likewise.
29438 (check_bool): Likewise.
29439 (check_longlong): Likewise.
29440 (cos_test): Use ERRNO_* flags for errno tests instead of
29441 check_int.
29442 (expm1_test): Likewise.
29443 (fmod_test): Likewise.
29444 (ilogb_test): Likewise.
29445 (lgamma_test): Likewise.
29446 (pow_test): Likewise.
29447 (remainder_test): Likewise.
29448 (sin_test): Likewise.
29449 (tan_test): Likewise.
29450 (yn_test): Likewise.
29451 (initialize): Set errno to 0.
29452 (main): Print number of errno tests.
29453 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29454
29455 2013-04-29 Andreas Jaeger <aj@suse.de>
29456
29457 [BZ #15084]
29458 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29459 and RES_USEVC.
29460
29461 [BZ #15085]
29462 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29463 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29464 unimplemented.
29465
29466 [BZ #15380]
29467 * stdlib/random.c (__initstate): Return NULL if
29468 __initstate fails.
29469
29470 [BZ #15086]
29471 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29472 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29473 RES_SNGLKUPREOP.
29474
29475 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29476
29477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29478
29479 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29480
29481 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29482 of individual tests.
29483 (casin_test): Likewise.
29484 (casinh_test): Likewise.
29485
29486 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29487
29488 [BZ #15409]
29489 * math/s_catan.c (__catan): Handle arguments with large real or
29490 imaginary part separately without squaring.
29491 * math/s_catanf.c (__catanf): Likewise.
29492 * math/s_catanh.c (__catanh): Likewise.
29493 * math/s_catanhf.c (__catanhf): Likewise.
29494 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29495 and redefine.
29496 (__catanhl): Handle arguments with large real or imaginary part
29497 separately without squaring.
29498 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29499 and redefine.
29500 (__catanl): Handle arguments with large real or imaginary part
29501 separately without squaring.
29502 * math/libm-test.inc (catan_test): Add more tests.
29503 (catanh_test): Likewise.
29504 * sysdeps/i386/fpu/libm-test-ulps: Update.
29505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29506
29507 2013-04-27 Andreas Jaeger <aj@suse.de>
29508
29509 [BZ #15007]
29510 * stdlib/stdlib.h: Update guards for qecvt.
29511 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29512 <stdlib.h>.
29513
29514 2013-04-27 Allan McRae <allan@archlinux.org>
29515
29516 * sysdeps/i386/fpu/libm-test-ulps: Update.
29517
29518 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29519
29520 [BZ #15406]
29521 * math/s_catan.c: Include <float.h>.
29522 (__catan): Ensure underflow exception occurs for underflowed
29523 result.
29524 * math/s_catanf.c: Include <float.h>.
29525 (__catanf): Ensure underflow exception occurs for underflowed
29526 result.
29527 * math/s_catanh.c: Include <float.h>.
29528 (__catanh): Ensure underflow exception occurs for underflowed
29529 result.
29530 * math/s_catanhf.c: Include <float.h>.
29531 (__catanhf): Ensure underflow exception occurs for underflowed
29532 result.
29533 * math/s_catanhl.c: Include <float.h>.
29534 (__catanhl): Ensure underflow exception occurs for underflowed
29535 result.
29536 * math/s_catanl.c: Include <float.h>.
29537 (__catanl): Ensure underflow exception occurs for underflowed
29538 result.
29539 * math/libm-test.inc (catan_test): Add more tests.
29540 (catanh_test): Likewise.
29541
29542 [BZ #15405]
29543 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29544 underflowed result.
29545 * math/s_ccoshf.c (__ccoshf): Likewise.
29546 * math/s_ccoshl.c (__ccoshl): Likewise.
29547 * math/s_csin.c (__csin): Likewise.
29548 * math/s_csinf.c (__csinf): Likewise.
29549 * math/s_csinh.c (__csinh): Likewise.
29550 * math/s_csinhf.c (__csinhf): Likewise.
29551 * math/s_csinhl.c (__csinhl): Likewise.
29552 * math/s_csinl.c (__csinl): Likewise.
29553 * math/libm-test.inc (ccos_test): Add more tests.
29554 (ccosh_test): Likewise.
29555 (csin_test): Likewise.
29556 (csinh_test): Likewise.
29557
29558 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29559
29560 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29561 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29562 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29563 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29564 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29565 powerpc/power5+/fpu folders.
29566 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29567
29568
29569 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29570
29571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29572
29573 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29574
29575 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29576 additions to variable.
29577 [$(config-machine) = x86_64] (modules-names): Likewise.
29578 ($(objpfx)tst-audit3): Remove dependency.
29579 ($(objpfx)tst-audit3.out): Likewise.
29580 ($(objpfx)tst-audit4): Likewise.
29581 ($(objpfx)tst-audit4.out): Likewise.
29582 ($(objpfx)tst-audit5): Likewise.
29583 ($(objpfx)tst-audit5.out): Likewise.
29584 ($(objpfx)tst-audit6): Likewise.
29585 ($(objpfx)tst-audit6.out): Likewise.
29586 ($(objpfx)tst-audit7): Likewise.
29587 ($(objpfx)tst-audit7.out): Likewise.
29588 (tst-audit3-ENV): Remove variable.
29589 (tst-audit4-ENV): Likewise.
29590 (tst-audit5-ENV): Likewise.
29591 (tst-audit6-ENV): Likewise.
29592 (tst-audit7-ENV): Likewise.
29593 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29594 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29595 addition to variable.
29596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29599 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29600 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29601 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29602 tst-audit3, tst-audit4 and tst-audit5.
29603 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29604 tst-audit6 and tst-audit7.
29605 [$(subdir) = elf] (modules-names): Add audit modules for those
29606 tests.
29607 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29608 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29609 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29610 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29611 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29612 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29613 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29614 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29615 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29616 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29617 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29618 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29619 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29620 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29621 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29622 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29623 Likewise.
29624 [$(subdir) = elf && $(config-cflags-avx) = yes]
29625 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29626 [$(subdir) = elf && $(config-cflags-avx) = yes]
29627 (CFLAGS-tst-auditmod4a.c): Likewise.
29628 [$(subdir) = elf && $(config-cflags-avx) = yes]
29629 (CFLAGS-tst-auditmod4b.c): Likewise.
29630 [$(subdir) = elf && $(config-cflags-avx) = yes]
29631 (CFLAGS-tst-auditmod6b.c): Likewise.
29632 [$(subdir) = elf && $(config-cflags-avx) = yes]
29633 (CFLAGS-tst-auditmod6c.c): Likewise.
29634 [$(subdir) = elf && $(config-cflags-avx) = yes]
29635 (CFLAGS-tst-auditmod7b.c): Likewise.
29636 * elf/tst-audit3.c: Move to ...
29637 * sysdeps/x86_64/tst-audit3.c: ... here.
29638 * elf/tst-audit4.c: Move to ...
29639 * sysdeps/x86_64/tst-audit4.c: ... here.
29640 * elf/tst-audit5.c: Move to ...
29641 * sysdeps/x86_64/tst-audit5.c: ... here.
29642 * elf/tst-audit6.c: Move to ...
29643 * sysdeps/x86_64/tst-audit6.c: ... here.
29644 * elf/tst-audit7.c: Move to ...
29645 * sysdeps/x86_64/tst-audit7.c: ... here.
29646 * elf/tst-auditmod3a.c: Move to ...
29647 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29648 * elf/tst-auditmod3b.c: Move to ...
29649 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29650 * elf/tst-auditmod4a.c: Move to ...
29651 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29652 * elf/tst-auditmod4b.c: Move to ...
29653 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29654 * elf/tst-auditmod5a.c: Move to ...
29655 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29656 * elf/tst-auditmod5b.c: Move to ...
29657 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29658 * elf/tst-auditmod6a.c: Move to ...
29659 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29660 * elf/tst-auditmod6b.c: Move to ...
29661 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29662 * elf/tst-auditmod6c.c: Move to ...
29663 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29664 * elf/tst-auditmod7a.c: Move to ...
29665 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29666 * elf/tst-auditmod7b.c: Move to ...
29667 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29668
29669 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29670
29671 [BZ #15366]
29672 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29673 define unconditionally.
29674 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29675 define unconditionally.
29676 (INT8_C, INT16_C, etc.): Likewise.
29677
29678 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29679
29680 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29681 __ehdr_start with hidden visibility.
29682
29683 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29684
29685 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29686
29687 * math/libm-test.inc (cos_test): Use accurate hex constants.
29688 (sincost_test): Likewise.
29689
29690 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29691
29692 * math/libm-test.inc (catan_test): Add more tests.
29693 (catanh_test): Likewise.
29694
29695 * math/s_catanf.c (__catanf): Use suffixed floating-point
29696 constants.
29697 * math/s_catanhf.c (__catanhf): Likewise.
29698 * math/s_catanhl.c (__catanhl): Likewise.
29699 * math/s_catanl.c (__catanl): Likewise.
29700
29701 [BZ #15394]
29702 * math/s_catan.c (__catan): Calculate imaginary part of result
29703 with log1p not log unless computing log of number close to 0.
29704 * math/s_catanf.c (__catanf): Likewise.
29705 * math/s_catanl.c (__catanl): Likewise.
29706 * math/s_catanh.c (__catanh): Calculate real part of result with
29707 log1p not log unless computing log of number close to 0.
29708 * math/s_catanhf.c (__catanhf): Likewise.
29709 * math/s_catanhl.c (__catanhl): Likewise.
29710 * math/libm-test.inc (catan_test): Add more tests.
29711 (catanh_test): Likewise.
29712 * sysdeps/i386/fpu/libm-test-ulps: Update.
29713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29714
29715 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29716
29717 * benchtests/Makefile: Mention files in which fast and slow
29718 paths of math functions are implemented.
29719
29720 2013-04-23 Roland McGrath <roland@hack.frob.com>
29721
29722 * sysdeps/posix/timespec_get.c: New file.
29723
29724 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29725
29726 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29727 POWER.
29728 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29729 for POWER.
29730 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29731 powerpc/power5/fpu folders.
29732 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29733 * benchtests/Makefile: Add modf testcase.
29734 * benchtests/bench-modf.c: New file: Benchmark test for mo
29735
29736 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29737
29738 [BZ #14888]
29739 * time/Makefile (tests): Add tst-strptime-whitespace.
29740 * time/strptime_l.c (get_number): Use ISSPACE.
29741 (__strptime_internal): Likewise.
29742 * time/tst-strptime-whitespace.c: New test case.
29743
29744 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29745
29746 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29747 member.
29748 (_nss_files_init): Set it here.
29749
29750 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29751
29752 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29753 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29754 unsigned.
29755
29756 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29757
29758 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29759
29760 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29761
29762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29763 size just once.
29764
29765 2013-04-21 David S. Miller <davem@davemloft.net>
29766
29767 * po/ru.po: Update Russion translation from translation project.
29768
29769 2013-04-17 Adam Conrad <adconrad@0c3.net>
29770
29771 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29772 and setfsgid.
29773
29774 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29775
29776 * configure.in: Remove i386 configure warning. Remove i386 case.
29777 * configure: Regenerate.
29778 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29779 Add example to error message.
29780 * sysdeps/i386/configure: Regenerate.
29781
29782 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29783
29784 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29785 slowtan.
29786 * benchtests/cos-inputs: New file.
29787 * benchtests/slowcos-inputs: New file.
29788 * benchtests/slowcos.c: New file.
29789 * benchtests/slowtan-inputs: New file.
29790 * benchtests/slowtan.c: New file.
29791 * benchtests/tan-inputs: New file.
29792
29793 2013-04-16 Roland McGrath <roland@hack.frob.com>
29794
29795 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29796 considered kosher.
29797
29798 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29799
29800 * benchtests/Makefile: Include cppflags-iterator.mk to add
29801 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29802
29803 * Makefile.in (bench-clean): New target.
29804 * benchtests/Makefile (bench-clean): Likewise.
29805
29806 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29807
29808 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29809
29810 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29811
29812 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29813
29814 2013-04-15 Andreas Schwab <schwab@suse.de>
29815
29816 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29817 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29818 * nscd/pwdcache.c (cache_addpw): Likewise.
29819 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29820 more than recsize.
29821
29822 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29823
29824 * benchtests/Makefile (bench): Write all output to
29825 bench-out.tmp together.
29826
29827 2013-04-15 Andreas Schwab <schwab@suse.de>
29828
29829 * nscd/nscd.c (main): Don't fork again after closing files.
29830
29831 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29832
29833 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29834
29835 * benchtests/Rules (bench-deps): Collect dependencies into a
29836 single variable. Add Makefile to dependencies.
29837 ($(objpfx)bench-%.c): Depend on bench-deps.
29838
29839 2013-04-12 Roland McGrath <roland@hack.frob.com>
29840 Xavier Roche <roche+kml2@exalead.com>
29841
29842 [BZ #15361]
29843 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29844 just that it's a file descriptor.
29845 * manual/llio.texi (Synchronizing AIO Operations): Update description
29846 for EBADF error from aio_fsync.
29847
29848 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29849
29850 * Rules (bench): Move target definition...
29851 * benchtests/Makefile: ... here.
29852
29853 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29854
29855 * math/libm-test.inc (cos_test): Fix PI/2 test.
29856 (sincos_test): Likewise.
29857 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29858 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29859
29860 2013-04-11 Andreas Schwab <schwab@suse.de>
29861
29862 [BZ #13988]
29863 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29864 accept exponent character only when digits were seen.
29865 * stdio-common/Makefile (tests): Add bug26.
29866 * stdio-common/bug26.c: New file.
29867
29868 [BZ #14293]
29869 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29870 non-freeable.
29871
29872 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29873
29874 * Makeconfig (rtld-prefix): Define built linker prefix.
29875 * Rules (run-bench): Use it.
29876 * math/Makefile (run-regen-ulps): Likewise.
29877
29878 * Rules (bench): Remove eval.
29879
29880 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29881 Roland McGrath <roland@hack.frob.com>
29882 Ondrej Bilka <neleai@seznam.cz>
29883
29884 [BZ #15346]
29885 * time/getdate.c: Include ctype.h and alloca.h.
29886 (__getdate_r): Trim leading and trailing spaces of input.
29887 * time/tst-getdate.c (tests): Add tests with leading and
29888 trailing spaces.
29889
29890 2013-04-08 Roland McGrath <roland@hack.frob.com>
29891
29892 [BZ #14280]
29893 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29894 when computing value.
29895
29896 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29897
29898 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29899 Use testrun.sh to run libm tests.
29900
29901 [BZ #15309]
29902 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29903
29904 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29905
29906 [BZ #15264]
29907 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29908
29909 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29910
29911 * Makefile.in (regen-ulps): New target.
29912 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29913 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29914 [ifneq (no,$(PERL)] (regen-ulps): New target.
29915 [ifeq (no,$(PERL)] (regen-ulps): New target.
29916 * math/libm-test.inc (ulps_file_name): Define.
29917 (output_dir): New variable.
29918 (options): Add "output-dir" option.
29919 (parse_opt): Handle 'o' case.
29920 (main): If output_dir is non-NULL use it as a prefix
29921 otherwise use "".
29922 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29923
29924 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29925
29926 [BZ #10060, #10062]
29927 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29928 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29929 fail configure if __sync_val_compare_and_swap is not inlined.
29930 * sysdeps/i386/configure: Regenerate.
29931 * configure.in: Build for i686 when configured for i386.
29932 * configure: Regenerate.
29933 * README: Remove i386 reference.
29934
29935 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29936
29937 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29939
29940 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29941
29942 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29943 (lmsnanval): New variables.
29944 (F): Add conversion tests.
29945 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29946 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29947
29948 * stdio-common/tstdiomisc.c (F): Properly collect individual
29949 tests' results.
29950
29951 [BZ #14686, #15336]
29952 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29953 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29954 Instead, use input NaN values or generate a qNaN by arithmetic
29955 operation. Also fix bugs to comply with the standard.
29956 * math/libm-test.inc (remainder_test): Add more tests.
29957
29958 [BZ #15335, #15342]
29959 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29961 input NaN values or generate a qNaN by arithmetic operation.
29962
29963 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29964 unreachable code.
29965
29966 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29967 definitions.
29968
29969 2013-04-03 Joseph Myers <joseph@codesourcery.com>
29970
29971 [BZ #14478]
29972 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29973 underflowed result.
29974 * math/s_cexpf.c (__cexpf): Likewise.
29975 * math/s_cexpl.c (__cexpl): Likewise.
29976 * math/libm-test.inc (cexp_test): Add more tests.
29977
29978 2013-04-03 Andreas Schwab <schwab@suse.de>
29979
29980 [BZ #15330]
29981 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29982 order arrays from heap if bigger than alloca cutoff.
29983
29984 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29985
29986 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29987 (SNAN_TESTS_double): Refer to GCC PR56831.
29988 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29989 GCC PR56828.
29990
29991 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29992
29993 * Rules (bench): Move bench.out after the run is complete.
29994
29995 * Rules (bench): Echo currently running benchmark.
29996
29997 * benchtests/Makefile (bench): Add atan and slowatan.
29998 * benchtests/atan-inputs: New file.
29999 * benchtests/slowatan-inputs: New file.
30000 * benchtests/slowatan.c: New file.
30001
30002 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30003 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30004 its value.
30005
30006 [BZ #15305]
30007 * sysdeps/unix/sysv/linux/kernel-features.h
30008 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30009 __ASSUME_XFS_RESTRICTED_CHOWN.
30010 * sysdeps/unix/sysv/linux/pathconf.c
30011 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30012 Save and restore errno.
30013
30014 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30015
30016 [BZ #15327]
30017 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30018 arguments using __kernel_casinh.
30019 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30020 arguments using __kernel_casinhf.
30021 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30022 arguments using __kernel_casinhl.
30023 * math/libm-test.inc (cacosh_test): Add more tests.
30024 * sysdeps/i386/fpu/libm-test-ulps: Update.
30025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30026
30027 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30028
30029 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30031
30032 * bench/Makefile (bench): Add sin and slowsin.
30033 * benchtests/sin-inputs: New file.
30034 * benchtests/slowsin-inputs: New file.
30035 * benchtests/slowsin.c: New file.
30036
30037 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30038 (bench): Add slowexp and slowpow.
30039 (exp-ITER): Increase iterations.
30040 (pow-ITER): Likewise.
30041 * benchtests/exp-inputs: Change input.
30042 * benchtests/pow-inputs: Likewise.
30043 * benchtests/slowexp-inputs: New file.
30044 * benchtests/slowexp.c: New file.
30045 * benchtests/slowpow-inputs: New file.
30046 * benchtests/slowpow.c: New file.
30047
30048 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30049
30050 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30051 instructions.
30052 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30053 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30054 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30055 * benchtests/Makefile: Add rint benchtest.
30056 * benchtests/rint-inputs: Input for rint benchtest.
30057
30058 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30059
30060 * Versions.def (libm): Add GLIBC_2.18.
30061 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30062 hidden libm prototypes.
30063 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30064 * math/Makefile (libm-calls): Add s_issignaling.
30065 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30066 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30067 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30068 declaration.
30069 * math/math.h [__USE_GNU] (issignaling): New macro.
30070 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30071 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30072 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30073 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30074 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30075 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30076 * manual/arith.texi (issignaling): New section.
30077 * manual/libm-err-tab.pl (@all_functions): Update comment.
30078 * math/gen-libm-test.pl (parse_args): Apply special handling for
30079 issignaling.
30080 * math/libm-test.inc (print_float, issignaling_test): New
30081 functions.
30082 (check_float_internal): Add issignaling checks.
30083 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30084 default definition.
30085 * sysdeps/powerpc/math-tests.h: New file.
30086 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30087 tests.
30088 * math/test-snan.c (TEST_FUNC): Likewise.
30089
30090 2013-03-30 David S. Miller <davem@davemloft.net>
30091
30092 * po/de.po: Update from translation team.
30093
30094 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30095
30096 [BZ #10357]
30097 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30098 imaginary part less than 1.0 and real part less than 0.5
30099 specially.
30100 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30101 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30102 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30103 (cacos_test): Add more tests.
30104 (casin_test): Likewise.
30105 (casinh_test): Likewise.
30106 * sysdeps/i386/fpu/libm-test-ulps: Update.
30107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30108
30109 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30110
30111 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30112 ONE with its value.
30113
30114 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30115 (__pow_mp): Replace ONE and MONE with their values.
30116 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30118 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30119 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30120 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30121 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30122
30123 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30124
30125 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30126 (__pow_mp): Replace ZERO and MZERO with their values.
30127 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30129 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30131 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30132 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30133 (__sqr): Likewise.
30134
30135 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30136
30137 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30138
30139 2013-03-28 Roland McGrath <roland@hack.frob.com>
30140
30141 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30142 Declare with __attribute__ ((weak)).
30143 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30144 Call __call_tls_dtors only if it's not NULL.
30145
30146 2013-03-28 Roland McGrath <roland@hack.frob.com>
30147
30148 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30149 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30150 magic __ehdr_start linker symbol if it's defined.
30151 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30152 them up here if it was already done.
30153
30154 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30155 (_dl_aux_init): Use const in cast when setting it.
30156 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30157 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30158 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30159
30160 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30161 Declare them here.
30162 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30163 * csu/libc-tls.c: Nor here.
30164 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30165
30166 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30167 (__libc_message): Never call vsyslog.
30168
30169 2013-03-28 Alan Modra <amodra@gmail.com>
30170
30171 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30172 Define as empty.
30173 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30174 Likewise.
30175
30176 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30177
30178 [BZ #15214]
30179 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30180 underflow.
30181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30182
30183 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30184
30185 [BZ #15304]
30186 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30187 Don't add gid passed as argument.
30188
30189 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30190
30191 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30192
30193 [BZ #15307]
30194 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30195 imaginary part between 1.0 and 1.5 and real part less than 0.5
30196 specially.
30197 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30198 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30199 * math/libm-test.inc (cacos_test): Add more tests.
30200 (casin_test): Likewise.
30201 (casinh_test): Likewise.
30202 * sysdeps/i386/fpu/libm-test-ulps: Update.
30203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30204
30205 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30206
30207 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30208 constants.
30209 (norm): Likewise.
30210 (denorm): Likewise.
30211 (__dbl_mp): Likewise.
30212 (add_magnitudes): Likewise.
30213 (sub_magnitudes): Likewise.
30214 (__add): Likewise.
30215 (__sub): Likewise.
30216 (__mul): Likewise.
30217 (__sqr): Likewise.
30218 (__inv): Likewise.
30219 (__dvd): Likewise.
30220
30221 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30222 commented code.
30223 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30224 (__dubcos): Likewise.
30225 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30226 (__ieee754_acos): Likewise.
30227 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30228 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30229 (__exp1): Likewise.
30230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30232 (log1): Likewise.
30233 (my_log2): Likewise.
30234 (checkint): Likewise.
30235 * sysdeps/ieee754/dbl-64/e_remainder.c
30236 (__ieee754_remainder): Likewise.
30237 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30239 (bsloww): Likewise.
30240 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30241
30242 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30243 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30244 MANTISSA_STORE_T to store computations on mantissa. Use
30245 macros for rounding and division.
30246 (denorm): Likewise.
30247 (__dbl_mp): Likewise.
30248 (add_magnitudes): Likewise.
30249 (sub_magnitudes): Likewise.
30250 (__mul): Likewise.
30251 (__sqr): Likewise.
30252 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30253 powers of two in terms of TWOPOW macro.
30254 (mp_no): Make type of mantissa as MANTISSA_T.
30255 [!RADIXI]: Define RADIXI.
30256 [!TWO52]: Define TWO52.
30257 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30258
30259 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30260
30261 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30262 llroundl symbol when building for PPC32.
30263
30264 2013-03-24 Mark H Weaver <mhw@netris.org>
30265
30266 * manual/arith.texi (Normalization Functions): Fix prototypes for
30267 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30268
30269 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30270
30271 [BZ #13889]
30272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30273 high value to check if expl overflow.
30274 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30275 to check for underflow and overflow.
30276 * math/libm-test.inc: Add exp test.
30277
30278 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30279
30280 [BZ #11120]
30281 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30282 with NOT_IN_libc.
30283
30284 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30285
30286 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30287 symbol.
30288
30289 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30290
30291 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30292 wrap blocks consisting of several statements.
30293
30294 * sysdeps/generic/math-tests.h: New file.
30295 * sysdeps/i386/fpu/math-tests.h: Likewise.
30296 * math/test-snan.c: Include it.
30297 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30298
30299 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30300
30301 [BZ #15285]
30302 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30303 (__ieee754_j0l): Do not improve calculations using cos of twice
30304 input for inputs above LDBL_MAX / 2.0L.
30305 (__ieee754_y0l): Likewise.
30306 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30307 (__ieee754_j1l): Do not improve calculations using cos of twice
30308 input for inputs above LDBL_MAX / 2.0L.
30309 (__ieee754_y1l): Likewise.
30310 * math/libm-test.inc (j0_test): Add another test.
30311 (j1_test): Likewise.
30312 (y0_test): Likewise.
30313 (y1_test): Likewise.
30314 * sysdeps/i386/fpu/libm-test-ulps: Update.
30315
30316 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30317
30318 * Rules ($(objpfx)bench-%.c): Include code from a C source
30319 file.
30320
30321 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30322
30323 [BZ #15287]
30324 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30325 imaginary part 1.0 and real part less than 0.5 specially.
30326 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30327 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30328 * math/libm-test.inc (cacos_test): Add more tests.
30329 (casin_test): Likewise.
30330 (casinh_test): Likewise.
30331 * sysdeps/i386/fpu/libm-test-ulps: Update.
30332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30333
30334 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30335
30336 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30337 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30338
30339 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30340
30341 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30342 * config.make.in (config-cflags-sse4): Remove variable.
30343 (config-cflags-avx): Likewise.
30344 (config-cflags-sse2avx): Likewise.
30345 (config-cflags-novzeroupper): Likewise.
30346 (config-asflags-i686): Likewise.
30347 (have-mfma4): Likewise.
30348 (have-as-vis3): Likewise.
30349 (MIG): Likewise.
30350 * configure.in (MIG): Do not AC_SUBST.
30351 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30352 (libc_cv_cc_sse4): Do not AC_SUBST.
30353 (libc_cv_cc_avx): Likewise.
30354 (libc_cv_cc_sse2avx): Likewise.
30355 (libc_cv_cc_novzeroupper): Likewise.
30356 (libc_cv_cc_fma4): Likewise.
30357 (libc_cv_as_i686): Likewise.
30358 (libc_cv_sparc_as_vis3): Likewise.
30359 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30360 LIBC_CONFIG_VAR.
30361 (config-asflags-i686): Likewise.
30362 (config-cflags-avx): Likewise.
30363 (config-cflags-sse2avx): Likewise.
30364 (have-mfma4): Likewise.
30365 (config-cflags-novzeroupper): Likewise.
30366 * sysdeps/mach/configure.in (MIG): Likewise.
30367 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30368 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30369 LIBC_CONFIG_VAR.
30370 (config-cflags-avx): Likewise.
30371 (config-cflags-sse2avx): Likewise.
30372 (have-mfma4): Likewise.
30373 (config-cflags-novzeroupper): Likewise.
30374 * configure: Regenerated.
30375 * sysdeps/i386/configure: Likewise.
30376 * sysdeps/mach/configure: Likewise.
30377 * sysdeps/sparc/configure: Likewise.
30378 * sysdeps/x86_64/configure: Likewise.
30379
30380 2013-03-20 Roland McGrath <roland@hack.frob.com>
30381
30382 [BZ #14812]
30383 * locale/programs/localedef.c (options): Put N_ translation marker
30384 on argument names, not just descriptions.
30385
30386 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30387
30388 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30389
30390 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30391
30392 [BZ #14176]
30393 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30394
30395 2013-03-19 Roland McGrath <roland@hack.frob.com>
30396
30397 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30398 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30399 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30400 [!BEFORE_ABORT] (before_abort): New function.
30401 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30402 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30403 (writev_for_fatal): New function.
30404 (WRITEV_FOR_FATAL): New macro; call that.
30405 (backtrace_and_maps): New function.
30406 (BEFORE_ABORT): New macro; call that.
30407 (struct str_list): Type removed.
30408 (__libc_message, __libc_fatal): Functions removed.
30409 Include <sysdeps/posix/libc_fatal.c> instead.
30410
30411 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30412
30413 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30414 constants.
30415 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30416 double constants.
30417
30418 2013-03-19 Andreas Schwab <schwab@suse.de>
30419
30420 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30421 * sysdeps/gnu/configure: Regenerate.
30422
30423 * configure.in: Substitute libc_cv_rtlddir.
30424 * configure: Regenerate.
30425 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30426 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30427 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30428 * elf/Makefile (install-others, CFLAGS-interp.c)
30429 (ldso_install, common-ldd-rewrite): Likewise.
30430 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30431 $(inst_slibdir)/$(rtld-installed-name).
30432 * scripts/rellns-sh: Add -p option.
30433 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30434 for source.
30435
30436 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30437
30438 * manual/nptl.texi: Renamed to ...
30439 * manual/threads.texi: ... this.
30440 * manual/Makefile (chapters): Update.
30441
30442 2013-03-18 Roland McGrath <roland@hack.frob.com>
30443
30444 [BZ #14812]
30445 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30446 on argument names, not just descriptions.
30447 * malloc/memusagestat.c (options): Likewise.
30448 * nss/getent.c (options): Likewise.
30449
30450 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30451
30452 [BZ #14812]
30453 * iconv/iconv_prog.c (options): Put N_ translation marker
30454 on argument names, not just descriptions.
30455 * iconv/iconvconfig.c (options): Likewise.
30456
30457 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30458
30459 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30460 implementation which is faster on all x86_64 architectures.
30461 Tested on AMD, Intel Nehalem, SNB, IVB.
30462 * sysdeps/x86_64/strnlen.S: Likewise.
30463
30464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30465 Remove all multiarch strlen and strnlen versions.
30466 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30467 Remove strlen and strnlen related parts.
30468
30469 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30470 Inline strlen part.
30471 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30472
30473 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30474 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30475 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30476 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30477 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30478 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30479
30480 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30481
30482 * manual/memory.texi (Malloc Tunable Parameters):
30483 Sort parameters alphabetically. Add comments for missing entries.
30484
30485 2013-03-17 David S. Miller <davem@davemloft.net>
30486
30487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30488
30489 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30490
30491 [BZ #15283]
30492 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30493 for arguments at most half maximum finite value.
30494 * math/libm-test.inc (j0_test): Add more tests.
30495 (j1_test): Likewise.
30496 (y0_test): Likewise.
30497 (y1_test): Likewise.
30498 * sysdeps/i386/fpu/libm-test-ulps: Update.
30499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30500
30501 [BZ #14155]
30502 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30503 1 / x and functions P and Q for arguments above 0x1p256L.
30504 (__ieee754_y0l): Likewise.
30505 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30506 (__ieee754_y1l): Likewise.
30507 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30508 (j1_test): Likewise.
30509 (y0_test): Likewise.
30510 (y1_test): Likewise.
30511
30512 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30513
30514 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30515 variable.
30516
30517 2013-03-15 Roland McGrath <roland@hack.frob.com>
30518
30519 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30520 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30521 zero since it's initialized to EXEC_PAGESIZE.
30522
30523 * sysdeps/unix/sysv/linux/ldsodefs.h
30524 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30525 * sysdeps/generic/ldsodefs.h: ... here.
30526
30527 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30528
30529 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30530
30531 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30532 math/test-snan.c.
30533 * math/test-snan.c: Renamed from
30534 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30535 * math/Makefile (tests): Add test-snan.
30536 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30537 test-powerpc-snan.
30538
30539 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30540 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30541 functions.
30542 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30543 __builtin_nan family of functions.
30544 * math/libm-test.inc (initialize): Initialize qnan_value with
30545 __builtin_nan family of functions.
30546 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30547 Remove variables.
30548 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30549 Remove functions.
30550 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30551 storage class. Initialize qNaN_var and sNaN_var with
30552 __builtin_nan and __builtin_nans families of functions,
30553 respectively.
30554
30555 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30556 (sqrt_test): Remove duplicate test with qNaN input.
30557 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30558 (round_test, signbit_test, significand_test): Note missing +/-Inf
30559 as well as qNaN tests.
30560
30561 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30562 qNaN_var. Fix a few strings, too.
30563 * math/libm-test.inc (nan_value): Rename to qnan_value.
30564 * math/gen-libm-test.pl (%beautify): Adjust to that.
30565 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30566 * math/test-misc.c (main): Likewise.
30567 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30568 to __qnan_bytes, and __qnan_union, respectively.
30569 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30570 Likewise.
30571 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30572 and lqnanval, respectively.
30573 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30574 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30575 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30576 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30577
30578 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30579 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30580 doubles.
30581
30582 * math/test-misc.c (main): Fix copy'n'pastos.
30583 * misc/tst-efgcvt.c (special): Likewise.
30584
30585 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30586 Remove declarations.
30587
30588 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30589
30590 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30591 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30592 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30593 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30594
30595 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30596
30597 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30598 macro to return vdso values correctly in IFUNC implementations.
30599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30600 Optimization by using IFUNC.
30601
30602 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30603 Richard Henderson <rth@redhat.com>
30604 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30605
30606 * Makefile.in (bench): New target.
30607 * NEWS: Mention the benchmark framework.
30608 * Rules (bench): Likewise.
30609 (binaries-bench): Generate binaries for functions to
30610 benchmark.
30611 * benchtests/Makefile: New makefile for benchmark tests.
30612 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30613 programs.
30614 * benchtests/exp-inputs: New input file for EXP function.
30615 * benchtests/pow-inputs: New input file for POW function.
30616 * scripts/bench.pl: New script to generate source files for
30617 benchmark programs.
30618
30619 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30620
30621 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30622 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30623 computations on mantissa. Use macros for rounding and
30624 division.
30625 (denorm): Likewise.
30626 (__dbl_mp): Likewise.
30627 (add_magnitudes): Likewise.
30628 (sub_magnitudes): Likewise.
30629 (__mul): Likewise.
30630 (__sqr): Likewise.
30631 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30632 powers of two in terms of TWOPOW macro.
30633 (mp_no): Make type of mantissa as MANTISSA_T.
30634 [!RADIXI]: Define RADIXI.
30635 [!TWO52]: Define TWO52.
30636 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30637
30638 * manual/nptl.texi (cindex): Modify threads to pthreads.
30639
30640 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30641
30642 * sysdeps/x86_64/preconfigure: Regenerated.
30643
30644 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30645
30646 [BZ #14155]
30647 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30648 0x1p28 and above.
30649 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30650 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30651 0x1p28 and above.
30652 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30653 * math/libm-test.inc (j0_test): Do not allow one spurious
30654 underflow exception.
30655 (y1_test): Likewise.
30656
30657 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30658
30659 * manual/Makefile (chapters): Add nptl.
30660 * manual/debug.texi (Debugging Support): Add link to Threads
30661 chapter.
30662 * manual/nptl.texi: New file.
30663
30664 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30665
30666 2013-03-14 Petr Baudis <pasky@ucw.cz>
30667
30668 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30669 for non-NULL pointer before the memory validity test. Pointed
30670 out by Holger Brunck <holger.brunck@keymile.com>.
30671
30672 2013-03-13 Andreas Schwab <schwab@suse.de>
30673
30674 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30675 instead of .os.
30676
30677 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30678
30679 * timezone/zic.c: Update from tzcode 2013b.
30680
30681 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30682
30683 * manual/install.texi (Configuring and compiling):
30684 Mention i686 and i586.
30685 * INSTALL: Regenerate.
30686
30687 2013-03-12 Roland McGrath <roland@hack.frob.com>
30688
30689 * sysdeps/init_array/elf-init.c: New file.
30690 * csu/elf-init.c
30691 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30692 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30693
30694 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30695 __gmon_start__ as global, but as static with a .preinit_array pointer.
30696 * sysdeps/init_array/gmon-start.c: New file. Use that.
30697 * sysdeps/init_array/crti.S: New file, empty except for comments.
30698 * sysdeps/init_array/crtn.S: Likewise.
30699
30700 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30701
30702 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30703 definining bcopy.
30704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30705 Remove Prefer_SSE_for_memop.
30706 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30707 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30708 HAS_PREFER_SSE_FOR_MEMOP.
30709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30710 memset-x86-64.
30711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30712 Remove bzero, memset ifunc support.
30713 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30714 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30715 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30716 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30717
30718 2013-03-11 Andreas Schwab <schwab@suse.de>
30719
30720 [BZ #15234]
30721 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30722 by SHLIB_COMPAT.
30723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30724 (GLIBC_2.16): Remove pthread_atfork.
30725
30726 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30727
30728 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30729 (ptestcases.h): Likewise.
30730
30731 2013-03-08 Roland McGrath <roland@hack.frob.com>
30732
30733 * Makeconfig ($(common-objpfx)config.status): Depend on
30734 sysdeps/*/preconfigure{,.in} too.
30735
30736 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30737
30738 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30739 (__free_hook): Use void * instead of __malloc_ptr_t.
30740 (__malloc_hook): Likewise.
30741 (__realloc_hook): Likewise.
30742 (__memalign_hook): Likewise.
30743 (__after_morecore_hook): Likewise.
30744 * malloc/arena.c (save_malloc_hook): Likewise.
30745 (save_free_hook): Likewise.
30746 * malloc/hooks.c (malloc_hook_ini): Likewise.
30747 (realloc_hook_ini): Likewise.
30748 (memalign_hook_ini): Likewise.
30749 * malloc/malloc.c (malloc_hook_ini): Likewise.
30750 (realloc_hook_ini): Likewise.
30751 (memalign_hook_ini): Likewise.
30752 (__free_hook): Likewise.
30753 (__malloc_hook): Likewise.
30754 (__realloc_hook): Likewise.
30755 (__memalign_hook): Likewise.
30756 (__libc_malloc): Likewise.
30757 (__libc_free): Likewise.
30758 (__libc_realloc): Likewise.
30759 (__libc_memalign): Likewise.
30760 (__libc_valloc): Likewise.
30761 (__libc_pvalloc): Likewise.
30762 (__libc_calloc): Likewise.
30763 (__posix_memalign): Likewise.
30764 * malloc/morecore.c (__sbrk): Likewise.
30765 (__default_morecore): Likewise.
30766
30767 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30768
30769 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30770 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30771 __malloc_ptrdiff_t.
30772
30773 * malloc/malloc.h (__malloc_size_t): Remove macro.
30774 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30775 __malloc_size_t.
30776 (old_memalign_hook): Likewise.
30777 (old_realloc_hook): Likewise.
30778 (struct hdr): Likewise.
30779 (flood): Likewise.
30780 (mallochook): Likewise.
30781 (memalignhook): Likewise.
30782 (reallochook): Likewise.
30783 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30784 (tr_old_realloc_hook): Likewise.
30785 (tr_old_memalign_hook): Likewise.
30786 (tr_mallochook): Likewise.
30787 (tr_reallochook): Likewise.
30788 (tr_memalignhook): Likewise.
30789
30790 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30791
30792 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30793 default_ldbl_pack and using as default implementation.
30794 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30795 implementation.
30796 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30797 redundant definition.
30798 (ldbl_insert_mantissa): Likewise.
30799 (ldbl_canonicalize): Likewise.
30800 (ldbl_nearbyint): Likewise.
30801 (ldbl_pack): Rename to ldbl_pack_ppc.
30802 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30803 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30804 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30805
30806 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30807
30808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30809 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30810 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30811 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30813 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30814 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30815 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30816
30817 2013-03-07 Andreas Jaeger <aj@suse.de>
30818
30819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30820 bits/mman-linux.h.
30821
30822 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30823
30824 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30825 Include mpa.h and declare __MPEXP.
30826 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30827 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30828 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30829 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30830 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30831 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30832 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30833
30834 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30835 (__slowpow): Use long double EXPL and LOGL functions to
30836 compute POW.
30837 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30838 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30839 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30840 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30841 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30842 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30843
30844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30845 intermediate variable to calculate exponent.
30846 (__sqr): Likewise.
30847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30848 Likewise.
30849 (__sqr): Likewise.
30850
30851 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30852 [!NO__SQR]: Define __sqr.
30853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30854 and NO__SQR. Remove all code except __mul and __sqr. Include
30855 sysdeps/ieee754/dbl-64/mpa.c.
30856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30857
30858 [BZ #12723]
30859 * posix/Makefile (tests): Add tst-pathconf.
30860 * posix/tst-pathconf.c: New test case.
30861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30862 _PC_PIPE_BUF.
30863 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30864
30865 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30866
30867 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30868
30869 2013-03-06 Andreas Jaeger <aj@suse.de>
30870
30871 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30872 definition via __MAP_ANONYMOUS.
30873
30874 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30875 it's not part of Linux headers.
30876
30877 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30878 (MAP_HUGE_MASK): Define.
30879
30880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30881 Define.
30882 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30883 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30884 Define.
30885 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30886 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30887 Define.
30888 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30890 Define.
30891 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30892
30893 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30894 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30895 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30896 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30897 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30898 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30899
30900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30901 Handle f2fs.
30902
30903 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30904 Handle f2fs and efivarfs.
30905
30906 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30907 f2fs.
30908
30909 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30910 (EFIVARFS_MAGIC): Add.
30911 (F2FS_LINK_MAX): Add.
30912
30913 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30914
30915 * stdio-common/vfprintf.c: Replace __builtin_expect with
30916 __glibc_unlikely.
30917
30918 2013-03-06 Joseph Myers <joseph@codesourcery.com>
30919
30920 [BZ #13550]
30921 * sysdeps/generic/bp-sym.h: Remove file.
30922 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30923 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30924 <bp-sym.h> and <bp-asm.h>.
30925 (__longjmp): Don't use BP_SYM.
30926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30927 and <bp-asm.h>.
30928 (memcpy): Don't use BP_SYM.
30929 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30930 <bp-sym.h> and <bp-asm.h>.
30931 (memcpy): Don't use BP_SYM.
30932 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30933 <bp-asm.h>.
30934 (memcpy): Don't use BP_SYM.
30935 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30936 <bp-asm.h>.
30937 (memset): Don't use BP_SYM.
30938 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30939 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30940 (__bzero): Don't use BP_SYM.
30941 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30942 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30943 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30944 <bp-sym.h> and <bp-asm.h>.
30945 (memcmp): Don't use BP_SYM. Remove comment about bounded
30946 pointers.
30947 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30948 <bp-sym.h> and <bp-asm.h>.
30949 (memcpy): Don't use BP_SYM.
30950 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30951 <bp-sym.h> and <bp-asm.h>.
30952 (memset): Don't use BP_SYM.
30953 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30954 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30955 (__bzero): Don't use BP_SYM.
30956 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30957 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30959 <bp-sym.h> and <bp-asm.h>.
30960 (strncmp): Don't use BP_SYM. Remove comment about bounded
30961 pointers.
30962 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30963 <bp-sym.h> and <bp-asm.h>.
30964 (memcpy): Don't use BP_SYM.
30965 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30966 <bp-sym.h> and <bp-asm.h>.
30967 (memset): Don't use BP_SYM.
30968 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30969 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30970 (__bzero): Don't use BP_SYM.
30971 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30972 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30973 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30974 <bp-sym.h> and <bp-asm.h>.
30975 (__memchr): Don't use BP_SYM.
30976 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30977 <bp-sym.h> and <bp-asm.h>.
30978 (memcmp): Don't use BP_SYM. Remove comment about bounded
30979 pointers.
30980 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30981 <bp-sym.h> and <bp-asm.h>.
30982 (memcpy): Don't use BP_SYM.
30983 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30984 <bp-sym.h> and <bp-asm.h>.
30985 (__mempcpy): Don't use BP_SYM.
30986 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30987 <bp-sym.h> and <bp-asm.h>.
30988 (__memrchr): Don't use BP_SYM.
30989 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30990 <bp-sym.h> and <bp-asm.h>.
30991 (memset): Don't use BP_SYM.
30992 (__bzero): Likewise.
30993 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30994 <bp-sym.h> and <bp-asm.h>.
30995 (__rawmemchr): Don't use BP_SYM.
30996 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30997 <bp-sym.h> and <bp-asm.h>.
30998 (__STRCMP): Don't use BP_SYM.
30999 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31000 <bp-sym.h> and <bp-asm.h>.
31001 (strchr): Don't use BP_SYM.
31002 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31003 <bp-sym.h> and <bp-asm.h>.
31004 (__strchrnul): Don't use BP_SYM.
31005 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31006 <bp-sym.h> and <bp-asm.h>.
31007 (strlen): Don't use BP_SYM.
31008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31009 <bp-sym.h> and <bp-asm.h>.
31010 (strncmp): Don't use BP_SYM. Remove comment about bounded
31011 pointers.
31012 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31013 <bp-sym.h> and <bp-asm.h>.
31014 (__strnlen): Don't use BP_SYM.
31015 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31016 <bp-sym.h> and <bp-asm.h>.
31017 (__GI__setjmp): Don't use BP_SYM.
31018 (_setjmp): Likewise.
31019 (__sigsetjmp): Likewise.
31020 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31021 (L(start_addresses)): Don't use BP_SYM.
31022 (_start): Likewise.
31023 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31024 <bp-asm.h>.
31025 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31026 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31027 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31028 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31029 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31030 <bp-asm.h>.
31031 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31032 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31033 about bounded pointers.
31034 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31035 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31036 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31037 <bp-asm.h>.
31038 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31039 about bounded pointers. Remove GKM FIXME comments.
31040 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31041 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31042 <bp-asm.h>.
31043 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31044 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31045 Remove GKM FIXME comments.
31046 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31047 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31048 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31049 <bp-asm.h>.
31050 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31051 about bounded pointers. Remove GKM FIXME comment.
31052 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31053 and <bp-asm.h>.
31054 (strncmp): Don't use BP_SYM. Remove comment about bounded
31055 pointers.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31057 <bp-sym.h> and <bp-asm.h>.
31058 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31060 <bp-sym.h> and <bp-asm.h>.
31061 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31062 comment.
31063
31064 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31065
31066 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31067 call free(NULL).
31068
31069 2013-03-05 David S. Miller <davem@davemloft.net>
31070
31071 * po/es.po: Update from translation team.
31072
31073 2013-03-05 Andreas Jaeger <aj@suse.de>
31074
31075 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31076 <bits/mman-linux.h>.
31077 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31078 is fine.
31079 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31080 <bits/mman-linux.h> to end of file.
31081 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31082 is fine.
31083 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31084 <bits/mman-linux.h> to end of file.
31085 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31086 is fine.
31087 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31088 <bits/mman-linux.h> to end of file.
31089
31090 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31091 (MCL_CURRENT, MCL_FUTURE): Define here.
31092
31093 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31094
31095 [BZ #15232]
31096 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31097 attribute_hidden.
31098 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31099
31100 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31101
31102 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31103 fourth parameter needed for rt_sigprocmask syscall.
31104 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31105 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31106 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31107 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31108 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31109 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31110
31111 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31112
31113 [BZ #13550]
31114 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31115 comment about bounded pointers.
31116 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31117 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31118
31119 2013-03-04 Andreas Jaeger <aj@suse.de>
31120
31121 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31122 common definitions.
31123
31124 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31125 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31126 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31127 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31130
31131 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31132
31133 [BZ #15055]
31134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31135 __ieee754_sqrl instead of __sqrl.
31136
31137 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31138
31139 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31140 * sysdeps/powerpc/fpu_control.h: ... here.
31141 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31142 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31143 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31144 * sysdeps/powerpc/bits/mathinline.h: ... here.
31145
31146 2013-03-01 Roland McGrath <roland@hack.frob.com>
31147
31148 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31149 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31150 to just [NEED_DL_SYSINFO_DSO].
31151 * elf/dl-support.c: Likewise.
31152 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31153 * elf/rtld.c (dl_main): Likewise.
31154 * elf/setup-vdso.h (setup_vdso): Likewise.
31155 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31156 * sysdeps/unix/sysv/linux/dl-sysdep.c
31157 (_dl_discover_osversion): Likewise.
31158
31159 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31160
31161 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31162 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31163
31164 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31165
31166 * NEWS: Mention libm performance improvements and non-x86 PI
31167 futex support.
31168
31169 * csu/libc-start.c (__pthread_initialize_minimal): Change
31170 function arguments.
31171 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31172
31173 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31174
31175 [BZ #13550]
31176 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31177 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31178 <bp-sym.h> and <bp-asm.h>.
31179 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31180 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31181 and <bp-asm.h>.
31182 (memcpy): Don't use BP_SYM.
31183 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31184 <bp-asm.h>.
31185 (__mpn_add_n): Don't use BP_SYM.
31186 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31187 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31188 and <bp-asm.h>.
31189 (__mpn_addmul_1): Don't use BP_SYM.
31190 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31191 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31192 <bp-sym.h>.
31193 (_setjmp): Don't use BP_SYM.
31194 (__novmx_setjmp): Likewise.
31195 (__GI__setjmp): Likewise.
31196 (__vmx_setjmp): Likewise.
31197 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31198 <bp-sym.h>.
31199 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31200 (__bzero): Don't use BP_SYM.
31201 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31202 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31203 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31204 <bp-sym.h> and <bp-asm.h>.
31205 (memcpy): Don't use BP_SYM.
31206 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31207 <bp-sym.h> and <bp-asm.h>.
31208 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31209 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31210 <bp-sym.h> and <bp-asm.h>.
31211 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31212 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31213 <bp-asm.h>.
31214 (__mpn_lshift): Don't use BP_SYM.
31215 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31216 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31217 <bp-asm.h>.
31218 (memset): Don't use BP_SYM.
31219 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31220 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31221 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31222 <bp-asm.h>.
31223 (__mpn_mul_1): Don't use BP_SYM.
31224 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31225 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31226 <bp-sym.h> and <bp-asm.h>.
31227 (memcmp): Don't use BP_SYM.
31228 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31229 <bp-sym.h> and <bp-asm.h>.
31230 (memcpy): Don't use BP_SYM.
31231 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31232 <bp-sym.h> and <bp-asm.h>.
31233 (memset): Don't use BP_SYM.
31234 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31235 <bp-sym.h> and <bp-asm.h>.
31236 (strncmp): Don't use BP_SYM.
31237 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31238 <bp-sym.h> and <bp-asm.h>.
31239 (memcpy): Don't use BP_SYM.
31240 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31241 <bp-sym.h> and <bp-asm.h>.
31242 (memset): Don't use BP_SYM.
31243 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31244 <bp-sym.h> and <bp-asm.h>.
31245 (__memchr): Don't use BP_SYM.
31246 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31247 <bp-sym.h> and <bp-asm.h>.
31248 (memcmp): Don't use BP_SYM.
31249 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31250 <bp-sym.h> and <bp-asm.h>.
31251 (memcpy): Don't use BP_SYM.
31252 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31253 <bp-sym.h> and <bp-asm.h>.
31254 (__mempcpy): Don't use BP_SYM.
31255 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31256 <bp-sym.h> and <bp-asm.h>.
31257 (__memrchr): Don't use BP_SYM.
31258 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31259 <bp-sym.h> and <bp-asm.h>.
31260 (memset): Don't use BP_SYM.
31261 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31262 <bp-sym.h> and <bp-asm.h>.
31263 (__rawmemchr): Don't use BP_SYM.
31264 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31265 <bp-sym.h> and <bp-asm.h>.
31266 (__STRCMP): Don't use BP_SYM.
31267 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31268 <bp-sym.h> and <bp-asm.h>.
31269 (strchr): Don't use BP_SYM.
31270 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31271 <bp-sym.h> and <bp-asm.h>.
31272 (__strchrnul): Don't use BP_SYM.
31273 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31274 <bp-sym.h> and <bp-asm.h>.
31275 (strlen): Don't use BP_SYM.
31276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31277 <bp-sym.h> and <bp-asm.h>.
31278 (strncmp): Don't use BP_SYM.
31279 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31280 <bp-sym.h> and <bp-asm.h>.
31281 (__strnlen): Don't use BP_SYM.
31282 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31283 <bp-asm.h>.
31284 (__mpn_rshift): Don't use BP_SYM.
31285 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31286 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31287 <bp-sym.h> and <bp-asm.h>.
31288 (__sigsetjmp): Don't use BP_SYM.
31289 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31290 (L(start_addresses)): Don't use BP_SYM.
31291 (_start): Likewise.
31292 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31293 <bp-asm.h>.
31294 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31295 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31296 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31297 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31298 <bp-asm.h>.
31299 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31300 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31301 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31302 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31303 <bp-asm.h>.
31304 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31305 comments.
31306 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31307 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31308 <bp-asm.h>.
31309 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31310 FIXME comments.
31311 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31312 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31313 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31314 <bp-asm.h>.
31315 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31316 comment.
31317 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31318 and <bp-asm.h>.
31319 (strncmp): Don't use BP_SYM,
31320 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31321 <bp-asm.h>.
31322 (__mpn_sub_n): Don't use BP_SYM.
31323 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31324 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31325 and <bp-asm.h>.
31326 (__mpn_submul_1): Don't use BP_SYM.
31327 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31329 <bp-sym.h> and <bp-asm.h>.
31330 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31332 <bp-sym.h> and <bp-asm.h>.
31333 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31334 comment.
31335
31336 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31337
31338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31339 Use ZK to minimize writes to Z.
31340 (sub_magnitudes): Simplify code a bit.
31341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31342 Use ZK to minimize writes to Z.
31343 (sub_magnitudes): Simplify code a bit.
31344
31345 2013-02-27 Roland McGrath <roland@hack.frob.com>
31346
31347 * csu/gmon-start.c: Add special exception to license text.
31348
31349 2013-02-27 Richard Henderson <rth@redhat.com>
31350
31351 * scripts/config.guess: Update from config.git.
31352 * scripts/config.sub: Likewise.
31353
31354 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31355
31356 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31357
31358 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31359
31360 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31361
31362 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31363
31364 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31365
31366 2013-02-26 Roland McGrath <roland@hack.frob.com>
31367
31368 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31369 [$(build-shared = yes].
31370
31371 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31372
31373 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31374 (__mul): Reduce iterations for calculating mantissa.
31375
31376 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31377 MPTWO.
31378 (__mpranred): Likewise.
31379
31380 [BZ #15160]
31381 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31382 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31383
31384 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31385
31386 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31387 Define __attribute__.
31388
31389 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31390
31391 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31392 unused.
31393 * posix/regex_internal.h (__attribute): Remove.
31394 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31395 (re_string_context_at): Likewise.
31396 (bitset_not): Use __attribute__ and mark function as possibly
31397 unused.
31398 (bitset_merge): Likewise.
31399 (bitset_mask): Likewise.
31400 (re_string_char_size_at): Likewise.
31401 (re_string_wchar_at): Likewise.
31402 (re_string_elem_size_at): Likewise.
31403
31404 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31405
31406 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31407 code.
31408 (cc32): Likewise.
31409
31410 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31411 (__acr): Likewise.
31412 (__cpy): Likewise.
31413 (norm): Likewise.
31414 (denorm): Likewise.
31415 (__dbl_mp): Likewise.
31416 (add_magnitudes): Likewise.
31417 (sub_magnitudes): Likewise.
31418 (__mul): Likewise.
31419 (__inv): Likewise.
31420
31421 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31422 style.
31423
31424 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31425 style.
31426
31427 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31428 code.
31429
31430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31431 up changes with default code.
31432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31433 Likewise.
31434
31435 2013-02-24 Allan McRae <allan@archlinux.org>
31436
31437 * manual/socket.texi (The Internet Namespace): Order menu items
31438 to match that in the file.
31439
31440 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31441 node listing of the info page menu.
31442
31443 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31444
31445 [BZ #13550]
31446 * sysdeps/i386/bp-asm.h: Remove file.
31447 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31448 (PARMS): Do not use macros from bp-asm.h.
31449 (S1): Likewise.
31450 (S2): Likewise.
31451 (SIZE): Likewise.
31452 (__mpn_add_n): Do not use BP_SYM
31453 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31454 "bp-asm.h".
31455 (PARMS): Do not use macros from bp-asm.h.
31456 (S1): Likewise.
31457 (SIZE): Likewise.
31458 (__mpn_addmul_1): Do not use BP_SYM
31459 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31460 "bp-asm.h".
31461 (PARMS): Do not use macros from bp-asm.h.
31462 (SIGMSK): Likewise.
31463 (_setjmp): Likewise. Do not use BP_SYM.
31464 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31465 "bp-asm.h".
31466 (PARMS): Do not use macros from bp-asm.h.
31467 (SIGMSK): Likewise.
31468 (setjmp): Likewise. Do not use BP_SYM.
31469 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31470 "bp-asm.h".
31471 (PARMS): Do not use macros from bp-asm.h.
31472 (__frexp): Do not use BP_SYM.
31473 (frexp): Likewise.
31474 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31475 "bp-asm.h".
31476 (PARMS): Do not use macros from bp-asm.h.
31477 (__frexpf): Do not use BP_SYM.
31478 (frexpf): Likewise.
31479 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31480 "bp-asm.h".
31481 (PARMS): Do not use macros from bp-asm.h.
31482 (__frexpl): Do not use BP_SYM.
31483 (frexpl): Likewise.
31484 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31485 "bp-asm.h".
31486 (PARMS): Do not use macros from bp-asm.h.
31487 (__remquo): Do not use BP_SYM.
31488 (remquo): Likewise.
31489 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31490 "bp-asm.h".
31491 (PARMS): Do not use macros from bp-asm.h.
31492 (__remquof): Do not use BP_SYM.
31493 (remquof): Likewise.
31494 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31495 "bp-asm.h".
31496 (PARMS): Do not use macros from bp-asm.h.
31497 (__remquol): Do not use BP_SYM.
31498 (remquol): Likewise.
31499 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31500 "bp-asm.h".
31501 (PARMS): Do not use macros from bp-asm.h.
31502 (DEST): Likewise.
31503 (SRC): Likewise.
31504 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31505 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31506 "bp-asm.h".
31507 (PARMS): Do not use macros from bp-asm.h.
31508 (strlen): Do not use BP_SYM.
31509 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31510 "bp-asm.h".
31511 (PARMS): Do not use macros from bp-asm.h.
31512 (S1): Likewise.
31513 (S2): Likewise.
31514 (SIZE): Likewise.
31515 (__mpn_add_n): Do not use BP_SYM.
31516 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31517 "bp-asm.h".
31518 (PARMS): Do not use macros from bp-asm.h.
31519 (S1): Likewise.
31520 (SIZE): Likewise.
31521 (__mpn_addmul_1): Do not use BP_SYM.
31522 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31523 weak_alias.
31524 (bzero): Likewise.
31525 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31526 "bp-asm.h".
31527 (PARMS): Do not use macros from bp-asm.h.
31528 (S): Likewise.
31529 (SIZE): Likewise.
31530 (__mpn_lshift): Do not use BP_SYM.
31531 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31532 "bp-asm.h".
31533 (PARMS): Do not use macros from bp-asm.h.
31534 (DEST): Likewise.
31535 (SRC): Likewise.
31536 (LEN): Likewise.
31537 (memcpy): Likewise. Do not use BP_SYM.
31538 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31539 libc_hidden_def and weak_alias.
31540 (mempcpy): Do not use BP_SYM in weak_alias.
31541 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31542 "bp-asm.h".
31543 (PARMS): Do not use macros from bp-asm.h.
31544 (DEST): Likewise.
31545 (LEN): Likewise.
31546 [!BZERO_P] (CHR): Likewise.
31547 (memset): Likewise. Do not use BP_SYM.
31548 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31549 "bp-asm.h".
31550 (PARMS): Do not use macros from bp-asm.h.
31551 (S1): Likewise.
31552 (SIZE): Likewise.
31553 (__mpn_mul_1): Do not use BP_SYM.
31554 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31555 "bp-asm.h".
31556 (PARMS): Do not use macros from bp-asm.h.
31557 (S): Likewise.
31558 (SIZE): Likewise.
31559 (__mpn_rshift): Do not use BP_SYM.
31560 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31561 "bp-asm.h".
31562 (PARMS): Do not use macros from bp-asm.h.
31563 (STR): Likewise.
31564 (CHR): Likewise.
31565 (strchr): Likewise. Do not use BP_SYM.
31566 (index): Do not use BP_SYM in weak_alias.
31567 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31568 "bp-asm.h".
31569 (PARMS): Do not use macros from bp-asm.h.
31570 (DEST): Likewise.
31571 (SRC): Likewise.
31572 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31573 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31574 "bp-asm.h".
31575 (PARMS): Do not use macros from bp-asm.h.
31576 (strlen): Do not use BP_SYM.
31577 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31578 "bp-asm.h".
31579 (PARMS): Do not use macros from bp-asm.h.
31580 (S1): Likewise.
31581 (S2): Likewise.
31582 (SIZE): Likewise.
31583 (__mpn_sub_n): Do not use BP_SYM.
31584 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31585 "bp-asm.h".
31586 (PARMS): Do not use macros from bp-asm.h.
31587 (S1): Likewise.
31588 (SIZE): Likewise.
31589 (__mpn_submul_1): Do not use BP_SYM.
31590 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31591 "bp-asm.h".
31592 (PARMS): Do not use macros from bp-asm.h.
31593 (S1): Likewise.
31594 (S2): Likewise.
31595 (SIZE): Likewise.
31596 (__mpn_add_n): Do not use BP_SYM.
31597 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31598 weak_alias.
31599 (bzero): Likewise.
31600 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31601 "bp-asm.h".
31602 (PARMS): Do not use macros from bp-asm.h.
31603 (BLK2): Likewise.
31604 (LEN): Likewise.
31605 (memcmp): Do not use BP_SYM.
31606 (bcmp): Do not use BP_SYM in weak_alias.
31607 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31608 "bp-asm.h".
31609 (PARMS): Do not use macros from bp-asm.h.
31610 (DEST): Likewise.
31611 (SRC): Likewise.
31612 (LEN): Likewise.
31613 (memcpy): Likewise. Do not use BP_SYM.
31614 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31615 "bp-asm.h".
31616 (PARMS): Do not use macros from bp-asm.h.
31617 (DEST): Likewise.
31618 (SRC): Likewise.
31619 (LEN): Likewise.
31620 (memmove): Likewise. Do not use BP_SYM.
31621 * sysdeps/i386/i686/mempcpy.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 (SRC): Likewise.
31626 (LEN): Likewise.
31627 (__mempcpy): Likewise. Do not use BP_SYM.
31628 (mempcpy): Do not use BP_SYM in weak_alias.
31629 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31630 "bp-asm.h".
31631 (PARMS): Do not use macros from bp-asm.h.
31632 (DEST): Likewise.
31633 (LEN): Likewise.
31634 [!BZERO_P] (CHR): Likewise.
31635 (memset): Likewise. Do not use BP_SYM.
31636 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31637 "bp-asm.h".
31638 (PARMS): Do not use macros from bp-asm.h.
31639 (STR2): Likewise.
31640 (strcmp): Do not use BP_SYM.
31641 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31642 "bp-asm.h".
31643 (PARMS): Do not use macros from bp-asm.h.
31644 (STR): Likewise.
31645 (DELIM): Likewise.
31646 [USE_AS_STRTOK_R] (SAVE): Likewise.
31647 (FUNCTION): Likewise. Do not use BP_SYM.
31648 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31649 aliases.
31650 (strtok_r): Likewise.
31651 (__GI___strtok_r): Likewise.
31652 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31653 (PARMS): Do not use macros from bp-asm.h.
31654 (S): Likewise.
31655 (SIZE): Likewise.
31656 (__mpn_lshift): Do not use BP_SYM.
31657 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31658 (PARMS): Do not use macros from bp-asm.h.
31659 (STR): Likewise.
31660 (CHR): Likewise.
31661 (__memchr): Do not use BP_SYM.
31662 (memchr): Do not use BP_SYM in weak_alias.
31663 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31664 (PARMS): Do not use macros from bp-asm.h.
31665 (BLK2): Likewise.
31666 (LEN): Likewise.
31667 (memcmp): Do not use BP_SYM.
31668 (bcmp): Do not use BP_SYM in weak_alias.
31669 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31670 (PARMS): Do not use macros from bp-asm.h.
31671 (S1): Likewise.
31672 (SIZE): Likewise.
31673 (__mpn_mul_1): Do not use BP_SYM.
31674 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31675 "bp-asm.h".
31676 (PARMS): Do not use macros from bp-asm.h.
31677 (STR): Likewise.
31678 (CHR): Likewise.
31679 (__rawmemchr): Do not use BP_SYM.
31680 (rawmemchr): Do not use BP_SYM in weak_alias.
31681 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31682 (PARMS): Do not use macros from bp-asm.h.
31683 (S): Likewise.
31684 (SIZE): Likewise.
31685 (__mpn_rshift): Do not use BP_SYM.
31686 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31687 (PARMS): Do not use macros from bp-asm.h.
31688 (SIGMSK): Likewise.
31689 (__sigsetjmp): Likewise. Do not use BP_SYM.
31690 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31691 (_start): Do not use BP_SYM.
31692 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31693 (PARMS): Do not use macros from bp-asm.h.
31694 (DEST): Likewise.
31695 (SRC): Likewise.
31696 (__stpcpy): Likewise. Do not use BP_SYM.
31697 (stpcpy): Do not use BP_SYM in weak_alias.
31698 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31699 "bp-asm.h".
31700 (PARMS): Do not use macros from bp-asm.h.
31701 (DEST): Likewise.
31702 (SRC): Likewise.
31703 (LEN): Likewise.
31704 (__stpncpy): Likewise. Do not use BP_SYM.
31705 (stpncpy): Do not use BP_SYM in weak_alias.
31706 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31707 (PARMS): Do not use macros from bp-asm.h.
31708 (STR): Likewise.
31709 (CHR): Likewise.
31710 (strchr): Likewise. Do not use BP_SYM.
31711 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31712 "bp-asm.h".
31713 (PARMS): Do not use macros from bp-asm.h.
31714 (STR): Likewise.
31715 (CHR): Likewise.
31716 (__strchrnul): Likewise. Do not use BP_SYM.
31717 (strchrnul): Do not use BP_SYM in weak_alias.
31718 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31719 "bp-asm.h".
31720 (PARMS): Do not use macros from bp-asm.h.
31721 (STOP): Likewise.
31722 (strcspn): Do not use BP_SYM.
31723 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31724 "bp-asm.h".
31725 (PARMS): Do not use macros from bp-asm.h.
31726 (STR): Likewise.
31727 (STOP): Likewise.
31728 (strpbrk): Likewise. Do not use BP_SYM.
31729 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31730 "bp-asm.h".
31731 (PARMS): Do not use macros from bp-asm.h.
31732 (STR): Likewise.
31733 (CHR): Likewise.
31734 (strrchr): Likewise. Do not use BP_SYM.
31735 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31736 (PARMS): Do not use macros from bp-asm.h.
31737 (SKIP): Likewise.
31738 (strspn): Do not use BP_SYM.
31739 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31740 (PARMS): Do not use macros from bp-asm.h.
31741 (STR): Likewise.
31742 (DELIM): Likewise.
31743 (SAVE): Likewise.
31744 (FUNCTION): Likewise. Do not use BP_SYM.
31745 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31746 aliases.
31747 (strtok_r): Likewise.
31748 (__GI___strtok_r): Likewise.
31749 * sysdeps/i386/sub_n.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 (S2): Likewise.
31753 (SIZE): Likewise.
31754 (__mpn_sub_n): Do not use BP_SYM.
31755 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31756 "bp-asm.h".
31757 (PARMS): Do not use macros from bp-asm.h.
31758 (S1): Likewise.
31759 (SIZE): Likewise.
31760 (__mpn_submul_1): Do not use BP_SYM.
31761 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31762 <bp-sym.h>.
31763 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31764 and <bp-asm.h>.
31765 (PARMS): Do not use macros from bp-asm.h.
31766 (FLAGS): Likewise.
31767 (PTID): Likewise.
31768 (TLS): Likewise.
31769 (CTID): Likewise.
31770 (__clone): Do not use BP_SYM.
31771 (clone): Do not use BP_SYM in weak_alias.
31772 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31773 and <bp-asm.h>.
31774 (PARMS): Do not use macros from bp-asm.h.
31775 (LEN): Likewise.
31776 (__mmap64): Do not use BP_SYM.
31777 (mmap64): Do not use BP_SYM in weak_alias.
31778 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31779 <bp-sym.h> and <bp-asm.h>.
31780 (PARMS): Do not use macros from bp-asm.h.
31781 (__posix_fadvise64_l64): Do not use BP_SYM.
31782 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31783 (PARMS): Do not use macros from bp-asm.h.
31784 (NSOPS): Likewise.
31785 (semtimedop): Do not use BP_SYM.
31786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31787 and <bp-asm.h>.
31788
31789 2013-02-21 Allan McRae <allan@archlinux.org>
31790
31791 * manual/message.texi (Charset conversion in gettext):
31792 Move @end statement to beginning of line.
31793
31794 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31795
31796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31797 static.
31798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31799 Likewise.
31800
31801 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31802 (denorm): Likewise.
31803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31805
31806 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31807
31808 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31809 tail-call to the resolved function if pltexit isn't needed.
31810
31811 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31812
31813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31814 or Y being zero as being unlikely.
31815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31816 Likewise.
31817
31818 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31819
31820 * manual/nss.texi (System Databases and Name Service Switch):
31821 Remove frobnicate @pxref.
31822
31823 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31824
31825 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31826 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31827
31828 2013-02-20 Petr Machata <pmachata@redhat.com>
31829
31830 * elf/elf.h (R_ARM_TARGET1): New macro.
31831 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31832 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31833 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31834 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31835 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31836 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31837 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31838 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31839 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31840 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31841 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31842 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31843 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31844 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31845 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31846 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31847 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31848 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31849 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31850 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31851 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31852 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31853 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31854 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31855 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31856 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31857 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31858 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31859 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31860 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31861 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31862 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31863 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31864 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31865 (R_ARM_THM_GOT_BREL12): Likewise.
31866 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31867 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31868 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31869 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31870 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31871 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31872 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31873 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31874 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31875
31876 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31877
31878 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31879 __attribute_used__ to __attribute__ ((unused)).
31880
31881 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31882
31883 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31884 powerpc mpa.c.
31885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31886 comment formatting.
31887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31888
31889 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31890
31891 [BZ #13550]
31892 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31893 Remove macro.
31894 (ENTER): Remove both macro definitions.
31895 (LEAVE): Likewise.
31896 (CHECK_BOUNDS_LOW): Likewise.
31897 (CHECK_BOUNDS_HIGH): Likewise.
31898 (CHECK_BOUNDS_BOTH): Likewise.
31899 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31900 (RETURN_BOUNDED_POINTER): Likewise.
31901 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31902 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31903 (POP_ERRNO_LOCATION_RETURN): Likewise.
31904 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31905 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31906 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31907 macros.
31908 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31909 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31910 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31911 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31912 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31913 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31914 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31915 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31916 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31917 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31918 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31919 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31920 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31921 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31922 removed macros.
31923 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31924 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31925 macros.
31926 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31927 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31928 * sysdeps/i386/i586/memset.S (memset): Likewise.
31929 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31930 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31931 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31932 macros.
31933 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31934 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31935 Change uses of L(2) to L(out).
31936 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31937 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31938 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31939 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31940 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31941 removed macros.
31942 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31943 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31944 macros.
31945 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31946 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31947 (RETURN): Do not use macro LEAVE.
31948 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31949 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31950 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31951 * sysdeps/i386/i686/memset.S (memset): Likewise.
31952 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31953 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31954 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31955 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31956 Likewise.
31957 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31958 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31959 L(1_2) and L(1_3) into L(1).
31960 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31961 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31962 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31963 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31964 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31965 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31966 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31967 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31968 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31969 macros.
31970 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31971 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31972 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31973 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31974 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31975 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31976 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31977 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31978 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31979 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31980 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31981 * sysdeps/i386/strspn.S (strspn): Likewise.
31982 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31983 conditional code.
31984 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31985 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31986 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31987 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31988 L(1_3) into L(1_1).
31989 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31990 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31991 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31992 macros.
31993 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31994
31995 2013-02-19 Jakub Jelinek <jakub@redhat.com>
31996
31997 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31998 macro.
31999
32000 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32001
32002 * math/atest-exp.c (exp_mpn): Remove ROUND.
32003 * math/atest-exp2.c (exp_mpn): Likewise.
32004 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32005
32006 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32007 * stdlib/tst-tls-atexit-lib.c: Likewise.
32008 * stdlib/tst-tls-atexit.c: Likewise.
32009
32010 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32011
32012 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32013 and __attribute_alloc_size__.
32014
32015 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32016
32017 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32018 __attribute_alloc_size__.
32019 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32020 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32021
32022 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32023
32024 * include/programs/xmalloc.h: New file.
32025 * catgets/gencat.c: Include it.
32026 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32027 * elf/pldd.c: Likewise.
32028 * iconv/iconv_charmap.c: Likewise.
32029 * iconv/iconvconfig.c: Likewise.
32030 * iconv/strtab.c: Likewise.
32031 * locale/programs/locale.c: Likewise.
32032 * locale/programs/localedef.h: Likewise.
32033 * locale/programs/simple-hash.c: Likewise.
32034 * nscd/nscd.h: Likewise.
32035 * nss/makedb.c: Likewise.
32036 * sysdeps/generic/ldconfig.h: Likewise.
32037
32038 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32039
32040 * Versions.def: Add GLIBC_2.18.
32041 * include/link.h (struct link_map): New member l_tls_dtor_count.
32042 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32043 (__call_tls_dtors): Likewise.
32044 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32045 __cxa_thread_atexit_impl.
32046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32047 Likewise.
32048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32049 Likewise.
32050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32051 Likewise.
32052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32053 Likewise.
32054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32056 Likewise.
32057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32058 Likewise.
32059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32061 Likewise.
32062 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32063 (tests): Add test case tst-tls-atexit.
32064 (modules-names): Add shared library for tst-tls-atexit.
32065 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32066 (GLIBC_PRIVATE): Add __call_tls_dtors.
32067 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32068 for libstdc++.
32069 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32070 * stdlib/tst-tls-atexit.c: New test case.
32071 * stdlib/tst-tls-atexit-lib.c: New test case.
32072
32073 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32074
32075 * elf/Versions (ld): Add _dl_find_dso_for_object.
32076 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32077 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32078 (dl_open_worker): Use _dl_find_dso_for_object.
32079 * elf/dl-sym.c (do_sym): Likewise.
32080 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32081
32082 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32083
32084 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32085 Syntactic changes only.
32086 (_dl_runtime_profile): Do a tail-call to the resolved function.
32087
32088 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32089
32090 [BZ #13550]
32091 * sysdeps/x86_64/bp-asm.h: Remove file.
32092 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32093 <bp-sym.h> and <bp-asm.h>.
32094 (__clone): Do not use BP_SYM.
32095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32096 <bp-sym.h> and <bp-asm.h>.
32097 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32098 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32099 "bp-asm.h".
32100 (_setjmp): Do not use BP_SYM.
32101 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32102 "bp-asm.h".
32103 (setjmp): Do not use BP_SYM.
32104 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32105 libc_hidden_def.
32106 (mempcpy): Do not use BP_SYM in weak_alias.
32107 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32108 "bp-asm.h".
32109 (strchr): Do not use BP_SYM.
32110 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32111 "bp-asm.h".
32112 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32113 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32114 (_start): Do not use BP_SYM.
32115 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32116 "bp-asm.h".
32117 (strcat): Do not use BP_SYM.
32118 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32119 "bp-asm.h".
32120 (STRCMP): Do not use BP_SYM.
32121 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32122 "bp-asm.h".
32123 (STRCPY): Do not use BP_SYM.
32124 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32125 "bp-asm.h".
32126 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32127 "bp-asm.h".
32128 (FUNCTION): Do not use BP_SYM.
32129 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32130 weak_alias.
32131 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32132
32133 2013-02-17 Andreas Jaeger <aj@suse.de>
32134
32135 * time/Versions: Sort entries.
32136 * string/Versions: Likewise.
32137 * resolv/Versions: Likewise.
32138 * posix/Versions: Likewise.
32139 * iconv/Versions: Likewise.
32140 * elf/Versions: Likewise.
32141 * wcsmbs/Versions: Likewise.
32142
32143 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32144
32145 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32146 loop termination condition.
32147
32148 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32149 variable to calculate EZ.
32150 (__sqr): Likewise.
32151
32152 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32153 the lower precision input.
32154
32155 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32156
32157 [BZ #13550]
32158 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32159 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32160 (run-via-rtld-prefix): Do not handle %-bp tests.
32161 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32162 (all-object-suffixes): Remove .ob.
32163 (bppfx): Remove variable.
32164 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32165 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32166 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32167 [$(build-bounded) = yes] (libtype.ob): Likewise.
32168 * Makerules (elide-routines.ob): Remove variable.
32169 (do-tests-clean): Do not handle *-bp.out.
32170 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32171 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32172 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32173 (tests): Do not include $(tests-bp.out).
32174 (xtests): Do not include $(xtests-bp.out).
32175 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32176 [$(build-bounded) = yes] ($(addprefix
32177 $(objpfx),$(binaries-bounded))): Remove rule.
32178 ($(objpfx)%-bp.out): Remove rule.
32179 * config.make.in (build-bounded): Remove variable.
32180 * crypt/Makefile [$(build-bounded) = yes]
32181 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32182 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32183 append to variable.
32184 [$(build-bounded) = yes] (install-lib): Likewise.
32185 [$(build-bounded) = yes] (generated): Likewise.
32186 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32187 Remove rule.
32188 * intl/Makefile [$(build-bounded) = yes]
32189 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32190 * math/Makefile [$(build-bounded) = yes]
32191 ($(tests:%=$(objpfx)%-bp): Likewise.
32192 * misc/Makefile [$(build-bounded) = yes]
32193 ($(objpfx)tst-tsearch-bp): Likewise.
32194 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32195 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32196 Remove dependency.
32197 * string/Makefile (o-objects.ob): Remove variable.
32198 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32199 (CFLAGS-.ob): Remove variable.
32200 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32201 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32202 both definitions of variable.
32203 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32204 (ASFLAGS-.ob): Remove variable.
32205
32206 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32207
32208 [BZ #13550]
32209 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32210 Remove __BOUNDED_POINTERS__ from condition.
32211 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32212 * string/bits/string2.h [!__NO_STRING_INLINES &&
32213 !__BOUNDED_POINTERS__]: Likewise.
32214 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32215 Likewise.
32216 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32217 Remove conditional code.
32218 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32219 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32220 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32221 condition.
32222
32223 [BZ #13550]
32224 * csu/libc-start.c: Do not include <bp-sym.h>.
32225 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32226 * elf/dl-open.c: Do not include <bp-sym.h>.
32227 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32228 * math/fegetenv.c: Do not include <bp-sym.h>.
32229 (fegetenv): Do not use BP_SYM in versioned symbols.
32230 * nptl/sysdeps/pthread/bits/libc-lockP.h
32231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32232 <bp-sym.h>.
32233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32234 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32236 (__pthread_mutex_destroy): Likewise.
32237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32238 (__pthread_mutex_lock): Likewise.
32239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32240 (__pthread_mutex_trylock): Likewise.
32241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32242 (__pthread_mutex_unlock): Likewise.
32243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32244 (__pthread_mutexattr_init): Likewise.
32245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32246 (__pthread_mutexattr_destroy): Likewise.
32247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32248 (__pthread_mutexattr_settype): Likewise.
32249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32250 (__pthread_rwlock_init): Likewise.
32251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32252 (__pthread_rwlock_destroy): Likewise.
32253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32254 (__pthread_rwlock_rdlock): Likewise.
32255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32256 (__pthread_rwlock_tryrdlock): Likewise.
32257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32258 (__pthread_rwlock_wrlock): Likewise.
32259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32260 (__pthread_rwlock_trywrlock): Likewise.
32261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32262 (__pthread_rwlock_unlock): Likewise.
32263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32264 (__pthread_key_create): Likewise.
32265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32266 (__pthread_setspecific): Likewise.
32267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32268 (__pthread_getspecific): Likewise.
32269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32270 Likewise.
32271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32272 (_pthread_cleanup_push_defer): Likewise.
32273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32274 (_pthread_cleanup_pop_restore): Likewise.
32275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32276 (pthread_setcancelstate): Likewise.
32277 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32278 <bp-sym.h>.
32279 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32280 (memchr): Do not use BP_SYM in weak_alias.
32281 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32282 (fegetenv): Do not use BP_SYM in versioned symbols.
32283 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32284 (fesetenv): Do not use BP_SYM in versioned symbols.
32285 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32286 (feupdateenv): Do not use BP_SYM in versioned symbols.
32287 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32288 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32289 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32290 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32291 (open64): Do not use BP_SYM in weak_alias.
32292 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32293 (fegetenv): Do not use BP_SYM in versioned symbols.
32294 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32295 (fesetenv): Do not use BP_SYM in versioned symbols.
32296 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32297 (feupdateenv): Do not use BP_SYM in versioned symbols.
32298 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32299 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32300 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32301 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32302 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32303 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32304 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32305 <bp-sym.h>.
32306 (__libc_start_main): Do not use BP_SYM.
32307
32308 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32309
32310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32311 redundant return line.
32312 (norm): Likewise.
32313 (denorm): Likewise.
32314 (dbl_mp): Likewise.
32315 (sub_magnitudes): Likewise.
32316 (__add): Likewise.
32317 (__sub): Likewise.
32318 (__mul): Likewise.
32319 (__inv): Likewise.
32320 (__dvd): Likewise.
32321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32322 (norm): Likewise.
32323 (denorm): Likewise.
32324 (dbl_mp): Likewise.
32325 (sub_magnitudes): Likewise.
32326 (__add): Likewise.
32327 (__sub): Likewise.
32328 (__mul): Likewise.
32329 (__inv): Likewise.
32330 (__dvd): Likewise.
32331
32332 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32333 instead of __mul.
32334 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32335 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32336 (cc32): Likewise.
32337
32338 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32339 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32341 of __mul for squares.
32342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32343 function
32344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32345 Likewise.
32346 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32347 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32348
32349 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32350
32351 [BZ #13550]
32352 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32353 code.
32354 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32355 prototype or function definition. Rename ubp_* variables and
32356 parameters. Remove argv definitions conditional on
32357 [__BOUNDED_POINTERS__].
32358 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32359 * elf/dl-runtime.c (_dl_fixup): Likewise.
32360 * include/set-hooks.h (RUN_HOOK): Likewise.
32361 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32362 definition.
32363 * string/strcpy.c (strcpy): Do not use __unbounded.
32364 * sysdeps/generic/frame.h (struct layout): Likewise.
32365 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32366 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32367 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32368 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32369 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32370 (__backtrace): Likewise.
32371 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32372 use __ptrvalue.
32373 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32374 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32375 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32376 Likewise.
32377 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32378 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32379 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32380 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32381 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32382 Do not use __unbounded.
32383 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32384 Rename __unboundedrlimits parameter to rlimits in prototype.
32385 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32386 Do not use __unbounded.
32387 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32388 not use __ptrvalue.
32389 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32390 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32391 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32392 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32393 __ptrvalue or __unbounded.
32394 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32395 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32396 use __unbounded.
32397 (__new_msgctl): Do not use __ptrvalue.
32398 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32399 __unbounded.
32400 (__libc_msgrcv): Do not use __ptrvalue.
32401 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32402 startup_info): Do not use __unbounded.
32403 (__libc_start_main): Likewise. Rename ubp_* variables and
32404 parameters. Remove argv definitions conditional on
32405 [__BOUNDED_POINTERS__].
32406 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32407 __ptrvalue.
32408 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32409 use __unbounded.
32410 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32411 or __ptrvalue.
32412 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32413 use __unbounded.
32414 (__new_shmctl): Do not use __ptrvalue.
32415 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32416 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32417 Likewise.
32418 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32419 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32420 (__libc_sigaction): Likewise.
32421 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32422 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32423 Likewise.
32424 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32425
32426 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32427
32428 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32429
32430 * string/mempcpy.c: Implement by calling memcpy.
32431
32432 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32433
32434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32435
32436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32437 evaluation.
32438
32439 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32440 values in the mantissa.
32441
32442 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32443 minimize writes to Z.
32444 (sub_magnitudes): Simplify code a bit.
32445
32446 2013-02-12 Roland McGrath <roland@hack.frob.com>
32447
32448 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32449 from the message. The linker prefixes all warnings with that already.
32450
32451 2013-02-12 Andreas Schwab <schwab@suse.de>
32452
32453 [BZ #15078]
32454 * posix/regexec.c (extend_buffers): Add parameter min_len.
32455 (check_matching): Pass minimum needed length.
32456 (clean_state_log_if_needed): Likewise.
32457 (get_subexp): Likewise.
32458 * posix/Makefile (tests): Add bug-regex34.
32459 (bug-regex34-ENV): Define.
32460 * posix/bug-regex34.c: New file.
32461
32462 [BZ #11561]
32463 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32464 elements compare against the byte sequence of it, not its name.
32465 * posix/Makefile (tests): Add bug-regex35.
32466 (bug-regex35-ENV): Define.
32467 * posix/bug-regex35.c: New file.
32468
32469 2013-02-11 Tom de Vries <tom@codesourcery.com>
32470
32471 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32472 comment.
32473 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32474 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32475 (CHECK_EOL): Add undef.
32476
32477 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32478
32479 * bits/stdlib-bsearch.h: New file.
32480 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32481 * stdlib/stdlib.h: Likewise.
32482
32483 2013-02-11 Roland McGrath <roland@hack.frob.com>
32484
32485 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32486 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32487 declaration.
32488 * manual/search.texi (Array Search Function): Add missing const in
32489 lfind prototype.
32490 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32491 declaration to use rlim_t.
32492 (Basic Scheduling Functions): Remove erroneous const from
32493 sched_getparam prototype. Remove erroneous * from
32494 sched_get_priority_max and sched_get_priority_min prototypes.
32495 (Resource Usage): Fix summary @comment on vtimes to refer to
32496 sys/vtimes.h rather than vtimes.h.
32497 Add missing *s in vtimes prototype.
32498 (Limits on Resources): Fix ulimit prototype to return long int.
32499 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32500 prototypes to use long int rather than double.
32501 (BSD Random): Fix initstate and setstate to use char *, not void *.
32502 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32503 prototype to make second argument 'struct aiocb64 *const[]'.
32504 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32505 (Status of AIO Operations): Remove erroneous const in aio_return and
32506 aio_return64 prototypes.
32507 (Synchronizing I/O): Fix sync prototype to return void.
32508 * manual/startup.texi (Suboptions): Remove an erroneous const in
32509 getsubopt prototype.
32510 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32511 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32512 use size_t rather than int.
32513 (Scanning All Users): Likewise for getpwent_r.
32514 (Setting Groups): Add missing const to setgroups prototype.
32515 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32516 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32517 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32518 'const void *' rather than 'const char *'.
32519 (Host Address Functions): Likewise for inet_ntop.
32520 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32521 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32522 ssize_t for return value.
32523 (Sending Data): Likewise for send, sendto, sendmsg.
32524 (Socket Option Functions): Add a missing const in setsockopt prototype.
32525 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32526 use wchar_t for the argument.
32527 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32528 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32529 take no arguments.
32530 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32531 double/float/long double for second argument.
32532 Fix return types of significand, significandf, significandl.
32533 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32534 argument in fchmod prototype.
32535 (File Owner): Use uid_t and gid_t in fchown prototype.
32536 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32537 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32538 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32539 use 'const struct dirent **' as argument types to CMP function pointer
32540 argument.
32541 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32542 (File Times): Fix summary magic @comment for struct utimbuf and utime
32543 to refer to utime.h, not time.h.
32544 * manual/string.texi (Argz Functions): Add missing const in
32545 argz_extract and argz_next prototypes.
32546 (Finding Tokens in a String): Likewise for basename.
32547 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32548 (Copying and Concatenation): Fix typo in wmemmove prototype.
32549 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32550 (Signal Stack): Remove erroneous const in sigstack prototype.
32551 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32552 prototype.
32553 (Simple Calendar Time): Likewise for stime.
32554 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32555 prototype.
32556 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32557 say sys/sysctl.h instead.
32558 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32559 and vsyslog prototypes.
32560
32561 2013-02-11 Tom de Vries <tom@codesourcery.com>
32562
32563 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32564 Remove.
32565
32566 2013-02-11 Roland McGrath <roland@hack.frob.com>
32567
32568 * misc/sys/mman.h: Fix typo in mremap comment.
32569
32570 2013-02-08 Roland McGrath <roland@hack.frob.com>
32571
32572 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32573 the '\0' terminator.
32574
32575 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32576
32577 [BZ #13550]
32578 * debug/segfault.c: Don't include <bp-checks.h>.
32579 * sysdeps/generic/bp-checks.h: Remove file.
32580 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32581 (__GETDENTS): Don't use CHECK_N.
32582 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32583 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32584 (__getgroups): Don't use CHECK_N.
32585 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32586 (setgroups): Don't use CHECK_N.
32587 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32588 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32589 (__libc_msgrcv): Don't use CHECK_N.
32590 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32591 (__libc_msgsnd): Don't use CHECK_N.
32592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32593 <bp-checks.h>.
32594 (__libc_pread): Don't use CHECK_N.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32596 include <bp-checks.h>.
32597 (__libc_pread64): Don't use CHECK_N.
32598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32599 include <bp-checks.h>.
32600 (__libc_pwrite): Don't use CHECK_N.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32602 include <bp-checks.h>.
32603 (__libc_pwrite64): Don't use CHECK_N.
32604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32605 <bp-checks.h>.
32606 (__libc_pread): Don't use CHECK_N.
32607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32608 include <bp-checks.h>.
32609 (__libc_pread64): Don't use CHECK_N.
32610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32611 include <bp-checks.h>.
32612 (__libc_pwrite): Don't use CHECK_N.
32613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32614 include <bp-checks.h>.
32615 (__libc_pwrite64): Don't use CHECK_N.
32616 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32617 (do_pread): Don't use CHECK_N.
32618 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32619 (do_pread64): Don't use CHECK_N.
32620 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32621 (do_pwrite): Don't use CHECK_N.
32622 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32623 (do_pwrite64): Don't use CHECK_N.
32624 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32625 (__libc_readv): Don't use CHECK_N.
32626 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32627 (semop): Don't use CHECK_N.
32628 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32629 <bp-checks.h>.
32630 (semtimedop): Don't use CHECK_N.
32631 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32632 (__libc_pread): Don't use CHECK_N.
32633 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32634 <bp-checks.h>.
32635 (__libc_pread64): Don't use CHECK_N.
32636 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32637 <bp-checks.h>.
32638 (__libc_pwrite): Don't use CHECK_N.
32639 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32640 <bp-checks.h>.
32641 (__libc_pwrite64): Don't use CHECK_N.
32642 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32643 <bp-checks.h>.
32644 (__libc_msgrcv): Don't use CHECK_N.
32645 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32646 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32647 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32648 (__libc_writev): Don't use CHECK_N.
32649
32650 2013-02-08 Roland McGrath <roland@hack.frob.com>
32651
32652 * string/strcpy.c: Removed unused variable.
32653
32654 * Makeconfig (+sysdep-includes): Define with := rather than =.
32655 Use an existing include/ subdir of each sysdeps dir before it.
32656
32657 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32658
32659 * nscd/connection.c (register_traced_file): Comment function.
32660 [HAVE_INOTIFY] (union __inev): Define.
32661 [HAVE_INOTIFY] (inotify_check_files): New function.
32662 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32663 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32664 clear_db_cache.
32665 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32666
32667 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32668
32669 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32670 loaded if not already and that a failure is permanent.
32671
32672 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32673
32674 [BZ #15006]
32675 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32676 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32677
32678 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32679
32680 [BZ #13550]
32681 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32682 (CHECK_1_NULL_OK): Likewise.
32683 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32684 (__fxstat): Do not use CHECK_1.
32685 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32686 <bp-checks.h>.
32687 (___fxstat64): Do not use CHECK_1.
32688 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32689 <bp-checks.h>.
32690 (__fxstatat): Do not use CHECK_1.
32691 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32692 <bp-checks.h>.
32693 (__fxstatat64): Do not use CHECK_1.
32694 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32695 <bp-checks.h>.
32696 (__fxstat): Do not use CHECK_1.
32697 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32698 <bp-checks.h>.
32699 (__fxstatat): Do not use CHECK_1.
32700 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32701 <bp-checks.h>.
32702 (__getresgid): Do not use CHECK_1.
32703 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32704 <bp-checks.h>.
32705 (__getresuid): Do not use CHECK_1.
32706 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32707 <bp-checks.h>.
32708 (__lxstat): Do not use CHECK_1.
32709 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32710 <bp-checks.h>.
32711 (__old_msgctl): Do not use CHECK_1.
32712 (__new_msgctl): Likewise.
32713 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32714 <bp-checks.h>.
32715 (__new_setrlimit): Do not use CHECK_1.
32716 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32717 <bp-checks.h>.
32718 (__old_shmctl): Do not use CHECK_1.
32719 (__new_shmctl): Likewise.
32720 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32721 <bp-checks.h>.
32722 (__xstat): Do not use CHECK_1.
32723 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32724 (__lxstat): Do not use CHECK_1.
32725 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32726 <bp-checks.h>.
32727 (___lxstat64): Do not use CHECK_1.
32728 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32729 (__old_msgctl): Do not use CHECK_1.
32730 (__new_msgctl): Likewise.
32731 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32732 <bp-checks.h>.
32733 (__gettimeofday): Do not use CHECK_1.
32734 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32735 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32736 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32737 <bp-checks.h>.
32738 (__gettimeofday): Do not use CHECK_1.
32739 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32740 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32741 (__new_shmctl): Do not use CHECK_1.
32742 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32743 <bp-checks.h>.
32744 (do_sigtimedwait): Do not use CHECK_1.
32745 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32746 <bp-checks.h>.
32747 (do_sigwaitinfo): Do not use CHECK_1.
32748 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32749 <bp-checks.h>.
32750 (msgctl): Do not use CHECK_1.
32751 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32752 <bp-checks.h>.
32753 (shmctl): Do not use CHECK_1.
32754 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32755 (ustat): Do not use CHECK_1.
32756 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32757 <bp-checks.h>.
32758 (__fxstat): Do not use CHECK_1.
32759 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32760 <bp-checks.h>.
32761 (__fxstatat): Do not use CHECK_1.
32762 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32763 <bp-checks.h>.
32764 (__lxstat): Do not use CHECK_1.
32765 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32766 <bp-checks.h>.
32767 (__xstat): Do not use CHECK_1.
32768 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32769 (__xstat): Do not use CHECK_1.
32770 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32771 (___xstat64): Do not use CHECK_1.
32772
32773 [BZ #13550]
32774 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32775 definitions.
32776 (CHECK_BOUNDS_HIGH): Likewise.
32777 * string/strcpy.c: Do not include <bp-checks.h>.
32778 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32779
32780 2013-02-07 Roland McGrath <roland@hack.frob.com>
32781
32782 * nscd/nscd-client.h (__nscd_drop_map_ref):
32783 Add __attribute__ ((unused)).
32784 * nis/nss-nisplus.h (niserr2nss): Likewise.
32785
32786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32787 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32788
32789 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32790 Remove inline keyword.
32791 * include/rounding-mode.h (round_away): Likewise.
32792 * libio/wfileops.c (adjust_wide_data): Likewise.
32793 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32794 (__m128i_strloadu_tolower): Likewise.
32795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32796 (__m128i_strloadu_tolower): Likewise.
32797 * time/mktime.c (ydhms_diff): Likewise.
32798 * locale/elem-hash.h (elem_hash): Likewise.
32799 * locale/setlocale.c (setdata): Likewise.
32800 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32801 (re_string_wchar_at): Likewise.
32802 (bitset_not, bitset_merge, bitset_mask): Likewise.
32803 [!(__GNUC__ > 3)] (inline): Remove macro.
32804 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32805 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32806 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32807 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32808 * string/memcmp.c (memcmp_bytes): Likewise.
32809 * locale/programs/locarchive.c (compute_hashval): Likewise.
32810 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32811 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32812 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32813 * nss/getent.c (print_rpc, print_protocols): Likewise.
32814 (print_passwd, print_group, print_aliases): Likewise.
32815 * nis/nss-nisplus.h (niserr2nss): Likewise.
32816 * nscd/connections.c (restart_p): Likewise.
32817 Change return type to bool.
32818
32819 2013-02-05 Roland McGrath <roland@hack.frob.com>
32820
32821 * Makeconfig (all-Depend-files): Add existing
32822 $(sorted-subdirs:=/Depend) files.
32823 (all-subdirs): Remove nss.
32824 * sysdeps/unix/inet/Subdirs: Add it here instead.
32825 * hesiod/Depend: New file.
32826
32827 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32828 instead of calling alloca.
32829
32830 * io/lseek.c (__lseek): Rename to __libc_lseek.
32831 Define __lseek as an alias.
32832
32833 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32834
32835 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32836
32837 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32838 else clause and remove check for non-standard endianness.
32839
32840 2013-02-04 David S. Miller <davem@davemloft.net>
32841
32842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32843
32844 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32845
32846 [BZ #13550]
32847 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32848 (__ubp_memchr): Remove prototype.
32849 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32850 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32851 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32852 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32853 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32854 Remove alias.
32855 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32856 (__ubp_memchr): Likewise.
32857 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32858 (__ubp_memchr): Likewise.
32859 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32860 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32861 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32862 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32863 CHECK_STRING.
32864 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32865 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32866 (__getcwd): Do not use CHECK_STRING.
32867 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32868 <bp-checks.h>.
32869 (__real_chown): Do not use CHECK_STRING.
32870 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32871 <bp-checks.h>.
32872 (fchownat): Do not use CHECK_STRING.
32873 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32874 CHECK_STRING.
32875 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32876 <bp-checks.h>.
32877 (__lchown): Do not use CHECK_STRING.
32878 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32879 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32880 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32881 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32883 include <bp-checks.h>.
32884 (truncate64): Do not use CHECK_STRING.
32885 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32886 <bp-checks.h>.
32887 (__real_chown): Do not use CHECK_STRING.
32888 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32889 <bp-checks.h>.
32890 (__lchown): Do not use CHECK_STRING.
32891 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32892 <bp-checks.h>.
32893 (__chown): Do not use CHECK_STRING.
32894 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32895 <bp-checks.h>.
32896 (truncate64): Do not use CHECK_STRING.
32897 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32898 Likewise.
32899 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32900 (__xmknod): Do not use CHECK_STRING.
32901 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32902 <bp-checks.h>.
32903 (__xmknodat): Do not use CHECK_STRING.
32904 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32905 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32906
32907 2013-02-04 Andreas Schwab <schwab@suse.de>
32908
32909 [BZ #14142]
32910 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32911 * include/netdb.h: Likewise for h_errno.
32912 * elf/tst-stackguard1.c: Include <tls.h>.
32913
32914 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32915
32916 * elf/link.h (struct link_map): Extend the l_addr comment.
32917 * include/link.h (struct link_map): Likewise.
32918
32919 2013-02-01 Joseph Myers <joseph@codesourcery.com>
32920
32921 [BZ #13550]
32922 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32923 (BOUNDED_1): Remove macro.
32924 * debug/backtrace.c: Don't include <bp-checks.h>.
32925 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32926 (__backtrace): Likewise.
32927 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32928 <bp-checks.h>.
32929 (__backtrace): Don't use BOUNDED_1.
32930 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32931 <bp-checks.h>.
32932 (__backtrace): Don't use BOUNDED_1.
32933 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32934 (__backtrace): Don't use BOUNDED_1.
32935 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32936 (shmat): Don't use BOUNDED_N.
32937
32938 2013-01-31 Joseph Myers <joseph@codesourcery.com>
32939
32940 [BZ #13550]
32941 * sysdeps/generic/bp-start.h: Remove file.
32942 * csu/libc-start.c: Don't include <bp-start.h>.
32943 (LIBC_START_MAIN): Set up __environ directly instead of using
32944 INIT_ARGV_and_ENVIRON.
32945 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32946 <bp-start.h>.
32947
32948 [BZ #13550]
32949 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32950 definitions.
32951 (CHECK_FCNTL): Likewise.
32952 (CHECK_N_PAGES): Likewise.
32953
32954 [BZ #13550]
32955 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32956 definitions.
32957 (CHECK_SIGSET_NULL_OK): Likewise.
32958 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32959 <bp-checks.h>.
32960 (sigpending): Don't use CHECK_SIGSET.
32961 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32962 <bp-checks.h>.
32963 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32964 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32965 <bp-checks.h>.
32966 (do_sigsuspend): Don't use CHECK_SIGSET.
32967 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32968 use CHECK_SIGSET.
32969 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32970 (do_sigwait): Don't use CHECK_SIGSET.
32971 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32972 use CHECK_SIGSET.
32973 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32974 include <bp-checks.h>.
32975 (sigpending): Don't use CHECK_SIGSET.
32976 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32977 include <bp-checks.h>.
32978 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32979 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32980 <bp-checks.h>.
32981 (sigpending): Don't use CHECK_SIGSET.
32982 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32983 <bp-checks.h>.
32984 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32985
32986 [BZ #13550]
32987 * sysdeps/generic/bp-semctl.h: Remove file.
32988 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32989 <bp-checks.h> and <bp-semctl.h>.
32990 (__old_semctl): Don't use CHECK_SEMCTL.
32991 (__new_semctl): Likewise.
32992 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32993 and <bp-semctl.h>.
32994 (__old_semctl): Don't use CHECK_SEMCTL.
32995 (__new_semctl): Likewise.
32996 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32997 <bp-checks.h> and <bp-semctl.h>.
32998 (__old_semctl): Don't use CHECK_SEMCTL.
32999 (__new_semctl): Likewise.
33000 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33001 <bp-checks.h> and <bp-semctl.h>.
33002 (semctl): Don't use CHECK_SEMCTL.
33003
33004 [BZ #13550]
33005 * Makerules (elide-bp-thunks): Remove variable.
33006 (elide-routines.oS): Don't use $(elide-bp-thunks).
33007 (elide-routines.os): Likewise.
33008 (elide-routines.o): Likewise.
33009 (elide-routines.op): Likewise.
33010 (elide-routines.og): Likewise.
33011 (objects): Don't use $(bp-thunks).
33012 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33013 include.
33014 (common-generated): Do not add s-proto-bp.d.
33015 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33016 (int): Likewise.
33017 (typ): Likewise.
33018 Do not generate makefile rules for bounded-pointer thunks.
33019 * sysdeps/generic/bp-thunks.h: Remove file.
33020 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33021 * sysdeps/unix/s-proto-bp.S: Likewise.
33022
33023 [BZ #15062]
33024 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33025 parts of result separately when argument is not close to line from
33026 -i to i and one part of argument is small.
33027 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33028 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33029 * math/libm-test.inc (cacos_test): Add more tests.
33030 (casin_test): Likewise.
33031 (casinh_test): Likewise.
33032 * sysdeps/i386/fpu/libm-test-ulps: Update.
33033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33034
33035 2013-01-31 David S. Miller <davem@davemloft.net>
33036
33037 * po/de.po: Update from translation team.
33038
33039 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33040
33041 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33042
33043 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33044
33045 * configure.in (_AC_PROG_CC_C89): New definition.
33046 * configure: Regenerate.
33047
33048 * configure.in (AC_PROG_CPP): New definition.
33049 * configure: Regenerate.
33050
33051 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33052
33053 * debug/tst-backtrace.h: New file.
33054 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33055 (ret): Remove variable.
33056 (x): Likewise.
33057 (FAIL): Remove macro.
33058 (NO_INLINE): Likewise.
33059 (fn1): Use match function instead of strstr.
33060 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33061 (ret): Remove variable.
33062 (x): Likewise.
33063 (FAIL): Remove macro.
33064 (NO_INLINE): Likewise.
33065 (fn): Use match function instead of strstr.
33066 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33067 (ret): Remove variable.
33068 (x): Likewise.
33069 (FAIL): Remove macro.
33070 (NO_INLINE): Likewise.
33071 (handle_signal): Use match function instead of strstr.
33072 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33073 (ret): Remove variable.
33074 (x): Likewise.
33075 (FAIL): Remove macro.
33076 (NO_INLINE): Likewise.
33077 (handle_signal): Use match function instead of strstr.
33078
33079 2013-01-23 Roland McGrath <roland@hack.frob.com>
33080
33081 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33082
33083 2013-01-23 David S. Miller <davem@davemloft.net>
33084
33085 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33086 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33087 argument of CAS if possible.
33088 * sysdeps/sparc/sparc64/bits/atomic.h
33089 (__arch_compare_and_exchange_val_32_acq): Likewise.
33090 (__arch_compare_and_exchange_val_64_acq): Likewise.
33091
33092 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33093
33094 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33095 * sysdeps/posix/ulimit.c: ... this.
33096 Include <limits.h>.
33097 * sysdeps/unix/bsd/ulimit.c: Remove file.
33098
33099 2013-01-23 Adam Conrad <adconrad@0c3.net>
33100
33101 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33102 (LDFLAGS-tst-array5): Likewise.
33103
33104 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33105
33106 [BZ #15036]
33107 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33108 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33109 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33110 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33111
33112 2013-01-21 David S. Miller <davem@davemloft.net>
33113
33114 * sysdeps/sparc/backtrace.c: New file.
33115 * sysdeps/sparc/sparc32/backtrace.h: New file.
33116 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33117 * sysdeps/sparc/sparc64/backtrace.h: New file.
33118 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33119 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33120 -funwind-tables.
33121
33122 2013-01-21 Andreas Schwab <schwab@suse.de>
33123
33124 [BZ #15020]
33125 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33126 closed its stdout.
33127
33128 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33129
33130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33131 "mpa2.h".
33132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33133
33134 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33135 Mark Mitchell <mark@codesourcery.com>
33136 Tom de Vries <tom@codesourcery.com>
33137 Paul Pluzhnikov <ppluzhnikov@google.com>
33138
33139 * debug/tst-backtrace2.c: New file.
33140 * debug/tst-backtrace3.c: Likewise.
33141 * debug/tst-backtrace4.c: Likewise.
33142 * debug/tst-backtrace5.c: Likewise.
33143 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33144 (CFLAGS-tst-backtrace3.c): Likewise.
33145 (CFLAGS-tst-backtrace4.c): Likewise.
33146 (CFLAGS-tst-backtrace5.c): Likewise.
33147 (LDFLAGS-tst-backtrace2): Likewise.
33148 (LDFLAGS-tst-backtrace3): Likewise.
33149 (LDFLAGS-tst-backtrace4): Likewise.
33150 (LDFLAGS-tst-backtrace5): Likewise.
33151 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33152 tst-backtrace4 and tst-backtrace5.
33153
33154 2013-01-18 Anton Blanchard <anton@samba.org>
33155 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33156
33157 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33158 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33159 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33160 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33162 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33163 "+r" and remove output regs list as redundant. Add explicit inline
33164 asm to specify register of return val to work around compiler codegen
33165 bug. Remove (int) cast on return value. Add return type parameter to
33166 use in macro so that this macro does not truncate return value for
33167 64-bit values.
33168 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33169 pass to INTERNAL_VSYSCALL_NCS.
33170 (INLINE_VSYSCALL): Add 'long int' as return type to
33171 INTERNAL_VSYSCALL_NCS macro invocation.
33172 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33173 INTERNAL_VSYSCALL_NCS macro invocation.
33174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33175
33176 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33177
33178 [BZ #14496]
33179 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33180 Fix application of SIMD FP exception mask.
33181
33182 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33183 mp_no from a power of two.
33184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33185 __mpexp_twomm1. Use __pow_mp.
33186
33187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33188 multiplication.
33189
33190 2013-01-17 David S. Miller <davem@davemloft.net>
33191
33192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33193
33194 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33195
33196 [BZ #15023]
33197 * include/complex.h: Condition contents on [!_COMPLEX_H].
33198 (__kernel_casinhf): New prototype.
33199 (__kernel_casinh): Likewise.
33200 (__kernel_casinhl): Likewise.
33201 * math/Makefile (libm_calls): Add k_casinh.
33202 * math/k_casinh.c: New file.
33203 * math/k_casinhf.c: Likewise.
33204 * math/k_casinhl.c: Likewise.
33205 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33206 finite nonzero arguments.
33207 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33208 finite nonzero arguments.
33209 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33210 finite nonzero arguments.
33211 * math/s_casinh.c: Do not include <float.h>.
33212 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33213 * math/s_casinhf.c: Do not include <float.h>.
33214 (__casinhf): Move code for finite nonzero arguments to
33215 k_casinhf.c.
33216 * math/s_casinhl.c: Do not include <float.h>.
33217 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33218 redefine.
33219 (__casinhl): Move code for finite nonzero arguments to
33220 k_casinhl.c.
33221 * math/libm-test.inc (cacos_test): Add more tests.
33222 * sysdeps/i386/fpu/libm-test-ulps: Update.
33223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33224
33225 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33226
33227 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33228 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33229 [!HAVE_MREMAP]: Remove [defined linux] case.
33230 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33231
33232 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33233
33234 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33235
33236 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33237
33238 * elf/elf.h (R_386_SIZE32): New relocation.
33239 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33240 R_386_SIZE32.
33241 (elf_machine_rela): Likewise.
33242 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33243 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33244
33245 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33246
33247 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33248 (FP_FAST_FMA): Do not define.
33249 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33250 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33251 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33252 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33253 !_SOFT_FLOAT]: Likewise.
33254 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33255 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33256 value.
33257 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33258 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33259 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33260 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33261 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33262 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33263 file.
33264
33265 2013-01-16 Andreas Schwab <schwab@suse.de>
33266
33267 [BZ #14327]
33268 * include/stdlib.h (__mktemp): Add declaration.
33269 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33270 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33271
33272 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33273
33274 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33275 definitions.
33276 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33277 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33278 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33279 definitions here.
33280 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33281 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33282 definitions.
33283 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33284 and ONE.
33285 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33286 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33287 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33288 definitions.
33289 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33290 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33291 definitions.
33292 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33293
33294 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33295
33296 2013-01-15 David S. Miller <davem@davemloft.net>
33297
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33299 trunc{,f} to libm-sysdep_routes.
33300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33302 file.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33305 file.
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33307 file.
33308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33310 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33311 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33312 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33313 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33314 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33315 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33316
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33318 nearbyint{,f} to libm-sysdep_routes.
33319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33321 New file.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33323 file.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33325 New file.
33326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33327 file.
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33330 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33331 file.
33332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33334 file.
33335 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33336 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33337 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33338
33339 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33340 libc_feholdexcept and libc_fesetenv.
33341
33342 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33343
33344 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33345
33346 2013-01-14 David S. Miller <davem@davemloft.net>
33347
33348 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33349 (SPARC_ASM_VIS2_IFUNC): Likewise.
33350 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33352 use of 'siam' instruction.
33353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33354 Likewise.
33355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33356 Likewise.
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33358 Likewise.
33359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33364 file.
33365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33366 file.
33367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33368 file.
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33370 file.
33371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33376 new VIS2 routines.
33377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33380 Likewise.
33381 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33382 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33386 routines to libm-sysdep_routines.
33387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33388
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33390 fdim/fdimf to libm-sysdep_routines.
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33392 file.
33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33395 file.
33396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33399 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33400 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33401 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33402 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33403
33404 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33405
33406 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33407 to optimize copies.
33408
33409 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33412
33413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33414 local variable MPTWO.
33415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33416 Likewise.
33417
33418 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33419
33420 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33421 GLOB_NOESCAPE.
33422
33423 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33424
33425 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33426
33427 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33428
33429 * manual/pattern.texi (glob_t): Document gl_flags.
33430 (glob64_t): Likewise.
33431
33432 2013-01-11 David S. Miller <davem@davemloft.net>
33433
33434 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33435 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33436 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33437 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33438 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33439 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33440 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33441 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33442 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33443 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33444 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33445 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33446 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33447
33448 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33449 sparc V9 rather than using V8 code.
33450 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33451 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33452
33453 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33454 Move to...
33455 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33456 Here.
33457
33458 2013-01-11 Roland McGrath <roland@hack.frob.com>
33459
33460 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33461 not in the main loop.
33462 * configure: Regenerated.
33463
33464 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33465
33466 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33467 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33468 to just #else.
33469 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33470 [!__GLIBC_HAVE_LONG_LONG] case.
33471 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33472 condition to just #else.
33473 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33474 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33475 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33476 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33477 unconditional.
33478 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33479 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33480 #elif condition to just #else.
33481 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33482 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33483 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33484 #elif condition to just #else.
33485
33486 2013-01-11 Steve Ellcey <sellcey@mips.com>
33487
33488 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33489 (EF_MIPS_ARCH_64): Fix value.
33490 (EF_MIPS_ARCH_32R2): New.
33491 (EF_MIPS_ARCH_64R2): New.
33492
33493 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33494
33495 * Makeconfig (+link-pie-before-libc): New.
33496 (+link-pie-after-libc): Likewise.
33497 (+link-pie-tests): Likewise.
33498 (+link-pie): Rewritten.
33499 (link-before-libc): Remove $(config-LDFLAGS).
33500 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33501 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33502 (config-LDFLAGS): Renamed to ...
33503 (rtld-LDFLAGS): This.
33504 (rtld-tests-LDFLAGS): New macro.
33505 (link-libc-rpath-link): Likewise.
33506 (link-libc-tests-rpath-link): Likewise.
33507 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33508 (link-libc): Prepand $(link-libc-rpath-link).
33509 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33510 (test-program-prefix): New macro.
33511 (test-via-rtld-prefix): Likewise.
33512 (test-program-cmd): Likewise.
33513 (host-test-program-cmd): Likewise.
33514 * Makefile ($(common-objpfx)testrun.sh): Replace
33515 $(run-program-prefix) with $(test-program-prefix).
33516 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33517 $(rtld-LDFLAGS).
33518 ($(common-objpfx)shlib.lds): Likewise.
33519 (build-module-helper): Likewise.
33520 ($(common-objpfx)format.lds): Likewise.
33521 * Rules (binaries-pie-tests): New.
33522 (binaries-pie-notests): Likewise.
33523 (binaries-pie): Rewritten.
33524 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33525 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33526 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33527 (make-test-out): Replace $(host-built-program-cmd) with
33528 $(host-test-program-cmd).
33529 * config.make.in (build-hardcoded-path-in-tests): New variable.
33530 * configure.in (--enable-hardcoded-path-in-tests): New configure
33531 option.
33532 (hardcoded_path_in_tests): New AC_SUBST.
33533 * configure: Regenerated.
33534 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33535 $(built-program-cmd) with $(test-program-cmd).
33536 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33537 (test_program_cmd): This.
33538 * elf/Makefile ($(objpfx)order.out): Run test with
33539 $(test-program-prefix).
33540 ($(objpfx)order2.out): Likewise.
33541 ($(objpfx)tst-initorder.out): Likewise.
33542 ($(objpfx)tst-initorder2.out): Likewise.
33543 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33544 $(test-program-cmd).
33545 ($(objpfx)tst-array1-static.out): Likewise.
33546 ($(objpfx)tst-array2.out): Likewise.
33547 ($(objpfx)tst-array3.out): Likewise.
33548 ($(objpfx)tst-array4.out): Likewise.
33549 ($(objpfx)tst-array5.out): Likewise.
33550 ($(objpfx)tst-array5-static.out): Likewise.
33551 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33552 $(test-program-cmd).
33553 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33554 $(run-program-prefix) with $(test-program-prefix).
33555 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33556 (test_program_prefix): This.
33557 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33558 $(run-program-prefix) with $(test-program-prefix).
33559 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33560 (test_program_prefix): This.
33561 * iconvdata/tst-tables.sh: Likewise.
33562 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33563 $(run-program-prefix) with $(test-program-prefix).
33564 ($(objpfx)tst-translit.out): Likewise.
33565 ($(objpfx)tst-gettext2.out): Likewise.
33566 ($(objpfx)tst-gettext4.out): Likewise.
33567 ($(objpfx)tst-gettext6.out): Likewise.
33568 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33569 (test_program_prefix): This.
33570 * intl/tst-gettext2.sh: Likewise.
33571 * intl/tst-gettext4.sh Likewise.
33572 * intl/tst-gettext6.sh: Likewise.
33573 * intl/tst-translit.sh: Likewise.
33574 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33575 with $(test-program-cmd).
33576 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33577 $(run-program-prefix) with $(test-program-prefix).
33578 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33579 (test_program_prefix): This.
33580 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33581 $(run-program-prefix) with $(test-program-prefix).
33582 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33583 (test_program_prefix): This.
33584 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33585 * posix/Makefile ($(objpfx)globtest.out): Replace
33586 $(run-via-rtld-prefix) and $(test-wrapper) with
33587 $(test-program-prefix) and $(test-via-rtld-prefix).
33588 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33589 $(test-program-prefix).
33590 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33591 $(host-test-program-cmd).
33592 (tst-spawn-ARGS): Likewise.
33593 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33594 $(test-program-prefix).
33595 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33596 (test_via_rtld_prefix): This.
33597 (test_wrapper): Renamed to ...
33598 (test_program_prefix): This.
33599 (run_program_prefix): Replaced by test_program_prefix.
33600 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33601 (test_program_prefix): This.
33602 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33603 with $(host-test-program-cmd).
33604 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33605 $(run-program-prefix) with $(test-program-prefix).
33606 ($(objpfx)tst-printf.out): Likewise.
33607 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33608 $(test-program-cmd).
33609 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33610 (test_program_prefix): This.
33611 * stdio-common/tst-unbputc.sh: Likewise.
33612 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33613 $(run-program-prefix) with $(test-program-prefix).
33614 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33615 (test_program_prefix): This.
33616 * string/Makefile ($(objpfx)tst-svc.out): Replace
33617 $(built-program-cmd) with $(test-program-cmd).
33618
33619 2013-01-11 Andreas Jaeger <aj@suse.de>
33620
33621 [BZ #15003]
33622 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33623 value. Sync with Linux 3.7.
33624
33625 2013-01-10 David S. Miller <davem@davemloft.net>
33626
33627 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33628 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33629 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33630
33631 2013-01-10 Roland McGrath <roland@hack.frob.com>
33632
33633 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33634 never set.
33635 * configure: Regenerated.
33636
33637 2013-01-10 David S. Miller <davem@davemloft.net>
33638
33639 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33640 sparc V9 rather than using V8 code.
33641 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33642 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33643
33644 2013-01-10 Roland McGrath <roland@hack.frob.com>
33645
33646 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33647 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33648 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33649 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33650 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33651 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33652 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33653 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33654 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33655 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33656 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33657 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33658 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33659 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33660 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33661 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33662 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33663 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33664 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33665 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33666 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33667 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33668 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33669 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33670 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33671 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33672 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33673
33674 2013-01-10 David S. Miller <davem@davemloft.net>
33675
33676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33677
33678 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33679
33680 * posix/Makefile (tests-static): New variable.
33681 (tests): Add $(tests-static).
33682 (tst-exec-static-ARGS): New variable.
33683 (tst-spawn-static-ARGS): Likewise.
33684 * posix/tst-exec-static.c: New file.
33685 * posix/tst-spawn-static.c: Likewise.
33686 * posix/tst-exec.c: Support run directly.
33687 * posix/tst-spawn.c: Likewise.
33688
33689 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33690
33691 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33692 long.
33693 * math/bits/mathcalls.h (llrint): Likewise.
33694 (llround): Likewise.
33695 * stdlib/stdlib.h (struct drand48_data): Likewise.
33696 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33697 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33698 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33699 Likewise.
33700 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33701 Likewise.
33702 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33703 (elf_greg_t): Likewise.
33704 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33705 (__jmp_buf): Likewise.
33706 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33707 definitions.
33708 (llrint): Likewise, for all definitions.
33709 (llrintl): Likewise.
33710
33711 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33712 Remove [__GNUC__] condition.
33713 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33714 condition to just [__USE_ISOC99].
33715 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33716
33717 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33718
33719 [BZ #14200]
33720 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33721 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33722 defined.
33723 (_POSIX_V6_ILP32_OFF32): Likewise.
33724 (_XBS5_ILP32_OFF32): Likewise.
33725 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33726 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33727
33728 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33729
33730 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33731
33732 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33733 doubles __mpexp_twomm1. Adjust usage.
33734 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33735 Remove.
33736
33737 2013-01-10 Andreas Schwab <schwab@suse.de>
33738
33739 [BZ #14964]
33740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33741 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33742
33743 2013-01-09 David S. Miller <davem@davemloft.net>
33744
33745 [BZ #15003]
33746 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33747 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33748 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33749 (TCP_FASTOPEN): Define.
33750 (tcp_repair_opt): New structure.
33751 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33752 enum values.
33753 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33754 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33755 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33756 (tcp_cookie_transactions): New structure.
33757
33758 2013-01-09 Anton Blanchard <anton@samba.org>
33759
33760 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33761 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33762 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33763 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33764
33765 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33766
33767 * include/features.h (__USE_ANSI): Remove.
33768
33769 2013-01-09 Roland McGrath <roland@hack.frob.com>
33770
33771 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33772
33773 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33774
33775 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33776
33777 * sysdeps/s390/fpu/libm-test-ulps: Update.
33778
33779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33780
33781 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33782 (__acr): Likewise.
33783 (__cpy): Likewise.
33784 (norm): Likewise.
33785 (denorm): Likewise.
33786 (__mp_dbl): Likewise.
33787 (__dbl_mp): Likewise.
33788 (add_magnitudes): Likewise.
33789 (sub_magnitudes): Likewise.
33790 (__add): Likewise.
33791 (__sub): Likewise.
33792 (__mul): Likewise.
33793 (__inv): Likewise.
33794 (__dvd): Likewise.
33795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33796 (__acr): Likewise.
33797 (__cpy): Likewise.
33798 (norm): Likewise.
33799 (denorm): Likewise.
33800 (__mp_dbl): Likewise.
33801 (__dbl_mp): Likewise.
33802 (add_magnitudes): Likewise.
33803 (sub_magnitudes): Likewise.
33804 (__add): Likewise.
33805 (__sub): Likewise.
33806 (__mul): Likewise.
33807 (__inv): Likewise.
33808 (__dvd): Likewise.
33809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33810 (__acr): Likewise.
33811 (__cpy): Likewise.
33812 (norm): Likewise.
33813 (denorm): Likewise.
33814 (__mp_dbl): Likewise.
33815 (__dbl_mp): Likewise.
33816 (add_magnitudes): Likewise.
33817 (sub_magnitudes): Likewise.
33818 (__add): Likewise.
33819 (__sub): Likewise.
33820 (__mul): Likewise.
33821 (__inv): Likewise.
33822 (__dvd): Likewise.
33823
33824 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33825
33826 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33827 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33828 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33829 2 && __USE_EXTERN_INLINES]: Likewise.
33830
33831 2013-01-08 Andreas Jaeger <aj@suse.de>
33832
33833 [BZ# 14985]
33834 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33835 Remove.
33836 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33837 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33838
33839 2013-01-07 Anton Blanchard <anton@samba.org>
33840
33841 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33842 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33843 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33844 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33845 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33846 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33847 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33848 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33850 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33851 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33853 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33854 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33855 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33856 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33857 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33858 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33859 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33860 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33861 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33862 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33863 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33864 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33865 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33866 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33867 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33868 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33870 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33871 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33873 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33874 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33875 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33876 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33877 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33878 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33879 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33880 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33881 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33882 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33883 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33884
33885 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33886
33887 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33888 (__MALLOC_PMT): Likewise.
33889 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33890 [__GNUC__], only on [_LIBC].
33891 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33892 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33893 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33894 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33895 forward declaration.
33896 (realloc_hook_ini): Likewise.
33897 (memalign_hook_ini): Likewise.
33898 (__libc_memalign): Do not use __MALLOC_PMT in variable
33899 declaration.
33900 (__libc_valloc): Likewise.
33901 (__libc_pvalloc): Likewise.
33902 (__libc_calloc): Likewise.
33903 (__posix_memalign): Likewise.
33904
33905 [BZ #14996]
33906 * math/s_casinh.c: Include <float.h>.
33907 (__casinh): Do not do computation with squaring and square root
33908 for large arguments.
33909 * math/s_casinhf.c: Include <float.h>.
33910 (__casinhf): Do not do computation with squaring and square root
33911 for large arguments.
33912 * math/s_casinhl.c: Include <float.h>.
33913 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33914 (__casinhl): Do not do computation with squaring and square root
33915 for large arguments.
33916 * math/libm-test.inc (casin_test): Add more tests.
33917 (casinh_test): Likewise.
33918 * sysdeps/i386/fpu/libm-test-ulps: Update.
33919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33920
33921 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33922
33923 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33924 (__x86_64_raw_data_cache_size): Likewise.
33925 (__x86_64_data_cache_size_half): Likewise.
33926 (__x86_64_raw_data_cache_size_half): Likewise.
33927 (__x86_64_shared_cache_size): Likewise.
33928 (__x86_64_raw_shared_cache_size): Likewise.
33929 (__x86_64_shared_cache_size_half): Likewise.
33930 (__x86_64_raw_shared_cache_size_half): Likewise.
33931 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33932 to ...
33933 (__x86_data_cache_size): This.
33934 (__x86_64_raw_data_cache_size): Renamed to ...
33935 (__x86_raw_data_cache_size): This.
33936 (__x86_64_data_cache_size_half): Renamed to ...
33937 (__x86_data_cache_size_half): This.
33938 (__x86_64_raw_data_cache_size_half): Renamed to ...
33939 (__x86_raw_data_cache_size_half): This.
33940 (__x86_64_shared_cache_size): Renamed to ...
33941 (__x86_shared_cache_size): This.
33942 (__x86_64_raw_shared_cache_size): Renamed to ...
33943 (__x86_raw_shared_cache_size): This.
33944 (__x86_64_shared_cache_size_half): Renamed to ...
33945 (__x86_shared_cache_size_half): This.
33946 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33947 (__x86_raw_shared_cache_size_half): This.
33948 * sysdeps/x86_64/memcpy.S: Updated.
33949 * sysdeps/x86_64/memset.S: Likewise.
33950 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33951 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33953
33954 2013-01-04 David S. Miller <davem@davemloft.net>
33955
33956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33957
33958 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33959
33960 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33961 1 to avoid redefinition warning.
33962 (__USE_GNU): Don't define.
33963 (init_signaling_nan): Protoize.
33964
33965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33966
33967 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33968
33969 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33971 (__cpymn): Likewise.
33972 (norm): Remove commented code.
33973 (denorm): Likewise.
33974 (__mp_dbl): Likewise.
33975 (__inv): Likewise.
33976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33977 (__cpymn): Likewise.
33978 (norm): Remove commented code.
33979 (denorm): Likewise.
33980 (__mp_dbl): Likewise.
33981 (__inv): Likewise.
33982
33983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33984 mp_no value for 1.0 and 2.0.
33985 (norm): Use RADIXI instead of radixi.d.
33986 (denorm): Likewise.
33987 (__mul): Use 0.0 instead of zero.d.
33988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33989 mp_no value for 1.0 and 2.0.
33990 (norm): Use RADIXI instead of radixi.d.
33991 (denorm): Likewise.
33992 (__mul): Use 0.0 instead of zero.d.
33993
33994 2013-01-04 Joseph Myers <joseph@codesourcery.com>
33995
33996 [BZ #14994]
33997 * math/s_casinh.c (__casinh): Reduce finite argument to first
33998 quadrant then set signs of results at the end.
33999 * math/s_casinhf.c (__casinhf): Likewise.
34000 * math/s_casinhl.c (__casinhl): Likewise.
34001 * math/libm-test.inc (casin_test): Add more tests.
34002 (casinh_test): Likewise.
34003 * sysdeps/i386/fpu/libm-test-ulps: Update.
34004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34005
34006 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34007
34008 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34009
34010 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34011
34012 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34013 declarations.
34014 (denorm): Likewise.
34015 (__mp_dbl): Likewise.
34016 (__inv): Likewise.
34017
34018 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34019 and adjust the header comment.
34020
34021 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34022 variable name from declaration.
34023
34024 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34025
34026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34027 Initialize COMMON_CPUID_INDEX_7 element.
34028 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34029 (CPUID_RTM): Likewise.
34030 (HAS_RTM): Likewise.
34031 (COMMON_CPUID_INDEX_7): New enum.
34032
34033 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34034
34035 [BZ #14981]
34036 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34037 size is zero, record memory as freed.
34038
34039 2013-01-03 Andreas Jaeger <aj@suse.de>
34040
34041 * po/ia.po: Add new Interlingua translation.
34042
34043 2012-01-03 Allan McRae <allan@archlinux.org>
34044
34045 * locale/programs/localedef.c: Fix description of '--posix' flag.
34046
34047 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34048
34049 * NEWS: Update dates in second copyright notice.
34050 * README: Update copyright dates in example.
34051 * manual/libc.texinfo: Update copyright dates.
34052 * scripts/test-installation.pl: Update copyright date in --version
34053 output.
34054
34055 * hurd/ctty-input.c: Fix copyright notice formatting.
34056 * hurd/ctty-output.c: Likewise.
34057 * hurd/dtable.c: Likewise.
34058 * hurd/hurd-raise.c: Likewise.
34059 * hurd/hurdprio.c: Likewise.
34060 * hurd/msgportdemux.c: Likewise.
34061 * misc/sys/file.h: Likewise.
34062 * misc/sys/ioctl.h: Likewise.
34063 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34064 * sysdeps/mach/hurd/chdir.c: Likewise.
34065 * sysdeps/mach/hurd/fchdir.c: Likewise.
34066 * sysdeps/mach/hurd/rename.c: Likewise.
34067 * sysdeps/mach/hurd/rmdir.c: Likewise.
34068 * sysdeps/mach/hurd/seekdir.c: Likewise.
34069 * sysdeps/mach/hurd/setsid.c: Likewise.
34070 * sysdeps/posix/wait3.c: Likewise.
34071
34072 * All files with FSF copyright notices: Update copyright dates
34073 using scripts/update-copyrights.
34074 * intl/plural.c: Regenerated.
34075 * locale/programs/charmap-kw.h: Likewise.
34076 * locale/programs/locfile-kw.h: Likewise.
34077
34078 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34079
34080 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34081 four values.
34082
34083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34084 calculation loop and add branch prediction.
34085
34086 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34087 check access beyond bounds of m1np.
34088
34089 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34090 MPTWO.
34091 (__inv): Remove local variable MPTWO to use the global
34092 constant.
34093 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34094 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34095 variable MPTWO.
34096 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34097 MP3HALFS static const.
34098
34099 2013-01-01 David S. Miller <davem@davemloft.net>
34100
34101 * po/ca.po: Update from translation team.
34102
34103 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34104
34105 * scripts/update-copyrights: New file.
34106 * Makeconfig: Reformat copyright notice.
34107 * ctype/ctype.h: Likewise.
34108 * debug/swprintf_chk.c: Likewise.
34109 * elf/dl-cache.c: Likewise.
34110 * elf/dl-debug.c: Likewise.
34111 * elf/dl-object.c: Likewise.
34112 * grp/initgroups.c: Likewise.
34113 * hurd/Makefile: Likewise.
34114 * hurd/hurd/signal.h: Likewise.
34115 * hurd/hurdfault.c: Likewise.
34116 * hurd/hurdioctl.c: Likewise.
34117 * hurd/hurdlookup.c: Likewise.
34118 * hurd/intr-msg.c: Likewise.
34119 * iconv/gconv_open.c: Likewise.
34120 * libio/swprintf.c: Likewise.
34121 * locale/lc-ctype.c: Likewise.
34122 * locale/nl_langinfo.c: Likewise.
34123 * mach/Machrules: Likewise.
34124 * mach/Makefile: Likewise.
34125 * malloc/obstack.h: Likewise.
34126 * manual/Makefile: Likewise.
34127 * manual/tsort.awk: Likewise.
34128 * misc/bits/stab.def: Likewise.
34129 * nis/nis_print_group_entry.c: Likewise.
34130 * nis/nis_table.c: Likewise.
34131 * nis/nss_compat/compat-pwd.c: Likewise.
34132 * nis/nss_compat/compat-spwd.c: Likewise.
34133 * po/Makefile: Likewise.
34134 * posix/fnmatch.c: Likewise.
34135 * posix/regex.h: Likewise.
34136 * resolv/Makefile: Likewise.
34137 * resolv/nss_dns/dns-network.c: Likewise.
34138 * resolv/res_hconf.c: Likewise.
34139 * scripts/gen-sorted.awk: Likewise.
34140 * soft-fp/soft-fp.h: Likewise.
34141 * stdio-common/printf.h: Likewise.
34142 * stdlib/monetary.h: Likewise.
34143 * stdlib/random.c: Likewise.
34144 * stdlib/random_r.c: Likewise.
34145 * sysdeps/generic/Makefile: Likewise.
34146 * sysdeps/gnu/Makefile: Likewise.
34147 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34149 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34151 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34154 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34155 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34157 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34158 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34159 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34160 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34161 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34162 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34163 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34165 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34167 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34168 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34169 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34175 * sysdeps/mach/hurd/errnos.awk: Likewise.
34176 * sysdeps/mach/hurd/fork.c: Likewise.
34177 * sysdeps/mach/hurd/getcwd.c: Likewise.
34178 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34179 * sysdeps/mach/hurd/mmap.c: Likewise.
34180 * sysdeps/mach/hurd/utimes.c: Likewise.
34181 * sysdeps/mach/hurd/xmknod.c: Likewise.
34182 * sysdeps/posix/profil.c: Likewise.
34183 * sysdeps/posix/readdir_r.c: Likewise.
34184 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34185 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34186 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34187 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34189 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34190 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34191 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34193 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34194 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34195 * sysdeps/pthread/lio_listio.c: Likewise.
34196 * sysdeps/sparc/dl-procinfo.h: Likewise.
34197 * sysdeps/unix/i386/sysdep.S: Likewise.
34198 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34199 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34200 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34201 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34203 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34204 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34205 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34206 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34207 * sysdeps/wordsize-32/divdi3.c: Likewise.
34208 * time/sys/time.h: Likewise.
34209 * wcsmbs/Makefile: Likewise.
34210
34211 2013-01-01 David S. Miller <davem@davemloft.net>
34212
34213 * po/fr.po: Update from translation team.
34214
34215 * catgets/gencat.c: Update copyright year.
34216 * csu/version.c: Likewise.
34217 * debug/catchsegv.sh: Likewise.
34218 * debug/pcprofiledump.c: Likewise.
34219 * debug/xtrace.sh: Likewise.
34220 * elf/ldconfig.c: Likewise.
34221 * elf/ldd.bash.in: Likewise.
34222 * elf/pldd.c: Likewise.
34223 * elf/sotruss.ksh: Likewise.
34224 * elf/sprof.c: Likewise.
34225 * iconv/iconv_prog.c: Likewise.
34226 * iconv/iconvconfig.c: Likewise.
34227 * locale/programs/locale.c: Likewise.
34228 * locale/programs/localedef.c: Likewise.
34229 * login/programs/pt_chown.c: Likewise.
34230 * malloc/memusage.sh: Likewise.
34231 * malloc/memusagestat.c: Likewise.
34232 * malloc/mtrace.pl: Likewise.
34233 * nscd/nscd.c: Likewise.
34234 * nss/getent.c: Likewise.
34235 * nss/makedb.c: Likewise.
34236 * posix/getconf.c: Likewise.
34237
34238 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34239
34240 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34241 numbers.
34242
34243 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34244
34245 * math/bits/mathcalls.h (modf): Use __nonnull.
34246
34247 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34248
34249 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34250 (split): Use macro CN instead of the bare value.
34251 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34252 could be used.
34253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34254 instead of the bare value.
34255 (power1): Likewise.
34256
34257 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34258
34259 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34260 __ATAN_TWOM.
34261 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34262
34263 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34264 their values.
34265 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34266 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34267 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34268 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34269
34270 2012-12-28 Andreas Jaeger <aj@suse.de>
34271
34272 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34273 values are from Linux 3.7.
34274
34275 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34276 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34277
34278 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34279
34280 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34281 TRUE case.
34282
34283 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34284 (norm): Likewise.
34285 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34286 variables with preprocessor constants.
34287 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34288 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34289 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34290
34291 2012-12-27 Bruno Haible <bruno@clisp.org>
34292
34293 [BZ #14317]
34294 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34295 only if needed.
34296
34297 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34298
34299 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34300 and use variable directly.
34301 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34302
34303 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34304 MPONE.
34305 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34307 variable MPONE.
34308 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34310 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34311 include directive. Remove local variable MPONE.
34312 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34314 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34315
34316 2012-12-25 David S. Miller <davem@davemloft.net>
34317
34318 * version.h (RELEASE): Set to "development".
34319 (VERSION): Set to "2.17.90".
34320 * NEWS: Add 2.18 section.
34321
34322 2012-12-21 David S. Miller <davem@davemloft.net>
34323
34324 * po/hr.po: Update from translation team.
34325
34326 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34327
34328 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34329
34330 2012-12-19 Steve Ellcey <sellcey@mips.com>
34331
34332 * NEWS: Mention new memcpy for MIPS.
34333
34334 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34335
34336 * manual/contrib.texi (Contributors): Spelling correction.
34337
34338 2012-12-15 David S. Miller <davem@davemloft.net>
34339
34340 * po/ru.po: Update from translation team.
34341
34342 2012-12-13 David S. Miller <davem@davemloft.net>
34343
34344 * NEWS: Mention IFUNC testsuite enhancements.
34345
34346 * po/pl.po: Update from translation team.
34347 * po/bg.po: Likewise.
34348
34349 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34350 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34351
34352 2012-12-11 David S. Miller <davem@davemloft.net>
34353
34354 * po/sv.po: Update from translation team.
34355
34356 * po/vi.po: Update from translation team.
34357
34358 * po/cs.po: Update from translation team.
34359
34360 * po/de.po: Update from translation team.
34361 * po/eo.po: Likewise.
34362 * po/nl.po: Likewise.
34363
34364 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34365
34366 [BZ #14246]
34367 * manual/argp.texi (Argp Helper Functions): Move node to follow
34368 Argp Parsing State.
34369
34370 [BZ #14872]
34371 * manual/conf.texi (Limits on File System Capacity): Mention if
34372 terminating null is included in the max size.
34373
34374 2012-12-10 Andreas Jaeger <aj@suse.de>
34375
34376 * po/cs.po: Update from translation team.
34377
34378 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34379
34380 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34381 void pointer and cast to uintptr_t.
34382 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34383 path.
34384 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34385 * sysdeps/s390/s390-64/memset.S: Likewise.
34386
34387 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34388
34389 [BZ #14833]
34390 * menual/message.texi (Message Translation): Fix typos.
34391 (Helper programs for gettext): Likewise.
34392
34393 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34394
34395 [BZ #14898]
34396 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34397 Change to -1.
34398
34399 2012-12-07 David S. Miller <davem@davemloft.net>
34400
34401 * po/libc.pot: Update.
34402
34403 2012-12-07 Richard Henderson <rth@redhat.com>
34404
34405 [BZ #10114]
34406 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34407 normal/normal case to before the switch.
34408 (_FP_DIV): Likewise.
34409
34410 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34411 Mike Frysinger <vapier@gentoo.org>
34412
34413 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34414 check for __NR_fadvise64_64.
34415
34416 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34417
34418 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34419 0, not just to plain "0" as a statement.
34420 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34421 with cw.
34422
34423 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34424
34425 * NEWS: Use sourceware.org in Bugzilla URL.
34426
34427 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34428
34429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34430 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34431
34432 * stdio-common/tst-put-error.c (do_test): Add newline to the
34433 padded test to ensure flush.
34434
34435 2012-12-05 Jeff Law <law@redhat.com>
34436
34437 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34438
34439 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34440
34441 * README: Don't refer to ports add-on as distributed separately.
34442 Mention AArch64 in list of systems supported in the ports add-on.
34443
34444 * LICENSES: Add more non-FSF copyright and license notices.
34445
34446 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34447 ((unused)).
34448
34449 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34450
34451 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34452 10000 as width of padded output.
34453
34454 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34455
34456 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34457
34458 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34459 variable LX with __attribute__ ((unused)).
34460 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34461 Likewise.
34462 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34464 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34465 with __attribute__ ((unused)).
34466
34467 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34468
34469 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34470
34471 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34472
34473 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34474 (CFLAGS-nldbl-acos.c): New variable.
34475 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34476 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34477 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34478 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34479 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34480 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34481 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34482 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34483 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34484 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34485 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34486 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34487 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34488 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34489 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34490 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34491 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34492 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34493 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34494 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34495 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34496 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34497 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34498 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34499 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34500 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34501 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34502 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34503 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34504 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34505 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34506 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34507 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34508 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34509 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34510 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34511 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34512 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34513 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34514 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34515 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34516 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34517 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34518 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34519 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34520 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34521 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34522 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34523 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34524 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34525 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34526 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34527 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34528 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34529 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34530 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34531 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34532 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34533 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34534 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34535 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34536 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34537 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34538 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34539 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34540 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34541 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34542 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34543 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34544 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34545 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34546 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34547 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34548 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34549 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34550 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34551 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34552 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34553 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34554 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34555 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34556 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34557 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34558 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34559 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34560 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34561 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34562 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34563 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34564 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34565 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34566 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34567 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34568 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34569 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34570 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34571 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34572
34573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34574 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34575
34576 [BZ #14914]
34577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34578 whole low double instead of just low 47 bits when splitting values
34579 into two parts.
34580
34581 2012-12-03 Allan McRae <allan@archlinux.org>
34582
34583 * manual/stdio.texi (Predefined Printf Handlers): Remove
34584 @hsep and @vsep usage.
34585
34586 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34587
34588 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34589 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34590
34591 2012-12-03 Jeff Law <law@redhat.com>
34592
34593 * time/sys/time.h (settimeofday): Do not mark TV argument
34594 as __nonnull.
34595
34596 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34597
34598 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34599 when currently writing and seek to current position when not.
34600 * libio/Makefile (tests): Remove bug-fclose1.
34601 * libio/bug-fclose1.c: Delete.
34602
34603 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34604
34605 * manual/arith.texi (feenableexcept): Fix typo.
34606 (fedisableexcept): Likewise.
34607
34608 2012-11-30 Roland McGrath <roland@hack.frob.com>
34609
34610 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34611 second, differently-typed declaration, rather than a cast.
34612
34613 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34614
34615 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34616 * include/rpc/svc.h: ... here.
34617
34618 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34619
34620 [BZ #13013]
34621 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34622 depending n and resplen2 to catch cases where answer
34623 equals answerp2.
34624
34625 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34626
34627 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34628 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34629
34630 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34631
34632 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34633
34634 2012-11-29 Roland McGrath <roland@hack.frob.com>
34635
34636 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34637
34638 2012-11-28 Jeff Law <law@redhat.com>
34639
34640 [BZ #13761]
34641 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34642 dataset_temporary. Track alloca usage into alloca_used.
34643 If dataset is large allocate and release it via malloc/free.
34644
34645 2012-06-04 Florian Weimer <fweimer@redhat.com>
34646
34647 [BZ #14197]
34648 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34649
34650 2012-11-28 David S. Miller <davem@davemloft.net>
34651
34652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34653
34654 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34655
34656 [BZ #14803]
34657 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34658 of pi/2 rounded to nearest to 64 bits.
34659 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34660 nearest to 64 bits.
34661 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34662 bits.
34663
34664 2012-11-28 Jeff Law <law@redhat.com>
34665 Martin Osvald <mosvald@redhat.com>
34666
34667 [BZ #14889]
34668 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34669 * sunrpc/svc.c: Include time.h.
34670 (__svc_accept_failed): New function.
34671 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34672 any reason other than EINTR, call __svc_accept_failed.
34673 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34674 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34675
34676 2012-11-28 Andreas Schwab <schwab@suse.de>
34677
34678 * scripts/abilist.awk: Also handle indirect functions in .opd
34679 section.
34680
34681 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34682
34683 [BZ #13881]
34684 * sysdeps/x86/fpu/powl_helper.c: New file.
34685 * sysdeps/x86/fpu/Makefile: Likewise.
34686 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34687 (p3): New object.
34688 (__ieee754_powl): Use __powl_helper for finite arguments except
34689 integer exponents below 8.
34690 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34691 (p3): New object.
34692 (__ieee754_powl): Use __powl_helper for finite arguments except
34693 integer exponents below 8.
34694 * math/libm-test.inc (pow_test): Add more tests and enable some
34695 previously disabled tests.
34696 * sysdeps/i386/fpu/libm-test-ulps: Update.
34697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34698
34699 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34700 Carlos O'Donell <carlos_odonell@mentor.com>
34701
34702 * nss/makedb.c (is_prime): Assert that input is odd and greater
34703 than 4. Note that fact in a comment too.
34704 (next_prime): Add 4 to input.
34705
34706 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34707
34708 [BZ #11741]
34709 * libio/Makefile (tests): Add test case tst-fwrite-error.
34710 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34711 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34712 * libio/tst-fwrite-error.c: New test case.
34713
34714 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34715
34716 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34717 before casting to void *.
34718 * include/libc-internal.h (__pointer_type): New macro.
34719 (__integer_if_pointer_type_sub): Likewise.
34720 (__integer_if_pointer_type): Likewise.
34721 (cast_to_integer): Likewise.
34722 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34723 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34724 before casting to atomic64_t.
34725 (atomic_exchange_acq): Likewise.
34726 (__arch_exchange_and_add_body): Likewise.
34727 (__arch_add_body): Likewise.
34728 (atomic_add_negative): Likewise.
34729 (atomic_add_zero): Likewise.
34730
34731 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34732
34733 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34734 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34735 (add_fdes): Likewise.
34736 (linear_search_fdes): Likewise.
34737 (binary_search_unencoded_fdes): Likewise.
34738
34739 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34740
34741 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34742
34743 2012-11-24 Adam Conrad <adconrad@0c3.net>
34744
34745 * configure.in: Autodetect C++ header directories.
34746 * configure: Regenerated.
34747
34748 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34749
34750 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34751
34752 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34753
34754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34755
34756 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34757
34758 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34759 LDBL_MANT_DIG == 106]: Disable some tests.
34760 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34761 Likewise.
34762 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34763 Likewise.
34764
34765 [BZ #14871]
34766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34767 input for small inputs. Return +/- pi/2 for large inputs.
34768 * math/libm-test.inc (atan_test): Add more tests.
34769
34770 * sysdeps/generic/unwind-dw2-fde-glibc.c
34771 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34772 __attribute__ ((unused)).
34773
34774 [BZ #14645]
34775 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34776 x * y if x and y are nonzero and z is zero.
34777
34778 [BZ #14811]
34779 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34780 nonzero exponents with absolute value below 0x1p-117 to +/-
34781 0x1p-117.
34782
34783 [BZ #14869]
34784 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34785 up arguments below 2**-450, not just those below 2**-500.
34786 * math/libm-test.inc (hypot_test): Add another test.
34787
34788 [BZ #14868]
34789 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34790 Return a+b for ratio over 2**120, not 2**60.
34791 * math/libm-test.inc (hypot_test): Add another test.
34792
34793 * math/libm-test.inc (clog_test): Use
34794 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34795 (clog10_test): Likewise.
34796
34797 [BZ #6778]
34798 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34799
34800 2012-11-22 Andreas Schwab <schwab@suse.de>
34801
34802 * sysdeps/i386/fpu/libm-test-ulps: Update.
34803
34804 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34805
34806 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34807 printf output with newline.
34808
34809 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34810
34811 [BZ #14865]
34812 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34813 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34814 -z nodlopen, -z initfirst and -z execstack support.
34815 * configure: Regenerated.
34816
34817 * elf/elf.h (DF_1_NODIRECT): New macro.
34818 (DF_1_IGNMULDEF): Likewise.
34819 (DF_1_NOKSYMS): Likewise.
34820 (DF_1_NOHDR): Likewise.
34821 (DF_1_EDITED): Likewise.
34822 (DF_1_NORELOC): Likewise.
34823 (DF_1_SYMINTPOSE): Likewise.
34824 (DF_1_GLOBAUDIT): Likewise.
34825 (DF_1_SINGLETON): Likewise.
34826 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34827 DT_1_SUPPORTED_MASK bits.
34828 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34829
34830 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34831
34832 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34833
34834 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34835
34836 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34837 macro.
34838
34839 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34840 (sendmmsg): Move declarations...
34841 * socket/sys/socket.h: ... here.
34842 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34843 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34844 include it from...
34845 * socket/recvmmsg.c: ... this new file.
34846 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34847 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34848 definition of __sendmmsg hidden.
34849 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34850 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34851 Move ENOSYS stub into and include it from...
34852 * socket/sendmmsg.c: ... this new file.
34853 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34854 (sysdep_routines): Move recvmmsg and sendmmsg...
34855 * socket/Makefile (routines): ... here.
34856 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34857 (GLIBC_PRIVATE): Add __sendmmsg.
34858 * include/sys/socket.h (__sendmmsg): Add declarations.
34859 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34860 sendmmsg.
34861
34862 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34863
34864 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34865 variable I1 with __attribute__ ((unused)).
34866 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34867
34868 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34869
34870 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34871 DUMMY variables with __attribute__ ((unused)).
34872
34873 * bits/byteswap.h: Include <bits/types.h>.
34874 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34875
34876 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34877
34878 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34879 string_t. Do not manually set errno.
34880 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34881 length with __strnlen. Make sure to both set errno and return it on
34882 failure.
34883
34884 2012-11-19 David S. Miller <davem@davemloft.net>
34885
34886 With help from Joseph Myers.
34887 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34888 very large arguments properly.
34889 * math/libm-test.inc (atan_test): New tests.
34890 (atan2_test): New tests.
34891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34893
34894 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34895
34896 [BZ #14856]
34897 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34898 Define to 3.
34899
34900 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34901 [POSIX] (EADDRNOTAVAIL): Likewise.
34902 [POSIX] (EAFNOSUPPORT): Likewise.
34903 [POSIX] (EALREADY): Likewise.
34904 [POSIX] (ECONNABORTED): Likewise.
34905 [POSIX] (ECONNREFUSED): Likewise.
34906 [POSIX] (ECONNRESET): Likewise.
34907 [POSIX] (EDESTADDRREQ): Likewise.
34908 [POSIX] (EDQUOT): Likewise.
34909 [POSIX] (EHOSTUNREACH): Likewise.
34910 [POSIX] (EIDRM): Likewise.
34911 [POSIX] (EISCONN): Likewise.
34912 [POSIX] (ELOOP): Likewise.
34913 [POSIX] (EMULTIHOP): Likewise.
34914 [POSIX] (ENETDOWN): Likewise.
34915 [POSIX] (ENETUNREACH): Likewise.
34916 [POSIX] (ENOBUFS): Likewise.
34917 [POSIX] (ENODATA): Likewise.
34918 [POSIX] (ENOLINK): Likewise.
34919 [POSIX] (ENOMSG): Likewise.
34920 [POSIX] (ENOPROTOOPT): Likewise.
34921 [POSIX] (ENOSR): Likewise.
34922 [POSIX] (ENOSTR): Likewise.
34923 [POSIX] (ENOTCONN): Likewise.
34924 [POSIX] (ENOTSOCK): Likewise.
34925 [POSIX] (EOPNOTSUPP): Likewise.
34926 [POSIX] (EOVERFLOW): Likewise.
34927 [POSIX] (EPROTO): Likewise.
34928 [POSIX] (EPROTONOSUPPORT): Likewise.
34929 [POSIX] (EPROTOTYPE): Likewise.
34930 [POSIX] (ESTALE): Likewise.
34931 [POSIX] (ETIME): Likewise.
34932 [POSIX] (ETXTBSY): Likewise.
34933 [POSIX] (EWOULDBLOCK): Likewise.
34934 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34935 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34936 [POSIX] (SEEK_CUR): Likewise.
34937 [POSIX] (SEEK_END): Likewise.
34938 [POSIX || UNIX98] (mode_t): Do not require.
34939 [POSIX] (off_t): Likewise.
34940 [POSIX] (pid_t): Likewise.
34941 [POSIX] (sys/stat.h): Do not allow header.
34942 [POSIX] (unistd.h): Likewise.
34943 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34944 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34945 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34946 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34947 require.
34948 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34949 sigevent): Specify elements.
34950 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34951 entry.
34952 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34953 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34954
34955 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34956 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34957 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34958 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34959 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34960 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34961 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34962 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34963 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34964 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34965 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34966 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34967 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34968 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34969 Likewise.
34970 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34971 Likewise.
34972 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34973 Likewise.
34974 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34975 Likewise.
34976 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34977 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34978 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34979 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34980 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34981 Specify lower bound on value.
34982 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34983 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34984 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34985 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34986 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34987 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34988 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34989 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34990 value.
34991 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34992 as optional.
34993 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34994 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34995 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34996 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34997 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34998 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34999 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35000 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35001 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35002 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35003 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35004 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35005 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35006 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35007 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35008 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35009 entry.
35010 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35011 optional.
35012 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35013 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35014 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35015 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35016 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35017 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35018 Likewise.
35019 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35020 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35021 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35022 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35023 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35024 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35025 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35026 as optional.
35027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35028 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35029 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35030 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35031 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35032 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35033 specify as optional.
35034 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35035 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35036 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35037 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35038 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35039 [XPG3] (NL_LANGMAX): Likewise.
35040 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35041 [POSIX || XPG3] (NL_NMAX): Likewise.
35042 [POSIX || XPG3] (NL_SETMAX): Likewise.
35043 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35044 [XPG3] (NZERO): Likewise.
35045 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35046 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35047 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35048 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35049 (REG_ERANGE): Expect.
35050 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35051 optional-constant.
35052 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35053 Use (void) in prototype.
35054 [POSIX] (*_t): Allow.
35055 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35056 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35057 (WRDE_BADVAL): Expect.
35058
35059 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35060 expect.
35061 [XPG3 || XPG4] (O_RSYNC): Likewise.
35062 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35063 Likewise.
35064 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35065 [XPG3 || XPG4] (sigqueue): Likewise.
35066 [XPG3 || XPG4] (sigtimedwait): Likewise.
35067 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35068 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35069 [XPG3 || XPG4] (vsnprintf): Likewise.
35070 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35071 Likewise.
35072 [XPG3 || XPG4] (blksize_t): Likewise.
35073 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35074 Likewise.
35075 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35076 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35077 [XPG3 || XPG4] (struct itimerspec): Likewise.
35078 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35079 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35080 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35081 [XPG3 || XPG4] (clockid_t): Likewise.
35082 [XPG3 || XPG4] (timer_t): Likewise.
35083 [XPG3 || XPG4] (clock_getres): Likewise.
35084 [XPG3 || XPG4] (clock_gettime): Likewise.
35085 [XPG3 || XPG4] (clock_settime): Likewise.
35086 [XPG3 || XPG4] (nanosleep): Likewise.
35087 [XPG3 || XPG4] (timer_create): Likewise.
35088 [XPG3 || XPG4] (timer_delete): Likewise.
35089 [XPG3 || XPG4] (timer_gettime): Likewise.
35090 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35091 [XPG3 || XPG4] (timer_settime): Likewise.
35092 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35093 [XPG3 || XPG4] (getlogin_r): Likewise.
35094 [XPG3 || XPG4] (pread): Likewise.
35095 [XPG3 || XPG4] (pthread_atfork): Likewise.
35096 [XPG3 || XPG4] (pwrite): Likewise.
35097
35098 [BZ #14835]
35099 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35100 <bits/siginfo.h>.
35101
35102 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35103
35104 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35105 finalizing MALLSTREAM.
35106
35107 * sysdeps/mach/hurd/syncfs.c: New file.
35108
35109 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35110
35111 [BZ #14719]
35112 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35113 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35114 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35115 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35116 (_nss_dns_gethostbyname4_r): Likewise.
35117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35118 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35119
35120 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35121
35122 [BZ #13763]
35123 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35124
35125 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35126
35127 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35128 * elf/cache.c (print_entry): Print ",AArch64" for
35129 FLAG_AARCH64_LIB64
35130
35131 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35132 * elf/cache.c (print_entry): Print ",hard-float" for
35133 FLAG_ARM_LIBHF.
35134
35135 2012-11-18 David S. Miller <davem@davemloft.net>
35136
35137 With help from Joseph Myers.
35138 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35139 cutoff to 2**-13.
35140 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35141 cutoff to 2**-25.
35142 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35143 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35144 small.
35145 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35146 * math/libm-test.inc (y0_test): New tests.
35147 (y1_test): New tests.
35148 * sysdeps/i386/fpu/libm-test-ulps: Update.
35149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35151
35152 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35153
35154 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35155 64-bit targets.
35156 * configure: Regenerated.
35157
35158 2012-11-17 David S. Miller <davem@davemloft.net>
35159
35160 [BZ #14811]
35161 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35162 nonzero exponents with absolute value below 0x1p-128 to +/-
35163 0x1p-128.
35164
35165 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35166
35167 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35168
35169 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35170
35171 * posix/getconf-speclist.c: New file.
35172 * posix/posix-envs.def: Likewise.
35173 * posix/confstr.c (START_ENV_GROUP): New macro.
35174 (END_ENV_GROUP): Likewise.
35175 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35176 (KNOWN_PRESENT_ENV_STRING): Likewise.
35177 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35178 (UNKNOWN_ENVIRONMENT): Likewise.
35179 (confstr): Include posix-envs.def instead of handling
35180 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35181 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35182 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35183 (END_ENV_GROUP): Likewise.
35184 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35185 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35186 (UNKNOWN_ENVIRONMENT): Likewise.
35187 (__sysconf): Include posix-envs.def instead of handling associated
35188 cases directly here.
35189 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35190 preprocessing getconf-speclist.c rather than running getconf or
35191 generating empty file.
35192
35193 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35194
35195 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35196
35197 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35198
35199 [BZ #14672]
35200 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35201
35202 2012-11-16 David S. Miller <davem@davemloft.net>
35203
35204 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35205 smaller than LDBL_EPSILON/2.0L, just return xm1.
35206
35207 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35208
35209 * elf/tst-array1.c (init): Set constructor priority to 1000.
35210 (fini): Set destructor priority to 1000.
35211 * elf/tst-array2dep.c: Likewise.
35212
35213 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35214
35215 [BZ #11741]
35216 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35217 (_IO_new_file_xsputn): Also return EOF if none of the input
35218 data was written when overflow failed.
35219 * libio/iopadn.c (_IO_padn): Likewise.
35220 * libio/iowpadn.c (_IO_wpadn): Likewise.
35221 * stdio-common/tst-put-error.c: Add copyright notice.
35222 (do_test): Add case for printing padded string.
35223 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35224 _IO_padn returned error.
35225 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35226 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35227 return EOF.
35228
35229 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35230
35231 * libio/libioP.h: Add comment note that the references to C++
35232 bits are now obsolete.
35233
35234 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35235
35236 * math/libm-test.inc (check_complex): Use asprintf.
35237
35238 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35239
35240 * debug/pcprofiledump.c (print_version): Update copyright year.
35241 * malloc/memusagestat.c (print_version): Likewise.
35242
35243 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35244
35245 [BZ #14831]
35246 * elf/Makefile (tests): Add tst-audit8.
35247 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35248 ($(objpfx)tst-audit8.out): New target.
35249 (tst-audit8-ENV): New variable.
35250 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35251 audit if l_reloc_result is NULL.
35252 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35253 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35254 * elf/tst-audit8.c: New file.
35255
35256 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35257
35258 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35259 * misc/Makefile (CFLAGS-select.c): Define.
35260 * posix/Makefile (CFLAGS-pause.c): Define.
35261
35262 2012-11-13 David S. Miller <davem@davemloft.net>
35263
35264 * crypt/Makefile: Move test targets after toplevel Rules
35265 inclusion. Grab any necessary sysdep routines when linking.
35266 * crypt/md5.c (md5_process_block): Remove define, we will always
35267 name it __md5_process_block.
35268 (md5_finish_ctx): Update md5_process_block call.
35269 (md5_stream): Likewise.
35270 (md5_process_bytes): Likewise.
35271 (md5_process_block): Rename to __md5_process_block and move to ...
35272 * crypt/md5-block.c: ... here.
35273 * crypt/sha256.c (sha256_process_block): Move to ...
35274 * crypt/sha256-block.c: ... here.
35275 * crypt/sha512.c (sha512_process_block): Move to ...
35276 * crypt/sha512-block.c: ... here.
35277 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35278 path.
35279 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35280 * sysdeps/sparc/sparc64/multiarch/Makefile
35281 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35282 crypt subdir.
35283 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35284 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35285 multiarch changes.
35286 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35287 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35288 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35289 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35290 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35291 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35292 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35293 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35294 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35295 file.
35296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35298 file.
35299 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35300
35301 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35302
35303 * timezone/tzselect.ksh: Update from tzcode git revision
35304 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35305 * timezone/zdump.c: Likewise.
35306 * timezone/zic.c: Likewise.
35307 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35308 in TZVERSION setting, not $(PKGVERSION).
35309 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35310 REPORT_BUGS_TO settings.
35311
35312 [BZ #14838]
35313 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35314 macro.
35315
35316 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35317
35318 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35319 detection to immediately after _FP_ROUND().
35320 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35321 bits are 0.
35322
35323 2012-11-11 David S. Miller <davem@davemloft.net>
35324
35325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35326 inttypes.h
35327 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35328 __close rather than their public counterparts.
35329
35330 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35331
35332 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35333 file.
35334 [UNIX98] (sem_timedwait): Do not expect.
35335 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35336 [XPG4 || UNIX98] (sockatmark): Do not expect.
35337 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35338 (clock_getcpuclockid): Do not expect.
35339 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35340 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35341 Do not expect.
35342 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35343 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35344 [UNIX98] (vwscanf): Likewise.
35345 [UNIX98] (vswscanf): Likewise.
35346
35347 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35348
35349 * timezone/version.h: Remove file.
35350 * timezone/README: Do not refer to version.h.
35351 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35352 $(objpfx)version.h.
35353 ($(objpfx)zdump.o): Likewise.
35354 ($(objpfx)version.h): New target.
35355
35356 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35357 2012i.
35358 * timezone/README: Don't mention modification to tzselect.ksh.
35359 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35360 work on unmodified tzselect.ksh. Substitute version numbers in
35361 tzselect.ksh.
35362
35363 * Makefile (format-me): Remove.
35364 (INSTALL): Adjust indentation. Use commands directly instead of
35365 using $(format-me).
35366
35367 * aclocal.m4 (ACX_PKGVERSION): New macro.
35368 (ACX_BUGURL): Likewise.
35369 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35370 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35371 (REPORT_BUGS_TO): Likewise.
35372 * configure: Regenerated.
35373 * config.h.in (PKGVERSION): New macro.
35374 (REPORT_BUGS_TO): Likewise.
35375 * config.make.in (PKGVERSION): New variable.
35376 (PKGVERSION_TEXI): Likewise.
35377 (REPORT_BUGS_TO): Likewise.
35378 (REPORT_BUGS_TEXI): Likewise.
35379 * Makefile (format-me): Use -I$(common-objpfx)manual.
35380 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35381 ($(common-objpfx)manual/%): New target.
35382 (manual/%): Remove target.
35383 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35384 (print_version): Use PKGVERSION.
35385 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35386 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35387 and REPORT_BUGS_TO.
35388 ($(objpfx)xtrace): Likewise.
35389 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35390 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35391 (print_version): Use PKGVERSION.
35392 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35393 (do_version): Use PKGVERSION.
35394 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35395 REPORT_BUGS_TO.
35396 (common-ldd-rewrite): Likewise.
35397 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35398 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35399 (print_version): Use PKGVERSION.
35400 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35401 * elf/pldd.c (argp_program_bug_address): Remove variable.
35402 (more_help): New function.
35403 (argp): Use more_help.
35404 (print_version): Use PKGVERSION.
35405 * elf/sln.c (main): Use PKGVERSION.
35406 (usage): Use REPORT_BUGS_TO.
35407 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35408 (top level): Use PKGVERSION.
35409 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35410 (print_version): Use PKGVERSION.
35411 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35412 (print_version): Use PKGVERSION.
35413 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35414 (print_version): Use PKGVERSION.
35415 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35416 (print_version): Use PKGVERSION.
35417 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35418 (print_version): Use PKGVERSION.
35419 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35420 (print_version): Use PKGVERSION.
35421 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35422 and BUGURL.
35423 ($(objpfx)memusage): Likewise.
35424 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35425 (do_version): Use PKGVERSION.
35426 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35427 (print_version): Use PKGVERSION.
35428 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35429 ($PKGVERSION): New variable.
35430 ($REPORT_BUGS_TO): Likewise.
35431 (usage): Use $REPORT_BUGS_TO.
35432 (top level): Use $PKGVERSION.
35433 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35434 ($(objpfx)pkgvers.texi): New rule.
35435 ($(objpfx)stamp-pkgvers): Likewise.
35436 * manual/install.texi: Include pkgvers.texi.
35437 (--with-pkgversion): Document new configure option.
35438 (--with-bugurl): Likewise.
35439 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35440 than necessarily for this particular distribution. Use
35441 REPORT_BUGS_TO for where to report bugs.
35442 * INSTALL: Regenerated.
35443 * manual/libc.texinfo: Include pkgvers.texi.
35444 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35445 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35446 (print_version): Use PKGVERSION.
35447 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35448 (print_version): Use PKGVERSION.
35449 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35450 (print_version): Use PKGVERSION.
35451 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35452 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35453 macro.
35454 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35455 (print_version): Use PKGVERSION.
35456 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35457 (print_version): Use PKGVERSION.
35458 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35459 and PKGVERSION.
35460
35461 * timezone/checktab.awk: Update from tzcode 2012i.
35462 * timezone/ialloc.c: Likewise.
35463 * timezone/private.h: Likewise.
35464 * timezone/scheck.c: Likewise.
35465 * timezone/tzfile.h: Likewise.
35466 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35467 (TZVERSION): Hardcode tzcode version number.
35468 * timezone/zdump.c: Update from tzcode 2012i.
35469 * timezone/zic.c: Likewise.
35470 * timezone/version.h: New file.
35471 * timezone/README: Describe version.h. Update upstream location.
35472
35473 [BZ #14824]
35474 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35475 (mktemp): Enable declaration.
35476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35480 Likewise.
35481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35482 Likewise.
35483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35484 Likewise.
35485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35486 Likewise.
35487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35488 Likewise.
35489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35490 Likewise.
35491
35492 [BZ #14821]
35493 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35494 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35495 for copies of such integer values.
35496 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35497 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35498
35499 2012-11-09 Andreas Jaeger <aj@suse.de>
35500
35501 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35502 definitions and declarations that are provided by
35503 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35504
35505 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35506
35507 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35508 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35509 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35510 definition.
35511
35512 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35513
35514 * elf/elf.h: Update comment before AArch64 relocations.
35515
35516 2012-11-07 David S. Miller <davem@davemloft.net>
35517
35518 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35519 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35520 (__start_context): Declare.
35521 (__makecontext_ret): Delete.
35522 (__makecontext): Hook up __start_context instead of
35523 __makecontext_ret.
35524 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35525 (sysdep_routines): Add __start_context when in stdlib.
35526
35527 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35528
35529 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35530 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35531 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35532 hardcoded "nm".
35533 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35534 (READELF): New variable. Use it instead of hardcoded "readelf".
35535
35536 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35537
35538 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35539 * sysdeps/x86/Makefile: Here.
35540 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35541 * sysdeps/x86/tst-xmmymm.sh: This.
35542
35543 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35544
35545 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35546 expectations.
35547 [UNIX98] (pthread_barrier_t): Do not expect.
35548 [UNIX98] (pthread_barrierattr_t): Likewise.
35549 [UNIX98] (pthread_spinlock_t): Likewise.
35550 [UNIX98] (pthread_barrier_destroy): Likewise.
35551 [UNIX98] (pthread_barrier_init): Likewise.
35552 [UNIX98] (pthread_barrier_wait): Likewise.
35553 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35554 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35555 [UNIX98] (pthread_barrierattr_init): Likewise.
35556 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35557 [UNIX98] (pthread_getcpuclockid): Likewise.
35558 [UNIX98] (pthread_mutex_timedlock): Likewise.
35559 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35560 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35561 [UNIX98] (pthread_sigmask): Likewise.
35562 [UNIX98] (pthread_spin_destroy): Likewise.
35563 [UNIX98] (pthread_spin_init): Likewise.
35564 [UNIX98] (pthread_spin_lock): Likewise.
35565 [UNIX98] (pthread_spin_trylock): Likewise.
35566 [UNIX98] (pthread_spin_unlock): Likewise.
35567 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35568 Do not expect.
35569 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35570 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35571 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35572 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35573 [XPG3 || XPG4] (pthread_key_t): Likewise.
35574 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35575 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35576 [XPG3 || XPG4] (pthread_once_t): Likewise.
35577 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35578 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35579 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35580 [XPG3 || XPG4] (pthread_t): Likewise.
35581
35582 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35583 not expect.
35584 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35585
35586 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35587 Change function return type to int.
35588
35589 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35590 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35591 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35592 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35593 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35594 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35595 [!POSIX] (posix_madvise): Likewise.
35596 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35597 && !UNIX98].
35598 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35599 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35600 (mode_t): Likewise.
35601 (posix_mem_offset): Likewise.
35602 (posix_typed_mem_get_info): Likewise.
35603 (posix_typed_mem_open): Likewise.
35604
35605 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35606 Change condition to [XOPEN2K8].
35607
35608 * conform/conformtest.pl: Preprocess allow-header data with -x c
35609 instead of from stdin.
35610 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35611 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35612 [C99-based standards] (cerfc): Likewise.
35613 [C99-based standards] (cexp2): Likewise.
35614 [C99-based standards] (cexpm1): Likewise.
35615 [C99-based standards] (clog10): Likewise.
35616 [C99-based standards] (clog1p): Likewise.
35617 [C99-based standards] (clog2): Likewise.
35618 [C99-based standards] (clgamma): Likewise.
35619 [C99-based standards] (ctgamma): Likewise.
35620 [C99-based standards] (cerff): Likewise.
35621 [C99-based standards] (cerfcf): Likewise.
35622 [C99-based standards] (cexp2f): Likewise.
35623 [C99-based standards] (cexpm1f): Likewise.
35624 [C99-based standards] (clog10f): Likewise.
35625 [C99-based standards] (clog1pf): Likewise.
35626 [C99-based standards] (clog2f): Likewise.
35627 [C99-based standards] (clgammaf): Likewise.
35628 [C99-based standards] (ctgammaf): Likewise.
35629 [C99-based standards] (cerfl): Likewise.
35630 [C99-based standards] (cerfcl): Likewise.
35631 [C99-based standards] (cexp2l): Likewise.
35632 [C99-based standards] (cexpm1l): Likewise.
35633 [C99-based standards] (clog10l): Likewise.
35634 [C99-based standards] (clog1pl): Likewise.
35635 [C99-based standards] (clog2l): Likewise.
35636 [C99-based standards] (clgammal): Likewise.
35637 [C99-based standards] (ctgammal): Likewise.
35638 * conform/data/inttypes.h-data [C99-based standards]: Include
35639 stdint.h-data. Remove all expectations for stdint.h contents.
35640 [C99-based standards] (PRI*): Do not allow.
35641 [C99-based standards] (SCN*): Likewise.
35642 [C99-based standards] (*_t): Likewise.
35643 [C99-based-standards] (PRId8): Expect macro.
35644 [C99-based-standards] (PRIi8): Likewise.
35645 [C99-based-standards] (PRIo8): Likewise.
35646 [C99-based-standards] (PRIu8): Likewise.
35647 [C99-based-standards] (PRIx8): Likewise.
35648 [C99-based-standards] (PRIX8): Likewise.
35649 [C99-based-standards] (SCNd8): Likewise.
35650 [C99-based-standards] (SCNi8): Likewise.
35651 [C99-based-standards] (SCNo8): Likewise.
35652 [C99-based-standards] (SCNu8): Likewise.
35653 [C99-based-standards] (SCNx8): Likewise.
35654 [C99-based-standards] (PRIdLEAST8): Likewise.
35655 [C99-based-standards] (PRIiLEAST8): Likewise.
35656 [C99-based-standards] (PRIoLEAST8): Likewise.
35657 [C99-based-standards] (PRIuLEAST8): Likewise.
35658 [C99-based-standards] (PRIxLEAST8): Likewise.
35659 [C99-based-standards] (PRIXLEAST8): Likewise.
35660 [C99-based-standards] (SCNdLEAST8): Likewise.
35661 [C99-based-standards] (SCNiLEAST8): Likewise.
35662 [C99-based-standards] (SCNoLEAST8): Likewise.
35663 [C99-based-standards] (SCNuLEAST8): Likewise.
35664 [C99-based-standards] (SCNxLEAST8): Likewise.
35665 [C99-based-standards] (PRIdFAST8): Likewise.
35666 [C99-based-standards] (PRIiFAST8): Likewise.
35667 [C99-based-standards] (PRIoFAST8): Likewise.
35668 [C99-based-standards] (PRIuFAST8): Likewise.
35669 [C99-based-standards] (PRIxFAST8): Likewise.
35670 [C99-based-standards] (PRIXFAST8): Likewise.
35671 [C99-based-standards] (SCNdFAST8): Likewise.
35672 [C99-based-standards] (SCNiFAST8): Likewise.
35673 [C99-based-standards] (SCNoFAST8): Likewise.
35674 [C99-based-standards] (SCNuFAST8): Likewise.
35675 [C99-based-standards] (SCNxFAST8): Likewise.
35676 [C99-based-standards] (PRId16): Likewise.
35677 [C99-based-standards] (PRIi16): Likewise.
35678 [C99-based-standards] (PRIo16): Likewise.
35679 [C99-based-standards] (PRIu16): Likewise.
35680 [C99-based-standards] (PRIx16): Likewise.
35681 [C99-based-standards] (PRIX16): Likewise.
35682 [C99-based-standards] (SCNd16): Likewise.
35683 [C99-based-standards] (SCNi16): Likewise.
35684 [C99-based-standards] (SCNo16): Likewise.
35685 [C99-based-standards] (SCNu16): Likewise.
35686 [C99-based-standards] (SCNx16): Likewise.
35687 [C99-based-standards] (PRIdLEAST16): Likewise.
35688 [C99-based-standards] (PRIiLEAST16): Likewise.
35689 [C99-based-standards] (PRIoLEAST16): Likewise.
35690 [C99-based-standards] (PRIuLEAST16): Likewise.
35691 [C99-based-standards] (PRIxLEAST16): Likewise.
35692 [C99-based-standards] (PRIXLEAST16): Likewise.
35693 [C99-based-standards] (SCNdLEAST16): Likewise.
35694 [C99-based-standards] (SCNiLEAST16): Likewise.
35695 [C99-based-standards] (SCNoLEAST16): Likewise.
35696 [C99-based-standards] (SCNuLEAST16): Likewise.
35697 [C99-based-standards] (SCNxLEAST16): Likewise.
35698 [C99-based-standards] (PRIdFAST16): Likewise.
35699 [C99-based-standards] (PRIiFAST16): Likewise.
35700 [C99-based-standards] (PRIoFAST16): Likewise.
35701 [C99-based-standards] (PRIuFAST16): Likewise.
35702 [C99-based-standards] (PRIxFAST16): Likewise.
35703 [C99-based-standards] (PRIXFAST16): Likewise.
35704 [C99-based-standards] (SCNdFAST16): Likewise.
35705 [C99-based-standards] (SCNiFAST16): Likewise.
35706 [C99-based-standards] (SCNoFAST16): Likewise.
35707 [C99-based-standards] (SCNuFAST16): Likewise.
35708 [C99-based-standards] (SCNxFAST16): Likewise.
35709 [C99-based-standards] (PRId32): Likewise.
35710 [C99-based-standards] (PRIi32): Likewise.
35711 [C99-based-standards] (PRIo32): Likewise.
35712 [C99-based-standards] (PRIu32): Likewise.
35713 [C99-based-standards] (PRIx32): Likewise.
35714 [C99-based-standards] (PRIX32): Likewise.
35715 [C99-based-standards] (SCNd32): Likewise.
35716 [C99-based-standards] (SCNi32): Likewise.
35717 [C99-based-standards] (SCNo32): Likewise.
35718 [C99-based-standards] (SCNu32): Likewise.
35719 [C99-based-standards] (SCNx32): Likewise.
35720 [C99-based-standards] (PRIdLEAST32): Likewise.
35721 [C99-based-standards] (PRIiLEAST32): Likewise.
35722 [C99-based-standards] (PRIoLEAST32): Likewise.
35723 [C99-based-standards] (PRIuLEAST32): Likewise.
35724 [C99-based-standards] (PRIxLEAST32): Likewise.
35725 [C99-based-standards] (PRIXLEAST32): Likewise.
35726 [C99-based-standards] (SCNdLEAST32): Likewise.
35727 [C99-based-standards] (SCNiLEAST32): Likewise.
35728 [C99-based-standards] (SCNoLEAST32): Likewise.
35729 [C99-based-standards] (SCNuLEAST32): Likewise.
35730 [C99-based-standards] (SCNxLEAST32): Likewise.
35731 [C99-based-standards] (PRIdFAST32): Likewise.
35732 [C99-based-standards] (PRIiFAST32): Likewise.
35733 [C99-based-standards] (PRIoFAST32): Likewise.
35734 [C99-based-standards] (PRIuFAST32): Likewise.
35735 [C99-based-standards] (PRIxFAST32): Likewise.
35736 [C99-based-standards] (PRIXFAST32): Likewise.
35737 [C99-based-standards] (SCNdFAST32): Likewise.
35738 [C99-based-standards] (SCNiFAST32): Likewise.
35739 [C99-based-standards] (SCNoFAST32): Likewise.
35740 [C99-based-standards] (SCNuFAST32): Likewise.
35741 [C99-based-standards] (SCNxFAST32): Likewise.
35742 [C99-based-standards] (PRId64): Likewise.
35743 [C99-based-standards] (PRIi64): Likewise.
35744 [C99-based-standards] (PRIo64): Likewise.
35745 [C99-based-standards] (PRIu64): Likewise.
35746 [C99-based-standards] (PRIx64): Likewise.
35747 [C99-based-standards] (PRIX64): Likewise.
35748 [C99-based-standards] (SCNd64): Likewise.
35749 [C99-based-standards] (SCNi64): Likewise.
35750 [C99-based-standards] (SCNo64): Likewise.
35751 [C99-based-standards] (SCNu64): Likewise.
35752 [C99-based-standards] (SCNx64): Likewise.
35753 [C99-based-standards] (PRIdLEAST64): Likewise.
35754 [C99-based-standards] (PRIiLEAST64): Likewise.
35755 [C99-based-standards] (PRIoLEAST64): Likewise.
35756 [C99-based-standards] (PRIuLEAST64): Likewise.
35757 [C99-based-standards] (PRIxLEAST64): Likewise.
35758 [C99-based-standards] (PRIXLEAST64): Likewise.
35759 [C99-based-standards] (SCNdLEAST64): Likewise.
35760 [C99-based-standards] (SCNiLEAST64): Likewise.
35761 [C99-based-standards] (SCNoLEAST64): Likewise.
35762 [C99-based-standards] (SCNuLEAST64): Likewise.
35763 [C99-based-standards] (SCNxLEAST64): Likewise.
35764 [C99-based-standards] (PRIdFAST64): Likewise.
35765 [C99-based-standards] (PRIiFAST64): Likewise.
35766 [C99-based-standards] (PRIoFAST64): Likewise.
35767 [C99-based-standards] (PRIuFAST64): Likewise.
35768 [C99-based-standards] (PRIxFAST64): Likewise.
35769 [C99-based-standards] (PRIXFAST64): Likewise.
35770 [C99-based-standards] (SCNdFAST64): Likewise.
35771 [C99-based-standards] (SCNiFAST64): Likewise.
35772 [C99-based-standards] (SCNoFAST64): Likewise.
35773 [C99-based-standards] (SCNuFAST64): Likewise.
35774 [C99-based-standards] (SCNxFAST64): Likewise.
35775 [C99-based-standards] (PRIdMAX): Likewise.
35776 [C99-based-standards] (PRIiMAX): Likewise.
35777 [C99-based-standards] (PRIoMAX): Likewise.
35778 [C99-based-standards] (PRIuMAX): Likewise.
35779 [C99-based-standards] (PRIxMAX): Likewise.
35780 [C99-based-standards] (PRIXMAX): Likewise.
35781 [C99-based-standards] (SCNdMAX): Likewise.
35782 [C99-based-standards] (SCNiMAX): Likewise.
35783 [C99-based-standards] (SCNoMAX): Likewise.
35784 [C99-based-standards] (SCNuMAX): Likewise.
35785 [C99-based-standards] (SCNxMAX): Likewise.
35786 [C99-based-standards] (PRIdPTR): Likewise.
35787 [C99-based-standards] (PRIiPTR): Likewise.
35788 [C99-based-standards] (PRIoPTR): Likewise.
35789 [C99-based-standards] (PRIuPTR): Likewise.
35790 [C99-based-standards] (PRIxPTR): Likewise.
35791 [C99-based-standards] (PRIXPTR): Likewise.
35792 [C99-based-standards] (SCNdPTR): Likewise.
35793 [C99-based-standards] (SCNiPTR): Likewise.
35794 [C99-based-standards] (SCNoPTR): Likewise.
35795 [C99-based-standards] (SCNuPTR): Likewise.
35796 [C99-based-standards] (SCNxPTR): Likewise.
35797 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35798 allow.
35799 * conform/data/stdint.h-data: Update comments to clarify
35800 requirements.
35801 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35802 type.
35803 [C99-based standards] (INT8_MAX): Likewise.
35804 [C99-based standards] (INT16_MIN): Likewise.
35805 [C99-based standards] (INT16_MAX): Likewise.
35806 [C99-based standards] (INT32_MIN): Likewise.
35807 [C99-based standards] (INT32_MAX): Likewise.
35808 [C99-based standards] (INT64_MIN): Likewise.
35809 [C99-based standards] (INT64_MAX): Likewise.
35810 [C99-based standards] (UINT8_MAX): Likewise.
35811 [C99-based standards] (UINT16_MAX): Likewise.
35812 [C99-based standards] (UINT32_MAX): Likewise.
35813 [C99-based standards] (UINT64_MAX): Likewise.
35814 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35815 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35816 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35817 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35818 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35819 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35820 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35821 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35822 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35823 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35824 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35825 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35826 [C99-based standards] (INT_FAST8_MIN): Likewise.
35827 [C99-based standards] (INT_FAST8_MAX): Likewise.
35828 [C99-based standards] (INT_FAST16_MIN): Likewise.
35829 [C99-based standards] (INT_FAST16_MAX): Likewise.
35830 [C99-based standards] (INT_FAST32_MIN): Likewise.
35831 [C99-based standards] (INT_FAST32_MAX): Likewise.
35832 [C99-based standards] (INT_FAST64_MIN): Likewise.
35833 [C99-based standards] (INT_FAST64_MAX): Likewise.
35834 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35835 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35836 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35837 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35838 [C99-based standards] (INTPTR_MIN): Likewise.
35839 [C99-based standards] (INTPTR_MAX): Likewise.
35840 [C99-based standards] (UINTPTR_MAX): Likewise.
35841 [C99-based standards] (INTMAX_MIN): Likewise.
35842 [C99-based standards] (INTMAX_MAX): Likewise.
35843 [C99-based standards] (UINTMAX_MAX): Likewise.
35844 [C99-based standards] (PTRDIFF_MIN): Likewise.
35845 [C99-based standards] (PTRDIFF_MAX): Likewise.
35846 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35847 [C99-based standards] (SIZE_MAX): Likewise.
35848 [C99-based standards] (WCHAR_MAX): Likewise.
35849 [C99-based standards] (WINT_MAX): Likewise.
35850 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35851 constraint on value.
35852 [C99-based standards] (WCHAR_MIN): Likewise.
35853 [C99-based standards] (WINT_MIN): Likewise.
35854 [C99-based standards] (*_t): Allow.
35855 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35856 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35857 Include math.h-data and complex.h-data. Remove all expectations
35858 of math.h and complex.h contents.
35859 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35860 at end of line.
35861 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35862 (struct tm): Expect tag.
35863 [C99-based-standards] (wcstof): Expect function.
35864 [C99-based-standards] (wcstold): Likewise.
35865 [C99-based-standards] (wcstoll): Likewise.
35866 [C99-based-standards] (wcstoull): Likewise.
35867 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35868 macro-int-constant. Specify type.
35869 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35870 constraint on value.
35871 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35872 Specify type.
35873 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35874 Specify value.
35875 [ISO C standards]: Do not allow headers.
35876 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35877 wcs[abcdefghijklmnopqrstuvwxyz]*.
35878 [ISO C standards] (*_t): Do not allow.
35879 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35880 Expect function.
35881 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35882 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35883 Specify type.
35884 [ISO C standards]: Do not allow headers.
35885 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35886 is[abcdefghijklmnopqrstuvwxyz]*.
35887 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35888 to[abcdefghijklmnopqrstuvwxyz]*.
35889 [ISO C standards] (*_t): Do not allow.
35890 * conform/data/stdalign.h-data: New file.
35891 * conform/data/stdbool.h-data: Likewise.
35892 * conform/data/stdnoreturn.h-data: Likewise.
35893
35894 2012-11-07 Roland McGrath <roland@hack.frob.com>
35895
35896 [BZ #14815]
35897 * manual/filesys.texi (Directory Entries): Typo fix.
35898 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35899
35900 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35901
35902 * elf/elf.h (EM_AARCH64): New macro.
35903 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35904 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35905 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35906 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35907 (R_AARCH64_TLSDESC): Likewise.
35908 (NT_ARM_TLS): Likewise.
35909 (NT_ARM_HW_BREAK): Likewise.
35910 (NT_ARM_HW_WATCH): Likewise.
35911
35912 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35913
35914 [BZ #14811]
35915 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35916 (__ieee754_powl): Saturate nonzero exponents with absolute value
35917 below 0x1p-79 to +/- 0x1p-79.
35918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35919 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35920 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35921 nonzero exponents with absolute value below 0x1p-32 to +/-
35922 0x1p-32.
35923 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35924 (__ieee754_powl): Saturate nonzero exponents with absolute value
35925 below 0x1p-79 to +/- 0x1p-79.
35926 * math/libm-test.inc (pow_test): Add more tests.
35927
35928 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35929
35930 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35931 _dl_s390_cap_flags with kernel. Increase string length.
35932 (_dl_s390_platforms): Add z196 and zEC12.
35933
35934 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35935
35936 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35937 Change XOPEN21K to XOPEN2K.
35938
35939 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35940
35941 * string/memmove.c: Use memcpy when possible.
35942
35943 2012-11-06 Andreas Jaeger <aj@suse.de>
35944
35945 * po/eo.po: Update from translation team.
35946
35947 2012-11-06 Joseph Myers <joseph@codesourcery.com>
35948
35949 [BZ #14793]
35950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35951 exponent and small x and y exponents, scale x or y up. Increase
35952 by 2 the exponent used in scaling up.
35953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35954 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35955 * math/libm-test.inc (fma_test): Add more tests.
35956 (fma_test_towardzero): Likewise.
35957 (fma_test_downward): Likewise.
35958 (fma_test_upward): Likewise.
35959
35960 2012-11-05 Joseph Myers <joseph@codesourcery.com>
35961
35962 [BZ #14805]
35963 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35964 fenv_t *.
35965
35966 [BZ #14801]
35967 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35968 namespace for names of struct fields.
35969 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35970 fenv_t fields.
35971 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35972 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35973
35974 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35975
35976 [BZ #3665]
35977 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35978
35979 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35980
35981 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35982 PTR_DEMANGLE.
35983
35984 [BZ #5246]
35985 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35986 PTR_DEMANGLE.
35987
35988 2012-11-04 Joseph Myers <joseph@codesourcery.com>
35989
35990 [BZ #14797]
35991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35992 definitely overflow as x * y not x * y + z.
35993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35995 * math/libm-test.inc (fma_test): Add more tests.
35996 (fma_test_towardzero): Likewise.
35997 (fma_test_downward): Likewise.
35998 (fma_test_upward): Likewise.
35999
36000 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36001
36002 [BZ #157]
36003
36004 * include/stub-tag.h: Remove file.
36005 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36006 '#include' of it.
36007 * manual/maint.texi (Porting): Don't reference it.
36008 * Makerules ($(objpfx)stubs): Likewise.
36009 * dirent/closedir.c: Don't include <stub-tag.h>.
36010 * dirent/dirfd.c: Likewise.
36011 * dirent/fdopendir.c: Likewise.
36012 * dirent/getdents.c: Likewise.
36013 * dirent/getdents64.c: Likewise.
36014 * dirent/opendir.c: Likewise.
36015 * dirent/readdir.c: Likewise.
36016 * dirent/readdir64.c: Likewise.
36017 * dirent/readdir64_r.c: Likewise.
36018 * dirent/readdir_r.c: Likewise.
36019 * dirent/rewinddir.c: Likewise.
36020 * dirent/seekdir.c: Likewise.
36021 * dirent/telldir.c: Likewise.
36022 * gmon/profil.c: Likewise.
36023 * grp/setgroups.c: Likewise.
36024 * inet/if_index.c: Likewise.
36025 * io/access.c: Likewise.
36026 * io/chdir.c: Likewise.
36027 * io/chmod.c: Likewise.
36028 * io/chown.c: Likewise.
36029 * io/close.c: Likewise.
36030 * io/dup.c: Likewise.
36031 * io/dup2.c: Likewise.
36032 * io/dup3.c: Likewise.
36033 * io/euidaccess.c: Likewise.
36034 * io/faccessat.c: Likewise.
36035 * io/fchdir.c: Likewise.
36036 * io/fchmod.c: Likewise.
36037 * io/fchmodat.c: Likewise.
36038 * io/fchown.c: Likewise.
36039 * io/fchownat.c: Likewise.
36040 * io/fcntl.c: Likewise.
36041 * io/flock.c: Likewise.
36042 * io/fstatfs.c: Likewise.
36043 * io/fstatfs64.c: Likewise.
36044 * io/fstatvfs.c: Likewise.
36045 * io/fstatvfs64.c: Likewise.
36046 * io/futimens.c: Likewise.
36047 * io/fxstat.c: Likewise.
36048 * io/fxstat64.c: Likewise.
36049 * io/fxstatat.c: Likewise.
36050 * io/fxstatat64.c: Likewise.
36051 * io/getcwd.c: Likewise.
36052 * io/isatty.c: Likewise.
36053 * io/lchmod.c: Likewise.
36054 * io/lchown.c: Likewise.
36055 * io/link.c: Likewise.
36056 * io/linkat.c: Likewise.
36057 * io/lseek.c: Likewise.
36058 * io/lseek64.c: Likewise.
36059 * io/lxstat64.c: Likewise.
36060 * io/mkdir.c: Likewise.
36061 * io/mkdirat.c: Likewise.
36062 * io/mkfifo.c: Likewise.
36063 * io/mkfifoat.c: Likewise.
36064 * io/open.c: Likewise.
36065 * io/open64.c: Likewise.
36066 * io/openat.c: Likewise.
36067 * io/openat64.c: Likewise.
36068 * io/pipe.c: Likewise.
36069 * io/pipe2.c: Likewise.
36070 * io/poll.c: Likewise.
36071 * io/posix_fadvise.c: Likewise.
36072 * io/posix_fadvise64.c: Likewise.
36073 * io/posix_fallocate.c: Likewise.
36074 * io/posix_fallocate64.c: Likewise.
36075 * io/read.c: Likewise.
36076 * io/readlink.c: Likewise.
36077 * io/readlinkat.c: Likewise.
36078 * io/rmdir.c: Likewise.
36079 * io/sendfile.c: Likewise.
36080 * io/sendfile64.c: Likewise.
36081 * io/statfs.c: Likewise.
36082 * io/statfs64.c: Likewise.
36083 * io/statvfs.c: Likewise.
36084 * io/statvfs64.c: Likewise.
36085 * io/symlink.c: Likewise.
36086 * io/symlinkat.c: Likewise.
36087 * io/ttyname.c: Likewise.
36088 * io/ttyname_r.c: Likewise.
36089 * io/umask.c: Likewise.
36090 * io/unlink.c: Likewise.
36091 * io/unlinkat.c: Likewise.
36092 * io/utime.c: Likewise.
36093 * io/utimensat.c: Likewise.
36094 * io/write.c: Likewise.
36095 * io/xmknod.c: Likewise.
36096 * io/xmknodat.c: Likewise.
36097 * io/xstat.c: Likewise.
36098 * io/xstat64.c: Likewise.
36099 * login/getpt.c: Likewise.
36100 * login/grantpt.c: Likewise.
36101 * login/unlockpt.c: Likewise.
36102 * math/e_acoshl.c: Likewise.
36103 * math/e_acosl.c: Likewise.
36104 * math/e_asinl.c: Likewise.
36105 * math/e_atan2l.c: Likewise.
36106 * math/e_atanhl.c: Likewise.
36107 * math/e_coshl.c: Likewise.
36108 * math/e_expl.c: Likewise.
36109 * math/e_fmodl.c: Likewise.
36110 * math/e_gammal_r.c: Likewise.
36111 * math/e_hypotl.c: Likewise.
36112 * math/e_j0l.c: Likewise.
36113 * math/e_j1l.c: Likewise.
36114 * math/e_jnl.c: Likewise.
36115 * math/e_lgammal_r.c: Likewise.
36116 * math/e_log10l.c: Likewise.
36117 * math/e_log2l.c: Likewise.
36118 * math/e_logl.c: Likewise.
36119 * math/e_powl.c: Likewise.
36120 * math/e_rem_pio2l.c: Likewise.
36121 * math/e_sinhl.c: Likewise.
36122 * math/e_sqrtl.c: Likewise.
36123 * math/fclrexcpt.c: Likewise.
36124 * math/fedisblxcpt.c: Likewise.
36125 * math/feenablxcpt.c: Likewise.
36126 * math/fegetenv.c: Likewise.
36127 * math/fegetexcept.c: Likewise.
36128 * math/fegetround.c: Likewise.
36129 * math/feholdexcpt.c: Likewise.
36130 * math/fesetenv.c: Likewise.
36131 * math/fesetround.c: Likewise.
36132 * math/feupdateenv.c: Likewise.
36133 * math/fgetexcptflg.c: Likewise.
36134 * math/fraiseexcpt.c: Likewise.
36135 * math/fsetexcptflg.c: Likewise.
36136 * math/ftestexcept.c: Likewise.
36137 * math/k_cosl.c: Likewise.
36138 * math/k_rem_pio2l.c: Likewise.
36139 * math/k_sinl.c: Likewise.
36140 * math/k_tanl.c: Likewise.
36141 * math/s_asinhl.c: Likewise.
36142 * math/s_atanl.c: Likewise.
36143 * math/s_cbrtl.c: Likewise.
36144 * math/s_erfl.c: Likewise.
36145 * math/s_expm1l.c: Likewise.
36146 * math/s_log1pl.c: Likewise.
36147 * math/s_tanhl.c: Likewise.
36148 * misc/acct.c: Likewise.
36149 * misc/brk.c: Likewise.
36150 * misc/chflags.c: Likewise.
36151 * misc/chroot.c: Likewise.
36152 * misc/fchflags.c: Likewise.
36153 * misc/fgetxattr.c: Likewise.
36154 * misc/flistxattr.c: Likewise.
36155 * misc/fremovexattr.c: Likewise.
36156 * misc/fsetxattr.c: Likewise.
36157 * misc/fsync.c: Likewise.
36158 * misc/ftruncate.c: Likewise.
36159 * misc/futimes.c: Likewise.
36160 * misc/futimesat.c: Likewise.
36161 * misc/getdomain.c: Likewise.
36162 * misc/getdtsz.c: Likewise.
36163 * misc/gethostid.c: Likewise.
36164 * misc/gethostname.c: Likewise.
36165 * misc/getloadavg.c: Likewise.
36166 * misc/getpagesize.c: Likewise.
36167 * misc/getsysstats.c: Likewise.
36168 * misc/getxattr.c: Likewise.
36169 * misc/gtty.c: Likewise.
36170 * misc/ioctl.c: Likewise.
36171 * misc/lgetxattr.c: Likewise.
36172 * misc/listxattr.c: Likewise.
36173 * misc/llistxattr.c: Likewise.
36174 * misc/lremovexattr.c: Likewise.
36175 * misc/lsetxattr.c: Likewise.
36176 * misc/lutimes.c: Likewise.
36177 * misc/madvise.c: Likewise.
36178 * misc/mincore.c: Likewise.
36179 * misc/mlock.c: Likewise.
36180 * misc/mlockall.c: Likewise.
36181 * misc/mmap.c: Likewise.
36182 * misc/mprotect.c: Likewise.
36183 * misc/msync.c: Likewise.
36184 * misc/munlock.c: Likewise.
36185 * misc/munlockall.c: Likewise.
36186 * misc/munmap.c: Likewise.
36187 * misc/preadv.c: Likewise.
36188 * misc/preadv64.c: Likewise.
36189 * misc/ptrace.c: Likewise.
36190 * misc/pwritev.c: Likewise.
36191 * misc/pwritev64.c: Likewise.
36192 * misc/readv.c: Likewise.
36193 * misc/reboot.c: Likewise.
36194 * misc/remap_file_pages.c: Likewise.
36195 * misc/removexattr.c: Likewise.
36196 * misc/revoke.c: Likewise.
36197 * misc/select.c: Likewise.
36198 * misc/setdomain.c: Likewise.
36199 * misc/setegid.c: Likewise.
36200 * misc/seteuid.c: Likewise.
36201 * misc/sethostid.c: Likewise.
36202 * misc/sethostname.c: Likewise.
36203 * misc/setregid.c: Likewise.
36204 * misc/setreuid.c: Likewise.
36205 * misc/setxattr.c: Likewise.
36206 * misc/sstk.c: Likewise.
36207 * misc/stty.c: Likewise.
36208 * misc/swapoff.c: Likewise.
36209 * misc/swapon.c: Likewise.
36210 * misc/sync.c: Likewise.
36211 * misc/syncfs.c: Likewise.
36212 * misc/syscall.c: Likewise.
36213 * misc/truncate.c: Likewise.
36214 * misc/ualarm.c: Likewise.
36215 * misc/usleep.c: Likewise.
36216 * misc/ustat.c: Likewise.
36217 * misc/utimes.c: Likewise.
36218 * misc/vhangup.c: Likewise.
36219 * misc/writev.c: Likewise.
36220 * posix/_exit.c: Likewise.
36221 * posix/alarm.c: Likewise.
36222 * posix/execve.c: Likewise.
36223 * posix/fexecve.c: Likewise.
36224 * posix/fork.c: Likewise.
36225 * posix/fpathconf.c: Likewise.
36226 * posix/getaddrinfo.c: Likewise.
36227 * posix/getegid.c: Likewise.
36228 * posix/geteuid.c: Likewise.
36229 * posix/getgid.c: Likewise.
36230 * posix/getgroups.c: Likewise.
36231 * posix/getlogin.c: Likewise.
36232 * posix/getlogin_r.c: Likewise.
36233 * posix/getpgid.c: Likewise.
36234 * posix/getpid.c: Likewise.
36235 * posix/getppid.c: Likewise.
36236 * posix/getresgid.c: Likewise.
36237 * posix/getresuid.c: Likewise.
36238 * posix/getsid.c: Likewise.
36239 * posix/getuid.c: Likewise.
36240 * posix/glob64.c: Likewise.
36241 * posix/nanosleep.c: Likewise.
36242 * posix/pathconf.c: Likewise.
36243 * posix/pause.c: Likewise.
36244 * posix/posix_madvise.c: Likewise.
36245 * posix/pread.c: Likewise.
36246 * posix/pread64.c: Likewise.
36247 * posix/pwrite.c: Likewise.
36248 * posix/pwrite64.c: Likewise.
36249 * posix/sched_getaffinity.c: Likewise.
36250 * posix/sched_getp.c: Likewise.
36251 * posix/sched_gets.c: Likewise.
36252 * posix/sched_primax.c: Likewise.
36253 * posix/sched_primin.c: Likewise.
36254 * posix/sched_rr_gi.c: Likewise.
36255 * posix/sched_setaffinity.c: Likewise.
36256 * posix/sched_setp.c: Likewise.
36257 * posix/sched_sets.c: Likewise.
36258 * posix/sched_yield.c: Likewise.
36259 * posix/setgid.c: Likewise.
36260 * posix/setlogin.c: Likewise.
36261 * posix/setpgid.c: Likewise.
36262 * posix/setresgid.c: Likewise.
36263 * posix/setresuid.c: Likewise.
36264 * posix/setsid.c: Likewise.
36265 * posix/setuid.c: Likewise.
36266 * posix/sleep.c: Likewise.
36267 * posix/spawni.c: Likewise.
36268 * posix/sysconf.c: Likewise.
36269 * posix/times.c: Likewise.
36270 * posix/wait.c: Likewise.
36271 * posix/wait3.c: Likewise.
36272 * posix/wait4.c: Likewise.
36273 * posix/waitpid.c: Likewise.
36274 * resolv/gai_sigqueue.c: Likewise.
36275 * resource/getpriority.c: Likewise.
36276 * resource/getrlimit.c: Likewise.
36277 * resource/getrusage.c: Likewise.
36278 * resource/nice.c: Likewise.
36279 * resource/setpriority.c: Likewise.
36280 * resource/setrlimit.c: Likewise.
36281 * resource/ulimit.c: Likewise.
36282 * rt/aio_cancel.c: Likewise.
36283 * rt/aio_fsync.c: Likewise.
36284 * rt/aio_read.c: Likewise.
36285 * rt/aio_sigqueue.c: Likewise.
36286 * rt/aio_suspend.c: Likewise.
36287 * rt/aio_write.c: Likewise.
36288 * rt/clock_getres.c: Likewise.
36289 * rt/clock_gettime.c: Likewise.
36290 * rt/clock_nanosleep.c: Likewise.
36291 * rt/clock_settime.c: Likewise.
36292 * rt/lio_listio.c: Likewise.
36293 * rt/mq_close.c: Likewise.
36294 * rt/mq_getattr.c: Likewise.
36295 * rt/mq_notify.c: Likewise.
36296 * rt/mq_open.c: Likewise.
36297 * rt/mq_receive.c: Likewise.
36298 * rt/mq_send.c: Likewise.
36299 * rt/mq_setattr.c: Likewise.
36300 * rt/mq_timedreceive.c: Likewise.
36301 * rt/mq_timedsend.c: Likewise.
36302 * rt/mq_unlink.c: Likewise.
36303 * rt/shm_open.c: Likewise.
36304 * rt/shm_unlink.c: Likewise.
36305 * rt/timer_create.c: Likewise.
36306 * rt/timer_delete.c: Likewise.
36307 * rt/timer_getoverr.c: Likewise.
36308 * rt/timer_gettime.c: Likewise.
36309 * rt/timer_settime.c: Likewise.
36310 * setjmp/__longjmp.c: Likewise.
36311 * setjmp/setjmp.c: Likewise.
36312 * signal/kill.c: Likewise.
36313 * signal/killpg.c: Likewise.
36314 * signal/raise.c: Likewise.
36315 * signal/sigaction.c: Likewise.
36316 * signal/sigaltstack.c: Likewise.
36317 * signal/sigblock.c: Likewise.
36318 * signal/sigignore.c: Likewise.
36319 * signal/sigintr.c: Likewise.
36320 * signal/signal.c: Likewise.
36321 * signal/sigpause.c: Likewise.
36322 * signal/sigpending.c: Likewise.
36323 * signal/sigqueue.c: Likewise.
36324 * signal/sigreturn.c: Likewise.
36325 * signal/sigset.c: Likewise.
36326 * signal/sigsetmask.c: Likewise.
36327 * signal/sigstack.c: Likewise.
36328 * signal/sigsuspend.c: Likewise.
36329 * signal/sigtimedwait.c: Likewise.
36330 * signal/sigvec.c: Likewise.
36331 * signal/sigwait.c: Likewise.
36332 * signal/sigwaitinfo.c: Likewise.
36333 * signal/sysv_signal.c: Likewise.
36334 * socket/accept.c: Likewise.
36335 * socket/accept4.c: Likewise.
36336 * socket/bind.c: Likewise.
36337 * socket/connect.c: Likewise.
36338 * socket/getpeername.c: Likewise.
36339 * socket/getsockname.c: Likewise.
36340 * socket/getsockopt.c: Likewise.
36341 * socket/isfdtype.c: Likewise.
36342 * socket/listen.c: Likewise.
36343 * socket/recv.c: Likewise.
36344 * socket/recvfrom.c: Likewise.
36345 * socket/recvmsg.c: Likewise.
36346 * socket/send.c: Likewise.
36347 * socket/sendmsg.c: Likewise.
36348 * socket/sendto.c: Likewise.
36349 * socket/setsockopt.c: Likewise.
36350 * socket/shutdown.c: Likewise.
36351 * socket/sockatmark.c: Likewise.
36352 * socket/socket.c: Likewise.
36353 * socket/socketpair.c: Likewise.
36354 * stdio-common/ctermid.c: Likewise.
36355 * stdio-common/cuserid.c: Likewise.
36356 * stdio-common/remove.c: Likewise.
36357 * stdio-common/rename.c: Likewise.
36358 * stdio-common/renameat.c: Likewise.
36359 * stdio-common/tempname.c: Likewise.
36360 * stdlib/getcontext.c: Likewise.
36361 * stdlib/makecontext.c: Likewise.
36362 * stdlib/setcontext.c: Likewise.
36363 * stdlib/swapcontext.c: Likewise.
36364 * stdlib/system.c: Likewise.
36365 * streams/fattach.c: Likewise.
36366 * streams/fdetach.c: Likewise.
36367 * streams/getmsg.c: Likewise.
36368 * streams/getpmsg.c: Likewise.
36369 * streams/putmsg.c: Likewise.
36370 * streams/putpmsg.c: Likewise.
36371 * sysdeps/unix/bsd/getpt.c: Likewise.
36372 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36373 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36374 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36376 Likewise.
36377 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36378 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36379 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36380 * sysvipc/msgctl.c: Likewise.
36381 * sysvipc/msgget.c: Likewise.
36382 * sysvipc/msgrcv.c: Likewise.
36383 * sysvipc/msgsnd.c: Likewise.
36384 * sysvipc/semctl.c: Likewise.
36385 * sysvipc/semget.c: Likewise.
36386 * sysvipc/semop.c: Likewise.
36387 * sysvipc/semtimedop.c: Likewise.
36388 * sysvipc/shmat.c: Likewise.
36389 * sysvipc/shmctl.c: Likewise.
36390 * sysvipc/shmdt.c: Likewise.
36391 * sysvipc/shmget.c: Likewise.
36392 * termios/tcdrain.c: Likewise.
36393 * termios/tcflow.c: Likewise.
36394 * termios/tcflush.c: Likewise.
36395 * termios/tcgetattr.c: Likewise.
36396 * termios/tcgetpgrp.c: Likewise.
36397 * termios/tcsendbrk.c: Likewise.
36398 * termios/tcsetattr.c: Likewise.
36399 * termios/tcsetpgrp.c: Likewise.
36400 * time/adjtime.c: Likewise.
36401 * time/clock.c: Likewise.
36402 * time/getitimer.c: Likewise.
36403 * time/gettimeofday.c: Likewise.
36404 * time/setitimer.c: Likewise.
36405 * time/settimeofday.c: Likewise.
36406 * time/stime.c: Likewise.
36407 * time/time.c: Likewise.
36408
36409 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36410
36411 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36412 /usr/old/bin.
36413
36414 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36415 instead of spaces.
36416 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36417
36418 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36419
36420 [BZ #14796]
36421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36422 FE_TONEAREST before applying Dekker multiplication and Knuth
36423 addition. Clear inexact exceptions and check for exact zero
36424 results afterwards.
36425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36426 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36428 * math/libm-test.inc (fma_test): Add more tests.
36429 (fma_test_towardzero): Likewise.
36430 (fma_test_downward): Likewise.
36431 (fma_test_upward): Likewise.
36432 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36433 function.
36434 (libc_fesetround): New macro.
36435 (libc_fesetroundf): Likewise.
36436 (libc_fesetroundl): Likewise.
36437 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36438 function.
36439 (libc_fesetround_387): Likewise.
36440 (libc_fesetroundf): New macro.
36441 (libc_fesetround): Likewise.
36442 (libc_fesetroundl): Likewise.
36443 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36444 function.
36445 (libc_fesetroundf): New macro.
36446 (libc_fesetround): Likewise.
36447 (libc_fesetroundl): Likewise.
36448 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36449 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36450 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36451 libm_hidden_ver.
36452 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36453 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36454 libm_hidden_def.
36455 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36456 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36457 libm_hidden_ver.
36458 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36459 libm_hidden_def.
36460
36461 [BZ #3439]
36462 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36463 integer constant usable in #if and use that to give value to enum
36464 constant.
36465 (FE_DIVBYZERO): Likewise.
36466 (FE_UNDERFLOW): Likewise.
36467 (FE_OVERFLOW): Likewise.
36468 (FE_INVALID): Likewise.
36469 (FE_INVALID_SNAN): Likewise.
36470 (FE_INVALID_ISI): Likewise.
36471 (FE_INVALID_IDI): Likewise.
36472 (FE_INVALID_ZDZ): Likewise.
36473 (FE_INVALID_IMZ): Likewise.
36474 (FE_INVALID_COMPARE): Likewise.
36475 (FE_INVALID_SOFTWARE): Likewise.
36476 (FE_INVALID_SQRT): Likewise.
36477 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36478 (FE_TONEAREST): Likewise.
36479 (FE_TOWARDZERO): Likewise.
36480 (FE_UPWARD): Likewise.
36481 (FE_DOWNWARD): Likewise.
36482 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36483 (FE_DIVBYZERO): Likewise.
36484 (FE_OVERFLOW): Likewise.
36485 (FE_UNDERFLOW): Likewise.
36486 (FE_INEXACT): Likewise.
36487 (FE_TONEAREST): Likewise.
36488 (FE_DOWNWARD): Likewise.
36489 (FE_UPWARD): Likewise.
36490 (FE_TOWARDZERO): Likewise.
36491 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36492 (FE_UNDERFLOW): Likewise.
36493 (FE_OVERFLOW): Likewise.
36494 (FE_DIVBYZERO): Likewise.
36495 (FE_INVALID): Likewise.
36496 (FE_TONEAREST): Likewise.
36497 (FE_TOWARDZERO): Likewise.
36498 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36499 (FE_OVERFLOW): Likewise.
36500 (FE_UNDERFLOW): Likewise.
36501 (FE_DIVBYZERO): Likewise.
36502 (FE_INEXACT): Likewise.
36503 (FE_TONEAREST): Likewise.
36504 (FE_TOWARDZERO): Likewise.
36505 (FE_UPWARD): Likewise.
36506 (FE_DOWNWARD): Likewise.
36507 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36508 (FE_DIVBYZERO): Likewise.
36509 (FE_OVERFLOW): Likewise.
36510 (FE_UNDERFLOW): Likewise.
36511 (FE_INEXACT): Likewise.
36512 (FE_TONEAREST): Likewise.
36513 (FE_DOWNWARD): Likewise.
36514 (FE_UPWARD): Likewise.
36515 (FE_TOWARDZERO): Likewise.
36516
36517 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36518
36519 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36520
36521 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36522
36523 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36524 commands. Quote $PWD.
36525 (blacklist_exports): Don't use remove_newlines. Replace "declare
36526 -x" by "export".
36527 (remove_newlines): Remove.
36528
36529 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36530
36531 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36532 * stdlib/stdlib.h (atof): Moved to ...
36533 * include/bits/stdlib-float.h: Here. New file.
36534 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36535 * stdlib/bits/stdlib-float.h: New file.
36536 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36537 -mno-sse -mno-mmx.
36538 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36539 <xmmintrin.h>.
36540
36541 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36542
36543 * conform/conformtest.pl (@headers): Add fenv.h.
36544 * conform/data/fenv.h-data: New file.
36545 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36546 include of <math/fenv.h>.
36547
36548 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36549 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36550 && !UNIX98]. Enables tests for XOPEN2K8.
36551 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36552 POSIX2008]: Likewise.
36553
36554 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36555 (struct rusage): Do not expect type or its members.
36556
36557 [BZ #3439]
36558 * math/math.h (FP_NAN): Define macro to integer constant usable in
36559 #if and use that to give value to enum constant.
36560 (FP_INFINITE): Likewise.
36561 (FP_ZERO): Likewise.
36562 (FP_SUBNORMAL): Likewise.
36563 (FP_NORMAL): Likewise.
36564
36565 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36566
36567 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36568 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36569 arguments.
36570
36571 2012-11-02 Roland McGrath <roland@hack.frob.com>
36572
36573 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36574 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36575 autoconf-time if not.
36576 * configure.in: Remove AC_PREREQ.
36577
36578 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36579
36580 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36581 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36582 of the internal implementation.
36583
36584 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36585
36586 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36587 except include of <misc/sys/syslog.h>.
36588
36589 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36590
36591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36592 function returns with a NULL context exit with zero.
36593
36594 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36595
36596 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36597
36598 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36599
36600 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36601 (run_program_cmd): This.
36602 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36603 (tst_langinfo): New variable. Use it.
36604
36605 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36606
36607 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36608 floating point opcodes.
36609
36610 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36611
36612 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36613 variable.
36614
36615 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36616
36617 * sysdeps/mach/hurd/powerpc: Remove directory.
36618 * sysdeps/mach/powerpc: Likewise.
36619
36620 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36621
36622 * scripts/check-local-headers.sh: Ignore c++ headers.
36623
36624 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36625
36626 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36627 __libc_cleanup_region_start argument.
36628
36629 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36630
36631 [BZ #14784]
36632 [BZ #14785]
36633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36634 x * y using scaling, not as x * y + z.
36635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36637 * math/libm-test.inc (fma_test): Add more tests.
36638 (fma_test_towardzero): Likewise.
36639 (fma_test_downward): Likewise.
36640 (fma_test_upward): Likewise.
36641
36642 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36643
36644 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36645
36646 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36647
36648 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36649 New variable.
36650
36651 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36652
36653 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36654
36655 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36656
36657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36658 Fix sort order.
36659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36660 Likewise.
36661
36662 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36663
36664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36665 Fix the order of the list for glibc 2.17.
36666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36667 Likewise.
36668
36669 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36670
36671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36672
36673 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36674
36675 [BZ #14610]
36676 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36677 for low part of x being zero before using __atanl (y).
36678 * math/libm-test.inc (atan2_test): Add another test.
36679
36680 * manual/install.texi (Configuring and compiling): Document
36681 general use of test-wrapper and test-wrapper-env.
36682 * INSTALL: Regenerated.
36683
36684 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36685 (__fma): Do not extract and scale down low bits on after-rounding
36686 systems when result rounded to normal precision would have normal
36687 exponent.
36688 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36689 (__fmal): Do not extract and scale down low bits on after-rounding
36690 systems when result rounded to normal precision would have normal
36691 exponent.
36692 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36693 (__fmal): Do not extract and scale down low bits on after-rounding
36694 systems when result rounded to normal precision would have normal
36695 exponent.
36696 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36697 macro.
36698 (fma_test): Add more tests.
36699 (fma_test_towardzero): Likewise.
36700 (fma_test_downward): Likewise.
36701 (fma_test_upward): Likewise.
36702
36703 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36704
36705 * sysdeps/i386/tininess.h: Renamed to ...
36706 * sysdeps/x86/tininess.h: This.
36707 * sysdeps/x86_64/tininess.h: Removed.
36708
36709 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36710
36711 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36712 input. Use $(build-program-cmd).
36713 ($(objpfx)tst-array1-static.out): Likewise.
36714 ($(objpfx)tst-array2.out): Likewise.
36715 ($(objpfx)tst-array3.out): Likewise.
36716 ($(objpfx)tst-array4.out): Likewise.
36717 ($(objpfx)tst-array5.out): Likewise.
36718 ($(objpfx)tst-array5-static.out): Likewise.
36719
36720 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36721
36722 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36723 if defined.
36724
36725 * nss/nsswitch.h (nss_interface_function): Provide new
36726 macro for use with NSS functions.
36727 * grp/initgroups.c: Use new macro.
36728 * nss/getXXbyYY.c: Likewise.
36729 * nss/getXXbyYY_r.c: Likewise.
36730 * nss/getXXent.c: Likewise.
36731 * nss/getXXent_r.c: Likewise.
36732 * sysdeps/posix/getaddrinfo.c: Likewise.
36733
36734 2012-10-30 Andreas Jaeger <aj@suse.de>
36735
36736 * po/ru.po: Update Russion translation from translation project.
36737
36738 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36739
36740 [BZ #14152]
36741 [BZ #14783]
36742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36743 result and shift together with sticky bit instead of replicating
36744 round-to-nearest rounding.
36745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36747 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36748 missing underflow exceptions.
36749 (fma_test_towardzero): Add more tests.
36750 (fma_test_downward): Likewise.
36751 (fma_test_upward): Likewise.
36752
36753 [BZ #14047]
36754 * sysdeps/generic/tininess.h: New file.
36755 * sysdeps/i386/tininess.h: Likewise.
36756 * sysdeps/sh/tininess.h: Likewise.
36757 * sysdeps/x86_64/tininess.h: Likewise.
36758 * stdlib/tst-strtod-underflow.c: Likewise.
36759 * stdlib/tst-tininess.c: Likewise.
36760 * stdlib/strtod_l.c: Include <tininess.h>.
36761 (round_and_return): Do not set errno for exact underflow cases.
36762 Force an underflow exception when setting errno for underflow.
36763 Determine underflow based on rounding to normal precision if
36764 TININESS_AFTER_ROUNDING.
36765 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36766 ERANGE for exact underflow cases.
36767 * stdlib/Makefile (tests): Add tst-tininess and
36768 tst-strtod-underflow.
36769 ($(objpfx)tst-tininess): Use $(link-libm).
36770 ($(objpfx)tst-strtod-underflow): Likewise.
36771
36772 2012-10-30 Andreas Jaeger <aj@suse.de>
36773
36774 [BZ#14767]
36775 * elf/Makefile (tests): Remove conditional for have-initfini-array
36776 since this is now always required and the variable does not exist
36777 anymore.
36778 (tests-static): Likewise.
36779 (modules-names): Likewise.
36780
36781 * po/eo.po: Add Esperanto translation from translation project.
36782
36783 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36784 merged with constructor/destructor.
36785 (init_array): Likewise.
36786 * elf/tst-array2dep.c (fini_array): Likewise.
36787 (init_array): Likewise.
36788
36789 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36790
36791 * manual/message.texi: Delete @cartouche tags.
36792
36793 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36794
36795 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36796 EOPNOTSUPP.
36797 * sysdeps/mach/hurd/fsync.c: Likewise.
36798
36799 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36800 [_POSIX_REALTIME_SIGNALS]: Change condition to
36801 [_POSIX_REALTIME_SIGNALS > 0].
36802
36803 2012-10-27 Andreas Jaeger <aj@suse.de>
36804
36805 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36806 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36808 [__WORDSIZE != 64]: Likewise.
36809
36810 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36811
36812 * iconvdata/tst-table.sh: Remove ${SHELL}.
36813 * iconvdata/tst-tables.sh: Likewise.
36814
36815 2012-10-25 David S. Miller <davem@davemloft.net>
36816
36817 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36818 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36819 of strtoull.
36820
36821 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36822 ifunc-impl-list.c
36823 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36824 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36825 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36826 file.
36827
36828 2012-10-25 Roland McGrath <roland@hack.frob.com>
36829
36830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36831 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36832 __getdirentries.
36833
36834 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36835 Jim Blandy <jimb@codesourcery.com>
36836
36837 * scripts/cross-test-ssh.sh: New file.
36838 * manual/install.texi (Configuring and compiling): Document use of
36839 cross-test-ssh.sh.
36840 * INSTALL: Regenerated.
36841
36842 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36843
36844 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36845 EOPNOTSUPP.
36846
36847 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36848
36849 * Makeconfig (run-program-prefix): Fix comment.
36850
36851 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36852 Jim Blandy <jimb@codesourcery.com>
36853
36854 * Makeconfig (test-wrapper): New variable,
36855 (test-wrapper-env): Likewise.
36856 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36857 (run-built-tests): Define to yes.
36858 (run-program-prefix): Use $(test-wrapper).
36859 (built-program-cmd): Likewise.
36860 * Rules (make-test-out): Use $(test-wrapper-env) and
36861 $(host-built-program-cmd).
36862 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36863 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36864 tst-pathopt.sh.
36865 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36866 $(test-wrapper-env) to tst-rtld-load-self.sh.
36867 ($(objpfx)order2.out): Use $(test-wrapper).
36868 ($(objpfx)tst-initorder.out): Likewise.
36869 ($(objpfx)tst-initorder2.out): Likewise.
36870 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36871 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36872 (test_wrapper_env): New variable. Use it to run ld.so.
36873 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36874 Use it to run ld.so.
36875 (test_wrapper_env): Likewise.
36876 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36877 $(test-wrapper) to run-iconv-test.sh.
36878 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36879 (ICONV): Use $test_wrapper.
36880 * posix/Makefile ($(objpfx)globtest.out): Pass
36881 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36882 globtest.sh, not $(run-program-prefix).
36883 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36884 (test_wrapper): Likewise.
36885 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36886 set together with run_via_rtld_prefix.
36887 (run_program_prefix): Define in terms of test_wrapper and
36888 run_via_rtld_prefix.
36889
36890 2012-10-24 Roland McGrath <roland@hack.frob.com>
36891
36892 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36893 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36894 Targets removed.
36895
36896 [BZ #14743]
36897 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36898 Declare __clock_getres, __clock_gettime, __clock_settime,
36899 __clock_nanosleep, and __clock_getcpuclockid.
36900 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36901 Remove librt_hidden_def (clock_gettime).
36902 * sysdeps/unix/clock_gettime.c: Likewise.
36903 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36904 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36905 * rt/clock_getres.c: Define __clock_getres as an alias.
36906 * sysdeps/posix/clock_getres.c: Likewise.
36907 * rt/clock_settime.c: Define __clock_settime as an alias.
36908 * sysdeps/unix/clock_settime.c: Likewise.
36909 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36910 * sysdeps/unix/clock_nanosleep.c: Likewise.
36911 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36912 * rt/clock-compat.c: New file.
36913 * rt/Makefile (librt-routines): Add clock-compat and move
36914 $(clock-routines) to ...
36915 (routines): ... here, new variable.
36916 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36917 Don't add get_clockfreq here.
36918 * rt/Versions (libc: GLIBC_2.17): New version set.
36919 Add clock_* symbols here.
36920 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36922 (GLIBC_2.17): Add clock_* symbols.
36923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36925 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36927 Likewise.
36928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36929 Likewise.
36930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36934 * NEWS: Mention the move.
36935
36936 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36937 Use __open, __read, __close rather than their public counterparts.
36938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36939 (__get_clockfreq_via_cpuinfo): Likewise.
36940 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36941 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36942
36943 * config.h.in (HAVE_IFUNC): New #undef.
36944 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36945 was successful.
36946 * configure: Regenerated.
36947
36948 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36949
36950 * configure.in: Move READELF check to start of file.
36951 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36952 libc_cv_asm_gnu_indirect_function in the process.
36953 * configure: Regenerated.
36954
36955 2012-10-24 Mike Frysinger <vapier@gentoo.org>
36956
36957 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36958 send the output to /dev/null.
36959 (libc_cv_cc_with_libunwind): Likewise.
36960 (libc_cv_as_noexecstack): Likewise.
36961 * configure: Regenerate.
36962
36963 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36964
36965 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36966
36967 * posix/globtest.sh (TMPDIR): Do not set.
36968 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36969 (testout): Likewise.
36970
36971 2012-10-24 Andreas Jaeger <aj@suse.de>
36972
36973 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36974 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36975 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36976 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36977 posix_fadvise64, posix_fallocate64.
36978
36979 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36980 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36981 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36982 Likewise.
36983 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36984 Likewise.
36985 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36986
36987 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36988 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36989 <bits/fcntl-linux.h>.
36990 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36991
36992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36993 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36994 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36995 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36996 [__WORDSIZE != 64]: Likewise.
36997
36998 2012-10-23 Joseph Myers <joseph@codesourcery.com>
36999
37000 * Makeconfig (run-built-tests): New variable.
37001 * Rules [$(cross-compiling) = yes]: Change condition to
37002 [$(run-built-tests) = no].
37003 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37004 to [$(run-built-tests) = yes].
37005 * elf/Makefile [$(cross-compiling) = no]: Likewise
37006 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37007 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37008 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37009 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37010 * io/Makefile [$(cross-compiling) = no]: Likewise.
37011 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37012 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37013 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37014 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37015 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37016 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37017 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37018 * string/Makefile [$(cross-compiling) = no]: Likewise.
37019
37020 * posix/Makefile ($(objpfx)globtest.out): Pass
37021 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37022 $(rtld-installed-name).
37023 * posix/globtest.sh (elf_objpfx): Remove variable.
37024 (rtld_installed_name): Likewise.
37025 (library_path): Likewise.
37026 (run_program_prefix): New variable. Use for running globtest
37027 binary.
37028
37029 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37030 Joseph Myers <joseph@codesourcery.com>
37031
37032 * Makeconfig (host-built-program-cmd): New variable.
37033 * elf/Makefile (tst-stackguard1-ARGS): Use
37034 $(host-built-program-cmd).
37035 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37036 (tst-spawn-ARGS): Likewise.
37037 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37038
37039 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37040 Jim Blandy <jimb@codesourcery.com>
37041
37042 * Makeconfig (run-via-rtld-prefix): New variable.
37043 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37044 (built-program-cmd): Likewise.
37045
37046 2012-10-22 Andreas Jaeger <aj@suse.de>
37047
37048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37049 __O_RSYNC if it exists, otherwise to O_SYNC.
37050
37051 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37052 Joseph Myers <joseph@codesourcery.com>
37053
37054 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37055 /dev/null.
37056 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37057 from /dev/null
37058 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37059 /dev/null.
37060
37061 2012-10-22 Andreas Jaeger <aj@suse.de>
37062
37063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37064 Define always.
37065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37066
37067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37068 bits/fcntl-linux.h.
37069
37070 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37071 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37072
37073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37074 to __O_LARGEFILE.
37075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37076 to __O_LARGEFILE.
37077
37078 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37079 Joseph Myers <joseph@codesourcery.com>
37080
37081 * config.make.in (NM): New variable.
37082
37083 2012-10-21 Andreas Jaeger <aj@suse.de>
37084
37085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37086 definitions and declarations that are provided by
37087 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37088
37089 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37090
37091 [BZ #14683]
37092 * elf/Makefile (tests-static): Add tst-leaks1-static.
37093 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37094 ($(objpfx)tst-leaks1-static): New rule.
37095 ($(objpfx)tst-leaks1-static-mem): Likewise.
37096 (tst-leaks1-static-ENV): New macro.
37097 * elf/dl-open.c (dl_open_worker): Check the main application
37098 only if SHARED is defined.
37099 * elf/tst-leaks1-static.c: New file.
37100
37101 2012-10-20 Andreas Jaeger <aj@suse.de>
37102
37103 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37104 generic values for Linux.
37105 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37106 and declarations that are provided by <bits/fcntl-linux.h> and
37107 include <bits/fcntl-linux.h>.
37108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37110
37111 2012-10-20 Roland McGrath <roland@hack.frob.com>
37112
37113 * io/fcntl.h: Move include of <bits/types.h> to the top and
37114 include it unconditionally.
37115
37116 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37117
37118 * wcsmbs/Makefile (tests-ifunc): New variable.
37119 (tests): Add $(tests-ifunc).
37120 * wcsmbs/test-wcschr-ifunc.c: New file.
37121 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37122 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37123 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37124 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37125 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37126
37127 * string/Makefile (tests-ifunc): New variable.
37128 (tests): Add $(tests-ifunc).
37129 * string/test-memccpy.c (TEST_NAME): New macro.
37130 * string/test-memchr.c (TEST_NAME): Likewise.
37131 * string/test-memcmp.c (TEST_NAME): Likewise.
37132 * string/test-memcpy.c (TEST_NAME): Likewise.
37133 * string/test-memmem.c (TEST_NAME): Likewise.
37134 * string/test-memmove.c (TEST_NAME): Likewise.
37135 * string/test-memset.c (TEST_NAME): Likewise.
37136 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37137 * string/test-stpcpy.c (TEST_NAME): Likewise.
37138 * string/test-stpncpy.c (TEST_NAME): Likewise.
37139 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37140 * string/test-strcasestr.c (TEST_NAME): Likewise.
37141 * string/test-strcat.c (TEST_NAME): Likewise.
37142 * string/test-strchr.c (TEST_NAME): Likewise.
37143 * string/test-strcmp.c(TEST_NAME): Likewise.
37144 * string/test-strcpy.c (TEST_NAME): Likewise.
37145 * string/test-strcspn.c (TEST_NAME): Likewise.
37146 * string/test-strlen.c (TEST_NAME): Likewise.
37147 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37148 * string/test-strncmp.c (TEST_NAME): Likewise.
37149 * string/test-strncpy.c (TEST_NAME): Likewise.
37150 * string/test-strnlen.c (TEST_NAME): Likewise.
37151 * string/test-strpbrk.c (TEST_NAME): Likewise.
37152 * string/test-strrchr.c (TEST_NAME): Likewise.
37153 * string/test-strspn.c (TEST_NAME): Likewise.
37154 * string/test-strstr.c (TEST_NAME): Likewise.
37155 * string/test-bcopy-ifunc.c: New file.
37156 * string/test-bzero-ifunc.c: Likewise.
37157 * string/test-memccpy-ifunc.c: Likewise.
37158 * string/test-memchr-ifunc.c: Likewise.
37159 * string/test-memcmp-ifunc.c: Likewise.
37160 * string/test-memcpy-ifunc.c: Likewise.
37161 * string/test-memmem-ifunc.c: Likewise.
37162 * string/test-memmove-ifunc.c: Likewise.
37163 * string/test-mempcpy-ifunc.c: Likewise.
37164 * string/test-memset-ifunc.c: Likewise.
37165 * string/test-rawmemchr-ifunc.c: Likewise.
37166 * string/test-stpcpy-ifunc.c: Likewise.
37167 * string/test-stpncpy-ifunc.c: Likewise.
37168 * string/test-strcasecmp-ifunc.c: Likewise.
37169 * string/test-strcasestr-ifunc.c: Likewise.
37170 * string/test-strcat-ifunc.c: Likewise.
37171 * string/test-strchr-ifunc.c: Likewise.
37172 * string/test-strchrnul-ifunc.c: Likewise.
37173 * string/test-strcmp-ifunc.c: Likewise.
37174 * string/test-strcpy-ifunc.c: Likewise.
37175 * string/test-strcspn-ifunc.c: Likewise.
37176 * string/test-strlen-ifunc.c: Likewise.
37177 * string/test-strncasecmp-ifunc.c: Likewise.
37178 * string/test-strncat-ifunc.c: Likewise.
37179 * string/test-strncmp-ifunc.c: Likewise.
37180 * string/test-strncpy-ifunc.c: Likewise.
37181 * string/test-strnlen-ifunc.c: Likewise.
37182 * string/test-strpbrk-ifunc.c: Likewise.
37183 * string/test-strrchr-ifunc.c: Likewise.
37184 * string/test-strspn-ifunc.c: Likewise.
37185 * string/test-strstr-ifunc.c: Likewise.
37186
37187 * debug/Makefile (tests-ifunc): New variable.
37188 (tests): Add $(tests-ifunc).
37189 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37190 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37191 * debug/test-stpcpy_chk-ifunc.c: New file.
37192 * debug/test-strcpy_chk-ifunc.c: Likewise.
37193
37194 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37195
37196 [BZ #13601]
37197 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37198 header is not read in.
37199
37200 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37201
37202 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37203 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37204 directly. Pass built executable to script as
37205 $(built-program-cmd).
37206 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37207 $testprogram without using LD_LIBRARY_PATH and $ldso.
37208
37209 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37210 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37211 $(rtld-installed-name).
37212 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37213 (rtld_installed_name): Likewise.
37214 (library_path): Likewise.
37215 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37216 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37217 $(run-program-prefix) to tst-tables.sh.
37218 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37219 it to run tst-table-from and tst-table-to.
37220 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37221 Pass it to tst-table.sh.
37222 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37223 $(run-program-prefix) to tst-gettext.sh.
37224 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37225 tst-translit.sh.
37226 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37227 tst-gettext2.sh.
37228 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37229 to run tst-gettext.
37230 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37231 to run tst-gettext2.
37232 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37233 to run tst-translit.
37234 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37235 $(run-program-prefix) to tst-mtrace.sh.
37236 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37237 to run tst-mtrace.
37238 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37239 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37240 $(rtld-installed-name).
37241 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37242 (rtld_installed_name): Likewise.
37243 (run_program_prefix): New variable. Use it to run wordexp-test.
37244
37245 * Makeconfig (ARCH): Remove all definitions.
37246 (machine): Likewise.
37247 [ARCH]: Remove conditional code.
37248 [!objdir]: Give error.
37249 [!objdir] (objpfx): Remove.
37250 [!objdir] (common-objpfx): Likewise.
37251 [!objdir] (common-objdir): Likewise.
37252 * configure.in (config_makefile): Remove. Hardcode Makefile in
37253 AC_CONFIG_FILES call.
37254 * configure: Regenerated.
37255
37256 [BZ #13888]
37257 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37258 or TMPDIR.
37259 (testout): Likewise.
37260
37261 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37262 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37263 $(rtld-installed-name).
37264 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37265 (rtld_installed_name): Likwise.
37266 (runit): Remove function.
37267 (run_getconf): New variable, Use it for running getconf binary.
37268
37269 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37270
37271 [BZ #14716]
37272 * string/test-memmem.c (check_result): New function.
37273 (do_one_test): Use it.
37274 (check1): New function.
37275 (test_main): Use it.
37276
37277 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37278
37279 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37280
37281 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37282
37283 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37284 (_G_LSEEK64): Likewise.
37285 (_G_MMAP64): Likewise.
37286 (_G_FSTAT64): Likewise.
37287 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37288 (_G_LSEEK64): Likewise.
37289 (_G_MMAP64): Likewise.
37290 (_G_FSTAT64): Likewise.
37291 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37292 unconditional. Call __mmap64 directly.
37293 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37294 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37295 __lseek64 directly.
37296 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37297 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37298 __mmap64 directly.
37299 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37300 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37301 __lseek64 directly.
37302 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37303 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37304 __lseek64 directly.
37305 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37306 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37307 __lseek64 directly.
37308 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37309 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37310 __fxstat64 directly.
37311 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37312 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37313 unconditional.
37314 (freopen64) [!_G_OPEN64]: Remove conditional code.
37315 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37316 unconditional.
37317 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37318 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37319 unconditional.
37320 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37321 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37322 unconditional.
37323 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37324 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37325 unconditional.
37326 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37327 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37328 unconditional.
37329 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37330 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37331 unconditional.
37332 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37333 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37334 unconditional.
37335 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37336
37337 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37338
37339 [BZ #12140]
37340 * manual/memory.texi (Malloc Tunable Parameters): Add note
37341 about free list pointers overwriting some perturb bytes.
37342 Wording suggested by Roland McGrath.
37343
37344 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37345
37346 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37347 (lgamma_test): Likewise.
37348 (tgamma_test): Likewise.
37349
37350 2012-10-16 Florian Weimer <fweimer@redhat.com>
37351
37352 [BZ #14700]
37353 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37354 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37355
37356 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37357
37358 * NEWS: Mention BZ #14716.
37359 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37360 when removing AVAILABLE1_USES_J macro.
37361
37362 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37363
37364 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37365 (__bswap_64): __uint64_t for unsigned 64-bit int.
37366
37367 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37368
37369 * include/string.h (memmem): Declare libc hidden alias.
37370 * string/memmem.c (memmem): Define libc hidden alias.
37371 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37372 __read, __close instead of open, read, close.
37373
37374 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37375
37376 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37377 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37378 global and hidden.
37379 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37380 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37381 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37382 Likewise.
37383 (__rawmemchr_sse2): Likewise.
37384 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37385 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37386 (__strchr_sse2): Likewise.
37387 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37388 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37389 (__strcasecmp_sse2): Likewise.
37390 (__strncasecmp_sse2): Likewise.
37391 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37392 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37393 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37394 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37395 (__strrchr_sse2): Likewise.
37396 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37397 ifunc-impl-list.c.
37398 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37399 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37400 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37401 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37402 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37403 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37404 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37405 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37406 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37407 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37408 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37409 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37410 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37411 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37412 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37413 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37414 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37415 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37416 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37417 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37418 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37419 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37420 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37421 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37422 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37423 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37424 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37425 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37426 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37427 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37428
37429 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37430 global and hidden.
37431 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37432 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37433 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37434 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37435 Likewise.
37436 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37437 Likewise.
37438 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37439 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37440 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37441 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37442 ifunc-impl-list.c.
37443 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37444 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37445 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37446 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37447 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37448 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37449 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37450 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37451 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37452 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37453 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37454 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37455 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37456 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37457 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37458 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37459 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37460 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37461 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37462 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37463 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37464 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37465 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37466 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37467 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37468 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37469 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37470 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37471 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37472 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37473 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37474 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37475 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37476 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37477 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37478 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37479 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37480 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37481 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37482 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37483 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37484
37485 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37486 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37487 * include/ifunc-impl-list.h: New file.
37488 * misc/ifunc-impl-list.c: Likewise.
37489 * misc/Makefile (routines): Add ifunc-impl-list.
37490 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37491 * string/test-string.h: Include <ifunc-impl-list.h>.
37492 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37493 TEST_NAME]: New variables.
37494 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37495 are defined.
37496 (test_init): Call __libc_ifunc_impl_list to initialize
37497 func_list if TEST_IFUNC and TEST_NAME are defined.
37498
37499 * string/Makefile (strop-tests): Add bcopy and bzero.
37500 * string/test-bcopy.c: New file.
37501 * string/test-bzero.c: Likewise.
37502 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37503 defined.
37504 * string/test-memset.c: Support bzero test if TEST_BZERO is
37505 defined.
37506 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37507 __libc_memmove.
37508 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37509 __libc_memset.
37510 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37511 of memset.
37512
37513 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37514
37515 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37516 * configure: Regenerated.
37517
37518 * Makeconfig (+link-static-before-libc): Don't include
37519 $(link-static-libc).
37520
37521 * libio/libio.h (_IO_pos_t): Remove.
37522
37523 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37524
37525 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37526 McGrath.
37527
37528 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37529
37530 * crypt/crypt-entry.c: Include fips-private.h.
37531 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37532 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37533 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37534 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37535
37536 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37537
37538 * crypt/crypt-private.h: Include stdbool.h.
37539 (_ufc_setup_salt_r): Return bool.
37540 * crypt/crypt-entry.c: Include errno.h.
37541 (__crypt_r): Return NULL with EINVAL for bad salt.
37542 * crypt/crypt_util.c (bad_for_salt): New.
37543 (_ufc_setup_salt_r): Check that salt is long enough and within
37544 the specified alphabet.
37545 * crypt/badsalttest.c: New file.
37546 * crypt/Makefile (tests): Add it.
37547 ($(objpfx)badsalttest): New.
37548
37549 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37550
37551 * NEWS: Add entry for BZ #14602.
37552
37553 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37554
37555 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37556 type-generic.
37557 * math/libm-test.inc: Update comment listing what functions and
37558 macros are tested.
37559 (isgreater_test): New function.
37560 (isgreaterequal_test): Likewise.
37561 (isless_test): Likewise.
37562 (islessequal_test): Likewise.
37563 (islessgreater_test): Likewise.
37564 (isunordered_test): Likewise.
37565 (main): Call the new functions.
37566
37567 2012-10-09 Roland McGrath <roland@hack.frob.com>
37568
37569 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37570 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37571 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37572 * sysdeps/i386/configure: Regenerated.
37573 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37574 * sysdeps/mach/configure: Regenerated.
37575 * sysdeps/mach/hurd/configure: Regenerated.
37576 * sysdeps/powerpc/configure: Regenerated.
37577 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37578 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37579 * sysdeps/s390/s390-32/configure: Regenerated.
37580 * sysdeps/s390/s390-64/configure: Regenerated.
37581 * sysdeps/sh/configure: Regenerated.
37582 * sysdeps/sparc/configure: Regenerated.
37583 * sysdeps/unix/sysv/linux/configure: Regenerated.
37584 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37585 * sysdeps/x86_64/configure: Regenerated.
37586
37587 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37588 defined. Don't check if MAP is NULL.
37589
37590 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37591
37592 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37593 (_G_stat64): Likewise.
37594 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37595 (_G_stat64): Likewise.
37596 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37597 instead of struct _G_stat64.
37598 * libio/fileops.c (mmap_remap_check): Likewise.
37599 (decide_maybe_mmap): Likewise.
37600 (_IO_new_file_seekoff): Likewise.
37601 (_IO_file_stat): Likewise.
37602 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37603 _G_off64_t.
37604 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37605 instead of struct _G_stat64.
37606 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37607
37608 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37609
37610 [BZ #14602]
37611 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37612 Replace with ...
37613 (CHECK_EOL): New macro.
37614 (two_way_short_needle): Check beginning of haystack for EOL. Use
37615 CHECK_EOL.
37616 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37617 Replace with CHECK_EOL.
37618 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37619 Replace with CHECK_EOL.
37620
37621 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37622
37623 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37624 type-generic.
37625 * math/libm-test.inc: Update comment listing what functions and
37626 macros are tested.
37627 (finite_test): New function.
37628 (isinf_test): Likewise.
37629 (isnan_test): Likewise.
37630 (fpclassify_test): Test subnormal input.
37631 (isfinite_test): Likewise.
37632 (isnormal_test): Likewise.
37633 (main): Call the new functions.
37634
37635 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37636
37637 [BZ #14660]
37638 * Makerules (%.dynsym): Force C locale when running
37639 $(OBJDUMP) --dynamic-syms.
37640
37641 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37642
37643 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37644 <stdint.h>.
37645
37646 2012-10-06 David S. Miller <davem@davemloft.net>
37647
37648 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37649 upper 32-bits of the length value in %o2 since we use branch-on-register
37650 tests which consider the entire 64-bit register.
37651
37652 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37653
37654 * string/test-strstr.c (check2): Add a test for page boundary.
37655
37656 2012-10-05 David S. Miller <davem@davemloft.net>
37657
37658 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37659 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37660 file.
37661 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37662 sysdep_routines.
37663 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37664 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37665 and bzero when HWCAP_SPARC_CRYPTO is present.
37666
37667 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37668
37669 [BZ #14602]
37670 * string/test-strstr.c (check2): New function.
37671 (test_main): Call check2.
37672
37673 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37674 and bug-strchr1.
37675 * string/bug-strcasestr1.c (do_test): Moved to ...
37676 * string/test-strcasestr.c (check1): Here. New function.
37677 (do_one_test): Break out result checking code into ...
37678 (check_result): This. New function.
37679 (do_one_test): Call check_result.
37680 (test_main): Call check1.
37681 * string/bug-strchr1.c (do_test): Moved to ...
37682 * string/test-strchr.c (check1): Here. New function.
37683 (do_one_test): Break out result checking code into ...
37684 (check_result): This. New function.
37685 (do_one_test): Call check_result.
37686 (test_main): Call check1.
37687 * string/bug-strstr1.c (main): Moved to ...
37688 * string/test-strstr.c (check1): Here. New function.
37689 (do_one_test): Break out result checking code into ...
37690 (check_result): This. New function.
37691 (do_one_test): Call check_result.
37692 (test_main): Call check1.
37693 * string/bug-strcasestr1.c: Removed.
37694 * string/bug-strchr1.c: Likewise.
37695 * string/bug-strstr1.c: Likewise.
37696
37697 * elf/Makefile (dl-routines): Add hwcaps.
37698 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37699 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37700 (_dl_important_hwcaps): Moved to ...
37701 * elf/dl-hwcaps.c: Here. New file.
37702 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37703
37704 [BZ #14557]
37705 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37706 if IS_IN_rtld isn't defined.
37707
37708 * elf/dl-support.c (_dl_sysinfo_map): New.
37709 Include "get-dynamic-info.h" and "setup-vdso.h".
37710 (_dl_non_dynamic_init): Call setup_vdso.
37711 * elf/dynamic-link.h: Don't include <assert.h>.
37712 (elf_get_dynamic_info): Moved to ...
37713 * elf/get-dynamic-info.h: Here. New file.
37714 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37715 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37716 * elf/setup-vdso.h: Here. New file.
37717 * elf/rtld.c: Include "setup-vdso.h".
37718 (dl_main): Call setup_vdso.
37719
37720 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37721
37722 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37723 creal in comment listing functions tested. List finite, isinf,
37724 isnan, isless, islessequal, isgreater, isgreaterequal,
37725 islessgreater, isunordered, lgamma_r and pow10 as functions and
37726 macros not tested. Mention which functions not tested are aliases
37727 for other functions. Fix typo. Note that signs of NaNs are not
37728 tested.
37729
37730 * scripts/config.guess: Update from config.git.
37731 * scripts/config.sub: Likewise.
37732
37733 2012-10-04 Roland McGrath <roland@hack.frob.com>
37734
37735 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37736 * misc/madvise.c (madvise): Renamed to __madvise.
37737 Make madvise a weak alias.
37738 * include/sys/mman.h: Declare __madvise.
37739 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37740 * sysdeps/unix/syscalls.list
37741 (madvise): Make __madvise the strong name, and madvise a weak alias.
37742 * sysdeps/unix/sysv/linux/syscalls.list
37743 (madvise, mmap): Remove redundant entries.
37744 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37745 * malloc/malloc.c (mtrim): Likewise.
37746 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37747
37748 2012-10-03 Roland McGrath <roland@hack.frob.com>
37749
37750 * sysdeps/mach/hurd/dl-cache.c: File removed.
37751 * config.h.in (USE_LDCONFIG): New #undef.
37752 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37753 * configure: Regenerated.
37754 * elf/Makefile (dl-routines): Add dl-cache only under
37755 [$(use-ldconfig) = yes].
37756 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37757 cache on [USE_LDCONFIG].
37758 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37759 [USE_LDCONFIG].
37760 * elf/rtld.c (dl_main): Likewise.
37761
37762 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37763
37764 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37765 _SC_LEVEL4_CACHE_LINESIZE.
37766
37767 2012-10-03 Roland McGrath <roland@hack.frob.com>
37768
37769 * sysdeps/unix/bsd/confstr.h: File removed.
37770
37771 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37772
37773 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37774 sys/sdt-config.h.
37775
37776 2012-10-02 Roland McGrath <roland@hack.frob.com>
37777
37778 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37779 Make 'mapoff' field ElfW(Off) rather than off_t.
37780
37781 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37782
37783 * nscd/Makefile: Remove nscd-cflags and all its users.
37784 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37785 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37786
37787 [BZ #10631]
37788 * malloc.c (malloc_printerr): Clarify error message.
37789
37790 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37791
37792 [BZ #14648]
37793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37794 Set bit_FMA_Usable if FMA is supported.
37795 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37796 macro.
37797 (bit_FMA4_Usable): Updated.
37798 (index_FMA_Usable): New macro.
37799 (CPUID_FMA): Likewise
37800 (HAS_FMA): Defined with bit_FMA_Usable.
37801
37802 2012-10-01 Roland McGrath <roland@hack.frob.com>
37803
37804 * bits/types.h (__swblk_t): Type removed.
37805 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37806 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37808 (__SWBLK_T_TYPE): Likewise.
37809 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37810 (__SWBLK_T_TYPE): Likewise.
37811 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37812 (__SWBLK_T_TYPE): Likewise.
37813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37814 (__SWBLK_T_TYPE): Likewise.
37815
37816 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37817 Honza Horak <hhorak@redhat.com>
37818
37819 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37820 (xdr_mapname): Use YPMAXMAP as maxsize.
37821 (xdr_peername): Use YPMAXPEER as maxsize.
37822 (xdr_keydat): Use YPAXRECORD as maxsize.
37823 (xdr_valdat): Use YPMAXRECORD as maxsize.
37824
37825 2012-10-01 Roland McGrath <roland@hack.frob.com>
37826
37827 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37828
37829 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37830 * csu/init-first.c: ... here.
37831 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37832 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37833 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37834 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37835 * sysdeps/i386/init-first.c: File removed.
37836 * sysdeps/sh/init-first.c: File removed.
37837
37838 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37839
37840 [BZ #14645]
37841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37842 if x * y might underflow to zero and z is zero.
37843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37845 * math/libm-test.inc (min_subnorm_value): New variable.
37846 (fma_test): Add more tests.
37847 (fma_test_towardzero): Likewise.
37848 (fma_test_downward): Likewise
37849 (fma_test_upward): Likewise.
37850 (initialize): Set min_subnorm_value.
37851
37852 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37853
37854 [BZ #14638]
37855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37856 0 + 0.
37857 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37858 mode for addition resulting in exact zero.
37859 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37861 exact 0 + 0.
37862 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37864 * math/libm-test.inc (fma_test): Add more tests.
37865 (fma_test_towardzero): New function.
37866 (fma_test_downward): Likewise.
37867 (fma_test_upward): Likewise.
37868 (main): Call the new functions.
37869
37870 2012-09-28 David S. Miller <davem@davemloft.net>
37871
37872 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37873
37874 2012-09-28 Roland McGrath <roland@hack.frob.com>
37875
37876 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37877 instead of SIGALRM.
37878
37879 * sysdeps/gnu/_G_config.h: Moved to ...
37880 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37881 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37882 * sysdeps/generic/_G_config.h: ... here.
37883
37884 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37885
37886 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37887
37888 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37889 Conditionalize target on [libnss_test1.so-version].
37890
37891 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37892
37893 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37894 (elfobjdir): Move out of conditionals.
37895
37896 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37897 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37898 (__nss_lookup_function): Conditionalize label remove_from_tree on
37899 [!DO_STATIC_NSS || SHARED], matching its only use.
37900
37901 2012-09-28 David S. Miller <davem@davemloft.net>
37902
37903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37904 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37905 file.
37906 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37907 sysdep_routines.
37908 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37909 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37910 when HWCAP_SPARC_CRYPTO is present.
37911
37912 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37913
37914 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37915
37916 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37917
37918 [BZ #6530]
37919 * stdio-common/vfprintf.c (process_string_arg): Revert
37920 2000-07-22 change.
37921
37922 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37923
37924 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37925 for testcase.
37926 * stdio-common/tst-sprintf.c: Include <locale.h>
37927 (main): Test sprintf's handling of incomplete multibyte
37928 characters.
37929
37930 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37931
37932 * elf/dl-runtime.c (VERSYMIDX): Removed.
37933 * elf/dl-version.c (VERSYMIDX): Likewise.
37934 * elf/do-rel.h (VERSYMIDX): Likewise.
37935 (VALIDX): Likewise.
37936 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37937 * elf/rtld.c (VALIDX): Likewise.
37938 (ADDRIDX): Likewise.
37939 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37940 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37941 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37942 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37943 (VALIDX): Likewise.
37944 (ADDRIDX): Likewise.
37945
37946 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37947
37948 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37949
37950 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37951
37952 [BZ #11438]
37953 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37954 to global scope.
37955 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37956 addresses are in the same scope as 192.0.2/24.
37957 * posix/gai.conf: Document new scope table defaults.
37958
37959 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37960
37961 [BZ #5298]
37962 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37963 for ftell. Compute offsets from write pointers instead.
37964 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37965
37966 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37967
37968 [BZ #14543]
37969 * libio/Makefile (tests): New test case tst-fseek.
37970 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37971 combination works in wide mode.
37972 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37973 state when the external buffer state changes.
37974
37975 2012-09-27 David S. Miller <davem@davemloft.net>
37976
37977 [BZ #14376]
37978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37979 pass reloc->r_addend in as the 'high' argument to
37980 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37981
37982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37983
37984 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37985
37986 * rt/tst-aio2.c: Include <pthread.h>.
37987 * rt/tst-aio3.c: Likewise.
37988
37989 2012-09-27 Steve Ellcey <sellcey@mips.com>
37990
37991 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37992
37993 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37994
37995 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37996 contents on [SHARED].
37997
37998 2012-09-26 Marek Polacek <polacek@redhat.com>
37999
38000 [BZ #14530]
38001 [BZ #13741]
38002 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38003 for C++ and GCC <4.3 as well as for non GCC compilers.
38004
38005 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38006
38007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38008
38009 2012-09-25 Roland McGrath <roland@hack.frob.com>
38010
38011 * Makefile.in (all, install): Declare with .PHONY.
38012 Reported by Michael Hope <michael.hope@linaro.org>.
38013
38014 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38015
38016 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38017 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38018 system header.
38019 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38020 Likewise.
38021 (sydep_routines): Add the new and the internal functions.
38022 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38023 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38025 (GLIBC_2.17): Add the new function.
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38027 (GLIBC_2.17): Likewise.
38028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38029 (GLIBC_2.17): Likewise.
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38031 (GLIBC_2.17): Likewise.
38032 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38033
38034 2012-09-25 Alan Modra <amodra@gmail.com>
38035
38036 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38037 Add release barrier before setting once_control to say
38038 initialisation is done. Add hints on lwarx. Use macro in
38039 place of isync.
38040 (clear_once_control): Add release barrier.
38041
38042 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38043
38044 [BZ #13629]
38045 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38046 specially.
38047 * math/s_clog10.c (__clog10): Likewise.
38048 * math/s_clog10f.c (__clog10f): Likewise.
38049 * math/s_clog10l.c (__clog10l): Likewise.
38050 * math/s_clogf.c (__clogf): Likewise.
38051 * math/s_clogl.c (__clogl): Likewise.
38052 * math/Makefile (libm-calls): Add x2y2m1.
38053 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38054 (__x2y2m1): Likewise.
38055 (__x2y2m1l): Likewise.
38056 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38057 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38058 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38059 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38060 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38061 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38062 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38063 * sysdeps/i386/fpu/libm-test-ulps: Update.
38064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38065
38066 [BZ #14621]
38067 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38068 int as type of variable DEPTH.
38069 (glob): Use size_t instead of int as type of variables NEWCOUNT
38070 and OLD_PATHC.
38071
38072 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38073
38074 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38075 Add s_sincosf-sse2.
38076 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38077 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38078 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38079 macros for using routine as __sincosf_ia32.
38080 Use macro for function declaration and weak_alias.
38081 * sysdeps/i386/fpu/libm-test-ulps: Update.
38082
38083 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38085
38086 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38087 subnormal argument.
38088 * math/s_cexpf.c (__cexpf): Likewise.
38089 * math/s_csinf.c (__csinf): Likewise.
38090 * math/s_csinhf.c (__csinhf): Likewise.
38091 * math/s_ctanf.c (__ctanf): Likewise.
38092 * math/s_ctanhf.c (__ctanhf): Likewise.
38093 * math/s_ccosh.c (__ccoshf): Likewise.
38094 * math/s_cexp.c (__cexpl): Likewise.
38095 * math/s_csin.c (__csin): Likewise.
38096 * math/s_csinh.c (__csinh): Likewise.
38097 * math/s_ctan.c (__ctan): Likewise.
38098 * math/s_ctanh.c (ctanh): Likewise.
38099 * math/s_ccoshl.c (__ccoshl): Likewise.
38100 * math/s_cexpl.c (__cexpl): Likewise.
38101 * math/s_csinl.c (__csinl): Likewise.
38102 * math/s_csinhl.c (__csinhl): Likewise.
38103 * math/s_ctanl.c (__ctanl): Likewise.
38104 * math/s_ctanhl.c (__ctanhl): Likewise.
38105
38106 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38107
38108 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38109 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38110 (_IO_off_t): Define to __off_t, not _G_off_t.
38111 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38112 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38113 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38114 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38115 type of __dummy and __dummy2 fields.
38116 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38117 (_G_ssize_t): Likewise.
38118 (_G_off_t): Likewise.
38119 (_G_pid_t): Likewise.
38120 (_G_uid_t): Likewise.
38121 (_G_wchar_t): Likewise.
38122 (_G_wint_t): Likewise.
38123 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38124 (_G_ssize_t): Likewise.
38125 (_G_off_t): Likewise.
38126 (_G_pid_t): Likewise.
38127 (_G_uid_t): Likewise.
38128 (_G_wchar_t): Likewise.
38129 (_G_wint_t): Likewise.
38130 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38131 (_G_ssize_t): Likewise.
38132 (_G_off_t): Likewise.
38133 (_G_pid_t): Likewise.
38134 (_G_uid_t): Likewise.
38135 (_G_wchar_t): Likewise.
38136 (_G_wint_t): Likewise.
38137
38138 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38139
38140 * malloc/arena.c: Include malloc-sysdep.h.
38141 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38142 is sufficient to shrink the heap or an unmap is needed.
38143 * sysdeps/generic/malloc-sysdep.h: New file. Define
38144 new function check_may_shrink_heap.
38145 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38146 new function check_may_shrink_heap.
38147
38148 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38149
38150 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38151 comments.
38152
38153 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38154
38155 * catgets/test-gencat.sh: Add "set -e".
38156 * elf/tst-pathopt.sh: Likewise.
38157 * grp/tst_fgetgrent.sh: Likewise.
38158 * iconvdata/run-iconv-test.sh: Likewise.
38159 * intl/tst-gettext.sh: Likewise.
38160 * intl/tst-gettext2.sh: Likewise.
38161 * intl/tst-gettext4.sh: Likewise.
38162 * intl/tst-gettext6.sh: Likewise.
38163 * intl/tst-translit.sh: Likewise.
38164 * io/ftwtest-sh: Likewise.
38165 * libio/test-freopen.sh: Likewise.
38166 * malloc/tst-mtrace.sh: Likewise.
38167 * posix/globtest.sh: Likewise.
38168 * posix/tst-getconf.sh: Likewise.
38169 * posix/wordexp-tst.sh: Likewise.
38170 * stdio-common/tst-printf.sh: Likewise.
38171 * stdio-common/tst-unbputc.sh: Likewise.
38172 * stdlib/tst-fmtmsg.sh: Likewise.
38173 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38174 * catgets/Makefile: Do not specify -e option when running
38175 testsuite shell scripts.
38176 * elf/Makefile: Likewise.
38177 * grp/Makefile: Likewise.
38178 * iconvdata/Makefile: Likewise.
38179 * intl/Makefile: Likewise.
38180 * io/Makefile: Likewise.
38181 * libio/Makefile: Likewise.
38182 * malloc/Makefile: Likewise.
38183 * posix/Makefile: Likewise.
38184 * stdio-common/Makefile: Likewise.
38185 * stdlib/Makefile: Likewise.
38186 * sysdeps/x86_64/Makefile: Likewise.
38187
38188 * io/ftwtest-sh: Add copyright header.
38189 * posix/globtest.sh: Likewise.
38190 * posix/tst-getconf.sh: Likewise.
38191 * posix/wordexp-tst.sh: Likewise.
38192 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38193
38194 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38195
38196 [BZ #13679]
38197 * Makeconfig (+link): Defined as $(+link-static) if
38198 $(build-shared) isn't yes.
38199 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38200 isn't yes.
38201 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38202
38203 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38204
38205 [BZ #14562]
38206 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38207 new chunk size with MALLOC_ALIGN_MASK.
38208
38209 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38210
38211 [BZ #5044]
38212 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38213 <rounding-mode.h>.
38214 (__printf_fphex): Determine rounding using get_rounding_mode and
38215 round_away.
38216 * stdio-common/tst-printf-round.c (struct hex_test): New
38217 structure.
38218 (hex_tests): New variable.
38219 (test_hex_in_one_mode): New function.
38220 (do_test): Also run tests for hex float output.
38221
38222 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38223
38224 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38225 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38226 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38227 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38228 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38229 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38230 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38231 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38232
38233 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38234
38235 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38236 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38237 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38238 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38239
38240 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38241
38242 [BZ #14579]
38243 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38244 mode only.
38245 * elf/tst-rtld-load-self.sh: New test.
38246 * elf/Makefile: Run it.
38247
38248 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38249
38250 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38251 (tst-writev-ENV): Remove.
38252 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38253
38254 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38255
38256 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38257
38258 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38259
38260 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38261 unconditional.
38262 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38263 Likewise.
38264 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38265 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38266 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38267 Likewise.
38268
38269 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38270
38271 [BZ #14587]
38272 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38273 * config.make.in (have-cpp-asm-debuginfo): Removed.
38274 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38275 * configure: Regenerated.
38276
38277 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38278
38279 [BZ #5044]
38280 * stdio-common/printf_fp.c: Include <stdbool.h> and
38281 <rounding-mode.h>.
38282 (___printf_fp): Determine rounding using get_rounding_mode and
38283 round_away.
38284 * stdio-common/tst-printf-round.c: New file.
38285 * stdio-common/Makefile (tests): Add tst-printf-round.
38286 (link-libm): New variable.
38287 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38288
38289 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38290
38291 [BZ #14576]
38292 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38293 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38294 Likewise.
38295 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38296 Likewise.
38297
38298 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38299
38300 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38301 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38302 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38303 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38304
38305 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38306
38307 [BZ #14518]
38308 * include/rounding-mode.h: New file.
38309 * sysdeps/generic/get-rounding-mode.h: Likewise.
38310 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38311 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38312 (MAX_VALUE): New macro.
38313 (MIN_VALUE): Likewise.
38314 (overflow_value): New function.
38315 (underflow_value): Likewise.
38316 (round_and_return): Use overflow_value and underflow_value to
38317 determine return values in overflow and underflow cases. Use
38318 round_away to determine rounding depending on rounding mode.
38319 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38320 determine return values in overflow and underflow cases.
38321 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38322 (struct test_results): New structure.
38323 (struct test): Use struct test_results to store expected results
38324 for all rounding modes.
38325 (TEST): Include expected results for all rounding modes.
38326 (test_in_one_mode): New function.
38327 (do_test): Use test_in_one_mode to compute and check results.
38328 Check results for all rounding modes.
38329 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38330 $(link-libm).
38331
38332 2012-12-09 Allan McRae <allan@archlinux.org>
38333
38334 * sysdeps/i386/fpu/libm-test-ulps: Update
38335
38336 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38337
38338 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38339 (_G_int32_t): Likewise.
38340 (_G_uint16_t): Likewise.
38341 (_G_uint32_t): Likewise.
38342 (_G_HAVE_BOOL): Likewise.
38343 (_G_HAVE_ATEXIT): Likewise.
38344 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38345 (_G_HAVE_IO_FILE_OPEN): Likewise.
38346 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38347 (_G_int32_t): Likewise.
38348 (_G_uint16_t): Likewise.
38349 (_G_uint32_t): Likewise.
38350 (_G_HAVE_BOOL): Likewise.
38351 (_G_HAVE_ATEXIT): Likewise.
38352 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38353 (_G_HAVE_IO_FILE_OPEN): Likewise.
38354 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38355 (_G_int32_t): Likewise.
38356 (_G_uint16_t): Likewise.
38357 (_G_uint32_t): Likewise.
38358 (_G_HAVE_BOOL): Likewise.
38359 (_G_HAVE_ATEXIT): Likewise.
38360 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38361 (_G_HAVE_IO_FILE_OPEN): Likewise.
38362
38363 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38364
38365 * csu/libc-tls.c: Update copyright years.
38366
38367 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38368
38369 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38370 [!_G_USING_THUNKS]: Remove conditional code.
38371 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38372 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38373
38374 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38375 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38376 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38377 (_G_VTABLE_LABEL_PREFIX): Likewise.
38378 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38379 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38380 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38381 (_G_VTABLE_LABEL_PREFIX): Likewise.
38382 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38383 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38384 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38385 (_G_VTABLE_LABEL_PREFIX): Likewise.
38386 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38387
38388 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38389
38390 * libio/Makefile: Include ../Makeconfig before tests.
38391 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38392 only if $(build-shared) is yes.
38393
38394 * iconv/gconv_db.c: Update copyright years.
38395
38396 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38397
38398 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38399 unwind info if defined PIC. Fix special cases description.
38400 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38401
38402 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38403 DP_HI_MASK entry.
38404 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38405
38406 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38407
38408 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38409
38410 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38411 is NULL.
38412
38413 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38414 (LDLIBS-tst-chk4): This.
38415 (LDFLAGS-tst-chk5): Renamed to ...
38416 (LDLIBS-tst-chk5): This.
38417 (LDFLAGS-tst-chk6): Renamed to ...
38418 (LDLIBS-tst-chk6): This.
38419 (LDFLAGS-tst-lfschk4): Renamed to ...
38420 (LDLIBS-tst-lfschk4): This.
38421 (LDFLAGS-tst-lfschk5): Renamed to ...
38422 (LDLIBS-tst-lfschk5): This.
38423 (LDFLAGS-tst-lfschk6): Renamed to ...
38424 (LDLIBS-tst-lfschk6): This.
38425
38426 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38427 on $(common-objpfx)soversions.mk.
38428
38429 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38430
38431 [BZ #10014]
38432 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38433 example host name.
38434
38435 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38436
38437 * malloc/arena.c (arena_get_retry): New function that gets
38438 another arena for the caller to try its request on.
38439 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38440 current arena cannot fulfill the request.
38441 (__libc_memalign): Likewise.
38442 (__libc_memalign): Likewise.
38443 (__libc_pvalloc): Likewise.
38444 (__libc_calloc): Likewise.
38445
38446 2012-09-05 John Tobey <john.tobey@gmail.com>
38447
38448 [BZ #13542]
38449 * manual/arith.texi (Operations on Complex): Fix description
38450 of carg branch cut.
38451
38452 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38453
38454 [BZ #10014]
38455 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38456 host name.
38457
38458 [BZ #10038]
38459 * manual/memory.texi (Memory): Make order of menu items match
38460 order of sections.
38461
38462 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38463
38464 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38465 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38466 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38467
38468 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38469
38470 * csu/libc-tls.c (static_dtv): Renamed to ...
38471 (_dl_static_dtv): This. Make it global.
38472 (_dl_initial_dtv): Removed.
38473 (__libc_setup_tls): Updated.
38474 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38475 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38476 DL_INITIAL_DTV.
38477
38478 2012-09-06 Petr Machata <pmachata@redhat.com>
38479
38480 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38481 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38482 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38483 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38484
38485 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38486
38487 [BZ #14545]
38488 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38489 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38490 freeing dtv[-1].
38491
38492 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38493
38494 [BZ #14544]
38495 * Makeconfig (link-static-before-libc): Replace $(+prector)
38496 with $(+prectorT).
38497 (link-static-after-libc): Replace $(+postctor) with
38498 $(+postctorT).
38499 (link-bounded): Replace $(+prector)/$(+postctor) with
38500 $(+prectorT)/$(+postctorT).
38501 (+prectorT): New macro.
38502 (+postctorT): Likewise.
38503
38504 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38505
38506 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38507 (round_str): Handle values above the maximum for IBM long double
38508 as inexact.
38509 * stdlib/tst-strtod-round.c (tests): Regenerated.
38510
38511 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38512
38513 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38514 assembler flag.
38515 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38516 zarch_nohighgprs around the zarch optimized routines.
38517 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38518 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38519 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38520 for zarch.
38521
38522 2012-09-05 David S. Miller <davem@davemloft.net>
38523
38524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38525
38526 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38527 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38528 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38529 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38530 entries.
38531
38532 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38533
38534 * malloc/arena.c: Fold copyright years.
38535 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38536
38537 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38538
38539 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38540
38541 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38542
38543 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38544
38545 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38546
38547 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38548 change internal state upon failure.
38549
38550 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38551
38552 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38553 * malloc/memusage.c (mmap): Likewise.
38554 (mmap64, mremap): Likewise. Adjust name in comment.
38555
38556 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38557
38558 * libio/fileops.c: Fix typos in comments.
38559 * libio/oldfileops.c: Likewise.
38560 * libio/wfileops.c: Likewise.
38561
38562 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38563
38564 [BZ #1349]
38565 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38566 (tst-malloc-usable-ENV): Set environment for test case.
38567 * malloc/hooks.c (malloc_check_get_size): New function to get
38568 requested size.
38569 * malloc/malloc.c (musable): Use malloc_check_get_size.
38570 * malloc/tst-malloc-usable.c: New test case.
38571
38572 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38573
38574 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38575
38576 2012-09-05 Allan McRae <allan@archlinux.org>
38577
38578 [BZ #13966]
38579 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38580 determine header location.
38581 * configure: Regenerated.
38582
38583 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38584
38585 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38586 float format.
38587 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38588 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38589 format.
38590 (test): Regenerate.
38591
38592 2012-09-04 David S. Miller <davem@davemloft.net>
38593
38594 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38595 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38597
38598 2012-09-04 Florian Weimer <fweimer@redhat.com>
38599
38600 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38601 failures.
38602
38603 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38604
38605 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38606
38607 [BZ #9914]
38608 * libio/iogetdelim.c: Include <limits.h>.
38609 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38610 + len + 1 would overflow.
38611
38612 2012-09-03 Andreas Jaeger <aj@suse.de>
38613
38614 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38615 * sysdeps/i386/fpu/libm-test-ulps: Update.
38616
38617 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38618
38619 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38620 Add s_sinf-sse2, s_conf-sse2.
38621
38622 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38623 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38624 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38625 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38626
38627 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38628 for using routine as __sinf_ia32.
38629 Use macro for function declaration and weak_alias.
38630 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38631 for using routine as __cosf_ia32.
38632 Use macro for function declaration and weak_alias.
38633
38634 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38635 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38636
38637 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38638 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38640
38641 * math/libm-test.inc (cos_test): Add more test cases.
38642 (sin_test): Likewise.
38643 (sincos_test): Likewise.
38644
38645 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38646
38647 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38648 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38649 hidden.
38650 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38651
38652 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38653
38654 [BZ #14538]
38655 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38656 first element of the GOT.
38657 (elf_machine_load_address): Return the difference between
38658 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38659
38660 2012-09-01 Allan McRae <allan@archlinux.org>
38661
38662 [BZ #13412]
38663 * configure.in (AWK): Require gawk version 3.0 or later.
38664 * configure: Regenerated.
38665
38666 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38667
38668 * sysdeps/unix/sysv/linux/kernel-features.h
38669 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38670 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38671 [__NR_clock_getres]: Make code unconditional.
38672 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38673 (clock_getcpuclockid): Remove code left unreachable by removal of
38674 conditionals.
38675 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38676 code unconditional.
38677 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38678 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38679 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38680 Make code unconditional.
38681 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38682 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38683 * sysdeps/unix/sysv/linux/clock_settime.c
38684 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38685 conditional code.
38686 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38687 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38688
38689 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38690
38691 [BZ #14476]
38692 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38693 scripts/test-installation.pl.
38694
38695 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38696 and $ld_so_version if it is set.
38697
38698 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38699
38700 [BZ #14516]
38701 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38702 failure if reading from procfs failed.
38703 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38704
38705 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38706
38707 * sysdeps/unix/sysv/linux/kernel-features.h
38708 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38709 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38710 Remove conditional code.
38711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38712 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38713 Remove conditional code.
38714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38715 * sysdeps/unix/sysv/linux/i386/fxstat.c
38716 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38718 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38719 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38721 * sysdeps/unix/sysv/linux/i386/lxstat.c
38722 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38724 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38725 Remove conditional code.
38726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38727 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38728 Remove conditional code.
38729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38730 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38731 <kernel-features.h>.
38732 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38733 Remove.
38734 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38735 Remove conditional code.
38736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38737 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38738 Remove conditional.
38739
38740 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38741
38742 [BZ #5400]
38743 * NEWS: Add fixed bug number.
38744
38745 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38746
38747 [BZ #14519]
38748 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38749 underflowing exponent in case of negative sign.
38750 * stdlib/tst-strtod-round-data: Add more tests.
38751 * stdlib/tst-strtod-round.c (tests): Regenerated.
38752
38753 [BZ #3479]
38754 * stdlib/strtod_l.c (NDIG): Remove.
38755 (HEXNDIG): Likewise.
38756 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38757 smallest representable value.
38758 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38759 lie within an exact representation of 1/2 ulp of the result.
38760 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38761 unconditionally.
38762 (TENS_P9_IDX): Define unconditionally.
38763 (TENS_P9_SIZE): Likewise.
38764 (TENS_P10_IDX): Likewise.
38765 (TENS_P10_SIZE): Likewise.
38766 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38767 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38768 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38769 entries for 10^2^13 and 10^2^14.
38770 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38771 (TENS_P13_IDX): Define.
38772 (TENS_P13_SIZE): Likewise.
38773 (TENS_P14_IDX): Likewise.
38774 (TENS_P14_SIZE): Likewise.
38775 (_fpioconst_pow10): Change array size to
38776 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38777 unconditional.
38778 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38779 1024]: Add entries for 10^2^13 and 10^2^14.
38780 [LAST_POW10 > _LAST_POW10]: Remove #error.
38781 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38782 (_fpioconst_pow10): Change array size to
38783 FPIOCONST_POW10_ARRAY_SIZE.
38784 * stdlib/gen-fpioconst.c: New file.
38785 * stdlib/gen-tst-strtod-round.c: Likewise.
38786 * stdlib/tst-strtod-round-data: Likewise.
38787 * stdlib/tst-strtod-round.c: Likewise.
38788 * stdlib/Makefile (tests): Add tst-strtod-round.
38789
38790 [BZ #14459]
38791 * stdlib/strtod_l.c: Include <stdint.h>.
38792 (NDEBUG): Do not define.
38793 (round_and_return): Change EXPONENT parameter to type intmax_t.
38794 Rearrange calculations to avoid internal overflow possibilities.
38795 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38796 Rearrange calculations to avoid internal overflow possibilities.
38797 Assert that number fits inside MPNSIZE limbs.
38798 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38799 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38800 calculations and add assertions to avoid internal overflow
38801 possibilities. Add casts to avoid signed/unsigned operations.
38802 * stdlib/tst-strtod-overflow.c: New file.
38803 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38804
38805 2012-08-25 Marek Polacek <polacek@redhat.com>
38806
38807 * time/time.h: Fix some typos in comments.
38808
38809 2012-08-23 Roland McGrath <roland@hack.frob.com>
38810
38811 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38812 * posix/tst-rfc3484-2.c: Likewise.
38813 * posix/tst-rfc3484-3.c: Likewise.
38814
38815 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38816
38817 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38818 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38819
38820 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38821
38822 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38823 #include of fxstatat64.c.
38824
38825 2012-08-22 Roland McGrath <roland@hack.frob.com>
38826
38827 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38828 * shadow/getspent_r.c: Likewise.
38829 * shadow/getspnam.c: Likewise.
38830 * shadow/getspnam_r.c: Likewise.
38831 * gshadow/getsgent.c: Likewise.
38832 * gshadow/getsgent_r.c: Likewise.
38833 * gshadow/getsgnam.c: Likewise.
38834 * gshadow/getsgnam_r.c: Likewise.
38835 * inet/getnetbyad.c: Likewise.
38836 * inet/getnetbyad_r.c: Likewise.
38837 * inet/getnetbynm.c: Likewise.
38838 * inet/getnetbynm_r.c: Likewise.
38839 * inet/getnetent.c: Likewise.
38840 * inet/getnetent_r.c: Likewise.
38841 * inet/getproto.c: Likewise.
38842 * inet/getproto_r.c: Likewise.
38843 * inet/getprtent.c: Likewise.
38844 * inet/getprtent_r.c: Likewise.
38845 * inet/getprtname.c: Likewise.
38846 * inet/getprtname_r.c: Likewise.
38847 * inet/getrpcbyname.c: Likewise.
38848 * inet/getrpcbyname_r.c: Likewise.
38849 * inet/getrpcbynumber.c: Likewise.
38850 * inet/getrpcbynumber_r.c: Likewise.
38851 * inet/getrpcent.c: Likewise.
38852 * inet/getrpcent_r.c: Likewise.
38853 * inet/getaliasent.c: Likewise.
38854 * inet/getaliasent_r.c: Likewise.
38855 * inet/getaliasname.c: Likewise.
38856 * inet/getaliasname_r.c: Likewise.
38857 * nscd/getgrgid_r.c: Likewise.
38858 * nscd/getgrnam_r.c: Likewise.
38859 * nscd/gethstbyad_r.c: Likewise.
38860 * nscd/gethstbynm3_r.c: Likewise.
38861 * nscd/getpwnam_r.c: Likewise.
38862 * nscd/getpwuid_r.c: Likewise.
38863 * nscd/getsrvbynm_r.c: Likewise.
38864 * nscd/getsrvbypt_r.c: Likewise.
38865 * nscd/gai.c: Likewise.
38866
38867 * configure.in (build_nscd): New substituted variable, set
38868 by --disable-build-nscd and defaults to $use_nscd.
38869 * configure: Regenerated.
38870 * config.make.in (build-nscd): New substituted variable.
38871 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38872 Change conditional to require [$(build-nscd) = yes] as well.
38873 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38874
38875 [BZ# 13696]
38876 * configure.in (use_nscd): New substituted variable, set by
38877 --disable-nscd. If enabled, define USE_NSCD.
38878 * configure: Regenerated.
38879 * config.h.in: Add USE_NSCD.
38880 * config.make.in (use-nscd): New substituted variable.
38881 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38882 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38883 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38884 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38885 (CFLAGS-getgrnam_r.c): Likewise.
38886 (CFLAGS-initgroups.c): Likewise.
38887 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38888 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38889 Variables removed.
38890 * inet/getnetgrent_r.c
38891 (nscd_setnetgrent): New function, broken out of ...
38892 (setnetgrent): ... here. Call it.
38893 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38894 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38895 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38896 * nscd/Makefile (routines, aux): Move definitions after include of
38897 Makeconfig. Conditionalize on [$(use-nscd) != no].
38898 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38899 Conditionalize on [USE_NSCD].
38900 (is_nscd, nscd_init_cb): Likewise.
38901 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38902 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38903 * nss/nss_db/db-init.c: Likewise.
38904 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38905 [USE_NSCD].
38906 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38907 (make_request): Use it.
38908 (cache_valid_p): New function.
38909 (__check_pf): Use it.
38910 * NEWS: Add item for --disable-nscd.
38911
38912 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38913
38914 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38915 to support sed >= 4.2.1-20-ga9bf076.
38916 * configure: Regenerated.
38917
38918 2012-08-22 Roland McGrath <roland@hack.frob.com>
38919
38920 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38921 Conditionalize whole body on [IREL].
38922
38923 2012-08-22 Jeff Law <law@redhat.com>
38924
38925 [BZ #14505]
38926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38927 if the family is PF_UNSPEC.
38928
38929 2012-08-22 Mike Frysinger <vapier@gentoo.org>
38930
38931 * Makerules (lib-version): Rename from V.
38932 (install-lib-nosubdir): Change V to lib-version.
38933
38934 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38935
38936 [BZ #14252]
38937 * powerpc32/power6/wcschr.c: New file.
38938 * powerpc32/power6/wcscpy.c: New file.
38939 * powerpc32/power6/wcsrchr.c: New file.
38940 * powerpc64/power6/wcschr.c: New file.
38941 * powerpc64/power6/wcscpy.c: New file.
38942 * powerpc64/power6/wcsrchr.c: New file.
38943
38944 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38945
38946 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38947 (two_way_short_needle): Use it.
38948 * string/strstr.c (AVAILABLE1_USES_J): Define.
38949 * string/strcasestr.c: Likewise.
38950
38951 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38952 array references.
38953 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38954
38955 [BZ #11607]
38956 * NEWS: Add an entry.
38957 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38958 define their defaults.
38959 (two_way_short_needle): Detect end-of-string on-the-fly.
38960 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38961 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38962 * string/bug-strcasestr1.c: New test.
38963 * string/Makefile: Run it.
38964
38965 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38966
38967 [BZ #11607]
38968 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38969 the first character.
38970
38971 2012-08-21 Roland McGrath <roland@hack.frob.com>
38972
38973 * csu/elf-init.c (__libc_csu_irel): Function removed.
38974 * csu/libc-start.c (apply_irel): New function.
38975 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38976
38977 2012-08-21 Joseph Myers <joseph@codesourcery.com>
38978
38979 * sysdeps/unix/sysv/linux/kernel-features.h
38980 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38981 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38982 <kernel-features.h>.
38983 [__NR_fadvise64_64]: Make code unconditional.
38984 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38985 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38986 !__NR_fadvise64_64)]: Likewise.
38987 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38988 !__NR_fadvise64_64))]: Likewise.
38989 [__NR_fadvise64]: Make code unconditional.
38990 [!__NR_fadvise64]: Remove conditional code.
38991 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38992 <kernel-features.h>.
38993 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38994 unconditional.
38995 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38996 conditional code.
38997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38998 not include <kernel-features.h>.
38999 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39000 unconditional.
39001 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39002 conditional code.
39003 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39004 include <kernel-features.h>.
39005 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39006 unconditional.
39007 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39008 conditional code.
39009
39010 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39011
39012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39013 slight instruction rearrangements per scrollpipe analysis.
39014 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39015
39016 2012-08-20 Roland McGrath <roland@hack.frob.com>
39017
39018 * manual/syslog.texi (syslog; vsyslog, closelog):
39019 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39020 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39021
39022 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39023 DSOCAPS to match condition on defining it.
39024
39025 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39026
39027 * sysdeps/unix/sysv/linux/kernel-features.h
39028 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39030 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39031 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39033 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39034 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39036 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39037 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39038
39039 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39040 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39041
39042 * sysdeps/unix/sysv/linux/kernel-features.h
39043 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39044 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39045 unconditional.
39046 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39047 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39048 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39049 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39050 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39051 Make code unconditional.
39052 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39053 (__mmap64) [!__NR_mmap2]: Likewise.
39054 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39055 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39056 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39057 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39058 [__NR_mmap2]: Make code unconditional.
39059 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39060 (__mmap64) [!__NR_mmap2]: Likewise.
39061
39062 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39063
39064 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39065
39066 2012-08-18 Andreas Jaeger <aj@suse.de>
39067
39068 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39069
39070 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39071
39072 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39073 * include/unistd.h (__have_sock_cloexec): Likewise.
39074 (__have_pipe2): Likewise.
39075 (__have_dup3): Likewise.
39076
39077 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39078
39079 [BZ #9685]
39080 * include/unistd.h (__have_pipe2): Change define into an extern int.
39081 (__have_dup3): Likewise.
39082 * socket/have_sock_cloexec.c: Include fcntl.h.
39083 (__have_pipe2): New variable.
39084 (__have_dup3): Likewise.
39085
39086 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39087
39088 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39089
39090 2012-08-17 Marek Polacek <polacek@redhat.com>
39091
39092 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39093 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39094
39095 2012-08-17 Roland McGrath <roland@hack.frob.com>
39096
39097 * configure.in: Add AC_SUBST for sysheaders.
39098 * configure: Regenerated.
39099 * config.make.in (sysheaders): New substituted variable.
39100
39101 * sysdeps/unix/mkfifo.c: Moved ...
39102 * sysdeps/posix/mkfifo.c: ... here.
39103 * sysdeps/unix/mkfifoat.c: Moved ...
39104 * sysdeps/posix/mkfifoat.c: ... here.
39105
39106 * sysdeps/unix/utime.c: Moved ...
39107 * sysdeps/posix/utime.c: ... here.
39108
39109 * sysdeps/unix/time.c: Moved ...
39110 * sysdeps/posix/time.c: ... here.
39111 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39112 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39113
39114 * sysdeps/unix/nice.c: Moved ...
39115 * sysdeps/posix/nice.c: ... here.
39116
39117 * sysdeps/unix/alarm.c: Moved ...
39118 * sysdeps/posix/alarm.c: ... here.
39119
39120 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39121
39122 2012-08-17 Jeff Law <law@redhat.com>
39123
39124 * intl/Makefile (codeset_mo): New variable.
39125 ($(codeset_mo)): New target.
39126 (tst-codeset.out): Depend on that. Remove explicit rule.
39127 (tst-gettext3.out, tst-gettext5.out): Likewise.
39128 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39129 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39130 * intl/tst-codeset.sh: Remove.
39131 * intl/tst-gettext3.sh: Likewise.
39132 * intl/tst-gettext5.sh: Likewise.
39133
39134 2012-08-17 Roland McGrath <roland@hack.frob.com>
39135
39136 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39137 * sysdeps/unix/syscalls.list: ... here.
39138
39139 * sysdeps/posix/getaddrinfo.c
39140 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39141 (gaiconf_init, gaiconf_reload): Use them.
39142 [!_STATBUF_ST_NSEC]
39143 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39144 Define using time_t rather than struct timespec.
39145
39146 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39147 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39148 Macros removed.
39149 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39150 [!NO_THREADS].
39151 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39152 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39153 Likewise.
39154
39155 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39156 __libc_cleanup_push argument.
39157
39158 * bits/param.h: New file.
39159 * misc/sys/param.h: New file.
39160 * include/sys/param.h: New file.
39161 * misc/Makefile (headers): Add bits/param.h.
39162 * sysdeps/generic/sys/param.h: File removed.
39163 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39164 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39165 * sysdeps/mach/hurd/bits/param.h: New file.
39166 * sysdeps/mach/hurd/sys/param.h: File removed.
39167
39168 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39169 last change.
39170
39171 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39172 [_IO_MTSAFE_IO].
39173 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39174 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39175 New macros.
39176
39177 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39178 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39179 rather than -D_IO_MTSAFE_IO conditionally.
39180 * stdio-common/Makefile (CPPFLAGS): Likewise.
39181 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39182 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39183 Use $(libio-mtsafe).
39184 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39185 of -D_IO_MTSAFE_IO.
39186 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39187 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39188 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39189 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39190 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39191 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39192 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39193 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39194 (CFLAGS-fread_u_chk.c): Likewise.
39195 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39196 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39197 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39198 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39199 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39200 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39201 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39202 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39203 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39204
39205 * libio/Makefile: Test [$(libc-reentrant) = yes]
39206 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39207
39208 * Makeconfig
39209 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39210 * sysdeps/pthread/configure: File removed.
39211 * sysdeps/pthread/Makeconfig: New file.
39212 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39213 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39214
39215 2012-08-16 Gary Benson <gbenson@redhat.com>
39216
39217 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39218 unmapping the first object in a namespace.
39219
39220 2012-08-16 Roland McGrath <roland@hack.frob.com>
39221
39222 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39223 (__internal_setnetgrent): ... this. Add internal_function to
39224 definition. Add libc_hidden_def.
39225 (setnetgrent): Update caller.
39226 (internal_endnetgrent): Renamed to ...
39227 (__internal_endnetgrent): ... this. Add internal_function to
39228 definition. Add libc_hidden_def.
39229 (endnetgrent): Update caller.
39230 (internal_getnetgrent_r): Renamed to ...
39231 (__internal_getnetgrent_r): ... this. Add internal_function to
39232 definition. Add libc_hidden_def.
39233 (__getnetgrent_r): Update caller.
39234 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39235
39236 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39237
39238 * stdlib/longlong.h: Update from GCC.
39239
39240 2012-08-16 Roland McGrath <roland@hack.frob.com>
39241
39242 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39243 on _QL, which is set by umul_ppmm but never used.
39244 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39245 variables, which are set by GMP macros but never used.
39246 * stdio-common/_itowa.c (_itowa): Likewise.
39247 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39248 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39249
39250 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39251
39252 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39253 struct La_sh_regs is not constant.
39254 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39255 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39256 and struct La_sparc64_regs are not constant.
39257
39258 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39259
39260 * sysdeps/unix/sysv/linux/kernel-features.h
39261 (__ASSUME_POSIX_TIMERS): Remove.
39262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39263 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39264 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39265 Make code unconditional.
39266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39267 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39268 Make code unconditional.
39269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39270 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39271 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39273 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39274 Make code unconditional.
39275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39276 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39277 (__libc_missing_posix_timers): Remove.
39278
39279 2012-08-15 Roland McGrath <roland@hack.frob.com>
39280
39281 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39282 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39283
39284 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39285
39286 * elf/dl-sym.c: Include <stdlib.h>.
39287
39288 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39289 constants, which avoids warnings in 32-bit builds.
39290
39291 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39292 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39293
39294 * misc/lseek.c: File moved to ...
39295 * io/lseek.c: ... here.
39296
39297 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39298
39299 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39300 shifting LEN more than 31 bits at once.
39301
39302 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39303
39304 [BZ #14195]
39305 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39306 segmentation fault for a case of two empty input strings.
39307 * string/test-strncasecmp.c (check1): Renamed to...
39308 (bz12205): ...this.
39309 (bz14195): Add new testcase for two empty input strings and N > 0.
39310 (test_main): Call new testcase, adapt for renamed function.
39311
39312 2012-08-15 Andreas Jaeger <aj@suse.de>
39313
39314 [BZ #14090]
39315 * crypt/md5test2.c: New test, based on test supplied by Serge
39316 Belyshev <belyshev@depni.sinp.msu.ru>.
39317 * crypt/Makefile (xtests): Add md5test-giant..
39318 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39319
39320 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39321
39322 [BZ #14090]
39323 * crypt/md5.c (md5_process_block): Don't assume the buffer
39324 length is less than 2**32.
39325 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39326 length is less than 2**64.
39327
39328 2012-08-15 Roland McGrath <roland@hack.frob.com>
39329
39330 * string/str-two-way.h: Include <sys/param.h>.
39331 (MAX): Macro removed.
39332
39333 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39334 Move #define and #undef of memmove to just before and after
39335 including <string.h>.
39336
39337 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39338 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39339 and after including <string.h>. Move declarations of
39340 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39341 to before #include "string/memmove.c".
39342
39343 * include/dirent.h: Declare __getdirentries.
39344
39345 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39346 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39347
39348 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39349
39350 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39351 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39352 * sysdeps/i386/configure: Regenerated.
39353 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39354 STABS_CURRENT_FILE, and STABS_FUN.
39355 (END): Remove call to STABS_FUN_END.
39356 (STABS_CURRENT_FILE1): Delete.
39357 (STABS_CURRENT_FILE): Likewise.
39358 (STABS_FUN): Likewise.
39359 (STABS_FUN_END): Likewise.
39360 (STABS_FUN2): Likewise.
39361 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39362 * sysdeps/x86_64/configure: Regenerated.
39363
39364 2012-08-14 Roland McGrath <roland@hack.frob.com>
39365
39366 * elf/dl-open.c: Include <atomic.h>.
39367 * elf/dl-lookup.c: Likewise.
39368
39369 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39370
39371 * sysdeps/unix/sysv/linux/kernel-features.h
39372 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39373 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39374 unconditionally.
39375 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39376 unconditionally.
39377 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39378 condition on __ASSUME_CLONE_THREAD_FLAGS.
39379
39380 2012-08-14 Andreas Jaeger <aj@suse.de>
39381
39382 * sysdeps/i386/fpu/libm-test-ulps: Update.
39383
39384 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39385
39386 * include/atomic.h (atomic_exchange_and_add): Split into ...
39387 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39388 New atomic macros.
39389
39390 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39391
39392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39393
39394 2012-08-13 Jeff Law <law@redhat.com>
39395
39396 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39397 null byte in the output string.
39398
39399 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39400
39401 * sysdeps/unix/sysv/linux/kernel-features.h
39402 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39403 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39404 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39405 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39406 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39407 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39408 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39409
39410 2012-08-09 Jeff Law <law@redhat.com>
39411
39412 [BZ #13939]
39413 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39414 When avoid_arena is set, don't retry in the that arena. Pick the
39415 next one, whatever it might be.
39416 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39417 (arena_lock): Pass in new parameter to arena_get2.
39418 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39419 arena_get2.
39420 (__libc_malloc): Unify retrying after main arena failure with
39421 __libc_memalign version.
39422 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39423
39424 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39425
39426 [BZ #14166]
39427 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39428 to __redirect_strstr.
39429 (__strstr_sse42): Use typeof __redirect_strstr.
39430 (__strstr_ia32): Likewise.
39431 (__libc_strstr): New prototype.
39432 (strstr): Renamed to ...
39433 (__libc_strstr): This.
39434 (strstr): New strong alias of __libc_strstr.
39435 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39436 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39437 __redirect_time.
39438 Include <time.h>.
39439 (__libc_time): New prototype.
39440 (time_ifunc): Replace time with __libc_time.
39441 (time): New strong alias and hidden definition of __libc_time.
39442 (__GI_time): Remove strong alias.
39443 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39444 Include <stddef.h>.
39445 (memmove): Redefined to __redirect_memmove.
39446 (__memmove_sse2): Use typeof __redirect_memmove.
39447 (__memmove_ssse3): Likewise.
39448 (__memmove_ssse3_back): Likewise.
39449 (__libc_memmove): New prototype.
39450 (memmove): Renamed to ...
39451 (__libc_memmove): This.
39452 (memmove): New strong alias of __libc_memmove.
39453
39454 2012-08-08 Mark Salter <msalter@redhat.com>
39455
39456 * elf/elf.h
39457 (R_MN10300_TLS_GD): Define.
39458 (R_MN10300_TLS_LD): Likewise.
39459 (R_MN10300_TLS_LDO): Likewise.
39460 (R_MN10300_TLS_GOTIE): Likewise.
39461 (R_MN10300_TLS_IE): Likewise.
39462 (R_MN10300_TLS_LE): Likewise.
39463 (R_MN10300_TLS_DTPMOD): Likewise.
39464 (R_MN10300_TLS_DTPOFF): Likewise.
39465 (R_MN10300_TLS_TPOFF): Likewise.
39466 (R_MN10300_SYM_DIFF): Likewise.
39467 (R_MN10300_ALIGN): Likewise.
39468 (R_MN10300_NUM): Update.
39469
39470 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39471
39472 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39473 Remove.
39474
39475 2012-08-08 Roland McGrath <roland@hack.frob.com>
39476
39477 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39478
39479 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39480 sysdeps/unix -> sysdeps/posix move.
39481 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39482
39483 2012-08-07 Allan McRae <allan@archlinux.org>
39484
39485 [BZ #14303]
39486 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39487 (SUNOS_CPP): Likewise.
39488 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39489 not found.
39490 (open_input): Call CPP using execvp.
39491
39492 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39493
39494 * sysdeps/unix/sysv/linux/kernel-features.h
39495 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39496 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39497 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39498 (__ASSUME_WAITID_SYSCALL): Likewise.
39499 * sysdeps/unix/sysv/linux/dl-execstack.c
39500 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39501 code unconditional.
39502 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39503 conditional code.
39504 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39505 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39506 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39507 code.
39508 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39509 unconditional.
39510 [__ASSUME_WAITID_SYSCALL]: Likewise.
39511 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39512
39513 2012-08-07 Roland McGrath <roland@hack.frob.com>
39514
39515 * sysdeps/unix/closedir.c: Renamed to ...
39516 * sysdeps/posix/closedir.c: ... here.
39517 * sysdeps/unix/dirfd.c: Renamed to ...
39518 * sysdeps/posix/dirfd.c: ... here.
39519 * sysdeps/unix/dirstream.h: Renamed to ...
39520 * sysdeps/posix/dirstream.h: ... here.
39521 * sysdeps/unix/fdopendir.c: Renamed to ...
39522 * sysdeps/posix/fdopendir.c: ... here.
39523 * sysdeps/unix/opendir.c: Renamed to ...
39524 * sysdeps/posix/opendir.c: ... here.
39525 * sysdeps/unix/readdir.c: Renamed to ...
39526 * sysdeps/posix/readdir.c: ... here.
39527 * sysdeps/unix/readdir_r.c: Renamed to ...
39528 * sysdeps/posix/readdir_r.c: ... here.
39529 * sysdeps/unix/rewinddir.c: Renamed to ...
39530 * sysdeps/posix/rewinddir.c: ... here.
39531 * sysdeps/unix/seekdir.c: Renamed to ...
39532 * sysdeps/posix/seekdir.c: ... here.
39533 * sysdeps/unix/telldir.c: Renamed to ...
39534 * sysdeps/posix/telldir.c: ... here.
39535 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39536 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39537 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39538 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39539
39540 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39541 * bits/fcntl.h: ... here.
39542
39543 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39544 not 0.
39545 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39546 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39547 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39548 (struct flock): Move l_start, l_len to the beginning.
39549 Use __pid_t for l_pid.
39550 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39551 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39552 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39553 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39554 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39555 [__USE_LARGEFILE64] (struct flock64): New type.
39556 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39557
39558 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39559 * bits/dirent.h: ... here.
39560
39561 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39562 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39563
39564 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39565
39566 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39567 Change from 2.6.0 to 2.6.16.
39568 * sysdeps/unix/sysv/linux/configure: Regenerated.
39569 * sysdeps/unix/sysv/linux/kernel-features.h
39570 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39571 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39572 version.
39573 (__ASSUME_UTIMES): Likewise.
39574 (__ASSUME_CLONE_STOPPED): Remove.
39575 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39576 architectures, not kernel version.
39577 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39578 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39579 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39580 (__ASSUME_WAITID_SYSCALL): Likewise.
39581 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39582 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39583 * README: State 2.6.16 as minimum Linux kernel version. Do not
39584 refer to older versions.
39585
39586 2012-08-06 Roland McGrath <roland@hack.frob.com>
39587
39588 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39589 Define alphasort64 as an alias.
39590 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39591 Define versionsort64 as an alias.
39592 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39593 Define scandir64 as an alias.
39594 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39595 Define scandirat64 as an alias.
39596 * dirent/alphasort64.c (alphasort64):
39597 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39598 * dirent/versionsort64.c: Likewise.
39599 * dirent/scandir64.c: Likewise.
39600 * dirent/scandirat64.c: Likewise.
39601 * sysdeps/wordsize-64/alphasort.c: File removed.
39602 * sysdeps/wordsize-64/alphasort64.c: File removed.
39603 * sysdeps/wordsize-64/scandir.c: File removed.
39604 * sysdeps/wordsize-64/scandir64.c: File removed.
39605 * sysdeps/wordsize-64/scandirat.c: File removed.
39606 * sysdeps/wordsize-64/scandirat64.c: File removed.
39607 * sysdeps/wordsize-64/versionsort.c: File removed.
39608 * sysdeps/wordsize-64/versionsort64.c: File removed.
39609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39610 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39611 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39613 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39616 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39617
39618 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39620 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39622 [defined __arch64__ || defined __sparcv9]
39623 (__INO_T_MATCHES_INO64_T): New macro.
39624 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39625 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39626 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39627 * sysdeps/unix/sysv/linux/bits/dirent.h
39628 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39629 (_DIRENT_MATCHES_DIRENT64): New macro.
39630
39631 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39632 Define lockf64 as an alias.
39633 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39634 Define fseeko64 as an alias.
39635 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39636 Define ftello64 as an alias.
39637 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39638 Define _IO_fgetpos64 and fgetpos64 as aliases.
39639 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39640 Define _IO_fsetpos64 and fsetpos64 as aliases.
39641 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39642 Conditionalize body on this.
39643 * libio/fseeko64.c: Likewise.
39644 * libio/ftello64.c: Likewise.
39645 * libio/iofgetpos64.c: Likewise.
39646 * libio/iofsetpos64.c: Likewise.
39647 * sysdeps/wordsize-64/lockf.c: File removed.
39648 * sysdeps/wordsize-64/lockf64.c: File removed.
39649 * sysdeps/wordsize-64/fseeko.c: File removed.
39650 * sysdeps/wordsize-64/fseeko64.c: File removed.
39651 * sysdeps/wordsize-64/ftello.c: File removed.
39652 * sysdeps/wordsize-64/ftello64.c: File removed.
39653 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39654 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39655 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39656 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39657 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39658 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39659 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39660 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39661 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39662 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39663 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39664 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39665 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39666 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39667
39668 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39669 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39670 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39672 [defined __arch64__ || defined __sparcv9]
39673 (__OFF_T_MATCHES_OFF64_T): New macro.
39674 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39675 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39677 (__OFF_T_MATCHES_OFF64_T): New macro.
39678
39679 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39680
39681 * stdlib/secure-getenv.c (__secure_getenv): Replace
39682 GLIBC_2_16 with GLIBC_2_17.
39683
39684 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39685
39686 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39687 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39688
39689 2012-08-03 David S. Miller <davem@davemloft.net>
39690
39691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39692
39693 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39694
39695 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39696 Remove.
39697 (__ASSUME_CORRECT_SI_PID): Likewise.
39698 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39699 (__ASSUME_TMPFS_NAME): Likewise.
39700 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39701 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39702 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39703 (HAVE_AUX_SECURE): Make definition unconditional.
39704 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39705 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39706
39707 2012-08-03 Roland McGrath <roland@hack.frob.com>
39708
39709 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39710 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39711 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39712 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39713 __eloop_threshold instead of SYMLOOP_MAX.
39714
39715 * sysdeps/generic/eloop-threshold.h: New file.
39716 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39717 of MAXSYMLINKS.
39718 * elf/chroot_canon.c (chroot_canon): Likewise.
39719
39720 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39721
39722 [BZ #13717]
39723 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39724 Change to 2.6.0 everywhere.
39725 * sysdeps/unix/sysv/linux/configure: Regenerated.
39726 * sysdeps/unix/sysv/linux/kernel-features.h
39727 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39728 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39729 kernel versions.
39730 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39731 (__ASSUME_FUTEX_REQUEUE): Remove.
39732 (__ASSUME_STATFS64): Define unconditionally.
39733 (__ASSUME_AT_SECURE): Likewise.
39734 (__ASSUME_CORRECT_SI_PID): Likewise.
39735 (__ASSUME_TGKILL): Define without depending on kernel version for
39736 i386.
39737 (__ASSUME_UTIMES): Likewise.
39738 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39739 kernel version.
39740 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39741 (__ASSUME_TMPFS_NAME): Likewise.
39742 * README: Update reference to Linux kernel versions.
39743
39744 2012-08-02 Marek Polacek <polacek@redhat.com>
39745
39746 [BZ# 14150]
39747 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39748 libc_cv_asm_type_prefix with %.
39749 * configure: Regenerated.
39750 * include/libc-symbols.h: Remove comment about
39751 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39752 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39753 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39754 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39755 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39756 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39757 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39758 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39759 * elf/tst-unique2mod1.c: Likewise.
39760 * elf/tst-unique1mod2.c: Likewise.
39761 * elf/tst-unique1mod1.c: Likewise.
39762 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39763 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39764 Replace ASM_TYPE_DIRECTIVE with .type.
39765 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39766 * sysdeps/i386/sysdep.h: Likewise.
39767 * sysdeps/x86_64/sysdep.h: Likewise.
39768 * sysdeps/sh/sysdep.h: Likewise.
39769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39770 Do not define ASM_TYPE_DIRECTIVE.
39771 * sysdeps/powerpc/sysdep.h: Likewise.
39772 * sysdeps/powerpc/powerpc32/sysdep.h:
39773 Replace ASM_TYPE_DIRECTIVE with .type.
39774 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39775 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39776 * sysdeps/i386/fpu/e_powf.S: Likewise.
39777 * sysdeps/i386/fpu/e_expl.S: Likewise.
39778 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39779 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39780 * sysdeps/i386/fpu/e_pow.S: Likewise.
39781 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39782 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39783 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39784 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39785 * sysdeps/i386/fpu/e_log2.S: Likewise.
39786 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39787 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39788 * sysdeps/i386/fpu/e_powl.S: Likewise.
39789 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39790 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39791 * sysdeps/i386/fpu/e_logl.S: Likewise.
39792 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39793 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39794 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39795 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39796 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39797 * sysdeps/i386/fpu/e_log.S: Likewise.
39798 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39799 * sysdeps/i386/fpu/e_logf.S: Likewise.
39800 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39801 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39802 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39803 * sysdeps/i386/fpu/e_log10.S: Likewise.
39804 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39805 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39806 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39807 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39808 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39809 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39810 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39811 * sysdeps/i386/i686/strtok.S: Likewise.
39812 * sysdeps/i386/i386-mcount.S: Likewise.
39813 * sysdeps/i386/strtok.S: Likewise.
39814 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39815 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39816 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39817 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39818 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39819 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39820 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39821 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39822 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39823 * sysdeps/x86_64/_mcount.S: Likewise.
39824 * sysdeps/x86_64/strtok.S: Likewise.
39825 * sysdeps/sh/_mcount.S: Likewise.
39826
39827 2012-08-01 Roland McGrath <roland@hack.frob.com>
39828
39829 * libio/iofopen.c: Include <fcntl.h>.
39830 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39831 (_IO_fopen64, fopen64): Define as aliases.
39832 * libio/iofopen64.c: Include <fcntl.h>.
39833 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39834 Conditionalize body on this.
39835 * sysdeps/wordsize-64/iofopen.c: File removed.
39836 * sysdeps/wordsize-64/iofopen64.c: File removed.
39837
39838 2012-08-01 Marek Polacek <polacek@redhat.com>
39839
39840 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39841 Use dlfcn directly instead of a variable.
39842 (binfmt-subdir): Do not define.
39843 (dlfcn): Likewise.
39844
39845 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39846
39847 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39848 Remove all definitions.
39849 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39850 <kernel-features.h>.
39851 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39852 (miss_F_GETOWN_EX): Remove all definitions.
39853 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39854 macro definition.
39855 [!__ASSUME_FCNTL64]: Remove conditional code.
39856 [__ASSUME_FCNTL64]: Make code unconditional.
39857 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39858 <kernel-features.h>.
39859 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39860 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39861 (lockf64) [__NR_fcntl64]: Make code unconditional.
39862 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39863
39864 * sysdeps/unix/sysv/linux/kernel-features.h
39865 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39866 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39867 Make code unconditional.
39868 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39869 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39871 [__NR_vfork]: Make code unconditional.
39872 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39873 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39875 [__NR_vfork]: Make code unconditional.
39876 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39877 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39878
39879 2012-08-01 Roland McGrath <roland@hack.frob.com>
39880
39881 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39882 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39883
39884 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39885 Define mkstemp64 as an alias.
39886 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39887 Define mkstemps64 as an alias.
39888 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39889 Define mkostemp64 as an alias.
39890 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39891 Define mkostemps64 as an alias.
39892 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39893 Conditionalize body on this.
39894 * misc/mkostemp64.c: Likewise.
39895 * misc/mkostemps64.c: Likewise.
39896 * misc/mkstemps64.c: Likewise.
39897 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39898 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39899 * sysdeps/wordsize-64/mkostemp.c: File removed.
39900 * sysdeps/wordsize-64/mkstemp.c: File removed.
39901 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39902 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39903 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39904 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39905
39906 [BZ #14138]
39907 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39908 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39909 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39910 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39911
39912 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39913 compat_symbol macros from <shlib-compat.h> rather than the underlying
39914 default_symbol_version and symbol_version macros, so that DEFAULT
39915 lines in shlib-versions are respected.
39916 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39917
39918 2012-08-01 Florian Weimer <fweimer@redhat.com>
39919
39920 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39921 Declare with warn_unused_result.
39922 (setgid, setregid, setegid, setresgid): Likewise.
39923 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39924 Likewise.
39925 * WUR-REPORT: Remove set*id functions.
39926
39927 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39928
39929 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39930
39931 2012-07-31 Roland McGrath <roland@hack.frob.com>
39932
39933 [BZ #10191]
39934 * include/sys/socket.h (__libc_accept, __libc_accept4):
39935 Add attribute_hidden.
39936 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39937
39938 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39939 use of PTR_MANGLE.
39940 * inet/getnetgrent_r.c (setup): Likewise.
39941
39942 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39943
39944 2012-07-31 David S. Miller <davem@davemloft.net>
39945
39946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39947
39948 2012-07-31 Joseph Myers <joseph@codesourcery.com>
39949
39950 [BZ #13629]
39951 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39952 value between 1.0 and 2.0 and smaller part has absolute value less
39953 than 1.0.
39954 * math/s_clog10.c (__clog10): Likewise.
39955 * math/s_clog10f.c (__clog10f): Likewise.
39956 * math/s_clog10l.c (__clog10l): Likewise.
39957 * math/s_clogf.c (__clogf): Likewise.
39958 * math/s_clogl.c (__clogl): Likewise.
39959 * math/libm-test.inc (clog_test): Add more tests.
39960 (clog10_test): Likewise.
39961 * sysdeps/i386/fpu/libm-test-ulps: Update.
39962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39963
39964 2012-07-31 Florian Weimer <fweimer@redhat.com>
39965
39966 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39967 Exit with zero in case no suitable GID is found, and write a
39968 message to standard error.
39969
39970 2012-07-30 Roland McGrath <roland@hack.frob.com>
39971
39972 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39973 rather than to 1.
39974 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39975 (MAXPATHLEN): Removed.
39976 (NOGROUP, NODEV): New macros.
39977 (setbit, clrbit, isset, isclr): New macros.
39978 (howmany, roundup, powerof2): New macros.
39979 (DEV_BSIZE): New macro.
39980
39981 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39982 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39983
39984 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39985 definition on [!__NO_LONG_DOUBLE_MATH].
39986
39987 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39988 PTR_MANGLE and PTR_DEMANGLE.
39989
39990 * socket/accept4.c (accept4): Rename to __libc_accept4.
39991 Define accept4 as a weak alias.
39992
39993 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39994 on [_DIRENT_HAVE_D_TYPE].
39995 * io/ftw.c (ftw_dir): Likewise.
39996
39997 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39998
39999 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40000
40001 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40002 Use the BSD numbers rather than the arbitrary ones we had.
40003 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40004 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40005 (SIGXCPU, SIGXFSZ): New macros.
40006 (_NSIG): Now 32.
40007
40008 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40009 initializer on [_LIBC_REENTRANT].
40010
40011 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40012 definitions inside [_POSIX_MAPPED_FILES].
40013
40014 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40015
40016 * dirent/opendir.c: Include <fcntl.h>.
40017
40018 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40019 (__libc_getspecific): Likewise.
40020 (__libc_key_create): Likewise.
40021
40022 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40023 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40024 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40025 (tmpfile64): Define as alias.
40026 * sysdeps/wordsize-64/tmpfile.c: File removed.
40027 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40028 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40029 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40030
40031 * stdio-common/vfscanf.c: Include <stdbool.h>.
40032 * nss/makedb.c: Likewise.
40033 * stdio-common/_i18n_number.h: Likewise.
40034 * argp/argp-help.c: Likewise.
40035 * posix/wordexp.c: Likewise.
40036 * sysdeps/posix/spawni.c: Likewise.
40037 * nss/nss_files/files-initgroups.c: Likewise.
40038 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40039 * nss/nss_files/files-initgroups.c: Likewise.
40040 * nss/nss_db/db-netgrp.c: Likewise.
40041 * nss/nss_db/db-initgroups.c: Likewise.
40042 * io/fchmodat.c: Include <sys/stat.h>.
40043
40044 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40045 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40046
40047 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40048 [HAVE_MMAP].
40049
40050 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40051 Add multiple inclusion protection.
40052
40053 2012-07-27 David S. Miller <davem@davemloft.net>
40054
40055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40056
40057 2012-07-27 Gary Benson <gbenson@redhat.com>
40058
40059 [BZ #14298]
40060 * elf/rtld.c: Include <stap-probe.h>.
40061 (dl_main): Added static probes "init_start" and "init_complete".
40062 * elf/dl-load.c: Include <stap-probe.h>.
40063 (lose): Take new parameter "nsid".
40064 Added static probe "map_failed".
40065 (_dl_map_object_from_fd): Pass namespace id to lose.
40066 Added static probe "map_start".
40067 (open_verify): Pass namespace id to lose.
40068 * elf/dl-open.c: Include <stap-probe.h>.
40069 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40070 and "reloc_complete".
40071 * elf/dl-close.c: Include <stap-probe.h>.
40072 (_dl_close_worker): Added static probes "unmap_start" and
40073 "unmap_complete".
40074 * elf/rtld-debugger-interface.txt: New file documenting the above.
40075
40076 2012-07-26 Roland McGrath <roland@hack.frob.com>
40077
40078 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40079 rather than a string variable.
40080 * sunrpc/rpc_main.c (h_output): Likewise.
40081 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40082
40083 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40084
40085 * inet/check_native.c: New file.
40086
40087 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40088
40089 [BZ #13629]
40090 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40091 if larger part has absolute value 1.0.
40092 * math/s_clog10.c (__clog10): Likewise.
40093 * math/s_clog10f.c (__clog10f): Likewise.
40094 * math/s_clog10l.c (__clog10l): Likewise.
40095 * math/s_clogf.c (__clogf): Likewise.
40096 * math/s_clogl.c (__clogl): Likewise.
40097 * math/libm-test.inc (clog_test): Add more tests.
40098 (clog10_test): Likewise.
40099 * sysdeps/i386/fpu/libm-test-ulps: Update.
40100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40101
40102 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40103 (pltexit): Likewise.
40104 (La_regs): Likewise.
40105 (La_retval): Likewise.
40106 (int_retval): Likewise.
40107 Update #error for removed macros to refer only to definitions in
40108 tst-audit.h.
40109 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40110 macro.
40111 (pltexit): Likewise.
40112 (La_regs): Likewise.
40113 (La_retval): Likewise.
40114 (int_retval): Likewise.
40115 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40116 macro.
40117 (pltexit): Likewise.
40118 (La_regs): Likewise.
40119 (La_retval): Likewise.
40120 (int_retval): Likewise.
40121 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40122 macro.
40123 (pltexit): Likewise.
40124 (La_regs): Likewise.
40125 (La_retval): Likewise.
40126 (int_retval): Likewise.
40127 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40128 macro.
40129 (pltexit): Likewise.
40130 (La_regs): Likewise.
40131 (La_retval): Likewise.
40132 (int_retval): Likewise.
40133 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40134 macro.
40135 (pltexit): Likewise.
40136 (La_regs): Likewise.
40137 (La_retval): Likewise.
40138 (int_retval): Likewise.
40139 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40140 macro.
40141 (pltexit): Likewise.
40142 (La_regs): Likewise.
40143 (La_retval): Likewise.
40144 (int_retval): Likewise.
40145 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40146 macro definitions in tst-audit.h.
40147 * sysdeps/i386/tst-audit.h: New file.
40148 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40149 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40150 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40151 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40152 * sysdeps/sh/tst-audit.h: Likewise.
40153 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40154 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40155 * sysdeps/x86_64/tst-audit.h: Likewise.
40156
40157 2012-07-26 Andreas Jaeger <aj@suse.de>
40158
40159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40160 ptrace.
40161
40162 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40163 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40164 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40165 PTRACE_O_MASK.
40166 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40167 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40168 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40169
40170 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40171 value.
40172
40173 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40174 _sigsys.
40175 (si_call_addr, si_syscall, si_arch): Define new macro.
40176 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40177 _sigsys.
40178 (si_call_addr, si_syscall, si_arch): Define new marcro.
40179 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40180 _sigsys.
40181 (si_call_addr, si_syscall, si_arch): Define new macro.
40182 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40183 _sigsys.
40184 (si_call_addr, si_syscall, si_arch): Define new macro.
40185
40186 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40187
40188 [BZ #13717]
40189 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40190 Change to 2.4.21 where previously 2.4.1.
40191 * sysdeps/unix/sysv/linux/configure: Regenerated.
40192 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40193 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40194 Linux kernel version.
40195 (__ASSUME_STD_AUXV): Remove.
40196 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40197 kernel version.
40198 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40199 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40200 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40201 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40202 (__ASSUME_NETLINK_SUPPORT): Likewise.
40203 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40204 (__no_netlink_support): Remove conditional definition.
40205 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40206 Remove.
40207 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40208 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40209 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40210 (if_nameindex_ioctl): Remove.
40211 (if_nameindex_netlink): Do not handle __no_netlink_support.
40212 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40213 code.
40214 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40215 Remove conditional code.
40216 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40217 code.
40218 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40219 unconditional.
40220 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40221 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40222 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40223 Remove.
40224 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40225 [!__ASSUME_STD_AUXV]: Remove conditional code.
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40227 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40228 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40230 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40231 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40232 code.
40233 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40235 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40236 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40237 conditional code.
40238 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40240 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40241 code.
40242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40243 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40244 conditional code.
40245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40246 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40247 code unconditional.
40248 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40249 conditional code.
40250 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40251 unconditional.
40252 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40253 conditional code.
40254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40255 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40256 unconditional.
40257 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40258 conditional code.
40259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40260 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40261 code unconditional.
40262 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40263 conditional code.
40264 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40265 unconditional.
40266 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40267 conditional code.
40268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40269 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40270 code unconditional.
40271 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40272 conditional code.
40273 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40274 unconditional.
40275 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40276 conditional code.
40277
40278 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40279
40280 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40281 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40282 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40283 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40284 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40285 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40286 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40287 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40288 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40289 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40290 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40291 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40292 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40293 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40294 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40295 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40296 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40297 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40298 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40299 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40300 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40301 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40302 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40303
40304 2012-07-25 Florian Weimer <fweimer@redhat.com>
40305
40306 * Versions.def: Add GLIBC_2.17.
40307 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40308 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40309 Introduce __libc_secure_getenv.
40310 * stdlib/Versions (2.17): Add secure_getenv
40311 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40312 * stdlib/secure-getenv.c: Rename __secure_getenv to
40313 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40314 symbol __secure_getenv for GLIBC_2.0.
40315 * stdlib/tst-secure-getenv.c: New.
40316 * stdlib/Makefile (tests): Add testcase.
40317 * manual/startup.texi (Environment Access): Document
40318 secure_getenv.
40319 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40320 __libc_secure_getenv.
40321 * inet/ruserpass.c (ruserpass): Likewise.
40322 * malloc/mtrace.c (mtrace): Likewise.
40323 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40324 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40325 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40326 * sysdeps/posix/tempname.c: Likewise. Evaluate
40327 HAVE_SECURE_GETENV.
40328 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40329 __secure_getenv to __libc_secure_getenv.
40330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40332 Likewise.
40333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40334 Likewise.
40335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40342
40343 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40344
40345 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40346 (struct La_i86_retval): Likewise.
40347 (struct La_x86_64_regs): Likewise.
40348 (struct La_x86_64_retval): Likewise.
40349 (struct La_x32_regs): Likewise.
40350 (struct La_x32_retval): Likewise.
40351 (struct La_ppc32_regs): Likewise.
40352 (struct La_ppc32_retval): Likewise.
40353 (struct La_ppc64_regs): Likewise.
40354 (struct La_ppc64_retval): Likewise.
40355 (struct La_sh_regs): Likewise.
40356 (struct La_sh_retval): Likewise.
40357 (struct La_s390_32_regs): Likewise.
40358 (struct La_s390_32_retval): Likewise.
40359 (struct La_s390_64_regs): Likewise.
40360 (struct La_s390_64_retval): Likewise.
40361 (struct La_sparc32_regs): Likewise.
40362 (struct La_sparc32_retval): Likewise.
40363 (struct La_sparc64_regs): Likewise.
40364 (struct La_sparc64_retval): Likewise.
40365 (struct audit_ifaces): Remove architecture-specific pltenter and
40366 pltexit members.
40367 * sysdeps/i386/ldsodefs.h: New file.
40368 * sysdeps/powerpc/ldsodefs.h: Likewise.
40369 * sysdeps/s390/ldsodefs.h: Likewise.
40370 * sysdeps/sh/ldsodefs.h: Likewise.
40371 * sysdeps/sparc/ldsodefs.h: Likewise.
40372 * sysdeps/x86_64/ldsodefs.h: Likewise.
40373
40374 2012-07-25 Marek Polacek <polacek@redhat.com>
40375
40376 [BZ #6808]
40377 * math/libm-test.inc (yn_test): Add another test.
40378 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40379 to ERANGE when the result is +-Inf.
40380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40381 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40382 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40383 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40384
40385 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40386
40387 * conform/data/time.h-data (NULL): Use macro-constant. Require
40388 equal to 0.
40389 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40390 clock_t.
40391 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40392
40393 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40394
40395 * configure.in <sysdeps resolving>: Correct printing
40396 Implies_before.
40397 * configure: Regenerate.
40398
40399 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40400
40401 * math/w_ilogb.c: Include <limits.h>.
40402 * math/w_ilogbl.c: Likewise.
40403
40404 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40405
40406 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40407 va_copy. Document allowing for unavailable va_copy only as
40408 pre-C99 compatibility.
40409 * manual/string.texi (Copying and Concatenation): Use va_copy
40410 instead of __va_copy in concat example.
40411
40412 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40413
40414 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40415 (__sendto): Use create_address_port. Initialize APORT and deallocate
40416 it if not null.
40417
40418 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40419 with O_NOLINK passed to __file_name_lookup.
40420
40421 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40422 with O_NOLINK passed to __file_name_lookup.
40423
40424 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40425 negative N or less than NGIDS.
40426
40427 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40428 type to string_t. Set ERANGE as errno and return it if NAME is not big
40429 enough. Use memcpy instead of strncpy.
40430
40431 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40432
40433 * elf/Makefile (check-data): Remove.
40434 (localplt.data): New vpath directive.
40435 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40436 instead of $(check-data).
40437 * scripts/data/localplt-generic.data: Move to ...
40438 * sysdeps/generic/localplt.data: ... here.
40439 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40440 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40441 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40443 ... here.
40444 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40446 ... here.
40447 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40449 ... here.
40450 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40452 ... here.
40453 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40455 ... here.
40456 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40458 ... here.
40459
40460 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40461
40462 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40463 PPC32 and PPC64 files.
40464 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40465 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40466
40467 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40468
40469 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40470 __makecontext_ret to ...
40471 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40472 ... here and call exit if uc_link is NULL. New file.
40473 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40474 __makecontext_ret.S.
40475 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40476 __makecontext_ret to ...
40477 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40478 ... here and call exit if uc_link is NULL. New file.
40479 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40480 __makecontext_ret.S.
40481
40482 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40483
40484 * elf/elf.h (R_390_IRELATIVE): New definition.
40485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40486 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40487 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40488 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40489 (elf_machine_lazy_rel): Likewise.
40490 * sysdeps/s390/dl-irel.h: New file.
40491 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40492 * sysdeps/s390/s390-64/memset.S: New asm code.
40493 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40494 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40495 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40496 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40497 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40498 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40499 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40500 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40501 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40502 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40503 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40504 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40505 * sysdeps/s390/s390-32/memset.S: New asm code.
40506 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40507
40508 2012-07-17 Marek Polacek <polacek@redhat.com>
40509
40510 [BZ #14349]
40511 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40512 * sysdeps/s390/s390-64/configure.in: Likewise.
40513 * sysdeps/sparc/configure.in: Likewise.
40514 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40515 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40516 * sysdeps/i386/configure.in: Likewise.
40517 * sysdeps/x86_64/configure.in: Likewise.
40518 * sysdeps/sh/configure.in: Likewise.
40519 * sysdeps/s390/s390-32/configure: Regenerated.
40520 * sysdeps/s390/s390-64/configure: Likewise.
40521 * sysdeps/x86_64/configure: Likewise.
40522 * sysdeps/sh/configure: Likewise.
40523 * sysdeps/powerpc/powerpc64/configure: Likewise.
40524 * sysdeps/powerpc/powerpc32/configure: Likewise.
40525 * sysdeps/sparc/configure: Likwise.
40526 * sysdeps/i386/configure: Likewise.
40527
40528 * elf/dl-open.c: Comment fixes.
40529
40530 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40531
40532 * Makefile [CXX] (check-data): Remove.
40533 [CXX] (c++-types.data): New vpath directive.
40534 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40535 vpath. Do not allow for C++ type data being missing.
40536 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40537 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40538 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40539 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40540 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40541 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40542 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40544 ... here.
40545 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40547 ... here.
40548 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40550 ... here.
40551 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40553 ... here.
40554 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40556 ... here.
40557 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40559 ... here.
40560 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40562 ... here.
40563 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40565
40566 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40567 definitions to architecture-specific files.
40568 (TLS_IE): Likewise.
40569 (TLS_LD): Likewise.
40570 (TLS_GD): Likewise.
40571 * sysdeps/i386/tls-macros.h: New file.
40572 * sysdeps/powerpc/tls-macros.h: Likewise.
40573 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40574 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40575 * sysdeps/sh/tls-macros.h: Likewise.
40576 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40577 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40578 * sysdeps/x86_64/tls-macros.h: Likewise.
40579
40580 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40581
40582 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40583 zero value for regular exit case.
40584
40585 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40586 (__start_context): Preserve zero value for regular exit case.
40587
40588 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40589 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40590
40591 * manual/setjmp.texi (setcontext): Clarify normal process
40592 termination when uc_link is the null pointer.
40593 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40594 exit call.
40595
40596 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40597
40598 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40599 preprocessor. Test for each exception mask separately.
40600
40601 2012-07-16 Andreas Jaeger <aj@suse.de>
40602
40603 * po/ru.po: Update from translation team.
40604
40605 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40606
40607 * conform/data/string.h-data (NULL): Use macro-constant. Require
40608 equal to 0.
40609 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40610 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40611 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40612 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40613 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40614
40615 2012-07-13 Andreas Jaeger <aj@suse.de>
40616
40617 * po/fr.po: Update from translation team.
40618
40619 2012-07-12 Marek Polacek <polacek@redhat.com>
40620
40621 [BZ #14173]
40622 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40624 loop condition.
40625
40626 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40627
40628 [BZ #13717]
40629 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40630 Change to 2.4.1 where previously 2.4.0.
40631 * sysdeps/unix/sysv/linux/configure: Regenerated.
40632 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40633 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40634 version.
40635 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40636 (__ASSUME_AT_CLKTCK): Remove.
40637 (__ASSUME_AT_PAGESIZE): Likewise.
40638 (__ASSUME_AT_XID): Likewise.
40639 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40640 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40641 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40642 unconditionally.
40643 (HAVE_AUX_PAGESIZE): Likewise.
40644 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40645 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40646 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40647
40648 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40649
40650 [BZ #14307]
40651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40652 the temporary buffer used to invoke __gethostbyname2_r,
40653 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40654 host_data / struct gaih_addrtuple.
40655 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40656 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40657 header file nss/nsswitch.h.
40658 * nss/nsswitch.h (global scope): Add definition of implementation
40659 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40660 resolv/nss_dns/dns-host.c).
40661
40662 2012-07-11 Andreas Jaeger <aj@suse.de>
40663
40664 * po/fr.po: Update from translation team.
40665
40666 * po/sv.po: Update from translation team
40667 * po/fr.po: Another update from translation team.
40668
40669 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40670
40671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40672 for subnormals or multiply small sinh result by itself.
40673 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40675
40676 2012-07-11 David S. Miller <davem@davemloft.net>
40677
40678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40679
40680 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40681
40682 [BZ #14347]
40683 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40684 (INTERNAL_MARK): Shift it here.
40685
40686 2012-07-10 Marek Polacek <polacek@redhat.com>
40687
40688 [BZ #14151]
40689 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40690 libc_cv_asm_global_directive with .globl.
40691 * configure: Regenerated.
40692 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40693 with .globl.
40694 * sysdeps/i386/configure: Regenerated.
40695 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40696 with .globl.
40697 * sysdeps/x86_64/configure: Regenerated.
40698 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40699 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40700 * elf/tst-unique2mod2.c: Likewise.
40701 * elf/tst-unique2mod1.c: Likewise.
40702 * elf/tst-unique1mod2.c: Likewise.
40703 * elf/tst-unique1mod1.c: Likewise.
40704 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40705 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40707 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40708 * sysdeps/mach/sysdep.h: Likewise.
40709 * sysdeps/i386/sysdep.h: Likewise.
40710 * sysdeps/i386/i386-mcount.S: Likewise.
40711 * sysdeps/x86_64/_mcount.S: Likewise.
40712 * sysdeps/x86_64/sysdep.h: Likewise.
40713 * sysdeps/sh/_mcount.S: Likewise.
40714 * sysdeps/sh/sysdep.h: Likewise.
40715 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40716 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40717 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40718 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40719 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40720 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40721 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40722 * locale/localeinfo.h: Likewise.
40723 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40724 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40725
40726 2012-07-09 Roland McGrath <roland@hack.frob.com>
40727
40728 [BZ #14336]
40729 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40730 system".
40731 * manual/message.texi (The Uniforum approach): Likewise.
40732 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40733 (glibc iconv Implementation): Likewise.
40734
40735 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40736
40737 [BZ #14337]
40738 * math/s_clog.c (__clog): Avoid scaling a value down where that
40739 could result in underflow.
40740 * math/s_clog10.c (__clog10): Likewise.
40741 * math/s_clog10f.c (__clog10f): Likewise.
40742 * math/s_clog10l.c (__clog10l): Likewise.
40743 * math/s_clogf.c (__clogf): Likewise.
40744 * math/s_clogl.c (__clogl): Likewise.
40745 * math/libm-test.inc (clog_test): Add more tests.
40746 (clog10_test): Likewise.
40747 * sysdeps/i386/fpu/libm-test-ulps: Update.
40748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40749
40750 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40751
40752 [BZ #14283]
40753 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40754 by 7 not 8 to examine high bit of fractional part.
40755
40756 [BZ #14042]
40757 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40758 for call to __mcount_internal.
40759 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40760 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40761 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40762
40763 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40764
40765 [BZ #14154]
40766 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40767 approximation for values within 0x1p-13f of an odd multiple of
40768 pi/4.
40769 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40770 exception. Add more tests.
40771 * sysdeps/i386/fpu/libm-test-ulps: Update.
40772
40773 [BZ #6778]
40774 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40775 inputs and return -1 for them. Do not check for +Inf in case not
40776 reachable for +Inf.
40777 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40778 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40779 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40780 and return -1 for them. Do not check for +Inf in case not
40781 reachable for +Inf.
40782 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40783 define.
40784 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40785 and return -1 for them. Do not check for +Inf in case not
40786 reachable for +Inf.
40787 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40788 spurious underflow.
40789 * sysdeps/i386/fpu/libm-test-ulps: Update.
40790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40791
40792 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40793
40794 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40795
40796 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40797
40798 [BZ #14157]
40799 [BZ #14331]
40800 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40801 could result in spurious underflow. Scale down values above
40802 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40803 * math/s_csqrtf.c (__csqrtf): Likewise.
40804 * math/s_csqrtl.c (__csqrtl): Likewise.
40805 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40806 spurious underflow.
40807 * sysdeps/i386/fpu/libm-test-ulps: Update.
40808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40809
40810 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40811
40812 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40813 xopen-msg.sed.
40814 * catgets/xopen-msg.awk: New file.
40815 * catgets/xopen-msg.sed: Removed.
40816
40817 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40818 po2text.sed.
40819 * intl/po2test.awk: New file.
40820 * intl/po2test.sed: Removed.
40821
40822 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40823
40824 [BZ #14328]
40825 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40826 or multiply small sinh result by itself.
40827 * math/s_ctanf.c (__ctanf): Likewise.
40828 * math/s_ctanh.c (__ctanh): Likewise.
40829 * math/s_ctanhf.c (__ctanhf): Likewise.
40830 * math/s_ctanhl.c (__ctanhl): Likewise.
40831 * math/s_ctanl.c (__ctanl): Likewise.
40832 * math/libm-test.inc (ctan_test_tonearest): New function.
40833 (ctan_test_towardzero): Likewise.
40834 (ctan_test_downward): Likewise.
40835 (ctan_test_upward): Likewise.
40836 (ctanh_test_tonearest): Likewise.
40837 (ctanh_test_towardzero): Likewise.
40838 (ctanh_test_downward): Likewise.
40839 (ctanh_test_upward): Likewise.
40840 (main): Call these new functions.
40841 * sysdeps/i386/fpu/libm-test-ulps: Update.
40842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40843
40844 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40845
40846 * .gitignore: Delete /ports entry.
40847
40848 2012-07-03 Andreas Jaeger <aj@suse.de>
40849
40850 * po/bg.po: Update from translation team.
40851 * po/cs.po: Likewise.
40852 * po/de.po: Likewise.
40853 * po/hr.po: Likewise.
40854 * po/nl.pl: Likewise.
40855 * po/pl.po: Likewise.
40856 * po/vi.po: Likewise.
40857
40858 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40859
40860 * Makeconfig [!+link] (+link-before-libc): New variable.
40861 [!+link] (+link-after-libc): Likewise.
40862 [!+link] (+link-tests): Likewise.
40863 [!+link] (+link): Define in terms of $(+link-before-libc) and
40864 $(+link-after-libc).
40865 [!+link-static] (+link-static-before-libc): New variable.
40866 [!+link-static] (+link-static-after-libc): Likewise.
40867 [!+link-static] (+link-static-tests): Likewise.
40868 [!+link-static] (+link-static): Define in terms of
40869 $(+link-static-before-libc) and $(+link-static-after-libc).
40870 [build-shared] (link-libc-before-gnulib): New variable.
40871 [build-shared] (link-libc-tests): Likewise.
40872 [build-shared] (link-libc): Define in terms of
40873 $(link-libc-before-gnulib).
40874 [!build-shared] (link-libc-tests): New variable.
40875 (link-libc-static-tests): New variable.
40876 [!gnulib] (gnulib-arch): New variable.
40877 [!gnulib] (gnulib-tests): Likewise.
40878 [!gnulib] (static-gnulib-arch): Likewise.
40879 [!gnulib] (static-gnulib-tests): Likewise.
40880 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40881 Define with "=" instead of ":=".
40882 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40883 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40884 * Rules (binaries-all-notests): New variable.
40885 (binaries-all-tests): Likewise.
40886 (binaries-static-notests): Likewise.
40887 (binaries-static-tests): Likewise.
40888 (binaries-all): Define using $(binaries-all-notests) and
40889 $(binaries-all-tests).
40890 (binaries-static): Define using $(binaries-static-notests) and
40891 $(binaries-static-tests).
40892 (binaries-shared-tests): New variable.
40893 (binaries-shared-notests): Likewise.
40894 (binaries-shared): Remove variable.
40895 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40896 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40897 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40898 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40899 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40900 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40901 * elf/Makefile (sln-modules): New variable.
40902 (extra-objs): Add $(sln-modules:=.o).
40903 (ldconfig-modules): Add static-stubs.
40904 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40905 * elf/static-stubs.c: New file.
40906
40907 [BZ #14283]
40908 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40909 by 7 not 8 to examine high bit of fractional part. Use volatile
40910 variables when splitting into final array of floats if
40911 __FLT_EVAL_METHOD__ != 0.
40912 * math/libm-test.inc (cos_test): Add another test.
40913 (sin_test): Likewise.
40914 * sysdeps/i386/fpu/libm-test-ulps: Update.
40915
40916 [BZ #14273]
40917 * math/libm-test.inc (cosh_test): Add more tests.
40918
40919 * version.h (RELEASE): Set to "development".
40920 (VERSION): Set to "2.16.90".
40921
40922 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40923
40924 * NEWS: Update copyright. Remove last-updated date.
40925 Mention math library bug fixes and timezone data changes.
40926 * README: Mention GNU/Hurd, x32, and HPPA support status.
40927
40928 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40929
40930 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40931
40932 2012-06-27 Andreas Jaeger <aj@suse.de>
40933
40934 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40935
40936 2012-06-25 Andreas Jaeger <aj@suse.de>
40937
40938 * sysdeps/s390/fpu/libm-test-ulps: Update.
40939
40940 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40941 Thomas Schwinge <thomas@codesourcery.com>
40942
40943 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40944 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40945 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40946 fanotify_mark.
40947
40948 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40949
40950 * sysdeps/mach/start.c: Remove file.
40951 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40952 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40953 * sysdeps/sh/init-first.c: Likewise.
40954
40955 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40956 registers for frame unwinding purposes, add CFI directives.
40957 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40959 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40960 Likewise.
40961
40962 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40963 __fortify_fail returning.
40964 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40965
40966 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40967 sysdeps/sh/____longjmp_chk.S.
40968 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40969 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40970 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40971 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40972
40973 * sysdeps/sh/abort-instr.h: New file.
40974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40975 process in case exit returns.
40976
40977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40978 initialize the GOT register before use.
40979
40980 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40981 calculation of ARGC > 4.
40982
40983 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40984 meaningful names to some local labels.
40985
40986 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40987 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40988
40989 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40990 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40991 (__arch_compare_and_exchange_val_16_acq): Likewise.
40992 (__arch_compare_and_exchange_val_32_acq): Likewise.
40993 (atomic_exchange_and_add): Fix gUSA sequence.
40994 (atomic_add): Likewise.
40995 (atomic_add_negative): Likewise.
40996 (atomic_add_zero): Likewise.
40997 (atomic_bit_test_set): Likewise.
40998
40999 2012-06-22 Andreas Schwab <schwab@redhat.com>
41000
41001 [BZ #13579]
41002 * include/link.h (struct link_map): Add l_free_initfini.
41003 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41004 l_initfini.
41005 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41006 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41007 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41008 set.
41009
41010 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41011
41012 * configure.in: Use AC_LANG_SOURCE.
41013 * configure: Regenerate.
41014
41015 2012-06-22 Roland McGrath <roland@hack.frob.com>
41016
41017 * configure.in (libc_cv_localstatedir): New substituted variable.
41018 * configure: Regenerated.
41019 * config.make.in (localstatedir): New variable, substituted from
41020 libc_cv_localstatedir.
41021 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41022 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41023 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41024 * sysdeps/gnu/configure: Regenerated.
41025
41026 2012-06-21 Jeff Law <law@redhat.com>
41027
41028 [BZ #14277]
41029 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41030 free. Simplify list management for _LIBC case.
41031
41032 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41033
41034 [BZ #14273]
41035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41036 Clear sign bit of 64-bit integer value before comparing against
41037 overflow value.
41038
41039 * sysdeps/mach/configure: Regenerated.
41040
41041 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41042
41043 [BZ #14278]
41044 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41045
41046 2012-06-21 Jeff Law <law@redhat.com>
41047
41048 [BZ #13882]
41049 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41050 uint16_t for elements in the "seen" array to avoid char overflows.
41051 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41052 * elf/dl-open.c (dl_open_worker): Likewise.
41053
41054 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41055
41056 * scripts/list-sources.sh: Scan PORTS for translations.
41057 * po/libc.pot: Regenerated.
41058
41059 2012-06-21 Andreas Jaeger <aj@suse.de>
41060
41061 [BZ #12194]
41062 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41063 warning.
41064 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41065 * bits/byteswap-16.h (__bswap_16): Likewise.
41066 * bits/byteswap.h (__bswap_constant_16): Likewise.
41067
41068 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41069
41070 [BZ #14117]
41071 * sysdeps/i386/fpu_control.h: Removed.
41072 * sysdeps/x86_64/fpu_control.h: Moved to ...
41073 * sysdeps/x86/fpu_control.h: Here.
41074
41075 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41076 (_FPU_SETCW): Likewise.
41077
41078 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41079
41080 [BZ #14117]
41081 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41082 * sysdeps/x86/fpu/bits/mathinline.h: This.
41083 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41084
41085 [BZ #14050]
41086 [BZ #14117]
41087 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41088 functions if __x86_64__ is defined.
41089
41090 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41091
41092 * string/endian.h: Add !__ASSEMBLER__ condition for including
41093 conversion interfaces.
41094
41095 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41096
41097 [BZ #14241]
41098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41099 of ABS(x) in calculating zero to negative powers other than odd
41100 integers.
41101 * math/libm-test.inc (pow_test): Add more tests.
41102
41103 2012-06-15 Andreas Jaeger <aj@suse.de>
41104
41105 * manual/contrib.texi (Contributors): Update entry of Liubov
41106 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41107 Machado Filho.
41108
41109 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41110
41111 * string/string.h: Add __wur to GNU version of strerror_r.
41112
41113 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41114
41115 [BZ #14229]
41116 * string/Makefile (tests): Add tst-strtok_r.
41117 * string/tst-strtok_r.c: New file.
41118 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41119 RAX_LP/RDX_LP on SAVE_PTR.
41120
41121 2012-06-14 Roland McGrath <roland@hack.frob.com>
41122
41123 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41124
41125 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41126
41127 * libm_test.inc (csqrt_test): Allow more spurious underflow
41128 exceptions.
41129 (j0_test): Likewise.
41130 (j1_test): Likewise.
41131 (y0_test): Likewise.
41132 (y1_test): Likewise.
41133
41134 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41135
41136 * po/Makefile (libc.pot): Use UTF-8 charset.
41137
41138 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41139
41140 [BZ #14210]
41141 Suppress sign-conversion warning from FD_SET.
41142 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41143 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41144 not unsigned long int.
41145 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41146
41147 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41148
41149 [BZ #14050]
41150 [BZ #14117]
41151 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41152 __extern_always_inline instead of __extern_inline.
41153 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41154 (__signbit): Likewise.
41155 (__signbitl): Support C++ namespace.
41156 (lrintf): New inline function.
41157 (lrint): Likewise.
41158 (llrintf): Likewise.
41159 (llrint): Likewise.
41160 (fmaxf): Likewise.
41161 (fmax): Likewise.
41162 (fminf): Likewise.
41163 (fmin): Likewise.
41164 (rint): Likewise.
41165 (rintf): Likewise.
41166 (ceil): Likewise.
41167 (ceilf): Likewise.
41168 (floor): Likewise.
41169 (floorf): Likewise.
41170 (nearbyint): Likewise.
41171 (nearbyintf): Likewise.
41172
41173 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41174
41175 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41176 non-default versions.
41177
41178 2012-06-11 Roland McGrath <roland@hack.frob.com>
41179
41180 [BZ #14218]
41181 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41182
41183 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41184
41185 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41186 (FE_UPWARD, FE_DOWNWARD): Don't define.
41187 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41188 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41189
41190 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41191 reading it.
41192 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41194
41195 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41196
41197 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41199 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41200 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41201
41202 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41203
41204 [BZ #14117]
41205 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41206 * sysdeps/i386/fpu/Implies: New file.
41207 * sysdeps/x86_64/fpu/Implies: Likewise.
41208 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41209 * sysdeps/x86/fpu/bits/fenv.h: This.
41210
41211 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41212 __SSE_MATH__.
41213
41214 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41215
41216 [BZ #14134]
41217 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41218 character 0xffff that matches the last element of the
41219 conversion table.
41220
41221 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41222
41223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41224 fmodl commit.
41225
41226 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41227
41228 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41229 values higher than 25.6283.
41230
41231 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41232
41233 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41234 subnormal exponent extraction and add some __builtin_expect.
41235 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41236 Fix for subnormal mantissa calculation.
41237
41238 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41239
41240 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41241 cpu2 is -1 and errno is not ENOSYS.
41242
41243 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41244
41245 [BZ #14117]
41246 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41247 * sysdeps/x86/bits/string.h: This.
41248 * sysdeps/x86_64/bits/string.h: Removed.
41249
41250 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41251 if not compiling for x86-64, but compiling for >= i486.
41252
41253 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41254 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41255
41256 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41257 New macro from Linux kernel 3.4.0.
41258 (FP_XSTATE_MAGIC2): Likewise.
41259 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41260 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41261 (struct _fpx_sw_bytes): New struct.
41262 (struct _xsave_hdr): Likewise.
41263 (struct _ymmh_state): Likewise.
41264 (struct _xstate): Likewise.
41265
41266 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41267 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41268 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41269 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41270 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41271 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41272
41273 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41274 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41275 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41276 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41277 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41278 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41279
41280 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41281
41282 [BZ #13743]
41283 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41284 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41285 (sysdep_headers): Include sys/platform/ppc.h.
41286 * sysdeps/powerpc/test-gettimebase.c: Test for
41287 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41288 * manual/Makefile (appendices): Include platform.texi.
41289 * manual/contrib.texi (Contributors): Update @node pointers.
41290 * manual/maint.texi (Maintenance): Likewise.
41291 (Platform): New node.
41292 * manual/platform.texi: New file. Document the new features.
41293
41294 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41295 Jakub Jelinek <jakub@redhat.com>
41296
41297 [BZ #14188]
41298 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41299 where __builtin_expect is unavailable.
41300
41301 2012-06-03 David S. Miller <davem@davemloft.net>
41302
41303 * stdlib/longlong.h: Updated from GCC.
41304
41305 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41306
41307 [BZ #14042]
41308 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41309 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41310 __mcount_internal.
41311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41312 (GLIBC_2.16): Likewise.
41313
41314 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41315
41316 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41317
41318 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41319
41320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41321 (default-abi): New variable.
41322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41323 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41324 variable.
41325 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41326 Likewise.
41327 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41328 Likewise.
41329 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41330 Likewise.
41331
41332 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41333 definition. Document in comment.
41334
41335 2012-06-01 David S. Miller <davem@davemloft.net>
41336
41337 * stdlib/longlong.h: Updated from GCC.
41338
41339 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41340
41341 [BZ #14117]
41342 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41343 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41344 sys/debugreg.h sys/io.h here.
41345 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41346 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41347 sys/io.h.
41348 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41349 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41350 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41351 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41352 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41353 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41354
41355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41356 Define only if __x86_64__ is defined.
41357
41358 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41359
41360 [BZ #14048]
41361 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41362 Use int64_t for variable i.
41363 * math/libm-test.inc (fmod_test): Add more tests.
41364
41365 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41366 z computation is not scheduled after fetestexcept.
41367 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41368 Use math_force_eval instead of asm to ensure calculation scheduled
41369 before exception test.
41370 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41371 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41372
41373 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41374
41375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41376 computation is not scheduled after fetestexcept.
41377
41378 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41379
41380 [BZ #14117]
41381 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41382 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41383
41384 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41385
41386 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41387 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41388
41389 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41390
41391 [BZ #14117]
41392 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41393 <bits/wordsize.h>.
41394 (__WCHAR_MIN): Support __WORDSIZE == 64.
41395 (__WCHAR_MAX): Likewise.
41396
41397 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41398 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41399
41400 [BZ #14183]
41401 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41402 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41403
41404 [BZ #14117]
41405 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41406 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41407
41408 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41409 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41410
41411 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41412 Defined to 1 if __x86_64__ isn't defined.
41413 (_STAT_VER_LINUX_OLD): New.
41414 (st_atime): Remove duplicate.
41415 (st_mtime): Likewise.
41416 (st_ctime): Likewise.
41417
41418 2012-05-31 David S. Miller <davem@davemloft.net>
41419
41420 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41421 entries.
41422
41423 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41424
41425 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41426 gen-libm-test.pl.
41427
41428 [BZ #14132]
41429 * elf/dl-reloc.c: Include <_itoa.h>.
41430 (_dl_reloc_bad_type): Remove use of INTUSE.
41431 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41432 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41433 * stdio-common/psiginfo.c (psiginfo): Likewise.
41434 * stdio-common/psignal.c (psignal): Likewise.
41435 * string/strsignal.c (strsignal): Likewise.
41436 * include/signal.h (_sys_siglist): Declare hidden proto.
41437 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41438 INTVARDEF with libc_hidden_data_def.
41439 * stdio-common/itoa-udigits.c: Likewise.
41440 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41441 (_itoa_lower_digits_internal): Remove declaration.
41442 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41443 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41444 (_sys_sigabbrev_internal): Remove aliases.
41445 (_sys_siglist): Define hidden alias.
41446
41447 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41448
41449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41450 bits/sysctl.h.
41451
41452 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41453
41454 [BZ #14117]
41455 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41456 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41457
41458 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41459 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41460 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41461 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41463 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41464
41465 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41466 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41467 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41468
41469 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41470 with __addr.
41471 (insw): Likewise.
41472 (insl): Likewise.
41473 (outsb): Likewise.
41474 (outsw): Likewise.
41475 (outsl): Likewise.
41476
41477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41478 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41479 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41480
41481 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41482 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41484 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41485 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41486 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41487
41488 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41489 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41490
41491 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41492 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41493
41494 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41495 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41496 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41497
41498 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41499 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41500 to ...
41501 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41502
41503 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41504 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41505 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41506
41507 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41508 for x86-64.
41509 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41510
41511 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41512
41513 * math/math.h (M_El): Use two more decimal places.
41514 (M_LOG2El): Likewise.
41515 (M_LOG10El): Likewise.
41516 (M_LN2l): Likewise.
41517 (M_LN10l): Likewise.
41518 (M_PIl): Likewise.
41519 (M_PI_2l): Likewise.
41520 (M_PI_4l): Likewise.
41521 (M_1_PIl): Likewise.
41522 (M_2_PIl): Likewise.
41523 (M_2_SQRTPIl): Likewise.
41524 (M_SQRT2l): Likewise.
41525 (M_SQRT1_2l): Likewise.
41526
41527 2012-05-31 David S. Miller <davem@davemloft.net>
41528
41529 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41530 values between float registers.
41531 * sysdeps/sparc/sparc64/memset.S: Likewise.
41532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41533
41534 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41535
41536 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41537 -D_FORTIFY_SOURCE=1.
41538 (CPPFLAGS-tst-longjmp_chk.c): Define.
41539 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41540 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41541 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41542 CFLAGS-tst-wchar-h.c.
41543
41544 2012-05-31 Marek Polacek <polacek@redhat.com>
41545
41546 [BZ #14132]
41547 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41548 __endmntent_internal): Remove declaration.
41549 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41550 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41551 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41552
41553 2012-05-30 David S. Miller <davem@davemloft.net>
41554
41555 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41556 (___Q_simulate_exceptions): Use real FP ops rather than writing
41557 into the %fsr.
41558 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41559 Likewise.
41560
41561 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41562
41563 [BZ #14117]
41564 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41565 * sysdeps/x86/bits/xtitypes.h: This.
41566
41567 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41568 * sysdeps/x86/bits/wordsize.h: This.
41569
41570 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41571 * sysdeps/x86/bits/huge_vall.h: This.
41572
41573 * sysdeps/i386/bits/select.h: Removed.
41574 * sysdeps/x86_64/bits/select.h: Renamed to ...
41575 * sysdeps/x86/bits/select.h: This.
41576
41577 * sysdeps/i386/bits/setjmp.h: Removed.
41578 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41579 * sysdeps/x86/bits/setjmp.h: This.
41580
41581 * sysdeps/i386/bits/mathdef.h: Removed.
41582 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41583 * sysdeps/x86/bits/mathdef.h: This.
41584
41585 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41586
41587 [BZ #14132]
41588 * include/sys/socket.h (__connect_internal)
41589 (__libc_sa_len_internal): Remove declaration.
41590 (__connect, __libc_sa_len): Declare hidden_proto.
41591 (SA_LEN): Remove use of INTUSE.
41592 * socket/connect.c: Add libc_hidden_def.
41593 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41594 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41595 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41596 alias.
41597 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41598 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41599 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41600 of adding _internal alias.
41601
41602 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41603
41604 [BZ #14117]
41605 * sysdeps/i386/bits/link.h: Removed.
41606 * sysdeps/i386/bits/linkmap.h: Likewise.
41607 * sysdeps/x86_64/bits/link.h: Renamed to ...
41608 * sysdeps/x86/bits/link.h: This.
41609 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41610 * sysdeps/x86/bits/linkmap.h: This.
41611
41612 * sysdeps/i386/bits/endian.h: Removed.
41613 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41614 * sysdeps/x86/bits/endian.h: This.
41615
41616 * sysdeps/i386/bits/byteswap.h: Removed.
41617 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41618 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41619 * sysdeps/x86/bits/byteswap.h: This.
41620 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41621 * sysdeps/x86/bits/byteswap-16.h: This.
41622 * sysdeps/i386/Implies: Add x86.
41623 * sysdeps/x86_64/Implies: Likewise.
41624
41625 2012-05-30 David S. Miller <davem@davemloft.net>
41626
41627 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41628 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41629 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41630 (FP_TRAPPING_EXCEPTIONS): Define.
41631 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41632 (FP_TRAPPING_EXCEPTIONS): Define.
41633 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41634 subnormals only when inexact has been signalled or underflow
41635 exceptions are enabled.
41636 (_FP_PACK_CANONICAL): Likewise.
41637
41638 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41639
41640 [BZ #14183]
41641 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41642 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41643
41644 2012-05-30 Richard Henderson <rth@twiddle.net>
41645
41646 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41647 with #ifndef NOT_IN_libc.
41648
41649 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41650 marked to avoid plt entry.
41651
41652 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41653
41654 [BZ #14112]
41655 * Makeconfig (default-abi): New macro.
41656 (abi-includes): Likewise.
41657 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41658 $(abi-$(default-abi)-lib-soname) for soname if defined.
41659 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41660 abi-variants.
41661 * Makefile (installed-stubs): Likewise.
41662 * include/stubs-biarch.h: Removed.
41663 * scripts/lib-names.awk: Only handle one library at a time.
41664 * scripts/soversions.awk: Remove WORDSIZE support.
41665 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41666 entries.
41667 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41668 Removed.
41669 (syscall-list-default-condition): Likewise.
41670 (syscall-list-default-condition): Likewise.
41671 (syscall-list-includes): Likewise.
41672 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41673 syscall-list-* with abi-*. Handle undefined abi-variants.
41674 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41675 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41676 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41677 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41678 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41679 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41680 Removed.
41681 (syscall-list-32-options): Likewise.
41682 (syscall-list-32-condition): Likewise.
41683 (syscall-list-64-options): Likewise.
41684 (syscall-list-64-condition): Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41686 macro.
41687 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41688 Renamed to ...
41689 (abi-*): This.
41690 (abi-64-ld-soname): New macro.
41691 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41692 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41693 Renamed to ...
41694 (abi-*): This.
41695 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41696 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41697
41698 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41699
41700 * sysdeps/unix/sysv/linux/kernel-features.h
41701 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41702 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41703 include <kernel-features.h>.
41704 [!__NR_ftruncate64]: Remove conditional code.
41705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41706 [__NR_ftruncate64]: Make code unconditional.
41707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41708 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41709 include <kernel-features.h>.
41710 [!__NR_ftruncate64]: Remove conditional code.
41711 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41712 [__NR_ftruncate64]: Make code unconditional.
41713 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41715 include <kernel-features.h>.
41716 [!__NR_ftruncate64]: Remove conditional code.
41717 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41718 [__NR_ftruncate64]: Make code unconditional.
41719 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41721 include <kernel-features.h>.
41722 [!__NR_ftruncate64]: Remove conditional code.
41723 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41724 [__NR_ftruncate64]: Make code unconditional.
41725 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41726
41727 * configure.in (libc_cv_fpie): Weaken to a compile test using
41728 LIBC_TRY_CC_OPTION.
41729 * configure: Regenerated.
41730
41731 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41732
41733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41737 Refreshed.
41738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41739 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41744 Refreshed.
41745
41746 2012-05-27 David S. Miller <davem@davemloft.net>
41747
41748 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41749 (___Q_zero): New.
41750 (__Q_simulate_exceptions): Return void. Change to simulate
41751 exceptions by writing into the %fsr.
41752 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41753 (__Qp_handle_exceptions): Likewise.
41754 (numbers): Delete.
41755 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41756 __Qp_handle_exceptions.
41757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41758 __Qp_handle_exceptions.
41759 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41760 as unused and give dummy FP_RND_NEAREST initializer.
41761 (FP_INHIBIT_RESULTS): Define.
41762 (___Q_simulate_exceptions): Update declaration.
41763 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41764 formatting.
41765 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41766 as unused and give dummy FP_RND_NEAREST initializer.
41767 (__Qp_handle_exceptions): Update declaration.
41768 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41769 formatting.
41770
41771 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41772
41773 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41774 the temporary FPU control word.
41775 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41776 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41777 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41778 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41779 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41780 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41781 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41782 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41783 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41784 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41785 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41786
41787 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41788
41789 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41790 fields.
41791
41792 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41793
41794 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41795 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41796 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41797 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41798 Likewise.
41799 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41800 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41801 Likewise.
41802
41803 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41804
41805 * po/h.po: Update from translation team.
41806
41807 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41808
41809 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41810
41811 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41812 handling of denormals.
41813 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41814 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41815 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41816 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41820 Likewise.
41821
41822 2012-05-26 Marek Polacek <polacek@redhat.com>
41823
41824 [BZ #14152]
41825 * math/libm-test.inc (fma_test): Don't always expect underflow
41826 exception.
41827
41828 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41829
41830 [BZ #12416]
41831 * elf/tst-execstack.c: Include stackinfo.h.
41832 (do_test): Adjust test case to ensure that pthread_getattr_np
41833 behaviour remains the same after marking stack executable.
41834
41835 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41836
41837 * sysdeps/unix/sysv/linux/kernel-features.h
41838 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41839 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41840 kernel-features.h.
41841 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41842 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41843 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41844 kernel-features.h.
41845 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41846 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41847
41848 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41849
41850 * configure.in: Define the default includes to being none.
41851 * configure: Regenerated.
41852
41853 2012-05-25 Roland McGrath <roland@hack.frob.com>
41854
41855 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41856 * sysdeps/x86_64/setjmp.S: Likewise.
41857 * sysdeps/i386/bsd-setjmp.S: Likewise.
41858 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41859 * sysdeps/i386/setjmp.S: Likewise.
41860 * sysdeps/i386/__longjmp.S: Likewise.
41861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41862 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41863
41864 * include/stap-probe.h: New file.
41865 * configure.in: Handle --enable-systemtap.
41866 * configure: Regenerated.
41867 * config.h.in (USE_STAP_PROBE): New #undef.
41868 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41869 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41870 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41871
41872 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41873
41874 [BZ #13717]
41875 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41876 to 2.4.0 where earlier.
41877 * sysdeps/unix/sysv/linux/configure: Regenerated.
41878 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41879 <kernel-features.h>.
41880 [__ASSUME_32BITUIDS]: Make code unconditional.
41881 [!__ASSUME_32BITUIDS]: Remove conditional code.
41882 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41883 <kernel-features.h>.
41884 [__ASSUME_32BITUIDS]: Make code unconditional.
41885 [!__ASSUME_32BITUIDS]: Remove conditional code.
41886 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41887 [__ASSUME_32BITUIDS]: Make code unconditional.
41888 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41889 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41890 <kernel-features.h>.
41891 [__ASSUME_32BITUIDS]: Make code unconditional.
41892 [!__ASSUME_32BITUIDS]: Remove conditional code.
41893 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41894 <kernel-features.h>.
41895 [__ASSUME_32BITUIDS]: Make code unconditional.
41896 [!__ASSUME_32BITUIDS]: Remove conditional code.
41897 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41898 <kernel-features.h>.
41899 [__ASSUME_32BITUIDS]: Make code unconditional.
41900 [!__ASSUME_32BITUIDS]: Remove conditional code.
41901 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41902 <kernel-features.h>.
41903 [__ASSUME_32BITUIDS]: Make code unconditional.
41904 [!__ASSUME_32BITUIDS]: Remove conditional code.
41905 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41906 <kernel-features.h>.
41907 [__ASSUME_32BITUIDS]: Make code unconditional.
41908 [!__ASSUME_32BITUIDS]: Remove conditional code.
41909 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41910 <kernel-features.h>.
41911 [__ASSUME_32BITUIDS]: Make code unconditional.
41912 [!__ASSUME_32BITUIDS]: Remove conditional code.
41913 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41914 <kernel-features.h>.
41915 [__ASSUME_32BITUIDS]: Make code unconditional.
41916 [!__ASSUME_32BITUIDS]: Remove conditional code.
41917 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41918 <kernel-features.h>.
41919 [__ASSUME_32BITUIDS]: Make code unconditional.
41920 [!__ASSUME_32BITUIDS]: Remove conditional code.
41921 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41922 <kernel-features.h>.
41923 [__ASSUME_32BITUIDS]: Make code unconditional.
41924 [!__ASSUME_32BITUIDS]: Remove conditional code.
41925 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41926 <kernel-features.h>.
41927 [__ASSUME_32BITUIDS]: Make code unconditional.
41928 [!__ASSUME_32BITUIDS]: Remove conditional code.
41929 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41930 <kernel-features.h>.
41931 [__NR_setresgid] (__setresgid): Do not declare.
41932 [__ASSUME_32BITUIDS]: Make code unconditional.
41933 [!__ASSUME_32BITUIDS]: Remove conditional code.
41934 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41935 <kernel-features.h>.
41936 [__NR_setresuid] (__setresuid): Do not declare.
41937 [__ASSUME_32BITUIDS]: Make code unconditional.
41938 [!__ASSUME_32BITUIDS]: Remove conditional code.
41939 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41940 <kernel-features.h>.
41941 [__ASSUME_32BITUIDS]: Make code unconditional.
41942 [!__ASSUME_32BITUIDS]: Remove conditional code.
41943 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41944 <kernel-features.h>.
41945 [__ASSUME_32BITUIDS]: Make code unconditional.
41946 [!__ASSUME_32BITUIDS]: Remove conditional code.
41947 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41948 <kernel-features.h>.
41949 [__ASSUME_32BITUIDS]: Make code unconditional.
41950 [!__ASSUME_32BITUIDS]: Remove conditional code.
41951 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41952 <kernel-features.h>.
41953 [__ASSUME_32BITUIDS]: Make code unconditional.
41954 [!__ASSUME_32BITUIDS]: Remove conditional code.
41955 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41956 <kernel-features.h>.
41957 [__ASSUME_32BITUIDS]: Make code unconditional.
41958 [!__ASSUME_32BITUIDS]: Remove conditional code.
41959 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41960 <kernel-features.h>.
41961 [__ASSUME_32BITUIDS]: Make code unconditional.
41962 [!__ASSUME_32BITUIDS]: Remove conditional code.
41963 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41964 <kernel-features.h>.
41965 [__ASSUME_32BITUIDS]: Make code unconditional.
41966 [!__ASSUME_32BITUIDS]: Remove conditional code.
41967 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41968 <kernel-features.h>.
41969 [__ASSUME_32BITUIDS]: Make code unconditional.
41970 [!__ASSUME_32BITUIDS]: Remove conditional code.
41971 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41972 <kernel-features.h>.
41973 [__ASSUME_32BITUIDS]: Make code unconditional.
41974 [!__ASSUME_32BITUIDS]: Remove conditional code.
41975 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41976 <kernel-features.h>.
41977 [__ASSUME_32BITUIDS]: Make code unconditional.
41978 [!__ASSUME_32BITUIDS]: Remove conditional code.
41979 * sysdeps/unix/sysv/linux/kernel-features.h
41980 (__ASSUME_SETRESUID_SYSCALL): Remove.
41981 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41982 (__ASSUME_32BITUIDS): Likewise.
41983 (__ASSUME_LDT_WORKS): Likewise.
41984 (__ASSUME_O_DIRECTORY): Likewise.
41985 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41986 architecture but not kernel version.
41987 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41988 (__ASSUME_MMAP2_SYSCALL): Likewise.
41989 (__ASSUME_STAT64_SYSCALL): Likewise.
41990 (__ASSUME_IPC64): Likewise.
41991 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41992 <kernel-features.h>.
41993 [__ASSUME_32BITUIDS]: Make code unconditional.
41994 [!__ASSUME_32BITUIDS]: Remove conditional code.
41995 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41996 <kernel-features.h>.
41997 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41998 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41999 132096]: Remove conditional code.
42000 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42001 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
42010 <kernel-features.h>.
42011 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42012 unconditional.
42013 (__setresgid): Do not declare.
42014 [__ASSUME_32BITUIDS]: Make code unconditional.
42015 [!__ASSUME_32BITUIDS]: Remove conditional code.
42016 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42017 <kernel-features.h>.
42018 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42019 unconditional.
42020 (__setresuid): Do not declare.
42021 [__ASSUME_32BITUIDS]: Make code unconditional.
42022 [!__ASSUME_32BITUIDS]: Remove conditional code.
42023 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
42028 <kernel-features.h>.
42029 [__ASSUME_32BITUIDS]: Make code unconditional.
42030 [!__ASSUME_32BITUIDS]: Remove conditional code.
42031
42032 2012-05-25 Richard Henderson <rth@twiddle.net>
42033
42034 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42035 dl_hwcap to ifunc resolver.
42036 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42037 elf_ifunc_invoke.
42038 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42039 dl_hwcap to ifunc resolver.
42040 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42041
42042 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42043
42044 [BZ #14153]
42045 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42046 for |x| <= 2**-26, not 2**-57.
42047 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42048 exception.
42049
42050 2012-05-24 Jeff Law <law@redhat.com>
42051
42052 * stdio-common/Makefile (tests): Add bug25.
42053 * stdio-common/bug25.c: New test.
42054
42055 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42056
42057 [BZ #13576]
42058 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42059 multiple of MALLOC_ALIGNMENT in size.
42060 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42061
42062 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42063
42064 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42065 Require >= 256.
42066 (FILENAME_MAX): Use macro-int-constant.
42067 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42068 (_IOFBF): Use macro-int-constant.
42069 (_IOLBF): Likewise.
42070 (_IONBF): Likewise.
42071 (SEEK_CUR): Likewise.
42072 (SEEK_END): Likewise.
42073 (SEEK_SET): Likewise.
42074 (TMP_MAX): Likewise.
42075 (EOF): Use macro-int-constant. Require < 0.
42076 (NULL): Use macro-constant. Require == 0.
42077 (stdin): Require type to be FILE *.
42078 (stdout): Likewise.
42079 (stderr): Likewise.
42080 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42081 macro-int-constant.
42082 (EXIT_SUCCESS): Likewise.
42083 (NULL): Use macro-constant. Require == 0.
42084 (RAND_MAX): Use macro-int-constant.
42085 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42086 [C99-based standards] (strtof): Require function.
42087 [C99-based standards] (strtold): Likewise.
42088 [C99-based standards] (strtoll): Likewise.
42089 [C99-based standards] (strtoull): Likewise.
42090 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42091 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42092 [ISO || ISO99 || ISO11] (math.h): Likewise.
42093 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42094 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42096
42097 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42098
42099 [BZ #14132]
42100 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42101 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42102 * intl/dgettext.c (DCGETTEXT): Likewise.
42103 * intl/gettext.c (DCGETTEXT): Likewise.
42104 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42105 * posix/regex_internal.h (gettext): Likewise.
42106 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42107 Remove declaration.
42108 * include/argz.h (__argz_count_internal)
42109 (__argz_stringify_internal): Remove declaration.
42110 (__argz_count, __argz_stringify): Declare hidden proto.
42111 * intl/dcgettext.c: Remove use of INTDEF.
42112 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42113 * string/argz-stringify.c: Likewise.
42114 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42115 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42116 Declare hidden proto.
42117 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42118 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42119 Declare hidden proto.
42120 * include/stdio.h (__asprintf_internal): Don't declare.
42121 (__asprintf): Don't define as macro. Declare hidden proto.
42122 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42123 (__fsetlocking): Declare hidden proto.
42124 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42125 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42126 hidden proto.
42127 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42128 (_IO_setlinebuf): Remove use of INTUSE.
42129 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42130 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42131 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42132 Remove declaration.
42133 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42134 (_IO_do_flush): Remove use of INTUSE.
42135 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42136 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42137 (_IO_adjust_column, _IO_least_wmarker)
42138 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42139 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42140 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42141 (_IO_default_doallocate, _IO_wdefault_doallocate)
42142 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42143 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42144 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42145 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42146 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42147 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42148 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42149 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42150 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42151 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42152 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42153 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42154 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42155 proto.
42156 (_IO_flush_all_internal, _IO_adjust_column_internal)
42157 (_IO_default_uflow_internal, _IO_default_finish_internal)
42158 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42159 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42160 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42161 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42162 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42163 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42164 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42165 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42166 (_IO_file_close_internal, _IO_file_close_it_internal)
42167 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42168 (_IO_file_init_internal, _IO_file_attach_internal)
42169 (_IO_file_fopen_internal, _IO_file_read_internal)
42170 (_IO_file_sync_internal, _IO_file_seek_internal)
42171 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42172 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42173 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42174 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42175 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42176 (_IO_list_all_internal, _IO_link_in_internal)
42177 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42178 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42179 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42180 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42181 (_IO_do_write_internal, _IO_padn_internal)
42182 (_IO_getline_info_internal, _IO_getline_internal)
42183 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42184 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42185 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42186 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42187 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42188 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42189 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42190 with libc_hidden_ver, remove use of INTUSE.
42191 * libio/genops.c: Likewise.
42192 * libio/freopen.c: Likewise.
42193 * libio/freopen64.c: Likewise.
42194 * libio/iofclose.c: Likewise.
42195 * libio/iofdopen.c: Likewise.
42196 * libio/iofflush.c: Likewise.
42197 * libio/iofflush_u.c: Likewise.
42198 * libio/iofgets.c: Likewise.
42199 * libio/iofgets_u.c: Likewise.
42200 * libio/iofopen.c: Likewise.
42201 * libio/iofopncook.c: Likewise.
42202 * libio/iofread.c: Likewise.
42203 * libio/iofread_u.c: Likewise.
42204 * libio/ioftell.c: Likewise.
42205 * libio/iofwrite.c: Likewise.
42206 * libio/iogetline.c: Likewise.
42207 * libio/iogets.c: Likewise.
42208 * libio/iogetwline.c: Likewise.
42209 * libio/iopadn.c: Likewise.
42210 * libio/iopopen.c: Likewise.
42211 * libio/ioseekoff.c: Likewise.
42212 * libio/ioseekpos.c: Likewise.
42213 * libio/iosetbuffer.c: Likewise.
42214 * libio/iosetvbuf.c: Likewise.
42215 * libio/ioungetc.c: Likewise.
42216 * libio/ioungetwc.c: Likewise.
42217 * libio/iovdprintf.c: Likewise.
42218 * libio/iovsprintf.c: Likewise.
42219 * libio/iovsscanf.c: Likewise.
42220 * libio/memstream.c: Likewise.
42221 * libio/obprintf.c: Likewise.
42222 * libio/oldfileops.c: Likewise.
42223 * libio/oldiofclose.c: Likewise.
42224 * libio/oldiofdopen.c: Likewise.
42225 * libio/oldiofopen.c: Likewise.
42226 * libio/oldiopopen.c: Likewise.
42227 * libio/oldstdfiles.c: Likewise.
42228 * libio/putc.c: Likewise.
42229 * libio/setbuf.c: Likewise.
42230 * libio/setlinebuf.c: Likewise.
42231 * libio/stdfiles.c: Likewise.
42232 * libio/strops.c: Likewise.
42233 * libio/vasprintf.c: Likewise.
42234 * libio/vscanf.c: Likewise.
42235 * libio/vsnprintf.c: Likewise.
42236 * libio/vswprintf.c: Likewise.
42237 * libio/wfiledoalloc.c: Likewise.
42238 * libio/wfileops.c: Likewise.
42239 * libio/wgenops.c: Likewise.
42240 * libio/wmemstream.c: Likewise.
42241 * libio/wstrops.c: Likewise.
42242 * libio/__fpurge.c: Likewise.
42243 * libio/__fsetlocking.c: Likewise.
42244 * assert/assert.c: Likewise.
42245 * debug/fgets_chk.c: Likewise.
42246 * debug/fgets_u_chk.c: Likewise.
42247 * debug/fread_chk.c: Likewise.
42248 * debug/fread_u_chk.c: Likewise.
42249 * debug/gets_chk.c: Likewise.
42250 * debug/obprintf_chk.c: Likewise.
42251 * debug/vasprintf_chk.c: Likewise.
42252 * debug/vdprintf_chk.c: Likewise.
42253 * debug/vsnprintf_chk.c: Likewise.
42254 * debug/vsprintf_chk.c: Likewise.
42255 * malloc/mtrace.c: Likewise.
42256 * misc/error.c: Likewise.
42257 * misc/syslog.c: Likewise.
42258 * stdio-common/asprintf.c: Likewise.
42259 * stdio-common/fxprintf.c: Likewise.
42260 * stdio-common/getw.c: Likewise.
42261 * stdio-common/isoc99_fscanf.c: Likewise.
42262 * stdio-common/isoc99_scanf.c: Likewise.
42263 * stdio-common/isoc99_vfscanf.c: Likewise.
42264 * stdio-common/isoc99_vscanf.c: Likewise.
42265 * stdio-common/isoc99_vsscanf.c: Likewise.
42266 * stdio-common/printf-prs.c: Likewise.
42267 * stdio-common/printf_fp.c: Likewise.
42268 * stdio-common/printf_fphex.c: Likewise.
42269 * stdio-common/printf_size.c: Likewise.
42270 * stdio-common/putw.c: Likewise.
42271 * stdio-common/scanf.c: Likewise.
42272 * stdio-common/sprintf.c: Likewise.
42273 * stdio-common/tmpfile.c: Likewise.
42274 * stdio-common/vfprintf.c: Likewise.
42275 * stdio-common/vfscanf.c: Likewise.
42276 * stdlib/strfmon_l.c: Likewise.
42277 * sunrpc/openchild.c: Likewise.
42278 * sunrpc/xdr_stdio.c: Likewise.
42279 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42280 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42281
42282 2012-05-24 Roland McGrath <roland@hack.frob.com>
42283
42284 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42285
42286 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42287 in the third column, to generate for the shared library an IFUNC
42288 that uses _dl_vdso_vsym.
42289 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42290 * Makeconfig (object-suffixes-noshared): New variable.
42291
42292 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42293 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42294 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42295 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42296
42297 [BZ #14132]
42298 * include/sys/time.h (__gettimeofday): Remove macro.
42299 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42300 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42301 Remove INTDEF.
42302 (__gettimeofday): Add libc_hidden_def.
42303 (gettimeofday): Add libc_hidden_weak.
42304 * sysdeps/mach/gettimeofday.c: Likewise.
42305 * sysdeps/posix/gettimeofday.c: Likewise.
42306 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42307 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42309 (__gettimeofday_internal): Remove strong_alias.
42310 (__gettimeofday): Add libc_hidden_def.
42311 (gettimeofday): Add libc_hidden_weak.
42312 * sysdeps/unix/syscalls.list (gettimeofday):
42313 Remove __gettimeofday_internal alias.
42314
42315 2012-05-24 Daniel Jacobowitz <drow@false.org>
42316 H.J. Lu <hongjiu.lu@intel.com>
42317
42318 [BZ #12495]
42319 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42320 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42321 (largebin_index_32_big): New.
42322 (largebin_index): Use it for 16-byte alignment.
42323 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42324 correction with front_misalign.
42325
42326 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42327
42328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42330 Likewise.
42331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42332 Likewise.
42333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42334 Likewise.
42335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42336 Likewise.
42337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42338 Likewise.
42339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42340 Likewise.
42341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42342 Likewise.
42343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42344 Likewise.
42345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42346 Likewise.
42347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42348 Likewise.
42349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42350 Likewise.
42351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42352 Likewise.
42353
42354 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42355 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42356
42357 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42358
42359 [BZ #10846]
42360 [BZ #14036]
42361 * math/libm-test.inc (exp_test): Add test from bug 14036.
42362 (pow_test): Add test from bug 10846.
42363
42364 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42365 and other flags.
42366 (special_function): Do not include flags in test name.
42367 (parse_args): Likewise.
42368 * sysdeps/i386/fpu/libm-test-ulps: Update.
42369 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42370 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42371 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42373
42374 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42375 exceptions.
42376 * math/libm-test.inc ("Philosophy"): Update comment about
42377 exception testing.
42378 (UNDERFLOW_EXCEPTION): New macro.
42379 (UNDERFLOW_EXCEPTION_OK): Likewise.
42380 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42381 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42382 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42383 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42384 (INVALID_EXCEPTION_OK): Update value.
42385 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42386 (OVERFLOW_EXCEPTION_OK): Likewise.
42387 (IGNORE_ZERO_INF_SIGN): Likewise.
42388 (test_exceptions): Handle underflow exceptions.
42389 (acos_test): Update for underflow exception expectations.
42390 (cexp_test): Likewise.
42391 (clog_test): Likewise.
42392 (clog10_test): Likewise.
42393 (csqrt_test): Likewise.
42394 (ctan_test): Likewise.
42395 (ctanh_test): Likewise.
42396 (exp_test): Likewise.
42397 (exp10_test): Likewise.
42398 (exp2_test): Likewise.
42399 (expm1_test): Likewise.
42400 (fma_test): Likewise.
42401 (j0_test): Likewise.
42402 (jn_test): Likewise.
42403 (nexttoward_test): Likewise.
42404 (pow_test): Likewise.
42405 (scalbn_test): Likewise.
42406 (scalbln_test): Likewise.
42407 (tan_test): Likewise.
42408 (y1_test): Likewise.
42409 * sysdeps/i386/fpu/libm-test-ulps: Update.
42410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42411
42412 2012-05-23 David S. Miller <davem@davemloft.net>
42413
42414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42415 (__libc_sigaction): Remove unused local variables.
42416
42417 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42418
42419 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42420
42421 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42422
42423 mktime: avoid signed integer overflow
42424 * time/mktime.c (__mktime_internal): Do not mishandle the case
42425 where diff == INT_MIN.
42426
42427 mktime: simplify computation of average
42428 * time/mktime.c (ranged_convert): Use new time_t_avg function
42429 instead of rolling our own (probably-slower) code.
42430
42431 mktime: do not assume signed right shift propagates sign bit
42432 * time/mktime.c (isdst_differ): New static function.
42433 (__mktime_internal): No need to normalize tm_isdst now.
42434 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42435 tm_isdst values.
42436
42437 mktime: merge another wrapv change from gnulib
42438 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42439 from some compilers.
42440
42441 mktime: remove incorrect attempt at unusual arithmetics
42442 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42443 The code didn't really work on such machines anyway.
42444 (TYPE_MINIMUM): Assume two's complement.
42445 (twos_complement_arithmetic): Verify that long_int and time_t
42446 are two's complement (or unsigned, in the latter case).
42447
42448 mktime: check signed shifts on long_int and time_t, too
42449 * time/mktime.c (SHR): Check that shifts work as desired
42450 on the types long_int and time_t too, as SHR is used on
42451 such types.
42452
42453 mktime: do not assume 'long' is wide enough
42454 * time/mktime.c (verify): Move decl up.
42455 (long_int): New type.
42456 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42457 to remove assumption in the code that 'long' is wide enough to
42458 store year values. This assumption is not true on x32 and on
42459 some non-glibc platforms.
42460
42461 mktime: merge wrapv change from gnulib
42462 * time/mktime.c (WRAPV): New macro.
42463 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42464 (guess_time_tm, __mktime_internal): Do not assume that signed
42465 integer overflow wraps around; modern compilers generate code
42466 where this assumption is no longer valid.
42467
42468 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42469
42470 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42471 Replace "jmp L(pseudo_end)" with "ret".
42472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42473 Likewise.
42474
42475 2012-05-23 Andreas Jaeger <aj@suse.de>
42476
42477 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42478 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42479
42480 2012-05-23 Andreas Jaeger <aj@suse.de>
42481 Maximilian Attems <max@stro.at>
42482
42483 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42484 New macros.
42485
42486 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42487
42488 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42489 code so that pseudo_end is just ret and the stack pointer is
42490 correct also for static library in error case.
42491
42492 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42493
42494 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42495 move to syscalls.list.
42496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42500
42501 * manual/install.texi (Running make install): Do not mention Linux
42502 kernel version for which pt_chown is not needed.
42503 (Linux): Do not mention problems with nscd with 2.0 kernels.
42504 * INSTALL: Regenerated.
42505
42506 2012-05-23 Andreas Jaeger <aj@suse.de>
42507
42508 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42509 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42510 macro.
42511 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42512 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42513 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42515 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42517 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42519 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42521 * sysdeps/unix/sysv/linux/bits/in.h
42522 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42523
42524 2012-05-22 Roland McGrath <roland@hack.frob.com>
42525
42526 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42527 (PREPARE_VERSION): Just use assert instead, it will be elided
42528 under [NDEBUG] anyway.
42529
42530 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42531
42532 * sysdeps/unix/sysv/linux/Makefile: Include
42533 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42534 (sysdep_routines): Remove sysctl.
42535 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42536 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42537 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42538 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42539 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42540
42541 2012-05-22 Andreas Jaeger <aj@suse.de>
42542
42543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42544 that pseudo_end is just ret and the stack pointer is correct also
42545 for static library in error case.
42546
42547 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42548
42549 [BZ #14122]
42550 * nss/nsswitch.c (defconfig_entries): New variable.
42551 (__nss_database_lookup): Don't leak defconfig entries.
42552 (nss_parse_service_list): Don't leak on error paths.
42553 (free_database_entries): New function.
42554 (free_defconfig): New function.
42555 (free_mem): Move common code to free_database_entries.
42556
42557 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42558
42559 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42560 Add arch_prctl.
42561 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42562
42563 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42564 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42565 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42566 New macro.
42567 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42568 (INTERNAL_SYSCALL_TYPES): Likewise.
42569 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42570 (LOAD_REGS_TYPES_[1-6]): Likewise.
42571 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42572 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42573
42574 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42575
42576 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42577 copysignl for GLIBC_2_0.
42578 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42579 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42581 logbl for GLIBC_2_0.
42582 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42583 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42584
42585 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42586
42587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42588 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42589
42590 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42591 Use "neg %eax".
42592
42593 * time/mktime.c: Update copyright years.
42594
42595 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42596
42597 mktime: merge comment-quoting-style change from gnulib
42598 * time/mktime.c: Quote 'like this' in comments.
42599 The GNU coding standards suggest that we no longer quote `like this',
42600 as "`" and "'" are typically rendered asymmetrically nowadays.
42601 The typical gnulib style is to quote 'like this' when quoting
42602 code, and "like this" when quoting English.
42603
42604 * time/mktime.c (compile-command): Add "-I.".
42605
42606 mktime: merge mktime-internal.h change from gnulib
42607 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42608
42609 mktime: merge time_r change from gnulib
42610 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42611
42612 mktime: merge DEBUG change from gnulib
42613 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42614 case system <time.h> has a #define.
42615
42616 mktime: merge <sys/types.h> change from gnulib
42617 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42618 since <time.t> is now guaranteed to define time_t.
42619
42620 mktime: merge HAVE_CONFIG_H change from gnulib
42621 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42622
42623 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42624
42625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42626 Use "neg %eax".
42627
42628 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42629 __rlim_t cast.
42630 (struct rusage): Use anonymous union to pad each field to
42631 __syscall_slong_t.
42632
42633 2012-05-21 David S. Miller <davem@davemloft.net>
42634
42635 * Makefules (o-iterator): Remove .s cases.
42636 (compile-command.s): Delete.
42637 (COMPILE.s): Delete.
42638 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42639
42640 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42641
42642 * configure.in (libc_cv_predef_stack_protector): Only consider
42643 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42644 * configure: Regenerated.
42645
42646 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42647
42648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42649 New macro. Use R*LP on int and pointer.
42650 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42651 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42652 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42653 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42654
42655 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42656 [__WORDSIZE_TIME64_COMPAT32] instead of
42657 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42658 (struct utmp): Likewise.
42659 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42660 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42661 Renamed to ...
42662 (__WORDSIZE_TIME64_COMPAT32): This.
42663 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42664 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42665 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42666 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42667 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42668 (__WORDSIZE_TIME64_COMPAT32): New macro.
42669
42670 2012-05-21 Andreas Jaeger <aj@suse.de>
42671
42672 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42673 only if [SHARED]. Add prototype for __wcschr_ia32.
42674
42675 2012-05-21 Roland McGrath <roland@hack.frob.com>
42676
42677 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42678 of %rbp unmolested in the jmp_buf while mangling the low bits.
42679 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42680 unmolested high bits of %rbp while demangling the low bits.
42681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42682
42683 2012-05-21 Andreas Jaeger <aj@suse.de>
42684
42685 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42686 * sunrpc/svc_simple.c: Use it for registerrpc.
42687 * sunrpc/xcrypt.c: Use it for passwd2des.
42688
42689 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42690
42691 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42692
42693 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42694 Don't define if [__SYSCALL_WORDSIZE != 32].
42695 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42696 New macro.
42697
42698 2012-05-21 Bruno Haible <bruno@clisp.org>
42699 Andreas Jaeger <aj@suse.de>
42700
42701 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42702 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42703 inptr and inend for must_buffer_ch.
42704 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42705 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42706 * stdio-common/Makefile (tests): Remove bug15.
42707 (bug15-ENV): Remove macro.
42708 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42709 anymore.
42710
42711 2012-05-19 Andreas Jaeger <aj@suse.de>
42712 Roland McGrath <roland@hack.frob.com>
42713
42714 * manual/contrib.texi: Completely rewritten. It contains now an
42715 alphabetical list of contributors and their contributions.
42716
42717 2012-05-21 Richard Henderson <rth@twiddle.net>
42718
42719 * misc/getauxval.c (__getauxval): Use unsigned long int.
42720 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42721 (getauxval): Use unsigned long int.
42722
42723 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42724
42725 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42726
42727 2012-05-21 Roland McGrath <roland@hack.frob.com>
42728
42729 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42730 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42731 __alignof__ (long double).
42732
42733 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42734
42735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42736
42737 2012-05-20 Richard Henderson <rth@twiddle.net>
42738
42739 * misc/getauxval.c: New file.
42740 * misc/sys/auxv.h: New file.
42741 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42742 (routines): Add getauxval.
42743 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42744 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42745 * elf/dl-sysdep.c (_dl_auxv): Remove.
42746 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42747 * elf/dl-support.c (_dl_auxv): New variable.
42748 (_dl_aux_init): Initialize it.
42749 * manual/startup.texi (Auxiliary Vector): New node.
42750 * sysdeps/generic/bits/hwcap.h: New file.
42751 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42752 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42753 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42754 * sysdeps/sparc/sysdep.h: ... here. Include it.
42755 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42758 Update.
42759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42767
42768 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42769
42770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42771
42772 2012-05-19 David S. Miller <davem@davemloft.net>
42773
42774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42775
42776 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42777
42778 [BZ #14123]
42779 * math/s_ccosh.c: Include <float.h>
42780 (__ccosh): Avoid internal overflow calculating sinh and cosh
42781 values before multiplying by sin and cos values.
42782 * math/s_ccoshf.c: Likewise.
42783 * math/s_ccoshl.c: Likewise.
42784 * math/s_csin.c: Likewise.
42785 * math/s_csinf.c: Likewise.
42786 * math/s_csinl.c: Likewise.
42787 * math/s_csinh.c: Likewise.
42788 * math/s_csinhf.c: Likewise.
42789 * math/s_csinhl.c: Likewise.
42790 * math/libm-test.inc (ccos_test): Add more tests.
42791 (ccosh_test): Likewise.
42792 (csin_test): Likewise.
42793 (csinh_test): Likewise.
42794 * sysdeps/i386/fpu/libm-test-ulps: Update.
42795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42796
42797 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42798
42799 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42800 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42801
42802 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42803
42804 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42805
42806 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42807 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42808 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42809 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42810 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42811 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42812 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42813 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42814 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42815 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42816 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42817 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42818 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42819 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42820 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42821 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42822 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42823 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42824 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42825 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42826 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42827 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42828 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42829 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42830 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42831 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42832 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42833 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42834 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42835 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42836 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42837
42838 2012-05-18 Andreas Jaeger <aj@suse.de>
42839
42840 * csu/.gitignore: Delete.
42841
42842 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42843
42844 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42845 (timex): Use __syscall_slong_t.
42846
42847 2012-05-18 Andreas Jaeger <aj@suse.de>
42848 Carlos O'Donell <carlos_odonell@mentor.com>
42849
42850 * manual/install.texi (Configuring and compiling): Update
42851 description about files modified in the source directory.
42852 * INSTALL: Regenerated.
42853
42854 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42855
42856 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42857 value. Use "or" to set return value to -1.
42858 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42859 negate return value.
42860
42861 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42862
42863 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42864 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42865 failure if the compiler has Graphite support disabled.
42866 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42867 Likewise.
42868 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42869 (CFLAGS-memmove.c): Likewise.
42870 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42871 Likewise.
42872
42873 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42874
42875 * sysdeps/x86_64/x32/_itoa.h: New file.
42876
42877 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42878 getdents system call only if kernel and user dirents have the
42879 same d_ino and d_off.
42880
42881 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42882 LLONG_MAX != LONG_MAX.
42883 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42884 (_fitoa_word): Likewise.
42885
42886 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42887 years.
42888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42889 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42891
42892 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42893 include <bits/wordsize.h>. Check __x86_64__ instead of
42894 __WORDSIZE.
42895 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42896 if __x86_64__ is defined. Use anonymous union on fpstate.
42897
42898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42899 anonymous union.
42900
42901 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42902
42903 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42904 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42905 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42906 Refer to _rtld_local_ro instead of _rtld_global_ro.
42907 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42908 Likewise.
42909 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42910 Likewise.
42911 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42912 Likewise.
42913 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42914 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42915 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42916
42917 * sysdeps/powerpc/powerpc32/dl-machine.c
42918 (__elf_machine_runtime_setup) [PROF]: Don't reference
42919 _dl_prof_resolve.
42920
42921 2012-05-18 Andreas Jaeger <aj@suse.de>
42922
42923 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42924 function only available for GCCs before 3.4 since GCC 3.4
42925 introduced a builtin.
42926 (lrint): Likewise.
42927 (llrintf): Likewise.
42928 (llrint): Likewise.
42929 (fmaxf): Likewise.
42930 (fmax): Likewise.
42931 (fminf): Likewise.
42932 (fmin): Likewise.
42933 (rint): Likewise.
42934 (rintf): Likewise.
42935 (nearbyint): Likewise.
42936 (nearbyintf): Likewise.
42937 (ceil): Likewise.
42938 (ceilf): Likewise.
42939 (floor): Likewise.
42940 (floorf): Likewise.
42941
42942 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42943
42944 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42945 on both fields and cast pointer to __syscall_ulong_t.
42946
42947 * bits/types.h (__fsword_t): New type.
42948 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42949 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42950 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42951 (__FSWORD_T_TYPE): Likewise.
42952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42953 (__FSWORD_T_TYPE): Likewise.
42954 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42955 (__FSWORD_T_TYPE): Likewise.
42956 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42957 (__FSWORD_T_TYPE): Likewise.
42958 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42959 __SWORD_TYPE with __fsword_t.
42960 (statfs64): Likewise.
42961
42962 2012-05-17 David S. Miller <davem@davemloft.net>
42963
42964 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42965
42966 2012-05-17 Andreas Jaeger <aj@suse.de>
42967
42968 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42969 warning.
42970
42971 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42972
42973 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42974
42975 2012-05-17 Andreas Jaeger <aj@suse.de>
42976
42977 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42978 when it is used.
42979
42980 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42981
42982 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42983
42984 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42985
42986 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42987 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42988
42989 2012-05-17 Andreas Jaeger <aj@suse.de>
42990 Carlos O'Donell <carlos_odonell@mentor.com>
42991
42992 [BZ #14059]
42993 * sysdeps/x86_64/multiarch/init-arch.h
42994 (bit_YMM_Usable): Rename to...
42995 (bit_AVX_Usable): ... this.
42996 (bit_FMA4_Usable): New macro.
42997 (bit_XMM_state): New macro.
42998 (bit_YMM_state): New macro.
42999 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43000 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43001 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43002 (CPUID_OSXSAVE): New macro.
43003 (CPUID_AVX): New macro.
43004 (CPUID_FMA4): New macro.
43005 (index_YMM_Usable): Rename to...
43006 (index_AVX_Usable): ... this.
43007 (HAS_AVX): Use HAS_ARCH_FEATURE.
43008 (HAS_FMA4): Likewise.
43009 (HAS_YMM_USABLE): Remove.
43010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43011 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43012 are present.
43013 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43014 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43015 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43016 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43017 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43018
43019 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43020
43021 * math/libm-test.c: Support platforms without multiple rounding modes.
43022 * math/bug-nextafter.c: Support platforms without FP exceptions.
43023 * math/bug-nexttoward.c: Likewise.
43024 * math/test-fenv.c: Likewise.
43025 * math/test-misc.c: Likewise.
43026 * stdlib/bug-getcontext.c: Likewise.
43027
43028 2012-05-17 Andreas Jaeger <aj@suse.de>
43029
43030 * manual/examples/search.c (critter_cmp): Change signature to
43031 avoid warnings.
43032 * manual/string.texi (Collation Functions): Likewise.
43033
43034 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43035
43036 * bits/types.h: Fold copyright years.
43037 * bits/typesizes.h: Likewise.
43038 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43039 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43042 * time/time.h: Likewise.
43043
43044 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43045
43046 [BZ #208]
43047 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43048 in instead of returning them. Return void.
43049 (__libc_mallinfo): Accumulate over all arenas.
43050 (__malloc_stats): Adjust for change in int_mallinfo interface.
43051
43052 2012-05-16 Roland McGrath <roland@hack.frob.com>
43053
43054 [BZ #10375]
43055 * configure.in (NM): Add AC_CHECK_TOOL for it.
43056 (libc_extra_cflags): New substituted variable.
43057 Check for -fstack-protector being used implicitly.
43058 * configure: Regenerated.
43059 * config.make.in (config-extra-cflags): New variable,
43060 gets @libc_extra_cflags@.
43061 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43062
43063 [BZ #10375]
43064 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43065 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43066 * configure: Regenerated.
43067 * config.make.in (CPPUNDEFS): New substituted variable.
43068 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43069 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43070 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43071
43072 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43073
43074 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43075 (mq_attr): Use __syscall_slong_t.
43076
43077 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43078
43079 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43080 Check __x86_64__ instead of __WORDSIZE.
43081 (_STAT_VER_LINUX): Likewise.
43082 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43083 __syscall_ulong_t and __syscall_slong_t.
43084 (stat64): Likewise.
43085
43086 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43087
43088 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43089
43090 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43091
43092 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43093
43094 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43095
43096 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43097 __syscall_ulong_t.
43098
43099 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43100 include <bits/wordsize.h>. Check __x86_64__ instead of
43101 __WORDSIZE.
43102 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43103 defined.
43104 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43105
43106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43107 include <bits/wordsize.h>. Check __x86_64__ instead of
43108 __WORDSIZE.
43109 (user_regs_struct): Use "__extension__ unsigned long long"
43110 instead of "unsigned long" if __x86_64__ is defined.
43111 (user): Likewise. Pad after pointer field if __ILP32__ is
43112 defined.
43113
43114 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43115
43116 * configure.in (makeinfo): Require version 4.5 or later. Allow
43117 versions 5 to 9.
43118 * configure: Regenerated.
43119 * manual/install.texi (texinfo): Increase version requirement to
43120 4.5 or later.
43121 * INSTALL: Regenerated.
43122
43123 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43124
43125 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43126
43127 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43128
43129 * sysdeps/x86_64/x32/ffs.c: New file.
43130
43131 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43132 __syscall_ulong_t.
43133 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43134 defined. Use __syscall_ulong_t.
43135 (shminfo): Use __syscall_ulong_t.
43136 (shm_info): Likewise.
43137
43138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43139 __syscall_ulong_t.
43140
43141 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43142 <bits/wordsize.h>.
43143 (msgqnum_t): Use __syscall_ulong_t.
43144 (msglen_t): Likewise.
43145 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43146 __syscall_ulong_t.
43147
43148 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43149 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43150
43151 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43152
43153 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43154 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43155
43156 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43157 __syscall_slong_t.
43158
43159 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43160 include <bits/wordsize.h>. Check __x86_64__ instead of
43161 __WORDSIZE.
43162
43163 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43164 "unsigned long long int" if __x86_64__ is defined.
43165 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43166
43167 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43168 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43169 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43170
43171 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43172 <stdint.h>.
43173 (GET_PC): Cast to uintptr_t first.
43174 (GET_FRAME): Likewise.
43175 (GET_STACK): Likewise.
43176
43177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43180 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43182 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43183 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43184 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43185 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43186 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43187 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43188 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43189 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43190 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43191 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43192 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43195 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43197 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43198 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43199 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43200 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43201 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43203 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43204 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43205 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43206
43207 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43208
43209 * Makerules (+depfiles): Also collect depfiles from .oS in
43210 $(extra-objs).
43211 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43212 .oS, $(libnldbl-routines)).
43213
43214 * Makerules (native-compile-mkdep-flags): Define.
43215 * sunrpc/Makefile (extra-objs): Add $(addprefix
43216 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43217 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43218 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43219 calling $(make-target-directory).
43220
43221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43222
43223 * bits/types.h (__snseconds_t): Removed.
43224 * time/time.h (struct timespec): Replace __snseconds_t with
43225 __syscall_slong_t.
43226 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43227 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43228 Likewise.
43229 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43230 (__SNSECONDS_T_TYPE): Likewise.
43231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43232 (__SNSECONDS_T_TYPE): Likewise.
43233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43234 (__SNSECONDS_T_TYPE): Likewise.
43235
43236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43237
43238 * sysdeps/mach/hurd/bits/typesizes.h
43239 (__SYSCALL_SLONG_TYPE): New macro.
43240 (__SYSCALL_ULONG_TYPE): Likewise.
43241
43242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43243
43244 * bits/types.h (__syscall_slong_t): New type.
43245 (__syscall_ulong_t): Likewise.
43246
43247 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43248 (__SYSCALL_ULONG_TYPE): Likewise.
43249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43250 (__SYSCALL_SLONG_TYPE): Likewise.
43251 (__SYSCALL_ULONG_TYPE): Likewise.
43252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43253 (__SYSCALL_SLONG_TYPE): Likewise.
43254 (__SYSCALL_ULONG_TYPE): Likewise.
43255 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43256 (__SYSCALL_SLONG_TYPE): Likewise.
43257 (__SYSCALL_ULONG_TYPE): Likewise.
43258
43259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43260
43261 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43262 Add sigaltstack-offsets.sym.
43263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43264 <sigaltstack-offsets.h>.
43265 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43266 longjmp_msg pointer.
43267 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43268 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43269 signal stack.
43270 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43271
43272 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43273
43274 * elf/stackguard-macros.h: Remove file.
43275 * sysdeps/generic/stackguard-macros.h: New file.
43276 * sysdeps/i386/stackguard-macros.h: Likewise.
43277 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43278 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43279 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43280 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43281 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43282 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43283 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43284 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43285 <elf/stackguard-macros.h>.
43286
43287 [BZ #14109]
43288 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43289 __aligned__ in attribute.
43290 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43291 (gregset_t): Likewise.
43292
43293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43294
43295 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43296 * sysdeps/x86_64/64/Implies-after: Here. New file.
43297 * sysdeps/x86_64/x32/Implies-after: New file.
43298
43299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43300
43301 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43302 and access return value for _dl_profile_fixup. Use R10_LP to
43303 load frame size.
43304
43305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43306
43307 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43308
43309 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43310
43311 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43312 * sysdeps/x86_64/x32/sysdep.h: New file.
43313
43314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43315
43316 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43317 * sysdeps/x86_64/setjmp.S: Likewise.
43318
43319 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43320
43321 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43322 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43323 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43324 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43325 remove unused global constant.
43326
43327 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43328
43329 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43330 include of <not-cancel.h>.
43331
43332 2012-05-15 Roland McGrath <roland@hack.frob.com>
43333
43334 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43335
43336 2012-05-15 Jeff Law <law@redhat.com>
43337 Andreas Jaeger <aj@suse.de>
43338
43339 [BZ #13594]
43340 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43341 out from...
43342 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43343 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43344 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43345 code changing __hst_map_handle.map.
43346
43347 2012-05-15 Roland McGrath <roland@hack.frob.com>
43348
43349 * configure.in (sysnames): Look for Implies-before and Implies-after
43350 files.
43351 * configure: Regenerated.
43352
43353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43354
43355 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43356 8-byte data alignment with LP_SIZE alignment.
43357
43358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43359
43360 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43361 into R10_LP.
43362
43363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43364
43365 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43366
43367 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43368
43369 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43370 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43372 Likewise.
43373 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43374
43375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43376
43377 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43378 (stackinfo_sub_sp): Likewise.
43379
43380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43381
43382 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43383 RAX_LP.
43384
43385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43386
43387 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43388 into R*_LP.
43389
43390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43391
43392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43393 sizes into R*_LP.
43394
43395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43396
43397 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43398
43399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43400
43401 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43402 into R11_LP and load __x86_64_shared_cache_size_half into
43403 R8_LP.
43404
43405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43406
43407 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43408 R8_LP.
43409
43410 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43411
43412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43413 logb for POWER7.
43414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43415 logbf for POWER7.
43416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43417 logbl for POWER7.
43418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43419 powerpc32/power7/fpu/s_logb.c via #include.
43420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43421 powerpc32/power7/fpu/s_logbf.c via #include.
43422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43423 powerpc32/power7/fpu/s_logbl.c via #include.
43424
43425 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43426
43427 * README.libm: Remove file.
43428
43429 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43430
43431 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43432 count for x32. Use R*_LP and omit operand-size suffix.
43433
43434 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43435
43436 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43437 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43438 * sysdeps/x86_64/x32/shlib-versions: New file.
43439
43440 2012-05-14 Roland McGrath <roland@hack.frob.com>
43441
43442 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43443 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43444 Use _dl_fatal_printf instead.
43445
43446 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43447
43448 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43449 set if not set by the user. Do not allow for being unset.
43450 * sysdeps/unix/sysv/linux/configure: Regenerated.
43451
43452 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43453
43454 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43455 the `q' suffix from lea and replace .quad with ASM_ADDR.
43456
43457 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43458
43459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43460 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43461 instead of $17.
43462 (PTR_DEMANGLE): Likewise.
43463
43464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43465
43466 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43467 (LP_OP): Likewise.
43468 (ASM_ADDR): Likewise.
43469 (RAX_LP): Likewise.
43470 (RBP_LP): Likewise.
43471 (RBX_LP): Likewise.
43472 (RCX_LP): Likewise.
43473 (RDI_LP): Likewise.
43474 (RSI_LP): Likewise.
43475 (RSP_LP): Likewise.
43476 (R8_LP): Likewise.
43477 (R9_LP): Likewise.
43478 (R10_LP): Likewise.
43479 (R10_LP): Likewise.
43480 (R11_LP): Likewise.
43481 (R12_LP): Likewise.
43482 (R13_LP): Likewise.
43483 (R14_LP): Likewise.
43484 (R15_LP): Likewise.
43485
43486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43487
43488 * sysdeps/x86_64/x32/dl-machine.h: New file.
43489
43490 2012-05-14 Andreas Jaeger <aj@suse.de>
43491
43492 * manual/Makefile (subdir): Remove export of subdir.
43493 (all): Remove target.
43494 (.PHONY): Remove all from list.
43495 (mkinstalldirs): Remove.
43496 (.PHONY): Remove installdirs from list.
43497 ($(inst_infodir)/libc.info): Use make-target-directory.
43498 (installdirs): Remove.
43499 (subdir_%): Remove.
43500 (glibc-targets): Remove.
43501 (lib): Remove.
43502 (stubs): Remove.
43503 ($(objpfx)stubs ../po/manual.pot): Remove.
43504 ($(objpfx)stamp%): Remove.
43505 (make-target-directory): Remove.
43506 (subdir_install): Remove.
43507 (routines): Remove.
43508 (aux): Remove.
43509 (sources): Remove.
43510 (objects): Remove.
43511 (headers): Remove.
43512
43513 [BZ #13750]
43514 * manual/.gitignore: Remove, it's not needed anymore.
43515 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43516 all files in it.
43517 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43518 directory.
43519 (texis): Renamed to $(objpfx)texis.
43520 (texis-path): New, contains path to generated files.
43521 (chapters.%): Use texis-path for complete path, add extra argument
43522 libc-texinfo.sh.
43523 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43524 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43525 (summary,texi, stamp-summary): Use complete path of
43526 files. Generate files in build dir.
43527 (dir-add.texi): Build in build dir.
43528 (libm-err.texi,stamp-libm-err): Likewise.
43529 (version.texi, stamp-version): Likewise.
43530 (.%c.texi): Likewise.
43531 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43532 (mostlyclean): Remove target.
43533 (realclean): Remove target.
43534 (generated): Add new variable with contents from mostlyclean and
43535 realclean, remove entries duplicated in common-mostlyclean, add
43536 stamp-libm-err and stamp-version.
43537 (generated-dirs): Add libc directory.
43538 ($(inst_infodir)/libc.info): Install files from build dir.
43539
43540 * manual/install.texi (Configuring and compiling): Adjust since
43541 the info files are not part of the tar ball anymore.
43542
43543 2012-05-14 Andreas Jaeger <aj@suse.de>
43544
43545 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43546 variable.
43547
43548 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43549
43550 [BZ #13717]
43551 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43552 to 2.2.0 where earlier.
43553 * sysdeps/unix/sysv/linux/configure: Regenerated.
43554 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43555 Remove conditional code.
43556 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43557 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43558 Remove conditional code.
43559 [!__NR_lchown]: Likewise.
43560 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43561 [__NR_lchown]: Likewise.
43562 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43563 comment referencing __ASSUME_LCHOWN_SYSCALL.
43564 * sysdeps/unix/sysv/linux/i386/sigaction.c
43565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43567 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43568 Remove conditional code.
43569 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43570 (__protocol_available): Remove #if 0 code.
43571 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43572 conditional code.
43573 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43574 * sysdeps/unix/sysv/linux/kernel-features.h
43575 (__ASSUME_GETCWD_SYSCALL): Don't define.
43576 (__ASSUME_REALTIME_SIGNALS): Likewise.
43577 (__ASSUME_PREAD_SYSCALL): Likewise.
43578 (__ASSUME_PWRITE_SYSCALL): Likewise.
43579 (__ASSUME_POLL_SYSCALL): Likewise.
43580 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43581 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43582 non-SPARC.
43583 (__ASSUME_SIOCGIFNAME): Don't define.
43584 (__ASSUME_MSG_NOSIGNAL): Likewise.
43585 (__ASSUME_SENDFILE): Define unconditionally.
43586 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43587 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43588 conditional code.
43589 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43590 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43591 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43592 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43593 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43594 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43595 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43597 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43600 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43601 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43603 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43606 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43607 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43620 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43621 Remove conditional code.
43622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43623 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43624 Remove conditional code.
43625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43626 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43627 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43628 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43629 Remove conditional code.
43630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43631 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43632 Remove conditional code.
43633 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43634 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43635 Remove conditional code.
43636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43637 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43638 Remove conditional code.
43639 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43640 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43641 Remove conditional code.
43642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43643 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43644 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43646 * sysdeps/unix/sysv/linux/sigaction.c
43647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43649 * sysdeps/unix/sysv/linux/sigpending.c
43650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43652 * sysdeps/unix/sysv/linux/sigprocmask.c
43653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43655 * sysdeps/unix/sysv/linux/sigsuspend.c
43656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43658 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43659 (__libc_missing_rt_sigs): Remove.
43660 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43661 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43662 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43663 Remove conditional code.
43664 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43665 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43666 return 1.
43667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43668 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43669 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43670 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43671
43672 2012-05-14 Andreas Jaeger <aj@suse.de>
43673
43674 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43675 it's not used in glibc.
43676 (__coshm1): Likewise.
43677 (__acosh1p): Likewise.
43678 (__sgn): Likewise.
43679
43680 * manual/string.texi (Copying and Concatenation): Add missing
43681 variable in concat example.
43682 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43683
43684 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43685
43686 [BZ #14103]
43687 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43688 __builtin_clzl with __builtin_clzll.
43689
43690 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43691
43692 [BZ #14104]
43693 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43694 libc_freeres_ptr.
43695
43696 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43697
43698 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43699 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43700 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43701 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43702
43703 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43704
43705 * NEWS: Update ia64 info.
43706
43707 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43708
43709 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43710 used as bcopy.
43711
43712 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43713
43714 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43715 * sysdeps/unix/syscalls.list (dup3): Likewise.
43716 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43717 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43718
43719 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43720
43721 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43722 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43723
43724 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43725
43726 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43727 thread pointer.
43728 (TLS_IE): Use mov/add instead of movq/addq to load thread
43729 pointer.
43730 (TLS_GD_PREFIX): New.
43731 (TLS_GD): Use it.
43732
43733 2012-05-11 David S. Miller <davem@davemloft.net>
43734
43735 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43736 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43737 (_FPU_SETCW): Likewise.
43738
43739 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43740
43741 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43742 is 32-byte aligned.
43743
43744 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43745
43746 [BZ #11837]
43747 * iconvdata/gb18030.c: Update tables.
43748 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43749 characters specially.
43750 (BODY for TO_LOOP): Add encoding of missing ranges.
43751
43752 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43753
43754 [BZ #13673]
43755 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43756 * sysdeps/mach/hurd/dup3.c: Likewise.
43757 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43758 * sysdeps/powerpc/memmove.c:: Likewise.
43759
43760 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43761
43762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43763 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43764
43765 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43766
43767 * elf/elf.h (R_X86_64_RELATIVE64): New.
43768 (R_X86_64_NUM): Updated.
43769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43770 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43771 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43772 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43773 tst-quad1pie tst-quad2pie
43774 (modules-names): Add tst-quadmod1 tst-quadmod2.
43775 ($(objpfx)tst-quad1): New dependency.
43776 ($(objpfx)tst-quad2): Likewise.
43777 ($(objpfx)tst-quad1pie): Likewise.
43778 ($(objpfx)tst-quad2pie): Likewise.
43779 * sysdeps/x86_64/tst-quad1.c: New file.
43780 * sysdeps/x86_64/tst-quad1pie.c: New file.
43781 * sysdeps/x86_64/tst-quad2.c: Likewise.
43782 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43783 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43784 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43785 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43786 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43787
43788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43789
43790 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43791 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43792 * streams/stropts.h (t_scalar_t): Define type.
43793
43794 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43795 (_PATH_PRESERVE): Set to "/var/lib".
43796 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43797
43798 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43799 instead of int.
43800
43801 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43802 if __dir_mkfile succeeded.
43803
43804 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43805 checking for _hurd_dtablesize. Unlock it right after having
43806 finished _hurd_dtable allocation.
43807
43808 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43809
43810 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43811 * sysdeps/mach/hurd/configure: Regenerated.
43812 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43813 special-casing to...
43814 * sysdeps/gnu/configure.in: ... this new file.
43815 * sysdeps/unix/sysv/linux/configure: Regenerated.
43816 * sysdeps/gnu/configure: New generated file.
43817
43818 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43819 for Linux: use nsec instead of usec, as well as:
43820 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43821 members of type struct timespec.
43822 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43823 New macros.
43824 (struct stat64): Likewise.
43825 (_STATBUF_ST_NSEC): New macro.
43826 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43827
43828 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43829 __strtoul_internal rather than strtoul.
43830
43831 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43832
43833 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43834 and reject them.
43835
43836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43837
43838 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43839 which preserves existing values.
43840 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43841
43842 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43843
43844 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43845 TIMEOUT values. Return EINVAL for NFDS values either negative or
43846 greater than FD_SETSIZE.
43847
43848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43849
43850 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43851 allocated, call __vm_protect to finish enabling the existing space, and
43852 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43853 allocate the remainder.
43854
43855 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43856
43857 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43858 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43859
43860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43861
43862 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43863 sysdeps/mach/hurd/readlink.c.
43864
43865 * posix/tst-sysconf.c (posix_options): Only use
43866 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43867 _POSIX_SYNCHRONIZED_IO when they are defined
43868 * sysdeps/mach/hurd/bits/posix_opt.h:
43869 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43870 (_XOPEN_REALTIME): Undefine macro.
43871 (_XOPEN_REALTIME_THREADS): Undefine macro.
43872 (_XOPEN_SHM): Undefine macro.
43873 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43874 macro to -1.
43875 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43876 macro to -1.
43877 (_POSIX_ASYNC_IO): Undefine macro.
43878 (_POSIX_PRIORITIZED_IO): Undefine macro.
43879 (_POSIX_SPIN_LOCKS): Define macro to -1.
43880
43881 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43882 SA_NODEFER, SA_RESETHAND.
43883 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43884 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43885 F_DUPFD_CLOEXEC.
43886
43887 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43888
43889 * elf/Makefile (pldd-modules): Define unconditionally.
43890
43891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43892
43893 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43894
43895 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43896
43897 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43898 Return ENOENT when name is empty.
43899 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43900
43901 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43902
43903 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43904
43905 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43906
43907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43908
43909 Fix mlock in all cases except non-readable pages.
43910 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43911 instead of VM_PROT_ALL as parameter to __vm_wire function.
43912
43913 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43914 (__mkdir): When path is `/', just fail with EEXIST.
43915 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43916
43917 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43918
43919 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43920 <sys/uio.h> (for writev).
43921 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43922 and <sys/param.h> (for MIN).
43923
43924 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43925
43926 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43927 REQUESTED_TIME. Properly set the remaining time and return EINTR
43928 if interrupted.
43929
43930 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43931
43932 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43933 Depend on against $(link-rpcuserlibs).
43934
43935 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43936
43937 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43938 (__libc_stack_end): Do not use attribute_relro.
43939 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43940 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43941 to libthread-provided value.
43942 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43943 attribute_relro.
43944
43945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43946
43947 [BZ #3748]
43948 * bits/libc-lock.h (__libc_once_get): New macro.
43949 * sysdeps/mach/bits/libc-lock.h: Likewise.
43950 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43952 instead of using implementation details.
43953
43954 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43955 * libio/freopen.c: Likewise.
43956 * libio/freopen64.c: Likewise.
43957 * misc/syslog.c: Likewise.
43958 * nscd/connections.c: Likewise.
43959 * nscd/netgroupcache.c: Likewise.
43960 * sysdeps/posix/getcwd.c: Likewise.
43961
43962 2012-05-10 Roland McGrath <roland@hack.frob.com>
43963
43964 * math/w_ilogbf.c: Add #include <limits.h>.
43965
43966 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43967
43968 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43969 path instead of returning without unlocking.
43970
43971 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43972 immediate-write ioctls.
43973 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43974
43975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43976
43977 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43978 __builtin_frame_address instead of making assumptions about the
43979 location of the return address relative to DATA. Force early load of
43980 the return address.
43981 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43982 __builtin_frame_address.
43983
43984 dup3 for GNU Hurd.
43985 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43986 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43987 implement dup3 and do some further code clean-ups.
43988 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43989 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43990
43991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43992
43993 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43994
43995 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43996 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43997 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43998 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43999 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44000 d->port.lock.
44001
44002 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44003 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44004 when handler == SIG_ERR, not when handler != SIG_ERR.
44005
44006 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44007
44008 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44009 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44010 definitions.
44011
44012 accept4 for GNU Hurd.
44013 * include/sys/socket.h (__libc_accept4): New prototype.
44014 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44015 to implement __libc_accept4.
44016 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44017 __libc_accept4.
44018 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44019
44020 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44021 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44022 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44023 signal-defines.sym.
44024
44025 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44026
44027 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44028
44029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44030
44031 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44032 assertion on O_CLOEXEC flag.
44033 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44034 * hurd/intern-fd.c: Likewise.
44035 * hurd/port2fd.c: Likewise.
44036
44037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44038
44039 [BZ #3906]
44040 * bits/in.h (IPV6_PKTINFO): Define new macro.
44041 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44042
44043 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44044
44045 [BZ #13954]
44046 [BZ #13955]
44047 [BZ #13956]
44048 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44049 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44050 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44053 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44054 * math/libm-test.inc (logb_test) : Additional logb tests.
44055
44056 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44057 Andreas Jaeger <aj@suse.de>
44058
44059 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44060 * configure: Regenerated.
44061 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44062 * config.make.in (link-obsolete-rpc): New substituted variable.
44063 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44064 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44065 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44066 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44067 so that libc.a contains the symbols.
44068 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44069 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44070 * sunrpc/auth_none.c: Likewise.
44071 * sunrpc/auth_unix.c: Likewise.
44072 * sunrpc/authdes_prot.c: Likewise.
44073 * sunrpc/authuxprot.c: Likewise.
44074 * sunrpc/clnt_gen.c: Likewise.
44075 * sunrpc/clnt_perr.c: Likewise.
44076 * sunrpc/clnt_raw.c: Likewise.
44077 * sunrpc/clnt_simp.c: Likewise.
44078 * sunrpc/clnt_tcp.c: Likewise.
44079 * sunrpc/clnt_udp.c: Likewise.
44080 * sunrpc/clnt_unix.c: Likewise.
44081 * sunrpc/des_crypt.c: Likewise.
44082 * sunrpc/des_soft.c: Likewise.
44083 * sunrpc/get_myaddr.c: Likewise.
44084 * sunrpc/key_call.c: Likewise.
44085 * sunrpc/key_prot.c: Likewise.
44086 * sunrpc/netname.c: Likewise.
44087 * sunrpc/pm_getmaps.c: Likewise.
44088 * sunrpc/pm_getport.c: Likewise.
44089 * sunrpc/pmap_clnt.c: Likewise.
44090 * sunrpc/pmap_prot.c: Likewise.
44091 * sunrpc/pmap_prot2.c: Likewise.
44092 * sunrpc/pmap_rmt.c: Likewise.
44093 * sunrpc/publickey.c: Likewise.
44094 * sunrpc/rpc_cmsg.c: Likewise.
44095 * sunrpc/rpc_common.c: Likewise.
44096 * sunrpc/rpc_dtable.c: Likewise.
44097 * sunrpc/rpc_prot.c: Likewise.
44098 * sunrpc/rpc_thread.c: Likewise.
44099 * sunrpc/rtime.c: Likewise.
44100 * sunrpc/svc.c: Likewise.
44101 * sunrpc/svc_auth.c: Likewise.
44102 * sunrpc/svc_raw.c: Likewise.
44103 * sunrpc/svc_run.c: Likewise.
44104 * sunrpc/svc_tcp.c: Likewise.
44105 * sunrpc/svc_udp.c: Likewise.
44106 * sunrpc/svc_unix.c: Likewise.
44107 * sunrpc/svcauth_des.c: Likewise.
44108 * sunrpc/xcrypt.c: Likewise.
44109 * sunrpc/xdr.c: Likewise.
44110 * sunrpc/xdr_array.c: Likewise.
44111 * sunrpc/xdr_float.c: Likewise.
44112 * sunrpc/xdr_intXX_t.c: Likewise.
44113 * sunrpc/xdr_mem.c: Likewise.
44114 * sunrpc/xdr_rec.c: Likewise.
44115 * sunrpc/xdr_ref.c: Likewise.
44116 * sunrpc/xdr_sizeof.c: Likewise.
44117 * sunrpc/xdr_stdio.c: Likewise.
44118
44119 2012-05-10 Roland McGrath <roland@hack.frob.com>
44120
44121 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44122 change. Update copyright years.
44123
44124 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44125
44126 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44127
44128 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44129 Joseph Myers <joseph@codesourcery.com>
44130 Paul Pluzhnikov <ppluzhnikov@google.com>
44131
44132 [BZ #14012]
44133 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44134 requiring rpcgen.
44135 [cross-compiling] (extra-libs): Likewise.
44136 [cross-compiling] (extra-libs-others): Likewise.
44137 [cross-compiling] (librpcsvc-routines): Likewise.
44138 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44139 [cross-compiling] (omit-deps): Likewise.
44140 (sunrpc-CPPFLAGS): New variable.
44141 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44142 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44143 (cross-rpcgen-objs): New variable.
44144 (extra-objs): Append $(cross-rpcgen-objs).
44145 ($(cross-rpcgen-objs)): New rule.
44146 ($(objpfx)cross-rpcgen): Likewise.
44147 (rpcgen-cmd): Define to use $(built-program-file). Expand
44148 comment.
44149 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44150 ($(objpfx)x%.stmp): Likewise.
44151 * sunrpc/proto.h [IS_IN_build] (_): Define.
44152 [IS_IN_build] (_libc_intl_domainname): Likewise.
44153
44154 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44155
44156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44157 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44158 and R_X86_64_TPOFF64.
44159
44160 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44161
44162 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44163 sysdeps/unix/sysv/syscalls.list.
44164 (stime): Likewise.
44165 (utime): Likewise.
44166 * sysdeps/unix/sysv/syscalls.list: Remove file.
44167
44168 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44169
44170 [BZ #3440]
44171 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44172 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44173 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44174 (__LC_IDENTIFICATION): Make these macros useful in #if
44175 expressions, as required by C99.
44176
44177 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44178
44179 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44180 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44181 after this.
44182
44183 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44184
44185 * stdlib/longlong.h: Updated from GCC.
44186
44187 2012-05-09 Andreas Jaeger <aj@suse.de>
44188
44189 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44190 default is first entry.
44191 (run_mode): Set type.
44192 (main): Remove informal message about syslog.
44193 (options): Fix typo.
44194
44195 [BZ #14053]
44196 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44197 to asm.
44198 (lrint): Likewise.
44199 (llrintf): Likewise.
44200 (llrint): Likewise.
44201 (rint): Likewise.
44202 (rintf): Likewise.
44203 (nearbyint): Likewise.
44204 (nearbyintf): Likewise.
44205
44206 2012-05-09 Andreas Jaeger <aj@suse.de>
44207 Pedro Alves <palves@redhat.com>
44208
44209 * nscd/nscd.c (run_mode): Use enum.
44210 (main): Cleanup coding style issue.
44211
44212 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44213 Andreas Jaeger <aj@suse.de>
44214
44215 * nscd/nscd.c (go_background): Replaced with...
44216 (run_mode): ... this.
44217 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44218 (options): Add -F --foreground.
44219 (main): Implement it.
44220 (parse_opt): Parse it.
44221
44222 2012-05-09 Andreas Jaeger <aj@suse.de>
44223
44224 [BZ #14083]
44225 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44226 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44227 -Wconversion warning.
44228 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44229 Likewise.
44230
44231 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44232
44233 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44234 == 0.
44235 (LC_ALL): Use macro-int-constant.
44236 (LC_COLLATE): Likewise.
44237 (LC_CTYPE): Likewise.
44238 (LC_MESSAGES): Likewise.
44239 (LC_MONETARY): Likewise.
44240 (LC_NUMERIC): Likewise.
44241 (LC_TIME): Likewise.
44242 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44243 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44245 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44246 Specify type.
44247 [C99-based standards] (float_t): Expect type.
44248 [C99-based standards] (double_t): Expect type.
44249 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44250 type.
44251 [C99-based standards] (HUGE_VALL): Likewise.
44252 [C99-based standards] (INFINITY): Likewise.
44253 [C99-based standards] (NAN): Likewise.
44254 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44255 [C99-based standards] (FP_NAN): Likewise.
44256 [C99-based standards] (FP_NORMAL): Likewise.
44257 [C99-based standards] (FP_SUBNORMAL): Likewise.
44258 [C99-based standards] (FP_ZERO): Likewise.
44259 [C99-based standards] (FP_FAST_FMA): Use
44260 optional-macro-int-constant. Specify type. Require == 1.
44261 [C99-based standards] (FP_FAST_FMAF): Likewise.
44262 [C99-based standards] (FP_FAST_FMAL): Likewise.
44263 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44264 [C99-based standards] (FP_ILOGBNAN): Likewise.
44265 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44266 Specify type.
44267 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44268 [C99-based standards] (math_errhandling): Specify type.
44269 [ISO99 || ISO11] (signgam): Do not allow.
44270 [non-C99-based standards] (copysignf): Do not allow.
44271 [non-C99-based standards] (exp2f): Likewise.
44272 [non-C99-based standards] (log2f): Likewise.
44273 [non-C99-based standards] (modff): Allow.
44274 [non-C99-based standards] (erff): Do not allow.
44275 [non-C99-based standards] (erfcf): Likewise.
44276 [non-C99-based standards] (gammaf): Likewise.
44277 [non-C99-based standards] (hypotf): Likewise.
44278 [non-C99-based standards] (j0f): Likewise.
44279 [non-C99-based standards] (j1f): Likewise.
44280 [non-C99-based standards] (jnf): Likewise.
44281 [non-C99-based standards] (lgammaf): Likewise.
44282 [non-C99-based standards] (tgammaf): Likewise.
44283 [non-C99-based standards] (y0f): Likewise.
44284 [non-C99-based standards] (y1f): Likewise.
44285 [non-C99-based standards] (ynf): Likewise.
44286 [non-C99-based standards] (isnanf): Likewise.
44287 [non-C99-based standards] (acoshf): Likewise.
44288 [non-C99-based standards] (asinhf): Likewise.
44289 [non-C99-based standards] (atanhf): Likewise.
44290 [non-C99-based standards] (cbrtf): Likewise.
44291 [non-C99-based standards] (expm1f): Likewise.
44292 [non-C99-based standards] (ilogbf): Likewise.
44293 [non-C99-based standards] (log1pf): Likewise.
44294 [non-C99-based standards] (logbf): Likewise.
44295 [non-C99-based standards] (nextafterf): Likewise.
44296 [non-C99-based standards] (remainderf): Likewise.
44297 [non-C99-based standards] (rintf): Likewise.
44298 [non-C99-based standards] (scalbf): Likewise.
44299 [non-C99-based standards] (copysignl): Likewise.
44300 [non-C99-based standards] (exp2l): Likewise.
44301 [non-C99-based standards] (log2l): Likewise.
44302 [non-C99-based standards] (modfl): Allow.
44303 [non-C99-based standards] (erfl): Do not allow.
44304 [non-C99-based standards] (erfcl): Likewise.
44305 [non-C99-based standards] (gammal): Likewise.
44306 [non-C99-based standards] (hypotl): Likewise.
44307 [non-C99-based standards] (j0l): Likewise.
44308 [non-C99-based standards] (j1l): Likewise.
44309 [non-C99-based standards] (jnl): Likewise.
44310 [non-C99-based standards] (lgammal): Likewise.
44311 [non-C99-based standards] (tgammal): Likewise.
44312 [non-C99-based standards] (y0l): Likewise.
44313 [non-C99-based standards] (y1l): Likewise.
44314 [non-C99-based standards] (ynl): Likewise.
44315 [non-C99-based standards] (isnanl): Likewise.
44316 [non-C99-based standards] (acoshl): Likewise.
44317 [non-C99-based standards] (asinhl): Likewise.
44318 [non-C99-based standards] (atanhl): Likewise.
44319 [non-C99-based standards] (cbrtl): Likewise.
44320 [non-C99-based standards] (expm1l): Likewise.
44321 [non-C99-based standards] (ilogbl): Likewise.
44322 [non-C99-based standards] (log1pl): Likewise.
44323 [non-C99-based standards] (logbl): Likewise.
44324 [non-C99-based standards] (nextafterl): Likewise.
44325 [non-C99-based standards] (remainderl): Likewise.
44326 [non-C99-based standards] (rintl): Likewise.
44327 [non-C99-based standards] (scalbl): Likewise.
44328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44329 [non-C99-based standards] (FP_*): Do not allow.
44330 [C99-based standards] (FP_*): Change to
44331 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44332 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44333 allow.
44334 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44335 (SIG_ERR): Likewise.
44336 [X/Open-based standards] (SIG_HOLD): Likewise.
44337 (SIG_IGN): Likewise.
44338 (SIGABRT): Use macro-int-constant. Specify type. Require
44339 positive value.
44340 (SIGFPE): Likewise.
44341 (SIGILL): Likewise.
44342 (SIGINT): Likewise.
44343 (SIGSEGV): Likewise.
44344 (SIGTER): Likewise.
44345 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44346 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44347 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44348 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44349 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44350 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44351 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44352 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44353 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44354 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44355 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44356 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44357 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44358 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44359 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44360 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44361 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44362 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44363 [X/Open-based standards] (SIGTRAP): Likewise.
44364 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44365 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44366 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44367 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44368 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44369 allow.
44370
44371 2012-05-08 Ian Wienand <ianw@vmware.com>
44372
44373 [BZ #14080]
44374 * time/tzset.c (__tzset_parse_tz): Update default rules for
44375 daylight time changes in the Energy Policy Act of 2005.
44376
44377 2012-05-09 Andreas Jaeger <aj@suse.de>
44378
44379 [BZ #13983]
44380 * elf/ldconfig.c (parse_conf): Change string to make clear that
44381 ldconfig only issued a warning if ld.so.conf does not exist.
44382
44383 2012-05-08 David S. Miller <davem@davemloft.net>
44384
44385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44386 movxtod instead of popping the value on the stack.
44387
44388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44389
44390 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44391
44392 * config.h.in: Add HAVE_ARM_PCS_VFP.
44393
44394 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44395
44396 [BZ #13979]
44397 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44398 checking but the checks are disabled for any reason.
44399
44400 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44401
44402 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44403 and ELF64_R_TYPE with ELFW(R_TYPE).
44404
44405 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44406
44407 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44408 (ulimit): Likewise.
44409
44410 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44411 (settimeofday): Likewise.
44412
44413 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44414
44415 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44416 a struct th_u2 inside the union, and move tu_block/tu_code into
44417 a new th_u3 union of tu_block/tu_code inside of that. Move
44418 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44419 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44420 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44421 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44422 (th_stuff): Change to th_u1.tu_stuff.
44423 (th_data): Define.
44424 (th_msg): Change to th_u1.th_u2.tu_data.
44425
44426 2012-05-07 David S. Miller <davem@davemloft.net>
44427
44428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44429
44430 [BZ #14074]
44431 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44432 (SETUP_PIC_REG): Use it.
44433 (SETUP_PIC_REG_LEAF): Use it.
44434
44435 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44436
44437 [BZ #13885]
44438 [BZ #13923]
44439 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44440 USE_AS_EXPM1L.
44441 (EXPL_FINITE): Likewise.
44442 (FLDLOG): Likewise.
44443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44444 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44445 e_expl.S.
44446 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44447 USE_AS_EXPM1L.
44448 (EXPL_FINITE): Likewise.
44449 (FLDLOG): Likewise.
44450 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44451 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44452 e_expl.S.
44453 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44454 test of -max_value argument for long double.
44455 * sysdeps/i386/fpu/libm-test-ulps: Update.
44456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44457
44458 2012-05-06 David S. Miller <davem@davemloft.net>
44459
44460 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44461 quad soft-float symbols whose references which are compiler
44462 generated.
44463 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44464
44465 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44466
44467 [BZ #13884]
44468 [BZ #13914]
44469 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44470 USE_AS_EXP10L.
44471 (EXPL_FINITE): Likewise.
44472 (FLDLOG): Likewise.
44473 (c0): Likewise.
44474 (c1): Likewise.
44475 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44476 Adjust comments for base varying.
44477 (__expl_finite): Change alias to EXPL_FINITE.
44478 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44479 e_expl.S.
44480 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44481 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44482 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44483 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44484 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44485 USE_AS_EXP10L.
44486 (EXPL_FINITE): Likewise.
44487 (FLDLOG): Likewise.
44488 (c0): Likewise.
44489 (c1): Likewise.
44490 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44491 Adjust comments for base varying.
44492 (__expl_finite): Change alias to EXPL_FINITE.
44493 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44494 tests for bugs.
44495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44496
44497 [BZ #14064]
44498 * math/libm-test.inc (check_float_internal): Correct ulp
44499 calculation for subnormal expected results.
44500
44501 2012-05-06 Andreas Jaeger <aj@suse.de>
44502
44503 * Makeconfig (+math-flags): New, set to -frounding-math.
44504 (+cflags): Add +math-flags so that all of glibc gets compiled with
44505 it.
44506
44507 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44508
44509 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44510
44511 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44512 Disable one test.
44513
44514 [BZ #13787]
44515 [BZ #13922]
44516 [BZ #14036]
44517 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44518 (__ieee754_expl): Allow for and saturate large arguments.
44519 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44520 (u_threshold): Likewise.
44521 (__exp): Call __ieee754_exp before checking for overflow and
44522 underflow.
44523 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44524 (u_threshold): Likewise.
44525 (__expf): Call __ieee754_expf before checking for overflow and
44526 underflow.
44527 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44528 (u_threshold): Likewise.
44529 (__expl): Call __ieee754_expl before checking for overflow and
44530 underflow.
44531 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44532 (__ieee754_expl): Allow for and saturate large arguments.
44533 * math/libm-test.inc (exp_test): Add another test. Do not allow
44534 missing overflow exception on overflow.
44535 (expm1_test): Do not allow missing overflow exception on overflow.
44536
44537 * sysdeps/i386/fpu/e_expl.c: Move to ...
44538 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44539 rather than using inline asm.
44540 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44541 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44542 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44543
44544 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44545 (nice): Likewise.
44546 (poll): Likewise.
44547 (signal): Likewise.
44548 (time): Likewise.
44549 (times): Likewise.
44550
44551 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44552
44553 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44554 sysdeps/unix/common/syscalls.list.
44555 (fchmod): Likewise.
44556 (fchown): Likewise.
44557 (ftruncate): Likewise.
44558 (getrusage): Likewise.
44559 (gettimeofday): Likewise.
44560 (setpgid): Likewise.
44561 (setregid): Likewise.
44562 (setreuid): Likewise.
44563 (sigaction): Likewise.
44564 (truncate): Likewise.
44565 (vhangup): Likewise.
44566 * sysdeps/unix/common/syscalls.list: Remove file.
44567 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44568 * sysdeps/unix/sysv/linux/Implies: Likewise.
44569
44570 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44571
44572 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44574 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44575 Moved to ...
44576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44577 Here.
44578 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44579 to ...
44580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44581 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44582 to ...
44583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44584 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44585 to ...
44586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44587 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44588 to ...
44589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44590 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44591 to ...
44592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44593 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44594 to ...
44595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44596 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44597 to ...
44598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44599 Here.
44600 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44601 to ...
44602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44603 Here.
44604 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44605 to ...
44606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44607 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44608 Moved to ...
44609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44610 Here.
44611 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44612 to ...
44613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44614
44615 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44616
44617 * sysdeps/unix/common/bits/dirent.h: Remove file.
44618 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44619
44620 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44621 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44622 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44623 * sysdeps/unix/bsd/isatty.c: Likewise.
44624 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44625 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44626 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44627
44628 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44629
44630 [BZ #13563]
44631 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44632 long double comparison inaccuracies.
44633 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44635
44636 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44637
44638 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44639 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44640
44641 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44642
44643 [BZ #14049]
44644 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44645 nonzero digits before rounding a hex value.
44646 * stdlib/tst-strtod.c (tests): Add another test.
44647
44648 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44649
44650 * sysdeps/s390/fpu/libm-test-ulps: Update.
44651
44652 2012-05-03 Andreas Jaeger <aj@suse.de>
44653
44654 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44655 does not get optimized out.
44656 (malloc_opt_barrier): New.
44657
44658 2012-05-03 Andreas Jaeger <aj@suse.de>
44659 Roland McGrath <roland@hack.frob.com>
44660
44661 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44662 intermediate file deletion.
44663 (generated): Add .symlist files.
44664
44665 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44666
44667 [BZ #13775]
44668 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44669 Redirect under this condition.
44670 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44671 [__USE_GNU] (__dprintf_chk): Not under this condition.
44672 [__USE_GNU] (__vdprintf_chk): Likewise.
44673 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44674 under this condition.
44675 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44676 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44677 [__USE_XOPEN2K8] (vdprintf): Likewise.
44678 [__USE_GNU] (__dprintf_chk): Not under this condition.
44679 [__USE_GNU] (__vdprintf_chk): Likewise.
44680 [__USE_GNU] (dprintf): Likewise.
44681 [__USE_GNU] (vdprintf): Likewise.
44682
44683 2012-05-03 Roland McGrath <roland@hack.frob.com>
44684
44685 * elf/Makefile (common-generated): Set this instead of generated for
44686 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44687 $(all-built-dso)-derived lists.
44688
44689 2012-05-03 Andreas Jaeger <aj@suse.de>
44690
44691 * sysdeps/i386/fpu/libm-test-ulps: Update.
44692
44693 * FAQ: Removed.
44694 * FAQ.in: Likewise.
44695 * scripts/gen-FAQ.pl: Likewise.
44696 * manual/install.texi (Installation): Point to online location of
44697 FAQ.
44698 * Makefile (files-for-dist): Remove FAQ.
44699 (FAQ): Remove.
44700
44701 2012-05-02 Allan McRae <allan@archlinux.org>
44702
44703 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44704 (LDFLAGS-reldepmod5.so): Likewise.
44705 (LDFLAGS-reldep6mod1.so): Likewise.
44706 (LDFLAGS-reldep6mod4.so): Likewise.
44707 (LDFLAGS-reldep8mod3.so): Likewise.
44708 (LDFLAGS-unload4mod1.so): Likewise.
44709 (LDFLAGS-unload4mod2.so): Likewise.
44710 (LDFLAGS-tst-initorder): Likewise.
44711 (LDFLAGS-tst-initordera2.so): Likewise.
44712 (LDFLAGS-tst-initordera3.so): Likewise.
44713 (LDFLAGS-tst-initordera4.so): Likewise.
44714 (LDFLAGS-tst-initorderb2.so): Likewise.
44715 (LDFLAGS-noload): Likewise.
44716 (LDFLAGS-next): Likewise.
44717 (LDFLAGS-order2mod1.so): Likewise.
44718 (LDFLAGS-order2mod2.so): Likewise.
44719 (LDFLAGS-tst-initorder2): Likewise.
44720 (LDFLAGS-tst-initorder2a.so): Likewise.
44721 (LDFLAGS-tst-initorder2b.so): Likewise.
44722 (LDFLAGS-tst-initorder2c.so): Likewise.
44723 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44724
44725 2012-05-02 David S. Miller <davem@davemloft.net>
44726
44727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44728
44729 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44730
44731 [BZ #14055]
44732 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44733
44734 2012-05-02 Andreas Jaeger <aj@suse.de>
44735
44736 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44737 since we manipulate rounding mode.
44738 (CPPFLAGS-test-idouble.c): Likewise.
44739 (CPPFLAGS-test-ifloat.c): Likewise.
44740 (CFLAGS-test-ldouble.c): Likewise.
44741 (CFLAGS-test-double.c): Likewise.
44742 (CFLAGS-test-float.c): Likewise.
44743 (CFLAGS-test-misc.c): Likewise.
44744 (CFLAGS-test-test-fenv.c): Likewise.
44745
44746 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44747
44748 [BZ #2550]
44749 [BZ #2570]
44750 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44751 comparisons to determine direction to adjust input.
44752
44753 2012-05-01 Roland McGrath <roland@hack.frob.com>
44754
44755 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44756 output to the target.
44757
44758 * scripts/localplt.awk: New file.
44759 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44760 (check-localplt-CFLAGS): Variable removed.
44761 ($(all-built-dso:=.jmprel)): New static pattern rule.
44762 (generated): Add those targets.
44763 (localplt-built-dso): New variable.
44764 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44765
44766 * elf/check-localplt.c: File removed.
44767
44768 * scripts/check-execstack.awk: New file.
44769 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44770 (check-execstack-CFLAGS): Variable removed.
44771 ($(objpfx)check-execstack.h): Target removed.
44772 ($(objpfx)execstack-default): New target.
44773 (generated): Add that instead of check-execstack.h.
44774 ($(all-built-dso:=.phdr)): New static pattern rule.
44775 (generated): Add those targets.
44776 * elf/check-execstack.c: File removed.
44777
44778 * scripts/check-textrel.awk: New file.
44779 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44780 (check-textrel-CFLAGS): Variable removed.
44781 (all-built-dso): Use := to define.o
44782 ($(all-built-dso:=.dyn)): New static pattern rule.
44783 (generated): Add those targets.
44784 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44785 * config.make.in (READELF): New substituted variable.
44786 * elf/check-textrel.c: File removed.
44787
44788 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44789
44790 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44791 allow.
44792 * conform/data/ctype.h-data [C99-based standards] (isblank):
44793 Expect function.
44794 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44795 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44797 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44798 Specify type. Require positive value.
44799 (EILSEQ): Likewise.
44800 (ERANGE): Likewise.
44801 [ISO || POSIX] (EILSEQ): Do not expect.
44802 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44803 Specify type. Require positive value.
44804 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44805 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44806 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44807 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44808 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44809 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44810 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44811 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44812 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44813 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44814 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44815 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44816 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44817 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44818 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44819 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44820 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44821 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44822 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44823 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44824 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44825 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44826 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44827 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44828 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44829 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44830 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44831 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44832 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44833 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44834 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44835 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44836 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44837 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44838 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44839 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44840 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44841 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44842 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44843 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44844 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44845 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44846 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44847 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44848 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44849 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44850 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44851 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44852 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44853 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44854 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44855 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44856 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44857 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44858 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44859 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44860 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44861 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44862 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44863 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44864 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44865 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44866 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44867 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44868 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44869 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44870 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44871 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44872 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44873 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44874 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44875 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44876 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44877 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44878 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44879 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44880 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44881 Require >= 2.
44882 (FLT_ROUNDS): Expect as macro, not constant.
44883 (FLT_MANT_DIG): Use macro-int-constant.
44884 (DBL_MANT_DIG): Likewise.
44885 (LDBL_MANT_DIG): Likewise.
44886 (FLT_DIG): Likewise.
44887 (DBL_DIG): Likewise.
44888 (LDBL_DIG): Likewise.
44889 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44890 (DBL_MIN_EXP): Likewise.
44891 (LDBL_MIN_EXP): Likewise.
44892 (FLT_MAX_EXP): Use macro-int-constant.
44893 (DBL_MAX_EXP): Likewise.
44894 (LDBL_MAX_EXP): Likewise.
44895 (FLT_MAX_10_EXP): Likewise.
44896 (DBL_MAX_10_EXP): Likewise.
44897 (LDBL_MAX_10_EXP): Likewise.
44898 (FLT_MAX): Use macro-constant.
44899 (DBL_MAX): Likewise.
44900 (LDBL_MAX): Likewise.
44901 (FLT_EPSILON): Use macro-constant. Give upper bound.
44902 (DBL_EPSILON): Likewise.
44903 (LDBL_EPSILON): Likewise.
44904 (FLT_MIN): Likewise.
44905 (DBL_MIN): Likewise.
44906 (LDBL_MIN): Likewise.
44907 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44908 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44909 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44910 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44911 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44912 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44913 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44914 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44915 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44916 [ISO11] (FLT_TRUE_MIN): Likewise.
44917 [ISO11] (LDBL_TRUE_MIN): Likewise.
44918 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44919 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44920 (SCHAR_MIN): Use macro-int-constant. Specify type.
44921 (SCHAR_MAX): Likewise.
44922 (UCHAR_MAX): Likewise.
44923 (CHAR_MIN): Likewise.
44924 (CHAR_MAX): Likewise.
44925 (MB_LEN_MAX): Use macro-int-constant.
44926 (SHRT_MIN): Use macro-int-constant. Specify type.
44927 (SHRT_MAX): Likewise.
44928 (USHRT_MAX): Likewise.
44929 (INT_MAX): Likewise.
44930 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44931 bound negative.
44932 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44933 bound with "U".
44934 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44935 bound with "L".
44936 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44937 bound negative. Suffix upper bound with "L".
44938 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44939 bound with "UL".
44940 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44941 Specify type.
44942 [C99-based standards] (LLONG_MAX): Likewise.
44943 [C99-based standards] (ULLONG_MAX): Likewise.
44944 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44945 == 0.
44946 [ISO11] (max_align_t): Require type.
44947 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44948
44949 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44950 from $CFLAGS, without defining away __attribute__ calls.
44951 (checknamespace): Use $CFLAGS_namespace.
44952
44953 * conform/conformtest.pl (@keywords): Only include C99 keywords
44954 for standards based on C99 or C11.
44955
44956 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44957 Disable tests.
44958 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44959 UNIX98]: Likewise.
44960
44961 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44962 usability of symbols in #if.
44963
44964 * conform/conformtest.pl: If macro or constant types start
44965 "promoted:", expect the symbol to be of the following type
44966 promoted by the integer promotions.
44967
44968 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44969 in one place. Also handle "macro-constant".
44970
44971 * conform/conformtest.pl: Only accept expected macro values with
44972 "==". Parse all "macro" lines in one place.
44973 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44974
44975 * conform/conformtest.pl: Handle braced types on "constant" lines
44976 instead of handling "typed-constant".
44977 * conform/data/signal.h-data: Use "constant" instead of
44978 "typed-constant".
44979
44980 * conform/conformtest.pl: Handle "optional-" at start of lines in
44981 one place rather than duplicating several cases. Handle each
44982 format of "macro" line with initial "optional-".
44983
44984 * conform/conformtest.pl: Only accept expected constant or
44985 optional-constant values with "==". Parse all "constant" lines in
44986 one place. Parse all "optional-constant" lines in one place.
44987 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44988 * conform/data/fmtmsg.h-data: Likewise.
44989 * conform/data/netinet/in.h-data: Likewise.
44990 * conform/data/tar.h-data: Likewise.
44991 * conform/data/limits.h-data: Use "==" form on "constant" and
44992 "optional-constant" lines.
44993
44994 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44995 Use -std=c99 for XOPEN2K.
44996 (@knownproblems): Remove.
44997 (newtoken): Don't check %isknown.
44998
44999 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45000 Do not expect macro.
45001 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45002 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45003 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45004 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45005 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45006 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45007 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45008 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45009 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45010 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45011 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45012 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45013 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45014 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45015 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45016 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45017 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45018 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45019 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45020 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45021 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45025 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45026 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45027 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45028 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45029 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45030 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45031 [XPG3] (acosh): Likewise.
45032 [XPG3] (asinh): Likewise.
45033 [XPG3] (atanh): Likewise.
45034 [XPG3] (cbrt): Likewise.
45035 [XPG3] (expm1): Likewise.
45036 [XPG3] (ilogb): Likewise.
45037 [XPG3] (log1p): Likewise.
45038 [XPG3] (logb): Likewise.
45039 [XPG3] (nextafter): Likewise.
45040 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45041 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45042 [XPG3] (remainder): Likewise.
45043 [XPG3] (rint): Likewise.
45044 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45045 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45046 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45047 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45048 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45049 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45050 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45051 [UNIX98 || XOPEN2K] (scalb): Expect.
45052 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45053 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45054 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45055 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45056 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45057 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45058 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45059 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45060 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45061 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45062 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45063 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45064 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45065 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45066 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45067 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45068 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45069 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45070 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45071 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45072 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45073 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45074 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45075 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45076 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45077 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45078 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45079 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45080 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45081 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45082 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45083 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45084 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45085 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45086 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45087 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45088 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45089 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45090 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45091 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45092 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45093 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45094 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45095 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45096 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45097 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45098 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45099 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45100 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45101 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45102 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45103 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45104 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45105 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45106 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45107 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45108 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45109 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45110 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45111 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45112 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45113 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45114 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45115 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45116 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45117 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45118 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45119 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45120 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45121 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45122 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45123 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45124 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45125 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45126 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45127 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45128 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45129 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45130 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45131 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45132 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45133 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45134 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45135 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45136 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45137 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45138 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45139 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45140 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45141 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45142 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45143 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45144 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45145 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45146 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45147 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45148 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45149 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45150 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45151 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45152 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45153 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45154 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45155 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45156 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45157 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45158 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45159 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45160 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45161 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45162 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45163 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45164 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45165 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45166 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45167 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45168 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45169 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45170 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45171 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45172 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45173 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45174 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45175 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45176 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45177 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45178 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45179 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45180 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45181 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45182 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45183 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45184 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45185 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45186 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45187 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45188 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45189
45190 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45191 _XOPEN_SOURCE_EXTENDED for XPG4.
45192
45193 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45194
45195 * Makeconfig (localtime): Remove variable.
45196 (inst_localtime-file): Likewise.
45197
45198 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45199
45200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45201 Update.
45202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45203 Update.
45204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45205 Update.
45206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45207 Update.
45208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45209 Update.
45210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45211 Update.
45212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45213 Update.
45214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45215 Update.
45216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45217 Update.
45218
45219 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45220
45221 [BZ #2550]
45222 [BZ #2570]
45223 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45224 comparisons to determine direction to adjust input.
45225 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45226 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45227 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45228 Likewise.
45229 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45230 Likewise.
45231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45232 Likewise.
45233 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45234 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45235 Likewise.
45236 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45237 Likewise.
45238 * math/libm-test.inc (nexttoward_test): Add more tests.
45239
45240 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45241
45242 [BZ #14040]
45243 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45244 in version GLIBC_2.1, not GLIBC_2.0.
45245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45246 Likewise.
45247
45248 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45249
45250 [BZ #13942]
45251 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45252 (1 - x) * (1 + x).
45253 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45254 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45255 * math/libm-test.inc (acos_test): Add more tests.
45256 (asin_test): Likewise.
45257 * sysdeps/i386/fpu/libm-test-ulps: Update.
45258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45259
45260 [BZ #14034]
45261 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45262 of square root.
45263 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45264 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45265 * math/libm-test.inc (acos_test_tonearest): New function.
45266 (acos_test_towardzero): Likewise.
45267 (acos_test_downward): Likewise.
45268 (acos_test_upward): Likewise.
45269 (asin_test_tonearest): Likewise.
45270 (asin_test_towardzero): Likewise.
45271 (asin_test_downward): Likewise.
45272 (asin_test_upward): Likewise.
45273 (main): Call the new functions.
45274 * sysdeps/i386/fpu/libm-test-ulps: Update.
45275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45276
45277 [BZ #13884]
45278 [BZ #13924]
45279 * math/e_exp10.c: Include <float.h>.
45280 (__ieee754_exp10): Handle underflow here rather than multiplying
45281 large negative argument by M_LN10.
45282 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45283 of __ieee754_expf.
45284 * math/e_exp10l.c: Include <float.h>.
45285 (__ieee754_exp10l): Handle underflow here rather than multiplying
45286 large negative argument by M_LN10l.
45287 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45288 spurious overflow exception on underflow.
45289
45290 2012-04-29 Marek Polacek <polacek@redhat.com>
45291
45292 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45293 (__fortify_function): New macro.
45294 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45295 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45296 __extern_always_inline.
45297 * libio/bits/stdio2.h: Likewise.
45298 * libio/bits/stdio.h: Likewise.
45299 * string/string.h: Likewise.
45300 * string/bits/string3.h: Likewise.
45301 * include/stdio.h: Likewise.
45302 * stdlib/bits/stdlib.h: Likewise.
45303 * stdlib/stdlib.h: Likewise.
45304 * rt/bits/mqueue2.h: Likewise.
45305 * rt/mqueue.h: Likewise.
45306 * posix/bits/unistd.h: Likewise.
45307 * posix/unistd.h: Likewise.
45308 * io/bits/poll2.h: Likewise.
45309 * io/bits/fcntl2.h: Likewise.
45310 * io/fcntl.h: Likewise.
45311 * io/sys/poll.h: Likewise.
45312 * misc/bits/syslog.h: Likewise.
45313 * misc/bits/syslog-ldbl.h: Likewise.
45314 * misc/sys/syslog.h: Likewise.
45315 * socket/bits/socket2.h: Likewise.
45316 * socket/sys/socket.h: Likewise.
45317 * debug/tst-chk1.c: Likewise.
45318 * wcsmbs/bits/wchar2.h: Likewise.
45319 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45320 * wcsmbs/wchar.h: Likewise.
45321
45322 2012-04-29 Andreas Jaeger <aj@suse.de>
45323
45324 * Makerules (tests): Remove enable-check-abi protection.
45325 (check-abi-warn): Remove.
45326 (check-abi-%): Remove check-abi-warn usage.
45327
45328 * configure.in: Remove check-abi configure option.
45329 * configure: Regenerated.
45330 * config.make.in (enable-check-abi): Remove.
45331
45332 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45333
45334 [BZ #14033]
45335 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45336 double functions to double *_finite functions.
45337
45338 [BZ #13941]
45339 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45340 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45341 LDBL_MIN_EXP.
45342 * stdio-common/Makefile (tests): Add tst-sprintf3.
45343 * stdio-common/tst-sprintf3.c: New file.
45344
45345 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45346 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45347
45348 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45349
45350 * conform/conformtest.pl: Remove duplicate typed-constant
45351 handling.
45352
45353 2012-04-28 David S. Miller <davem@davemloft.net>
45354
45355 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45356 (check-abi-%): Remove AWK script prerequisite and explicit
45357 abilist directory.
45358 (check-abi): Rewrite to just diff the symlist with the abilist.
45359 (config-tls, config-abi-config): Delete, no longer used.
45360 (update-abi-%): Remove AWK script and explicit abilist directory.
45361 (update-abi): Rewrite to simply compare and conditionally copy the
45362 symlist and the sysdep abilist file. Remove update-abi-config
45363 checks.
45364 * abilist/ld.abilist: Remove.
45365 * abilist/libBrokenLocale.abilist: Remove.
45366 * abilist/libanl.abilist: Remove.
45367 * abilist/libcrypt.abilist: Remove.
45368 * abilist/libdl.abilist: Remove.
45369 * abilist/librt.abilist: Remove.
45370 * abilist/libthread_db.abilist: Remove.
45371 * abilist/libutil.abilist: Remove.
45372 * scripts/extract-abilist.awk: Remove.
45373 * scripts/merge-abilist.awk: Remove.
45374 * sysdeps/generic/libcidn.abilist: New file.
45375 * sysdeps/generic/libnss_compat.abilist: New file.
45376 * sysdeps/generic/libnss_db.abilist: New file.
45377 * sysdeps/generic/libnss_dns.abilist: New file.
45378 * sysdeps/generic/libnss_files.abilist: New file.
45379 * sysdeps/generic/libnss_hesiod.abilist: New file.
45380 * sysdeps/generic/libnss_nis.abilist: New file.
45381 * sysdeps/generic/libnss_nisplus.abilist: New file.
45382 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45383 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45384 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45385 file.
45386 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45387 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45388 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45389 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45390 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45391 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45392 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45393 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45394 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45395 file.
45396 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45397 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45398 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45399 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45400 file.
45401 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45402 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45403 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45404 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45405 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45406 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45407 file.
45408 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45409 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45410 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45411 file.
45412 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45414 New file.
45415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45416 New file.
45417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45418 New file.
45419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45420 New file.
45421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45422 New file.
45423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45424 New file.
45425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45426 New file.
45427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45428 New file.
45429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45430 New file.
45431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45432 New file.
45433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45434 New file.
45435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45436 New file.
45437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45438 New file.
45439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45440 file.
45441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45442 New file.
45443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45444 New file.
45445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45446 file.
45447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45448 New file.
45449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45450 New file.
45451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45452 file.
45453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45454 New file.
45455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45456 New file.
45457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45458 New file.
45459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45460 New file.
45461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45462 New file.
45463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45464 New file.
45465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45467 file.
45468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45469 New file.
45470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45471 file.
45472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45473 file.
45474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45475 file.
45476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45477 file.
45478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45479 file.
45480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45481 New file.
45482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45483 file.
45484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45485 file.
45486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45487 New file.
45488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45489 file.
45490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45492 file.
45493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45494 New file.
45495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45496 file.
45497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45498 file.
45499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45500 file.
45501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45502 file.
45503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45504 file.
45505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45506 New file.
45507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45508 file.
45509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45510 file.
45511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45512 New file.
45513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45514 file.
45515 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45516 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45517 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45518 file.
45519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45520 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45521 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45522 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45523 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45524 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45525 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45526 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45527 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45528 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45531 file.
45532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45533 New file.
45534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45535 file.
45536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45537 file.
45538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45539 file.
45540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45541 file.
45542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45543 file.
45544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45545 New file.
45546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45547 New file.
45548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45549 file.
45550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45551 New file.
45552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45553 file.
45554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45556 file.
45557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45558 New file.
45559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45560 file.
45561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45562 file.
45563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45564 file.
45565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45566 file.
45567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45568 file.
45569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45570 New file.
45571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45572 New file.
45573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45574 file.
45575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45576 New file.
45577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45578 file.
45579
45580 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45581
45582 * conform/conformtest.pl: Fix typo in handling typed-constant from
45583 allow-header.
45584
45585 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45586
45587 * README: Cut down references to pre-2.6 Linux kernels and
45588 Linuxthreads. Update lists of configurations in libc and ports
45589 and sort alphabetically. Say "or newer" with Linux kernel version
45590 requirements.
45591
45592 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45593
45594 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45595
45596 [BZ #887]
45597 * math/libm-test.inc (logb_test_downward): New test to expose
45598 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45599 rounding mode.
45600
45601 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45602
45603 [BZ #14027]
45604 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45605 to be done.
45606 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45607 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45608
45609 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45610
45611 * sysdeps/unix/i386/brk.S: Remove file.
45612 * sysdeps/unix/i386/dl-brk.S: Likewise.
45613 * sysdeps/unix/i386/pipe.S: Likewise.
45614 * sysdeps/unix/i386/sigreturn.S: Likewise.
45615 * sysdeps/unix/i386/syscall.S: Likewise.
45616 * sysdeps/unix/i386/vfork.S: Likewise.
45617 * sysdeps/unix/i386/wait.S: Likewise.
45618
45619 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45620 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45621
45622 * configure.in (arm*-none*): Do not allow without
45623 --enable-hacker-mode.
45624 (netbsd*): Remove case setting base_os.
45625 (386bsd*): Likewise.
45626 (freebsd*): Likewise.
45627 (bsdi*): Likewise.
45628 (osf*): Likewise.
45629 (sunos*): Likewise.
45630 (ultrix*): Likewise.
45631 (newsos*): Likewise.
45632 (dynix*): Likewise.
45633 (*bsd*): Likewise.
45634 (sysv*): Likewise.
45635 (isc*): Likewise.
45636 (esix*): Likewise.
45637 (sco*): Likewise.
45638 (minix*): Likewise.
45639 (irix4*): Likewise.
45640 (irix6*): Likewise.
45641 (solaris[2-9]*): Likewise.
45642 (none): Likewise.
45643 * configure: Regenerated.
45644
45645 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45646
45647 [BZ #11521]
45648 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45649 overflow or cancellation in calculating denominator.
45650 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45651 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45652 down expression to avoid unexpected rounding in newer GCCs.
45653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45654
45655 2012-04-26 David S. Miller <davem@davemloft.net>
45656
45657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45658 long-double compat symbols.
45659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45672
45673 2012-04-25 David S. Miller <davem@davemloft.net>
45674
45675 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45676 HWCAP_* values only after the memory barriers have been defined.
45677 (atomic_full_barrier): Define.
45678 (atomic_read_barrier): Define.
45679 (atomic_write_barrier): Define.
45680
45681 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45682
45683 * shlib-versions: Add libgcc_s version information.
45684 * sysdeps/generic/libgcc_s.h: Remove.
45685 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45686 libgcc_s.h.
45687 * sysdeps/gnu/unwind-resume.c: Likewise.
45688 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45689
45690 2012-04-25 David S. Miller <davem@davemloft.net>
45691
45692 * sysdeps/unix/sparc/brk.S: Delete.
45693 * sysdeps/unix/sparc/dl-brk.S: Delete.
45694 * sysdeps/unix/sparc/pipe.S: Delete.
45695 * sysdeps/unix/sparc/sysdep.S: Delete.
45696 * sysdeps/unix/sparc/sysdep.h: Delete.
45697 * sysdeps/unix/sparc/vfork.S: Delete.
45698 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45699 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45700 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45701 (ret_ERRVAL, r0, r1, MOVE): Define.
45702 (JUMPTARGET): Remove.
45703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45704 sysdeps/unix/sparc/sysdep.h
45705 (ENTRY, END): Remove.
45706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45707
45708 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45709
45710 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45711 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45712 -DIS_IN_build.
45713
45714 * timezone/README: Update upstream location and email address for
45715 tzcode and tzdata.
45716 * timezone/zdump.c: Update from tzcode 2012b.
45717 * timezone/zic.c: Likewise.
45718
45719 * configure.in (libc_cv_as_needed): Remove test.
45720 * configure: Regenerated.
45721 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45722 conditional definition.
45723 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45724 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45725 * config.make.in (have-as-needed): Remove variable.
45726
45727 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45728 Paul Pluzhnikov <ppluzhnikov@google.com>
45729
45730 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45731 strings correctly.
45732
45733 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45734
45735 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45736 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45737 * sysdeps/sh/strlen.S: Likewise.
45738
45739 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45740
45741 * sysdeps/unix/fork.S: Remove file.
45742 * sysdeps/unix/i386/fork.S: Likewise.
45743 * sysdeps/unix/sparc/fork.S: Likewise.
45744
45745 * sysdeps/unix/system.c: Remove file.
45746 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45747
45748 * sysdeps/unix/getegid.S: Remove file.
45749 * sysdeps/unix/geteuid.S: Likewise.
45750
45751 2012-04-24 Roland McGrath <roland@hack.frob.com>
45752
45753 * scripts/check-localplt.awk: New file.
45754 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45755 of diff.
45756 * scripts/data/localplt-generic.data: Add a comment.
45757
45758 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45759 NODE when __dir_mkfile failed.
45760 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45761 Reported by Ludovic Courtès <ludo@gnu.org>.
45762
45763 2012-04-24 Andreas Jaeger <aj@suse.de>
45764
45765 * Makerules (common-clean): Also remove gen-as-const-headers
45766 files.
45767
45768 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45769
45770 * Makerules (native-compile): Do not change working directory for
45771 build. Use $(OUTPUT_OPTION) in command.
45772 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45773
45774 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45775
45776 [BZ #13886]
45777 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45778 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45779 * math/libm-test.inc (floor_test): Add more tests.
45780 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45781
45782 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45783
45784 * sysdeps/unix/getdents.c: Remove file.
45785 * sysdeps/unix/sysv/getdents.c: Likewise.
45786 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45787
45788 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45789 sysdeps/unix/mman/syscalls.list.
45790 (mmap): Likewise.
45791 (mprotect): Likewise.
45792 (msync): Likewise.
45793 (munmap): Likewise.
45794 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45795 * sysdeps/unix/mman/syscalls.list: Remove.
45796 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45797
45798 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45799 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45800 * configure: Regenerated.
45801 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45802 $(libgcc_s_suffix).
45803 * config.make.in (libgcc_s_suffix): Remove variable.
45804
45805 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45806
45807 * sysdeps/unix/sysv/gethostname.c: Move to ...
45808 * sysdeps/posix/gethostname.c: ... here.
45809
45810 * sysdeps/unix/execve.S: Remove file.
45811
45812 * sysdeps/unix/_exit.S: Remove file.
45813
45814 2012-04-23 Andreas Jaeger <aj@suse.de>
45815
45816 [BZ #13739]
45817 * manual/Makefile: Remove make dist support, there's no
45818 need for a stand-alone documentation tar ball.
45819 (TEXI2DVI): Define always, it's not in Makeconfig.
45820 (dist): Removed.
45821 (tar-it): Removed.
45822 (edition): Removed.
45823 (glibc-doc-$(edition).tar): Removed
45824 (%.Z): Removed.
45825 (%.gz): Removed.
45826 (%.uu): Removed.
45827 (ETAGS): Remove, it's in Makeconfig.
45828 (move-if-change): Remove, it's in Makeconfig.
45829
45830 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45831
45832 [BZ #13970]
45833 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45834 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45835 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45836 (strtod_l, strtof_l, strtold_l): Remove __wur.
45837 It is not necessarily an error to ignore strtol's return value.
45838 One can reliably look at the stored endptr to decide whether
45839 the number had valid syntax.
45840
45841 2012-04-21 Andreas Jaeger <aj@suse.de>
45842
45843 [BZ #13739]
45844 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45845
45846 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45847
45848 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45849 * sysdeps/unix/sysv/Versions: Remove file.
45850
45851 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45852
45853 [BZ #13927]
45854 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45855
45856 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45857
45858 [BZ #7064]
45859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45860 version from __vm86.
45861
45862 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45863
45864 * sysdeps/unix/common/lxstat.c: Remove file.
45865 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45866
45867 * sysdeps/unix/sysv/Makefile: Remove file.
45868
45869 * sysdeps/unix/sysv/direct.h: Remove file.
45870
45871 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45872 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45873 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45874 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45875 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45876 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45877 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45878
45879 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45880
45881 * sysdeps/unix/xmknod.c: Remove file.
45882 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45883
45884 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45885
45886 * sysdeps/unix/sysv/i386/time.S: Remove file.
45887
45888 * sysdeps/unix/fxstat.c: Remove file.
45889 * sysdeps/unix/xstat.c: Likewise.
45890 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45891
45892 * sysdeps/unix/sysv/sigaction.c: Remove file.
45893
45894 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45895 (sysdep_headers): Remove variable.
45896 [termio.h not in sysdep_headers] (generated): Likewise.
45897 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45898 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45899 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45900 * sysdeps/unix/sysv/tcflow.c: Likewise.
45901 * sysdeps/unix/sysv/tcflush.c: Likewise.
45902 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45903 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45904 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45905 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45906 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45907
45908 * sysdeps/unix/siglist.c: Remove file.
45909
45910 * sysdeps/unix/getppid.S: Remove file.
45911
45912 * sysdeps/unix/mkdir.c: Remove file.
45913 * sysdeps/unix/rmdir.c: Likewise.
45914
45915 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45916
45917 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45918 ERR_MAX value.
45919 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45920 errlist-compat value.
45921
45922 2012-04-18 David S. Miller <davem@davemloft.net>
45923
45924 * sysdeps/generic/memcopy.h (reg_char): Delete.
45925 * debug/strcat_chk.c: Use char, not reg_char.
45926 * debug/strcpy_chk.c: Likewise.
45927 * debug/strncat_chk.c: Likewise.
45928 * debug/strncpy_chk.c: Likewise.
45929 * string/memchr.c: Likewise.
45930 * string/memrchr.c: Likewise.
45931 * string/rawmemchr.c: Likewise.
45932 * string/strcat.c: Likewise.
45933 * string/strchr.c: Likewise.
45934 * string/strchrnul.c: Likewise.
45935 * string/strcmp.c: Likewise.
45936 * string/strcpy.c: Likewise.
45937 * string/strncat.c: Likewise.
45938 * string/strncmp.c: Likewise.
45939 * string/strncpy.c: Likewise.
45940
45941 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45942
45943 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45944 __builtin_memcopy is called when src and dest ranges are known to not
45945 overlap.
45946
45947 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45948
45949 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45950 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45951 fwd_align_merge macro call.
45952 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45953 bwd_align_merge macro call.
45954 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45955
45956 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45957
45958 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45959 bwd_align_merge macros.
45960 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45961 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45962 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45963
45964 2012-04-18 David S. Miller <davem@davemloft.net>
45965
45966 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45967
45968 2012-04-18 Andreas Jaeger <aj@suse.de>
45969
45970 [BZ# 6794]
45971 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45972 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45973 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45974
45975 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45976 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45977 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45978
45979 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45980 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45981 Adjust for changed ldbl-128 files.
45982
45983 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45984 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45985 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45986
45987 2012-04-17 David S. Miller <davem@davemloft.net>
45988
45989 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45990
45991 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45992
45993 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45994 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45995 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45996 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45997 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45998 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45999
46000 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46001
46002 [BZ #6794]
46003 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46004 * math/libm-test.inc: Add ilogb errno and exception tests.
46005 * math/w_ilogb.c: New file: ilogb wrapper.
46006 * math/w_ilogbf.c: New file: ilogbf wrapper.
46007 * math/w_ilogbl.c: New file: ilogbl wrapper.
46008 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46009 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46010 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46011 exception being thrown with 0.0 as argument.
46012 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46013 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46014 exception being thrown with 0.0 as argument.
46015 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46016 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46017 exception being thrown with 0.0 as argument.
46018 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46019 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46020 exception being thrown with 0.0 as argument.
46021 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46022 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46023 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46024 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46025 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46026 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46027 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46028 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46029 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46030
46031 2012-04-17 Petr Baudis <pasky@ucw.cz>
46032
46033 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46034 with altivec.
46035
46036 2012-04-16 Marek Polacek <polacek@redhat.com>
46037
46038 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46039
46040 2012-04-16 Marek Polacek <polacek@redhat.com>
46041
46042 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46043 operands of fdivp instruction.
46044
46045 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46046
46047 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46048 * elf/tst-auditmod3b.c: Likewise.
46049 * elf/tst-auditmod4b.c: Likewise.
46050 * elf/tst-auditmod5b.c: Likewise.
46051 * elf/tst-auditmod6b.c: Likewise.
46052 * elf/tst-auditmod6c.c: Likewise.
46053 * elf/tst-auditmod7b.c: Likewise.
46054 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46055 * sysdeps/x86_64/preconfigure.in: Likewise.
46056 * sysdeps/x86_64/preconfigure: Regenerated.
46057
46058 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46059
46060 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46061 __ILP32__.
46062
46063 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46064
46065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46066 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46067
46068 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46069
46070 [BZ #13973]
46071 * locale/iso-639.def: Fix gl language name. Spotted by
46072 Yaron Shahrabani.
46073
46074 2012-04-12 Roland McGrath <roland@hack.frob.com>
46075
46076 [BZ #2074]
46077 * libio/libio.h (__io_write_fn): Update comment.
46078
46079 2012-04-12 Petr Baudis <pasky@ucw.cz>
46080
46081 [BZ #2074]
46082 * stdio.texi (Hook Functions): The user provided writer function
46083 is not allowed to return -1.
46084
46085 2012-04-11 David S. Miller <davem@davemloft.net>
46086
46087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46088
46089 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46090
46091 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46092 Add a leading slash to rtkaio.
46093
46094 2012-04-11 Jim Meyering <meyering@redhat.com>
46095
46096 [BZ #11959]
46097 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46098 It is not necessarily an error to ignore fwrite's return
46099 value. One can reliably use ferror to test for errors after
46100 the fact.
46101
46102 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46103
46104 * bits/types.h (__snseconds_t): New type.
46105 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46106
46107 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46108 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46109 (__SNSECONDS_T_TYPE): Likewise.
46110 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46111 (__SNSECONDS_T_TYPE): Likewise.
46112 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46113 (__SNSECONDS_T_TYPE): Likewise.
46114
46115 2012-04-10 Andreas Jaeger <aj@suse.de>
46116
46117 [BZ #2636]
46118 * manual/time.texi (Processor Time): Return type of times is
46119 elapsed real time since an arbitrary point in the past.
46120 (CPU Time): Move CLK_TCK from here...
46121 (Processor Time): ...to here. Correct description.
46122 * manual/conf.texi (Constants for Sysconf): Correct description of
46123 _SC_CLK_TCK.
46124
46125 2012-04-10 David S. Miller <davem@davemloft.net>
46126
46127 [BZ #13967]
46128 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46129 where the is a gap between DT_REL(A) and DT_JMPREL.
46130
46131 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46132
46133 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46134 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46135 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46136
46137 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46138
46139 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46140 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46141 (dl_main): Handle --inhibit-cache.
46142 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46143 _dl_inhibit_cache.
46144 * elf/dl-load.c (_dl_map_object): Use it.
46145 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46146
46147 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46148
46149 [BZ #13872]
46150 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46151 (__ieee754_powl): Saturate large exponents rather than testing for
46152 overflow of y*log2(x).
46153 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46154 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46155 exceptions.
46156
46157 [BZ #11521]
46158 * math/s_ctan.c: Include <float.h>.
46159 (__ctan): Avoid internal overflow or cancellation in calculating
46160 denominator.
46161 * math/s_ctanf.c: Likewise.
46162 * math/s_ctanl.c: Likewise.
46163 * math/s_ctanh.c: Likewise.
46164 * math/s_ctanhf.c: Likewise.
46165 * math/s_ctanhl.c: Likewise.
46166 * math/libm-test.inc (ctan_test): Add more tests.
46167 (ctanh_test): Likewise.
46168 * sysdeps/i386/fpu/libm-test-ulps: Update.
46169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46170
46171 2012-04-09 Andreas Jaeger <aj@suse.de>
46172
46173 [BZ #6894]
46174 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46175 is an optional BSD extension.
46176
46177 [BZ #10254]
46178 * manual/stdio.texi (Opening Streams): Document additional fopen
46179 parameters.
46180
46181 2012-04-09 Roland McGrath <roland@hack.frob.com>
46182
46183 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46184 %eax without telling the compiler.
46185
46186 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46187
46188 [BZ # 13963]
46189 * manual/install.texi: Use sourceware.org.
46190
46191 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46192
46193 [BZ #13873]
46194 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46195 (__ieee754_pow): Generate overflow and underflow using huge*huge
46196 and tiny*tiny rather than just returning constant infinity or zero
46197 for large exponents.
46198 * math/libm-test.inc (pow_test): Require overflow exceptions for
46199 applicable cases of large exponents.
46200
46201 [BZ #706]
46202 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46203 (__ieee754_pow): Use iterative multiplication algorithm only for
46204 integer exponents with absolute value below 1024. Check for odd
46205 integer exponents when using algorithm for real exponents.
46206 * math/libm-test.inc (pow_test): Add more tests.
46207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46208
46209 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46210
46211 [BZ #13705]
46212 * math/libm-test.inc (exp_test): Do not allow overflow exception
46213 on underflow test.
46214
46215 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46216
46217 [BZ #13705]
46218 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46219 instead of __kernel_standard_f.
46220
46221 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46222
46223 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46224 * sysdeps/x86_64/memset_chk.S: Likewise.
46225
46226 2012-04-08 Andreas Jaeger <aj@suse.de>
46227
46228 [BZ #10153]
46229 * manual/startup.texi (Environment Access): Describe return value
46230 for putenv and setenv.
46231
46232 [BZ #6895]
46233 * manual/filesys.texi (Directory Entries): Add description for
46234 DT_LNK.
46235
46236 [BZ #6890]
46237 * manual/filesys.texi (Directory Entries): Clarify that it's file
46238 system not operating system in the description of DT_UNKNOWN.
46239
46240 [BZ #6578]
46241 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46242
46243 2012-04-08 Stephen Compall <s11@member.fsf.org>
46244
46245 [BZ #6649]
46246 * manual/llio.texi (Opening and Closing Files): Add cross
46247 reference to explain mode argument.
46248
46249 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46250
46251 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46252 * sysdeps/x86_64/memset_chk.S: Likewise.
46253
46254 2012-04-07 David S. Miller <davem@davemloft.net>
46255
46256 * elf/elf.h (R_SPARC_WDISP10): Define.
46257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46258 R_SPARC_SIZE32.
46259 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46260 R_SPARC_SIZE64 and R_SPARC_H34.
46261
46262 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46263
46264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46265 conditions and remove no longer applicable assertion.
46266
46267 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46268
46269 * bits/byteswap.h: Include <features.h>.
46270 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46271 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46272
46273 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46274
46275 * bits/byteswap.h (__bswap_16): Removed.
46276 Include <bits/byteswap-16.h> to get __bswap_16.
46277 * sysdeps/i386/bits/byteswap.h: Likewise.
46278 * sysdeps/s390/bits/byteswap.h: Likewise.
46279 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46280 * bits/byteswap-16.h: New file.
46281 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46282 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46283 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46284 * string/Makefile (headers): Add bits/byteswap-16.h.
46285
46286 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46287
46288 [BZ #13895]
46289 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46290 extra indirection.
46291 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46292 * nss/tst-nss-static.c: New.
46293
46294 2012-04-06 Robert Millan <rmh@gnu.org>
46295
46296 [BZ #6486]
46297 * manual/llio.texi (File Position Primitive): lseek
46298 refers to WHENCE when it really means OFFSET.
46299
46300 2012-04-06 Andreas Jaeger <aj@suse.de>
46301
46302 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46303 strncmp declarations.
46304
46305 * abilist/libc.abilist: Add __poll and __ppoll.
46306
46307 2012-04-05 David S. Miller <davem@davemloft.net>
46308
46309 * scripts/check-local-headers.sh: Accept a host triplet in the
46310 path matched by the exclude regexp.
46311
46312 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46313 definition.
46314 * sysdeps/powerpc/powerpc32/dl-machine.h
46315 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46316 * sysdeps/s390/s390-32/dl-machine.h
46317 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46318 * sysdeps/sparc/sparc32/dl-machine.h
46319 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46320 * sysdeps/sparc/sparc64/dl-machine.h
46321 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46322
46323 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46324 lazy binding.
46325 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46326 undefined symbol errors.
46327
46328 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46329 DT_NEEDED entries.
46330
46331 2012-04-05 Michael Matz <matz@suse.de>
46332
46333 [BZ #13592]
46334 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46335
46336 2012-04-05 Andreas Jaeger <aj@suse.de>
46337
46338 [BZ #13908]
46339 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46340 comment.
46341
46342 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46343
46344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46345 which ROUND is no valid rounding mode.
46346
46347 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46348
46349 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46350 read again.
46351 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46352
46353 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46354
46355 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46356 an exception using FPU order intentionally.
46357
46358 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46359
46360 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46361 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46362 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46363 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46364
46365 2012-04-05 Simon Josefsson <simon@josefsson.org>
46366
46367 [BZ #12340]
46368 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46369 EINVAL when BUFLEN is too smal.
46370
46371 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46372
46373 [BZ #13553]
46374 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46375 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46376
46377 2012-04-03 Andreas Jaeger <aj@suse.de>
46378
46379 [BZ #13938]
46380 * manual/setjmp.texi (System V contexts): Fix sentence.
46381
46382 [BZ #13926]
46383 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46384 New macro for this case.
46385 [!__GNUC__] (__bswap_64): New inline function for this case.
46386 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46387 * bits/byteswap.h: Likewise.
46388 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46389 ull, guard with __GLIBC_HAVE_LONG_LONG.
46390
46391 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46392 __GLIBC_HAVE_LONG_LONG.
46393
46394 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46395 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46396
46397 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46398
46399 [BZ #13691]
46400 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46401 inptr and inend, rather than using last_ch.
46402
46403 2012-04-02 David S. Miller <davem@davemloft.net>
46404
46405 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46406 * stdio-common/printf-parse.h (read_int): Change return type to
46407 'int', return -1 on INT_MAX overflow.
46408 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46409 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46410 overflows INT_MAX. Check for overflow of in-format-string precision
46411 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46412 SIZE_MAX not INT_MAX for integer overflow test.
46413 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46414 skip the construct in the format string but do not record anything.
46415 * stdio-common/bug22.c: Adjust to test both width/prevision
46416 INT_MAX overflow as well as total length INT_MAX overflow. Check
46417 explicitly for proper errno values.
46418
46419 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46420
46421 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46422 CHAR_MAX.
46423 * string/test-strcmp.c [! WIDE]: Likewise.
46424 * time/tst-mktime2.c: Likewise for INT_MAX.
46425 * string/test-string.h: #include <sys/param.h> for MIN.
46426
46427 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46428 * sysdeps/i386/init-first.c (init): Likewise.
46429 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46430 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46431 * sysdeps/sh/init-first.c (init): Likewise.
46432
46433 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46434
46435 * po/ru.po: Update from translation team.
46436 * po/vi.po: Likewise.
46437
46438 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46439
46440 * resolv/nss_dns/dns-host.c: Merge copyright years.
46441
46442 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46443
46444 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46445 Optimize memcpy with prefetch if
46446 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46447 src, dst pointers have unequal 16 byte alignments.
46448
46449 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46450
46451 [BZ #13928]
46452 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46453 from a CNAME entry and return the minimum ttl for the query.
46454 (gaih_getanswer_slice): Likewise.
46455
46456 2012-03-30 Jeff Law <law@redhat.com>
46457
46458 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46459 due to long keys.
46460 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46461 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46462
46463 * resolv/nss_dns/dns-host.c: Update copyright year.
46464
46465 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46466
46467 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46468 requests to save a system call. Fix check that all bytes are sent.
46469
46470 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46471 comments for sendmmsg.
46472
46473 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46474
46475 [BZ #13691]
46476 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46477 with only 1 character between 0x0041 and 0x01b0.
46478 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46479 * wcsmbs/tst-mbsnrtowcs.c: New file.
46480
46481 2012-03-29 David S. Miller <davem@davemloft.net>
46482
46483 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46484 small copies by hand.
46485
46486 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46487
46488 [BZ #13761]
46489 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46490 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46491 group memberships.
46492
46493 2012-03-28 David S. Miller <davem@davemloft.net>
46494
46495 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46496 that branches into memcpy.
46497 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46500 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46502 bits.
46503 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46504 implementation too.
46505 * sysdeps/sparc/mempcpy.S: New file.
46506
46507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46508 the IFUNC routine in the libc case.
46509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46510
46511 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46512 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46513 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46514 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46515 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46516 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46517 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46518 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46519
46520 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46521 loop to 256 bytes instead of 64 bytes and fix test signedness.
46522
46523 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46524 * sysdeps/sparc/sparc32/Makefile: rather than here...
46525 * sysdeps/sparc/sparc64/Makefile: and here.
46526
46527 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46528
46529 * malloc/mallocbug.c: Avoid warnings about unused variables.
46530
46531 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46532
46533 [BZ #13760]
46534 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46535 in the right place. Discard and retry query if response is
46536 larger than input buffer size.
46537
46538 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46539
46540 [BZ #369]
46541 [BZ #2678]
46542 [BZ #3866]
46543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46544 x for large integer exponent.
46545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46546 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46547 sign of result as needed afterwards.
46548 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46549 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46550 result for underflowing pow the same as for overflow.
46551 (__kernel_standard_l): Handle powl overflow and underflow here
46552 rather than calling __kernel_standard.
46553 * math/libm-test.inc (pow_test): Add more tests.
46554
46555 [BZ #3868]
46556 [BZ #13879]
46557 [BZ #13910]
46558 [BZ #13911]
46559 [BZ #13912]
46560 [BZ #13913]
46561 [BZ #13915]
46562 [BZ #13916]
46563 [BZ #13917]
46564 [BZ #13918]
46565 [BZ #13919]
46566 [BZ #13920]
46567 [BZ #13921]
46568 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46569 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46570 (__kernel_standard_l): New function.
46571 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46572 __kernel_standard.
46573 * math/w_acosl.c (__acosl): Likewise.
46574 * math/w_asinl.c (__asinl): Likewise.
46575 * math/w_atan2l.c (__atan2l): Likewise.
46576 * math/w_atanhl.c (__atanhl): Likewise.
46577 * math/w_coshl.c (__coshl): Likewise.
46578 * math/w_exp10l.c (__exp10l): Likewise.
46579 * math/w_exp2l.c (__exp2l): Likewise.
46580 * math/w_fmodl.c (__fmodl): Likewise.
46581 * math/w_hypotl.c (__hypotl): Likewise.
46582 * math/w_j0l.c (__j0l, __y0l): Likewise.
46583 * math/w_j1l.c (__j1l, __y1l): Likewise.
46584 * math/w_jnl.c (__jnl, __ynl): Likewise.
46585 * math/w_lgammal.c (__lgammal): Likewise.
46586 * math/w_log10l.c (__log10l): Likewise.
46587 * math/w_log2l.c (__log2l): Likewise.
46588 * math/w_logl.c (__logl): Likewise.
46589 * math/w_powl.c (__powl): Likewise.
46590 * math/w_remainderl.c (__remainderl): Likewise.
46591 * math/w_scalbl.c (sysv_scalbl): Likewise.
46592 * math/w_sinhl.c (__sinhl): Likewise.
46593 * math/w_sqrtl.c (__sqrtl): Likewise.
46594 * math/w_tgammal.c (__tgammal): Likewise.
46595 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46596 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46597 * math/libm-test.inc (acos_test): Add more tests.
46598 (acosh_test): Likewise.
46599 (asin_test): Likewise.
46600 (atanh_test): Likewise.
46601 (exp_test): Likewise.
46602 (exp10_test): Likewise.
46603 (exp2_test): Likewise.
46604 (expm1_test): Likewise.
46605 (lgamma_test): Likewise.
46606 (log_test): Likewise.
46607 (log10_test): Likewise.
46608 (log1p_test): Likewise.
46609 (log2_test): Likewise.
46610 (pow_test): Do not allow some spurious overflow exceptions.
46611 (sqrt_test): Add more tests.
46612 (tgamma_test): Likewise.
46613 (y0_test): Likewise.
46614 (y1_test): Likewise.
46615 (yn_test): Likewise.
46616
46617 2012-03-27 Anton Blanchard <anton@samba.org>
46618
46619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46620 MAP_HUGETLB.
46621 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46622 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46624
46625 2012-03-27 David S. Miller <davem@davemloft.net>
46626
46627 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46628
46629 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46630 have-as-vis3 check.
46631
46632 2012-03-27 Andreas Jaeger <aj@suse.de>
46633
46634 * sysdeps/x86_64/elf/configure.in: Moved to ...
46635 * sysdeps/x86_64/configure.in: ... here.
46636 * sysdeps/x86_64/elf/start.S: Moved to ...
46637 * sysdeps/x86_64/start.S: ... here.
46638 * sysdeps/x86_64/elf/configure: Delete.
46639
46640 * sysdeps/x86_64/configure.in: Merge contents from
46641 sysdeps/i386/configure.in (without i686 check).
46642
46643 * sysdeps/i386/elf/Versions: Merge into ...
46644 * sysdeps/i386/Versions: ... this.
46645 * sysdeps/i386/elf/Versions: Delete file.
46646 * sysdeps/i386/elf/start.S: Moved to ...
46647 * sysdeps/i386/start.S: ...here.
46648 * sysdeps/i386/elf/configure.in: Merge into...
46649 * sysdeps/i386/configure.in: ...here.
46650 * sysdeps/i386/elf/configure.in: Delete file.
46651 * sysdeps/i386/elf/configure: Delete file.
46652
46653 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46654 * debug/backtracesyms.c: ... here.
46655 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46656 * debug/backtracesymsfd.c: ... here.
46657 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46658 * sysdeps/generic/ifunc-sel.h: ... here.
46659
46660 * sysdeps/unix/i386/start.c: Delete file.
46661 * sysdeps/unix/sparc/start.c: Delete file.
46662 * sysdeps/unix/start.c: Delete file.
46663
46664 * sysdeps/sh/elf/configure.in: Moved to ...
46665 * sysdeps/sh/configure.in: ... here.
46666 * sysdeps/sh/elf/start.S: Moved to ...
46667 * sysdeps/sh/start.S: ... here.
46668 * sysdeps/sh/elf/configure: Delete file.
46669
46670 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46671 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46672 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46673 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46674 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46675 * sysdeps/powerpc/powerpc64/start.S: here.
46676 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46677 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46678 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46679 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46680 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46681
46682 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46683 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46684 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46685 * sysdeps/powerpc/powerpc32/start.S: ... here.
46686 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46687 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46688 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46689
46690 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46691 * sysdeps/powerpc/ifunc-sel.h: ... here.
46692 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46693 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46694
46695 * sysdeps/sparc/elf/configure.in: Moved to ...
46696 * sysdeps/sparc/configure.in: ... here.
46697 * sysdeps/sparc/elf/configure: Delete file.
46698 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46699 * sysdeps/sparc/sparc32/start.S: ... here.
46700 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46701 * sysdeps/sparc/sparc64/start.S: ... here.
46702 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46703 * sysdeps/sparc/sparc32/Makefile: ... this.
46704 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46705 * sysdeps/sparc/sparc64/Makefile: ... this.
46706
46707 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46708 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46709 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46710 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46711 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46712 * sysdeps/s390/s390-32/setjmp.S: ... here.
46713 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46714 * sysdeps/s390/s390-32/configure.in: ... here.
46715 * sysdeps/s390/s390-32/elf/configure: Delete file.
46716 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46717 * sysdeps/s390/s390-32/start.S: ... here.
46718
46719 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46720 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46721 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46722 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46723 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46724 * sysdeps/s390/s390-64/setjmp.S: ... here.
46725 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46726 * sysdeps/s390/s390-64/configure.in: ... here
46727 * sysdeps/s390/s390-64/elf/configure: Delete file.
46728 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46729 * sysdeps/s390/s390-64/start.S: ... here.
46730 * sysdeps/s390/s390-64/elf/configure: Delete.
46731
46732 * configure.in: Remove support for elf directories in sysdeps.
46733
46734 * configure: Regenerated.
46735 * sysdeps/i386/configure: Regenerated.
46736 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46737 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46738 * sysdeps/s390/s390-32/configure: Regenerated.
46739 * sysdeps/s390/s390-64/configure: Regenerated.
46740 * sysdeps/sh/configure: Regenerated.
46741 * sysdeps/sparc/configure: Regenerated.
46742 * sysdeps/x86_64/configure: Regenerated.
46743
46744 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46745
46746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46747
46748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46749 denormal result into account.
46750
46751 2012-03-25 Roland McGrath <roland@hack.frob.com>
46752
46753 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46754 Reported by Allan McRae <allan@archlinux.org>.
46755
46756 2012-03-23 Jeff Law <law@redhat.com>
46757
46758 * nss/getnssent.c (__nss_getent): Fix typo.
46759
46760 2012-03-23 David S. Miller <davem@davemloft.net>
46761
46762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46763
46764 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46765
46766 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46767 to pad to uint64_t for each field.
46768 (dl_tls_index): Replace unsigned long with uint64_t.
46769
46770 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46771 Paul Pluzhnikov <ppluzhnikov@google.com>
46772
46773 [BZ #6528]
46774 * grp/Makefile (otherlibs): Don't set it.
46775 * inet/Makefile (otherlibs): Likewise.
46776 * login/Makefile (otherlibs): Likewise.
46777 * nscd/Makefile (otherlibs): Likewise.
46778 * posix/Makefile (otherlibs): Likewise.
46779 * pwd/Makefile (otherlibs): Likewise.
46780 * rt/Makefile (otherlibs): Likewise.
46781 * sunrpc/Makefile (otherlibs): Likewise.
46782 * nss/Makefile (otherlibs): Likewise.
46783 Add libnss_files to routines and static-only-routines.
46784 ($(objpfx)getent): Remove rule.
46785 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46786 static-only-routines.
46787
46788 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46789
46790 [BZ #13892]
46791 * math/s_cexp.c: Include <float.h>.
46792 (__cexp): Handle exp result overflowing not necessarily
46793 overflowing both real and imaginary parts of result.
46794 * math/s_cexpf.c: Likewise.
46795 * math/s_cexpl.c: Likewise.
46796 * math/libm-test.inc (cexp_test): Add more tests.
46797 * sysdeps/i386/fpu/libm-test-ulps: Update.
46798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46799
46800 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46801
46802 * include/link.h (ELFW): New macro.
46803 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46804 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46805
46806 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46807
46808 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46809 with uint64_t.
46810
46811 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46812
46813 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46814 declaration.
46815 (struct La_x32_retval): Likewise.
46816
46817 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46818
46819 * sysdeps/x86_64/preconfigure.in: New file.
46820 * sysdeps/x86_64/preconfigure: New generated file.
46821
46822 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46823
46824 [BZ #13824]
46825 * math/e_exp2l.c: Include <float.h>.
46826 (__ieee754_exp2l): Handle overflow and underflow cases
46827 separately. Only pass fractional part of argument to
46828 __ieee754_expl.
46829 * math/libm-test.inc (exp2_test): Add more tests.
46830
46831 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46832 negating x to take absolute value.
46833 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46834 Likewise.
46835 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46837 Likewise.
46838 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46839 computing low part if x was negated.
46840 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46841
46842 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46843
46844 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46845 la_x32_gnu_pltexit.
46846 (pltexit): Cast int_retval to ptrdiff_t.
46847 * elf/tst-auditmod3b.c: Likewise.
46848 * elf/tst-auditmod4b.c: Likewise.
46849 * elf/tst-auditmod5b.c: Likewise.
46850 * elf/tst-auditmod6b.c: Likewise.
46851 * elf/tst-auditmod6c.c: Likewise.
46852 * elf/tst-auditmod7b.c: Likewise.
46853
46854 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46855 and x32_gnu_pltexit.
46856
46857 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46858 __ELF_NATIVE_CLASS.
46859 (La_x32_regs): New macro.
46860 (La_x32_retval): Likewise.
46861 (la_x32_gnu_pltenter): New function prototype.
46862 (la_x32_gnu_pltexit): Likewise.
46863
46864 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46865
46866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46867 exponent.
46868
46869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46870
46871 * configure.in (libc_cv_cc_nofma): Check for option to disable
46872 generation of FMA instructions.
46873 * configure: Regenerate.
46874 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46875 * sysdeps/ieee754/dbl-64/Makefile: New file.
46876 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46877 Remove brandred-fma4.
46878 (CFLAGS-brandred-fma4.c): Remove.
46879 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46881 define.
46882 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46883 define.
46884
46885 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46886
46887 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46888 LLONG_MAX != LONG_MAX.
46889 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46890 (_fitoa_word): Likewise.
46891 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46892 LLONG_MAX != LONG_MAX.
46893 * stdio-common/_itowa.h: Include <_itoa.h>.
46894 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46895 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46896 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46897 only if not defined.
46898 (_ITOA_WORD_TYPE): Likewise.
46899 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46900 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46901
46902 2012-03-21 David S. Miller <davem@davemloft.net>
46903
46904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46905
46906 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46907
46908 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46909 of x86_64 when setting libc_cv_slibdir, libdir and
46910 libc_cv_localedir.
46911 * sysdeps/unix/sysv/linux/configure: Regenerated.
46912
46913 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46914
46915 * manual/lang.texi (Old Varargs): Remove section.
46916 (How Variadic): Update menu.
46917 (va_start): Do not mention varargs.h.
46918
46919 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46920 Joseph Myers <joseph@codesourcery.com>
46921
46922 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46923 link test.
46924 * configure: Regenerated.
46925
46926 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46927
46928 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46929 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46930 conformtest.pl
46931
46932 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46933
46934 * NOTES: Remove.
46935 * Makefile (files-for-dist): Remove NOTES.
46936 (NOTES): Remove rule.
46937 * README: Don't refer to NOTES.
46938 * manual/creature.texi: Don't include macros.texi.
46939 * manual/intro.texi (creature.texi): Remove comment referring to
46940 NOTES.
46941
46942 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46943 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46944 * configure: Regenerated.
46945 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46946 LIBC_TRY_CC_OPTION.
46947 (libc_cv_as_i686): Likewise.
46948 (libc_cv_cc_avx): Likewise.
46949 (libc_cv_cc_sse2avx): Likewise.
46950 (libc_cv_cc_fma4): Likewise.
46951 (libc_cv_cc_novzeroupper): Likewise.
46952 * sysdeps/i386/configure: Regenerated.
46953
46954 [BZ #13883]
46955 * sysdeps/i386/fpu/s_cexp.S: Remove.
46956 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46957 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46958 * math/libm-test.inc (cexp_test): Add more tests.
46959 * sysdeps/i386/fpu/libm-test-ulps: Update.
46960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46961
46962 2012-03-21 Allan McRae <allan@archlinux.org>
46963
46964 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46965
46966 2012-03-21 Joseph Myers <joseph@codesourcery.com>
46967
46968 [BZ #13871]
46969 * math/w_exp2.c: Do not include <float.h>.
46970 (o_threshold, u_threshold): Remove.
46971 (__exp2): Calculate result before checking finiteness and calling
46972 __kernel_standard.
46973 * math/w_exp2f.c: Likewise.
46974 * math/w_exp2l.c: Likewise.
46975 * math/libm-test.inc (exp2_test): Require overflow exception for
46976 1e6 input.
46977
46978 [BZ #3866]
46979 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46980 range of signed 64-bit integers before using fistpll. Remove
46981 checks for whether integers fit in mantissa bits.
46982 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46983 the range of signed 32-bit integers before using fistpl. Remove
46984 checks for whether integers fit in mantissa bits.
46985 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46986 (__ieee754_powl): Test for y outside the range of signed 64-bit
46987 integers before using fistpll. Reduce 64-bit values to 63-bit
46988 ones as needed.
46989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46990 divide-by-zero is raised for zero to large negative powers.
46991 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46992 (__ieee754_powl): Test for y outside the range of signed 64-bit
46993 integers before using fistpll. Reduce 64-bit values to 63-bit
46994 ones as needed.
46995 * math/libm-test.inc (pow_test): Add more tests.
46996
46997 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46998
46999 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47000 <stdio-common/_itoa.h>.
47001 * debug/segfault.c: Likewise.
47002 * elf/dl-cache.c: Likewise.
47003 * elf/dl-minimal.c: Likewise.
47004 * elf/dl-misc.c: Likewise.
47005 * elf/dl-sysdep.c: Likewise.
47006 * elf/dl-version.c: Likewise.
47007 * elf/rtld.c: Likewise.
47008 * hurd/hurdsock.c: Likewise.
47009 * hurd/lookup-retry.c: Likewise.
47010 * malloc/malloc.c: Likewise.
47011 * malloc/mtrace.c: Likewise.
47012 * nscd/nscd_getgr_r.c: Likewise.
47013 * nscd/nscd_getpw_r.c: Likewise.
47014 * nscd/nscd_getserv_r.c: Likewise.
47015 * posix/getopt_init.c: Likewise.
47016 * posix/wordexp.c: Likewise.
47017 * stdio-common/_itoa.c: Likewise.
47018 * stdio-common/printf_fphex.c: Likewise.
47019 * stdio-common/vfprintf.c: Likewise.
47020 * string/_strerror.c: Likewise.
47021 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47022 * sysdeps/i386/i686/hp-timing.h: Likewise.
47023 * sysdeps/mach/_strerror.c: Likewise.
47024 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47025 * sysdeps/mach/hurd/sethostid.c: Likewise.
47026 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47027 * sysdeps/mach/xpg-strerror.c: Likewise.
47028 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47030 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47031 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47032 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47033 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47035 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47036 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47037 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47038 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47039 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47040 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47041 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47042 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47043 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47044 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47045 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47046 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47047 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47048 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47049
47050 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47051
47052 * stdio-common/_itoa.h: Moved to ...
47053 * sysdeps/generic/_itoa.h: Here.
47054
47055 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47056
47057 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47058 instead of "_itoa.h" and "_itowa.h".
47059 * stdio-common/vfprintf.: Likewise.
47060
47061 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47062
47063 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47064 <bits/wordsize.h>.
47065 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47066 (__signbit): Likwise.
47067 (llrintf): Likwise.
47068 (llrint): Likwise.
47069
47070 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47071
47072 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47073 __WORDSIZE != 64.
47074
47075 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47076
47077 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47078 OVERFLOW_EXCEPTION_OK.
47079 * math/libm-test.inc ("Philosophy"): Update comment about
47080 exception testing.
47081 (OVERFLOW_EXCEPTION): Define.
47082 (OVERFLOW_EXCEPTION_OK): Likewise.
47083 (INVALID_EXCEPTION_OK): Renumber.
47084 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47085 (IGNORE_ZERO_INF_SIGN): Likewise.
47086 (test_exceptions): Handle FE_OVERFLOW.
47087 (exp10_test): Expect overflow exceptions.
47088 (exp2_test): Likewise.
47089 (expm1_test): Likewise.
47090 (nextafter_test): Likewise.
47091 (pow_test): Likewise.
47092 (scalbn_test): Likewise.
47093 (scalbln_test): Likewise.
47094
47095 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47096
47097 * sysdeps/x86_64/bits/atomic.h
47098 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47099 64bit integer.
47100 (atomic_exchange_acq): Likewise.
47101 (__arch_exchange_and_add_body): Likewise.
47102 (__arch_add_body): Likewise.
47103 (atomic_add_negative): Likewise.
47104 (atomic_add_zero): Likewise.
47105
47106 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47107
47108 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47109 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47110
47111 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47112
47113 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47114 Check __x86_64__ instead of __WORDSIZE.
47115
47116 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47117
47118 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47119
47120 2012-03-19 David S. Miller <davem@davemloft.net>
47121
47122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47123
47124 * sysdeps/sparc/fpu/fenv_private.h: New file.
47125 * sysdeps/sparc/fpu/math_private.h: Use it.
47126 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47127 Remove.
47128 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47129 (libc_feholdexcept_setroundl): Remove.
47130 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47131 Remove.
47132 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47133 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47134
47135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47136
47137 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47138 int64_t instead of long int.
47139 (INSERT_WORDS64): Likwise.
47140
47141 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47142
47143 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47144 _Unwind_GetCFA return to _Unwind_Ptr first.
47145
47146 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47147
47148 [BZ #13629]
47149 * math/s_clog.c: Include <float.h>.
47150 (__clog): Scale large or subnormal inputs.
47151 * math/s_clogf.c: Likewise.
47152 * math/s_clogl.c: Likewise.
47153 * math/s_clog10.c: Include <float.h>.
47154 (M_LOG10_2): Define.
47155 (__clog10): Scale large or subnormal inputs.
47156 * math/s_clog10f.c: Likewise.
47157 * math/s_clog10l.c: Likewise.
47158 * math/libm-test.inc (clog_test): Add more tests.
47159 (clog10_test): Likewise.
47160 * sysdeps/i386/fpu/libm-test-ulps: Update.
47161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47162
47163 [BZ #11451]
47164 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47165 x and y.
47166 * math/libm-test.inc (atan2_test): Add another test.
47167
47168 * Makerules (common-objdir-compile): Remove.
47169 * sysdeps/unix/Makefile (config-generated): Do not add
47170 $(unix-generated) to variable.
47171 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47172 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47173 Remove rule.
47174 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47175 Likewise.
47176 [generic bits/local_lim.h] (before-compile): Do not append to
47177 variable.
47178 [generic bits/local_lim.h] (common-generated): Likewise.
47179 [generic sys/param.h] (before-compile): Do not append to variable.
47180 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47181 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47182 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47183 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47184 include.
47185 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47186 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47187 [generic sys/param.h] ($(addprefix
47188 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47189 [generic sys/param.h] (common-generated): Do not append to
47190 variable.
47191 [generic sys/param.h] (sysdep_headers): Likewise.
47192 [generic bits/errno.h] (before-compile): Do not append to
47193 variable.
47194 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47195 rule.
47196 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47197 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47198 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47199 [generic bits/errno.h] (common-generated): Do not append to
47200 variable.
47201 [generic bits/ioctls.h] (before-compile): Do not append to
47202 variable.
47203 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47204 rule.
47205 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47206 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47207 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47208 rule.
47209 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47210 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47211 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47212 [generic bits/ioctls.h] (common-generated): Do not append to
47213 variable.
47214 [generic sys/syscall.h] (syscall.h): Remove variable.
47215 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47216 rule.
47217 [generic sys/syscall.h] (before-compile): Do not append to
47218 variable.
47219 [generic sys/syscall.h] (common-generated): Likewise.
47220 * sysdeps/unix/errnos-tmpl.c: Remove file.
47221 * sysdeps/unix/errnos.awk: Likewise.
47222 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47223 * sysdeps/unix/ioctls.awk: Likewise.
47224 * sysdeps/unix/mk-local_lim.c: Likewise.
47225 * sysdeps/unix/snarf-ioctls: Likewise.
47226
47227 2012-03-19 Richard Henderson <rth@twiddle.net>
47228
47229 * sysdeps/i386/fpu/fenv_private.h: New file.
47230 * sysdeps/i386/fpu/math_private.h: Use it.
47231 (math_opt_barrier, math_force_eval): Remove.
47232 (libc_feholdexcept_setround_53bit): Remove.
47233 (libc_feupdateenv_53bit): Remove.
47234 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47235 (math_opt_barrier, math_force_eval): Remove.
47236 (libc_feholdexcept): Remove.
47237 (libc_feholdexcept_setround): Remove.
47238 (libc_fetestexcept, libc_fesetenv): Remove.
47239 (libc_feupdateenv_test): Remove.
47240 (libc_feupdateenv, libc_feholdsetround): Remove.
47241 (libc_feresetround): Remove.
47242
47243 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47244 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47245
47246 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47247 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47248 (libc_feupdateenv_testl): New.
47249 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47250 (libc_feupdateenv_testf): New.
47251 (libc_feupdateenv): Use libc_feupdateenv_test.
47252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47254
47255 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47256 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47257 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47258 (libc_feresetround_noex): New.
47259 (libc_feresetround_noexf): New.
47260 (libc_feresetround_noexl): New.
47261 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47262 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47263 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47264 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47265 SET_RESTORE_ROUND.
47266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47267 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47268 (__cos): Likewise.
47269 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47270 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47271 SET_RESTORE_ROUND_NOEX.
47272 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47273 SET_RESTORE_ROUND_NOEXF.
47274 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47275 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47276 (libc_feholdsetroundf): New.
47277 (libc_feresetround, libc_feresetroundf): New.
47278
47279 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47280 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47281 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47282
47283 * sysdeps/generic/math_private.h: Include <fenv.h>.
47284 (default_libc_feholdexcept): New.
47285 (default_libc_feholdexcept_setround): New.
47286 (default_libc_fesetenv, default_libc_feupdateenv): New.
47287 (libc_feholdexcept): Only define if undefined.
47288 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47289 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47290 (libc_feholdexcept_setroundl): Likewise.
47291 (libc_feholdexcept_setround_53bit): Likewise.
47292 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47293 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47294 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47295 (libc_feupdateenv_53bit): Likewise.
47296 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47297 (libc_feholdexcept): Convert from macro to inline function.
47298 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47299 (libc_fesetenv, libc_feupdateenv): Likewise.
47300
47301 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47302 not previously defined.
47303 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47304 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47305 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47306 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47307 * sysdeps/ieee754/flt-32/math_private.h: New file.
47308 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47309 math_private.h below SET_FLOAT_WORD.
47310 (__isnan, __isinf_ns, __finite): Remove.
47311 (__isnanf, __isinf_nsf, __finitef): Remove.
47312
47313 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47314
47315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47316
47317 2012-03-17 David S. Miller <davem@davemloft.net>
47318
47319 [BZ #6471]
47320 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47321 for 2.16.
47322
47323 2012-03-16 David S. Miller <davem@davemloft.net>
47324
47325 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47326 warnings.
47327
47328 [BZ #6471]
47329 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47330 properly.
47331 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47332 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47333 sysdep_routines when subdir is sysvipc.
47334 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47335 __getshmlba helper.
47336
47337 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47338
47339 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47340
47341 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47342 [__LP64__].
47343
47344 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47345
47346 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47347 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47348 (__lround): Renamed to ...
47349 (__llround): This. Replace long int with long long int.
47350 Define lround functions as aliases of llround functions.
47351 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47352
47353 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47354
47355 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47356 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47357 adresses to uintptr_t. Replace "long int" and "unsigned long
47358 int" with "greg_t" on va_arg.
47359
47360 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47361
47362 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47363 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47364
47365 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47366 Move e_machine check before EI_CLASS check. Handle x32
47367 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47368 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47369 SKIP_EM_IA_64 and include
47370 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47371
47372 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47373 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47374 (add_system_dir): New macro.
47375
47376 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47377 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47378
47379 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47380
47381 [BZ #2551]
47382 [BZ #2552]
47383 [BZ #2553]
47384 [BZ #2554]
47385 [BZ #2562]
47386 [BZ #2563]
47387 [BZ #2565]
47388 [BZ #2566]
47389 [BZ #2576]
47390 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47391 (y0): Likewise.
47392 * math/w_j0f.c (j0f): Likewise.
47393 (y0f): Likewise.
47394 * math/w_j0l.c (__j0l): Likewise.
47395 (__y0l): Likewise.
47396 * math/w_j1.c (j1): Likewise.
47397 (y1): Likewise.
47398 * math/w_j1f.c (j1f): Likewise.
47399 (y1f): Likewise.
47400 * math/w_j1l.c (__j1l): Likewise.
47401 (__y1l): Likewise.
47402 * math/w_jn.c (jn): Likewise.
47403 (yn): Likewise.
47404 * math/w_jnf.c (jnf): Likewise.
47405 (ynf): Likewise.
47406 * math/w_jnl.c (__jnl): Likewise.
47407 (__ynl): Likewise.
47408 * math/libm-test.inc (j0_test): Add more tests.
47409 (j1_test): Likewise.
47410 (jn_test): Likewise. Add trailing semicolon to existing test.
47411 (y0_test): Likewise.
47412 (y1_test): Likewise.
47413 * sysdeps/i386/fpu/libm-test-ulps: Update.
47414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47415
47416 [BZ #13851]
47417 [BZ #13854]
47418 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47419 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47420 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47421 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47422 (__tanl): Set errno for infinite argument.
47423 * sysdeps/i386/fpu/mptan.c: Remove.
47424 * sysdeps/i386/fpu/s_tan.S: Likewise.
47425 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47426 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47427 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47428 * math/libm-test.inc (tan_test): Add more tests and enable more
47429 tests for double and long double.
47430 * sysdeps/i386/fpu/libm-test-ulps: Update.
47431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47432
47433 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47434
47435 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47436 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47437
47438 2012-03-16 Roland McGrath <roland@hack.frob.com>
47439
47440 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47441 * configure.in: Use it for both main tree and add-ons.
47442 * configure: Regenerated.
47443
47444 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47445
47446 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47447
47448 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47449
47450 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47451 in comment.
47452
47453 [BZ #13851]
47454 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47455 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47456 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47457 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47458 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47459 infinite argument.
47460 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47461 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47462 != 0 for prec == 2.
47463 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47464 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47465 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47466 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47467 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47468 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47469 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47470 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47471 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47472 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47473 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47474 * math/libm-test.inc (cos_test): Add more tests and enable more
47475 tests for long double.
47476 (sin_test): Likewise.
47477 (sincos_test): Likewise.
47478 * sysdeps/i386/fpu/libm-test-ulps: Update.
47479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47480
47481 2012-03-16 David S. Miller <davem@davemloft.net>
47482
47483 * sysdeps/sparc/fpu/math_private.h: New file.
47484
47485 2012-03-15 David S. Miller <davem@davemloft.net>
47486
47487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47488 file.
47489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47491 file.
47492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47498 sysdep routines.
47499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47500
47501 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47502 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47503
47504 * sysdeps/sparc/sparc-ifunc.h: New file.
47505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47506 sparc-ifunc.h
47507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47509 Likewise.
47510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47511 Likewise.
47512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47516 Likewise.
47517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47522 Likewise.
47523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47524 Likewise.
47525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47549
47550 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47551
47552 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47553 scaling.
47554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47555
47556 2012-03-15 Andreas Jaeger <aj@suse.de>
47557
47558 [BZ #13852]
47559 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47560 ieee754/flt-32 implementation for sin, cos and sincos.
47561 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47562 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47563 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47564 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47565 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47566 ieee754/flt-32 implementation for tan.
47567
47568 * math/libm-test.inc (cos_test): Enable some large input tests for
47569 float as well
47570 (sin_test): Likewise.
47571 (sincos_test): Likewise.
47572 (tan_test): Add tests for large input.
47573
47574 * sysdeps/i386/fpu/libm-test-ulps: Update.
47575
47576 2012-03-15 Andreas Jaeger <aj@suse.de>
47577
47578 [BZ #13658]
47579 * math/libm-test.inc (cos_test): Add more test cases.
47580 (sin_test): Likewise.
47581 (sincos_test): Likewise.
47582
47583 2012-03-15 Andreas Jaeger <aj@suse.de>
47584
47585 [BZ #13837]
47586 * math/libm-test.inc (cos_test): Add a test case for large input
47587 value.
47588 (sin_test): Likewise.
47589 (sincos_test): Likewise.
47590
47591 2012-03-15 Andreas Jaeger <aj@suse.de>
47592 Joseph Myers <joseph@codesourcery.com>
47593
47594 [BZ #13658]
47595 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47596 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47597 * sysdeps/i386/fpu/branred.c: Likewise.
47598 * sysdeps/i386/fpu/dosincos.c: Likewise.
47599 * sysdeps/i386/fpu/mpa.c: Likewise.
47600 * sysdeps/i386/fpu/s_cos.S: Likewise.
47601 * sysdeps/i386/fpu/s_sin.S: Likewise.
47602 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47603 * sysdeps/i386/fpu/sincos32.c: Likewise.
47604
47605 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47606 Define.
47607 (libc_feupdateenv_53bit): Define.
47608 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47609 Define.
47610 (libc_feupdateenv_53bit): Define.
47611
47612 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47613 53 bit (without extend i386 double precision).
47614
47615 * math/libm-test.inc (sincos_test): Add tests for large input.
47616 (sin): Likewise.
47617 (cos): Likewise.
47618
47619 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47620
47621 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47622
47623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47624
47625 2012-03-15 David S. Miller <davem@davemloft.net>
47626
47627 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47628 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47629 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47630 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47643 file.
47644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47646 file.
47647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47649 file.
47650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47652 file.
47653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47654 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47655 fmin/fmax sysdep routines.
47656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47657
47658 2012-03-14 David S. Miller <davem@davemloft.net>
47659
47660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47689 routines.
47690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47691 file.
47692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47694 file.
47695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47697 file.
47698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47700 file.
47701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47703 file.
47704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47706 file.
47707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47708 file.
47709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47710 file.
47711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47712 file.
47713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47714 New file.
47715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47716 file.
47717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47718 file.
47719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47721 file.
47722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47724 file.
47725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47727 file.
47728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47730 VIS3 routines.
47731
47732 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47733 New file.
47734
47735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47736
47737 * sysdeps/sparc/configure.in: New file.
47738 * sysdeps/sparc/configure: Generate.
47739 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47740 * configure: Regenerate.
47741 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47742 * config.make.in (have-as-vis3): New.
47743 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47744 available use -Av9d instead of -Av9a.
47745 * sysdeps/sparc/sparc64/Makefile: Likewise.
47746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47748 New file.
47749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47750 file.
47751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47752 New file.
47753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47754 file.
47755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47760
47761 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47762 fzeros/fnegs to load 0x80000000 into a float register instead of
47763 using the stack.
47764 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47765
47766 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47767
47768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47769 bits/syscall.h.
47770 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47771 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47772 ($(inst_includedir)/bits/syscall.h): Remove rule.
47773 ($(objpfx)bits/syscall.d): Include instead of
47774 $(objpfx)syscall-list.d.
47775 (generated): Change syscall-list.h and syscall-list.d to
47776 bits/syscall.h and bits/syscall.d.
47777
47778 2012-03-14 Roland McGrath <roland@hack.frob.com>
47779
47780 [BZ #13846]
47781 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47782
47783 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47784
47785 [BZ #13841]
47786 * math/s_csqrt.c: Include <float.h>.
47787 (__csqrt): Scale large or subnormal inputs.
47788 * math/s_csqrtf.c: Likewise.
47789 * math/s_csqrtl.c: Likewise.
47790 * math/libm-test.inc (csqrt_test): Add more tests.
47791 * sysdeps/i386/fpu/libm-test-ulps: Update.
47792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47793
47794 [BZ #13840]
47795 * math/libm-test.inc (hypot_test): Add more tests.
47796
47797 2012-03-13 David S. Miller <davem@davemloft.net>
47798
47799 [BZ #13840]
47800 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47801 double-precision for the calculation instead of scaling.
47802
47803 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47804
47805 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47806 manipulate bits before adding and subtracting TWO52[sx].
47807 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47808 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47809 Likewise.
47810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47811
47812 2012-03-13 David S. Miller <davem@davemloft.net>
47813
47814 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47815 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47817 rtld-global-offsets.h
47818 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47819
47820 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47821 large parameters.
47822
47823 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47824
47825 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47826 'err' in the ifdef scope in which it is actually used.
47827
47828 * nss/nss_db/db-init.c: Include string.h
47829
47830 2012-03-12 David S. Miller <davem@davemloft.net>
47831
47832 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47833 masking out of the most significant byte of random value used.
47834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47835 Fix coding style in previous change.
47836
47837 * sysdeps/unix/sysv/linux/kernel-features.h
47838 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47839 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47840 expression.
47841 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47842 later.
47843
47844 2012-03-11 David S. Miller <davem@davemloft.net>
47845
47846 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47847 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47849 for 'resultvar' otherwise things get truncated on 64-bit.
47850
47851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47852 Fix masking out of the most significant byte of random value used.
47853
47854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47855
47856 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47857
47858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47859
47860 2012-03-09 David S. Miller <davem@davemloft.net>
47861
47862 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47863 variables with appropriate CPP guards.
47864 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47865 from the frame pointer, not the stack pointer. Correct layout
47866 comments. Fix test on resulting framesize and the management of
47867 the outregs buffer for pltexit. Preserve floating point return
47868 values across _dl_call_pltexit call.
47869 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47870 framesize and the management of the outregs buffer for pltexit.
47871 Preserve floating point return values across _dl_call_pltexit
47872 call.
47873 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47874 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47875 (la_sparc64_gnu_pltexit): New functions.
47876 (print_exit): Fix format string for return register value.
47877
47878 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47879
47880 * sunrpc/Makefile (others): Add rpcgen.
47881 ($(objpfx)rpcgen): Remove special build rule and dependency on
47882 libc.
47883 * sunrpc/rpcgen.c: New file.
47884
47885 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47886
47887 [BZ #13673]
47888 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47889 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47890 * sysdeps/i386/crti.S: Likewise.
47891 * sysdeps/i386/crtn.S: Likewise.
47892 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47893 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47894 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47895 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47896 * sysdeps/sh/crti.S: Likewise.
47897 * sysdeps/sh/crtn.S: Likewise.
47898 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47899
47900 [BZ #13673]
47901 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47902 with URL.
47903 * locale/programs/locfile-kw.gperf: Likewise.
47904 * locale/programs/charmap-kw.h: Regenerated.
47905 * locale/programs/locfile-kw.h: Likewise.
47906
47907 [BZ #13673]
47908 * intl/plural.y: Replace FSF snail mail address with URL.
47909 * intl/plural.c: Regenerated.
47910
47911 2012-03-09 Richard Henderson <rth@twiddle.net>
47912
47913 * include/math_private.h: Remove file.
47914 * math/math_private.h: Move file ...
47915 * sysdeps/generic/math_private.h: ... here.
47916
47917 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47918 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47919 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47920
47921 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47922 and <math_private.h>.
47923 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47924 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47925 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47926 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47927 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47928 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47929 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47931 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47934 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47935 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47936 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47937 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47938 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47939 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47940 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47941 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47942 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47943 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47945 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47947 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47948 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47949 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47950 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47952 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47953 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47954 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47955 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47956 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47959 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47960 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47961 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47963 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47964 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47965 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47966 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47967 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47968 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47969 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47970 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47971 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47972 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47973 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47974 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47975 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47977 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47978 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47979 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47980 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47981 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47982 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47983 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47984 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47986 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47987 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47988 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47989 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47990 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47991 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47992 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47994 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47996 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47997 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48000 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48001 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48002 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48003 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48004 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48005 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48006 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48007 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48009 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48010 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48011 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48014 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48016 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48017 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48018 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48019 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48020 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48021 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48022 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48023 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48024 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48025 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48026 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48027 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48028 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48029 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48030 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48031 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48032 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48033 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48034 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48035 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48036 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48037 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48038 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48039 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48040 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48041 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48042 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48043 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48044 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48045 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48046 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48047 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48048 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48049 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48050 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48051 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48052 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48053 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48054 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48055 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48056 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48057 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48058 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48060 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48061 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48062 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48063 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48064 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48065 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48066 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48067 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48068 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48069 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48070 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48071 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48072 * sysdeps/ieee754/k_standard.c: Likewise.
48073 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48074 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48075 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48076 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48077 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48078 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48079 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48080 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48081 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48082 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48083 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48084 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48085 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48086 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48087 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48088 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48090 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48091 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48092 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48093 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48094 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48095 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48096 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48097 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48098 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48099 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48100 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48101 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48103 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48104 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48105 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48106 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48107 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48108 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48109 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48110 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48111 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48112 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48113 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48114 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48115 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48116 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48117 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48118 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48119 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48120 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48121 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48122 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48123 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48124 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48125 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48126 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48129 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48130 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48131 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48132 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48133 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48135 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48136 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48140 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48141 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48145 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48146 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48148 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48149 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48150 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48151 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48152 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48153 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48154 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48156 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48157 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48158 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48159 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48163 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48166 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48167 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48168 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48177 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48178 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48179 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48180 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48181 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48187 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48188 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48190 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48192 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48193 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48194 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48195 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48196 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48198 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48199 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48200 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48201 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48202 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48203 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48204 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48205 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48206 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48208 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48209 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48210 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48211 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48212 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48213 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48214 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48215 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48216 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48217 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48222 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48223 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48224 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48225 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48226 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48227 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48228 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48229 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48230 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48231 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48233 * sysdeps/ieee754/s_lib_version.c: Likewise.
48234 * sysdeps/ieee754/s_matherr.c: Likewise.
48235 * sysdeps/ieee754/s_signgam.c: Likewise.
48236 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48237 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48238 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48239 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48240 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48241 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48242 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48243 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48244 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48245 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48246 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48247 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48248 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48249 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48250 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48251 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48252 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48254 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48257
48258 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48259
48260 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48261 * sunrpc/rpc_main.c: Likewise.
48262 * sunrpc/rpc_svcout.c: Likewise.
48263
48264 2012-03-09 David S. Miller <davem@davemloft.net>
48265
48266 * include/math_private.h: New file.
48267
48268 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48269
48270 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48271 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48272 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48273 from <bits/socket_type.h>.
48274 (enum __socket_type): Don't define here.
48275 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48277 bits/socket_type.h.
48278
48279 [BZ #13566]
48280 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48281 checking __USE_GNU.
48282
48283 * Makerules ($(inst_includedir)/%.h): New rule.
48284 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48285 (install-others): Remove variable setting.
48286 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48287
48288 2012-03-08 Richard Henderson <rth@twiddle.net>
48289
48290 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48291 from macro to inline function; merge with the
48292 !__LIBC_INTERNAL_MATH_INLINES version.
48293 (__ieee754_sqrtf): Likewise.
48294
48295 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48296 to inline function.
48297 (__rintf, __floor, __floorf): Likewise.
48298
48299 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48300 macro to inline function.
48301 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48302
48303 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48304 not <math/math_private.h>.
48305
48306 2012-03-08 David S. Miller <davem@davemloft.net>
48307
48308 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48309 copyright year.
48310 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48311
48312 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48313
48314 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48315 normalization.
48316 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48317 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48318
48319 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48320
48321 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48322 be defined individually, they must be defined as a block. Define
48323 S for printing a string instead of hidint the different by using a
48324 macro for adding the 'l'.
48325 * stdio-common/tst-fphex-wide.c: Adjust.
48326
48327 2012-03-07 Marek Polacek <polacek@redhat.com>
48328
48329 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48330
48331 2012-03-08 Marek Polacek <polacek@redhat.com>
48332
48333 [BZ #13806]
48334 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48335 * stdio-common/tst-fphex.c: Define a few macros to make the
48336 test reusable. Use them.
48337 * stdio-common/tst-fphex-wide.c: New file.
48338
48339 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48340
48341 [BZ #6911]
48342 * manual/macros.texi (gnusystems): New macro.
48343 (nongnusystems): Likewise.
48344 (gnulinuxhurdsystems): Likewise.
48345 (gnuhurdsystems): Likewise..
48346 (gnulinuxsystems): Likewise.
48347 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48348 variants of the GNU system, not "GNU system".
48349 * manual/conf.texi: Likewise.
48350 * manual/errno.texi: Likewise. Update example of errno macro
48351 expansion.
48352 * manual/filesys.texi: Likewise.
48353 (getumask): Document as specific to GNU/Hurd.
48354 * manual/install.texi: Likewise. Reword some references to
48355 GNU/Linux.
48356 * manual/intro.texi: Likewise.
48357 * manual/io.texi: Likewise.
48358 (File Name Portability): Detail which constraints are inapplicable
48359 to all GNU systems and which are only inapplicable to GNU/Hurd.
48360 * manual/job.texi: Likewise.
48361 * manual/llio.texi: Likewise.
48362 (O_NOCTTY): Document as present on GNU/Linux.
48363 * manual/maint.texi: Likewise.
48364 * manual/memory.texi: Likewise.
48365 * manual/pattern.texi: Likewise.
48366 * manual/pipe.texi: Likewise.
48367 * manual/process.texi: Likewise.
48368 * manual/resource.texi: Likewise.
48369 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48370 child on GNU/Hurd.
48371 * manual/setjmp.texi: Likewise.
48372 * manual/signal.texi: Likewise.
48373 * manual/startup.texi: Likewise.
48374 * manual/stdio.texi: Likewise.
48375 * manual/terminal.texi: Likewise.
48376 (ONLCR): Document as POSIX.
48377 (OXTABS): Document availability on GNU/Linux as XTABS.
48378 (ONOEOT): Document availability separately from other bits.
48379 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48380 * manual/time.texi: Likewise.
48381 * manual/users.texi: Likewise.
48382 * INSTALL: Regenerated.
48383 * sysdeps/gnu/errlist.c: Regenerated.
48384
48385 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48386 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48387 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48388 puts.
48389 * configure: Regenerated.
48390
48391 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48392
48393 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48394 default includes instead of AC_HEADER_CHECK.
48395 * sysdeps/i386/configure: Regenerated.
48396
48397 [BZ #10716]
48398 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48399 * math/s_cacoshf.c (__cacoshf): Likewise.
48400 * math/s_cacoshl.c (__cacoshl): Likewise.
48401 * math/s_casinh.c (__casinh): Set signs of result from argument.
48402 * math/s_casinhf.c (__casinhf): Likewise.
48403 * math/s_casinhl.c (__casinhl): Likewise.
48404 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48405 (casinh_test): Add more tests.
48406 * sysdeps/i386/fpu/libm-test-ulps: Update.
48407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48408
48409 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48410
48411 * po/zh_TW.po: Update from translation team.
48412
48413 * login/Makefile (distribute): Remove variable.
48414 * catgets/Makefile: Likewise.
48415 * mach/Makefile: Likewise.
48416 * malloc/Makefile: Likewise.
48417 * misc/Makefile: Likewise.
48418 * iconv/Makefile: Likewise.
48419 * nscd/Makefile: Likewise.
48420 * hurd/Makefile: Likewise.
48421 * manual/Makefile: Likewise.
48422 * locale/Makefile: Likewise.
48423 * intl/Makefile: Likewise.
48424 * conform/Makefile: Likewise.
48425 * nss/Makefile: Likewise.
48426 * time/Makefile: Likewise.
48427 * soft-fp/Makefile: Likewise.
48428 * dirent/Makefile: Likewise.
48429 * gmon/Makefile: Likewise.
48430 * po/Makefile: Likewise.
48431 * rt/Makefile: Likewise.
48432 * socket/Makefile: Likewise.
48433 * math/Makefile: Likewise.
48434 * signal/Makefile: Likewise.
48435 * debug/Makefile: Likewise.
48436 * elf/Makefile: Likewise.
48437 * timezone/Makefile: Likewise.
48438 * stdlib/Makefile: Likewise.
48439 * iconvdata/Makefile: Likewise.
48440 * sunrpc/Makefile: Likewise.
48441 * io/Makefile: Likewise.
48442 * argp/Makefile: Likewise.
48443 * inet/Makefile: Likewise.
48444 * hesiod/Makefile: Likewise.
48445 * grp/Makefile: Likewise.
48446 * csu/Makefile: Likewise.
48447 * wctype/Makefile: Likewise.
48448 * crypt/Makefile: Likewise.
48449 * libio/Makefile: Likewise.
48450 * string/Makefile: Likewise.
48451 * nis/Makefile: Likewise.
48452 * resolv/Makefile: Likewise.
48453 * stdio-common/Makefile: Likewise.
48454 * wcsmbs/Makefile: Likewise.
48455 * dlfcn/Makefile: Likewise.
48456 * posix/Makefile: Likewise.
48457
48458 [BZ #6959]
48459 * timezone/Makefile: Don't install timezone files, just the programs
48460 and scripts.
48461
48462 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48463
48464 * nss/databases.def: Add missing gshadow entry.
48465
48466 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48467
48468 2012-03-06 Marek Polacek <polacek@redhat.com>
48469
48470 [BZ #13726]
48471 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48472 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48473 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48474 * stdio-common/tst-long-dbl-fphex.c: New file.
48475
48476 2012-03-06 David S. Miller <davem@davemloft.net>
48477
48478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48479 (set_obp_int): New function.
48480 (get_obp_int): New function.
48481 (__get_clockfreq_via_dev_openprom): Likewise.
48482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48483 Avoid unused variable warnings on 'val' and use builtin_expect.
48484 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48485 __builtin_expect.
48486 (INLINE_CLONE_SYSCALL): Likewise.
48487
48488 2012-03-05 David S. Miller <davem@davemloft.net>
48489
48490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48491
48492 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48493
48494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48495
48496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48497 only for |x| >= 40.
48498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48499
48500 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48501
48502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48503 Replace gettimeofday with __vdso_gettimeofday.
48504
48505 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48506 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48507 __vdso_clock_gettime and __vdso_getcpu.
48508
48509 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48510 time with __vdso_time.
48511
48512 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48513
48514 * manual/lang.texi (size_t): Note types to which size_t may be
48515 equivalent with the GNU C Library, but do not describe when
48516 differences between them are significant.
48517
48518 2012-03-05 Andreas Jaeger <aj@suse.de>
48519
48520 * sysdeps/i386/fpu/libm-test-ulps: Update.
48521
48522 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48523
48524 [BZ #3976]
48525 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48526 (__ieee754_pow): Save and restore rounding mode and use
48527 round-to-nearest for main computations.
48528 * math/libm-test.inc (pow_test_tonearest): New function.
48529 (pow_test_towardzero): Likewise.
48530 (pow_test_downward): Likewise.
48531 (pow_test_upward): Likewise.
48532 (main): Call the new functions.
48533 * sysdeps/i386/fpu/libm-test-ulps: Update.
48534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48535
48536 [BZ #3976]
48537 * math/libm-test.inc (cosh_test_tonearest): New function.
48538 (cosh_test_towardzero): Likewise.
48539 (cosh_test_downward): Likewise.
48540 (cosh_test_upward): Likewise.
48541 (sinh_test_tonearest): Likewise.
48542 (sinh_test_towardzero): Likewise.
48543 (sinh_test_downward): Likewise.
48544 (sinh_test_upward): Likewise.
48545 (main): Call the new functions.
48546 * sysdeps/i386/fpu/libm-test-ulps: Update.
48547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48548
48549 2012-03-05 Tom de Vries <tom@codesourcery.com>
48550
48551 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48552 default stack guard is set in last bytes.
48553 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48554
48555 2012-03-05 Kees Cook <keescook@chromium.org>
48556
48557 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48558
48559 [BZ #13656]
48560 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48561 possibly allocate from heap instead of stack.
48562 * stdio-common/bug-vfprintf-nargs.c: New file.
48563 * stdio-common/Makefile (tests): Add nargs overflow test.
48564
48565 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48566
48567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48568
48569 2012-03-03 Marek Polacek <polacek@redhat.com>
48570
48571 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48572 * math/math_private.h: Likewise.
48573 * stdlib/tst-strtod.c: Likewise.
48574 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48575 * sysdeps/x86_64/bits/atomic.h: Likewise.
48576
48577 2012-03-02 David S. Miller <davem@davemloft.net>
48578
48579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48583 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48584 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48585 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48586 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48587
48588 2012-03-02 Roland McGrath <roland@hack.frob.com>
48589
48590 [BZ #13792]
48591 * manual/examples/README: New file, says the example source files
48592 can be used under GPL>=2.
48593 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48594 line containing just "*/".
48595 * manual/examples/add.c: Add copyright header (GPL>=2).
48596 * manual/examples/argp-ex1.c: Likewise.
48597 * manual/examples/argp-ex2.c: Likewise.
48598 * manual/examples/argp-ex3.c: Likewise.
48599 * manual/examples/argp-ex4.c: Likewise.
48600 * manual/examples/atexit.c: Likewise.
48601 * manual/examples/db.c: Likewise.
48602 * manual/examples/dir.c: Likewise.
48603 * manual/examples/dir2.c: Likewise.
48604 * manual/examples/execinfo.c: Likewise.
48605 * manual/examples/filecli.c: Likewise.
48606 * manual/examples/filesrv.c: Likewise.
48607 * manual/examples/fmtmsgexpl.c: Likewise.
48608 * manual/examples/genpass.c: Likewise.
48609 * manual/examples/inetcli.c: Likewise.
48610 * manual/examples/inetsrv.c: Likewise.
48611 * manual/examples/isockad.c: Likewise.
48612 * manual/examples/longopt.c: Likewise.
48613 * manual/examples/memopen.c: Likewise.
48614 * manual/examples/memstrm.c: Likewise.
48615 * manual/examples/mkfsock.c: Likewise.
48616 * manual/examples/mkisock.c: Likewise.
48617 * manual/examples/mygetpass.c: Likewise.
48618 * manual/examples/pipe.c: Likewise.
48619 * manual/examples/popen.c: Likewise.
48620 * manual/examples/rprintf.c: Likewise.
48621 * manual/examples/search.c: Likewise.
48622 * manual/examples/select.c: Likewise.
48623 * manual/examples/setjmp.c: Likewise.
48624 * manual/examples/sigh1.c: Likewise.
48625 * manual/examples/sigusr.c: Likewise.
48626 * manual/examples/stpcpy.c: Likewise.
48627 * manual/examples/strdupa.c: Likewise.
48628 * manual/examples/strftim.c: Likewise.
48629 * manual/examples/strncat.c: Likewise.
48630 * manual/examples/subopt.c: Likewise.
48631 * manual/examples/swapcontext.c: Likewise.
48632 * manual/examples/termios.c: Likewise.
48633 * manual/examples/testopt.c: Likewise.
48634 * manual/examples/testpass.c: Likewise.
48635 * manual/examples/timeval_subtract.c: Likewise.
48636
48637 [BZ #13792]
48638 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48639 function to ...
48640 * manual/timeval_subtract.c.texi: ... here, new file.
48641
48642 2012-03-02 David S. Miller <davem@davemloft.net>
48643
48644 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48645
48646 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48647
48648 [BZ #3976]
48649 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48650 (__sin): Save and restore rounding mode and use round-to-nearest
48651 for all computations.
48652 (__cos): Save and restore rounding mode and use round-to-nearest
48653 for all computations.
48654 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48655 <fenv.h>.
48656 (tan): Save and restore rounding mode and use round-to-nearest for
48657 all computations.
48658 * math/libm-test.inc (cos_test_tonearest): New function.
48659 (cos_test_towardzero): Likewise.
48660 (cos_test_downward): Likewise.
48661 (cos_test_upward): Likewise.
48662 (sin_test_tonearest): Likewise.
48663 (sin_test_towardzero): Likewise.
48664 (sin_test_downward): Likewise.
48665 (sin_test_upward): Likewise.
48666 (tan_test_tonearest): Likewise.
48667 (tan_test_towardzero): Likewise.
48668 (tan_test_downward): Likewise.
48669 (tan_test_upward): Likewise.
48670 (main): Call the new functions.
48671 * sysdeps/i386/fpu/libm-test-ulps: Update.
48672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48673
48674 [BZ #10135]
48675 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48676 small n, then large n, before computing and testing k+n.
48677 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48679 Likewise.
48680 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48681 Likewise.
48682 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48683 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48688 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48689 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48690 * math/libm-test.inc (scalbn_test): Add more tests.
48691 (scalbln_test): Likewise.
48692
48693 * manual/filesys.texi (mode_t): Describe constraints on size and
48694 signedness, not exact equivalence to a particular type.
48695 (ino_t): Likewise.
48696 (ino64_t): Likewise.
48697 (dev_t): Likewise.
48698 (nlink_t): Likewise.
48699 (blkcnt_t): Likewise.
48700 (blkcnt64_t): Likewise.
48701 * manual/llio.texi (off_t): Likewise.
48702
48703 [BZ #3976]
48704 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48705 (__ieee754_exp): Save and restore rounding mode and use
48706 round-to-nearest for all computations.
48707 * math/libm-test.inc (exp_test_tonearest): New function.
48708 (exp_test_towardzero): Likewise.
48709 (exp_test_downward): Likewise.
48710 (exp_test_upward): Likewise.
48711 (main): Call the new functions.
48712 * sysdeps/i386/fpu/libm-test-ulps: Update.
48713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48714
48715 2012-03-01 Chris Demetriou <cgd@google.com>
48716
48717 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48718 have predictable order.
48719
48720 2012-03-01 David S. Miller <davem@davemloft.net>
48721
48722 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48723
48724 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48725 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48726 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48727 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48728
48729 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48730 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48731 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48733 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48734 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48735 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48736 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48737 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48738
48739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48740
48741 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48742 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48743 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48744
48745 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48747 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48748 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48749 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48751 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48752 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48753 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48754 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48755 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48759 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48761 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48762 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48763 * sysdeps/sparc/elf/configure: Regenerated.
48764
48765 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48766
48767 * configure.in (AS, LD): Require binutils 2.20 or later.
48768 * configure: Regenerated.
48769 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48770 as required minimum version.
48771 * INSTALL: Regenerated.
48772
48773 [BZ #2541]
48774 [BZ #4108]
48775 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48776 before squaring exponent.
48777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48778 bottom long double and 27 bits of top long double before squaring
48779 exponent.
48780 * math/libm-test.inc (erfc_test): Add more tests.
48781 * sysdeps/i386/fpu/libm-test-ulps: Update.
48782 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48784
48785 2012-03-01 Kai Tietz <ktietz@redhat.com>
48786
48787 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48788 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48789 containing bit-fields.
48790 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48791 * soft-fp/single.h (_FP_UNION_S): Likewise.
48792 * soft-fp/double.h (_FP_UNION_D): Likewise.
48793
48794 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48795
48796 [BZ #13786]
48797 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48798 not include ../strcmp.S.
48799 [USE_AS_STRNCASECMP_L]: Likewise.
48800 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48801 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48802 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48803 (__strncasecmp_l_ia32): Define as alias to
48804 __strncasecmp_l_nonascii.
48805
48806 [BZ #5794]
48807 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48808 * sysdeps/i386/fpu/libm-test-ulps: Update.
48809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48810
48811 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48813
48814 2012-02-29 Jeff Law <law@redhat.com>
48815
48816 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48817 out of bounds read.
48818
48819 2012-02-29 Marek Polacek <polacek@redhat.com>
48820
48821 [BZ #13706]
48822 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48823 * elf/Makefile: Add rules to run tst-unused-dep.out.
48824
48825 2012-02-28 David S. Miller <davem@davemloft.net>
48826
48827 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48828 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48831 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48832 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48833
48834 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48835
48836 * math/libm-test.inc (llround_test): Move one test from
48837 lround_test. Use TEST_f_L in moved test.
48838 (lround_test): Move misplaced test to llround_test. Add testcase
48839 from bug 2561.
48840
48841 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48842
48843 * sysdeps/x86_64/fpu/e_expf.S: New file.
48844 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48845
48846 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48847
48848 [BZ #13637]
48849 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48850 of remain_len that may cause incomplete multi-byte character and
48851 false match.
48852 * posix/bug-regex33.c: New file.
48853 * posix/Makefile (tests): Add bug-regex33.
48854
48855 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48856
48857 * manual/macros.texi: New file.
48858 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48859 * manual/libc.texinfo: Include macros.texi.
48860 * manual/creatute.texi: Likewise.
48861 * manual/install.texi: Likewise.
48862 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48863 @glibcadj{} in references to the GNU C Library.
48864 * manual/charset.texi: Likewise.
48865 * manual/conf.texi: Likewise.
48866 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48867 when not using those macros.
48868 * manual/creature.texi: Likewise.
48869 * manual/crypt.texi: Likewise.
48870 * manual/errno.texi: Likewise.
48871 * manual/filesys.texi: Likewise.
48872 * manual/header.texi: Likewise.
48873 * manual/install.texi: Likewise.
48874 * manual/intro.texi: Likewise.
48875 * manual/io.texi: Likewise.
48876 * manual/job.texi: Likewise.
48877 * manual/lang.texi: Likewise.
48878 * manual/libc.texiinfo: Likewise.
48879 * manual/llio.texi: Likewise.
48880 * manual/locale.texi: Likewise.
48881 * manual/maint.texi: Likewise.
48882 * manual/math.texi: Likewise.
48883 * manual/memory.texi: Likewise.
48884 * manual/message.texi: Likewise.
48885 * manual/nss.texi: Likewise.
48886 * manual/pattern.texi: Likewise.
48887 * manual/process.texi: Likewise.
48888 * manual/resource.texi: Likewise.
48889 * manual/search.texi: Likewise.
48890 * manual/setjmp.texi: Likewise.
48891 * manual/signal.texi: Likewise.
48892 * manual/socket.texi: Likewise.
48893 * manual/startup.texi: Likewise.
48894 * manual/stdio.texi: Likewise.
48895 * manual/string.texi: Likewise.
48896 * manual/sysinfo.texi: Likewise.
48897 * manual/syslog.texi: Likewise.
48898 * manual/terminal.texi: Likewise.
48899 * manual/time.texi: Likewise.
48900 * manual/users.texi: Likewise.
48901 * INSTALL: Regenerated.
48902 * NOTES: Regenerated.
48903 * sysdeps/gnu/errlist.c: Regenerated.
48904
48905 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48906
48907 * include/dirent.h: Include <dirstream.h> before
48908 <dirent/dirent.h>.
48909
48910 2012-02-28 David S. Miller <davem@davemloft.net>
48911
48912 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48913 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48914 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48915 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48916
48917 2012-02-27 David S. Miller <davem@davemloft.net>
48918
48919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48921 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48922 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48923
48924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48925 frame pointer instead of stack pointer relative arg slot.
48926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48927 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48928 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48929
48930 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48931
48932 [BZ #3992]
48933 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48934
48935 2012-02-27 David S. Miller <davem@davemloft.net>
48936
48937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48941 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48942 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48943 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48944 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48945
48946 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48947
48948 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48949 later. Allow versions 5-9.
48950 * configure: Regenerated.
48951 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48952 required minimum version and 4.6 as recommended version. Do not
48953 mention bugs in GCC 2.7 and 2.8.
48954 * INSTALL: Regenerated.
48955
48956 2012-02-27 David S. Miller <davem@davemloft.net>
48957
48958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48962 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48963 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48964 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48965 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48966
48967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48968 manipulate bits before adding and subtracting TWO112[sx].
48969 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48970
48971 2012-02-27 Roland McGrath <roland@hack.frob.com>
48972
48973 [BZ #13775]
48974 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48975 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48976 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48977 being in POSIX, because they are in 1003.1-2008.
48978
48979 * rt/tst-aio.c: Include <fcntl.h>.
48980 * rt/tst-aio7.c: Likewise.
48981 * rt/tst-aio64.c: Likewise.
48982
48983 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48984
48985 2012-02-27 Joseph Myers <joseph@codesourcery.com>
48986
48987 * manual/install.texi (--with-headers): Describe headers as
48988 interface headers, not private headers.
48989 (Specific advice for GNU/Linux systems): Describe use of headers
48990 from "make headers_install", not private headers from older
48991 kernels.
48992 * INSTALL: Regenerated.
48993 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48994 Change to 2.6.19.
48995 * sysdeps/unix/sysv/linux/configure: Regenerated.
48996
48997 * manual/llio.texi (fclean): Remove documentation.
48998
48999 * manual/Makefile (libc-texi-generated): New variable. Include
49000 version.texi.
49001 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49002 $(libc-texi-generated), not duplicated list of files.
49003 (version.texi, stamp-version): New rules.
49004 (realclean): Remove $(libc-texi-generated), not individual files
49005 from that list. Do not remove dir-add.texinfo.
49006 * manual/libc.texinfo: Comment out uses of edition numbers and
49007 references to printed manual. Remove last-updated dates.
49008 (EDITION): Comment out.
49009 (ISBN): Likewise.
49010 (VERSION, UPDATED): Remove.
49011 (version.texi): Include.
49012
49013 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49014
49015 * sysdeps/posix/spawni.c: Include <signal.h>.
49016 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49017 * sysdeps/pthread/aio_fsync.c: Likewise.
49018
49019 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49020
49021 * conform/Makefile (tests): Run only when not cross-compiling and
49022 when fast-check is not defined.
49023
49024 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49025 * conform/data/limits.h-data: Fixes for POSIX2008.
49026 * conform/run-conformtest.sh: Run all tests.
49027 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49028 headers.
49029 * include/bits/dlfcn.h: Likewise.
49030 * include/langinfo.h: Likewise.
49031 * include/monetary.h: Likewise.
49032 * include/sys/poll.h: Likewise.
49033
49034 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49035 for __USE_GNU.
49036 * posix/spawn.h: Define __need_sigset_t.
49037 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49038 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49039 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49040 to get sigevent_t only.
49041 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49042 only for __USE_GNU.
49043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49044 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49045 process_vm_writev only for __USE_GNU.
49046 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49047
49048 * conform/Makefile: For now ignore errors from run-conformtest.
49049 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49050 POSIX to avoid namespace pollution. Don't prepend headers.
49051 * conform/data/aio.h-data: Fixes for POSIX testing.
49052 * conform/data/fcntl.h-data: Likewise.
49053 * conform/data/glob.h-data: Likewise.
49054 * conform/data/grp.h-data: Likewise.
49055 * conform/data/pthread.h-data: Likewise.
49056 * conform/data/pwd.h-data: Likewise.
49057 * conform/data/signal.h-data: Likewise.
49058 * conform/data/spawn.h-data: Likewise.
49059 * conform/data/stdio.h-data: Likewise.
49060 * conform/data/stdlib.h-data: Likewise.
49061 * conform/data/stropts.h-data: Likewise.
49062 * conform/data/sys/mman.h-data: Likewise.
49063 * conform/data/sys/stat.h-data: Likewise.
49064 * conform/data/sys/types.h-data: Likewise.
49065 * conform/data/sys/wait.h-data: Likewise.
49066 * conform/data/time.h-data: Likewise.
49067 * conform/data/unistd.h-data: Likewise.
49068 * conform/data/utime.h-data: Likewise.
49069
49070 * io/sys/stat.h: fchmod was always in POSIX.
49071 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49072 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49073 * rt/aio.h: Define __need_timespec before including <time.h>.
49074 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49075 struct. Add forward declaration of pthread_attr_t and use it in
49076 sigevent.
49077 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49078 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49079 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49080 always remove CLK_TCK definition.
49081
49082 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49083
49084 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49085
49086 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49087
49088 * conform/run-conformtest.sh: New file.
49089 * conform/Makefile: Run run-conformtest for tests.
49090 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49091 support.
49092
49093 * conform/data/uchar.h-data: New file.
49094 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49095 * conform/data/arpa/inet.h-data: Likewise.
49096 * conform/data/assert.h-data: Likewise.
49097 * conform/data/complex.h-data: Likewise.
49098 * conform/data/cpio.h-data: Likewise.
49099 * conform/data/ctype.h-data: Likewise.
49100 * conform/data/dirent.h-data: Likewise.
49101 * conform/data/dlfcn.h-data: Likewise.
49102 * conform/data/errno.h-data: Likewise.
49103 * conform/data/fcntl.h-data: Likewise.
49104 * conform/data/float.h-data: Likewise.
49105 * conform/data/fmtmsg.h-data: Likewise.
49106 * conform/data/fnmatch.h-data: Likewise.
49107 * conform/data/ftw.h-data: Likewise.
49108 * conform/data/glob.h-data: Likewise.
49109 * conform/data/grp.h-data: Likewise.
49110 * conform/data/iconv.h-data: Likewise.
49111 * conform/data/inttypes.h-data: Likewise.
49112 * conform/data/langinfo.h-data: Likewise.
49113 * conform/data/libgen.h-data: Likewise.
49114 * conform/data/limits.h-data: Likewise.
49115 * conform/data/locale.h-data: Likewise.
49116 * conform/data/math.h-data: Likewise.
49117 * conform/data/monetary.h-data: Likewise.
49118 * conform/data/mqueue.h-data: Likewise.
49119 * conform/data/ndbm.h-data: Likewise.
49120 * conform/data/net/if.h-data: Likewise.
49121 * conform/data/netdb.h-data: Likewise.
49122 * conform/data/netinet/in.h-data: Likewise.
49123 * conform/data/nl_types.h-data: Likewise.
49124 * conform/data/poll.h-data: Likewise.
49125 * conform/data/pthread.h-data: Likewise.
49126 * conform/data/pwd.h-data: Likewise.
49127 * conform/data/regex.h-data: Likewise.
49128 * conform/data/sched.h-data: Likewise.
49129 * conform/data/search.h-data: Likewise.
49130 * conform/data/semaphore.h-data: Likewise.
49131 * conform/data/setjmp.h-data: Likewise.
49132 * conform/data/signal.h-data: Likewise.
49133 * conform/data/spawn.h-data: Likewise.
49134 * conform/data/stdarg.h-data: Likewise.
49135 * conform/data/stdio.h-data: Likewise.
49136 * conform/data/stdlib.h-data: Likewise.
49137 * conform/data/string.h-data: Likewise.
49138 * conform/data/strings.h-data: Likewise.
49139 * conform/data/stropts.h-data: Likewise.
49140 * conform/data/sys/ipc.h-data: Likewise.
49141 * conform/data/sys/mman.h-data: Likewise.
49142 * conform/data/sys/msg.h-data: Likewise.
49143 * conform/data/sys/resource.h-data: Likewise.
49144 * conform/data/sys/select.h-data: Likewise.
49145 * conform/data/sys/sem.h-data: Likewise.
49146 * conform/data/sys/shm.h-data: Likewise.
49147 * conform/data/sys/socket.h-data: Likewise.
49148 * conform/data/sys/stat.h-data: Likewise.
49149 * conform/data/sys/statvfs.h-data: Likewise.
49150 * conform/data/sys/time.h-data: Likewise.
49151 * conform/data/sys/timeb.h-data: Likewise.
49152 * conform/data/sys/times.h-data: Likewise.
49153 * conform/data/sys/types.h-data: Likewise.
49154 * conform/data/sys/uio.h-data: Likewise.
49155 * conform/data/sys/un.h-data: Likewise.
49156 * conform/data/sys/utsname.h-data: Likewise.
49157 * conform/data/sys/wait.h-data: Likewise.
49158 * conform/data/syslog.h-data: Likewise.
49159 * conform/data/tar.h-data: Likewise.
49160 * conform/data/termios.h-data: Likewise.
49161 * conform/data/utime.h-data: Likewise.
49162 * conform/data/utmpx.h-data: Likewise.
49163 * conform/data/varargs.h-data: Likewise.
49164 * conform/data/wchar.h-data: Likewise.
49165 * conform/data/wctype.h-data: Likewise.
49166 * conform/data/wordexp.h-data: Likewise.
49167
49168 * include/stropts.h: New file.
49169 * include/uchar.h: New file.
49170 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49171 * include/assert.h: Likewise.
49172 * include/ctype.h: Likewise.
49173 * include/dirent.h: Likewise.
49174 * include/dlfcn.h: Likewise.
49175 * include/fcntl.h: Likewise.
49176 * include/fnmatch.h: Likewise.
49177 * include/glob.h: Likewise.
49178 * include/grp.h: Likewise.
49179 * include/libio.h: Likewise.
49180 * include/locale.h: Likewise.
49181 * include/math.h: Likewise.
49182 * include/net/if.h: Likewise.
49183 * include/netdb.h: Likewise.
49184 * include/netinet/in.h: Likewise.
49185 * include/pthread.h: Likewise.
49186 * include/pwd.h: Likewise.
49187 * include/regex.h: Likewise.
49188 * include/sched.h: Likewise.
49189 * include/search.h: Likewise.
49190 * include/setjmp.h: Likewise.
49191 * include/signal.h: Likewise.
49192 * include/stdio.h: Likewise.
49193 * include/stdlib.h: Likewise.
49194 * include/string.h: Likewise.
49195 * include/sys/cdefs.h: Likewise.
49196 * include/sys/mman.h: Likewise.
49197 * include/sys/msg.h: Likewise.
49198 * include/sys/resource.h: Likewise.
49199 * include/sys/select.h: Likewise.
49200 * include/sys/socket.h: Likewise.
49201 * include/sys/stat.h: Likewise.
49202 * include/sys/statvfs.h: Likewise.
49203 * include/sys/time.h: Likewise.
49204 * include/sys/times.h: Likewise.
49205 * include/sys/uio.h: Likewise.
49206 * include/sys/utsname.h: Likewise.
49207 * include/sys/wait.h: Likewise.
49208 * include/termios.h: Likewise.
49209 * include/time.h: Likewise.
49210 * include/ulimit.h: Likewise.
49211 * include/unistd.h: Likewise.
49212 * include/utime.h: Likewise.
49213 * include/wchar.h: Likewise.
49214 * include/wctype.h: Likewise.
49215 * include/wordexp.h: Likewise.
49216
49217 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49218
49219 * time/time.h: TIME_UTC must be a macro.
49220 Make timespec_get available for ISO C11 only as well.
49221
49222 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49223
49224 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49225 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49226
49227 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49228
49229 * configure.in: Use -o not -a in test for unsupported multi-arch.
49230
49231 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49232
49233 * manual/texinfo.tex: Update to version 2012-01-19.16.
49234
49235 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49236
49237 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49238
49239 2012-02-24 Roland McGrath <roland@hack.frob.com>
49240
49241 [BZ #13738]
49242 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49243 * manual/fdl-1.3.texi: New file.
49244 * manual/fdl-1.1.texi: File removed.
49245
49246 [BZ #13738]
49247 * manual/libc.texinfo (FDL_VERSION): New @set.
49248 Use it for mention of FDL in cover text.
49249 (Documentation License): Use it in @include file name.
49250
49251 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49252 Roland McGrath <roland@hack.frob.com>
49253
49254 [BZ #5461]
49255 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49256 (not LONG_LONG_MAX and LONG_LONG_MIN.
49257 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49258 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49259 name.
49260 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49261
49262 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49263
49264 [BZ #2547]
49265 [BZ #11365]
49266 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49267 manipulate bits before adding and subtracting TWO23[sx].
49268 * math/libm-test.inc (nearbyint_test): Add more tests.
49269
49270 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49271
49272 [BZ #2548]
49273 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49274 bits before adding and subtracting TWO23[sx].
49275 * math/libm-test.inc (rint_test): Add more tests.
49276 (rint_test_tonearest): Likewise.
49277 (rint_test_towardzero): Likewise.
49278 (rint_test_downward): Likewise.
49279 (rint_test_upward: Likewise.
49280
49281 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49282
49283 [BZ #10110]
49284 * include/stdc-predef.h: New file. Extracted from features.h.
49285 * include/features.h: Include stdc-predef.h.
49286 * Makefile (headers): Add stdc-predef.h.
49287 * CONFORMANCE (Compiler limitations): Update.
49288
49289 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49290
49291 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49292
49293 2012-02-21 David S. Miller <davem@davemloft.net>
49294
49295 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49296 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49297
49298 2012-02-20 David S. Miller <davem@davemloft.net>
49299
49300 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49301 using a normal save/restore sequence, rather than allocating a
49302 dummy stack frame just to store a frame pointer and restore.
49303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49304
49305 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49306
49307 * manual/install.texi: Fix stray word in line-wrapped comment.
49308
49309 2012-02-20 David S. Miller <davem@davemloft.net>
49310
49311 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49312 both binutils and gcc support GOTDATA.
49313
49314 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49315 "rd %pc" in the PIC register setup sequences.
49316
49317 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49318 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49319 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49320 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49321 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49324 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49325 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49326 (SYSCALL_ERROR_HANDLER): Likewise.
49327 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49328 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49329 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49330 (SYSCALL_ERROR_HANDLER): Likewise.
49331
49332 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49333 (HAVE_GCC_GOTDATA): New.
49334 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49335 relocation support in both binutils and gcc.
49336 * sysdeps/sparc/elf/configure: Regenerate.
49337
49338 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49339 * sysdeps/sparc/sparc32/elf/configure: Delete.
49340 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49341 * sysdeps/sparc/sparc64/elf/configure: Delete.
49342 * sysdeps/sparc/elf/configure.in: New file.
49343 * sysdeps/sparc/elf/configure: Generate.
49344
49345 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49346 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49347 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49348 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49349 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49350
49351 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49352
49353 * manual/install.texi: Do not mention specific glibc version
49354 numbers.
49355 * manual/libc.texinfo (VERSION, UPDATED): Update.
49356 (@copying): Use @copyright{} and range of years.
49357
49358 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49359
49360 [BZ #13695]
49361 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49362 [crti.S not in sysdirs] (generated): Do not append.
49363 [crti.S not in sysdirs] (omit-deps): Likewise.
49364 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49365 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49366 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49367 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49368 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49369 Likewise.
49370 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49371 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49372 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49373 * csu/defs.awk: Remove file.
49374 * sysdeps/generic/initfini.c: Likewise.
49375 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49376 variable.
49377 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49378 Likewise.
49379
49380 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49381
49382 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49383 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49384 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49385 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49387 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49388 <bits/epoll.h>.
49389 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49390 (__EPOLL_PACKED): Define to empty if not defined by
49391 <bits/epoll.h>.
49392 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49394 bits/epoll.h.
49395
49396 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49397
49398 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49399 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49400 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49401 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49402 <bits/timerfd.h>.
49403 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49405 bits/timerfd.h.
49406
49407 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49408
49409 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49410 in C locale.
49411 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49412 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49413 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49415
49416 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49417
49418 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49419 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49420
49421 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49422
49423 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49424 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49425 defined.
49426 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49427 Likewise.
49428 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49429 entry for 2.16.
49430
49431 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49432
49433 * math/w_acos.c: Use non-signaling floating-point comparisons.
49434 * math/w_acosf.c: Likewise.
49435 * math/w_acosh.c: Likewise.
49436 * math/w_acoshf.c: Likewise.
49437 * math/w_acoshl.c: Likewise.
49438 * math/w_acosl.c: Likewise.
49439 * math/w_asin.c: Likewise.
49440 * math/w_asinf.c: Likewise.
49441 * math/w_asinl.c: Likewise.
49442 * math/w_atanh.c: Likewise.
49443 * math/w_atanhf.c: Likewise.
49444 * math/w_atanhl.c: Likewise.
49445 * math/w_exp2.c: Likewise.
49446 * math/w_exp2f.c: Likewise.
49447 * math/w_exp2l.c: Likewise.
49448 * math/w_j0.c: Likewise.
49449 * math/w_j0f.c: Likewise.
49450 * math/w_j0l.c: Likewise.
49451 * math/w_j1.c: Likewise.
49452 * math/w_j1f.c: Likewise.
49453 * math/w_j1l.c: Likewise.
49454 * math/w_jn.c: Likewise.
49455 * math/w_jnf.c: Likewise.
49456 * math/w_log.c: Likewise.
49457 * math/w_log10.c: Likewise.
49458 * math/w_log10f.c: Likewise.
49459 * math/w_log10l.c: Likewise.
49460 * math/w_log2.c: Likewise.
49461 * math/w_log2f.c: Likewise.
49462 * math/w_log2l.c: Likewise.
49463 * math/w_logf.c: Likewise.
49464 * math/w_logl.c: Likewise.
49465 * math/w_sqrt.c: Likewise.
49466 * math/w_sqrtf.c: Likewise.
49467 * math/w_sqrtl.c: Likewise.
49468 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49469 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49470 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49471 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49472 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49473
49474 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49475
49476 [BZ #9739]
49477 * manual/string.texi (strnlen): Use correct parameter name in
49478 equivalent expression.
49479
49480 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49481
49482 [BZ #11174]
49483 * manual/users.texi (seteuid): Consistently use neweuid for
49484 argument name.
49485
49486 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49487
49488 [BZ #13704]
49489 * manual/nss.texi (Services in the NSS configuration): Correct
49490 list of services in example configuration file.
49491
49492 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49493
49494 [BZ #11322]
49495 * manual/arith.texi: Remove statements about negative zero
49496 behaving identically to zero.
49497
49498 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49499
49500 [BZ #5993]
49501 * manual/install.texi: Do not document upgrading from libc5.
49502
49503 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49504
49505 [BZ #4596]
49506 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49507
49508 2012-02-18 David S. Miller <davem@davemloft.net>
49509
49510 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49511 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49512 %o7 across the call.
49513 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49514 instead.
49515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49516 SETUP_PIC_REG_LEAF.
49517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49518 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49519 * sysdeps/sparc/crtn.S: Likewise.
49520
49521 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49522
49523 * aout/Makefile: Remove.
49524
49525 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49526
49527 [BZ #13058]
49528 * manual/examples/argp-ex1.c (main): Format definition in GNU
49529 style.
49530 * manual/examples/argp-ex2.c (main): Likewise.
49531 * manual/examples/argp-ex3.c (main): Likewise.
49532 * manual/examples/argp-ex4.c (main): Likewise.
49533 * manual/examples/longopt.c (main): Use new-style prototype
49534 definition.
49535 * manual/examples/strncat.c (main): Specify return type and use
49536 (void) for arguments.
49537 * manual/examples/subopt.c (main): Use char **argv argument.
49538
49539 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49540
49541 [BZ #5077]
49542 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49543 rounding modes.
49544
49545 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49546
49547 [BZ #6907]
49548 * manual/string.texi (strchr): Change when strchrnul is
49549 recommended.
49550
49551 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49552
49553 [BZ #174]
49554 * manual/locale.texi (setlocale): Document LOCPATH.
49555
49556 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49557
49558 [BZ #10210]
49559 * manual/process.texi (execle): Move @dots{} before last argument.
49560
49561 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49562
49563 [BZ #12047]
49564 * manual/charset.texi (Generic Charset Conversion): Fix typo
49565 (LC_TYPE -> LC_CTYPE).
49566
49567 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49568
49569 [BZ #5805]
49570 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49571 (scalbnf): Likewise.
49572 (scalbnl): Likewise.
49573 (scalbln): Likewise.
49574 (scalblnf): Likewise.
49575 (scalblnl): Likewise.
49576 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49577 (vwarnx): Likewise.
49578 (verr): Likewise.
49579 (verrx): Likewise.
49580 * manual/filesys.texi (telldir): Use braces around return type.
49581 * manual/llio.texi (mmap): Add space after comma.
49582 (mmap64): Likewise.
49583 * manual/math.texi (jn): Use @var{} on parameter names.
49584 (jnf): Likewise.
49585 (jnl): Likewise.
49586 (yn): Likewise.
49587 (ynf): Likewise.
49588 (ynl): Likewise.
49589 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49590 line.
49591 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49592 "...".
49593 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49594 (sched_get_priority_max): Likewise.
49595 * manual/signal.texi (sigvec): Add space after comma.
49596 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49597 names.
49598 (if_indextoname): Likewise.
49599 (if_freenameindex): Likewise.
49600 (sendto): Use ',' instead of '.' in prototype.
49601 * manual/startup.texi (syscall): Use @dots{} instead of literal
49602 "...".
49603 * manual/stdio.texi (__fpending): Separate initial words of
49604 paragraph from @deftypefun line.
49605 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49606 "...".
49607 (vsyslog): Use @var{} on parameter names.
49608 * manual/terminal.texi (stty): Use @var{} on parameter names.
49609 * manual/users.texi (getutmp): Use @var{} on parameter names.
49610 (getutmpx): Likewise.
49611
49612 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49613
49614 [BZ #6884]
49615 * manual/stdio.texi (fopen): Fix typos in description of
49616 ",ccs=STRING".
49617
49618 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49619
49620 [BZ #4026]
49621 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49622 get clock_id definition.
49623
49624 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49625
49626 [BZ #4822]
49627 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49628 (madvise): Cast every argument to void on its own.
49629
49630 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49631
49632 [BZ #9902]
49633 * manual/startup.texi (Exit Status): Fix typo.
49634
49635 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49636
49637 [BZ #10140]
49638 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49639 * manual/examples/argp-ex2.c: Likewise.
49640 * manual/examples/argp-ex3.c: Likewise.
49641
49642 2012-02-16 Richard Henderson <rth@redhat.com>
49643
49644 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49645 * sysdeps/s390/s390-32/initfini.c: Remove.
49646 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49647 * sysdeps/s390/s390-64/initfini.c: Remove.
49648
49649 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49650
49651 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49652 compiler output for sysdeps/generic/initfini.c.
49653 * sysdeps/sh/elf/initfini.c: Remove file.
49654
49655 2012-02-16 David S. Miller <davem@davemloft.net>
49656
49657 [BZ #11494]
49658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49659
49660 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49661 * sysdeps/sparc/crti.S: New file.
49662 * sysdeps/sparc/crtn.S: New file.
49663 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49664 * sysdeps/sparc/sparc64/Makefile: Likewise.
49665
49666 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49667
49668 [BZ #3335]
49669 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49670
49671 2012-02-15 Roland McGrath <roland@hack.frob.com>
49672
49673 [BZ #4822]
49674 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49675
49676 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49677 (write, read, close): Likewise.
49678 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49679
49680 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49681
49682 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49683 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49684 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49685 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49686 <bits/signalfd.h>.
49687 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49689 bits/signalfd.h.
49690
49691 2012-02-14 Marek Polacek <polacek@redhat.com>
49692
49693 * sysdeps/x86_64/crti.S: New file.
49694 * sysdeps/x86_64/crtn.S: New file.
49695 * sysdeps/x86_64/elf/initfini.c: Remove file.
49696
49697 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49698
49699 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49700 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49701 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49702 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49703 <bits/inotify.h>.
49704 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49706 bits/inotify.h.
49707
49708 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49709
49710 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49711 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49712 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49713 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49714 <bits/eventfd.h>.
49715 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49717 bits/eventfd.h.
49718
49719 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49720
49721 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49722 __feraiseexcept instead of feraiseexcept.
49723
49724 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49725 nanosleep invocations.
49726 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49727 strings, and add error checking for a nanosleep invocations.
49728
49729 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49730
49731 Replace FSF snail mail address with URLs, as per GNU coding standards.
49732 Most of the snail mail addresses were wrong anyway, and omitting
49733 them makes the source code easier to maintain. Almost all of the
49734 changes are to license notices and to locale LC_IDENTIFICATION
49735 addresses, except for this one:
49736 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49737 not its snail mail address.
49738
49739 2012-02-09 Richard Henderson <rth@twiddle.net>
49740
49741 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49742 of kernel-features.h.
49743
49744 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49745
49746 2012-02-08 Marek Polacek <polacek@redhat.com>
49747
49748 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49749 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49750 * sysdeps/gnu/_G_config.h: Likewise.
49751 * sysdeps/generic/_G_config.h: Likewise.
49752
49753 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49754
49755 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49756 tests.
49757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49758
49759 * sysdeps/powerpc/powerpc32/crti.S: New file.
49760 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49761 * sysdeps/powerpc/powerpc64/crti.S: New file.
49762 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49763
49764 * Makeconfig (have-initfini): Don't set.
49765 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49766 * configure.in (nopic_initfini): Don't substitute.
49767 * config.h.in (HAVE_INITFINI): Don't #undef.
49768 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49769 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49770
49771 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49772
49773 Support crti.S and crtn.S provided directly by architectures.
49774 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49775 [crti.S in sysdirs] (omit-deps): Likewise.
49776 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49777 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49778 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49779 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49780 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49781 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49782 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49783 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49784 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49785 compiler output for sysdeps/generic/initfini.c.
49786 * sysdeps/i386/elf/Makefile: Remove file.
49787 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49788
49789 2012-02-07 Marek Polacek <polacek@redhat.com>
49790
49791 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49792 * sysdeps/gnu/_G_config.h: Likewise.
49793 * sysdeps/mach/hurd/_G_config.h: Likewise.
49794
49795 2012-02-07 Marek Polacek <polacek@redhat.com>
49796
49797 * math/Makefile (tests): Add tst-CMPLX2.
49798 * math/tst-CMPLX2.c: New file.
49799
49800 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49801
49802 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49803
49804 * math/libm-test.inc (jn_test): Add missing L suffix.
49805
49806 2012-02-06 Marek Polacek <polacek@redhat.com>
49807
49808 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49809 * sysdeps/i386/fpu/e_powf.S: Likewise.
49810 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49811 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49812 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49813 * sysdeps/i386/fpu/e_pow.S: Likewise.
49814 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49815 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49816 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49817 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49818 * sysdeps/i386/fpu/e_log2.S: Likewise.
49819 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49820 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49821 * sysdeps/i386/fpu/e_powl.S: Likewise.
49822 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49823 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49824 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49825 * sysdeps/i386/fpu/e_logl.S: Likewise.
49826 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49827 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49828 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49829 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49830 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49831 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49832 * sysdeps/i386/fpu/e_log.S: Likewise.
49833 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49834 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49835 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49836 * sysdeps/i386/fpu/e_logf.S: Likewise.
49837 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49838 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49839 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49840 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49841 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49842 * sysdeps/i386/fpu/e_log10.S: Likewise.
49843 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49844 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49845 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49846 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49847 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49848 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49849 * sysdeps/i386/asm-syntax.h: Likewise.
49850 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49853 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49854 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49855 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49856 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49857 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49858 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49859 * sysdeps/powerpc/sysdep.h: Likewise.
49860 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49861 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49862
49863 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49864
49865 [BZ #411]
49866 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49867
49868 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49869
49870 * sysdeps/i386/sysdep.h: Include <features.h>.
49871 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49872 version.
49873
49874 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49875
49876 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49877 Define.
49878 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49879 LOAD_PIC_REG_STR.
49880
49881 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49882
49883 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49884 (SETUP_PIC_REG): Use GET_PC_THUNK.
49885 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49886 macro.
49887
49888 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49889
49890 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49891 for non-PIC compilation.
49892 (SETUP_PIC_REG): Add .p2align directive.
49893 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49894 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49895 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49896 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49897 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49898 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49899 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49900 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49901 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49902 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49903 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49904 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49905 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49906 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49907 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49908 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49909 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49910 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49911 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49912 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49915 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49916 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49919 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49920 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49921 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49922 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49923 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49925 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49926 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49927 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49928 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49929 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49930 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49931 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49932 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49933 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49934
49935 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49936
49937 * math/tst-CMPLX.c: Include <stdio.h>.
49938
49939 2012-01-31 Joseph Myers <joseph@codesourcery.com>
49940
49941 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49942 float.
49943 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49944 * sysdeps/sparc/bits/mathdef.h: Likewise.
49945
49946 2012-01-31 Marek Polacek <polacek@redhat.com>
49947
49948 * libio/libio.h: Don't define _PARAMS.
49949 * locale/programs/config.h: Don't define PARAMS.
49950 * stdlib/strtol_l.c: Likewise.
49951 (__strtol_l): Remove PARAMS from the prototype.
49952
49953 2012-01-31 Ulrich Drepper <drepper@gmail.com>
49954
49955 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49956 names. Just use the correct names. Remove unnecessary wrapper
49957 functions.
49958 * malloc/arena.c: Likewise.
49959 * malloc/hooks.c: Likewise.
49960
49961 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49962 ARENA_TEST says not to. Simplify test for creation of a new arena.
49963 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49964
49965 2012-01-30 Ulrich Drepper <drepper@gmail.com>
49966
49967 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49968 into tail calls.
49969 (update_get_addr): New function.
49970 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49971 GET_ADDR_MODULE parameter.
49972
49973 2012-01-30 Joseph Myers <joseph@codesourcery.com>
49974
49975 * crypt/cert.c: Remove __STDC__ conditionals.
49976 * crypt/crypt-entry.c: Likewise.
49977 * crypt/crypt_util.c: Likewise.
49978 * libio/filedoalloc.c: Likewise.
49979 * libio/fileops.c: Likewise.
49980 * libio/genops.c: Likewise.
49981 * libio/iofclose.c: Likewise.
49982 * libio/iofdopen.c: Likewise.
49983 * libio/iofopen.c: Likewise.
49984 * libio/iofopen64.c: Likewise.
49985 * libio/iogetdelim.c: Likewise.
49986 * libio/iopopen.c: Likewise.
49987 * libio/obprintf.c: Likewise.
49988 * libio/oldfileops.c: Likewise.
49989 * libio/oldiofclose.c: Likewise.
49990 * libio/oldiofdopen.c: Likewise.
49991 * libio/oldiofopen.c: Likewise.
49992 * libio/oldiopopen.c: Likewise.
49993 * libio/wfiledoalloc.c: Likewise.
49994 * libio/wgenops.c: Likewise.
49995 * locale/programs/xmalloc.c: Likewise.
49996 * misc/syslog.c: Likewise.
49997 * stdio-common/xbug.c: Likewise.
49998 * string/memchr.c: Likewise.
49999 * string/memcmp.c: Likewise.
50000 * string/memrchr.c: Likewise.
50001 * string/rawmemchr.c: Likewise.
50002 * sysdeps/posix/getcwd.c: Likewise.
50003 * time/strftime_l.c: Likewise.
50004
50005 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50006
50007 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50008 * config.make.in (config-cflags-sse2avx): Define.
50009 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50010 Fix typo.
50011
50012 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50013
50014 * scripts/config.guess: Update from upstream config git repository.
50015 * scripts/config.sub: Likewise.
50016
50017 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50018
50019 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50020 (EM_NUM): Update.
50021 (R_TILEPRO_*, R_TILEGX_*): New macros.
50022
50023 * scripts/firstversions.awk: Fix bug in version range handling.
50024
50025 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50026
50027 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50028
50029 * include/sys/epoll.h: New file.
50030 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50031 libc_hidden_def.
50032
50033 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50034
50035 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50036 Avoid unnecessary __WORDSIZE == 64 test.
50037 (fmaxf): Use VEX format if possible.
50038 (fmax): Likewise.
50039 (fminf): Likewise.
50040 (fmin): Likewise.
50041
50042 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50043 * math/math_private.h: Remove libc_fegetround* and
50044 libc_fesetround*.
50045 * sysdeps/i386/configure.in: Check for -msse2avx.
50046 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50047 also if SSE2AVX is defined.
50048 Remove libc_fegetround* and libc_fesetround*.
50049 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50050 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50051 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50052 of HAS_YMM_USABLE.
50053 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50054 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50056 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50057 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50058
50059 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50060
50061 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50062
50063 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50064 size is not set.
50065 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50066
50067 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50068
50069 [BZ #13618]
50070 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50071 relocation.
50072 * Makeconfig (libm): Define.
50073 * elf/Makefile: Add rules to build and run tst-relsort1.
50074 * elf/tst-relsort1.c: New file.
50075 * elf/tst-relsort1mod1.c: New file.
50076 * elf/tst-relsort1mod2.c: New file.
50077
50078 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50079
50080 * math/s_ldexp.c: Remove __STDC__ conditionals.
50081 * math/s_ldexpf.c: Likewise.
50082 * math/s_ldexpl.c: Likewise.
50083 * math/s_nextafter.c: Likewise.
50084 * math/s_nexttowardf.c: Likewise.
50085 * math/s_significand.c: Likewise.
50086 * math/s_significandf.c: Likewise.
50087 * math/s_significandl.c: Likewise.
50088 * math/w_jnl.c: Likewise.
50089 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50090 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50091 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50092 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50093 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50095 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50096 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50097 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50098 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50099 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50101 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50102 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50103 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50104 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50105 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50106 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50110 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50111 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50113 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50114 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50115 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50116 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50117 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50118 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50119 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50120 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50121 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50122 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50123 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50124 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50125 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50126 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50127 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50128 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50129 * sysdeps/ieee754/k_standard.c: Likewise.
50130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50131 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50132 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50133 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50134 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50135 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50136 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50137 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50138 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50139 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50140 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50141 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50142 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50143 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50144 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50145 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50146 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50147 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50148 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50149 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50150 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50151 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50152 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50153 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50154 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50155 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50156 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50158 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50159 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50160 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50161 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50162 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50163 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50165 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50166 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50167 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50168 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50169 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50170 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50172 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50173 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50174 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50175 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50178 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50179 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50180 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50181 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50182 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50183 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50184 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50185 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50186 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50187 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50189 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50190 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50191 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50192 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50193 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50194 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50195 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50196 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50197 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50198 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50199 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50200 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50201 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50202 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50203 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50204 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50205 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50206 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50207 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50208 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50209 * sysdeps/ieee754/s_matherr.c: Likewise.
50210 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50211 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50213 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50214
50215 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50216
50217 * crypt/md5.h: Remove __STDC__ conditionals.
50218 * libio/libioP.h: Likewise.
50219 * locale/programs/config.h: Likewise.
50220 * sysdeps/generic/sysdep.h: Likewise.
50221 * sysdeps/i386/asm-syntax.h: Likewise.
50222 * sysdeps/s390/asm-syntax.h: Likewise.
50223 * sysdeps/unix/sysdep.h: Likewise.
50224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50226
50227 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50228
50229 * libio/libio.h: Remove __STDC__ conditionals.
50230 * malloc/obstack.h: Likewise.
50231 * math/complex.h: Likewise.
50232 * math/math.h: Likewise.
50233 * sysdeps/generic/_G_config.h: Likewise.
50234 * sysdeps/gnu/_G_config.h: Likewise.
50235 * sysdeps/mach/hurd/_G_config.h: Likewise.
50236 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50237 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50238 * sysdeps/sparc/bits/mathdef.h: Likewise.
50239
50240 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50241
50242 [BZ #13583]
50243 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50244 Clean up HAS_* macros.
50245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50246 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50247 possible.
50248 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50249 HAS_AVX.
50250 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50251 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50255
50256 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50257
50258 * elf/tst-unique3.cc (gets): Remove declaration.
50259 * elf/tst-unique3lib.cc (gets): Likewise.
50260 * elf/tst-unique3lib2.cc (gets): Likewise.
50261 * elf/tst-unique4.cc (gets): Likewise.
50262
50263 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50264
50265 * include/stdio.h: Add C++ protection. Add gets declarations and
50266 definitions.
50267 * debug/tst-chk1.c: Don't declare gets here.
50268 * stdio-common/tst-gets.c: Likewise.
50269
50270 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50271
50272 * posix/glob: Remove directory.
50273
50274 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50275
50276 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50277
50278 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50279
50280 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50281 of the non-standard EPFNOSUPPORT.
50282
50283 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50284
50285 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50286 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50287 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50288
50289 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50290
50291 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50292
50293 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50294
50295 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50296 transient errors.
50297 * nscd/grpcache.c (cache_addgr): Likewise.
50298 * nscd/hstcache.c (cache_addhst): Likewise.
50299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50300 * nscd/pwdcache.c (cache_addpw): Likewise.
50301 * nscd/servicescache.c (cache_addserv): Likewise.
50302
50303 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50304
50305 * malloc/malloc.c: Various cleanups.
50306 * malloc/hooks.c: Likewise.
50307
50308 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50309 * stdlib/bug-fmtmsg1.c: New file.
50310
50311 * stdlib/fmtmsg.c (init): Add missing unlock.
50312 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50313
50314 2012-01-12 Marek Polacek <polacek@redhat.com>
50315
50316 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50317 and _GNU_SOURCE.
50318
50319 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50320
50321 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50322 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50323 macro to ensure uniqueness of label name.
50324 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50325 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50326
50327 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50328
50329 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50330
50331 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50332 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50335
50336 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50337
50338 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50339
50340 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50341 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50342 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50343
50344 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50345
50346 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50347 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50349 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50350
50351 * math/bits/math-finite.h: Add ldexp support.
50352
50353 2012-01-10 Marek Polacek <polacek@redhat.com>
50354
50355 * locale/programs/localedef.h (show_archive_content): Add noreturn
50356 attribute.
50357
50358 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50359
50360 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50361
50362 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50363
50364 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50365
50366 * io/Makefile (headers): Add bits/poll2.h.
50367
50368 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50369
50370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50371 typo #include statement.
50372
50373 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50374
50375 * include/sys/cdefs.h: Define __attribute_alloc_size.
50376 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50377 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50378 * elf/pldd.c: Likewise.
50379 * iconv/iconv_charmap.c: Likewise.
50380 * iconv/iconvconfig.c: Likewise.
50381 * iconv/strtab.c: Likewise.
50382 * locale/programs/locale.c: Likewise.
50383 * locale/programs/localedef.h: Likewise.
50384 * locale/programs/simple-hash.c: Likewise.
50385 * nscd/nscd.h: Likewise.
50386 * nss/makedb.c: Likewise.
50387 * sysdeps/generic/ldconfig.h: Likewise.
50388 * locale/programs/localedef.c: Remove xmalloc prototype.
50389 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50390
50391 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50392
50393 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50394 appropriate.
50395
50396 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50397
50398 * math/Makefile (tests): Add tst-CMPLX.
50399 * math/tst-CMPLX.c: New file.
50400
50401 * math/complex.h (CMPLXL): Fix typo.
50402
50403 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50404 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50405 GLIBC_2.16.
50406 * debug/tst-chk1.c: Add poll and ppoll tests.
50407 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50408 * include/sys/poll.h: Add hidden proto for ppoll.
50409 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50410 * sysdeps/mach/hurd/ppoll.c: Likewise.
50411 * io/ppoll.c: Likewise.
50412 * debug/poll_chk.c: New file.
50413 * debug/ppoll_chk.c: New file.
50414 * include/bits/poll2.h: New file.
50415 * io/bits/poll2.h: New file.
50416
50417 [BZ #1350]
50418 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50419
50420 * configure.in: static is always set to yes. Remove.
50421 * config.make.in: Don't set build-static.
50422 * Makeconfig: Remove use of build-static.
50423 * dlfcn/Makefile: Likewise.
50424 * elf/Makefile: Likewise.
50425 * math/Makefile: Likewise.
50426 * misc/Makefile: Likewise.
50427 * nptl/Makefile: Likewise.
50428 * sysdeps/mach/hurd/Makefile: Likewise.
50429
50430 * configure.in: PWD_P is not used anymore.
50431 * config.make.in: Remove PWD_P entry.
50432
50433 * configure.in: Remove last remnants of RANLIB.
50434 No need to check for signed size_t anymore.
50435 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50436 and IA-64.
50437 Remove __builtin_expect test because we require at least gcc 3.4.
50438 * aclocal.m4: Likewise.
50439
50440 * wcsmbs/mbrtoc16.c: Implement using towc function.
50441 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50442 * wcsmbs/wcsmbsload.c: Likewise.
50443 * iconv/gconv_simple.c: Likewise.
50444 * iconv/gconv_int.h: Likewise.
50445 * iconv/gconv_builtin.h: Likewise.
50446 * iconv/iconv_prog.c: Remove CHAR16 handling.
50447
50448 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50449
50450 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50451
50452 * configure.in: Remove --with-elf and --enable-bounded options.
50453 Dont set base_machine for ia64. More non-ELF conditions removed.
50454 Remove testing and setting of leading underscore information.
50455 * config.make.in (build-bounded): Set to no.
50456 * config.h.in: Remove NO_UNDERSCORES entry.
50457 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50458 them.
50459 * csu/start.c: Remove !NO_UNDERSCORE code.
50460 * locale/localeinfo.h: Likewise.
50461 * sysdeps/generic/machine-gmon.h: Likewise.
50462 * sysdeps/generic/sysdep.h: Likewise.
50463 * sysdeps/i386/sysdep.h: Likewise.
50464 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50465 * sysdeps/mach/sysdep.h: Likewise.
50466 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50468 * sysdeps/sh/sysdep.h: Likewise.
50469 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50470 * sysdeps/unix/i386/sysdep.S: Likewise.
50471 * sysdeps/unix/sparc/start.c: Likewise.
50472 * sysdeps/unix/sparc/sysdep.S: Likewise.
50473 * sysdeps/unix/sparc/sysdep.h: Likewise.
50474 * sysdeps/unix/start.c: Likewise.
50475 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50476 * sysdeps/x86_64/sysdep.h: Likewise.
50477
50478 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50479
50480 [BZ #13553]
50481 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50482 for non-gcc.
50483 * argp/argp-fmtstream.h: Use const instead __const.
50484 * argp/argp.h: Likewise.
50485 * assert/assert.h: Likewise.
50486 * bits/fenv.h: Likewise.
50487 * bits/sched.h: Likewise.
50488 * bits/sigset.h: Likewise.
50489 * bits/sigthread.h: Likewise.
50490 * catgets/nl_types.h: Likewise.
50491 * conform/data/pthread.h-data: Likewise.
50492 * crypt/crypt-private.h: Likewise.
50493 * crypt/crypt.h: Likewise.
50494 * crypt/crypt_util.c: Likewise.
50495 * ctype/ctype.h: Likewise.
50496 * debug/execinfo.h: Likewise.
50497 * debug/mbsnrtowcs_chk.c: Likewise.
50498 * debug/mbsrtowcs_chk.c: Likewise.
50499 * debug/wcsnrtombs_chk.c: Likewise.
50500 * debug/wcsrtombs_chk.c: Likewise.
50501 * debug/wcstombs_chk.c: Likewise.
50502 * dirent/dirent.h: Likewise.
50503 * dlfcn/dlfcn.h: Likewise.
50504 * elf/neededtest4.c: Likewise.
50505 * grp/grp.h: Likewise.
50506 * gshadow/gshadow.h: Likewise.
50507 * iconv/gconv.h: Likewise.
50508 * iconv/gconv_int.h: Likewise.
50509 * iconv/gconv_simple.c: Likewise.
50510 * iconv/iconv.h: Likewise.
50511 * iconv/loop.c: Likewise.
50512 * iconv/skeleton.c: Likewise.
50513 * include/aio.h: Likewise.
50514 * include/aliases.h: Likewise.
50515 * include/argz.h: Likewise.
50516 * include/arpa/inet.h: Likewise.
50517 * include/assert.h: Likewise.
50518 * include/dirent.h: Likewise.
50519 * include/dlfcn.h: Likewise.
50520 * include/execinfo.h: Likewise.
50521 * include/fcntl.h: Likewise.
50522 * include/fenv.h: Likewise.
50523 * include/glob.h: Likewise.
50524 * include/grp.h: Likewise.
50525 * include/libintl.h: Likewise.
50526 * include/mntent.h: Likewise.
50527 * include/netdb.h: Likewise.
50528 * include/pwd.h: Likewise.
50529 * include/rpc/netdb.h: Likewise.
50530 * include/sched.h: Likewise.
50531 * include/search.h: Likewise.
50532 * include/shadow.h: Likewise.
50533 * include/signal.h: Likewise.
50534 * include/stdio.h: Likewise.
50535 * include/stdlib.h: Likewise.
50536 * include/string.h: Likewise.
50537 * include/sys/socket.h: Likewise.
50538 * include/sys/stat.h: Likewise.
50539 * include/sys/statfs.h: Likewise.
50540 * include/sys/statvfs.h: Likewise.
50541 * include/sys/syslog.h: Likewise.
50542 * include/sys/time.h: Likewise.
50543 * include/sys/uio.h: Likewise.
50544 * include/time.h: Likewise.
50545 * include/unistd.h: Likewise.
50546 * include/utmp.h: Likewise.
50547 * include/wchar.h: Likewise.
50548 * include/wctype.h: Likewise.
50549 * inet/aliases.h: Likewise.
50550 * inet/arpa/inet.h: Likewise.
50551 * inet/netinet/ether.h: Likewise.
50552 * inet/netinet/in.h: Likewise.
50553 * intl/libintl.h: Likewise.
50554 * io/bits/fcntl2.h: Likewise.
50555 * io/fcntl.h: Likewise.
50556 * io/ftw.h: Likewise.
50557 * io/sys/poll.h: Likewise.
50558 * io/sys/stat.h: Likewise.
50559 * io/sys/statfs.h: Likewise.
50560 * io/sys/statvfs.h: Likewise.
50561 * io/utime.h: Likewise.
50562 * libio/bits/stdio.h: Likewise.
50563 * libio/bits/stdio2.h: Likewise.
50564 * libio/libio.h: Likewise.
50565 * libio/libioP.h: Likewise.
50566 * libio/stdio.h: Likewise.
50567 * locale/lc-ctype.c: Likewise.
50568 * locale/locale.h: Likewise.
50569 * login/utmp.h: Likewise.
50570 * malloc/arena.c: Likewise.
50571 * malloc/malloc.c: Likewise.
50572 * malloc/malloc.h: Likewise.
50573 * malloc/mcheck.c: Likewise.
50574 * malloc/mtrace.c: Likewise.
50575 * math/bits/mathcalls.h: Likewise.
50576 * math/fenv.h: Likewise.
50577 * math/math_private.h: Likewise.
50578 * misc/bits/error.h: Likewise.
50579 * misc/bits/syslog.h: Likewise.
50580 * misc/err.h: Likewise.
50581 * misc/error.h: Likewise.
50582 * misc/fstab.h: Likewise.
50583 * misc/mntent.h: Likewise.
50584 * misc/regexp.h: Likewise.
50585 * misc/search.h: Likewise.
50586 * misc/sgtty.h: Likewise.
50587 * misc/sys/mman.h: Likewise.
50588 * misc/sys/syslog.h: Likewise.
50589 * misc/sys/uio.h: Likewise.
50590 * misc/sys/xattr.h: Likewise.
50591 * misc/ttyent.h: Likewise.
50592 * nis/rpcsvc/ypclnt.h: Likewise.
50593 * nss/nss.h: Likewise.
50594 * posix/bits/unistd.h: Likewise.
50595 * posix/fnmatch.h: Likewise.
50596 * posix/glob.h: Likewise.
50597 * posix/sched.h: Likewise.
50598 * posix/spawn.h: Likewise.
50599 * posix/sys/wait.h: Likewise.
50600 * posix/unistd.h: Likewise.
50601 * posix/wordexp.h: Likewise.
50602 * pwd/pwd.h: Likewise.
50603 * resolv/netdb.h: Likewise.
50604 * resource/sys/resource.h: Likewise.
50605 * rt/aio.h: Likewise.
50606 * rt/bits/mqueue2.h: Likewise.
50607 * rt/mqueue.h: Likewise.
50608 * shadow/shadow.h: Likewise.
50609 * signal/signal.h: Likewise.
50610 * socket/send.c: Likewise.
50611 * socket/sendto.c: Likewise.
50612 * socket/sys/socket.h: Likewise.
50613 * stdio-common/printf.h: Likewise.
50614 * stdlib/bits/stdlib.h: Likewise.
50615 * stdlib/fmtmsg.h: Likewise.
50616 * stdlib/monetary.h: Likewise.
50617 * stdlib/stdlib.h: Likewise.
50618 * stdlib/ucontext.h: Likewise.
50619 * streams/stropts.h: Likewise.
50620 * string/argz.h: Likewise.
50621 * string/bits/string2.h: Likewise.
50622 * string/string.h: Likewise.
50623 * string/strings.h: Likewise.
50624 * sunrpc/rpc/auth.h: Likewise.
50625 * sunrpc/rpc/auth_des.h: Likewise.
50626 * sunrpc/rpc/clnt.h: Likewise.
50627 * sunrpc/rpc/netdb.h: Likewise.
50628 * sunrpc/rpc/pmap_clnt.h: Likewise.
50629 * sunrpc/rpc/xdr.h: Likewise.
50630 * sysdeps/generic/inttypes.h: Likewise.
50631 * sysdeps/generic/net/if.h: Likewise.
50632 * sysdeps/generic/sys/swap.h: Likewise.
50633 * sysdeps/gnu/net/if.h: Likewise.
50634 * sysdeps/gnu/utmpx.h: Likewise.
50635 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50636 * sysdeps/i386/i486/bits/string.h: Likewise.
50637 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50638 * sysdeps/s390/bits/string.h: Likewise.
50639 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50640 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50641 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50642 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50643 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50644 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50645 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50646 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50647 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50648 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50649 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50650 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50651 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50652 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50653 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50654 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50655 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50659 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50660 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50661 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50662 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50663 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50664 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50665 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50667 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50668 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50669 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50670 * sysvipc/sys/ipc.h: Likewise.
50671 * sysvipc/sys/msg.h: Likewise.
50672 * sysvipc/sys/sem.h: Likewise.
50673 * sysvipc/sys/shm.h: Likewise.
50674 * termios/termios.h: Likewise.
50675 * time/sys/time.h: Likewise.
50676 * time/time.h: Likewise.
50677 * wcsmbs/bits/wchar2.h: Likewise.
50678 * wcsmbs/uchar.h: Likewise.
50679 * wcsmbs/wchar.h: Likewise.
50680 * wctype/wctype.h: Likewise.
50681
50682 [BZ #13551]
50683 * Makeconfig: Remove all but ELF support including AIX support.
50684 * Makerules: Likewise.
50685 * config.h.in: Likewise.
50686 * config.make.in: Likewise.
50687 * configure: Likewise.
50688 * configure.in: Likewise.
50689 * csu/Makefile: Likewise.
50690 * csu/version.c: Likewise.
50691 * debug/Makefile: Likewise.
50692 * dlfcn/Makefile: Likewise.
50693 * elf/Makefile: Likewise.
50694 * extra-lib.mk: Likewise.
50695 * iconv/Makefile: Likewise.
50696 * include/libc-symbols.h: Likewise.
50697 * include/shlib-compat.h: Likewise.
50698 * resolv/Makefile: Likewise.
50699 * resolv/res_libc.c: Likewise.
50700 * rt/Makefile: Likewise.
50701 * sysdeps/i386/asm-syntax.h: Likewise.
50702 * sysdeps/i386/sysdep.h: Likewise.
50703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50704 * sysdeps/mach/sysdep.h: Likewise.
50705 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50706 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50707 * sysdeps/s390/asm-syntax.h: Likewise.
50708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50710 * sysdeps/sh/sysdep.h: Likewise.
50711 * sysdeps/unix/sparc/sysdep.h: Likewise.
50712 * sysdeps/wordsize-32/divdi3.c: Likewise.
50713 * sysdeps/x86_64/sysdep.h: Likewise.
50714
50715 * argp/Versions: Remove _argp_unlock_xxx.
50716
50717 [BZ #13559]
50718 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50719 * abilist/libBrokenLocale.abilist: Likewise.
50720 * abilist/libanl.abilist: Likewise.
50721 * abilist/libc.abilist: Likewise.
50722 * abilist/libcrypt.abilist: Likewise.
50723 * abilist/libdl.abilist: Likewise.
50724 * abilist/libm.abilist: Likewise.
50725 * abilist/libnsl.abilist: Likewise.
50726 * abilist/libpthread.abilist: Likewise.
50727 * abilist/libresolv.abilist: Likewise.
50728 * abilist/librt.abilist: Likewise.
50729 * abilist/libthread_db.abilist: Likewise.
50730 * abilist/libutil.abilist: Likewise.
50731 * abilist/libnss_db.abilist: New file.
50732
50733 * scripts/abilist.awk: Add support for indirect functions.
50734
50735 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50736
50737 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50738
50739 * shlib-versions: Remove entries for ports architectures.
50740
50741 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50742 files in ports.
50743 * elf/stackguard-macros.h: Remove support for IA-64.
50744 * elf/tst-auditmod1.c: Likewise.
50745 * sysdeps/generic/ldsodefs.h: Likewise.
50746
50747 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50748 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50749 configure files.
50750
50751 [BZ #13552]
50752 * configure.in: Remove --enable-omitfp support.
50753 * FAQ.in: Adjust.
50754 * config.make.in: Likewise.
50755 * Makeconfig: Likewise.
50756 * manual/install.texi: Likewise.
50757
50758 In case anyone cares, the IA-64 architecture could move to ports.
50759 * sysdeps/ia64/*: Removed.
50760 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50761 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50762
50763 [BZ #13555]
50764 * configure.in: Remove entries for unsupported architectures.
50765
50766 [BZ #13533]
50767 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50768 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50769 routines.
50770 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50771 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50772 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50773 fall back to using wcrtomb.
50774 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50775 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50776 renaming.
50777 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50778 * wcsmbs/tst-c16c32-1.c: New file.
50779
50780 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50781 local variable.
50782
50783 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50784
50785 * elf/tst-unique3.cc: Add explicit declaration of gets.
50786 * elf/tst-unique3lib.cc: Likewise.
50787 * elf/tst-unique3lib2.cc: Likewise.
50788 * elf/tst-unique4.cc: Likewise.
50789
50790 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50791
50792 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50793
50794 [BZ #13566]
50795 * assert/assert.h (static_assert): Don't define for C++.
50796 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50797 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50798
50799 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50800
50801 * iconv/loop.c (single loop): Fix assertion in storing of
50802 remaining bytes.
50803
50804 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50805
50806 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50807
50808 * posix/getconf.c: Update copyright year.
50809 * nss/getent.c: Likewise.
50810 * nss/makedb.c: Likewise.
50811 * iconv/iconvconfig.c: Likewise.
50812 * iconv/iconv_prog.c: Likewise.
50813 * elf/ldconfig.c: Likewise.
50814 * elf/pldd.c: Likewise.
50815 * elf/sotruss.ksh: Likewise.
50816 * catgets/gencat.c: Likewise.
50817 * csu/version.c: Likewise.
50818 * elf/ldd.bash.in: Likewise.
50819 * elf/sprof.c (print_version): Likewise.
50820 * locale/programs/locale.c: Likewise.
50821 * locale/programs/localedef.c: Likewise.
50822 * login/programs/pt_chown.c: Likewise.
50823 * nscd/nscd.c (print_version): Likewise.
50824 * debug/xtrace.sh: Likewise.
50825 * malloc/memusage.sh: Likewise.
50826 * malloc/mtrace.pl: Likewise.
50827 * debug/catchsegv.sh: Likewise.
50828
50829 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50830
50831 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50832 pure attribute.
50833
50834 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50835
50836 [BZ #13533]
50837 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50838 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50839 transformations.
50840 * iconv/gconv_int.h: Likewise.
50841 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50842 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50843 from libc for GLIBC_2.16.
50844 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50845 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50846 * wcsmbs/uchar.h: Really define mbstate_t.
50847 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50848 * wcsmbs/c16rtomb.c: New file.
50849 * wcsmbs/mbrtoc16.c: New file.
50850 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50851 for C/POSIX locale.
50852 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50853 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50854
50855 * wcsmbs/wchar.h: Add missing __restrict.
50856
50857 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50858
50859 [BZ #13532]
50860 * time/Makefile (routines): Add timespec_get.
50861 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50862 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50863 timespec for ISO C11.
50864 * time/timespec_get.c: New file.
50865 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50866 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50867
50868 [BZ #13531]
50869 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50870 * stdlib/stdlib.h: Declare aligned_alloc.
50871 * Versions.def: Add GLIBC_2.16 for libc.
50872 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50873
50874 [BZ 13527]
50875 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50876 ISO C11.
50877
50878 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50879 code.
50880
50881 [BZ #13528]
50882 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50883
50884 [BZ #13529]
50885 * assert/assert.h (static_assert): Define.
50886
50887 * version.h: Update for 2.16 development version.
50888
50889 [BZ #13526]
50890 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50891 _ISOC11_SOURCE.
50892
50893 * version.h (RELEASE): Bump for 2.15 release.
50894 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50895
50896 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50897 Patch by Marek Polacek <mpolacek@redhat.com>.
50898
50899 * bits/byteswap.h: Protect long long constants with __extension__.
50900 * sysdeps/i386/bits/byteswap.h: Likewise.
50901 * sysdeps/ia64/bits/byteswap.h: Likewise.
50902 * sysdeps/s390/bits/byteswap.h: Likewise.
50903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50904
50905 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50906
50907 [BZ #13540]
50908 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50909 destination buffer.
50910 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50911
50912 2011-12-23 Marek Polacek <polacek@redhat.com>
50913
50914 * elf/dl-addr.c (determine_info): Add inline keyword.
50915 * elf/tst-auditmod4b.c (check_avx): Likewise.
50916 * elf/tst-auditmod6b.c (check_avx): Likewise.
50917 * elf/tst-auditmod6c.c (check_avx): Likewise.
50918 * elf/tst-auditmod7b.c (check_avx): Likewise.
50919
50920 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50921
50922 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50923 !__SSE_MATH__.
50924
50925 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50926
50927 [BZ #13540]
50928 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50929 processing for last bytes.
50930
50931 2011-08-06 Bruno Haible <bruno@clisp.org>
50932
50933 [BZ #13061]
50934 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50935 U+0385, not to U+1FEE.
50936
50937 [BZ #13062]
50938 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50939 entry for U+00A5 U+0301.
50940
50941 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50942
50943 [BZ #13166]
50944 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50945 buffer for the output is too small.
50946
50947 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50948 optimization.
50949
50950 [BZ #13185]
50951 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50952 SSE flags if possible.
50953
50954 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50955
50956 [BZ #13540]
50957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50958 processing for last bytes.
50959
50960 2011-12-22 Joseph Myers <joseph@codesourcery.com>
50961
50962 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50963 (syscall-list-default-options, syscall-list-default-condition)
50964 (syscall-list-includes): Define.
50965 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50966 list of ABIs and options and #if conditions for each ABI. Do not
50967 handle common syscalls between ABIs specially.
50968 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50969 Remove.
50970 (syscall-list-variants, syscall-list-32bit-options)
50971 (syscall-list-32bit-condition, syscall-list-64bit-options)
50972 (syscall-list-64bit-condition): Define.
50973 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50974 (syscall-list-variants, syscall-list-32bit-options)
50975 (syscall-list-32bit-condition, syscall-list-64bit-options)
50976 (syscall-list-64bit-condition): Define.
50977 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50978 Remove.
50979 (syscall-list-variants, syscall-list-32bit-options)
50980 (syscall-list-32bit-condition, syscall-list-64bit-options)
50981 (syscall-list-64bit-condition): Define.
50982 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50983 Remove.
50984 (syscall-list-variants, syscall-list-32bit-options)
50985 (syscall-list-32bit-condition, syscall-list-64bit-options)
50986 (syscall-list-64bit-condition): Define.
50987
50988 2011-12-22 Ulrich Drepper <drepper@gmail.com>
50989
50990 * locale/iso-639.def: Add brx entry.
50991
50992 [BZ #13328]
50993 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50994 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50995
50996 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50997 __feraiseexcept_renamed.
50998
50999 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51000
51001 [BZ #13538]
51002 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51003 EPOLLET with unsigned values.
51004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51006
51007 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51008 to large cancellation.
51009 * math/s_cacoshf.c: Likewise.
51010 * math/s_cacoshl.c: Likewise.
51011
51012 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51013
51014 [BZ #13305]
51015 [BZ #12786]
51016 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51017 * math/s_cacoshf.c: Likewise.
51018 * math/s_cacoshl.c: Likewise.
51019
51020 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51021
51022 [BZ #13439]
51023 * iconv/gconv.h: Define __GCONV_SWAP.
51024 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51025 * iconvdata/utf-16.c: Likewise.
51026 * iconvdata/utf-32.c: Likewise.
51027
51028 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51029
51030 [BZ #13524]
51031 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51032 numerator after shifting it by one limb.
51033
51034 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51035
51036 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51037 under [__USE_EXTERN_INLINES].
51038
51039 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51040
51041 [BZ #13446]
51042 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51043
51044 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51045
51046 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51047 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51048 optimized code.
51049 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51050 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51051 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51052 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51053 for strncasecmp/strncasecmp_l compilation.
51054 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51055 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51056
51057 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51058
51059 [BZ #13484]
51060 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51061 of __asm__.
51062
51063 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51064
51065 [BZ #13506]
51066 * time/tzfile.c (__tzfile_read): Check values from file header.
51067
51068 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51069
51070 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51071 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51072 * powerpc/powerpc32/dl-start.S: Likewise.
51073 * powerpc/powerpc32/elf/start.S: Likewise.
51074 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51075 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51076 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51077 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51078 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51079 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51080 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51081 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51082 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51083 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51084 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51085 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51086 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51087 * powerpc/powerpc32/memset.S: Likewise.
51088 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51089 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51090 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51091 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51092 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51093 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51094 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51095 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51096 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51097 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51098 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51099 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51100 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51101
51102 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51103
51104 * math/libm-test.inc: Added more nearbyint tests.
51105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51106 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51109
51110 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51111
51112 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51113 FD_CLOEXEC.
51114
51115 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51116
51117 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51118 Add wcscpy-ssse3 wcscpy-c.
51119 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51120 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51121 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51122 * sysdeps/x86_64/wcschr.S: New file.
51123 * sysdeps/x86_64/wcsrchr.S: New file.
51124 * string/test-strcmp.c: Remove checking of wcscmp function for
51125 wrong alignments.
51126 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51127 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51128 wcsrchr-sse2 wcsrchr-c.
51129 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51130 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51131 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51132 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51133 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51134 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51135 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51136 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51137 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51138 * wcsmbc/wcschr.c (WCSCHR): New macro.
51139
51140 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51141
51142 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51143 * wcsmbs/test-wcsrchr.c: New file.
51144 * string/test-strrchr.c: Add wcsrchr support.
51145 (WIDE): New macro.
51146 * wcsmbs/test-wcscpy.c: New file.
51147 * string/test-strcpy.c: Add wcscpy support.
51148 (WIDE): New macro.
51149
51150 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51151
51152 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51153 the inner loop.
51154
51155 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51156
51157 [BZ #13472]
51158 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51159
51160 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51161
51162 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51163 Minor optimizations.
51164
51165 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51166 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51167 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51168
51169 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51170
51171 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51172 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51173 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51174 for gcc to avoid warnings.
51175 * inet/Makefile (tests): Add tst-checks.
51176 * inet/tst-checks.c: New file.
51177
51178 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51179 warning.
51180
51181 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51182 __wmemcmp_sse2.
51183
51184 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51185 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51186
51187 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51188
51189 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51190
51191 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51192 problem.
51193
51194 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51195
51196 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51197
51198 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51199 conditional on GCC version.
51200 (__arch_compare_and_exchange_val_8_acq)
51201 (__arch_compare_and_exchange_val_16_acq)
51202 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51203 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51204 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51205
51206 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51207
51208 * sysdeps/sh/backtrace.c: New file.
51209
51210 2011-12-02 Andreas Schwab <schwab@redhat.com>
51211
51212 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51213 parenthesis.
51214
51215 2011-12-01 Andreas Schwab <schwab@redhat.com>
51216
51217 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51218 falling back to utime.
51219
51220 2011-11-30 Andreas Schwab <schwab@redhat.com>
51221
51222 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51223 expectations for float.
51224
51225 2011-11-29 Andreas Schwab <schwab@redhat.com>
51226
51227 * locale/weight.h (findidx): Add parameter len.
51228 * locale/weightwc.h (findidx): Likewise.
51229 * posix/fnmatch_loop.c (FCT): Adjust caller.
51230 * posix/regcomp.c (build_equiv_class): Likewise.
51231 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51232 * posix/regexec.c (check_node_accept_bytes): Likewise.
51233 * string/strcoll_l.c (STRCOLL): Likewise.
51234 * string/strxfrm_l.c (STRXFRM): Likewise.
51235
51236 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51237
51238 * Makefile.in: Remove CVSOPT handling.
51239 * configure.in: Remove use of AC_REVISION.
51240 * iconvdata/Makefile (distribute): No need to filter out CVS.
51241 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51242 handling.
51243
51244 2011-11-16 Andreas Schwab <schwab@redhat.com>
51245
51246 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51247 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51248 [USE_AS_STRNCASECMP_L]: Likewise.
51249 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51250 NO_TLS_DIRECT_SEG_REFS.
51251 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51252 Fix argument offsets for non-PIC.
51253 [USE_AS_STRNCASECMP_L]: Likewise.
51254 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51255 NO_TLS_DIRECT_SEG_REFS.
51256
51257 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51258
51259 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51260 O_CLOEXEC.
51261 * locale/loadlocale.c (_nl_load_locale): Likewise.
51262
51263 2011-11-15 Andreas Schwab <schwab@redhat.com>
51264
51265 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51266 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51267 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51268 (SYSCALL_GETTIME): Set errno on error.
51269
51270 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51271 count references to noai6ai_cached.
51272
51273 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51274
51275 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51276
51277 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51278 FD_CLOEXEC for /proc/self/maps.
51279
51280 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51281 FD_CLOEXEC for /proc/meminfo.
51282
51283 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51284 gai.conf.
51285
51286 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51287 FD_CLOEXEC for given file.
51288
51289 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51290
51291 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51292 FD_CLOEXEC for /etc/hosts.
51293 (_gethtent): Likewise.
51294
51295 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51296
51297 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51298 cancellation and set FD_CLOEXEC for /etc/netgroup.
51299
51300 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51301 reading /etc/publickey.
51302
51303 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51304 allow cancellation when reading /etc/group.
51305
51306 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51307 cancellation.
51308 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51309
51310 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51311 when using data file.
51312
51313 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51314
51315 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51316 (write_nis_obj): Use "c" and "e" in fopen.
51317
51318 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51319
51320 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51321
51322 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51323
51324 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51325
51326 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51327 locale.alias.
51328
51329 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51330
51331 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51332
51333 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51334
51335 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51336 file parsing and set FD_CLOEXEC.
51337
51338 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51339
51340 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51341
51342 2011-11-14 Andreas Schwab <schwab@redhat.com>
51343
51344 * malloc/arena.c (arena_get2): Don't call reused_arena when
51345 _int_new_arena failed.
51346
51347 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51348
51349 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51350 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51351 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51352 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51353 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51354 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51355 to compile strcasecmp and strncasecmp.
51356 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51357 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51358
51359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51360
51361 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51362
51363 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51364 locale-defines.sym to gen-as-const-headers.
51365 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51366 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51368 to compile strcasecmp and strncasecmp.
51369 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51370 strcasecmp_l and strncasecmp_l.
51371 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51372 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51373 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51374 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51375 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51376 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51377 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51378 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51379 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51380 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51381 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51382
51383 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51384
51385 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51386 result of SYSDEP_GETTIME_CPU to retval.
51387 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51388 parameter list to macro. Remove trailing semicolon. Adjust users.
51389
51390 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51391 variable.
51392
51393 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51394 mantissa words.
51395 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51396
51397 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51398 from unused variable.
51399
51400 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51401 DWARF definitions.
51402 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51403 for assembling.
51404
51405 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51406 over namespaces.
51407
51408 * sunrpc/rpc_prot.c (rejected): Fix case value.
51409
51410 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51411 unsigned long long int to avoid warnings in shift.
51412
51413 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51414 of use of trans.
51415 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51416 variable tmp.
51417
51418 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51419 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51420 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51421
51422 * nis/nis_table.c (nis_list): Use variable of correct type for
51423 result of __follow_path call.
51424
51425 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51426
51427 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51428 of math functions ceil, trunc, floor, round, and sqrt, when
51429 avaliable on the platform.
51430 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51431 name clash.
51432 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51433 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51434 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51435
51436 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51437
51438 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51439 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51440
51441 2011-11-11 Roland McGrath <roland@hack.frob.com>
51442
51443 * include/unistd.h: Fix __readlink return type.
51444 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51445
51446 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51447
51448 * stdlib/ucontext.h: Undo last change for makecontext.
51449
51450 2011-11-11 Andreas Schwab <schwab@redhat.com>
51451
51452 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51453
51454 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51455 * setjmp/setjmp.h: Mark functions as non-leaf.
51456 * setjmp/bits/setjmp2.h: Likewise.
51457 * stdlib/ucontext.h: Likewise.
51458
51459 2011-11-10 Andreas Schwab <schwab@redhat.com>
51460
51461 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51462 (reused_arena): Don't check arena limit.
51463 (arena_get2): Atomically check arena limit.
51464
51465 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51466
51467 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51468 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51469
51470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51471 instructions.
51472
51473 2011-11-07 Andreas Schwab <schwab@redhat.com>
51474
51475 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51476 handler when locking.
51477
51478 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51479 Fix size of allocated buffer.
51480
51481 2011-11-04 Andreas Schwab <schwab@redhat.com>
51482
51483 [BZ #10103]
51484 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51485 declarations for long double functions.
51486 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51487
51488 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51489
51490 2011-11-03 Andreas Schwab <schwab@redhat.com>
51491
51492 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51493 installed.
51494
51495 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51496 is disabled.
51497
51498 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51499
51500 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51501
51502 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51503
51504 * include/alloca.h (stackinfo_alloca_round): Define.
51505 (extend_alloca): Use it.
51506 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51507 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51508 here.
51509
51510 * scripts/check-local-headers.sh: Ignore libaudit.h.
51511
51512 * nscd/Makefile (extra-objs): Make recursively expanded.
51513
51514 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51515
51516 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51518
51519 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51520 * posix/tst-rfc3484-2.c: Likewise.
51521 * posix/tst-rfc3484-3.c: Likewise.
51522
51523 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51524 process_vm_writev.
51525 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51526 process_vm_writev.
51527 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51528 process_vm_writev from libc using GLIBC_2.15 version.
51529
51530 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51531
51532 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51533
51534 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51535 stack usage.
51536
51537 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51538
51539 [BZ #13367]
51540 * nss/getent.c (initgroups_keys): Show error message in case no group
51541 names are given.
51542
51543 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51544 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51545 __bump_nl_timestamp.
51546 * nscd/connections (nscd_init): When host database is served open
51547 netlink socket and request notification about configuration changes.
51548 (main_loop_poll): Track netlink file descriptor and bump timestamp
51549 in case data becomes available.
51550 (main_loop_epoll): Likewise.
51551 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51552 (database_pers_head): Add extra_data fileds.
51553 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51554 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51555 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51556 Adjust caller.
51557 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51558 in6ai data, call __free_in6ai.
51559 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51560 Add -DHAVE_NETLINK.
51561 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51562 interface information. Reuse previous data if netlink timestamp
51563 is not changed.
51564 (__bump_nl_timestamp): New function.
51565 (__free_in6ai): New function.
51566
51567 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51568
51569 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51570 close_not_cancel_no_status here.
51571 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51572
51573 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51574
51575 [BZ #13276]
51576 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51577 return value.
51578
51579 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51580 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51581 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51582
51583 2011-07-03 Andreas Jaeger <aj@suse.de>
51584
51585 [BZ #10709]
51586 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51587 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51588 * math/libm-test.inc (sin_test): Add test case.
51589
51590 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51591
51592 [BZ #13337]
51593 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51594 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51595
51596 * elf/chroot_canon.c (chroot_canon): Cleanups.
51597
51598 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51599
51600 [BZ #13335]
51601 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51602 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51603
51604 * string/test-strchr.c: Make usable for strchrnul testing.
51605 * string/test-strchrnul.c: New file.
51606 * string/Makefile (strop-tests): Add strchrnul.
51607
51608 * po/it.po: Update from translation team.
51609 * po/es.po: Likewise.
51610
51611 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51612
51613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51614 the three constants needed as parameters. Drop the others.
51615 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51616 __m128i_strloadu_tolower.
51617 Create and initialize variable zero and use it in all the places
51618 where _mm_setzero_si128 was used.
51619
51620 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51621 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51622 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51623 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51624 anymore.
51625 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51626 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51627 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51628 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51629 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51630 __mpranred, __mptan.
51631 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51632 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51633 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51634 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51635 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51636 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51638 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51639 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51640
51641 2011-10-28 Andreas Schwab <schwab@redhat.com>
51642
51643 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51644 redefine if SHARED.
51645 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51646
51647 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51648 wide char related routines to wcsmbs subdir.
51649
51650 2011-10-27 Andreas Schwab <schwab@redhat.com>
51651
51652 [BZ #13344]
51653 * misc/sys/cdefs.h (__THROWNL): Define.
51654 * posix/unistd.h: Use __THREADNL instead of __THREAD
51655 for memory synchronization functions.
51656
51657 2011-10-26 Roland McGrath <roland@hack.frob.com>
51658
51659 [BZ #13349]
51660 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51661 doesn't exist.
51662 * manual/stdio.texi (Obstack Streams): Node removed.
51663
51664 2011-10-26 Andreas Schwab <schwab@redhat.com>
51665
51666 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51667 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51668 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51669
51670 * math/math_private.h (math_force_eval): Allow non-addressable
51671 arguments.
51672 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51673
51674 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51675
51676 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51677 file is not needed.
51678
51679 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51680 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51681 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51682 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51683 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51684 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51685 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51686 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51687 Add AVX variants.
51688 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51689 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51690 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51691 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51692 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51693 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51694 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51695 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51696 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51697 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51698 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51699 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51701 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51704 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51705 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51706 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51707
51708 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51709 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51710
51711 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51712 place. Use VEX encoding when compiling for AVX.
51713
51714 2011-10-25 Andreas Schwab <schwab@redhat.com>
51715
51716 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51717 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51718
51719 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51720
51721 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51722
51723 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51724 useless if() expression.
51725 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51726 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51727 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51729 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51731 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51733 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51734 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51735 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51736 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51737 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51738 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51739 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51740 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51741 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51742 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51743 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51744
51745 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51746
51747 2011-10-25 Andreas Schwab <schwab@redhat.com>
51748
51749 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51750 condition.
51751 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51752
51753 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51754
51755 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51756 .text section. Avoid duplicate constants.
51757 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51758 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51759 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51761 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51764 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51765 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51766 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51767 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51768 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51769 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51770 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51771 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51772 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51773 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51774 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51775 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51777 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51778 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51779 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51781 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51782 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51783 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51784 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51785 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51786 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51787 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51788 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51789 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51790 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51791 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51792 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51793 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51794 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51795 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51796 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51797 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51799 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51800 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51801 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51802
51803 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51804
51805 * sysdeps/x86_64/dla.h: Move to ...
51806 * sysdeps/x86_64/fpu/dla.h: ...here.
51807 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51808 situations. Use __builtin_fma only for gcc 4.6 and up.
51809
51810 * config.make.in: Add have-mfma4 entry.
51811 * configure.in: Substitute libc_cv_cc_fma4.
51812 * math/Makefile (dbl-only-routines): Add sincostab.
51813 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51814 Use __sincostab not sincos.
51815 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51816 name is a macro.
51817 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51818 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51819 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51821 using __copysign.
51822 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51823 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51824 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51825 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51826 and __inv.
51827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51828 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51829 __copysign.
51830 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51831 define aliases when function name is a macro.
51832 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51833 sysdeps/ieee754/dbl-64/sincos.tbl.
51834 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51835 fma4-enabled routines.
51836 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51837 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51838 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51839 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51840 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51841 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51843 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51844 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51845 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51846 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51848 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51849 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51851 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51852 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51853 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51854 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51855 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51856 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51857 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51858 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51859 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51860 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51861 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51862 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51863 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51864 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51865 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51866
51867 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51868 rename.
51869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51870 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51872 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51873 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51874 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51875 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51876 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51877
51878 2011-10-24 Andreas Schwab <schwab@redhat.com>
51879
51880 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51881
51882 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51883
51884 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51885
51886 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51887 prediction.
51888 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51889
51890 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51891 Remove unused variable magic_bits.
51892 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51893
51894 * string/strnlen.c: Define and use STRNLEN macro.
51895 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51896 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51898 * wcsmbs/wcslen.c: Define and use WCSLEN.
51899 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51900 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51901 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51902 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51903 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51904 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51905 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51906
51907 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51908
51909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51910 strnlen-sse2-no-bsf.
51911 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51913 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51914 Add strnlen support.
51915 (USE_AS_STRNLEN): New macro.
51916 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51917 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51918 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51919 * sysdeps/x86_64/wcslen.S: New file.
51920
51921 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51922
51923 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51924 XMM-moves are used for copying on small sizes.
51925
51926 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51927
51928 * wcsmbs/Makefile (strop-tests): Add wcschr.
51929 * wcsmbs/test-wcschr.c: New file.
51930 * string/test-strchr.c: Update.
51931 Add wcschr support.
51932 (WIDE): New macro.
51933
51934 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51935
51936 * wcsmbs/Makefile (strop-tests): Add wcslen.
51937 * wcsmbs/test-wcslen.c: New file.
51938 * string/test-strlen.c: Update.
51939 Add wcslen support.
51940 (WIDE): New macro.
51941
51942 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51943
51944 * po/it.po: Update from translation team.
51945
51946 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51947
51948 * sysdeps/x86_64/wcscmp.S: Update.
51949 Fix wrong comparison semantics.
51950 wcscmp shall use signed comparison not unsigned.
51951 Don't use substraction to avoid overflow bug.
51952 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51953 * wcsmbc/wcscmp.c: Likewise.
51954 * string/test-strcmp.c: Likewise.
51955 Add new tests to check cases with negative values.
51956
51957 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51958
51959 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51960 * sysdeps/x86_64/dla.h: ...here. New file.
51961 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51970
51971 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51972
51973 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51974 __ynl_finite aliases.
51975
51976 2011-10-22 Ulrich Drepper <drepper@gmail.com>
51977
51978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51979
51980 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51981 define DLA_FMA.
51982 [DLA_FMA] (EMULV): Use DLA_FMA.
51983 [DLA_FMA] (MUL12): Use EMULV.
51984 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51985 that are not needed.
51986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51993
51994 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51995
51996 * math/s_nan.c: Undef __nan.
51997 * math/s_nanf.c: Undef __nanf.
51998 * math/s_nanl.c: Undef __nanl.
51999 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52000 "math_private.h".
52001
52002 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52003
52004 * math/s_catan.c: Add branch predictions.
52005 * math/s_catanf.c: Likewise.
52006 * math/s_catanh.c: Likewise.
52007 * math/s_catanhf.c: Likewise.
52008 * math/s_catanhl.c: Likewise.
52009 * math/s_catanl.c: Likewise.
52010 * math/s_cexp.c: Likewise.
52011 * math/s_cexpf.c: Likewise.
52012 * math/s_cexpl.c: Likewise.
52013 * math/s_clog.c: Likewise.
52014 * math/s_clog10.c: Likewise.
52015 * math/s_clog10f.c: Likewise.
52016 * math/s_clog10l.c: Likewise.
52017 * math/s_clogf.c: Likewise.
52018 * math/s_clogl.c: Likewise.
52019 * math/s_csqrt.c: Likewise.
52020 * math/s_csqrtf.c: Likewise.
52021 * math/s_csqrtl.c: Likewise.
52022 * math/s_ctanf.c: Likewise.
52023 * math/s_ctanh.c: Likewise.
52024 * math/s_ctanhf.c: Likewise.
52025 * math/s_ctanhl.c: Likewise.
52026 * math/s_ctanl.c: Likewise.
52027
52028 * math/math_private.h: Define __nan, __nanf, __nanl.
52029 * math/s_cacosh.c: Include <math_private.h>.
52030 * math/s_cacoshl.c: Likewise.
52031 * math/s_casinh.c: Likewise.
52032 * math/s_casinhf.c: Likewise.
52033 * math/s_casinhl.c: Likewise.
52034 * math/s_ccos.c: Rely entire on ccosh.
52035 * math/s_ccosf.c: Rely entire on ccoshf.
52036 * math/s_ccosl.c: Rely entirely on ccoshl.
52037 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52038 Remove tests for FE_INVALID.
52039 * math/s_ccoshf.c: Likewise.
52040 * math/s_ccoshl.c: Likewise.
52041 * math/s_csin.c: Likewise.
52042 * math/s_csinf.c: Likewise.
52043 * math/s_csinh.c Likewise.
52044 * math/s_csinhf.c: Likewise.
52045 * math/s_csinhl.c: Likewise.
52046 * math/s_csinl.c: Likewise.
52047 * math/s_ctan.c: Likewise.
52048 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52049 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52050 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52051
52052 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52053
52054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52055 compilation problems.
52056
52057 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52058 __builtin_expect.
52059
52060 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52061
52062 * sysdeps/i386/configure.in: Test for -mfma4 option.
52063 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52064 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52065 COMMON_CPUID_INDEX_80000001.
52066 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52067 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52068 use it if FMA3 is not supported.
52069 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52070
52071 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52072 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52073
52074 2011-10-20 Andreas Schwab <schwab@redhat.com>
52075
52076 [BZ #12892]
52077 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52078 it would create a cycle with a link time dependency.
52079
52080 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52081
52082 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52083 instruction.
52084 * string/Makefile (strop-tests): Add rawmemchr.
52085 * string/test-rawmemchr.c: New file.
52086
52087 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52089 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52090 when compiling str{,n}casecmp and when AVX is available. Hook up
52091 new optimized code in initializers.
52092
52093 2011-10-19 Andreas Schwab <schwab@redhat.com>
52094
52095 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52096 __feraiseexcept instead of feraiseexcept.
52097
52098 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52099
52100 * math/math_private.h: Define defaults for libc_fetestexcept and
52101 libc_feupdateenv.
52102 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52103 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52104 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52105 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52107 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52108 libc_fetestexcept and libc_feupdateenv.
52109
52110 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52111 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52112 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52113 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52114 libc_feholdexcept_setround.
52115
52116 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52117 Add s_nearbyint-c and s_nearbyintf-c.
52118 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52119 nearbyintf inlines.
52120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52121 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52123 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52124
52125 * math/math_private.h: Define defaults for libc_fegetround,
52126 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52127 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52128 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52129 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52130 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52131 standard functions.
52132 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52133 Remove comments and hacks for old compiler versions.
52134 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52135 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52136 libc_feholdexceptl.
52137
52138 2011-10-18 Andreas Schwab <schwab@redhat.com>
52139
52140 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52141 (__feraiseexcept_renamed): Add __NTH.
52142 (feraiseexcept): Add __NTH. Rename local variables to fix
52143 namespace violations.
52144
52145 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52146
52147 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52148
52149 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52150
52151 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52152 recently added interfaces.
52153 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52154
52155 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52156 about macro parameter expansion.
52157
52158 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52159 __NO_MATH_INLINES is defined. Cleanups.
52160
52161 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52162 and __floorf is target has SSE4.1.
52163 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52164 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52165 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52166 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52167
52168 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52169 name.
52170 (floorf): Likewise.
52171
52172 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52173
52174 2011-10-17 Andreas Schwab <schwab@redhat.com>
52175
52176 * misc/sys/cdefs.h: Fix last change.
52177
52178 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52179 database lookup.
52180
52181 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52182
52183 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52184
52185 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52186 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52187 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52188 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52190 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52191 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52192 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52193 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52194 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52195 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52196 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52197 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52198 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52199 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52200 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52201 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52202 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52203 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52204 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52205 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52206 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52207
52208 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52209 ceil, ceilf, floor, floorf.
52210
52211 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52212 Perform IRELATIVE relocations last.
52213
52214 * elf/do-rel.h: Add another parameter nrelative, replacing the
52215 local variable with the same name. Change name of the function
52216 to end in Rel or Rela (uppercase).
52217 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52218 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52219 elf_dynamic_do_##reloc function.
52220
52221 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52222
52223 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52224 is sufficient, at least on modern CPUs.
52225
52226 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52227
52228 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52229 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52230
52231 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52232 __expl_finite.
52233 * math/bits/math-finite.h: Add entries for exp.
52234 * math/e_expl.c: Add __*_finite alias.
52235 * sysdeps/i386/fpu/e_exp.S: Likewise.
52236 * sysdeps/i386/fpu/e_expf.S: Likewise.
52237 * sysdeps/i386/fpu/e_expl.c: Likewise.
52238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52239 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52240 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52241 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52242 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52243 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52244 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52245
52246 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52247 is sufficient, at least on modern CPUs.
52248
52249 * ctype/ctype-info.c (__ctype_init): Define.
52250 * include/ctype.h (__ctype_init): Declare.
52251 (__ctype_b_loc): The variable is always initialized.
52252 (__ctype_toupper_loc): Likewise.
52253 (__ctype_tolower_loc): Likewise.
52254 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52255 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52256
52257 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52258
52259 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52260
52261 * configure.in: Also look in $cxxmachine/include for C++ system
52262 headers.
52263
52264 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52265
52266 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52267 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52268 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52269 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52270 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52271 (USE_AS_WMEMCMP): New macro.
52272 Fixing indents.
52273 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52274 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52275 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52276 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52278 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52279 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52280 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52281 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52282 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52284 (USE_AS_WMEMCMP): New macro.
52285 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52286 * sysdeps/string/test-memcmp.c: Update.
52287 Fix simple_wmemcmp.
52288 Add new tests.
52289 * wcsmbs/wmemcmp.c: Update.
52290 (WMEMCMP): New macro.
52291 Fix overflow bug.
52292
52293 2011-10-12 Andreas Jaeger <aj@suse.de>
52294
52295 [BZ #13268]
52296 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52297
52298 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52299
52300 * libio/iofwide.c (do_length): Avoid warning.
52301
52302 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52303
52304 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52305
52306 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52307
52308 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52309 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52310 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52311 * sysdeps/i386/i686/fpu/e_log.S: New file.
52312 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52313 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52314
52315 * ctype/ctype.h: Add support for inlined isXXX functions when
52316 compiling C++ code.
52317
52318 2011-10-14 Andreas Schwab <schwab@redhat.com>
52319
52320 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52321
52322 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52323
52324 2011-10-13 Roland McGrath <roland@hack.frob.com>
52325
52326 [BZ #13291]
52327 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52328
52329 2011-10-13 Andreas Schwab <schwab@redhat.com>
52330
52331 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52332 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52333 feraiseexcept.
52334
52335 * sysdeps/x86_64/memrchr.S: Check for zero size.
52336
52337 * string/stratcliff.c: Add memrchr tests.
52338
52339 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52340
52341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52342 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52343 rawmemchr-sse2 rawmemchr-sse2-bsf.
52344 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52345 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52346 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52347 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52348 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52349 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52350 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52351 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52353 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52354 * string/memrchr.c (MEMRCHR): New macro.
52355
52356 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52357
52358 Add integration with gcc's -ffinite-math-only and optimize wrapper
52359 functions in libm.
52360 * Versions.def: Define GLIBC_2.15 version for libm.
52361 * math/Makefile (headers): Add bits/math-finite.h.
52362 * math/bits/math-finite.h: New file.
52363 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52364 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52365 * math/e_acoshl.c: Add __*_finite alias.
52366 * math/e_acosl.c: Likewise.
52367 * math/e_asinl.c: Likewise.
52368 * math/e_atan2l.c: Likewise.
52369 * math/e_atanhl.c: Likewise.
52370 * math/e_coshl.c: Likewise.
52371 * math/e_exp10.c: Likewise.
52372 * math/e_exp10f.c: Likewise.
52373 * math/e_exp10l.c: Likewise.
52374 * math/e_exp2l.c: Likewise.
52375 * math/e_fmodl.c: Likewise.
52376 * math/e_gammal_r.c: Likewise.
52377 * math/e_hypotl.c: Likewise.
52378 * math/e_j0l.c: Likewise.
52379 * math/e_j1l.c: Likewise.
52380 * math/e_jnl.c: Likewise.
52381 * math/e_lgammal_r.c: Likewise.
52382 * math/e_log10l.c: Likewise.
52383 * math/e_log2l.c: Likewise.
52384 * math/e_logl.c: Likewise.
52385 * math/e_powl.c: Likewise.
52386 * math/e_sinhl.c: Likewise.
52387 * math/e_sqrtl.c: Likewise.
52388 * math/e_scalb.c: Completely rewritten and optimized.
52389 * math/e_scalbf.c: Likewise.
52390 * math/e_scalbl.c: Likewise.
52391 * math/w_acos.c: Likewise.
52392 * math/w_acosf.c: Likewise.
52393 * math/w_acosl.c: Likewise.
52394 * math/w_acosh.c: Likewise.
52395 * math/w_acoshf.c: Likewise.
52396 * math/w_acoshl.c: Likewise.
52397 * math/w_asin.c: Likewise.
52398 * math/w_asinf.c: Likewise.
52399 * math/w_asinl.c: Likewise.
52400 * math/w_atan2.c: Likewise.
52401 * math/w_atan2f.c: Likewise.
52402 * math/w_atan2l.c: Likewise.
52403 * math/w_atanh.c: Likewise.
52404 * math/w_atanhf.c: Likewise.
52405 * math/w_atanhl.c: Likewise.
52406 * math/w_exp10.c: Likewise.
52407 * math/w_exp10f.c: Likewise.
52408 * math/w_exp10l.c: Likewise.
52409 * math/w_fmod.c: Likewise.
52410 * math/w_fmodf.c: Likewise.
52411 * math/w_fmodl.c: Likewise.
52412 * math/w_j0.c: Likewise.
52413 * math/w_j0f.c: Likewise.
52414 * math/w_j0l.c: Likewise.
52415 * math/w_j1.c: Likewise.
52416 * math/w_j1f.c: Likewise.
52417 * math/w_j1l.c: Likewise.
52418 * math/w_jn.c: Likewise.
52419 * math/w_jnf.c: Likewise.
52420 * math/w_log.c: Likewise.
52421 * math/w_logf.c: Likewise.
52422 * math/w_logl.c: Likewise.
52423 * math/w_log10.c: Likewise.
52424 * math/w_log10f.c: Likewise.
52425 * math/w_log10l.c: Likewise.
52426 * math/w_log2.c: Likewise.
52427 * math/w_log2f.c: Likewise.
52428 * math/w_log2l.c: Likewise.
52429 * math/w_pow.c: Likewise.
52430 * math/w_powf.c: Likewise.
52431 * math/w_powl.c: Likewise.
52432 * math/w_remainder.c: Likewise.
52433 * math/w_remainderf.c: Likewise.
52434 * math/w_remainderl.c: Likewise.
52435 * math/w_scalb.c: Likewise.
52436 * math/w_scalbf.c: Likewise.
52437 * math/w_scalbl.c: Likewise.
52438 * math/w_sqrt.c: Likewise.
52439 * math/w_sqrtf.c: Likewise.
52440 * math/w_sqrtl.c: Likewise.
52441 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52442 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52443 used.
52444 * math/math_private.h: Declare __kernel_standard_f.
52445 * math/w_cosh.c: Remove cruft and optimize a bit.
52446 * math/w_coshf.c: Likewise.
52447 * math/w_coshl.c: Likewise.
52448 * math/w_exp2.c: Likewise.
52449 * math/w_exp2f.c: Likewise.
52450 * math/w_exp2l.c: Likewise.
52451 * math/w_hypot.c: Likewise.
52452 * math/w_hypotf.c: Likewise.
52453 * math/w_hypotl.c: Likewise.
52454 * math/w_lgamma.c: Likewise.
52455 * math/w_lgamma_r.c: Likewise.
52456 * math/w_lgammaf.c: Likewise.
52457 * math/w_lgammaf_r.c: Likewise.
52458 * math/w_lgammal.c: Likewise.
52459 * math/w_lgammal_r.c: Likewise.
52460 * math/w_sinh.c: Likewise.
52461 * math/w_sinhf.c: Likewise.
52462 * math/w_sinhl.c: Likewise.
52463 * math/w_tgamma.c: Likewise.
52464 * math/w_tgammaf.c: Likewise.
52465 * math/w_tgammal.c: Likewise.
52466 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52467 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52468 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52469 Minor optimizations. Pretty printing. Remove cruft.
52470 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52471 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52472 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52473 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52474 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52475 * sysdeps/i386/fpu/e_asin.S: Likewise.
52476 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52477 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52478 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52479 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52481 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52482 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52483 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52484 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52485 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52486 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52487 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52488 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52489 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52490 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52491 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52492 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52493 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52494 * sysdeps/i386/fpu/e_log.S: Likewise.
52495 * sysdeps/i386/fpu/e_log10.S: Likewise.
52496 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52497 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52498 * sysdeps/i386/fpu/e_log2.S: Likewise.
52499 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52500 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52501 * sysdeps/i386/fpu/e_logf.S: Likewise.
52502 * sysdeps/i386/fpu/e_logl.S: Likewise.
52503 * sysdeps/i386/fpu/e_pow.S: Likewise.
52504 * sysdeps/i386/fpu/e_powf.S: Likewise.
52505 * sysdeps/i386/fpu/e_powl.S: Likewise.
52506 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52507 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52508 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52509 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52510 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52511 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52512 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52513 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52514 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52515 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52516 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52518 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52519 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52520 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52521 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52522 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52523 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52524 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52525 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52526 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52528 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52529 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52531 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52532 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52533 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52535 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52536 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52537 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52538 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52539 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52540 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52541 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52542 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52543 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52544 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52545 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52546 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52547 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52548 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52549 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52550 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52551 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52552 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52553 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52554 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52555 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52556 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52557 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52558 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52560 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52561 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52562 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52563 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52564 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52565 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52566 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52567 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52568 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52569 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52570 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52571 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52572 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52573 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52574 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52575 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52576 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52577 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52578 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52580 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52581 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52582 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52583 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52584 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52585 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52586 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52588 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52589 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52591 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52592 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52593 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52594 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52595 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52596 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52597 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52600 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52601 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52604 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52605 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52606 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52607 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52608 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52609 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52610 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52611 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52612 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52613 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52614 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52615 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52616 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52617 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52618 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52619 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52620 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52621 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52622 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52623 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52624 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52625 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52626 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52627 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52628 (__isnanf): Likewise.
52629 (__isinf_ns): Likewise.
52630 (__isinf_nsf): Likewise.
52631 (__finite): Likewise.
52632 (__finitef): Likewise.
52633 (__ieee754_sqrt): Define as macro.
52634 (__ieee754_sqrtf): Define as macro.
52635 (__ieee754_sqrtl): Define as macro.
52636 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52637 inlined copy.
52638 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52639 __FINITE_MATH_ONLY__ consistent.
52640 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52641
52642 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52643
52644 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52645 of rawmemchr.
52646
52647 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52648
52649 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52650
52651 * po/ja.po: Update from translation team.
52652
52653 2011-10-08 Roland McGrath <roland@hack.frob.com>
52654
52655 * locale/programs/locarchive.c (prepare_address_space): New function.
52656 (create_archive, enlarge_archive, open_archive): Use it.
52657
52658 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52659 inside [SHARED], where it is used.
52660
52661 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52662
52663 * nss/getent.c (netgroup_keys): Remove unused variable.
52664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52665
52666 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52667
52668 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52669 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52671 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52672 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52673 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52674 * math/Makefile (libm-calls): Add s_isinf_ns.
52675 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52676 * math/multc3.c: Likewise.
52677 * math/s_casin.c: Likewise.
52678 * math/s_casinf.c: Likewise.
52679 * math/s_casinl.c: Likewise.
52680 * math/s_ccos.c: Likewise.
52681 * math/s_ccosf.c: Likewise.
52682 * math/s_ccosl.c: Likewise.
52683 * math/s_ctan.c: Likewise.
52684 * math/s_ctanf.c: Likewise.
52685 * math/s_ctanh.c: Likewise.
52686 * math/s_ctanhf.c: Likewise.
52687 * math/s_ctanhl.c: Likewise.
52688 * math/s_ctanl.c: Likewise.
52689 * math/w_fmod.c: Likewise.
52690 * math/w_fmodf.c: Likewise.
52691 * math/w_fmodl.c: Likewise.
52692 * math/w_remainder.c: Likewise.
52693 * math/w_remainderf.c: Likewise.
52694 * math/w_remainderl.c: Likewise.
52695 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52696 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52697 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52699 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52700 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52701 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52702 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52703
52704 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52705 of the number.
52706 * stdio-common/printf_fphex.c: Likewise.
52707 * stdio-common/printf_size.c: Likewise.
52708
52709 * math/e_exp10.c: Include math_private.h using <...> not "...".
52710 * math/e_exp10f.c: Likewise.
52711 * math/e_exp10l.c: Likewise.
52712 * math/e_exp2l.c: Likewise.
52713 * math/e_j0l.c: Likewise.
52714 * math/e_j1l.c: Likewise.
52715 * math/e_jnl.c: Likewise.
52716 * math/e_lgammal_r.c: Likewise.
52717 * math/e_rem_pio2l.c: Likewise.
52718 * math/e_scalb.c: Likewise.
52719 * math/e_scalbf.c: Likewise.
52720 * math/e_scalbl.c: Likewise.
52721 * math/k_cosl.c: Likewise.
52722 * math/k_sinl.c: Likewise.
52723 * math/k_tanl.c: Likewise.
52724 * math/s_cacoshf.c: Likewise.
52725 * math/s_catan.c: Likewise.
52726 * math/s_catanf.c: Likewise.
52727 * math/s_catanh.c: Likewise.
52728 * math/s_catanhf.c: Likewise.
52729 * math/s_catanhl.c: Likewise.
52730 * math/s_catanl.c: Likewise.
52731 * math/s_ccosh.c: Likewise.
52732 * math/s_ccoshf.c: Likewise.
52733 * math/s_ccoshl.c: Likewise.
52734 * math/s_cexp.c: Likewise.
52735 * math/s_cexpf.c: Likewise.
52736 * math/s_cexpl.c: Likewise.
52737 * math/s_clog.c: Likewise.
52738 * math/s_clog10.c: Likewise.
52739 * math/s_clog10f.c: Likewise.
52740 * math/s_clog10l.c: Likewise.
52741 * math/s_clogf.c: Likewise.
52742 * math/s_clogl.c: Likewise.
52743 * math/s_csin.c: Likewise.
52744 * math/s_csinf.c: Likewise.
52745 * math/s_csinh.c: Likewise.
52746 * math/s_csinhf.c: Likewise.
52747 * math/s_csinhl.c: Likewise.
52748 * math/s_csinl.c: Likewise.
52749 * math/s_csqrt.c: Likewise.
52750 * math/s_csqrtf.c: Likewise.
52751 * math/s_csqrtl.c: Likewise.
52752 * math/s_ctan.c: Likewise.
52753 * math/s_ctanf.c: Likewise.
52754 * math/s_ctanh.c: Likewise.
52755 * math/s_ctanhf.c: Likewise.
52756 * math/s_ctanhl.c: Likewise.
52757 * math/s_ctanl.c: Likewise.
52758 * math/s_ldexp.c: Likewise.
52759 * math/s_ldexpf.c: Likewise.
52760 * math/s_ldexpl.c: Likewise.
52761 * math/s_significand.c: Likewise.
52762 * math/s_significandf.c: Likewise.
52763 * math/s_significandl.c: Likewise.
52764 * math/w_acos.c: Likewise.
52765 * math/w_acosf.c: Likewise.
52766 * math/w_acosh.c: Likewise.
52767 * math/w_acoshf.c: Likewise.
52768 * math/w_acoshl.c: Likewise.
52769 * math/w_acosl.c: Likewise.
52770 * math/w_asin.c: Likewise.
52771 * math/w_asinf.c: Likewise.
52772 * math/w_asinl.c: Likewise.
52773 * math/w_atan2.c: Likewise.
52774 * math/w_atan2f.c: Likewise.
52775 * math/w_atan2l.c: Likewise.
52776 * math/w_atanh.c: Likewise.
52777 * math/w_atanhf.c: Likewise.
52778 * math/w_atanhl.c: Likewise.
52779 * math/w_cosh.c: Likewise.
52780 * math/w_coshf.c: Likewise.
52781 * math/w_coshl.c: Likewise.
52782 * math/w_dremf.c: Likewise.
52783 * math/w_exp10.c: Likewise.
52784 * math/w_exp10f.c: Likewise.
52785 * math/w_exp10l.c: Likewise.
52786 * math/w_exp2.c: Likewise.
52787 * math/w_exp2f.c: Likewise.
52788 * math/w_fmod.c: Likewise.
52789 * math/w_fmodf.c: Likewise.
52790 * math/w_fmodl.c: Likewise.
52791 * math/w_hypot.c: Likewise.
52792 * math/w_hypotf.c: Likewise.
52793 * math/w_hypotl.c: Likewise.
52794 * math/w_j0.c: Likewise.
52795 * math/w_j0f.c: Likewise.
52796 * math/w_j0l.c: Likewise.
52797 * math/w_j1.c: Likewise.
52798 * math/w_j1f.c: Likewise.
52799 * math/w_j1l.c: Likewise.
52800 * math/w_jn.c: Likewise.
52801 * math/w_jnf.c: Likewise.
52802 * math/w_jnl.c: Likewise.
52803 * math/w_lgamma.c: Likewise.
52804 * math/w_lgamma_r.c: Likewise.
52805 * math/w_lgammaf.c: Likewise.
52806 * math/w_lgammaf_r.c: Likewise.
52807 * math/w_lgammal.c: Likewise.
52808 * math/w_lgammal_r.c: Likewise.
52809 * math/w_log.c: Likewise.
52810 * math/w_log10.c: Likewise.
52811 * math/w_log10f.c: Likewise.
52812 * math/w_log10l.c: Likewise.
52813 * math/w_log2.c: Likewise.
52814 * math/w_log2f.c: Likewise.
52815 * math/w_log2l.c: Likewise.
52816 * math/w_logf.c: Likewise.
52817 * math/w_logl.c: Likewise.
52818 * math/w_pow.c: Likewise.
52819 * math/w_powf.c: Likewise.
52820 * math/w_powl.c: Likewise.
52821 * math/w_remainder.c: Likewise.
52822 * math/w_remainderf.c: Likewise.
52823 * math/w_remainderl.c: Likewise.
52824 * math/w_scalb.c: Likewise.
52825 * math/w_scalbf.c: Likewise.
52826 * math/w_scalbl.c: Likewise.
52827 * math/w_sinh.c: Likewise.
52828 * math/w_sinhf.c: Likewise.
52829 * math/w_sinhl.c: Likewise.
52830 * math/w_sqrt.c: Likewise.
52831 * math/w_sqrtf.c: Likewise.
52832 * math/w_sqrtl.c: Likewise.
52833 * math/w_tgamma.c: Likewise.
52834 * math/w_tgammaf.c: Likewise.
52835 * math/w_tgammal.c: Likewise.
52836
52837 * po/ja.po: Update from translation team.
52838
52839 2011-09-29 Andreas Jaeger <aj@suse.de>
52840
52841 [BZ #13179]
52842 * sunrpc/netname.c (netname2host): Fix logic.
52843
52844 [BZ #6779]
52845 [BZ #6783]
52846 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52847 correctly.
52848 * math/w_remainder.c (__remainder): Likewise.
52849 * math/w_remainderf.c (__remainderf): Likewise.
52850 * math/libm-test.inc (remainder_test): Add test cases.
52851
52852 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52853
52854 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52855 sdiv_qrnnd.
52856
52857 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52858
52859 * string/test-memcmp.c: Avoid unncessary #defines.
52860 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52861
52862 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52863
52864 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52865 Use new sse2 version for core i3 - i7 as it's faster
52866 than sse42 version.
52867 (bit_Prefer_PMINUB_for_stringop): New.
52868 * sysdeps/x86_64/rawmemchr.S: Update.
52869 Replace with faster SSE2 version.
52870 * sysdeps/x86_64/memrchr.S: New file.
52871 * sysdeps/x86_64/memchr.S: Update.
52872 Replace with faster SSE2 version.
52873
52874 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52875
52876 * elf/dl-load.c (lose): Add cast to avoid warning.
52877
52878 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52879
52880 * po/ca.po: Update from translation team.
52881
52882 * inet/getnetgrent_r.c: Hook up nscd.
52883 * nscd/Makefile (routines): Add nscd_netgroup.
52884 (nscd-modules): Add netgroupcache.
52885 (CFLAGS-netgroupcache.c): Define.
52886 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52887 (cache_search): Add const to second parameter.
52888 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52889 INNETGR.
52890 (dbs): Add netgrdb entry.
52891 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52892 (verify_persistent_db): Handle netgrdb.
52893 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52894 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52895 GETFDNETGR.
52896 (netgroup_response_header): Define.
52897 (innetgroup_response_header): Define.
52898 (datahead): Add netgroup_response_header and innetgroup_response_header
52899 elements.
52900 * nscd/nscd.conf: Add entries for netgroup cache.
52901 * nscd/nscd.h (dbtype): Add netgrdb.
52902 (_PATH_NSCD_NETGROUP_DB): Define.
52903 (netgroup_iov_disabled): Declare.
52904 (xmalloc, xcalloc, xrealloc): Move declarations here.
52905 (cache_search): Adjust prototype.
52906 Add netgroup-related prototypes.
52907 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52908 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52909 (__nscd_innetgr): Declare.
52910 * nscd/selinux.c (perms): Use access_vector_t as element type and
52911 add netgroup-related initializers.
52912 * nscd/netgroupcache.c: New file.
52913 * nscd/nscd_netgroup.c: New file.
52914 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52915 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52916 For four parameters use innetgr.
52917 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52918 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52919 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52920 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52921
52922 * nscd/connections.c (register_traced_file): Don't register file
52923 for disabled databases.
52924
52925 2011-10-06 Ulrich Drepper <drepper@gmail.com>
52926
52927 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52928
52929 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52930 from tree and freeing node.
52931
52932 2011-09-25 Jiri Olsa <jolsa@redhat.com>
52933
52934 * nss/nsswitch.c (__nss_database_lookup): Handle
52935 nss_parse_service_list out of memory case.
52936
52937 2011-09-15 Jiri Olsa <jolsa@redhat.com>
52938
52939 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52940 out of memory case.
52941
52942 2011-10-04 Andreas Schwab <schwab@redhat.com>
52943
52944 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52945 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52946 pass it down.
52947 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52948 elf_machine_rela, elf_machine_lazy_rel.
52949 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52950 (ELF_DYNAMIC_DO_REL): Likewise.
52951 (ELF_DYNAMIC_DO_RELA): Likewise.
52952 (ELF_DYNAMIC_RELOCATE): Likewise.
52953 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52954 to ELF_DYNAMIC_DO_REL.
52955 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52956 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52957 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52958 elf_machine_rela.
52959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52960 skip_ifunc, don't call ifunc function if non-zero.
52961 (elf_machine_rela): Likewise.
52962 (elf_machine_lazy_rel): Likewise.
52963 (elf_machine_lazy_rela): Likewise.
52964 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52965 (elf_machine_lazy_rel): Likewise.
52966 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52967 Likewise.
52968 (elf_machine_lazy_rel): Likewise.
52969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52970 Likewise.
52971 (elf_machine_lazy_rel): Likewise.
52972 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52973 (elf_machine_lazy_rel): Likewise.
52974 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52975 (elf_machine_lazy_rel): Likewise.
52976 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52977 (elf_machine_lazy_rel): Likewise.
52978 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52979 (elf_machine_lazy_rel): Likewise.
52980 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52981 (elf_machine_lazy_rel): Likewise.
52982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52983 (elf_machine_lazy_rel): Likewise.
52984
52985 2011-09-28 Ulrich Drepper <drepper@gmail.com>
52986
52987 * nss/nss_files/files-init.c (_nss_files_init): Use static
52988 initialization for all the *_traced_file variables.
52989
52990 2011-09-28 Andreas Schwab <schwab@redhat.com>
52991
52992 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52993
52994 2011-09-27 Roland McGrath <roland@hack.frob.com>
52995
52996 [BZ #13226]
52997 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52998
52999 2011-09-27 Andreas Schwab <schwab@redhat.com>
53000
53001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53002 Reread the line before reparsing it.
53003
53004 2011-09-26 Andreas Schwab <schwab@redhat.com>
53005
53006 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53007
53008 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53009 Maxim Kuvyrkov <maxim@codesourcery.com>
53010 Joseph Myers <joseph@codesourcery.com>
53011
53012 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53013 if needed for __stack_chk_guard.
53014
53015 2011-09-19 Roland McGrath <roland@hack.frob.com>
53016
53017 * sysdeps/posix/spawni.c (script_execute): Always define it.
53018 It will be optimized away if unused.
53019 (maybe_script_execute): New function.
53020 (__spawni): Call it.
53021
53022 * Makerules: Don't include tls.make.
53023 (config-tls): Always set to thread.
53024 * tls.make.c: File removed.
53025
53026 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53027
53028 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53029 * config.make.in (CPPFLAGS-config): New substituted variable.
53030
53031 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53032
53033 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53034
53035 [BZ #13192]
53036 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53037 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53038
53039 2011-09-15 Roland McGrath <roland@hack.frob.com>
53040
53041 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53042 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53043 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53044 (CALL_FAIL): Likewise.
53045 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53046 (CALL_FAIL): Macro removed.
53047 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53048
53049 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53050
53051 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53052 for __FINITE_MATH_ONLY__ == 1.
53053
53054 2011-09-15 Andreas Schwab <schwab@redhat.com>
53055
53056 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53057 __ieee754_sqrt instead of sqrt.
53058 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53059 __ieee754_sqrtf instead of sqrtf.
53060 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53061 __floorf instead of floorf.
53062 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53063 __floorf, __truncf instead of floorf, truncf.
53064
53065 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53066
53067 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53068
53069 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53070 __extern_always_inline.
53071 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53072 32-bit.
53073
53074 2011-09-14 Andreas Schwab <schwab@redhat.com>
53075
53076 * elf/rtld.c (dl_main): Also relocate in dependency order when
53077 doing symbol dependency testing.
53078
53079 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53080
53081 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53082 Always define `refsym'.
53083
53084 2011-09-13 Andreas Schwab <schwab@redhat.com>
53085
53086 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53087 (__FD_ELT): Renamed from __FDELT.
53088 * misc/bits/select2.h (__FD_ELT): Likewise.
53089 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53090 __FD_MASK instead of __FDELT, __FDMASK.
53091 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53092 Likewise.
53093 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53094 Likewise.
53095
53096 * elf/Makefile (gen-ldd): Fix pattern.
53097
53098 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53099 (init_tls): Likewise.
53100
53101 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53102
53103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53104
53105 2011-09-12 Andreas Schwab <schwab@redhat.com>
53106
53107 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53108 `struct cmsghdr *' instead of `void *'.
53109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53110 Likewise.
53111
53112 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53113
53114 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53115 if non-absolute.
53116 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53117 ldd_rewrite_script.
53118
53119 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53120
53121 * configure.in: Remove --with-tls option.
53122 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53123 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53124 out in case it is missing.
53125 * sysdeps/ia64/elf/configure.in: Likewise.
53126 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53127 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53128 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53129 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53130 * sysdeps/sh/elf/configure.in: Likewise.
53131 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53132 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53133 * sysdeps/x86_64/elf/configure.in: Likewise.
53134 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53135 * sysdeps/mach/hurd/tls.h: Likewise.
53136
53137 [BZ #13067]
53138 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53139
53140 [BZ #13090]
53141 * configure.in: Fix use of AC_INIT.
53142
53143 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53144
53145 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53146
53147 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53148 __set_errno.
53149 * malloc/hooks.c: Likewise.
53150
53151 [BZ #11929]
53152 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53153 variables statically.
53154 (narenas): Initialize.
53155 (list_lock): Initialize.
53156 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53157 initializtion of main_arena and list_lock. Small cleanups.
53158 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53159 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53160 Add initializers to main_arena and mp_.
53161 (malloc_state): Remove pagesize member. Change all users to use
53162 GLRO(dl_pagesize).
53163
53164 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53165 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53166 is always initialized.
53167
53168 * malloc/malloc.c: Removed unused configurations and dead code.
53169 * malloc/arena.c: Likewise.
53170 * malloc/hooks.c: Likewise.
53171 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53172
53173 * include/tls.h: Removed. USE___THREAD must always be defined.
53174 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53175 * elf/dl-libc.c: Likewise.
53176 * elf/dl-tsd.c: Likewise.
53177 * include/errno.h: Likewise.
53178 * include/netdb.h: Likewise.
53179 * include/resolv.h: Likewise.
53180 * inet/herrno-loc.c: Likewise.
53181 * inet/herrno.c: Likewise.
53182 * malloc/arena.c: Likewise.
53183 * malloc/hooks.c: Likewise.
53184 * malloc/malloc.c: Likewise.
53185 * resolv/res-state.c: Likewise.
53186 * resolv/res_libc.c: Likewise.
53187 * sysdeps/i386/dl-machine.h: Likewise.
53188 * sysdeps/ia64/dl-machine.h: Likewise.
53189 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53190 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53191 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53192 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53193 * sysdeps/sh/dl-machine.h: Likewise.
53194 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53195 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53196 * sysdeps/unix/i386/sysdep.S: Likewise.
53197 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53198 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53203 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53204 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53207 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53208 * sysdeps/x86_64/dl-machine.h: Likewise.
53209 * tls.make.c: Likewise.
53210
53211 * configure.in: Remove --with-__thread option. Make tests for
53212 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53213 tls_model attribute fail if no support is available. Remove
53214 USE_IN_LIBIO.
53215 * Makeconfig: Adjust for dropped configure option. All features are
53216 now mandatory.
53217 * Makerules: Likewise.
53218 * Versions.def: Likewise.
53219 * argp/argp-fmtstream.c: Likewise.
53220 * argp/argp-fmtstream.h: Likewise.
53221 * argp/argp-help.c: Likewise.
53222 * assert/assert.c: Likewise.
53223 * config.h.in: Likewise.
53224 * config.make.in: Likewise.
53225 * configure: Likewise.
53226 * configure.in: Likewise.
53227 * csu/Versions: Likewise.
53228 * csu/init.c: Likewise.
53229 * elf/tst-audit2.c: Likewise.
53230 * elf/tst-tls10.c: Likewise.
53231 * elf/tst-tls10.h: Likewise.
53232 * elf/tst-tls11.c: Likewise.
53233 * elf/tst-tls12.c: Likewise.
53234 * elf/tst-tls14.c: Likewise.
53235 * elf/tst-tlsmod11.c: Likewise.
53236 * elf/tst-tlsmod12.c: Likewise.
53237 * elf/tst-tlsmod13.c: Likewise.
53238 * elf/tst-tlsmod13a.c: Likewise.
53239 * elf/tst-tlsmod14a.c: Likewise.
53240 * elf/tst-tlsmod15b.c: Likewise.
53241 * elf/tst-tlsmod16a.c: Likewise.
53242 * elf/tst-tlsmod16b.c: Likewise.
53243 * elf/tst-tlsmod7.c: Likewise.
53244 * elf/tst-tlsmod8.c: Likewise.
53245 * elf/tst-tlsmod9.c: Likewise.
53246 * gmon/gmon.c: Likewise.
53247 * grp/fgetgrent_r.c: Likewise.
53248 * grp/putgrent.c: Likewise.
53249 * hurd/fopenport.c: Likewise.
53250 * include/libc-symbols.h: Likewise.
53251 * include/tls.h: Likewise.
53252 * intl/gettextP.h: Likewise.
53253 * intl/loadinfo.h: Likewise.
53254 * locale/global-locale.c: Likewise.
53255 * locale/localeinfo.h: Likewise.
53256 * mach/devstream.c: Likewise.
53257 * malloc/arena.c: Likewise.
53258 * malloc/set-freeres.c: Likewise.
53259 * misc/err.c: Likewise.
53260 * misc/getttyent.c: Likewise.
53261 * misc/mntent_r.c: Likewise.
53262 * posix/getopt.c: Likewise.
53263 * posix/wordexp.c: Likewise.
53264 * pwd/fgetpwent_r.c: Likewise.
53265 * resolv/Versions: Likewise.
53266 * resolv/res_hconf.c: Likewise.
53267 * shadow/fgetspent_r.c: Likewise.
53268 * shadow/putspent.c: Likewise.
53269 * stdio-common/printf_fphex.c: Likewise.
53270 * stdio-common/tmpfile.c: Likewise.
53271 * stdlib/abort.c: Likewise.
53272 * stdlib/fmtmsg.c: Likewise.
53273 * sunrpc/auth_unix.c: Likewise.
53274 * sunrpc/clnt_perr.c: Likewise.
53275 * sunrpc/clnt_tcp.c: Likewise.
53276 * sunrpc/clnt_udp.c: Likewise.
53277 * sunrpc/clnt_unix.c: Likewise.
53278 * sunrpc/openchild.c: Likewise.
53279 * sunrpc/svc_simple.c: Likewise.
53280 * sunrpc/svc_tcp.c: Likewise.
53281 * sunrpc/svc_udp.c: Likewise.
53282 * sunrpc/svc_unix.c: Likewise.
53283 * sunrpc/xdr.c: Likewise.
53284 * sunrpc/xdr_array.c: Likewise.
53285 * sunrpc/xdr_rec.c: Likewise.
53286 * sunrpc/xdr_ref.c: Likewise.
53287 * sunrpc/xdr_stdio.c: Likewise.
53288
53289 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53290
53291 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53292
53293 2011-07-03 Andreas Jaeger <aj@suse.de>
53294
53295 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53296 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53297 regenerate with gen-libm-tests.pl.
53298
53299 2010-05-12 Petr Baudis <pasky@suse.cz>
53300
53301 [BZ #11589]
53302 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53303 around j0() zero points by switching to j1().
53304 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53305 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53307 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53308
53309 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53310
53311 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53312 instead of 0.
53313 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53314 instead of 0.
53315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53316 Patch in part by Pavel Roskin <proski@gnu.org>.
53317
53318 [BZ #13138]
53319 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53320 realloc.
53321 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53322 Free memory block if necessary.
53323
53324 [BZ #12847]
53325 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53326 be NULL. Don't lock in this case.
53327
53328 2011-09-09 Roland McGrath <roland@hack.frob.com>
53329
53330 * elf/elf.h (ELFOSABI_GNU): New macro.
53331 (ELFOSABI_LINUX): Define to that.
53332
53333 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53334
53335 * string/strncat.c (strncat): Undef the symbol in case it has been
53336 defined in bits/string.h.
53337
53338 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53339
53340 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53341
53342 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53343 link map.
53344
53345 2011-08-17 Andreas Jaeger <aj@suse.de>
53346
53347 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53348
53349 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53350 Ian Lance Taylor <iant@google.com>
53351
53352 * math/libm-test.inc (lround_test): New testcase.
53353 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53354
53355 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53356
53357 * Makefile: Remove support for automatic cvs check-ins.
53358 * Makerules: Likewise.
53359 * config.make.in: Likewise.
53360 * configure.in: Likewise.
53361 * intl/Makefile: Likewise.
53362 * locale/Makefile: Likewise.
53363 * po/Makefile: Likewise.
53364 * posix/Makefile: Likewise.
53365 * sysdeps/gnu/Makefile: Likewise.
53366 * sysdeps/mach/hurd/Makefile: Likewise.
53367 * sysdeps/sparc/sparc32/Makefile: Likewise.
53368
53369 [BZ #13118]
53370 * posix/Makefile (bug-regex32-ENV): Define.
53371 Patch by John Stanley <jpsinthemix@verizon.net>.
53372
53373 * misc/Makefile (headers): Add bits/select2.h.
53374 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53375 * misc/bits/select2.h: New file.
53376 * include/bits/select2.h: New file.
53377 * debug/Makefile (routines): Add fdelt_chk.
53378 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53379 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53380 FD_ISSET.
53381 * debug/fdelt_chk.c: New file.
53382
53383 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53384 * wcsmbs/test-wmemcmp.c: Likewise.
53385 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53386 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53387
53388 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53389
53390 * string/Makefile (strop-tests): Add memcmp.
53391 * string/test-wmemcmp.c: New file.
53392 * string/test-memcmp.c: Add wmemcmp support.
53393
53394 2011-09-08 Roland McGrath <roland@hack.frob.com>
53395
53396 [BZ #13153]
53397 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53398 2011-07-19 change.
53399
53400 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53401 garbage value in a __mach_port_mod_refs call in the cases of the
53402 task-self and thread-self ports.
53403
53404 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53405
53406 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53407
53408 2011-09-08 Andreas Schwab <schwab@redhat.com>
53409
53410 * elf/dl-load.c (lose): Check for non-null L.
53411
53412 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53413
53414 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53415
53416 * elf/dl-libc.c (dlerror_run): Pass back error code from
53417 dl_catch_error.
53418
53419 [BZ #13123]
53420 * elf/dl-load.c (lose): Free l_origin if it is valid.
53421
53422 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53423 names.
53424 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53425 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53427 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53428 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53429 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53430
53431 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53432
53433 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53434 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53435 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53436 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53437 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53438 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53439 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53440 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53441 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53442 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53443
53444 2011-08-15 Alan Modra <amodra@gmail.com>
53445
53446 [BZ #13092]
53447 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53448 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53449 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53450 ppc_mcount to static-only-routines.
53451 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53452 __mcount_internal.
53453 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53454 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53455
53456 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53457
53458 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53459 for finite and infinity parameters.
53460
53461 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53462
53463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53464 and add nop instructions for throughput optimization.
53465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53466
53467 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53468
53469 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53470 aligned copy for power7 with vector-scalar instructions.
53471 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53472
53473 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53474
53475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53476 AVX check.
53477
53478 2011-09-07 Andreas Schwab <schwab@redhat.com>
53479
53480 [BZ #13144]
53481 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53482 last change.
53483
53484 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53485
53486 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53487 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53488 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53489 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53490 clock_gettime.
53491
53492 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53493
53494 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53495 Forgot to demangle the pointer.
53496
53497 * sysdeps/i386/sysdep.h: Define atom_text_section.
53498 * sysdeps/x86_64/sysdep.h: Likewise.
53499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53500 section with atom_text_section.
53501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53502 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53503 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53504 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53505 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53506
53507 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53508 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53509 already be defined. Change to take two parameters and don't assign
53510 result to variable. Adjust all users.
53511 Define INTERNAL_GETTIME if not already defined.
53512 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53513 call.
53514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53515 HAVE_CLOCK_GETTIME_VSYSCALL.
53516 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53517
53518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53519 gettimeofday vsyscall, just use time.
53520
53521 2011-09-06 Andreas Schwab <schwab@redhat.com>
53522
53523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53524 <errno.h>.
53525
53526 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53527
53528 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53529 syscall on x86-64.
53530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53531 syscall.
53532 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53533 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53534 syscall if possible.
53535
53536 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53537
53538 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53539 e_ident. Don't pass to find_mapsXX.
53540 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53541
53542 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53543
53544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53545 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53546 * sysdeps/x86_64/multiarch/strchr.S: Update.
53547 Check bit_slow_BSF bit.
53548 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53549 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53550 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53551
53552 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53553
53554 [BZ #13134]
53555 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53556 before glibc 2.15.
53557 (tryshell): Define.
53558 (__spawni): Change last parameter to be flag. Test
53559 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53560 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53561 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53562 * posix/spawni.c: Likewise.
53563 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53564 * posix/spawnp.c: Likewise. Change normal version to use
53565 SPAWN_XFLAGS_USE_PATH.
53566 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53567 SPAWN_XFLAGS_TRY_SHELL.
53568
53569 [BZ #13150]
53570 * posix/glob.h: Remove gcc 1.x support.
53571
53572 [BZ #13068]
53573 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53574
53575 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53576
53577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53578 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53579 strrchr-sse2-bsf
53580 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53581 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53582 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53583 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53584 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53585 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53586
53587 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53588
53589 * sysdeps/x86_64/wcscmp.S: New file.
53590
53591 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53592 wcscmp-c wcscmp-sse2
53593 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53594 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53595 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53596 * wcsmbs/wcscmp.c: Allow renaming.
53597
53598 2011-09-05 David S. Miller <davem@davemloft.net>
53599
53600 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53601 stack slot, rather than the struct return pointer slot.
53602 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53603 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53605 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53606
53607 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53608
53609 * po/ja.po: Update from translation team.
53610
53611 [BZ #13144]
53612 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53613 kernel in 64-bit binaries.
53614
53615 2011-09-01 David S. Miller <davem@davemloft.net>
53616
53617 * elf/elf.h (HWCAP_SPARC_*): Move to..
53618 * sysdeps/sparc/sysdep.h: this new file and add new values.
53619 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53620 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53621 _DL_HWCAP_COUNT to 24.
53622 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53623 entries.
53624 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53625 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53626 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53628 instead of magic constants.
53629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53630
53631 2011-08-31 David S. Miller <davem@davemloft.net>
53632
53633 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53634 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53635 Reimplement to do errno handling inline.
53636 (SYSCALL_ERROR_HANDLER): New macro.
53637 (__SYSCALL_STRING): Do not do errno handling in asm.
53638 (__CLONE_SYSCALL_STRING): Delete.
53639 (__INTERNAL_SYSCALL_STRING): Delete.
53640 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53641 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53642 (PSEUDO): Reimplement to do errno handling inline.
53643 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53644 (SYSCALL_ERROR_HANDLER): New macro.
53645 (__SYSCALL_STRING): Do not do errno handling in asm.
53646 (__CLONE_SYSCALL_STRING): Delete.
53647 (__INTERNAL_SYSCALL_STRING): Delete.
53648 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53649 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53650 i386.
53651 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53652 (inline_syscall*): Add 'err' argument.
53653 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53654 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53655 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53656 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53657
53658 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53659 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53660
53661 2011-08-30 Andreas Schwab <schwab@redhat.com>
53662
53663 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53664
53665 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53666
53667 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53668 directive.
53669
53670 2011-08-24 David S. Miller <davem@davemloft.net>
53671
53672 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53673
53674 2011-08-24 Andreas Schwab <schwab@redhat.com>
53675
53676 * elf/Makefile: Add rules to build and run unload8 test.
53677 * elf/unload8.c: New file.
53678 * elf/unload8mod1.c: New file.
53679 * elf/unload8mod1x.c: New file.
53680 * elf/unload8mod2.c: New file.
53681 * elf/unload8mod3.c: New file.
53682
53683 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53684 it wasn't used.
53685
53686 2011-08-23 David S. Miller <davem@davemloft.net>
53687
53688 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53689 subtract stack bias.
53690 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53691 %sp not %fp in calculations.
53692 (_JMPBUF_UNWINDS_ADJ): Likewise.
53693
53694 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53695 (aio_suspend): Call it to force an exception region around the
53696 AIO_MISC_WAIT() invocation.
53697
53698 2011-08-23 Andreas Schwab <schwab@redhat.com>
53699
53700 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53701 backslash.
53702
53703 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53704
53705 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53706 protection macro.
53707 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53708 and <dl-machine.h>.
53709 (Elf64_FuncDesc): Remove.
53710
53711 2011-08-22 David S. Miller <davem@davemloft.net>
53712
53713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53714 sigaltstack check, add missing cfi directives.
53715 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53716 missing cfi directives, and sigaltstack handling.
53717
53718 2011-08-16 Andreas Schwab <schwab@redhat.com>
53719
53720 [BZ #11724]
53721 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53722 object is seen twice.
53723 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53724
53725 * elf/Makefile (distribute): Add tst-initorder2.c.
53726 (tests): Add tst-initorder2.
53727 (modules-names): Add tst-initorder2a tst-initorder2b
53728 tst-initorder2c tst-initorder2d. Add rules to build them.
53729 ($(objpfx)tst-initorder2.out): New rule.
53730 * elf/tst-initorder2.c: New file.
53731 * elf/tst-initorder2.exp: New file.
53732
53733 2011-08-22 Andreas Schwab <schwab@redhat.com>
53734
53735 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53736
53737 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53738 dependencies back to end of function.
53739
53740 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53741 $(elfobjdir)/ld.so.
53742
53743 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53744
53745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53746 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53747 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53748 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53749 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53750 of __vdso_gettimeofday.
53751 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53752 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53753 attribute_hidden.
53754 (_libc_vdso_platform_setup): Remove initialization of
53755 __vdso_gettimeofday and __vdso_time.
53756
53757 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53758
53759 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53760 and fgetc_unlocked.
53761 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53762 getc_unlocked.
53763
53764 * elf/dl-open.c (add_to_global): Report additions to the global scope
53765 for LD_DEBUG=scopes.
53766 (dl_open_worker): Also print scope of newly loaded dependencies.
53767 (_dl_show_scope): Indicate if there is no scope.
53768
53769 [BZ #13114]
53770 * stdio-common/Makefile (tests): Add bug24.
53771 * stdio-common/bug24.c: New file.
53772
53773 2011-08-19 Andreas Jaeger <aj@suse.de>
53774
53775 [BZ #13114]
53776 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53777 non-existant file when using close-on-exec mode.
53778
53779 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53780
53781 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53782 the very first instruction.
53783
53784 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53785 the CFI state in the end.
53786 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53787 inclusion of dl-trampoline.h.
53788 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53789
53790 2011-08-19 Andreas Schwab <schwab@redhat.com>
53791
53792 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53793 expectations for long double.
53794
53795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53796 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53797
53798 2011-08-14 David S. Miller <davem@davemloft.net>
53799
53800 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53801 artificual limit depends upon the system page size.
53802
53803 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53804
53805 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53806 * resolv/Makefile: Define CFLAGS-libresolv.
53807
53808 2011-08-17 Andreas Schwab <schwab@redhat.com>
53809
53810 * nss/makedb.c (compute_tables): Make variables used in nested
53811 function static.
53812
53813 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53814
53815 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53816 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53817 if buffer was too small.
53818
53819 * elf/pldd.c (main): Attach to all threads in the process.
53820 Rewrite /proc handling to use *at functions.
53821
53822 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53823
53824 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53825 specifies first scope to show.
53826 (dl_open_worker): Update callers. Move printing scope of new
53827 object to before the relocation.
53828 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53829 * sysdeps/generic/ldsodefs.h: Update declaration.
53830
53831 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53832 string for the scope number.
53833
53834 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53835
53836 * nscd/servicescache.c (cache_addserv): Make sure written is always
53837 initialized.
53838
53839 2011-08-14 Roland McGrath <roland@hack.frob.com>
53840
53841 * sysdeps/i386/i486/bits/atomic.h
53842 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53843 statement expression, so as to suppress "set but not used" warning.
53844 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53845
53846 * string/strncat.c (STRNCAT): Use prototype definition.
53847
53848 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53849 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53850 -Iprograms here.
53851 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53852 (localedef-modules): Add localedef.
53853 (locale-modules): Add locale.
53854
53855 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53856 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53857 to avoid a warning.
53858
53859 2011-08-14 David S. Miller <davem@davemloft.net>
53860
53861 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53862 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53863
53864 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53865
53866 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53867 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53868 * elf/rtld.c (dl_main): Set l_name of vDSO.
53869 Call _dl_show_scope when DL_DEBUG_SCOPES.
53870 (process_dl_debug): Recognize scopes flag and also set it for all.
53871 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53872 Declare _dl_show_scope.
53873
53874 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53875 (do_dlopen): Pass caller_dlopen to dl_open.
53876 (__libc_dlopen_mode): Initialize caller_dlopen.
53877
53878 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53879 of libc. Make tolower call locale-independent. Optimize a bit by
53880 using isdigit instead of isalnum.
53881 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53882
53883 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53884
53885 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53886 was a dependency or dynamically loaded.
53887
53888 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53889
53890 * intl/l10nflist.c: Allow architecture-specific pop function.
53891 * sysdeps/x86_64/l10nflist.c: New file.
53892
53893 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53894 classification.
53895
53896 2011-08-10 Andreas Schwab <schwab@redhat.com>
53897
53898 * include/dirent.h: Add libc_hidden_proto for scandirat and
53899 scandirat64. Don't declare __scandirat64.
53900 * dirent/scandirat.c: Add libc_hidden_def.
53901 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53902 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53903
53904 2011-08-10 David S. Miller <davem@davemloft.net>
53905
53906 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53907 enum.
53908 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53909 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53910 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53911
53912 2011-08-09 Ulrich Drepper <drepper@gmail.com>
53913
53914 * Versions.def [libc]: Add GLIBC_2.15.
53915 * dirent/Makefile (routines): Add scandirat and scandirat64.
53916 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53917 GLIBC_2.15.
53918 * dirent/dirent.h: Declare scandirat and scandirat64.
53919 * dirent/scandirat.c: New file.
53920 * dirent/scandirat64.c: New file.
53921 * sysdeps/wordsize-64/scandirat.c: New file.
53922 * sysdeps/wordsize-64/scandirat64.c: New file.
53923 * dirent/opendir.c: Define opendirat.
53924 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53925 using scandirat.
53926 * dirent/scandir64.c: Adjust for scandir.c change.
53927 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53928 __scandirat64, and __scandir_cancel_handler.
53929 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53930 additional parameter and use openat instead of open (outside of ld.so).
53931 Add new __opendir as wrapper around __opendirat.
53932 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53933 here without requiring old scandirat implementation.
53934
53935 2011-08-08 Ulrich Drepper <drepper@gmail.com>
53936
53937 * dirent/scandir.c (cancel_handler): Renamed to
53938 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53939 defined. Adjust users.
53940 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53941 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53942
53943 2011-08-04 Ulrich Drepper <drepper@gmail.com>
53944
53945 * string/test-string.h (IMPL): Use __STRING to expand name and then
53946 stringify it.
53947
53948 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53949 of cleanups.
53950
53951 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53952
53953 * string/Makefile: Update.
53954 (strop-tests): Append strncat.
53955 * string/test-wcscmp.c: New file.
53956 New comprehensive test for wcscmp.
53957 * string/test-strcmp.c: Update.
53958 (WIDE): New define.
53959
53960 2011-07-22 Andreas Schwab <schwab@redhat.com>
53961
53962 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53963 line.
53964
53965 2011-07-26 Andreas Schwab <schwab@redhat.com>
53966
53967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53968 encoding to ACE if AI_IDN.
53969
53970 2011-08-01 Jakub Jelinek <jakub@redhat.com>
53971
53972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53973 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53974
53975 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53976
53977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53978 Fix overflow bug in strncat.
53979 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53980
53981 * string/test-strncat.c: Update.
53982 Add new tests for checking overflow bugs.
53983
53984 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53985
53986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53987 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53988 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53989 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53991 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53992 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53993 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53994 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53995
53996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53997 (USE_AS_STRCAT): Define.
53998 Add strcat and strncat support.
53999 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54000
54001 2011-07-25 Andreas Schwab <schwab@redhat.com>
54002
54003 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54004 __n bigger than INT_MAX+1.
54005 (__strncmp_g): Likewise.
54006
54007 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54008
54009 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54010 * libio/stido.h: Likewise.
54011
54012 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54013 (AF_NFC): Define.
54014 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54015 (AF_NFC): Define.
54016
54017 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54019 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54021 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54022
54023 [BZ #13021]
54024 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54025 installed.
54026
54027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54028 typo.
54029 (_dl_x86_64_save_sse): Likewise.
54030
54031 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54032
54033 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54034 OSXSAVE.
54035 (_dl_x86_64_save_sse): Likewise.
54036
54037 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54038
54039 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54040
54041 2011-07-21 Andreas Schwab <schwab@redhat.com>
54042
54043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54044 change.
54045 (_dl_x86_64_save_sse): Use correct AVX check.
54046
54047 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54048
54049 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54050 bug in strncpy/strncat.
54051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54052
54053 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54054
54055 * string/tester.c (test_strcat): Add tests for different alignments
54056 of source and destination.
54057 (test_strncat): Likewise.
54058
54059 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54060
54061 [BZ #12852]
54062 * posix/glob.c (glob): Check passed in values before using them in
54063 expressions to avoid some overflows.
54064 (glob_in_dir): Likewise.
54065
54066 [BZ #13007]
54067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54068 check for AVX enablement so that we don't crash with old kernels and
54069 new hardware.
54070 * elf/tst-audit4.c: Add same checks here.
54071 * elf/tst-audit6.c: Likewise.
54072
54073 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54074
54075 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54076
54077 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54078
54079 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54080
54081 * po/cs.po: Update from translation team.
54082 * po/bg.po: Likewise.
54083
54084 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54085
54086 * misc/sys/cdefs.h: Add support for const attribute.
54087 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54088 to gnu_dev_{major,minor,makedev} functions.
54089
54090 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54091
54092 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54093
54094 2011-07-20 Andreas Schwab <schwab@redhat.com>
54095
54096 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54097 strlen results.
54098
54099 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54100
54101 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54102 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54103 register in order to avoid conflicts with the soft frame pointer
54104 being held in r11 when necessary.
54105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54106 (INTERNAL_VSYSCALL_NCS): Likewise.
54107
54108 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54109
54110 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54111 * elf/dl-fini.c (_dl_fini): Adjust caller.
54112 * elf/dl-close.c (_dl_close_worker): Likewise.
54113 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54114
54115 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54116
54117 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54118 "aux_cache->nlibs < 0".
54119
54120 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54121 in the reload-count case.
54122
54123 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54124
54125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54126 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54127 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54128 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54129 * sysdeps/x86_64/multiarch/strcat.S: New file.
54130 * sysdeps/x86_64/multiarch/strncat.S: New file.
54131 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54132 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54133 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54134 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54136 (USE_AS_STRCAT): Define.
54137 Add strcat and strncat support.
54138 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54139 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54140 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54141 * string/strncat.c: Update.
54142 (USE_AS_STRNCAT): Define.
54143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54144 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54145 and i7.
54146 * sysdeps/x86_64/multiarch/init-arch.h
54147 (bit_Prefer_PMINUB_for_stringop): New.
54148 (index_Prefer_PMINUB_for_stringop): Likewise.
54149 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54150 bit_Prefer_PMINUB_for_stringop.
54151
54152 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54153
54154 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54155 buffer64.
54156 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54157 of casting of buffer.
54158 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54159 buffer32 and buffer64.
54160 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54161 writes instead of casting of buffer.
54162 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54163 buffer32.
54164 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54165 casting of buffer.
54166
54167 2011-07-19 Andreas Schwab <schwab@redhat.com>
54168
54169 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54170
54171 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54172
54173 * nscd/nscd.c (termination_handler): Don't do anything for a database
54174 if it has not yet been initialized.
54175
54176 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54177
54178 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54179
54180 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54181
54182 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54183
54184 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54185
54186 * po/nl.po: Update from translation team.
54187 * po/sv.po: Likewise.
54188
54189 2011-07-16 Roland McGrath <roland@hack.frob.com>
54190
54191 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54192 now disallowed by GCC.
54193
54194 * configure.in (use-default-link): Default to yes if a test -shared
54195 link meets our qualifications.
54196 * configure: Regenerated.
54197
54198 * config.make.in (output-format): New variable.
54199 * configure.in: Check for ld --print-output-format support.
54200 * configure: Regenerated.
54201 * Makerules ($(common-objpfx)format.lds)
54202 [$(output-format) != unknown]: Just use $(output-format),
54203 instead of the linker-script munging.
54204
54205 2011-07-14 Roland McGrath <roland@hack.frob.com>
54206
54207 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54208 of $(common-objpfx)shlib.lds.
54209 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54210
54211 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54212 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54213
54214 * configure.in (-z relro check): Adjust test code to add a large
54215 writable data section after it.
54216 * configure: Regenerated.
54217
54218 2011-07-11 Roland McGrath <roland@hack.frob.com>
54219
54220 * configure.in (-z relro check): Fix test code to make the variable
54221 truly const.
54222 * configure: Regenerated.
54223
54224 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54225
54226 * nscd/nscd.h (struct traced_file): Define.
54227 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54228 elements. Add traced_files.
54229 (inotify_fd): Declare.
54230 (register_traced_file): Declare.
54231 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54232 (inotify_fd): Export.
54233 (resolv_conf_descr): Remove.
54234 (nscd_init): Move inotify descriptor creation to main.
54235 Don't register files for notification here.
54236 (register_traced_file): New function.
54237 (invalidate_cache): Don't use reset_res to determine whether to call
54238 res_init, go through the list of registered files.
54239 (main_loop_poll): The inotify descriptors are now stored in the
54240 structures for the traced files.
54241 (main_loop_epoll): Likewise
54242 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54243 to __nss_disable_nscd.
54244 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54245 for a database anymore. Check the records for all the registered
54246 files instead.
54247 * nss/Makefile (libnss_files-routines): Add files-init.
54248 (libnss_db-routines): Add db-init.
54249 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54250 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54251 * nss/nss_db/db-init.c: New file.
54252 * nss/nss_files/files-init.c: New file.
54253 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54254 __nss_lookup_function.
54255 (__nss_lookup_function): Call nss_load_library.
54256 (nss_load_all_libraries): New function.
54257 (__nss_disable_nscd): Take parameter with callback function for files
54258 to register. Set is_nscd. Load all the DSOs for the NSS modules
54259 used for the cached services.
54260 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54261 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54262 options for features to all the files in nscd.
54263
54264 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54265
54266 2011-07-10 Roland McGrath <roland@hack.frob.com>
54267
54268 * csu/elf-init.c (__libc_csu_init): Comment typo.
54269
54270 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54271
54272 * po/pl.po: Update from translation team.
54273 * po/ja.po: Likewise.
54274 * po/ru.po: Likewise.
54275 * po/ko.po: Likewise.
54276 * po/fr.po: Likewise.
54277
54278 2011-07-09 Roland McGrath <roland@hack.frob.com>
54279
54280 * configure.in (.ctors/.dtors header and trailer check):
54281 Use an empirical test on a built program.
54282 * configure: Regenerated.
54283
54284 * configure.in (-z relro check): Use an empirical test on a built DSO.
54285 Detect, but do not require, on ia64.
54286 * configure: Regenerated.
54287
54288 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54289 Update tests that use readelf to use $READELF instead.
54290 * configure: Regenerated.
54291
54292 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54293
54294 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54295 if the result is not used.
54296
54297 2011-07-05 Andreas Jaeger <aj@suse.de>
54298
54299 [BZ#9696]
54300 * stdlib/tst-strtod.c: Add testcase.
54301
54302 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54303
54304 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54305 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54306 The latter has a higher limit. Take additional parameter to pass to
54307 the new function.
54308 (__pathconf): Pass file to __statfs_link_max.
54309 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54310 __statfs_link_max.
54311 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54312 __statfs_link_max.
54313
54314 [BZ #12868]
54315 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54316 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54317 Handle Lustre.
54318 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54319 (__statfs_filesize_max): Likewise.
54320 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54321
54322 2011-07-05 Andreas Jaeger <aj@suse.de>
54323
54324 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54325
54326 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54327
54328 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54329 `status' variable.
54330 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54331 Likewise.
54332
54333 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54334
54335 * Makefile (strop-tests): Add strncat.
54336 * string/test-strncat.c: New file.
54337
54338 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54339
54340 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54341
54342 2011-06-21 Andreas Jaeger <aj@suse.de>
54343
54344 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54345 Copy rule from iconvdata/Makefile.
54346
54347 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54348
54349 [BZ #12922]
54350 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54351 but no long options are defined, just return 'W'.
54352
54353 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54354
54355 [BZ #9696]
54356 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54357
54358 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54359
54360 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54361 netgroups to read.
54362 (innetgr): Likewise.
54363
54364 2011-07-05 Roland McGrath <roland@hack.frob.com>
54365
54366 * config.make.in (install_root): Default to $(DESTDIR).
54367
54368 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54369
54370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54371
54372 2011-07-02 Roland McGrath <roland@hack.frob.com>
54373
54374 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54375
54376 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54377 containing directory rather than embedding absolute directory names.
54378
54379 * scripts/check-local-headers.sh: Rewritten using awk.
54380 Match by word, not by line. Print error messages for matches.
54381 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54382
54383 * Makerules [shlib-lds-flags empty]:
54384 ($(common-objpfx)libc_pic.opts): New target.
54385 ($(common-objpfx)libc_pic.os.clean): New target.
54386 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54387
54388 * config.make.in (OBJCOPY): New variable.
54389 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54390 * configure: Regenerated.
54391
54392 * config.make.in (use-default-link): New variable.
54393 * configure.in (use_default_link): Grok --with-default-link to set it.
54394 * configure: Regenerated.
54395 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54396 (shlib-lds, shlib-lds-flags): Define to empty.
54397
54398 * Makerules (shlib-lds): New variable.
54399 (shlib-lds-flags): New variable.
54400 (build-shlib, build-moduile, build-module-asneeded): Use it.
54401 ($(common-objpfx)libc.so): Use $(shlib-lds).
54402 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54403 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54404
54405 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54406 DT_FLAGS/DT_FLAGS_1 with zero flags.
54407
54408 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54409 linker script munging.
54410
54411 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54412
54413 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54414 as 128-bit value.
54415 * crypt/sha512.c (sha512_process_block): Perform total addition using
54416 128-bit if possible.
54417 (__sha512_finish_ctx): Likewise.
54418 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54419 as 64-bit value.
54420 * crypt/sha256.c (SWAP64): Define.
54421 (sha256_process_block): Perform total addition using 64-bit if
54422 possible.
54423 (__sha256_finish_ctx): Likewise.
54424
54425 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54426
54427 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54429 * nscd/hstcache.c (cache_addhst): Likewise.
54430 * nscd/grpcache.c (cache_addgr): Likewise.
54431 * nscd/aicache.c (addhstaiX): Likewise
54432 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54433
54434 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54435
54436 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54438 * nscd/hstcache.c (cache_addhst): Likewise.
54439 * nscd/grpcache.c (cache_addgr): Likewise.
54440 * nscd/aicache.c (addhstaiX): Likewise
54441
54442 2011-07-01 Andreas Schwab <schwab@redhat.com>
54443
54444 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54445 domain only when needed.
54446
54447 2011-06-30 Andreas Schwab <schwab@redhat.com>
54448
54449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54450 is always restored.
54451
54452 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54453
54454 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54455 are re-adding the entry.
54456 * nscd/servicescache.c (cache_addserv): Likewise.
54457
54458 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54459
54460 * sysdeps/generic/dl-irel.h: fix protection against multiple
54461 inclusions.
54462 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54463
54464 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54465
54466 [BZ #12935]
54467 * malloc/memusage.sh: Fix quoting in message.
54468 * debug/xtrace.sh: Likewise.
54469
54470 * configure.in: Remove support for --experimental-malloc option, make
54471 it the default.
54472 * config.make.in: Likewise.
54473 * malloc/Makefile: Likewise.
54474
54475 2011-06-27 Andreas Schwab <schwab@redhat.com>
54476
54477 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54478 two-byte characters.
54479
54480 2011-06-27 Roland McGrath <roland@hack.frob.com>
54481
54482 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54483 AC_CACHE_CHECK invocation.
54484 * configure: Regenerated.
54485
54486 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54487
54488 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54489
54490 [BZ #12350]
54491 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54492 bit from old_res_options.
54493
54494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54495
54496 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54497 value type for setfct.
54498
54499 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54500
54501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54502 __gettimeofday instead of gettimeofday.
54503
54504 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54505
54506 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54507
54508 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54509
54510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54511
54512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54513 info.
54514
54515 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54516
54517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54518 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54519 strcpy-sse2-unaligned strncpy-sse2-unaligned
54520 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54521 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54522 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54523 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54524 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54525 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54527 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54528 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54529 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54530 (STRCPY): Support SSE2 and SSSE3 versions.
54531
54532 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54533
54534 [BZ #12874]
54535 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54536 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54537 kernels which artificially limit size of requests.
54538
54539 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54540
54541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54542 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54543 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54544 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54545 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54546 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54547 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54548 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54549 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54551 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54552 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54553 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54554 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54555 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54557 Enable unaligned load optimization for Intel Core i3, i5 and i7
54558 processors.
54559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54560 Define.
54561 (index_Fast_Unaligned_Load): Define.
54562 (HAS_FAST_UNALIGNED_LOAD): Define.
54563
54564 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54565
54566 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54567
54568 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54569
54570 [BZ #12907]
54571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54572 until it is clear that the information is realy needed.
54573 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54574
54575 2011-06-22 Andreas Schwab <schwab@redhat.com>
54576
54577 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54578
54579 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54580
54581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54582 /sys/devices/system/cpu/online if it is usable.
54583
54584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54585 reading the information from the /proc filesystem to once a second.
54586
54587 2011-06-21 Andreas Jaeger <aj@suse.de>
54588
54589 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54590 NULL after inclusion of kernel headers.
54591
54592 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54593
54594 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54595 calls to internal_setent.
54596
54597 [BZ #12885]
54598 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54599 addresses using gethostbyname4_r ignore IPv4 addresses.
54600
54601 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54602 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54603
54604 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54605
54606 2011-06-20 David S. Miller <davem@davemloft.net>
54607
54608 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54609 inclusions.
54610 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54611
54612 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54613 (elf_irel): Use it.
54614 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54615 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54616 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54617 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54618 * sysdeps/x86_64/dl-irel.h: Likewise.
54619
54620 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54621 * elf/dl-sym.c: Likewise.
54622
54623 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54624
54625 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54626 need to dereference resplen2.
54627
54628 2011-06-14 Andreas Schwab <schwab@redhat.com>
54629
54630 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54631
54632 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54633
54634 * Makeconfig: Define vardbdir and inst_vardbdir.
54635 * nss/Makefile: Add rules to install db-Makefile.
54636
54637 * nss/nss_db/db-XXX.c: Cleanup.
54638
54639 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54640 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54641 GLIBC_PRIVATE.
54642 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54643 * nss/makedb.c: Implement -g option to specify that value strings
54644 are generated and should not be added to table iterated over for
54645 get*ent calls.
54646 * nss/nss_db/db-initgroups.c: New file.
54647
54648 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54649 interface.
54650
54651 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54652 (internal_getgrouplist): Adjust to name change.
54653 Update use_initgroups_entry if this is not the first call.
54654 * nss/databases.def: Add initgroups entry.
54655
54656 * nss/makedb.c (compute_tables): Check result of multiple hash table
54657 sizes to minimize maximum chain length.
54658
54659 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54660
54661 * Versions.def: Add entry for libnss_db.
54662 * shlib-versions: Likewise.
54663 * nss/Makefile: Add rules to build libnss_db.
54664 * nss/Versions: Add libnss_db information. Organize libnss_files
54665 entries better.
54666 * nss/db-Makefile: Add gshadow support. Change rules for the new
54667 makedb progra. Some minor improvements to generate smaller files.
54668 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54669 here from...
54670 * nss/makedb.c: ...here.
54671 Improve database format to be smaller and require less memory at
54672 runtime.
54673 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54674 db anymore.
54675 * nss/nss_db/db-netgrp.c: Likewise.
54676 * nss/nss_db/db-open.c: Likewise.
54677 * nss/nss_files/flies-XXX.x: Adjust comments.
54678 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54679 * nss/nss_files/files-grp.c: Likewise.
54680 * nss/nss_files/files-hosts.c: Likewise.
54681 * nss/nss_files/files-network.c: Likewise.
54682 * nss/nss_files/files-proto.c: Likewise.
54683 * nss/nss_files/files-pwd.c: Likewise.
54684 * nss/nss_files/files-rpc.c: Likewise.
54685 * nss/nss_files/files-service.c: Likewise.
54686 * nss/nss_files/files-sgrp.c: Likewise.
54687 * nss/nss_files/files-spwd.c: Likewise.
54688 * nss/nss_db/db-alias.c: Removed.
54689 * nss/nss_db/dummy-db.h: Removed.
54690
54691 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54692
54693 * nss/makedb.c: Rewritten to not use database library.
54694 * nss/Makefile: Update to build new makedb program.
54695
54696 2011-06-14 Andreas Jaeger <aj@suse.de>
54697
54698 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54699 memset declaration.
54700
54701 2011-06-10 Andreas Schwab <schwab@redhat.com>
54702
54703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54704 tmpbuf.
54705
54706 2011-06-10 Roland McGrath <roland@hack.frob.com>
54707
54708 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54709 * elf/Makefile ($(objpfx)ld.so): Likewise.
54710
54711 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54712 Don't list ld.so twice in dependencies.
54713
54714 * posix/bug-regex31.c: Include <stdlib.h>.
54715
54716 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54717
54718 * nis/nss_compat/compat-spwd.c
54719 (getspent_next_nss_netgr): Remove unused variable.
54720 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54721
54722 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54723 nonmembers" output to use the right array.
54724
54725 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54726
54727 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54728
54729 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54730 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54731 * catgets/gencat.c (read_input_file): Likewise.
54732 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54733
54734 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54735 variable definition inside #if's controlling its use.
54736
54737 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54738
54739 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54740
54741 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54742
54743 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54744 unreachable code.
54745
54746 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54747
54748 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54749 * configure: Regenerated.
54750
54751 * Makerules: Revert last change.
54752 * elf/Makefile: Likewise.
54753
54754 2011-06-09 Roland McGrath <roland@hack.frob.com>
54755
54756 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54757 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54758 (reloc-link): Likewise.
54759
54760 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54761
54762 * elf/Makefile: Add rules to build pldd.
54763 * elf/pldd.c: New file.
54764 * elf/pldd-xx.c: New file.
54765
54766 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54767
54768 * version.h: Update for 2.15 development version.
54769
54770 2011-06-07 David S. Miller <davem@davemloft.net>
54771
54772 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54773 ifuncs.
54774 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54775 elf_machine_lazy_rel): Likewise.
54776 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54777 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54778 elf_machine_lazy_rel): Likewise.
54779 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54780 dl_hwcap via passed in argument.
54781 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54782 Likewise.
54783
54784 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54785
54786 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54787
54788 2011-06-06 Roland McGrath <roland@hack.frob.com>
54789
54790 [BZ #12849]
54791 * manual/fdl-1.1.texi: New file, verbatim from:
54792 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54793 * manual/lgpl-2.1.texi: New file, verbatim from:
54794 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54795 * manual/Makefile (licenses): New variable, list those new file names.
54796 (texis): Use it.
54797 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54798
54799 * manual/fdl.texi: File removed.
54800 * manual/lesser.texi: File removed.
54801 * manual/libc.texinfo (Copying, Documentation License):
54802 Use new @include file names, put @appendix directive before @include.
54803
54804 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54805
54806 [BZ #12841]
54807 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54808 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54809 (mq_open): Add __NTH.
54810
54811 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54812
54813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54814 Assume Intel Core i3/i5/i7 processor if AVX is available.
54815
54816 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54817
54818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54819 typo.
54820
54821 2011-05-31 Andreas Schwab <schwab@redhat.com>
54822
54823 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54824 memory. Use alloca_account. Fix memory leak when retrying.
54825
54826 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54827
54828 * version.h (RELEASE): Bump for 2.14 release.
54829 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54830
54831 * config.make.in (RANLIB): Remove entry.
54832
54833 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54834
54835 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54836 (libc.pot): Work around missing support for .ksh extension in xgettext.
54837
54838 [BZ #12684]
54839 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54840 if both request failed.
54841 (send_dg): In case of server errors clear resplen or *resplen2.
54842
54843 [BZ #12454]
54844 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54845 when there are multiple maps.
54846 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54847 (_dl_fini): Remove test here.
54848
54849 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54850
54851 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54852
54853 [BZ #12350]
54854 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54855 bit from old_res_options.
54856 (gaih_inet): Likewise.
54857
54858 [BZ #11099]
54859 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54860 as signed.
54861
54862 * resolv/res_init.c (res_setoptions): Make the code more compact.
54863
54864 [BZ #11558]
54865 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54866 set RES_USEVC.
54867
54868 [BZ #11634]
54869 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54870
54871 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54872
54873 [BZ #11781]
54874 * malloc/malloc.h: Declare malloc hook variables as volatile.
54875
54876 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54877 in last patch.
54878
54879 [BZ #11799]
54880 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54881 raise in the comment.
54882 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54883 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54884 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54885
54886 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54887
54888 [BZ #12811]
54889 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54890 grow the buffers more if it already has to be sufficient.
54891 (build_wcs_upper_buffer): Likewise.
54892 * posix/regexec.c (check_matching): Likewise.
54893 (clean_state_log_if_needed): Likewise.
54894 (extend_buffers): Don't enlarge buffers beyond size of the input
54895 buffer.
54896 Patches mostly by Emil Wojak <emil@wojak.eu>.
54897 * posix/bug-regex32.c: New file.
54898 * posix/Makefile (tests): Add bug-regex32.
54899
54900 * locale/findlocale.c (_nl_find_locale): Return right away if
54901 _nl_explode_name failed.
54902 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54903
54904 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54905
54906 * debug/xtrace.sh: Unify messages.
54907 * malloc/memusage.sh: Likewise.
54908
54909 [BZ #12813]
54910 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54911 time symbol from vDSO. Substitute with vsyscall if not available.
54912 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54913 __vdso_time.
54914
54915 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54916 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54917 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54918 Add sendmmsg and internal_sendmmsg.
54919 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54920 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54921 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54922
54923 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54924 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54925 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54926
54927 2011-05-27 Ulrich Drepper <drepper@gmail.com>
54928
54929 [BZ #12813]
54930 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54931 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54932 available.
54933 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54934 __vdso_getcpu.
54935
54936 [BZ #12814]
54937 * iconvdata/Makefile (tests): Add bug-iconv9.
54938 * iconvdata/bug-iconv9.c: New file.
54939
54940 2011-05-27 Andreas Schwab <schwab@redhat.com>
54941
54942 [BZ #12814]
54943 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54944
54945 2011-05-25 Jakub Jelinek <jakub@redhat.com>
54946
54947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54948 (struct user_regs_struct): Change intcs field back to cs.
54949
54950 2011-05-25 Ulrich Drepper <drepper@gmail.com>
54951
54952 * po/ja.po: Update from translation team.
54953
54954 2011-05-23 Ulrich Drepper <drepper@gmail.com>
54955
54956 [BZ #12795]
54957 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54958 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54959
54960 2011-05-20 Andreas Schwab <schwab@redhat.com>
54961
54962 * stdlib/longlong.h: Update from GCC.
54963
54964 2011-05-23 Andreas Schwab <schwab@redhat.com>
54965
54966 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54967 parameter name.
54968 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54969 Add parameter name.
54970 (__sysconf): Pass it down.
54971
54972 2011-05-22 Ulrich Drepper <drepper@gmail.com>
54973
54974 [BZ #12671]
54975 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54976 some situations.
54977 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54978 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54979 add in in __libc_use_alloca calls. Adjust callers.
54980 (glob): Use malloc in some situations.
54981
54982 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54983 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54984 pltexit.
54985
54986 2011-05-21 Ulrich Drepper <drepper@gmail.com>
54987
54988 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54989 and CLOCK_BOOTTIME_ALARM.
54990
54991 [BZ #12782]
54992 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54993 is returned.
54994
54995 * string/_strerror.c (__strerror_r): Print negative errors as signed
54996 numbers.
54997
54998 [BZ #12777]
54999 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55000 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55001 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55002
55003 * configure.in: Fix typo in redirection and correct removal of test
55004 files in two cases.
55005
55006 [BZ #12788]
55007 * locale/setlocale.c (new_composite_name): Fix test to check for
55008 identical name of all categories.
55009
55010 [BZ #12792]
55011 * libio/filedoalloc.c (local_isatty): New function.
55012 (_IO_file_doallocate): Use local_isatty.
55013 * stdio-common/perror.c (perror): In case a new stream is used
55014 forward the stream error.
55015 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55016 error flag.
55017
55018 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55019
55020 [BZ #11869]
55021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55022 alloca.
55023 * include/alloca.h (extend_alloca_account): Define.
55024
55025 [BZ #11857]
55026 * posix/regex.h: Fix comments with documentation of user-accessible
55027 fields after compilation and describe correct free'ing of pattern
55028 after re_compile_pattern.
55029 Patch by Reuben Thomas <rrt@sc3d.org>.
55030
55031 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55032
55033 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55034 and -mno-altivec to prevent the compiler from using Altivec and/or
55035 VSX instructions when the corresponding registers are not available.
55036
55037 2011-05-19 Andreas Schwab <schwab@redhat.com>
55038
55039 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55040
55041 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55042
55043 * libio/freopen.c (freopen): Use __dup2, not dup2.
55044 * libio/freopen64.c (freopen64): Likewise.
55045
55046 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55047
55048 [BZ #12775]
55049 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55050 * math/Makefile (tests): Add test-powl.
55051 (CFLAGS-test-powl.c): Define.
55052 * math/test-powl.c: New file.
55053
55054 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55055
55056 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55057
55058 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55059
55060 [BZ #11837]
55061 * iconvdata/gb18030.c: Update to GB18020-2005.
55062
55063 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55064
55065 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55066 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55067 Patch by Aharon Robbins <arnold@skeeve.com>.
55068
55069 [BZ #11892]
55070 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55071 on the stack.
55072
55073 [BZ #11895]
55074 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55075 through underflows.
55076
55077 [BZ #12766]
55078 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55079 point to strings before performing equality test for error_one_per_line
55080 mode.
55081
55082 [BZ #11697]
55083 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55084
55085 [BZ #11820]
55086 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55087 (struct user_fpregs_struct): Avoid __uint*_t types.
55088
55089 [BZ #6420]
55090 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55091 symbol info. Use it instead of calling _dl_addr locally.
55092 (lock_and_info): New function.
55093 (tr_freehook): Call lock_and_info and pass symbol info as additional
55094 parameter to tr_where.
55095 (tr_mallochook): Likewise.
55096 (tr_reallochook): Likewise.
55097 (tr_memalignhook): Likewise.
55098
55099 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55100 used and couldn't be at all thread-safe.
55101
55102 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55103
55104 * libio/freopen.c (freopen): Don't close old file descriptor
55105 before the new one is opened. Instead dup the new file descriptor
55106 to the old one after the new stream is created.
55107 * libio/freopen64.c (freopen64): Likewise.
55108 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55109 * libio/fileops.c (_IO_new_file_close_it): Handle new
55110 _IO_FLAGS2_NOCLOSE flag.
55111 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55112 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55113 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55114 _IO_FLAGS2_NOCLOSE flag.
55115 * include/unistd.h: Add hidden_proto for dup3.
55116 Define __have_dup3.
55117 * io/dup3.c: Define hidden symbol.
55118 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55119
55120 [BZ #7101]
55121 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55122 when an incomplete long option is used.
55123 * posix/tst-getopt_long1.c: New file.
55124 * posix/Makefile (tests): Add tst-getopt_long1.
55125
55126 [BZ #10138]
55127 * scripts/config.guess: Update from autoconf-2.68.
55128 * scripts/config.sub: Likewise.
55129
55130 [BZ #10157]
55131 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55132 tests into ...
55133 (has_cpuclock): ...this. New function.
55134 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55135 macro here based on has_cpuclock code.
55136
55137 [BZ #10149]
55138 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55139 First byte (not low byte) is now always NUL.
55140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55141
55142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55143 Use non-cancelable interfaces.
55144
55145 [BZ #9809]
55146 * locale/iso-639.def: Add entry for Sorani.
55147
55148 [BZ #11901]
55149 * include/stdlib.h: Move include protection to the right place.
55150 Define abort_msg_s. Declare __abort_msg with it.
55151 * stdlib/abort.c (__abort_msg): Adjust type.
55152 * assert/assert.c (__assert_fail_base): New function. Majority
55153 of code from __assert_fail. Allocate memory for __abort_msg with
55154 mmap.
55155 (__assert_fail): Now call __assert_fail_base.
55156 * assert/assert-perr.c: Remove bulk of implementation. Use
55157 __assert_fail_base.
55158 * include/assert.hL Declare __assert_fail_base.
55159 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55160 mmap.
55161 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55162
55163 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55164
55165 [BZ #11952]
55166 [BZ #12453]
55167 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55168 until all modules are registered in the DTV.
55169 * elf/Makefile: Add rules to build and run tst-tls19.
55170 * elf/tst-tls19.c: New file.
55171 * elf/tst-tls19mod1.c: New file.
55172 * elf/tst-tls19mod2.c: New file.
55173 * elf/tst-tls19mod3.c: New file.
55174 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55175
55176 [BZ #12083]
55177 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55178 correctly.
55179
55180 [BZ #12601]
55181 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55182 two-byte sequence errors.
55183 * iconvdata/Makefile (tests): Add bug-iconv8.
55184 * iconvdata/bug-iconv8.c: New file.
55185
55186 [BZ #12626]
55187 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55188 buf2 definition.
55189
55190 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55191
55192 [BZ #12432]
55193 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55194 (dummy_getcfa): New function.
55195 (init): Get _Unwind_GetCFA address, use dummy if not found.
55196 (backtrace_helper): In recursion check, also check whether CFA changes.
55197 (__backtrace): Completely initialize arg.
55198
55199 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55200 storing incomplete byte sequence in state object. Avoid testing for
55201 guaranteed too small input if we know there is enough data available.
55202
55203 2011-05-11 Andreas Schwab <schwab@redhat.com>
55204
55205 * Makeconfig (+link-pie): Indent.
55206 * Rules (binaries-pie): Define if $(have-fpie) and
55207 $(build-shared).
55208 (binaries-shared): Also filter out $(binaries-pie).
55209 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55210 * nscd/Makefile (others-pie): Add nscd.
55211 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55212 ($(objpfx)nscd): Remove command override.
55213 * login/Makefile (others-pie): Add pt_chown.
55214 ($(objpfx)pt_chown): Remove command override.
55215 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55216 remove command overrides.
55217
55218 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55219
55220 * libio/tst_putwc.c: Fix error messages.
55221
55222 [BZ #12724]
55223 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55224 currently writing and seek to current position when not.
55225 * libio/Makefile (tests): Add bug-fclose1.
55226 * libio/bug-fclose1.c: New file.
55227
55228 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55229
55230 [BZ #12511]
55231 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55232 don't set DF_1_NODELETE here.
55233 (do_lookup_x): When entering new entry test for copy relocation
55234 and if necessary set DF_1_NODELETE flag.
55235 * elf/tst-unique4.cc: New file.
55236 * elf/tst-unique4.h: New file.
55237 * elf/tst-unique4lib.cc: New file.
55238 * elf/Makefile: Add rules to build and run tst-unique4.
55239 Patch by Piotr Bury <pbury@goahead.com>.
55240
55241 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55242
55243 [BZ #12052]
55244 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55245
55246 [BZ #12625]
55247 * misc/mntent_r.c (addmntent): Flush the stream after the output
55248
55249 [BZ #12393]
55250 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55251 (is_trusted_path_normalize): Skip initial colon. Append slash
55252 to empty buffer. Duplicate is_trusted_path code but allow
55253 constructed patch to be prefix.
55254 (is_dst): Allow $ORIGIN followed by /.
55255 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55256 Correct testing of result of is_trusted_path_normalize
55257 (decompose_rpath): Fix warning.
55258
55259 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55260
55261 [BZ #11257]
55262 * grp/initgroups.c (internal_getgrouplist): When we found the service
55263 list through the initgroups entry in nsswitch.conf do not always
55264 continue on a successful lookup. Don't always use the
55265 __nss_group_database value if it is set.
55266 * nss/nsswitch.conf (initgroups): Change action for successful db
55267 lookup to continue for compatibility.
55268
55269 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55270
55271 [BZ #11532]
55272 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55273 and CP774 modules.
55274 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55275 and CP774 modules.
55276 * iconvdata/tst-tables.sh: Likewise.
55277 * iconvdata/cp770.c: New file.
55278 * iconvdata/cp771.c: New file.
55279 * iconvdata/cp772.c: New file.
55280 * iconvdata/cp773.c: New file.
55281 * iconvdata/cp774.c: New file.
55282 * iconvdata/testdata/CP770: New file.
55283 * iconvdata/testdata/CP770..UTF8: New file.
55284 * iconvdata/testdata/CP771: New file.
55285 * iconvdata/testdata/CP771..UTF8: New file.
55286 * iconvdata/testdata/CP772: New file.
55287 * iconvdata/testdata/CP772..UTF8: New file.
55288 * iconvdata/testdata/CP773: New file.
55289 * iconvdata/testdata/CP773..UTF8: New file.
55290 * iconvdata/testdata/CP774: New file.
55291 * iconvdata/testdata/CP774..UTF8: New file.
55292
55293 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55294 END CHARMAP line.
55295 * iconvdata/gen-8bit-gap.sh: Likewise.
55296 * iconvdata/gen-8bit.sh: Likewise.
55297
55298 * locale/iso-639.def: Add ary entry.
55299
55300 [BZ #11258]
55301 * locale/C-translit.h.in: Add U20A1 transliteration.
55302
55303 [BZ #12178]
55304 * locale/iso-639.def: Add wae entry.
55305 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55306
55307 [BZ #12545]
55308 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55309 for n.
55310
55311 [BZ #12711]
55312 * locale/C-translit.h.in: Add entry for U20B9.
55313 Patch by pravin.d.s@gmail.com.
55314
55315 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55316
55317 [BZ #12713]
55318 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55319 ENAMETOOLONG use generic getcwd.
55320 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55321 in rtld. Use *stat64.
55322 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55323 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55324 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55325 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55326 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55327 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55328 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55329 __fstatat64 macros.
55330 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55331 * dirent/rewinddir.c: Add libc_hidden_def.
55332 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55333 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55334
55335 * include/dirent.h (__alloc_dir): Add flags parameter.
55336 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55337 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55338 __alloc_dir.
55339 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55340 from fdopendir if O_CLOEXEC is already set.
55341
55342 2011-03-15 Alan Modra <amodra@gmail.com>
55343
55344 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55345 l_tls_firstbyte_offset non-zero. Save padding offset in
55346 l_tls_firstbyte_offset for later use.
55347 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55348 freeing static tls block.
55349
55350 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55351
55352 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55353 where #ifdef was intended. The intent is to prevent ARG_MAX from
55354 being defined by the kernel headers.
55355
55356 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55357
55358 [BZ #12734]
55359 * resolv/resolv.h: Define RES_NOTLDQUERY.
55360 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55361 no-tld-query and set RES_NOTLDQUERY.
55362 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55363 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55364 modern BIND to search name as TLD unless forbidden.
55365
55366 2011-05-07 Petr Baudis <pasky@suse.cz>
55367 Ulrich Drepper <drepper@gmail.com>
55368
55369 [BZ #12393]
55370 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55371 (is_trusted_path): ...to here.
55372 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55373 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55374 using is_trusted_path_normalize() in setuid scripts.
55375
55376 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55377
55378 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55379 __BEGIN/__END_DECLS.
55380
55381 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55382
55383 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55384 NSS_STATUS_NOTFOUND if no record was found.
55385
55386 2011-05-05 Andreas Schwab <schwab@redhat.com>
55387
55388 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55389 (headers-not-in-tirpc): Remove rpc/netdb.h
55390 * resolv/netdb.h: Revert last change.
55391
55392 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55393
55394 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55395 circular dependency between libgcc.a and libc.a.
55396
55397 2011-05-05 Andreas Schwab <schwab@redhat.com>
55398
55399 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55400 * nis/Makefile: Don't install rpcsvc/*.
55401 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55402 instead of <rpc/types.h>.
55403 (MAXHOSTNAMELEN): Define.
55404
55405 2011-05-03 Andreas Schwab <schwab@redhat.com>
55406
55407 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55408
55409 2011-04-28 Maciej Babinski <mbabinski@google.com>
55410
55411 [BZ #12714]
55412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55413 gethostbyname4_r when IPv6 results are possible.
55414
55415 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55416
55417 [BZ #12723]
55418 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55419 _PC_PIPE_BUF handling.
55420
55421 2011-04-30 Bruno Haible <bruno@clisp.org>
55422
55423 [BZ #12717]
55424 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55425 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55426 to 'int'.
55427 * inet/getnameinfo.c (getnameinfo): Likewise.
55428
55429 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55430
55431 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55432 to groups setting in database lookup.
55433 * nss/nsswitch.conf: Add initgroups entry.
55434
55435 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55436
55437 [BZ #12685]
55438 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55439 mode string.
55440 Patch by Eric Blake <eblake@redhat.com>.
55441
55442 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55443
55444 * sunrpc/Makefile (need-export-routines): Add svc_run.
55445 (routines): Remove svc_run.
55446 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55447 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55448 * sunrpc/svc_run.c (svc_run): Likewise.
55449 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55450
55451 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55452
55453 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55454 problem in reallocation in last patch.
55455
55456 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55457
55458 * sunrpc/Makefile: Move inclusion of Rules.
55459
55460 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55461
55462 * nss/nss_files/files-initgroups.c: New file.
55463 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55464 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55465 _nss_files_initgroups_dyn.
55466
55467 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55468
55469 * elf/elf.h (R_ARM_IRELATIVE): Define.
55470
55471 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55472
55473 * po/ru.po: Update from translation team.
55474
55475 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55476
55477 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55478 dependencies.
55479
55480 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55481
55482 [BZ #12653]
55483 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55484 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55485 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55488
55489 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55490
55491 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55492 differing bytes.
55493 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55494 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55496
55497 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55498
55499 [BZ #12420]
55500 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55501 storing it.
55502 * stdlib/bug-getcontext.c: New file.
55503 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55504
55505 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55506
55507 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55508 instructions into .machine "z9-109".
55509 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55510 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55511
55512 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55513
55514 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55515 between environment variables and auxiliary vector.
55516
55517 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55518
55519 * Makefile: Add rules to build linkobj/libc.so.
55520 * include/libc-symbols.h: Define libc_hidden_nolink.
55521 * include/rpc/auth.h: Mark functions which are to be hidden.
55522 * include/rpc/auth_des.h: Likewise.
55523 * include/rpc/auth_unix.h: Likewise.
55524 * include/rpc/clnt.h: Likewise.
55525 * include/rpc/des_crypt.h: Likewise.
55526 * include/rpc/key_prot.h: Likewise.
55527 * include/rpc/pmap_clnt.h: Likewise.
55528 * include/rpc/pmap_prot.h: Likewise.
55529 * include/rpc/pmap_rmt.h: Likewise.
55530 * include/rpc/rpc_msg.h: Likewise.
55531 * include/rpc/svc.h: Likewise.
55532 * include/rpc/svc_auth.h: Likewise.
55533 * include/rpc/xdr.h: Likewise.
55534 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55535 * nss/Makefile: Likewise.
55536 * sunrpc/Makefile: Don't install headers. Build library with normal
55537 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55538 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55539 for the compat linking library. Remove use of INTDEF/INTUSE.
55540 * sunrpc/auth_none.c: Likewise.
55541 * sunrpc/auth_unix.c: Likewise.
55542 * sunrpc/authdes_prot.c: Likewise.
55543 * sunrpc/authuxprot.c: Likewise.
55544 * sunrpc/clnt_gen.c: Likewise.
55545 * sunrpc/clnt_perr.c: Likewise.
55546 * sunrpc/clnt_raw.c: Likewise.
55547 * sunrpc/clnt_simp.c: Likewise.
55548 * sunrpc/clnt_tcp.c: Likewise.
55549 * sunrpc/clnt_udp.c: Likewise.
55550 * sunrpc/clnt_unix.c: Likewise.
55551 * sunrpc/des_crypt.c: Likewise.
55552 * sunrpc/des_soft.c: Likewise.
55553 * sunrpc/get_myaddr.c: Likewise.
55554 * sunrpc/key_call.c: Likewise.
55555 * sunrpc/key_prot.c: Likewise.
55556 * sunrpc/netname.c: Likewise.
55557 * sunrpc/pm_getmaps.c: Likewise.
55558 * sunrpc/pm_getport.c: Likewise.
55559 * sunrpc/pmap_clnt.c: Likewise.
55560 * sunrpc/pmap_prot.c: Likewise.
55561 * sunrpc/pmap_prot2.c: Likewise.
55562 * sunrpc/pmap_rmt.c: Likewise.
55563 * sunrpc/publickey.c: Likewise.
55564 * sunrpc/rpc_cmsg.c: Likewise.
55565 * sunrpc/rpc_common.c: Likewise.
55566 * sunrpc/rpc_dtable.c: Likewise.
55567 * sunrpc/rpc_prot.c: Likewise.
55568 * sunrpc/rpc_thread.c: Likewise.
55569 * sunrpc/rtime.c: Likewise.
55570 * sunrpc/svc.c: Likewise.
55571 * sunrpc/svc_auth.c: Likewise.
55572 * sunrpc/svc_authux.c: Likewise.
55573 * sunrpc/svc_raw.c: Likewise.
55574 * sunrpc/svc_run.c: Likewise.
55575 * sunrpc/svc_simple.c: Likewise.
55576 * sunrpc/svc_tcp.c: Likewise.
55577 * sunrpc/svc_udp.c: Likewise.
55578 * sunrpc/svc_unix.c: Likewise.
55579 * sunrpc/svcauth_des.c: Likewise.
55580 * sunrpc/xcrypt.c: Likewise.
55581 * sunrpc/xdr.c: Likewise.
55582 * sunrpc/xdr_array.c: Likewise.
55583 * sunrpc/xdr_float.c: Likewise.
55584 * sunrpc/xdr_intXX_t.c: Likewise.
55585 * sunrpc/xdr_mem.c: Likewise.
55586 * sunrpc/xdr_rec.c: Likewise.
55587 * sunrpc/xdr_ref.c: Likewise.
55588 * sunrpc/xdr_sizeof.c: Likewise.
55589 * sunrpc/xdr_stdio.c: Likewise.
55590
55591 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55592
55593 [BZ #12650]
55594 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55595 * sysdeps/ia64/dl-tls.h: Likewise.
55596 * sysdeps/powerpc/dl-tls.h: Likewise.
55597 * sysdeps/s390/dl-tls.h: Likewise.
55598 * sysdeps/sh/dl-tls.h: Likewise.
55599 * sysdeps/sparc/dl-tls.h: Likewise.
55600 * sysdeps/x86_64/dl-tls.h: Likewise.
55601 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55602
55603 2011-03-14 Andreas Schwab <schwab@redhat.com>
55604
55605 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55606 rpath element also skip the following colon.
55607 (expand_dynamic_string_token): Add is_path parameter and pass
55608 down to DL_DST_REQUIRED and _dl_dst_substitute.
55609 (decompose_rpath): Call expand_dynamic_string_token with
55610 non-zero is_path. Ignore empty rpaths.
55611 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55612 with zero is_path.
55613
55614 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55615
55616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55617 Make cancelable.
55618
55619 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55620
55621 [BZ #12655]
55622 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55623 Patch by Filipe David Manana <fdmanana@apache.org>.
55624
55625 2011-04-07 Andreas Schwab <schwab@redhat.com>
55626
55627 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55628 Maintain aligned stack.
55629 (CHECK_RSP): Remove unused macro.
55630
55631 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55632
55633 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55635
55636 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55637
55638 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55639
55640 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55641
55642 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55643
55644 [BZ #12518]
55645 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55646 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55647 * sysdeps/x86_64/memmove.c: New file.
55648 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55649 (memcpy): Renamed to ...
55650 (__new_memcpy): This.
55651 (memcpy): Provide GLIBC_2_14 memcpy.
55652 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55653 (memcpy): Provide GLIBC_2_2_5 memcpy.
55654
55655 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55656
55657 [BZ #12631]
55658 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55659
55660 2011-03-30 Andreas Schwab <schwab@redhat.com>
55661
55662 * misc/syncfs.c: New file.
55663 * misc/Makefile (routines): Add syncfs.
55664 * posix/unistd.h: Declare syncfs.
55665 * sysdeps/unix/syscalls.list: Add syncfs.
55666
55667 2011-04-01 Andreas Schwab <schwab@redhat.com>
55668
55669 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55670 open_by_handle_at.
55671 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55672 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55674 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55676 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55678
55679 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55680
55681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55683 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55685 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55688
55689 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55690 sync_file_range.c with -fexceptions.
55691 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55692 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55693 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55694 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55695 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55696 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55697 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55698 sync_file_range as cancellation point
55699 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55700 now a wrapper around __call_sync_file_range with cancellation handling.
55701 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55702 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55703 function name to __call_sync_file_range.
55704 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55705 Add call_sync_file_range.
55706
55707 2011-04-01 Andreas Schwab <schwab@redhat.com>
55708
55709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55710 bits/timex.h.
55711
55712 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55713
55714 * iconv/iconv.h: Fix typo in comment.
55715 * io/fcntl.h: Likewise.
55716 * libio/stdio.h: Likewise.
55717 * posix/spawn.h: Likewise.
55718 * posix/unistd.h: Likewise.
55719 * stdlib/stdlib.h: Likewise.
55720 * time/time.h: Likewise.
55721 * wcsmbs/wchar.h: Likewise.
55722
55723 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55724 open_by_handle): Add.
55725 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55726 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55727 Augment a few comments.
55728 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55730 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55732 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55733 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55734 open_by_handle.
55735
55736 * io/fcntl.h (AT_EMPTY_PATH): Define.
55737
55738 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55739
55740 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55741 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55742 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55743 to...
55744 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55745 * Versions.def: Add GLIBC_2.14.
55746 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55747 Export.
55748
55749 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55750
55751 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55752 round counter.
55753 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55754
55755 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55756
55757 [BZ #12597]
55758 * string/test-strncmp.c (do_page_test): New function.
55759 (check2): Likewise.
55760 (test_main): Call check2.
55761 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55762
55763 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55764
55765 [BZ #12587]
55766 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55767 Handle cache information in CPU leaf 4.
55768 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55769
55770 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55771
55772 [BZ #12583]
55773 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55774 character representation.
55775 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55776
55777 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55778
55779 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55780 END(__isnan) to END(__isnanf) to match function entry point/label
55781 EALIGN(__isnanf,...).
55782
55783 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55784
55785 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55786
55787 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55788
55789 [BZ #12510]
55790 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55791 copy from the symbol referenced in the relocation to initialize the
55792 used variable.
55793 Patch by Piotr Bury <pbury@goahead.com>.
55794 * elf/Makefile: Add rules to build and tst-unique3.
55795 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55796 * elf/tst-unique3.cc: New file.
55797 * elf/tst-unique3.h: New file.
55798 * elf/tst-unique3lib.cc: New file.
55799 * elf/tst-unique3lib2.cc: New file.
55800
55801 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55802
55803 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55804
55805 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55806 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55807 to _start.
55808
55809 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55810
55811 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55812 to-be-loaded object along a path to loader is ld.so.
55813
55814 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55815 Ulrich Drepper <drepper@gmail.com>
55816
55817 * sysdeps/x86_64/memset.S: After aligning destination, code
55818 branches to different locations depending on the value of
55819 misalignment, when multiarch is enabled. Fix this.
55820
55821 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55822
55823 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55824 Set _x86_64_preferred_memory_instruction for AMD processsors.
55825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55826 Set bit_Prefer_SSE_for_memop for AMD processors.
55827
55828 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55829
55830 * libio/fmemopen.c (fmemopen): Optimize a bit.
55831
55832 2011-03-03 Andreas Schwab <schwab@redhat.com>
55833
55834 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55835
55836 2011-03-03 Roland McGrath <roland@redhat.com>
55837
55838 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55839
55840 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55841
55842 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55843 __bzero_ultra1 instead of __memset_ultra1.
55844
55845 2011-02-23 Andreas Schwab <schwab@redhat.com>
55846 Ulrich Drepper <drepper@gmail.com>
55847
55848 [BZ #12509]
55849 * include/link.h (struct link_map): Add l_orig_initfini.
55850 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55851 returning unsuccessfully.
55852 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55853 close of a file loaded at startup, restore the original l_initfini
55854 list.
55855 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55856 list, store the pointer.
55857 * elf/Makefile ($(objpfx)noload-mem): New rule.
55858 (noload-ENV): Define.
55859 (tests): Add $(objpfx)noload-mem.
55860 * elf/noload.c: Include <memcheck.h>.
55861 (main): Call mtrace. Close all opened handles.
55862
55863 2011-02-17 Andreas Schwab <schwab@redhat.com>
55864
55865 [BZ #12454]
55866 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55867 dependencies are missing.
55868
55869 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55870
55871 Fix __if_freereq crash: Unlike the generic version which uses free,
55872 Hurd needs munmap.
55873 * sysdeps/mach/hurd/ifreq.h: New file.
55874
55875 2011-01-27 Petr Baudis <pasky@suse.cz>
55876 Ulrich Drepper <drepper@gmail.com>
55877
55878 [BZ 12445]#
55879 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55880 to extend_alloca().
55881 * stdio-common/bug23.c: New file.
55882 * stdio-common/Makefile (tests): Add bug23.
55883
55884 2010-09-28 Andreas Schwab <schwab@redhat.com>
55885 Ulrich Drepper <drepper@gmail.com>
55886
55887 [BZ #12489]
55888 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55889 before performing relro protection. At old place add assertion
55890 to make sure nothing changed.
55891
55892 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55893 Glauber de Oliveira Costa <glommer@gmail.com>
55894
55895 * elf/elf.h: Add new ARM TLS relocs.
55896
55897 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55898
55899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55900 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55901 cast from r3.
55902 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55903 'tests' variable.
55904 * sysdeps/wordsize-64/tst-writev.c: New file.
55905
55906 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55907
55908 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55909 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55910 insns in _dl_start to prevent a TOC reference before relocs are
55911 resolved.
55912
55913 2011-02-15 Ulrich Drepper <drepper@gmail.com>
55914
55915 [BZ #12469]
55916 * Makeconfig: Remove RANLIB definition.
55917 * Makerules: Don't use RANLIB.
55918 * aclocal.m4: Remove ranlib test.
55919 * configure.in: No need to check for ranlib.
55920 * elf/rtld-Rules: Don't use RANLIB.
55921
55922 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55923
55924 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55925 protection macro.
55926 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55927 inclusion protection macro.
55928
55929 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55930 SIGRTMIN and SIGRTMAX and print information in that case only when
55931 SIGRTMIN is defined.
55932
55933 2011-02-11 Jakub Jelinek <jakub@redhat.com>
55934
55935 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55936 arginfo fn returning -1.
55937
55938 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55939 and thousands string is zero terminated.
55940
55941 2011-02-03 Andreas Schwab <schwab@redhat.com>
55942
55943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55944 sysdeps/unix/sysv/linux/bits/socket.h.
55945
55946 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55947
55948 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55949 (__CPU_COUNT): Remove old macros.
55950 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55951 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55952 (__CPU_ALLOC, __CPU_FREE): Add macros.
55953 (__sched_cpualloc, __sched_cpufree): Add declarations.
55954
55955 2011-02-05 Ulrich Drepper <drepper@gmail.com>
55956
55957 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55958 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55959 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55960 (readdhstai): Return value of addhstaiX call.
55961 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55962 (addgrbyX): Return value returned by cache_addgr.
55963 (readdgrbyname): Return value returned by addgrbyX.
55964 (readdgrbygid): Likewise.
55965 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55966 (addpwbyX): Return value returned by cache_addpw.
55967 (readdpwbyname): Return value returned by addhstbyX.
55968 (readdpwbyuid): Likewise.
55969 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55970 (addservbyX): Return value returned by cache_addserv.
55971 (readdservbyname): Return value returned by addservbyX:
55972 (readdservbyport): Likewise.
55973 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55974 (addhstbyX): Return value returned by cache_addhst.
55975 (readdhstbyname): Return value returned by addhstbyX.
55976 (readdhstbyaddr): Likewise.
55977 (readdhstbynamev6): Likewise.
55978 (readdhstbyaddrv6): Likewise.
55979 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55980 (readdinitgroups): Return value returned by addinitgroupsX.
55981 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55982 (prune_cache): Keep track of timeout value of re-added entries.
55983 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55984 * nscd/nscd.h: Adjust prototypes of readd* functions.
55985
55986 2011-02-04 Roland McGrath <roland@redhat.com>
55987
55988 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55989 (nis_stats): Likewise.
55990 * nis/nis_modify.c (nis_modify): Likewise.
55991 * nis/nis_remove.c (nis_remove): Likewise.
55992 * nis/nis_add.c (nis_add): Likewise.
55993
55994 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55995
55996 * posix/fnmatch_loop.c: Add some consts.
55997
55998 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55999
56000 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56001
56002 [BZ #12460]
56003 * config.make.in (config-cflags-novzeroupper): Define.
56004 * configure.in: Substitute libc_cv_cc_novzeroupper.
56005 * elf/Makefile (AVX-CFLAGS): Define.
56006 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56007 (CFLAGS-tst-auditmod4a.c): Likewise.
56008 (CFLAGS-tst-auditmod4b.c): Likewise.
56009 (CFLAGS-tst-auditmod6b.c): Likewise.
56010 (CFLAGS-tst-auditmod6c.c): Likewise.
56011 (CFLAGS-tst-auditmod7b.c): Likewise.
56012 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56013
56014 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56015
56016 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56017 function to the callback.
56018 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56019
56020 2011-02-02 Andreas Schwab <schwab@redhat.com>
56021
56022 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56023 of errno.
56024
56025 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56026
56027 [BZ #11724]
56028 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56029 of constructors.
56030 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56031 of destructors.
56032 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56033
56034 [BZ #11724]
56035 * elf/Makefile: Add rules to build and run new test.
56036 * elf/tst-initorder.c: New file.
56037 * elf/tst-initorder.exp: New file.
56038 * elf/tst-initordera1.c: New file.
56039 * elf/tst-initordera2.c: New file.
56040 * elf/tst-initordera3.c: New file.
56041 * elf/tst-initordera4.c: New file.
56042 * elf/tst-initorderb1.c: New file.
56043 * elf/tst-initorderb2.c: New file.
56044 * elf/tst-order-a1.c: New file.
56045 * elf/tst-order-a2.c: New file.
56046 * elf/tst-order-a3.c: New file.
56047 * elf/tst-order-a4.c: New file.
56048 * elf/tst-order-b1.c: New file.
56049 * elf/tst-order-b2.c: New file.
56050 * elf/tst-order-main.c: New file.
56051 New test case by George Gensure <werkt0@gmail.com>.
56052
56053 2010-10-01 Andreas Schwab <schwab@redhat.com>
56054
56055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56056 decoding ACE if AI_CANONIDN.
56057
56058 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56059
56060 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56061
56062 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56063
56064 * version.h (RELEASE): Bump for 2.13 release.
56065 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56066
56067 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56068
56069 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56070 MADV_NOHUGEPAGE.
56071 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56072 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56073 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56074 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56075 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56076 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56077
56078 * posix/getconf.c: Update copyright year.
56079 * catgets/gencat.c: Likewise.
56080 * csu/version.c: Likewise.
56081 * debug/catchsegv.sh: Likewise.
56082 * debug/xtrace.sh: Likewise.
56083 * elf/ldconfig.c: Likewise.
56084 * elf/ldd.bash.in: Likewise.
56085 * elf/sprof.c (print_version): Likewise.
56086 * iconv/iconv_prog.c: Likewise.
56087 * iconv/iconvconfig.c: Likewise.
56088 * locale/programs/locale.c: Likewise.
56089 * locale/programs/localedef.c: Likewise.
56090 * malloc/memusage.sh: Likewise.
56091 * malloc/mtrace.pl: Likewise.
56092 * nscd/nscd.c (print_version): Likewise.
56093 * nss/getent.c: Likewise.
56094
56095 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56096 PF_CAIF, and PF_ALG.
56097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56098
56099 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56100
56101 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56102 (modules-names): Use them.
56103 (ifunc-test-modules, ifunc-pie-tests): Define.
56104 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56105 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56106 (test-extras): Likewise.
56107 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56108 $(compile-command.c).
56109 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56110 (all-built-dso): Define.
56111 (check-textrel.out, check-execstack.out): Depend on it.
56112
56113 * configure.in: Don't override --enable-multi-arch.
56114
56115 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56116
56117 [BZ #6812]
56118 * nscd/hstcache.c (tryagain): Define.
56119 (cache_addhst): Return tryagain not notfound for temporary errors.
56120 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56121 failed.
56122
56123 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56124
56125 [BZ #10563]
56126 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56127 to make the syscall.
56128 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56129
56130 [BZ #12378]
56131 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56132 and fall back to matching as normal character if the string ends before
56133 the matching ']' is found. This is what POSIX requires.
56134 * posix/testfnm.c: Adjust test result.
56135 * posix/globtest.sh: Adjust test result. Add new test.
56136 * posix/tst-fnmatch.input: Likewise.
56137 * posix/tst-fnmatch2.c: Add new test.
56138
56139 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56140
56141 * elf/Makefile (check-execstack): Revert last change. Depend on
56142 check-execstack.h.
56143 (check-execstack.h): New target.
56144 (generated): Add check-execstack.h.
56145 * elf/check-execstack.c: Include "check-execstack.h".
56146 (main): Revert last change.
56147 (handle_file): Return zero if GNU_STACK is absent and
56148 DEFAULT_STACK_PERMS doesn't include PF_X.
56149
56150 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56151
56152 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56153 in child fails because the descriptor is already closed.
56154 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56155 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56156 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56157
56158 [BZ #12397]
56159 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56160 syscall.
56161
56162 [BZ #10484]
56163 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56164 temporary buffer used to handle multi lookups locally.
56165 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56166
56167 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56168
56169 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56170 loader is ld.so.
56171
56172 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56173
56174 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56175 alignment for SSE2.
56176
56177 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56178
56179 [BZ #12394]
56180 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56181 characters. When rounding increased number of integer digits recompute
56182 number of groups.
56183 * stdio-common/tst-grouping.c: New file.
56184 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56185
56186 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56187
56188 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56189 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56190
56191 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56192 void.
56193 * bits/select.h: Likewise.
56194
56195 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56196
56197 * po/ja.po: Update from translation team.
56198
56199 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56200
56201 [BZ #11155]
56202 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56203 implementation just like for lxstat, fxstatat, et al.
56204
56205 2010-12-27 Jim Meyering <meyering@redhat.com>
56206
56207 [BZ #12348]
56208 * posix/regexec.c (build_trtable): Return failure indication upon
56209 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56210
56211 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56212
56213 [BZ #12201]
56214 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56215 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56216 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56217 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56218
56219 [BZ #12207]
56220 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56221
56222 [BZ #12204]
56223 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56224 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56225
56226 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56227
56228 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56229 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56230 script has SORT_BY_INIT_PRIORITY.
56231 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56232 NO_CTORS_DTORS_SECTIONS is defined.
56233 * elf/soinit.c: Likewise.
56234 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56235 NO_CTORS_DTORS_SECTIONS is defined.
56236 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56237 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56238 * sysdeps/sh/init-first.c: Likewise.
56239 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56240
56241 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56242
56243 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56244 always use the slow path.
56245
56246 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56247
56248 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56249 similar rule which adds the sysdep directories to the header search in
56250 order to pick up the correct platform stackinfo.h.
56251 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56252 perform test if it is, otherwise return successfully without testing.
56253 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56254 DEFAULT_STACK_PERMS define in stackinfo.h.
56255 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56256 defined in stackinfo.h.
56257 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56258 DEFAULT_STACK_PERMS defined in stackinfo.h.
56259 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56260 * sysdeps/ia64/stackinfo.h: Likewise.
56261 * sysdeps/s390/stackinfo.h: Likewise.
56262 * sysdeps/sh/stackinfo.h: Likewise.
56263 * sysdeps/sparc/stackinfo.h: Likewise.
56264 * sysdeps/x86_64/stackinfo.h: Likewise.
56265 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56266 PF_X for powerpc64. Retain PF_X for powerpc32.
56267
56268 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56269
56270 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56271 accurately.
56272 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56273 GETDENTS_64BIT_ALIGNED.
56274
56275 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56276
56277 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56278
56279 2010-12-10 Andreas Schwab <schwab@redhat.com>
56280
56281 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56282 _GNU_SOURCE.
56283
56284 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56285 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56286 Remove __restrict.
56287 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56288 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56289
56290 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56291
56292 [BZ #11655]
56293 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56294 are initialized.
56295
56296 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56297
56298 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56299
56300 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56301
56302 * po/it.po: Update from translation team.
56303
56304 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56305
56306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56307 unused codes.
56308
56309 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56310
56311 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56312
56313 2010-11-24 Andreas Schwab <schwab@redhat.com>
56314
56315 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56316 specially.
56317 (gaih_getanswer_slice): Likewise.
56318
56319 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56320
56321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56322
56323 2010-05-31 Petr Baudis <pasky@suse.cz>
56324
56325 [BZ #11149]
56326 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56327 silently even in the chroot mode.
56328
56329 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56330
56331 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56332 last patch a bit. Pretty printing
56333
56334 2010-05-31 Petr Baudis <pasky@suse.cz>
56335
56336 [BZ #10085]
56337 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56338 initialization of skip_initgroups_dyn.
56339
56340 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56341
56342 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56343 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56344
56345 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56346
56347 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56348
56349 2010-11-11 Andreas Schwab <schwab@redhat.com>
56350
56351 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56352 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56353 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56354 ($(objpfx)tst-fnmatch-mem): New rule.
56355 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56356 * posix/tst-fnmatch.c (main): Call mtrace.
56357
56358 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56359
56360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56361 Support Intel processor model 6 and model 0x2c.
56362
56363 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56364
56365 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56366 signed comparison.
56367
56368 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56369
56370 [BZ #12205]
56371 * string/test-strncasecmp.c (check_result): New function.
56372 (do_one_test): Use it.
56373 (check1): New function.
56374 (test_main): Use it.
56375 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56376 Support strcasecmp and strncasecmp.
56377
56378 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56379
56380 [BZ #12194]
56381 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56382 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56383
56384 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56385
56386 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56387 IFUNC support.
56388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56389 memset-x86-64.
56390 * sysdeps/x86_64/multiarch/bzero.S: New file.
56391 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56392 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56393 * sysdeps/x86_64/multiarch/memset.S: New file.
56394 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56396 Set bit_Prefer_SSE_for_memop for Intel processors.
56397 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56398 Define.
56399 (index_Prefer_SSE_for_memop): Define.
56400 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56401
56402 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56403
56404 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56405 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56406
56407 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56408
56409 [BZ #12191]
56410 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56411 (__x86_64_raw_data_cache_size_half): Likewise.
56412 (__x86_64_raw_shared_cache_size): Likewise.
56413 (__x86_64_raw_shared_cache_size_half): Likewise.
56414
56415 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56416 (__x86_64_raw_data_cache_size_half): Likewise.
56417 (__x86_64_raw_shared_cache_size): Likewise.
56418 (__x86_64_raw_shared_cache_size_half): Likewise.
56419 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56420 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56421 and __x86_64_raw_shared_cache_size_half. Round
56422 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56423 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56424 to multiple of 256 bytes.
56425
56426 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56427
56428 [BZ #12167]
56429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56430 of inacessible symlinks. Verify result of symlink before returning it.
56431 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56432 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56433
56434 2010-10-28 Erich Ritz <erichritz@gmail.com>
56435
56436 * math/math.h (isinf): Fix typo in comment.
56437
56438 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56439
56440 * po/da.po: Update from translation team.
56441
56442 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56443
56444 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56445 is added to the list.
56446
56447 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56448 Ulrich Drepper <drepper@gmail.com>
56449
56450 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56451 the global list here. Move code to...
56452 (_dl_add_to_namespace_list): ...here. New function.
56453 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56454 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56455 * elf/dl-load.c (lose): Don't remove the element from the list.
56456 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56457 (_dl_map_object): Likewise.
56458
56459 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56460
56461 [BZ #12159]
56462 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56463 into all bytes of SSE register.
56464 Patch by Richard Li <richardpku@gmail.com>.
56465
56466 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56467
56468 [BZ #12140]
56469 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56470 perturbing.
56471
56472 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56473
56474 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56475 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56476 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56477 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56479 submachine.
56480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56481
56482 2010-10-22 Andreas Schwab <schwab@redhat.com>
56483
56484 * include/dlfcn.h (__RTLD_SECURE): Define.
56485 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56486 mode & __RTLD_SECURE instead.
56487 (open_path): Rename preloaded parameter to secure.
56488 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56489 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56490 * elf/dl-deps.c (openaux): Likewise.
56491 * elf/rtld.c (struct map_args): Remove is_preloaded.
56492 (map_doit): Don't use it.
56493 (dl_main): Likewise.
56494 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56495 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56496
56497 2010-09-09 Andreas Schwab <schwab@redhat.com>
56498
56499 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56500 (sysd-rules-targets): Remove duplicates.
56501 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56502 rtld-%.$o dependency.
56503
56504 2010-10-18 Andreas Schwab <schwab@redhat.com>
56505
56506 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56507 _dl_map_object do it.
56508
56509 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56510
56511 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56512 fast fma builtins, define the macros in the C99 standard.
56513 (FP_FAST_FMAF): Likewise.
56514 (FP_FAST_FMAL): Likewise.
56515 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56516
56517 * bits/mathdef.h: Update copyright year.
56518 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56519
56520 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56521
56522 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56523 builtins, define the macros in the C99 standard.
56524 (FP_FAST_FMAF): Likewise.
56525 (FP_FAST_FMAL): Likewise.
56526 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56527 multiply/add.
56528 (FP_FAST_FMAF): Likewise.
56529
56530 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56531
56532 [BZ #3268]
56533 * math/libm-test.inc (fma_test): Some new testcases.
56534 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56535 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56536 y and infinite z. Do multiplication by C already in long double.
56537 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56539 y and infinite z. Do bitwise or of inexact bit into u.d.
56540 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56541 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56542 * sysdeps/i386/fpu/s_fma.S: Removed.
56543 * sysdeps/i386/fpu/s_fmal.S: Removed.
56544
56545 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56546
56547 [BZ #3268]
56548 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56550 computation is not scheduled after fetestexcept. Fix value
56551 of minimum denormal long double.
56552
56553 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56554
56555 [BZ #3268]
56556 * math/libm-test.inc (fma_test): Add some more tests.
56557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56558 correctly.
56559
56560 2010-10-15 Andreas Schwab <schwab@redhat.com>
56561
56562 * scripts/data/localplt-s390-linux-gnu.data: New file.
56563 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56564
56565 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56566
56567 [BZ #3268]
56568 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56569 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56570 instead of dbl-64.
56571 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56572 inlines.
56573 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56575 if one of x and y is very large and the other is subnormal.
56576 * sysdeps/s390/fpu/s_fmaf.c: New file.
56577 * sysdeps/s390/fpu/s_fma.c: New file.
56578 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56579 * sysdeps/powerpc/fpu/s_fma.S: New file.
56580 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56581 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56582 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56583
56584 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56585
56586 [BZ #3268]
56587 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56588 fma tests.
56589 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56590 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56591 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56592 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56593 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56594 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56595 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56596
56597 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56598
56599 [BZ #12078]
56600 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56601 * posix/bug-regex31.input: Add test case.
56602
56603 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56604
56605 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56606 * posix/bug-regex31.input: New file.
56607
56608 [BZ #12078]
56609 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56610 (parse_sub_exp): Fix last change, use postorder.
56611
56612 * posix/bug-regex31.c: New file.
56613 * posix/Makefile: Add rules to build and run bug-regex31.
56614
56615 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56616
56617 [BZ #12078]
56618 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56619
56620 [BZ #12108]
56621 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56622 to have entries in sys_siglist.
56623
56624 [BZ #12093]
56625 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56626 be NULL.
56627
56628 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56629
56630 [BZ #3268]
56631 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56632 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56633 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56634 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56635 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56636 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56637 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56638 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56639 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56640 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56641 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56642 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56643 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56644 * math/ftestexcept.c (fetestexcept): Likewise.
56645 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56646 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56647 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56648 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56649 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56650 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56651 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56652
56653 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56654
56655 [BZ #12107]
56656 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56657 newline.
56658
56659 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56660
56661 * string/bug-strstr1.c: New file.
56662 * string/Makefile: Add rules to build and run bug-strstr1.
56663
56664 2010-10-05 Eric Blake <eblake@redhat.com>
56665
56666 [BZ #12092]
56667 * string/str-two-way.h (two_way_long_needle): Always clear memory
56668 when skipping input due to the shift table.
56669
56670 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56671
56672 [BZ #12005]
56673 * malloc/mcheck.c: Handle large requests.
56674
56675 [BZ #12077]
56676 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56677 for strncmp and strncasecmp.
56678 * string/stratcliff.c: Add tests for strcmp and strncmp.
56679 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56680
56681 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56682
56683 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56684 __set_fpscr.
56685
56686 2010-09-30 Andreas Jaeger <aj@suse.de>
56687
56688 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56689 (CGROUP_SUPER_MAGIC): Define.
56690 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56691 Handle btrfs and cgroup file systems.
56692 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56693 Likewise.
56694
56695 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56696
56697 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56698 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56699
56700 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56701
56702 [BZ #12067]
56703 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56704 trying to locate the ELF header.
56705
56706 2010-09-27 Andreas Schwab <schwab@redhat.com>
56707
56708 [BZ #11611]
56709 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56710 Mask out sign-bit copies when constructing f_fsid.
56711
56712 2010-09-24 Petr Baudis <pasky@suse.cz>
56713
56714 * debug/stack_chk_fail_local.c: Add missing licence exception.
56715 * debug/warning-nop.c: Likewise.
56716
56717 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56718
56719 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56720 implementing getdents64 using getdents syscall, set d_type if
56721 __ASSUME_GETDENTS32_D_TYPE.
56722
56723 2010-09-16 Andreas Schwab <schwab@redhat.com>
56724
56725 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56726 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56727
56728 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56729
56730 [BZ #12037]
56731 * posix/unistd.h: Undo change of feature selection for ftruncate from
56732 2010-01-11.
56733
56734 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56735
56736 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56737 detection.
56738
56739 2010-09-20 Andreas Schwab <schwab@redhat.com>
56740
56741 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56742 fanotify_mark.
56743 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56744
56745 2010-09-14 Andreas Schwab <schwab@redhat.com>
56746
56747 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56748 variables after CHECK_SP call.
56749 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56750
56751 2010-09-13 Andreas Schwab <schwab@redhat.com>
56752 Ulrich Drepper <drepper@redhat.com>
56753
56754 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56755 re-relocationg ld.so.
56756 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56757 _dl_init_paths call.
56758 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56759 here anymore.
56760
56761 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56762
56763 * resolv/res_init.c (__res_vinit): Count the default server we added.
56764
56765 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56766 Ulrich Drepper <drepper@redhat.com>
56767
56768 [BZ #11968]
56769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56770 (____longjmp_chk): Use %ebx for saving value across system call.
56771 Add unwind info.
56772
56773 2010-09-06 Andreas Schwab <schwab@redhat.com>
56774
56775 * manual/Makefile: Don't mix pattern rules with normal rules.
56776
56777 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56778
56779 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56780 operation.
56781 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56782 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56783 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56784 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56786 Likewise.
56787
56788 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56789
56790 [BZ #11979]
56791 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56792 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56793
56794 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56795
56796 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56797 * sysdeps/x86_64/addmul_1.S: Likewise.
56798 * sysdeps/x86_64/lshift.S: Likewise.
56799 * sysdeps/x86_64/mul_1.S: Likewise.
56800 * sysdeps/x86_64/rshift.S: Likewise.
56801 * sysdeps/x86_64/sub_n.S: Likewise.
56802 * sysdeps/x86_64/submul_1.S: Likewise.
56803
56804 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56805
56806 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56807 Define __sched_param instead of SCHED_* and sched_param when
56808 <bits/sched.h> is included with __need_schedparam defined.
56809 * bits/sched.h [__need_schedparam]
56810 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56811 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56812 (__defined_schedparam): Define to 1.
56813 (__sched_param): New structure, identical to sched_param.
56814 (__need_schedparam): Undefine.
56815
56816 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56817
56818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56819 (epoll_create1): Declare.
56820
56821 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56822
56823 2010-08-31 Andreas Schwab <schwab@redhat.com>
56824
56825 [BZ #7066]
56826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56827 shifting retval into place.
56828
56829 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56830
56831 * nis/rpcsvc/nis.h: Update copyright notice.
56832 * nis/rpcsvc/nis.x: Likewise.
56833 * nis/rpcsvc/nis_callback.h: Likewise.
56834 * nis/rpcsvc/nis_callback.x: Likewise.
56835 * nis/rpcsvc/nis_object.x: Likewise.
56836 * nis/rpcsvc/nis_tags.h: Likewise.
56837 * nis/rpcsvc/yp.h: Likewise.
56838 * nis/rpcsvc/yp.x: Likewise.
56839 * nis/rpcsvc/ypupd.h: Likewise.
56840 * nis/yp_xdr.c: Likewise.
56841 * nis/ypupdate_xdr.c: Likewise.
56842
56843 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56844 mainly the body of pmap_getport. Add parameters to specify timeouts.
56845 (pmap_getport): Use __libc_rpc_getport.
56846 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56847 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56848 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56849
56850 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56851
56852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56853 fanotify_mark.
56854
56855 2010-08-27 Roland McGrath <roland@redhat.com>
56856
56857 * sysdeps/i386/i686/multiarch/Makefile
56858 (CFLAGS-varshift.c): New variable.
56859
56860 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56861
56862 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56863 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56864
56865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56866
56867 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56868
56869 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56870
56871 * sysdeps/x86_64/strlen.S: Unroll the loop.
56872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56873 strlen-sse2 strlen-sse2-bsf.
56874 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56875 __strlen_no_bsf if bit_Slow_BSF is set.
56876 (__strlen_sse42): Removed.
56877 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56878 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56879
56880 2010-08-25 Roland McGrath <roland@redhat.com>
56881
56882 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56883 * sysdeps/x86_64/multiarch/varshift.c: New file.
56884 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56885 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56886 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56887 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56888
56889 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56890
56891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56892 strlen-sse2 strlen-sse2-bsf.
56893 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56894 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56895 (__strlen_sse2): Removed.
56896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56899 bit_Slow_BSF for Atom.
56900 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56901 (index_Slow_BSF): Define.
56902 (HAS_SLOW_BSF): Define.
56903
56904 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56905
56906 [BZ #10851]
56907 * resolv/res_init.c (__res_vinit): When no server address at all
56908 is given default to loopback.
56909
56910 2010-08-24 Roland McGrath <roland@redhat.com>
56911
56912 * configure.in: Remove config-name.h generation.
56913 * configure: Regenerated.
56914 * config-name.in: File removed.
56915 * scripts/config-uname.sh: New file.
56916 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56917 ($(objdir)config-name.h): New target.
56918
56919 * sunrpc/rpc_parse.h: Avoid nested comment.
56920
56921 2010-08-24 Richard Henderson <rth@redhat.com>
56922 Ulrich Drepper <drepper@redhat.com>
56923 H.J. Lu <hongjiu.lu@intel.com>
56924
56925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56927 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56928 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56929 _mm_alignr_epi8 with _mm_loadu_si128.
56930 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56931 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56932 (__m128i_shift_right): Removed.
56933 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56934 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56935 * sysdeps/x86_64/multiarch/varshift.h: New file.
56936 * sysdeps/x86_64/multiarch/varshift.S: New file.
56937
56938 2010-08-21 Mike Frysinger <vapier@gentoo.org>
56939
56940 * configure.in: Move assembler checks to before sysdep dir checking.
56941
56942 2010-08-20 Petr Baudis <pasky@suse.cz>
56943
56944 * LICENSES: Sync the sunrpc license.
56945
56946 2010-08-19 Ulrich Drepper <drepper@redhat.com>
56947
56948 * sunrpc/auth_des.c: Update copyright notice once again.
56949 * sunrpc/auth_none.c: Likewise.
56950 * sunrpc/auth_unix.c: Likewise.
56951 * sunrpc/authdes_prot.c: Likewise.
56952 * sunrpc/authuxprot.c: Likewise.
56953 * sunrpc/bindrsvprt.c: Likewise.
56954 * sunrpc/clnt_gen.c: Likewise.
56955 * sunrpc/clnt_perr.c: Likewise.
56956 * sunrpc/clnt_raw.c: Likewise.
56957 * sunrpc/clnt_simp.c: Likewise.
56958 * sunrpc/clnt_tcp.c: Likewise.
56959 * sunrpc/clnt_udp.c: Likewise.
56960 * sunrpc/clnt_unix.c: Likewise.
56961 * sunrpc/des_crypt.c: Likewise.
56962 * sunrpc/des_soft.c: Likewise.
56963 * sunrpc/get_myaddr.c: Likewise.
56964 * sunrpc/getrpcport.c: Likewise.
56965 * sunrpc/key_call.c: Likewise.
56966 * sunrpc/key_prot.c: Likewise.
56967 * sunrpc/openchild.c: Likewise.
56968 * sunrpc/pm_getmaps.c: Likewise.
56969 * sunrpc/pm_getport.c: Likewise.
56970 * sunrpc/pmap_clnt.c: Likewise.
56971 * sunrpc/pmap_prot.c: Likewise.
56972 * sunrpc/pmap_prot2.c: Likewise.
56973 * sunrpc/pmap_rmt.c: Likewise.
56974 * sunrpc/rpc/auth.h: Likewise.
56975 * sunrpc/rpc/auth_unix.h: Likewise.
56976 * sunrpc/rpc/clnt.h: Likewise.
56977 * sunrpc/rpc/des_crypt.h: Likewise.
56978 * sunrpc/rpc/key_prot.h: Likewise.
56979 * sunrpc/rpc/netdb.h: Likewise.
56980 * sunrpc/rpc/pmap_clnt.h: Likewise.
56981 * sunrpc/rpc/pmap_prot.h: Likewise.
56982 * sunrpc/rpc/pmap_rmt.h: Likewise.
56983 * sunrpc/rpc/rpc.h: Likewise.
56984 * sunrpc/rpc/rpc_des.h: Likewise.
56985 * sunrpc/rpc/rpc_msg.h: Likewise.
56986 * sunrpc/rpc/svc.h: Likewise.
56987 * sunrpc/rpc/svc_auth.h: Likewise.
56988 * sunrpc/rpc/types.h: Likewise.
56989 * sunrpc/rpc/xdr.h: Likewise.
56990 * sunrpc/rpc_clntout.c: Likewise.
56991 * sunrpc/rpc_cmsg.c: Likewise.
56992 * sunrpc/rpc_common.c: Likewise.
56993 * sunrpc/rpc_cout.c: Likewise.
56994 * sunrpc/rpc_dtable.c: Likewise.
56995 * sunrpc/rpc_hout.c: Likewise.
56996 * sunrpc/rpc_main.c: Likewise.
56997 * sunrpc/rpc_parse.c: Likewise.
56998 * sunrpc/rpc_parse.h: Likewise.
56999 * sunrpc/rpc_prot.c: Likewise.
57000 * sunrpc/rpc_sample.c: Likewise.
57001 * sunrpc/rpc_scan.c: Likewise.
57002 * sunrpc/rpc_scan.h: Likewise.
57003 * sunrpc/rpc_svcout.c: Likewise.
57004 * sunrpc/rpc_tblout.c: Likewise.
57005 * sunrpc/rpc_util.c: Likewise.
57006 * sunrpc/rpc_util.h: Likewise.
57007 * sunrpc/rpcinfo.c: Likewise.
57008 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57009 * sunrpc/rpcsvc/key_prot.x: Likewise.
57010 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57011 * sunrpc/rpcsvc/mount.x: Likewise.
57012 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57013 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57014 * sunrpc/rpcsvc/rex.x: Likewise.
57015 * sunrpc/rpcsvc/rstat.x: Likewise.
57016 * sunrpc/rpcsvc/rusers.x: Likewise.
57017 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57018 * sunrpc/rpcsvc/spray.x: Likewise.
57019 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57020 * sunrpc/rtime.c: Likewise.
57021 * sunrpc/svc.c: Likewise.
57022 * sunrpc/svc_auth.c: Likewise.
57023 * sunrpc/svc_authux.c: Likewise.
57024 * sunrpc/svc_raw.c: Likewise.
57025 * sunrpc/svc_run.c: Likewise.
57026 * sunrpc/svc_simple.c: Likewise.
57027 * sunrpc/svc_tcp.c: Likewise.
57028 * sunrpc/svc_udp.c: Likewise.
57029 * sunrpc/svc_unix.c: Likewise.
57030 * sunrpc/svcauth_des.c: Likewise.
57031 * sunrpc/xcrypt.c: Likewise.
57032 * sunrpc/xdr.c: Likewise.
57033 * sunrpc/xdr_array.c: Likewise.
57034 * sunrpc/xdr_float.c: Likewise.
57035 * sunrpc/xdr_mem.c: Likewise.
57036 * sunrpc/xdr_rec.c: Likewise.
57037 * sunrpc/xdr_ref.c: Likewise.
57038 * sunrpc/xdr_sizeof.c: Likewise.
57039 * sunrpc/xdr_stdio.c: Likewise.
57040
57041 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57042 handling.
57043
57044 2010-08-19 Andreas Schwab <schwab@redhat.com>
57045
57046 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57047
57048 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57049
57050 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57051 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57052 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57053 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57054 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57055 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57056 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57057 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57058 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57059 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57060 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57061 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57062 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57063 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57064
57065 2010-07-26 Anton Blanchard <anton@samba.org>
57066
57067 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57068 * malloc/arena.c (heap_trim): Likewise.
57069
57070 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57071
57072 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57073 here. Not...
57074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57075 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57076
57077 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57078
57079 * sysdeps/i386/elf/Makefile: New file.
57080
57081 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57082
57083 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57084 from fanotify_init.
57085 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57086 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57087
57088 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57089
57090 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57091 of strncasecmp_l.
57092 * sysdeps/multiarch/strcmp.S: Likewise.
57093
57094 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57095
57096 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57097 strncase_l-nonascii.
57098 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57099 Add strncase_l-ssse3.
57100 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57101 * sysdeps/x86_64/strcmp.S: Likewise.
57102 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57103 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57104 * sysdeps/x86_64/strncase.S: New file.
57105 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57106 * sysdeps/x86_64/strncase_l.S: New file.
57107 * string/Makefile (strop-tests): Add strncasecmp.
57108 * string/test-strncasecmp.c: New file.
57109
57110 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57111 warning.
57112
57113 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57114 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57115
57116 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57117
57118 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57119
57120 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57121
57122 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57123 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57124 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57125
57126 2010-05-01 Alan Modra <amodra@gmail.com>
57127
57128 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57129 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57130 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57131 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57132 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57133 tidying. Don't tail-call __sigjmp_save for static lib.
57134 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57135 save location.
57136 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57137 (CALL_MCOUNT): Add eh info, and nop after bl.
57138 (TAIL_CALL_SYSCALL_ERROR): New macro.
57139 (PSEUDO_RET): Use it.
57140 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57141 Correct save location of integer regs and cr.
57142 (_dl_profile_resolve): Correct cr save location. Delete nops
57143 after bl when SHARED. Reduce cfi size a little by better
57144 placement of cfi directives.
57145 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57146 make a stack frame. Instead use parm save area as a temp.
57147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57148 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57150 Don't make a stack frame for parent, use parm save area.
57151 Increase child stack frame to 112 bytes. Don't save unused reg,
57152 and adjust reg usage. Set up cfi on error recovery and
57153 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57155 (__makecontext): Add dummy nop after jump to exit.
57156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57157 Use correct parm save area and cr save, reduce stack frame.
57158 Correct cfi for possible PSEUDO_RET frame setup.
57159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57160 Branch to local label emitted by PSEUDO_RET rather than
57161 __syscall_error.
57162
57163 2010-08-12 Andreas Schwab <schwab@redhat.com>
57164
57165 [BZ #11904]
57166 * locale/programs/locale.c (print_assignment): New function.
57167 (show_locale_vars): Use it.
57168
57169 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57170
57171 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57172 field.
57173 (struct statfs64): Likewise.
57174 (_STATFS_F_FLAGS): Define.
57175 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57176 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57177 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57178 (ST_VALID): Define locally.
57179 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57180 __statvfs_getflags, use the provided value.
57181 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57182 __ASSUME_STATFS_F_FLAGS.
57183
57184 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57185
57186 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57187 Add sys/fanotify.h.
57188 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57189 fanotify_mask for GLIBC_2.13.
57190 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57191 fanotify_init and fanotify_mark.
57192 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57193 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57194
57195 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57196 Add prlimit.
57197 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57198 prlimit64 for GLIBC_2.13.
57199 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57200 prlimit64.
57201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57202 syscall.
57203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57204 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57205 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57206 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57207 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57208 add prlimit alias.
57209 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57210
57211 [BZ #11903]
57212 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57213 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57214
57215 * nss/Makefile: Add rules to build and run tst-nss-test1.
57216 * shlib-versions: Add entry for libnss_test1.
57217 * nss/nss_test1.c: New file.
57218 * nss/tst-nss-test1.c: New file.
57219
57220 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57221 (__nss_configure_lookup): Set appropriate entry in
57222 __nss_configure_lookup to true.
57223 * nss/nsswitch.h: Define enum with indeces of databases in
57224 databases and __nss_database_custom arrays. Declare
57225 __nss_database_custom.
57226 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57227 to avoid using nscd when custom rules are installed.
57228 * nss/getXXbyYY_r.c: Likewise.
57229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57230
57231 * nss/nss_files/files-parse.c: Whitespace fixes.
57232
57233 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57234
57235 [BZ #11883]
57236 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57237 * posix/fnmatch_loop.c: Likewise.
57238
57239 2010-07-17 Andi Kleen <ak@linux.intel.com>
57240
57241 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57242 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57243 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57244 * Versions.def [GLIBC_2.13]: Add.
57245
57246 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57247
57248 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57249 Also fail if tpwd after pwuid call is NULL.
57250
57251 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57252
57253 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57254 when converting to ms.
57255
57256 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57257
57258 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57259 EOPNOTSUPP errors with ENOTTY.
57260 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57261 EOPNOTSUPP errors with ENOTTY.
57262
57263 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57264
57265 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57266 Add strcasecmp_l-ssse3.
57267 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57268 strcasecmp.
57269 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57270 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57271 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57272
57273 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57274
57275 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57276
57277 * string/Makefile (strop-tests): Add strcasecmp.
57278 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57279 strcasecmp_l-nonascii.
57280 (gen-as-const-headers): Add locale-defines.sym.
57281 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57282 * sysdeps/x86_64/strcasecmp.S: New file.
57283 * sysdeps/x86_64/strcasecmp_l.S: New file.
57284 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57285 * sysdeps/x86_64/locale-defines.sym: New file.
57286 * string/test-strcasecmp.c: New file.
57287
57288 * string/test-strcasestr.c: Test both ends of the range of characters.
57289 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57290
57291 2010-07-29 Roland McGrath <roland@redhat.com>
57292
57293 [BZ #11856]
57294 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57295
57296 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57297
57298 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57299 for ld.so.
57300
57301 2010-07-27 Andreas Schwab <schwab@redhat.com>
57302
57303 * manual/memory.texi (Malloc Tunable Parameters): Document
57304 M_PERTURB.
57305
57306 2010-07-26 Roland McGrath <roland@redhat.com>
57307
57308 [BZ #11840]
57309 * configure.in (-fgnu89-inline check): Set and substitute
57310 gnu89_inline, not libc_cv_gnu89_inline.
57311 * configure: Regenerated.
57312 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57313
57314 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57315
57316 * string/test-strnlen.c: New file.
57317 * string/Makefile (strop-tests): Add strnlen.
57318 * string/tester.c (test_strnlen): Add a few more test cases.
57319 * string/tst-strlen.c: Better error reporting.
57320
57321 * sysdeps/x86_64/strnlen.S: New file.
57322
57323 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57324
57325 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57326 lower-latency instructions.
57327
57328 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57329
57330 * string/test-strcasestr.c: New file.
57331 * string/test-strstr.c: New file.
57332 * string/Makefile (strop-tests): Add strstr and strcasestr.
57333 * string/str-two-way.h: Don't undefine MAX.
57334 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57335
57336 2010-07-21 Andreas Schwab <schwab@redhat.com>
57337
57338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57339 strcasestr-nonascii.
57340 (CFLAGS-strcasestr-nonascii.c): Define.
57341 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57343 Remove unused attribute.
57344
57345 2010-07-20 Roland McGrath <roland@redhat.com>
57346
57347 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57348 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57349 ld.so.cache was broken. With it, there is no way to disable dsocaps
57350 like LD_HWCAP_MASK can disable hwcaps.
57351
57352 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57353
57354 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57355
57356 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57357
57358 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57359 call in strcasestr.
57360 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57361 __strcasestr_sse42_nonascii.
57362 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57363 strcasestr-nonascii.c.
57364 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57365
57366 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57367
57368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57369 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57371 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57372
57373 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57374
57375 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57376 fcntl.
57377
57378 2010-07-06 Andreas Schwab <schwab@redhat.com>
57379
57380 [BZ #11577]
57381 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57382 dl_signal_cerror.
57383
57384 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57385
57386 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57387 _PC_PIPE_BUF using F_GETPIPE_SZ.
57388
57389 2010-07-05 Roland McGrath <roland@redhat.com>
57390
57391 * manual/arith.texi (Rounding Functions): Fix rint description
57392 implicit in round description.
57393
57394 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57395
57396 * elf/Makefile: Fix linking for a few tests to make recent linker
57397 happy.
57398
57399 2010-06-30 Andreas Schwab <schwab@redhat.com>
57400
57401 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57402 $(common-objpfx)libc_nonshared.a.
57403
57404 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57405
57406 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57407 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57408 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57409 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57410 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57411 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57412 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57413 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57428 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57429 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57430 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57431 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57432 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57433 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57434 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57435 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57436 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57437 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57438 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57439 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57454
57455 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57456
57457 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57458 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57459 * string/memmove.c (memmove): Renamed to ...
57460 (MEMMOVE): ...this. Default to memmove.
57461 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57462 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57463 (END_CHK): Define.
57464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57465 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57466 mempcpy-ssse3-back memmove-ssse3-back.
57467 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57468 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57469 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57470 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57471 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57472 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57473 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57474 * sysdeps/x86_64/multiarch/memmove.c: New file.
57475 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57476 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57477 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57478 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57479 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57481 Define.
57482 (index_Fast_Copy_Backward): Define.
57483 (HAS_ARCH_FEATURE): Define.
57484 (HAS_FAST_REP_STRING): Define.
57485 (HAS_FAST_COPY_BACKWARD): Define.
57486
57487 2010-06-21 Andreas Schwab <schwab@redhat.com>
57488
57489 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57490 Restore proper fallback handling.
57491
57492 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57493
57494 [BZ #11701]
57495 * posix/group_member.c (__group_member): Correct checking loop.
57496
57497 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57498 OOM in getpwuid_r correctly. Return error number when the caller
57499 should return, otherwise -1.
57500 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57501 call returning > 0 value.
57502 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57503
57504 2010-06-07 Andreas Schwab <schwab@redhat.com>
57505
57506 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57507 libc_nonshared.a from targets in modules-names.
57508
57509 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57510
57511 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57512 requires it.
57513
57514 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57515
57516 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57517 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57520
57521 2010-06-02 Andreas Schwab <schwab@redhat.com>
57522
57523 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57524
57525 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57526
57527 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57528 and F_GETPIPE_SZ.
57529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57533 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57534 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57535
57536 2010-06-14 Roland McGrath <roland@redhat.com>
57537
57538 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57539
57540 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57541
57542 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57543 __REDIRECT followed by __THROW.
57544 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57545 * posix/getopt.h (getopt): Likewise.
57546
57547 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57548
57549 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57550 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57551 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57552 in AT_FLAGS.
57553 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57554 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57555
57556 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57557
57558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57559
57560 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57561
57562 [BZ #11640]
57563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57564 Properly check family and model.
57565
57566 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57567
57568 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57569
57570 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57571
57572 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57573
57574 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57575
57576 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57577 symbol reference.
57578
57579 2010-05-19 Andreas Schwab <schwab@redhat.com>
57580
57581 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57582 symbol reference.
57583
57584 2010-05-21 Andreas Schwab <schwab@redhat.com>
57585
57586 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57587 and internal_recvmmsg.
57588 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57589 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57590 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57591 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57592
57593 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57594 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57595 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57596
57597 2010-05-20 Andreas Schwab <schwab@redhat.com>
57598
57599 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57600
57601 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57602
57603 POWER7 optimizations.
57604 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57605 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57606
57607 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57608
57609 * version.h: Update for 2.13 development version.
57610
57611 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57612
57613 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57614 exceptions. Return 0.
57615
57616 2010-05-07 Roland McGrath <roland@redhat.com>
57617
57618 * elf/ldconfig.c (main): Add a const.
57619
57620 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57621
57622 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57623 (args_options): Add no-idn option.
57624 (ahosts_keys_int): Add idn_flags to ai_flags.
57625 (parse_option): Handle 'i' option to clear idn_flags.
57626
57627 * malloc/malloc.c (_int_free): Possible race in the most recently
57628 added check. Only act on the data if no current modification
57629 happened.
57630
57631 See ChangeLog.17 for earlier changes.