]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Add probes for malloc arena changes.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-09-20 Alexandre Oliva <aoliva@redhat.com>
2
3 * malloc/arena.c (get_free_list): Add probe
4 memory_arena_reuse_free_list.
5 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6 and memory_arena_reuse.
7 (arena_get2) [!PER_THREAD]: Likewise.
8 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9 memory_arena_reuse_realloc.
10 * manual/probes.texi: Document them.
11
12 * malloc/malloc.c (__libc_free): Add
13 memory_mallopt_free_dyn_thresholds probe.
14 (__libc_mallopt): Add multiple memory_mallopt probes.
15 * manual/probes.texi: Document them.
16
17 * malloc/malloc.c: Include stap-probe.h.
18 (__libc_mallopt): Add memory_mallopt probe.
19 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20 * manual/probes.texi: New.
21 * manual/Makefile (chapters): Add probes.
22 * manual/threads.texi: Set next node.
23
242013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25
26 [BZ #15963, #13985]
27 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29 Add `Chinese' to `nan' entry name.
30
312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32
33 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
34 (POLYNOMIAL): Likewise.
35 (TAYLOR_SINCOS): Likewise.
36 (TAYLOR_SLOW): Likewise.
37 (__sin): Use TAYLOR_SINCOS.
38 (__cos): Likewise.
39 (slow): Use TAYLOR_SLOW.
40 (sloww): Likewise.
41 (bsloww): Likewise.
42 (csloww): Likewise.
43
442013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45
46 * stdlib/strtod_l.c: Fix buffer overrun.
47
482013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49
50 * benchtests/Makefile (bench): Add sincos.
51 * benchtests/bench-sincos.c: New file.
52
53 * math/libm-test.inc (cos_test_data): New test inputs.
54 (sin_test_data): Likewise.
55
56 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57 macro.
58 (__sin): Use it.
59 (__cos): Likewise.
60 (slow1): Likewise.
61 (slow2): Likewise.
62 (sloww1): Likewise.
63 (sloww2): Likewise.
64 (bsloww1): Likewise.
65 (bsloww2): Likewise.
66 (cslow2): Likewise.
67 (csloww1): Likewise.
68 (csloww2): Likewise.
69
70 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
71 function.
72 (__sin): Use it.
73 (__cos): Likewise.
74
75 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
76 gotos.
77 (__cos): Likewise.
78
792013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
80
81 * config.h.in (HAVE_MIPS_NAN2008): New macro.
82 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
83 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
84 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
85 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
86 * elf/cache.c (print_entry): Handle the new cache flags.
87
882013-09-18 Joseph Myers <joseph@codesourcery.com>
89 Aldy Hernandez <aldyh@redhat.com>
90
91 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
92 Change condition to [_SOFT_FLOAT].
93 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
94 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
95 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
96 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
97 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
98 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
99 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
105 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
108 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
109 declaration.
110
1112013-09-18 Joseph Myers <joseph@codesourcery.com>
112
113 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
114 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
115 (__longjmp): Use LOAD_GP to load saved GPRs.
116 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
117 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
118 (__sigsetjmp): Use SAVE_GP to save GPRs.
119
120 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
121 Do not append -msoft-float.
122 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
123
1242013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
125
126 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
127
1282013-09-17 Joseph Myers <joseph@codesourcery.com>
129
130 [BZ #15966]
131 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
132 (_FPU_GETCW): Use initial "__" on variable and field names but not
133 on macro parameter name.
134 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
135 parentheses around reference to macro parameter.
136
1372013-09-13 Richard Sandiford <richard@codesourcery.com>
138
139 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
140 prototype.
141 (ctype_startup): Use uint32_t in cast and sizeof for
142 ctype->charnames.
143
1442013-09-11 Jia Liu <proljc@gmail.com>
145
146 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
147 __daddr_t_defined.
148 [__FreeBSD__]: Likewise.
149
1502013-09-11 Ondřej Bílka <neleai@seznam.cz>
151
152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
153 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
154 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
155 (strchr): Remove __strchr_sse42 ifunc selection.
156 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
157 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
158
1592013-09-11 Will Newton <will.newton@linaro.org>
160
161 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
162 parameter to RES. Remove hardcoded 1000 value.
163 * benchtests/bench-skeleton.c (main): Pass RES parameter
164 to TIMING_INIT and multiply result by 1000.
165
1662013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
167
168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
169
1702013-09-11 Andreas Schwab <schwab@suse.de>
171
172 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
173 if not defined.
174 (O_TMPFILE) [__USE_GNU]: Define.
175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
176 Define.
177
1782013-09-11 Will Newton <will.newton@linaro.org>
179
180 [BZ #15857]
181 * malloc/malloc.c (__libc_memalign): Check the value of bytes
182 does not overflow.
183
1842013-09-11 Will Newton <will.newton@linaro.org>
185
186 [BZ #15856]
187 * malloc/malloc.c (__libc_valloc): Check the value of bytes
188 does not overflow.
189
1902013-09-11 Will Newton <will.newton@linaro.org>
191
192 [BZ #15855]
193 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
194 does not overflow.
195
1962013-09-10 Ondřej Bílka <neleai@seznam.cz>
197
198 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
199 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
200 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
201 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
203
2042013-09-10 Allan McRae <allan@archlinux.org>
205
206 [BZ #15748]
207 * manual/arith.texi (Parsing of Floats): Clarify
208 cross-reference.
209
210 [BZ #15849]
211 * manual/install.texi (Running make install): Mention
212 --enable-pt-chown.
213 * INSTALL: Regenerated.
214
2152013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
216
217 * csu/init-first.c (_init): Remove the !SHARED condition around
218 FPU control word initialization.
219 * elf/dl-support.c (_dl_fpu_control): New variable.
220 (_dl_aux_init) <AT_FPUCW>: Initialize it.
221 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
222 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
223 * math/test-fpucw-static.c: New file.
224 * math/test-fpucw-ieee.c: New file.
225 * math/test-fpucw-ieee-static.c: New file.
226 * math/Makefile (tests): Add `test-fpucw-ieee' and
227 `$(tests-static)'.
228 (tests-static): New variable.
229 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
230 dependency to...
231 [($(build-shared),yes)]
232 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
233 ... this.
234 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
235 New dependency.
236
2372013-09-09 Allan McRae <allan@archlinux.org>
238
239 [BZ #15939]
240 * manual/string.texi (Collation Functions): Fix typo in
241 strcoll example.
242 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
243
244 [BZ #15893]
245 * stdlib/isomac.c (get_null_defines): Fix memory leak.
246
247 [BZ #15892]
248 * libio/memstream.c (open_memstream): Fix memory leak.
249 * libio/wmemstream.c (open_wmemstream): Likewise.
250
251 [BZ #15895]
252 * nscd/netgroupcache.c: Fix nesting of ifdefs.
253
2542013-09-09 Will Newton <will.newton@linaro.org>
255
256 * malloc/Makefile: Add tst-realloc to tests.
257 * malloc/tst-realloc.c: New file.
258
2592013-09-09 Allan McRae <allan@archlinux.org>
260
261 [BZ #15844]
262 * COPYING: Update from GNU website to fix FSF address.
263 * COPYING.LIB: Likewise.
264
2652013-09-06 David S. Miller <davem@davemloft.net>
266
267 * po/zh_TW.po: Update Chinese (traditional) translation from
268 translation project.
269
2702013-09-06 Richard Sandiford <richard@codesourcery.com>
271 Joseph Myers <joseph@codesourcery.com>
272
273 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
274 "localeinfo.h".
275 (obstack_chunk_alloc): New macro.
276 (obstack_chunk_free): Likewise.
277 (record_offset): New function.
278 (init_locale_data): Likewise.
279 (align_locale_data): Likewise.
280 (add_locale_empty): Likewise.
281 (add_locale_raw_data): Likewise.
282 (add_locale_raw_obstack): Likewise.
283 (add_locale_string): Likewise.
284 (add_locale_wstring): Likewise.
285 (add_locale_uint32): Likewise.
286 (add_locale_uint32_array): Likewise.
287 (add_locale_char): Likewise.
288 (start_locale_structure): Likewise.
289 (end_locale_structure): Likewise.
290 (start_locale_prelude): Likewise.
291 (end_locale_prelude): Likewise.
292 (write_locale_data): Take locale_file structure rather than an
293 iovec.
294 * locale/programs/locfile.h: Include "obstack.h".
295 (struct locale_file): Change to store locale file contents instead
296 of header.
297 (init_locale_data): New prototype.
298 (align_locale_data): Likewise.
299 (add_locale_empty): Likewise.
300 (add_locale_raw_data): Likewise.
301 (add_locale_raw_obstack): Likewise.
302 (add_locale_string): Likewise.
303 (add_locale_wstring): Likewise.
304 (add_locale_uint32): Likewise.
305 (add_locale_uint32_array): Likewise.
306 (add_locale_char): Likewise.
307 (start_locale_structure): Likewise.
308 (end_locale_structure): Likewise.
309 (start_locale_prelude): Likewise.
310 (end_locale_prelude): Likewise.
311 (write_locale_data): Update prototype.
312 * locale/programs/3level.h (struct TABLE): Remove result field.
313 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
314 Use new locale_file interface.
315 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
316 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
317 * locale/programs/ld-address.c (address_output): Use new
318 locale_file interface.
319 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
320 NO_ADD_LOCALE.
321 (collate_finish): Don't call collseq_table_finalize.
322 (collate_output): Use new locale_file interface.
323 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
324 in file.
325 (NO_FINALIZE): Change to NO_ADD_LOCALE.
326 (TABLE): Move defines earlier in file.
327 (ELEMENT): Likewise.
328 (DEFAULT): Likewise.
329 (wctrans_table_add): Move macro and inline function earlier in
330 file.
331 (struct wctype_table): Move type earlier in file.
332 (add_locale_wctype_table): New static prototype.
333 (struct locale_ctype_t): Use logical types instead of struct iovec
334 pointers for members.
335 (ctype_output): Use new locale_file interface.
336 (wctype_table_finalize): Change to add_locale_wctype_table. Use
337 new locale_file interface.
338 (allocate_arrays): Update for use of new locale_file interface.
339 * locale/programs/ld-identification.c (identification_output): Use
340 new locale_file interface.
341 * locale/programs/ld-measurement.c (measurement_output): Likewise.
342 * locale/programs/ld-messages.c (messages_output): Likewise.
343 * locale/programs/ld-monetary.c (monetary_output): Likewise.
344 * locale/programs/ld-name.c (name_output): Likewise.
345 * locale/programs/ld-numeric.c (numeric_output): Likewise.
346 * locale/programs/ld-paper.c (paper_output): Likewise.
347 * locale/programs/ld-telephone.c (telephone_output): Likewise.
348 * locale/programs/ld-time.c (time_output): Likewise.
349
3502013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 * benchtests/Makefile: Add memrchr benchmark.
353 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
354 benchmark as memrchr.
355 * benchtests/bench-memrchr-ifunc.c: New file.
356 * benchtests/bench-memrchr.c: New file.
357
3582013-09-06 Will Newton <will.newton@linaro.org>
359
360 * benchtests/Makefile (string-bench): Add memcpy.
361
3622013-09-05 Carlos O'Donell <carlos@redhat.com>
363 Cong Wang <amwang@redhat.com>
364
365 * sysdeps/unix/sysv/linux/bits/in.h
366 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
367 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
368 before __USE_KERNEL_IPV6_DEFS uses.
369 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
370 IPPROTO_BEETPH.
371 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
372 sockaddr_in6, or ipv6_mreq.
373
3742013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
375
376 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
377 memory access for final bytes in some large inputs.
378 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
379
3802013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381
382 * string/test-memrchr.c: New file.
383 * string/test-memrchr-ifunc.c: New file.
384 * string/Makefile: Add new memrchr testcase.
385
3862013-09-05 Mike Frysinger <vapier@gentoo.org>
387
388 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
389 fanotify_init returns EPERM.
390
3912013-09-04 Joseph Myers <joseph@codesourcery.com>
392
393 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
394 errors.
395 (top level): Treat second token from macro or constant entries for
396 allowed headers as allowed.
397 * include/complex.h: Condition internal declarations on
398 [!_ISOMAC].
399 * include/fenv.h: Condition include of <stdbool.h> and internal
400 declarations on [!_ISOMAC].
401
4022013-09-04 Chris Leonard <cjl@sugarlabs,.org>
403
404 [BZ #15923]
405 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
406
4072013-09-04 Joseph Myers <joseph@codesourcery.com>
408
409 * configure.in (--enable-versioning): Remove configure option.
410 (libc_cv_asm_symver_directive): Remove configure test.
411 (libc_cv_ld_version_script_option): Likewise.
412 (VERSIONING): Remove variable and AC_SUBST.
413 (DO_VERSIONING): Remove AC_DEFINE.
414 * configure: Regenerated.
415 * config.h.in (DO_VERSIONING): Remove macro.
416 * Makerules [$(versioning) = yes]: Change conditionals to
417 [$(build-shared) = yes].
418 * config.make.in (versioning): Remove variable.
419 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
420 [$(build-shared) = yes].
421 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
422 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
423 * elf/Makefile [$(versioning) = yes]: Change conditionals to
424 [$(build-shared) = yes].
425 * extra-lib.mk [$(versioning) = yes]: Likewise.
426 * hurd/Makefile [$(versioning) = yes]: Likewise.
427 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
428 [SHARED].
429 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
430 [SHARED].
431 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
432 [SHARED && !NO_HIDDEN].
433 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
434 [SHARED].
435 [SHARED && DO_VERSIONING]: Likewise..
436 * libio/Makefile [$(versioning) = yes]: Change conditionals to
437 [$(build-shared) = yes].
438 * manual/install.texi (--disable-versioning): Remove
439 documentation.
440 * INSTALL: Regenerated.
441 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
442 to [SHARED].
443 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
444 [$(build-shared) = yes].
445 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
446 * sysdeps/i386/i686/multiarch/strstr-c.c
447 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
448 [SHARED && !NO_HIDDEN].
449 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
450 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
451 * sysdeps/powerpc/powerpc32/dl-machine.c
452 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
453 * sysdeps/powerpc/powerpc32/sysdep.h
454 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
455 to [SHARED && PIC && !NO_HIDDEN].
456 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
457 conditional to [SHARED].
458
4592013-09-04 Will Newton <will.newton@linaro.org>
460
461 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
462 * benchtests/bench-string.h: Include bench-timing.h instead
463 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
464 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
465 call to HP_TIMING_DIFF_INIT.
466 * benchtests/bench-memccpy.c: Use bench-timing.h macros
467 instead of hp-timing.h macros.
468 * benchtests/bench-memchr.c: Likewise.
469 * benchtests/bench-memcmp.c: Likewise.
470 * benchtests/bench-memcpy.c: Likewise.
471 * benchtests/bench-memmem.c: Likewise.
472 * benchtests/bench-memmove.c: Likewise.
473 * benchtests/bench-memset.c: Likewise.
474 * benchtests/bench-rawmemchr.c: Likewise.
475 * benchtests/bench-strcasecmp.c: Likewise.
476 * benchtests/bench-strcasestr.c: Likewise.
477 * benchtests/bench-strcat.c: Likewise.
478 * benchtests/bench-strchr.c: Likewise.
479 * benchtests/bench-strcmp.c: Likewise.
480 * benchtests/bench-strcpy.c: Likewise.
481 * benchtests/bench-strcpy_chk.c: Likewise.
482 * benchtests/bench-strlen.c: Likewise.
483 * benchtests/bench-strncasecmp.c: Likewise.
484 * benchtests/bench-strncat.c: Likewise.
485 * benchtests/bench-strncmp.c: Likewise.
486 * benchtests/bench-strncpy.c: Likewise.
487 * benchtests/bench-strnlen.c: Likewise.
488 * benchtests/bench-strpbrk.c: Likewise.
489 * benchtests/bench-strrchr.c: Likewise.
490 * benchtests/bench-strspn.c: Likewise.
491 * benchtests/bench-strstr.c: Likewise.
492
4932013-09-04 Will Newton <will.newton@linaro.org>
494
495 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
496
4972013-09-03 Joseph Myers <joseph@codesourcery.com>
498
499 [BZ #15427]
500 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
501 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
502 * math/libm-test.inc (lgamma_test_data): Add more tests.
503 * sysdeps/i386/fpu/libm-test-ulps: Update.
504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
505
5062013-09-03 Ondřej Bílka <neleai@seznam.cz>
507
508 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
510 Add ifunc.
511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
512 Add strcmp-sse2-unaligned
513 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
514
5152013-09-02 Mike Frysinger <vapier@gentoo.org>
516
517 * Versions.def (libc): Add GLIBC_2.19.
518
5192013-09-02 Mike Frysinger <vapier@gentoo.org>
520
521 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
522 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
523
5242013-09-02 Joseph Myers <joseph@codesourcery.com>
525
526 [BZ #14155]
527 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
528 intermediate calculations in recurrence.
529 (__ieee754_ynf): Likewise.
530 * math/libm-test.inc (jn_test_data): Do not allow spurious
531 underflow exception. Add more tests.
532 (yn_test_data): Add more tests.
533 * sysdeps/i386/fpu/libm-test-ulps: Update.
534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
535
5362013-09-02 Ondřej Bílka <neleai@seznam.cz>
537
538 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
539
5402013-08-30 Ondřej Bílka <neleai@seznam.cz>
541
542 * csu/init-first.c: Fix then/than typos.
543 * locale/programs/ld-collate.c: Likewise.
544 * locale/programs/linereader.h: Likewise.
545 * manual/charset.texi: Likewise.
546 * manual/filesys.texi: Likewise.
547 * manual/stdio.texi: Likewise.
548 * manual/string.texi: Likewise.
549 * stdlib/fmtmsg.c: Likewise.
550 * sysdeps/i386/stpncpy.S: Likewise.
551 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
552 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
554 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
555
5562013-08-30 Ondřej Bílka <neleai@seznam.cz>
557
558 * elf/dl-open.c: Fix typos.
559 * iconvdata/gbbig5.c: Likewise.
560 * iconvdata/iso-2022-jp.c: Likewise.
561 * iconv/gconv_int.h: Likewise.
562 * iconv/loop.c: Likewise.
563 * nis/rpcsvc/nis.h: Likewise.
564 * resolv/ns_name.c: Likewise.
565 * stdio-common/vfscanf.c: Likewise.
566 * streams/stropts.h: Likewise.
567 * sunrpc/rpc_thread.c: Likewise.
568 * sysdeps/i386/strpbrk.S: Likewise.
569 * sysdeps/ieee754/k_standard.c: Likewise.
570 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
571 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
572 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
573 * sysdeps/mach/hurd/profil.c: Likewise.
574 * sysdeps/s390/dl-procinfo.h: Likewise.
575 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
576 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
577 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
578 * sysdeps/x86_64/dl-trampoline.S: Likewise.
579 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
580
5812013-08-30 Ondřej Bílka <neleai@seznam.cz>
582
583 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
585
5862013-08-29 Ondřej Bílka <neleai@seznam.cz>
587
588 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
589 aix specific files.
590 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
591 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
592 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
593 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
594 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
595 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
596 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
597 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
598
5992013-08-29 Thomas Schwinge <thomas@codesourcery.com>
600 Roland McGrath <roland@hack.frob.com>
601
602 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
603 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
604
6052013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
606
607 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
608 __executable_start symbol instead of _start.
609
6102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
611
612 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
613 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
614 Move macros to...
615 * sysdeps/gnu/ldsodefs.h: ... this new file.
616
617 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
618 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
619 instead of ELFOSABI_LINUX.
620
621 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
622 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
623 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
624 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
625 Likewise.
626 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
627 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
628 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
629 Likewise.
630 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
631 (ibm_extended_long_double): Add ieee_nan member.
632 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
633 (do_test): New function.
634
635 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
636 TEST_TRUNC.
637 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
638 functions, renamed from truncdfsf_test, trunctfsf_test,
639 trunctfdf_test.
640 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
641 functions.
642 (do_test): Run all these.
643
6442013-08-29 Ondřej Bílka <neleai@seznam.cz>
645
646 * argp/argp-help.c: Fix typos.
647 * argp/argp-parse.c: Likewise.
648 * debug/backtracesyms.c: Likewise.
649 * elf/elf.h: Likewise.
650 * malloc/malloc.c: Likewise.
651 * nis/nis_print.c: Likewise.
652 * resolv/res_comp.c: Likewise.
653 * stdlib/stdlib.h: Likewise.
654 * sunrpc/clnt_tcp.c: Likewise.
655 * sunrpc/clnt_udp.c: Likewise.
656 * sunrpc/clnt_unix.c: Likewise.
657 * sysdeps/unix/bsd/ptsname.c: Likewise.
658 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
661 Likewise.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
663 Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
665 Likewise.
666 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
667
6682013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
669
670 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
672
6732013-08-27 Mike Frysinger <vapier@gentoo.org>
674
675 [BZ #15897]
676 * dlfcn/Makefile (tests): Add bug-dl-leaf.
677 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
678 ($(objpfx)bug-dl-leaf): New rule.
679 ($(objpfx)bug-dl-leaf.so): Likewise.
680 ($(objpfx)bug-dl-leaf.out): Likewise.
681 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
682 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
683 * dlfcn/bug-dl-leaf.c: New test.
684 * dlfcn/bug-dl-leaf-lib.c: Likewise.
685 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
686 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
687 (dlclose): Likewise.
688 (dlmopen): Likewise.
689
6902013-08-27 Roland McGrath <roland@hack.frob.com>
691
692 * include/netdb.h [!_ISOMAC]:
693 Don't include <tls.h>.
694 (h_errno, __libc_h_errno): Move declaration and macros out of
695 [_LIBC_REENTRANT].
696
697 * include/resolv.h [_RESOLV_H_]:
698 Don't include <tls.h>.
699 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
700 * resolv/res_libc.c: Don't include <tls.h>.
701 (_res): Use __attribute__ ((nocommon)) in place of
702 __attribute__ ((section (".bss"))).
703
704 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
705 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
706
707 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
708
709 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
710 only under [SIOCGIFCONF && SIOCGIFNETMASK].
711
712 * resolv/res_mkquery.c: Include <sys/time.h>.
713
714 * inet/ifreq.c: Moved to ...
715 * sysdeps/unix/ifreq.c: ... here.
716 * inet/ifreq.c: New file, true stub version.
717
718 * socket/sa_len.c: New file.
719 * socket/Makefile (aux): Add it.
720 * sysdeps/unix/sysv/linux/Makefile
721 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
722 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
723 and #include <socket/sa_len.c>.
724 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
725 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
726
727 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
728 * bits/socket.h: ... here.
729
730 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
731 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
732 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
733
7342013-08-27 Andreas Schwab <schwab@suse.de>
735
736 [BZ #15736]
737 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
738 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
739 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
740 * string/test-strcasecmp.c (test_main): Run tests in several
741 locales.
742 * string/test-strncasecmp.c (test_main): Likewise.
743
744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
745 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
746 to __strcasecmp_nonascii and __strncasecmp_nonascii.
747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
748 (__strncasecmp_ssse3) [PIC]: Likewise.
749
7502013-08-26 Roland McGrath <roland@hack.frob.com>
751
752 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
753
754 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
755 instead of explicitly declaring xdecrypt.
756 * nis/nss_nis/nis-publickey.c: Likewise.
757
7582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
759
760 [BZ #15890]
761 * nscd/aicache.c: Include res_hconf.h.
762 (addhstaiX): Initialize res_hconf.
763
7642013-08-26 Andreas Schwab <schwab@suse.de>
765
766 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
767 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
768
7692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
770
771 * nscd/aicache.c (addhstaiX): Fix indentation.
772
7732013-08-25 Mike Frysinger <vapier@gentoo.org>
774
775 * configure.ac: Quote $build_pt_chown test.
776 * configure: Regenerated.
777
7782013-08-23 Joseph Myers <joseph@codesourcery.com>
779
780 [BZ #15532]
781 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
782 * math/s_cexpf.c (__cexpf): Likewise.
783 * math/s_cexpl.c (__cexpl): Likewise.
784 * math/libm-test.inc (cexp_test_data): Correct expected return
785 value for NaN + i0. Add another test.
786
7872013-08-22 David S. Miller <davem@davemloft.net>
788
789 * po/ca.po: Update Catalan translation from translation project.
790 * po/uk.po: Add Ukrainian translations from translation project.
791
7922013-08-21 Joseph Myers <joseph@codesourcery.com>
793
794 [BZ #15797]
795 * math/s_fdim.c (__fdim): Check for infinite arguments if result
796 is infinite, not alongside NaN test.
797 * math/s_fdimf.c (__fdimf): Likewise.
798 * math/s_fdiml.c (__fdiml): Likewise.
799 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
800 errno is unchanged.
801
8022013-08-21 Ondřej Bílka <neleai@seznam.cz>
803
804 * argp/argp-help.c: Fix typos.
805 * crypt/speeds.c: Likewise.
806 * csu/check_fds.c: Likewise.
807 * elf/dl-load.c: Likewise.
808 * elf/dl-open.c: Likewise.
809 * elf/reldep3.c: Likewise.
810 * elf/reldep.c: Likewise.
811 * elf/sprof.c: Likewise.
812 * iconv/iconv_charmap.c: Likewise.
813 * iconv/skeleton.c: Likewise.
814 * iconv/strtab.c: Likewise.
815 * io/lockf64.c: Likewise.
816 * libio/libioP.h: Likewise.
817 * resolv/gai_notify.c: Likewise.
818 * resolv/ns_name.c: Likewise.
819 * resolv/ns_samedomain.c: Likewise.
820 * resolv/res_send.c: Likewise.
821 * stdlib/random.c: Likewise.
822 * sunrpc/rpc/xdr.h: Likewise.
823 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
824 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
825 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
826 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
827 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
828 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
830 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
831 * sysdeps/mach/hurd/check_fds.c: Likewise.
832 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
833 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
834 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
835 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
836 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
837 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
838 * sysdeps/pthread/aio_notify.c: Likewise.
839 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
840 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
841 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
842 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
843 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
844
8452013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
846
847 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
848 version if bit_Slow_SSE4_2 is set.
849 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
851
8522013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853
854 [BZ #15867]
855 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
856 trampoline stack frame information.
857 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
858 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
859 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
860 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
861 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
862 * sysdeps/unix/sysv/linux/powerpc/init-first.c
863 (_libc_vdso_platform_setup): Initialize the signal trampolines.
864 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
865 sa_flags value.
866 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
867 interrupting a syscall and set with option SA_SIGINFO.
868
8692013-08-20 Joseph Myers <joseph@codesourcery.com>
870
871 [BZ #15531]
872 * math/s_cproj.c (__cproj): Only return an infinity if one part of
873 argument is infinite.
874 * math/s_cprojf.c (__cprojf): Likewise.
875 * math/s_cprojl.c (__cprojl): Likewise.
876 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
877 * math/libm-test.inc (cproj_test_data): Add more tests.
878
879 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
880
881 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
882 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
883 size. Use __ffs to determine corresponding shift.
884
8852013-08-20 Joseph Myers <joseph@codesourcery.com>
886 Roland McGrath <roland@hack.frob.com>
887
888 * Makefile (INSTALL): Remove trailing blank lines from output of
889 makeinfo.
890
8912013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
892
893 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
894 Align 32 bit compat elf_greg to 8 bytes.
895
8962013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
897
898 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
899
9002013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
901
902 * string/strcoll_l.c (coll_seq): New structure.
903 (get_next_seq_cached): New function.
904 (get_next_seq): New function.
905 (do_compare): New function.
906 (STRCOLL): Use GNU style definition. Simplify implementation
907 by using get_next_seq, get_next_seq_cached and do_compare.
908
9092013-08-16 Florian Weimer <fweimer@redhat.com>
910
911 [BZ #14699]
912 CVE-2013-4237
913 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
914 member.
915 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
916 member.
917 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
918 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
919 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
920 conditional.
921 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
922 GETDENTS_64BIT_ALIGNED.
923 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
924 * manual/filesys.texi (Reading/Closing Directory): Document
925 ENAMETOOLONG return value of readdir_r. Recommend readdir more
926 strongly.
927 * manual/conf.texi (Limits for Files): Add portability note to
928 NAME_MAX, PATH_MAX.
929 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
930
9312013-08-13 Andreas Schwab <schwab@suse.de>
932
933 [BZ #15749]
934 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
935 of fabs.
936 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
937 LDBL_MAX_EXP >= 16384]: Add tests for it.
938
9392013-08-12 David S. Miller <davem@davemloft.net>
940
941 * version.h (RELEASE): Set to "development".
942 (VERSION): Set to "2.18.90".
943 * NEWS: Add 2.19 section.
944
9452013-08-03 David S. Miller <davem@davemloft.net>
946
947 * po/ko.po: Update Korean translation from translation project.
948
9492013-08-01 David S. Miller <davem@davemloft.net>
950
951 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
952 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
953 Bilka.
954
9552013-07-30 David S. Miller <davem@davemloft.net>
956
957 * po/fr.po: Update French translation from translation project.
958
9592013-07-28 David S. Miller <davem@davemloft.net>
960
961 * po/cs.po: Update Czech translation from translation project.
962
963 * po/sv.po: Update Swedish translation from translation project.
964
9652013-07-27 David S. Miller <davem@davemloft.net>
966
967 * po/eo.po: Update Esperanto translation from translation project.
968
969 * po/vi.po: Update Vietnamese translation from translation project.
970
971 * po/de.po: Update German translation from translation project.
972
9732013-07-26 David S. Miller <davem@davemloft.net>
974
975 * po/bg.po: Update Bulgarian translation from translation project.
976
977 * po/nl.po: Update Dutch translation from translation project.
978 * po/pl.po: Update Polish translation from translation project.
979 * po/ru.po: Update Russian translation from translation project.
980
9812013-07-24 David S. Miller <davem@davemloft.net>
982
983 * po/libc.pot: Update.
984
9852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
987 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
988 variable page size.
989 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
990 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
991 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
992
9932013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
994
995 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
996
9972013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
998 Andreas Schwab <schwab@suse.de>
999 Roland McGrath <roland@hack.frob.com>
1000 Joseph Myers <joseph@codesourcery.com>
1001 Carlos O'Donell <carlos@redhat.com>
1002
1003 [BZ #15755]
1004 * config.h.in: Define HAVE_PT_CHOWN.
1005 * config.make.in (build-pt-chown): New variable.
1006 * configure.in (--enable-pt_chown): New configure option.
1007 * configure: Regenerate.
1008 * login/Makefile: Include Makeconfig. Build pt_chown only if
1009 build-pt-chown is enabled.
1010 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1011 pt_chown to fix pty ownership.
1012 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1013 CLOSE_ALL_FDS.
1014 * manual/install.texi (Configuring and compiling): Mention
1015 --enable-pt_chown. Add @findex for grantpt.
1016 * INSTALL: Regenerate.
1017
10182013-07-20 David S. Miller <davem@davemloft.net>
1019
1020 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1021 difference between 32-bit and 64-bit.
1022
10232013-07-15 Carlos O'Donell <carlos@redhat.com>
1024
1025 [BZ #15711]
1026 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1027 Avoid system header dependency with -ffreestanding.
1028 ($(objpfx)bits/syscall%d): Likewise.
1029
10302013-07-13 David S. Miller <davem@davemloft.net>
1031
1032 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1033 underflows from atanl/atan2l due to bug 15319.
1034 (casinh_test_data): Likewise.
1035
10362013-07-07 David S. Miller <davem@davemloft.net>
1037
1038 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1039
10402013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1041
1042 * sysdeps/i386/fpu/libm-test-ulps: Update.
1043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1044
10452013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1046
1047 * configure.in (--enable-lock-elision): Fix message text.
1048 * INSTALL: Regenerate.
1049 * configure: Regenerate.
1050
10512013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052
1053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1054
10552013-07-03 Andreas Jaeger <aj@suse.de>
1056
1057 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1058 define.
1059 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1060 (ptrace_peeksiginfo_args): Add.
1061 (__ptrace_peeksiginfo_flags): Add.
1062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1064 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1065
10662013-07-03 Allan McRae <allan@archlinux.org>
1067
1068 * sysdeps/i386/fpu/libm-test-ulps: Update.
1069
10702013-07-02 David S. Miller <davem@davemloft.net>
1071
1072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1073
10742013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1075
1076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1077
10782013-07-02 Joseph Myers <joseph@codesourcery.com>
1079
1080 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1082
10832013-07-02 Andi Kleen <ak@linux.intel.com>
1084
1085 * config.h.in (ENABLE_LOCK_ELISION): Add.
1086 * configure.in (--enable-lock-elision): Add option.
1087 * manual/install.texi: Document --enable lock elision.
1088 * configure: Regenerate
1089 * INSTALL: Regenerate.
1090
10912013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1094 SSE4.2 strcasecmp for libc.a.
1095 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1096
10972013-07-02 Joseph Myers <joseph@codesourcery.com>
1098
1099 [BZ #13304]
1100 * soft-fp/op-common.h (_FP_FMA): New macro.
1101 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1102 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1103 (_FP_MUL_MEAT_1_imm): ... here.
1104 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1105 (_FP_MUL_MEAT_1_wide): ... here.
1106 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1107 (_FP_MUL_MEAT_1_hard): ... here.
1108 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1109 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1110 (_FP_MUL_MEAT_2_wide): ... here.
1111 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1112 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1113 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1114 (_FP_MUL_MEAT_2_gmp): ... here.
1115 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1116 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1117 (_FP_MUL_MEAT_4_wide): ... here.
1118 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1119 (_FP_MUL_MEAT_4_gmp): ... here.
1120 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1121 (_FP_WFRACBITS_DW_S): Likewise.
1122 (_FP_WFRACXBITS_DW_S): Likewise.
1123 (_FP_HIGHBIT_DW_S): Likewise.
1124 (FP_FMA_S): Likewise.
1125 (_FP_FRAC_HIGH_DW_S): Likewise.
1126 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1127 (_FP_WFRACBITS_DW_D): Likewise.
1128 (_FP_WFRACXBITS_DW_D): Likewise.
1129 (_FP_HIGHBIT_DW_D): Likewise.
1130 (FP_FMA_D): Likewise.
1131 (_FP_FRAC_HIGH_DW_D): Likewise.
1132 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1133 (_FP_WFRACBITS_DW_E): Likewise.
1134 (_FP_WFRACXBITS_DW_E): Likewise.
1135 (_FP_HIGHBIT_DW_E): Likewise.
1136 (FP_FMA_E): Likewise.
1137 (_FP_FRAC_HIGH_DW_E): Likewise.
1138 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1139 (_FP_WFRACBITS_DW_Q): Likewise.
1140 (_FP_WFRACXBITS_DW_Q): Likewise.
1141 (_FP_HIGHBIT_DW_Q): Likewise.
1142 (FP_FMA_Q): Likewise.
1143 (_FP_FRAC_HIGH_DW_Q): Likewise.
1144 * soft-fp/fmasf4.c: New file.
1145 * soft-fp/fmadf4.c: Likewise.
1146 * soft-fp/fmatf4.c: Likewise.
1147
11482013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1149
1150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1151 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1152 Silvermont.
1153 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1154 macro.
1155 (index_Slow_SSE4_2): Likewise.
1156 (index_Prefer_PMINUB_for_stringop): Likewise.
1157 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1158 bit_Slow_SSE4_2 is set.
1159 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1160 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1161
11622013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1163
1164 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1165 rtld_global._dl_hwcap2.
1166 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1167 POWER8.
1168 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1169 POWER8 feature descriptions defined in _dl_hwcap2.
1170 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1171 string handling for POWER8 feature bits.
1172 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1173 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1174 _dl_powerpc_cap_flags.
1175 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1176 * sysdeps/powerpc/rtld-global-offsets.sym
1177 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1178 _dl_hwcap2 in the rtld_global_ro structure.
1179
11802013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1181
1182 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1183 hardware capabilities in support of AT_HWCAP2.
1184 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1185 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1186 GLRO(dl_hwcap2).
1187 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1188 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1189 explicitly the unknown a_type display mechanism is used.
1190 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1191 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1192 struct member.
1193 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1194 to macro prototype for AT_HWCAP2 support.
1195 * sysdeps/i386/dl-procinfo.h: Likewise.
1196 * sysdeps/s390/dl-procinfo.h: Likewise.
1197 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1198 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1199 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1200 return -1 for unknown a_type display fallback.
1201 * sysdeps/sparc/dl-procinfo.h: Likewise.
1202 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1203 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1204
12052013-06-28 Joseph Myers <joseph@codesourcery.com>
1206
1207 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1208 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1209
12102013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1211
1212 [BZ #12492]
1213 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1214 mprotect making __stack_prot writable.
1215
12162013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1217 Joseph Myers <joseph@codesourcery.com>
1218
1219 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1220 as being properly aligned.
1221
12222013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1223
1224 * dlfcn/modstatic5.c: New file.
1225 * dlfcn/tststatic5.c: New file.
1226 * dlfcn/Makefile (tests): Add tststatic5.
1227 (tests-static): Likewise.
1228 (modules-names): Add modstatic5.
1229 (tststatic5-ENV): New variable.
1230 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1231
1232 [BZ #15022]
1233 * elf/dl-support.c (_dl_main_map): New variable.
1234 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1235 (_dl_nns, _dl_load_adds): Set to 1.
1236 (_dl_initial_searchlist): Refer to _dl_main_map.
1237 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1238 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1239 call to _dl_get_origin.
1240 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1241 around call_map.
1242 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1243 * dlfcn/modstatic3.c: New file.
1244 * dlfcn/tststatic3.c: New file.
1245 * dlfcn/tststatic4.c: New file.
1246 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1247 (tests-static): Likewise.
1248 (modules-names): Add modstatic3.
1249 (tststatic3-ENV, tststatic4-ENV): New variables.
1250 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1251 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1252
12532013-06-26 Joseph Myers <joseph@codesourcery.com>
1254
1255 * configure.in (CC): Require GCC version 4.4 or later.
1256 * configure: Regenerated.
1257 * manual/install.texi (Tools for Compilation): Update GCC version
1258 requirement.
1259 * INSTALL: Regenerated.
1260
12612013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1262
1263 [BZ #15674]
1264 * string/test-memcmp.c (check2): New.
1265 (main): Call check2.
1266
1267 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1268
12692013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1270
1271 [BZ #15022]
1272 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1273 over to...
1274 (dl_open_worker) [!SHARED]: ... here.
1275
12762013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1277
1278 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1279
12802013-06-25 Richard Henderson <rth@redhat.com>
1281
1282 * locale/programs/locarchive.c: Include <libc-internal.h>
1283
12842013-06-25 Joseph Myers <joseph@codesourcery.com>
1285
1286 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1287 trailing whitespace removed.
1288
12892013-06-24 Mike Frysinger <vapier@gentoo.org>
1290
1291 [BZ #10283]
1292 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1293 * locale/programs/locarchive.c: Include libc-mmap.h.
1294 (prepare_address_space): Take two new outputs (the mmap base and len).
1295 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1296 values.
1297 (create_archive): Declare new mmap base and len values for
1298 prepare_address_space, and store the result in ah.
1299 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1300 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1301 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1302 Declare new mmap base and len values for
1303 prepare_address_space, and store the result in new_ah.
1304 (open_archive): Declare new mmap base and len values for
1305 prepare_address_space, and store the result in ah.
1306 (close_archive): If ah->mmap_base is not NULL, use that and
1307 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1308 * sysdeps/generic/libc-mmap.h: New file.
1309
13102013-06-24 Mike Frysinger <vapier@gentoo.org>
1311
1312 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1313 (ALIGN_UP): Likewise.
1314 (PTR_ALIGN_DOWN): Likewise.
1315 (PTR_ALIGN_UP): Likewise.
1316
13172013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1318
1319 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1320 entry mapped to PPC_PLATFORM_POWER8.
1321 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1322 POWER8.
1323 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1324 (_dl_string_platform): Add case for exporting platform position for
1325 POWER8.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1327 search path to sysdeps/powerpc/powerpc32/power8 directory.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1329 search path to sysdeps/powerpc/powerpc64/power8 directory.
1330 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1331 power7 directories.
1332 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1333 power7 directories.
1334
13352013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1336
1337 * INSTALL: Regenerate.
1338
1339 * nscd/connections.c (nscd_init): Fix comment.
1340
13412013-06-22 Joseph Myers <joseph@codesourcery.com>
1342
1343 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1344
1345 [BZ #15667]
1346 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1347 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1348
13492013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1350
1351 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1352 DL_DST_REQ_STATIC.
1353 (DL_DST_REQ_STATIC): Remove macro.
1354
13552013-06-21 Joseph Myers <joseph@codesourcery.com>
1356
1357 [BZ #7006]
1358 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1359 with a shift of 0 bits.
1360
13612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1362
1363 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1364 $(tststatic-ENV).
1365
13662013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1367
1368 [BZ #15655]
1369 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1370
13712013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372
1373 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1374 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1375 accepts -fno-tree-loop-distribute-patterns.
1376 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1377 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1378 recursive call.
1379 * string/memset.c (memset): Likewise.
1380 * string/test-memmove.c (simple_memmove): Disable loop transformation
1381 to library calls.
1382 * string/test-memset.c (simple_memset): Likewise.
1383 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1384 * benchtests/bench-memset.c (simple_memset): Likewise.
1385 * configure: Regenerated.
1386
13872013-06-20 Joseph Myers <joseph@codesourcery.com>
1388
1389 * math/test-misc.c (main): Ignore fesetround failure when failures
1390 of subsequent rounding tests would be ignored.
1391
1392 [BZ #15654]
1393 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1394 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1395 * math/fegetenv.c (__fegetenv): Return 0.
1396 * math/fegetexcept.c (fegetexcept): Return 0.
1397 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1398 FE_TONEAREST.
1399 * math/feholdexcpt.c (feholdexcept): Return 0.
1400 * math/fesetenv.c (__fesetenv): Return 0.
1401 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1402 argument FE_TONEAREST.
1403 * math/feupdateenv.c (__feupdateenv): Return 0.
1404 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1405
14062013-06-18 Roland McGrath <roland@hack.frob.com>
1407
1408 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1409 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1410 ($(objpfx)rtld-%.os rules): Use them.
1411
14122013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1413
1414 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1415 fields.
1416
14172013-06-17 Roland McGrath <roland@hack.frob.com>
1418
1419 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1420 length of target pattern, then descending length of dependency pattern.
1421 * configure.in (AWK): Require gawk 3.1.2 or newer.
1422 * manual/install.texi (Tools for Compilation): Say that we do.
1423 * configure: Regenerated.
1424
1425 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1426 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1427 * scripts/sysd-rules.awk: ... this new script.
1428 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1429 than a glob-style pattern.
1430
14312013-06-17 Joseph Myers <joseph@codesourcery.com>
1432
1433 * math/test-misc.c (main): Do not treat incorrectly rounded
1434 conversions as failure unless ROUNDING_TESTS passes.
1435
14362013-06-15 Joseph Myers <joseph@codesourcery.com>
1437
1438 [BZ #15631]
1439 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1440 restore exception state around main square root computation, then
1441 check for inexactness explicitly.
1442
1443 * math/libm-test.inc (fma_test_data): Add another test.
1444
14452013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1446
1447 * manual/threads.texi (Non-POSIX Extensions): New document
1448 node. Document pthread_getattr_default_np and
1449 pthread_setattr_default_np.
1450
1451 * Versions.def (libpthread): Add GLIBC_2.18.
1452 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1454 Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1456 Likewise.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1458 Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1460 Likewise.
1461 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1462 Likewise.
1463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1464 Likewise.
1465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1466 Likewise.
1467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1468 Likewise.
1469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1470 Likewise.
1471
14722013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1473
1474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1475 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1476
14772013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1478 H.J. Lu <hjl.tools@gmail.com>
1479
1480 [BZ #15627]
1481 * sysdeps/x86_64/rtld-memset.c: Remove file.
1482 * sysdeps/x86_64/rtld-memset.S: New file.
1483
14842013-06-14 Joseph Myers <joseph@codesourcery.com>
1485
1486 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1487 (test_in_one_mode): Take arguments for whether the rounding mode
1488 is supported for each floating-point type.
1489 (do_test): Pass new arguments to test_in_one_mode using
1490 ROUNDING_TESTS.
1491
14922013-06-13 Roland McGrath <roland@hack.frob.com>
1493
1494 * posix/tst-waitid.c (do_test): Distinguish different instances of
1495 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1496 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1497 before entering the kernel for waitpid.
1498
14992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1500
1501 * NEWS: Fix note on clock function precision. Text by Roland
1502 McGrath.
1503
15042013-06-13 Roland McGrath <roland@hack.frob.com>
1505
1506 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1507 it into place only when and if the sanity check passes.
1508
15092013-06-13 Joseph Myers <joseph@codesourcery.com>
1510
1511 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1512 output for whether conversion result is exact. Take argument
1513 indicating whether type is IBM long double.
1514 (round_for_all): Change need_exact field to ibm_ld.
1515 * stdlib/tst-strtod-round.c (struct exactness): New type.
1516 (struct test): Change bool ld_ok field to struct exactness exact.
1517 (TEST): Update all definitions for change to field.
1518 (tests): Regenerate array contents.
1519 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1520 field value. Check for IBM long double here.
1521 (do_test): Update calls to test_in_one_mode.
1522
15232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1524
1525 [BZ #12515]
1526 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1527 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1528
15292013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1530
1531 [BZ #15605]
1532 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1533 generated by the compiler on loop optimizations.
1534 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1535 general definitions.
1536
15372013-06-12 Joseph Myers <joseph@codesourcery.com>
1538
1539 * math/bug-nextafter.c: Include <math-tests.h>.
1540 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1541 the relevant type.
1542 * math/bug-nexttoward.c: Include <math-tests.h>.
1543 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1544 the relevant type.
1545 * math/test-misc.c: Include <math-tests.h>.
1546 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1547 the relevant type.
1548
15492013-06-12 Andreas Jaeger <aj@suse.de>
1550
1551 * po/ia.po: Update Interlingua translation from translation
1552 project.
1553
15542013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1555
1556 * include/fenv.h: Include stdbool.h.
1557 (struct rm_ctx): New structure.
1558 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1559 Define macro.
1560 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1561 (SET_RESTORE_ROUNDF): Likewise.
1562 (SET_RESTORE_ROUNDL): Likewise.
1563 (SET_RESTORE_ROUND_NOEX): Likewise.
1564 (SET_RESTORE_ROUND_NOEXF): Likewise.
1565 (SET_RESTORE_ROUND_NOEXL): Likewise.
1566 (SET_RESTORE_ROUND_53BIT): Likewise.
1567 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1568 (libc_feresetround_noexf_ctx): Likewise.
1569 (libc_feresetround_noexl_ctx): Likewise.
1570 (libc_feholdsetround_53bit_ctx): Likewise.
1571 (libc_feresetround_53bit_ctx): Likewise.
1572 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1573 (libc_feholdexcept_setround_sse_ctx): New function.
1574 (libc_fesetenv_sse_ctx): Likewise.
1575 (libc_feupdateenv_sse_ctx): Likewise.
1576 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1577 (libc_feholdexcept_setround_387_ctx): Likewise.
1578 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1579 (libc_feholdsetround_387_prec_ctx): Likewise.
1580 (libc_feholdsetround_387_ctx): Likewise.
1581 (libc_feholdsetround_387_53bit_ctx): Likewise.
1582 (libc_feholdsetround_sse_ctx): Likewise.
1583 (libc_feresetround_sse_ctx): Likewise.
1584 (libc_feresetround_387_ctx): Likewise.
1585 (libc_feupdateenv_387_ctx): Likewise.
1586 (libc_feholdexcept_setroundf_ctx): Define macro.
1587 (libc_fesetenvf_ctx): Likewise.
1588 (libc_feupdateenvf_ctx): Likewise.
1589 (libc_feholdsetroundf_ctx): Likewise.
1590 (libc_feresetroundf_ctx): Likewise.
1591 (libc_feholdexcept_setround_ctx): Likewise.
1592 (libc_fesetenv_ctx): Likewise.
1593 (libc_feupdateenv_ctx): Likewise.
1594 (libc_feholdsetround_ctx): Likewise.
1595 (libc_feresetround_ctx): Likewise.
1596 (libc_feholdexcept_setroundl_ctx): Likewise.
1597 (libc_feupdateenvl_ctx): Likewise.
1598 (libc_feholdsetroundl_ctx): Likewise.
1599 (libc_feresetroundl_ctx): Likewise.
1600 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1601 (libc_feresetround_53bit_ctx): Likewise.
1602
16032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1604
1605 * locale/iso-639.def: Convert to UTF-8.
1606
16072013-06-11 Joseph Myers <joseph@codesourcery.com>
1608
1609 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1610 (EXCEPTION_TESTS_double): Likewise.
1611 (EXCEPTION_TESTS_long_double): Likewise.
1612 (EXCEPTION_TESTS): Likewise.
1613 * math/libm-test.inc (test_exceptions): Only test exceptions if
1614 EXCEPTION_TESTS (FLOAT).
1615
16162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1617
1618 * benchtests/Makefile (string-bench): Add strcpy_chk and
1619 stpcpy_chk.
1620 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1621 * benchtests/bench-stpcpy_chk.c: New file.
1622 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1623 * benchtests/bench-strcpy_chk.c: New file.
1624 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1625 code.
1626 (do_test): Likewise.
1627
16282013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1629
1630 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1631 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1632 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1633 with tabs where appropriate.
1634 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1635 dl-procinfo.h.
1636 [PPC_PLATFORM_PPC440]: Likewise.
1637 [PPC_PLATFORM_PPC464]: Likewise.
1638 [PPC_PLATFORM_PPC476]: Likewise.
1639 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1640 ppc464, and ppc476 platform strings merging from ports/
1641 dl-procinfo.h.
1642
16432013-06-11 Andreas Schwab <schwab@suse.de>
1644
1645 [BZ #14991]
1646 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1647 (from_ucs4_idx): Regenerate.
1648 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1649 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1650 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1651 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1652 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1653 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1654 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1655 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1656 from FROM_LOOP and TO_LOOP specific macros.
1657 (BODY): Handle combining characters.
1658 * iconvdata/BIG5HKSCS.irreversible: Update.
1659 * iconvdata/BIG5HKSCS.precomposed: New file.
1660 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1661 characters.
1662 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1663
16642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1665
1666 * include/sys/time.h: Fix indentation and add copyright header.
1667
1668 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1669 (do_test): Likewise.
1670 * string/test-memchr.c (do_one_test): Likewise.
1671 (do_test): Likewise.
1672 * string/test-memcmp.c (do_one_test): Likewise.
1673 (do_test): Likewise.
1674 * string/test-memcpy.c (do_one_test): Likewise.
1675 (do_test): Likewise.
1676 * string/test-memmem.c (do_one_test): Likewise.
1677 (do_test): Likewise.
1678 (do_random_tests): Likewise.
1679 * string/test-memmove.c (do_one_test): Likewise.
1680 (do_test): Likewise.
1681 * string/test-memset.c (do_one_test): Likewise.
1682 (do_test): Likewise.
1683 * string/test-rawmemchr.c (do_one_test): Likewise.
1684 (do_test): Likewise.
1685 * string/test-strcasecmp.c (do_one_test): Likewise.
1686 (do_test): Likewise.
1687 * string/test-strcasestr.c (do_one_test): Likewise.
1688 (do_test): Likewise.
1689 * string/test-strcat.c (do_one_test): Likewise.
1690 (do_test): Likewise.
1691 * string/test-strchr.c (do_one_test): Likewise.
1692 (do_test): Likewise.
1693 * string/test-strcmp.c (do_one_test): Likewise.
1694 (do_test): Likewise.
1695 * string/test-strcpy.c (do_one_test): Likewise.
1696 (do_test): Likewise.
1697 * string/test-string.h: Likewise.
1698 (test_init): Likewise.
1699 * string/test-strlen.c (do_one_test): Likewise.
1700 (do_test): Likewise.
1701 * string/test-strncasecmp.c (do_one_test): Likewise.
1702 (do_test): Likewise.
1703 * string/test-strncat.c (do_one_test): Likewise.
1704 (do_test): Likewise.
1705 * string/test-strncmp.c (do_one_test): Likewise.
1706 (do_test_limit): Likewise.
1707 (do_test): Likewise.
1708 * string/test-strncpy.c (do_one_test): Likewise.
1709 (do_test): Likewise.
1710 * string/test-strnlen.c (do_one_test): Likewise.
1711 (do_test): Likewise.
1712 * string/test-strpbrk.c (do_one_test): Likewise.
1713 (do_test): Likewise.
1714 * string/test-strrchr.c (do_one_test): Likewise.
1715 (do_test): Likewise.
1716 * string/test-strspn.c (do_one_test): Likewise.
1717 (do_test): Likewise.
1718 * string/test-strstr.c (do_one_test): Likewise.
1719 (do_test): Likewise.
1720
1721 * benchtests/Makefile (string-bench): Add string benchmarks.
1722 * benchtests/bench-bcopy-ifunc.c: New file.
1723 * benchtests/bench-bcopy.c: New file.
1724 * benchtests/bench-bzero-ifunc.c: New file.
1725 * benchtests/bench-bzero.c: New file.
1726 * benchtests/bench-memccpy-ifunc.c: New file.
1727 * benchtests/bench-memccpy.c: New file.
1728 * benchtests/bench-memchr-ifunc.c: New file.
1729 * benchtests/bench-memchr.c: New file.
1730 * benchtests/bench-memcmp-ifunc.c: New file.
1731 * benchtests/bench-memcmp.c: New file.
1732 * benchtests/bench-memmem-ifunc.c: New file.
1733 * benchtests/bench-memmem.c: New file.
1734 * benchtests/bench-memmove-ifunc.c: New file.
1735 * benchtests/bench-memmove.c: New file.
1736 * benchtests/bench-mempcpy-ifunc.c: New file.
1737 * benchtests/bench-mempcpy.c: New file.
1738 * benchtests/bench-memset-ifunc.c: New file.
1739 * benchtests/bench-memset.c: New file.
1740 * benchtests/bench-rawmemchr-ifunc.c: New file.
1741 * benchtests/bench-rawmemchr.c: New file.
1742 * benchtests/bench-stpcpy-ifunc.c: New file.
1743 * benchtests/bench-stpcpy.c: New file.
1744 * benchtests/bench-stpncpy-ifunc.c: New file.
1745 * benchtests/bench-stpncpy.c: New file.
1746 * benchtests/bench-strcasecmp-ifunc.c: New file.
1747 * benchtests/bench-strcasecmp.c: New file.
1748 * benchtests/bench-strcasestr-ifunc.c: New file.
1749 * benchtests/bench-strcasestr.c: New file.
1750 * benchtests/bench-strcat-ifunc.c: New file.
1751 * benchtests/bench-strcat.c: New file.
1752 * benchtests/bench-strchr-ifunc.c: New file.
1753 * benchtests/bench-strchr.c: New file.
1754 * benchtests/bench-strchrnul-ifunc.c: New file.
1755 * benchtests/bench-strchrnul.c: New file.
1756 * benchtests/bench-strcmp-ifunc.c: New file.
1757 * benchtests/bench-strcmp.c: New file.
1758 * benchtests/bench-strcpy-ifunc.c: New file.
1759 * benchtests/bench-strcpy.c: New file.
1760 * benchtests/bench-strcspn-ifunc.c: New file.
1761 * benchtests/bench-strcspn.c: New file.
1762 * benchtests/bench-strlen-ifunc.c: New file.
1763 * benchtests/bench-strlen.c: New file.
1764 * benchtests/bench-strncasecmp-ifunc.c: New file.
1765 * benchtests/bench-strncasecmp.c: New file.
1766 * benchtests/bench-strncat-ifunc.c: New file.
1767 * benchtests/bench-strncat.c: New file.
1768 * benchtests/bench-strncmp-ifunc.c: New file.
1769 * benchtests/bench-strncmp.c: New file.
1770 * benchtests/bench-strncpy-ifunc.c: New file.
1771 * benchtests/bench-strncpy.c: New file.
1772 * benchtests/bench-strnlen-ifunc.c: New file.
1773 * benchtests/bench-strnlen.c: New file.
1774 * benchtests/bench-strpbrk-ifunc.c: New file.
1775 * benchtests/bench-strpbrk.c: New file.
1776 * benchtests/bench-strrchr-ifunc.c: New file.
1777 * benchtests/bench-strrchr.c: New file.
1778 * benchtests/bench-strspn-ifunc.c: New file.
1779 * benchtests/bench-strspn.c: New file.
1780 * benchtests/bench-strstr-ifunc.c: New file.
1781 * benchtests/bench-strstr.c: New file.
1782
1783 * benchtests/Makefile: Disable parallel execution of targets.
1784 (string-bench): Add memcpy.
1785 (benchset): New variable to store a list of benchmark sets.
1786 (bench-func): Renamed from bench.
1787 (bench-set): New target.
1788 (bench): Depend on bench-func and bench-set.
1789 * benchtests/README: Add section on benchmark sets.
1790 * benchtests/bench-memcpy-ifunc.c: New file.
1791 * benchtests/bench-memcpy.c: New file.
1792 * benchtests/bench-string.h: New file.
1793
17942013-06-11 Andreas Schwab <schwab@suse.de>
1795
1796 [BZ #15577]
1797 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1798 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1799 values in the triple.
1800 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1801 terminator in the group key.
1802
18032013-06-11 Andreas Jaeger <aj@suse.de>
1804
1805 * po/zh_TW.po: Update Chinese (traditional) translation from
1806 translation project.
1807
18082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1809
1810 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1811 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1812 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1813 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1814 (clock_getcpuclockid): Likewise.
1815 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1816 Add weak_alias and libc_hidden_def.
1817 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1818 * rt/clock_gettime.c (clock_gettime): Rename to
1819 __clock_gettime. Add weak_alias and libc_hidden_def.
1820 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1821 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1822 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1823 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1824 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1825 Likewise.
1826 * rt/clock_settime.c (clock_settime): Rename to
1827 __clock_settime. Add weak_alias and libc_hidden_def.
1828 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1829
18302013-06-10 Joseph Myers <joseph@codesourcery.com>
1831
1832 * mach/err_boot.sub: Remove trailing whitespace.
1833 * mach/err_ipc.sub: Likewise.
1834 * mach/err_mach.sub: Likewise.
1835
1836 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1837 (ROUNDING_TESTS_double): Likewise.
1838 (ROUNDING_TESTS_long_double): Likewise.
1839 (ROUNDING_TESTS): Likewise.
1840 * math/libm-test.inc: Include <math-tests.h>.
1841 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1842 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1843 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1844 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1845
18462013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1847
1848 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1849 of assigning.
1850
18512013-06-08 Joseph Myers <joseph@codesourcery.com>
1852
1853 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1854 otherwise empty TRANS lines.
1855 * sysdeps/gnu/errlist.c: Regenerated.
1856
1857 * catgets/gencat.c (error_print): Use (void) in function
1858 definition.
1859 * crypt/crypt_util.c (__init_des): Likewise.
1860 * crypt/speeds.c (Stop): Likewise.
1861 (main): Likewise.
1862 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1863 * inet/ruserpass.c (token): Likewise.
1864 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1865 * intl/localealias.c (extend_alias_table): Likewise.
1866 * intl/plural-exp.c (init_germanic_plural): Likewise.
1867 * libio/fcloseall.c (__fcloseall): Likewise.
1868 * libio/genops.c (_IO_flush_all): Likewise.
1869 (_IO_flush_all_linebuffered): Likewise.
1870 (_IO_cleanup): Likewise.
1871 (_IO_iter_begin): Likewise.
1872 (_IO_iter_end): Likewise.
1873 (_IO_list_lock): Likewise.
1874 (_IO_list_unlock): Likewise.
1875 (_IO_list_resetlock): Likewise.
1876 * libio/getchar.c (getchar): Likewise.
1877 * libio/getchar_u.c (getchar_unlocked): Likewise.
1878 * libio/getwchar.c (getwchar): Likewise.
1879 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1880 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1881 * login/getpt.c (__getpt): Likewise.
1882 * login/tst-utmp.c (main): Likewise.
1883 * malloc/hooks.c (__malloc_check_init): Likewise.
1884 * malloc/malloc.c (__malloc_stats): Likewise.
1885 * malloc/mtrace.c (tr_break): Likewise.
1886 (mtrace): Likewise.
1887 (muntrace): Likewise.
1888 * misc/fstab.c (endfsent): Likewise.
1889 * misc/getclktck.c (__getclktck): Likewise.
1890 * misc/getdtsz.c (__getdtablesize): Likewise.
1891 * misc/gethostid.c (gethostid): Likewise.
1892 * misc/getpagesize.c (__getpagesize): Likewise.
1893 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1894 (__get_nprocs): Likewise.
1895 (__get_phys_pages): Likewise.
1896 (__get_avphys_pages): Likewise.
1897 * misc/getttyent.c (getttyent): Likewise.
1898 (setttyent): Likewise.
1899 (endttyent): Likewise.
1900 * misc/getusershell.c (getusershell): Likewise.
1901 (endusershell): Likewise.
1902 (setusershell): Likewise.
1903 (initshells): Likewise.
1904 * misc/hsearch.c (__hdestroy): Likewise.
1905 * misc/sync.c (sync): Likewise.
1906 * misc/syslog.c (closelog_internal): Likewise.
1907 (closelog): Likewise.
1908 * misc/ttyslot.c (ttyslot): Likewise.
1909 * misc/vhangup.c (vhangup): Likewise.
1910 * posix/fork.c (__fork): Likewise.
1911 * posix/getegid.c (__getegid): Likewise.
1912 * posix/geteuid.c (__geteuid): Likewise.
1913 * posix/getgid.c (__getgid): Likewise.
1914 * posix/getpid.c (__getpid): Likewise.
1915 * posix/getppid.c (__getppid): Likewise.
1916 * posix/getuid.c (__getuid): Likewise.
1917 * posix/pause.c (pause): Likewise.
1918 * posix/setpgrp.c (setpgrp): Likewise.
1919 * posix/setsid.c (__setsid): Likewise.
1920 * posix/test-vfork.c (noop): Likewise.
1921 * resolv/gethnamaddr.c (_endhtent): Likewise.
1922 (_gethtent): Likewise.
1923 (ht_endhostent): Likewise.
1924 (gethostent): Likewise.
1925 (dns_service): Likewise.
1926 * stdlib/drand48.c (drand48): Likewise.
1927 * stdlib/lrand48.c (lrand48): Likewise.
1928 * stdlib/mrand48.c (mrand48): Likewise.
1929 * stdlib/rand.c (rand): Likewise.
1930 * stdlib/random.c (__random): Likewise.
1931 * stdlib/setenv.c (clearenv): Likewise.
1932 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1933 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1934 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1935 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1936 (__get_nprocs): Likewise.
1937 (__get_phys_pages): Likewise.
1938 (__get_avphys_pages): Likewise.
1939 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1940 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1941 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1942 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1943 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1944 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1945 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1946 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1947 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1948 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1949 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1950 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1951 * sysdeps/posix/clock.c (clock): Likewise.
1952 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1953 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1954 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1955 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1956 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1957 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1958 (__get_nprocs_conf): Likewise.
1959 (__get_phys_pages): Likewise.
1960 (__get_avphys_pages): Likewise.
1961 * time/clock.c (clock): Likewise.
1962 * time/tzset.c (__tzname_max): Likewise.
1963
19642013-06-07 Joseph Myers <joseph@codesourcery.com>
1965
1966 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1967 (__bswap_32): Do not use "register".
1968 * crypt/crypt.c (_ufc_doit_r): Likewise.
1969 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1970 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1971 * gmon/gmon.c (__monstartup): Likewise.
1972 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1973 * hurd/hurdmalloc.c (more_memory): Likewise.
1974 (malloc): Likewise.
1975 (free): Likewise.
1976 (realloc): Likewise.
1977 (malloc_fork_prepare): Likewise.
1978 (malloc_fork_parent): Likewise.
1979 (malloc_fork_child): Likewise.
1980 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1981 (_svcauth_des): Likewise.
1982 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1983 * inet/inet_net.c (inet_network): Likewise.
1984 * inet/inet_netof.c (inet_netof): Likewise.
1985 * inet/rcmd.c (__validuser2_sa): Likewise.
1986 * io/fts.c (fts_open): Likewise.
1987 (fts_load): Likewise.
1988 (fts_close): Likewise.
1989 (fts_read): Likewise.
1990 (fts_children): Likewise.
1991 (fts_build): Likewise.
1992 (fts_stat): Likewise.
1993 (fts_sort): Likewise.
1994 (fts_alloc): Likewise.
1995 (fts_lfree): Likewise.
1996 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1997 (_IO_file_xsgetn): Likewise.
1998 (_IO_file_xsgetn_mmap): Likewise.
1999 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2000 (_IO_cookie_write): Likewise.
2001 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2002 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2003 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2004 * malloc/obstack.c (_obstack_begin): Likewise.
2005 (_obstack_begin_1): Likewise.
2006 (_obstack_newchunk): Likewise.
2007 (_obstack_allocated_p): Likewise.
2008 (obstack_free): Likewise.
2009 (_obstack_memory_used): Likewise.
2010 * misc/getttyent.c (getttynam): Likewise.
2011 (getttyent): Likewise.
2012 (skip): Likewise.
2013 (value): Likewise.
2014 * misc/getusershell.c (initshells): Likewise.
2015 * misc/syslog.c (__vsyslog_chk): Likewise.
2016 * misc/ttyslot.c (ttyslot): Likewise.
2017 * nis/nis_hash.c (__nis_hash): Likewise.
2018 * posix/fnmatch_loop.c (FCT): Likewise.
2019 * posix/getconf.c (print_all): Likewise.
2020 (main): Likewise.
2021 * posix/getopt.c (exchange): Likewise.
2022 * posix/glob.c (globfree): Likewise.
2023 (prefix_array): Likewise.
2024 (__glob_pattern_type): Likewise.
2025 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2026 (NS_GET32): Likewise.
2027 (NS_PUT16): Likewise.
2028 (NS_PUT32): Likewise.
2029 * resolv/gethnamaddr.c (getanswer): Likewise.
2030 (gethostbyname2): Likewise.
2031 (gethostbyaddr): Likewise.
2032 (_gethtent): Likewise.
2033 (_gethtbyname2): Likewise.
2034 (_gethtbyaddr): Likewise.
2035 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2036 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2037 * resolv/res_init.c (__res_vinit): Likewise.
2038 (net_mask): Likewise.
2039 * resolv/res_mkquery.c (outchar): Likewise.
2040 (PRINT): Likewise.
2041 * stdio-common/printf_fp.c (outchar): Likewise.
2042 (PRINT): Likewise.
2043 * stdio-common/printf_fphex.c (outchar): Likewise.
2044 (PRINT): Likewise.
2045 * stdio-common/printf_size.c (outchar): Likewise.
2046 (PRINT): Likewise.
2047 * stdio-common/test_rdwr.c (main): Likewise.
2048 * stdio-common/tfformat.c (matches): Likewise.
2049 * stdio-common/vfprintf.c (outchar): Likewise.
2050 (printf_unknown): Likewise.
2051 (buffered_vfprintf): Likewise.
2052 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2053 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2054 (ReadFile): Likewise.
2055 * stdlib/qsort.c (SWAP): Likewise.
2056 (_quicksort): Likewise.
2057 * stdlib/setenv.c (__add_to_environ): Likewise.
2058 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2059 * stdlib/strtol_l.c (__strtol_l): Likewise.
2060 * stdlib/tst-strtod.c (main): Likewise.
2061 * stdlib/tst-strtol.c (main): Likewise.
2062 * stdlib/tst-strtoll.c (main): Likewise.
2063 * string/bits/string2.h (__strcmp_cc): Likewise.
2064 (__strcmp_cg): Likewise.
2065 (__strcspn_c1): Likewise.
2066 (__strcspn_c2): Likewise.
2067 (__strcspn_c3): Likewise.
2068 (__strspn_c1): Likewise.
2069 (__strspn_c2): Likewise.
2070 (__strspn_c3): Likewise.
2071 (__strsep_1c): Likewise.
2072 (__strsep_2c): Likewise.
2073 (__strsep_3c): Likewise.
2074 * string/memccpy.c (__memccpy): Likewise.
2075 * string/stpcpy.c (__stpcpy): Likewise.
2076 * string/strcmp.c (strcmp): Likewise.
2077 * string/strrchr.c (strrchr): Likewise.
2078 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2079 Likewise.
2080 * sysdeps/mach/hurd/getcwd.c
2081 (_hurd_canonicalize_directory_name_internal): Likewise.
2082 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2083 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2084 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2085 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2086 Likewise, in both definitions.
2087 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2088 definitions.
2089 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2090 64] (__bswap_64): Likewise.
2091 * time/test_time.c (main): Likewise.
2092 * time/tzfile.c (__tzfile_read): Likewise.
2093 (__tzfile_compute): Likewise.
2094 * time/tzset.c (__tzset_parse_tz): Likewise.
2095 (tzset_internal): Likewise.
2096 (compute_change): Likewise.
2097 * wcsmbs/wcscat.c (__wcscat): Likewise.
2098 * wcsmbs/wcschr.c (wcschr): Likewise.
2099 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2100 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2101 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2102 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2103 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2104 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2105 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2106 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2107 * wcsmbs/wmemset.c (wmemset): Likewise.
2108
21092013-06-06 Joseph Myers <joseph@codesourcery.com>
2110
2111 * scripts/config.guess: Update to version 2013-05-16.
2112 * scripts/config.sub: Update to version 2013-04-24.
2113 * scripts/install-sh: Update to version 2011-11-20.07.
2114 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2115 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2116
21172013-06-06 Ondřej Bílka <neleai@seznam.cz>
2118
2119 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2120 * elf/sln.c: Likewise.
2121 * hurd/hurd/ioctl.h: Likewise.
2122 * hurd/hurdmalloc.c: Likewise.
2123 * hurd/xattr.c: Likewise.
2124 * include/shlib-compat.h: Likewise.
2125 * inet/ruserpass.c: Likewise.
2126 * libio/iofgets_u.c: Likewise.
2127 * libio/iofgetws_u.c: Likewise.
2128 * locale/programs/ld-identification.c: Likewise.
2129 * locale/programs/ld-time.c: Likewise.
2130 * mach/msg-destroy.c: Likewise.
2131 * nss/nss_files/files-netgrp.c: Likewise.
2132 * resolv/res_data.c: Likewise.
2133 * soft-fp/op-1.h: Likewise.
2134 * soft-fp/op-2.h: Likewise.
2135 * soft-fp/op-4.h: Likewise.
2136 * soft-fp/op-common.h: Likewise.
2137 * stdio-common/printf_fphex.c: Likewise.
2138 * stdlib/strtod_l.c: Likewise.
2139 * sunrpc/rpc/clnt.h: Likewise.
2140 * sysdeps/generic/framestate.c: Likewise.
2141 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2142 * sysdeps/i386/bsd-setjmp.S: Likewise.
2143 * sysdeps/i386/__longjmp.S: Likewise.
2144 * sysdeps/i386/setjmp.S: Likewise.
2145 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2146 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2148 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2154 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2163 * sysdeps/ieee754/support.c: Likewise.
2164 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2165 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2166 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2167 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2168 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2169 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2170 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2171 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2172 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2173 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2174 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2175 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2176 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2177 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2178 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2179 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2180 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2182
21832013-06-05 Ondřej Bílka <neleai@seznam.cz>
2184
2185 * posix/transbug.c: Remove executable mode.
2186
21872013-06-05 Joseph Myers <joseph@codesourcery.com>
2188
2189 * crypt/speeds.c: Remove trailing whitespace.
2190 * dlfcn/default.c: Likewise.
2191 * elf/ifuncdep2.c: Likewise.
2192 * elf/ifuncmain1.c: Likewise.
2193 * elf/ifuncmain1vis.c: Likewise.
2194 * elf/testobj.h: Likewise.
2195 * elf/tst-stackguard1.c: Likewise.
2196 * gmon/sys/gmon.h: Likewise.
2197 * hurd/hurdmsg.c: Likewise.
2198 * hurd/new-fd.c: Likewise.
2199 * hurd/ports-get.c: Likewise.
2200 * iconvdata/ibm1008_420.c: Likewise.
2201 * inet/tst-getni1.c: Likewise.
2202 * inet/tst-getni2.c: Likewise.
2203 * libio/ioungetc.c: Likewise.
2204 * libio/wfiledoalloc.c: Likewise.
2205 * manual/libm-err-tab.pl: Likewise.
2206 * math/w_dremf.c: Likewise.
2207 * misc/ftruncate.c: Likewise.
2208 * posix/bug-glob2.c: Likewise.
2209 * posix/tst-pcre.c: Likewise.
2210 * posix/wait4.c: Likewise.
2211 * resolv/README: Likewise.
2212 * resolv/res_debug.h: Likewise.
2213 * resolv/tst-inet_ntop.c: Likewise.
2214 * setjmp/bug269-setjmp.c: Likewise.
2215 * soft-fp/extended.h: Likewise.
2216 * soft-fp/op-1.h: Likewise.
2217 * soft-fp/op-2.h: Likewise.
2218 * soft-fp/op-4.h: Likewise.
2219 * soft-fp/op-8.h: Likewise.
2220 * soft-fp/testit.c: Likewise.
2221 * stdio-common/bug16.c: Likewise.
2222 * stdlib/random.c: Likewise.
2223 * sunrpc/rpcsvc/rquota.x: Likewise.
2224 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2225 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2227 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2228 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2230 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2231 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2232 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2233 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2234 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2253 * sysdeps/ieee754/s_lib_version.c: Likewise.
2254 * sysdeps/mach/hurd/check_fds.c: Likewise.
2255 * sysdeps/mach/hurd/getsockname.c: Likewise.
2256 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2257 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2258 * sysdeps/powerpc/bits/link.h: Likewise.
2259 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2260 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2261 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2262 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2263 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2264 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2265 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2266 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2267 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2268 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2269 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2270 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2271 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2272 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2273 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2274 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2275 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2277 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2278 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2279 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2280 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2281 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2282 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2283 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2284 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2285 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2286 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2287 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2288 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2289 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2290 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2291 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2292 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2293 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2294 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2295 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2296 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2297 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2298 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2299 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2300 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2301 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2302 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2303 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2304 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2305 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2306 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2308 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2311 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2312 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2313 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2314 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2315 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2316 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2317 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2318 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2319 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2320 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2321 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2322 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2323 * sysdeps/powerpc/sysdep.h: Likewise.
2324 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2325 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2326 * sysdeps/sh/dl-trampoline.S: Likewise.
2327 * sysdeps/sh/memset.S: Likewise.
2328 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2329 * sysdeps/sh/strlen.S: Likewise.
2330 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2331 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2332 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2333 * sysdeps/sparc/sparc32/rem.S: Likewise.
2334 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2335 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2336 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2337 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2338 * sysdeps/sparc/sparc32/urem.S: Likewise.
2339 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2340 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2341 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2342 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2343 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2344 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2345 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2346 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2347 * sysdeps/unix/bsd/times.c: Likewise.
2348 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2349 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2353 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2354 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2355 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2356 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2357 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2358 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2359 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2360 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2361 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2362 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2363 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2364 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2365 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2366 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2367 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2368 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2369 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2370 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2371 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2372 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2373 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2374 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2376 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2377 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2378 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2379 * sysdeps/x86_64/strcspn.S: Likewise.
2380
23812013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2382
2383 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2384 generated file. Regenerate properly from gen-translit.pl.
2385 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2386 locale/C-translit.h.
2387
23882013-06-05 Andreas Schwab <schwab@suse.de>
2389
2390 [BZ #15100]
2391 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2392 week as 6 instead of -1.
2393 * time/tst-strptime.c (day_tests): Add test case.
2394
23952013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2396
2397 * sysdeps/generic/math_private.h
2398 (libc_feholdexcept_setround_53bit): Replace with
2399 libc_feholdsetround_53bit.
2400 (libc_feupdateenv_53bit): Replace with
2401 libc_feresetround_53bit.
2402 (SET_RESTORE_ROUND_53BIT): Adjust.
2403
24042013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2405
2406 * string/test-strchrnul.c: Add copyright header.
2407
2408 * posix/tst-getaddrinfo4.c: Increase test timeout.
2409
24102013-06-03 Carlos O'Donell <carlos@redhat.com>
2411
2412 [BZ #15536]
2413 * math/libm-test.inc (MAX_EXP): Remove
2414 (MIN_EXP): Define.
2415 (ulp): Use MIN_EXP - MANT_DIG.
2416 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2417
24182013-05-31 Carlos O'Donell <carlos@redhat.com>
2419
2420 * po/be.po: Revert last change.
2421 * po/zh_CN.po: Likewise.
2422 * po/header.pot: Likewise.
2423
24242013-05-31 Joseph Myers <joseph@codesourcery.com>
2425
2426 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2427 link-libc-deps to empty as target-specific variable.
2428 * Makerules (link-libc-args): New variable.
2429 (libc-for-link): Likewise.
2430 (link-libc-deps): Likewise.
2431 (lib%.so): Depend on $(link-libc-deps). Link with
2432 $(link-libc-args).
2433 (build-module): Link with $(link-libc-args).
2434 (build-module-asneeded): Likewise.
2435 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2436 list of objects.
2437 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2438 target-specific variable.
2439 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2440 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2441 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2442 libc.
2443 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2444 libc and ld.so.
2445 ($(objpfx)libpcprofile.so): Likewise.
2446 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2447 libc_nonshared.a.
2448 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2449 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2450 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2451 $(link-libc-deps).
2452 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2453 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2454 * login/Makefile ($(objpfx)libutil.so): Likewise.
2455 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2456 * math/Makefile ($(objpfx)libm.so): Likewise.
2457 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2458 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2459 variable instead of depending directly on libc.
2460 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2461 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2462 $(link-libc-deps).
2463 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2464 libc.
2465 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2466 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2467 ($(objpfx)libanl.so): Likewise.
2468 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2469 ld.so.
2470 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2471 $(link-libc-deps).
2472 * sysdeps/i386/fpu/Makefile: Remove file.
2473 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2474 ($(objpfx)libm.so): Remove dependency on ld.so.
2475
24762013-05-30 Patsy Franklin <pfrankli@redhat.com>
2477
2478 [BZ # 15553]
2479 * nis/yp_xdr.c (XDRMAXNAME): Define.
2480 (XDRMAXRECORD): Define.
2481 (xdr_domainname): Use XDRMAXNAME.
2482 (xdr_mapname): Likewise.
2483 (xdr_peername): Likewise.
2484 (xdr_keydat): Use XDRMAXRECORD.
2485 (xdr_valdat): Likewise.
2486
24872013-05-30 Jeff Law <law@redhat.com>
2488
2489 [BZ #14256]
2490 * manual/errno.texi (ESTALE): Update to account for more than
2491 just NFS file systems.
2492 * sysdeps/gnu/errlist.c: Regenerated.
2493
24942013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2495
2496 [BZ #15465]
2497 * elf/Makefile (tests): Add tst-null-argv.
2498 (modules-names): Add tst-null-argv-lib.
2499 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2500 (tst-null-argv-ENV): Set environment for tst-null-argv.
2501 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2502 (RTLD_PROGNAME): New macro.
2503 * elf/tst-null-argv.c: New test case.
2504 * elf/tst-null-argv-lib.c: Library for test case.
2505 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2506 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2507 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2508 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2509 * elf/dl-init.c (call_init): Likewise.
2510 (_dl_init): Likewise.
2511 * elf/dl-load.c (print_search_path): Likewise.
2512 (_dl_map_object): Likewise.
2513 * elf/dl-lookup.c (do_lookup_x): Likewise.
2514 (add_dependency): Likewise.
2515 (_dl_lookup_symbol_x): Likewise.
2516 (_dl_debug_bindings): Likewise.
2517 * elf/dl-open.c (_dl_show_scope): Likewise.
2518 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2519 * elf/dl-version.c (match_symbol): Likewise.
2520 (_dl_check_map_versions): Likewise.
2521 * elf/rtld.c (dl_main): Likewise.
2522 (print_unresolved): Use RTLD_PROGNAME.
2523 (print_missing_version): Likewise.
2524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2525 (elf_machine_rela): Likewise.
2526 * sysdeps/powerpc/powerpc32/dl-machine.c
2527 (__process_machine_rela): Likewise.
2528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2529 Likewise.
2530 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2531 Likewise.
2532 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2533 Likewise.
2534 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2536 Likewise.
2537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2538 Likewise.
2539 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2540
25412013-05-28 Carlos O'Donell <carlos@redhat.com>
2542
2543 * po/be.po: Add descriptive title.
2544 * po/zh_CN.po: Likewise.
2545 * po/header.pot: Likewise.
2546
25472013-05-28 Mike Frysinger <vapier@gentoo.org>
2548
2549 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2550 error message.
2551 (enlarge_archive): Likewise.
2552
25532013-05-28 Ben North <ben@redfrontdoor.org>
2554
2555 * manual/arith.texi (frexp): It is the magnitude of the return
2556 value which lies in [0.5, 1), not the return value itself.
2557
25582013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2559
2560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2561
25622013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2563
2564 * stdio-common/bug26.c (main): Correct fscanf template.
2565
2566 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2567 declare _dl_skip_args.
2568
2569 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2570 Don't declare.
2571
2572 * manual/platform.texi: Add missing @end deftypefun.
2573
25742013-05-24 Joseph Myers <joseph@codesourcery.com>
2575
2576 [BZ #15529]
2577 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2578 bit of mantissa of 2^16382.
2579 * math/libm-test.inc (hypot_test_data): Add more tests.
2580
2581 * math/libm-test.inc: Add drem and pow10 to list of tested
2582 functions.
2583 (pow10_test): New function.
2584 (drem_test): Likewise.
2585 (drem_test_tonearest): Likewise.
2586 (drem_test_towardzero): Likewise.
2587 (drem_test_downward): Likewise.
2588 (drem_test_upward): Likewise.
2589 (main): Call the new functions.
2590
2591 * math/libm-test.inc (finite_test_data): Remove.
2592 (finite_test): Run tests from isfinite_test_data.
2593 (gamma_test_data): Remove.
2594 (gamma_test): Run tests from lgamma_test_data.
2595 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597
25982013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2599
2600 * manual/platform.texi: Add PowerPC PPR function set documentation.
2601 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2602 implementation.
2603
26042013-05-24 Carlos O'Donell <carlos@redhat.com>
2605
2606 * math/libm-test.inc (MAX_EXP): Define.
2607 (ULPDIFF): Define.
2608 (ulp): New function.
2609 (check_float_internal): Use ULPDIFF.
2610 (cpow_test): Disable failing test.
2611 (check_ulp): Test ulp() implemetnation.
2612 (main): Call check_ulp before starting tests.
2613
26142013-05-24 Joseph Myers <joseph@codesourcery.com>
2615
2616 * math/gen-libm-test.pl (generate_testfile): Do not handle
2617 START_DATA and END_DATA.
2618 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2619 END_DATA.
2620 (acos_tonearest_test_data): Likewise.
2621 (acos_towardzero_test_data): Likewise.
2622 (acos_downward_test_data): Likewise.
2623 (acos_upward_test_data): Likewise.
2624 (acosh_test_data): Likewise.
2625 (asin_test_data): Likewise.
2626 (asin_tonearest_test_data): Likewise.
2627 (asin_towardzero_test_data): Likewise.
2628 (asin_downward_test_data): Likewise.
2629 (asin_upward_test_data): Likewise.
2630 (asinh_test_data): Likewise.
2631 (atan_test_data): Likewise.
2632 (atanh_test_data): Likewise.
2633 (atan2_test_data): Likewise.
2634 (cabs_test_data): Likewise.
2635 (cacos_test_data): Likewise.
2636 (cacosh_test_data): Likewise.
2637 (carg_test_data): Likewise.
2638 (casin_test_data): Likewise.
2639 (casinh_test_data): Likewise.
2640 (catan_test_data): Likewise.
2641 (catanh_test_data): Likewise.
2642 (cbrt_test_data): Likewise.
2643 (ccos_test_data): Likewise.
2644 (ccosh_test_data): Likewise.
2645 (ceil_test_data): Likewise.
2646 (cexp_test_data): Likewise.
2647 (cimag_test_data): Likewise.
2648 (clog_test_data): Likewise.
2649 (clog10_test_data): Likewise.
2650 (conj_test_data): Likewise.
2651 (copysign_test_data): Likewise.
2652 (cos_test_data): Likewise.
2653 (cos_tonearest_test_data): Likewise.
2654 (cos_towardzero_test_data): Likewise.
2655 (cos_downward_test_data): Likewise.
2656 (cos_upward_test_data): Likewise.
2657 (cosh_test_data): Likewise.
2658 (cosh_tonearest_test_data): Likewise.
2659 (cosh_towardzero_test_data): Likewise.
2660 (cosh_downward_test_data): Likewise.
2661 (cosh_upward_test_data): Likewise.
2662 (cpow_test_data): Likewise.
2663 (cproj_test_data): Likewise.
2664 (creal_test_data): Likewise.
2665 (csin_test_data): Likewise.
2666 (csinh_test_data): Likewise.
2667 (csqrt_test_data): Likewise.
2668 (ctan_test_data): Likewise.
2669 (ctan_tonearest_test_data): Likewise.
2670 (ctan_towardzero_test_data): Likewise.
2671 (ctan_downward_test_data): Likewise.
2672 (ctan_upward_test_data): Likewise.
2673 (ctanh_test_data): Likewise.
2674 (ctanh_tonearest_test_data): Likewise.
2675 (ctanh_towardzero_test_data): Likewise.
2676 (ctanh_downward_test_data): Likewise.
2677 (ctanh_upward_test_data): Likewise.
2678 (erf_test_data): Likewise.
2679 (erfc_test_data): Likewise.
2680 (exp_test_data): Likewise.
2681 (exp_tonearest_test_data): Likewise.
2682 (exp_towardzero_test_data): Likewise.
2683 (exp_downward_test_data): Likewise.
2684 (exp_upward_test_data): Likewise.
2685 (exp10_test_data): Likewise.
2686 (exp2_test_data): Likewise.
2687 (expm1_test_data): Likewise.
2688 (fabs_test_data): Likewise.
2689 (fdim_test_data): Likewise.
2690 (finite_test_data): Likewise.
2691 (floor_test_data): Likewise.
2692 (fma_test_data): Likewise.
2693 (fma_towardzero_test_data): Likewise.
2694 (fma_downward_test_data): Likewise.
2695 (fma_upward_test_data): Likewise.
2696 (fmax_test_data): Likewise.
2697 (fmin_test_data): Likewise.
2698 (fmod_test_data): Likewise.
2699 (fpclassify_test_data): Likewise.
2700 (frexp_test_data): Likewise.
2701 (gamma_test_data): Likewise.
2702 (hypot_test_data): Likewise.
2703 (ilogb_test_data): Likewise.
2704 (isfinite_test_data): Likewise.
2705 (isgreater_test_data): Likewise.
2706 (isgreaterequal_test_data): Likewise.
2707 (isinf_test_data): Likewise.
2708 (isless_test_data): Likewise.
2709 (islessequal_test_data): Likewise.
2710 (islessgreater_test_data): Likewise.
2711 (isnan_test_data): Likewise.
2712 (isnormal_test_data): Likewise.
2713 (issignaling_test_data): Likewise.
2714 (isunordered_test_data): Likewise.
2715 (j0_test_data): Likewise.
2716 (j1_test_data): Likewise.
2717 (jn_test_data): Likewise.
2718 (ldexp_test_data): Likewise.
2719 (lgamma_test_data): Likewise.
2720 (lrint_test_data): Likewise.
2721 (lrint_tonearest_test_data): Likewise.
2722 (lrint_towardzero_test_data): Likewise.
2723 (lrint_downward_test_data): Likewise.
2724 (lrint_upward_test_data): Likewise.
2725 (llrint_test_data): Likewise.
2726 (llrint_tonearest_test_data): Likewise.
2727 (llrint_towardzero_test_data): Likewise.
2728 (llrint_downward_test_data): Likewise.
2729 (llrint_upward_test_data): Likewise.
2730 (log_test_data): Likewise.
2731 (log10_test_data): Likewise.
2732 (log1p_test_data): Likewise.
2733 (log2_test_data): Likewise.
2734 (logb_test_data): Likewise.
2735 (logb_downward_test_data): Likewise.
2736 (lround_test_data): Likewise.
2737 (llround_test_data): Likewise.
2738 (modf_test_data): Likewise.
2739 (nearbyint_test_data): Likewise.
2740 (nextafter_test_data): Likewise.
2741 (nexttoward_test_data): Likewise.
2742 (pow_test_data): Likewise.
2743 (pow_tonearest_test_data): Likewise.
2744 (pow_towardzero_test_data): Likewise.
2745 (pow_downward_test_data): Likewise.
2746 (pow_upward_test_data): Likewise.
2747 (remainder_test_data): Likewise.
2748 (remainder_tonearest_test_data): Likewise.
2749 (remainder_towardzero_test_data): Likewise.
2750 (remainder_downward_test_data): Likewise.
2751 (remainder_upward_test_data): Likewise.
2752 (remquo_test_data): Likewise.
2753 (rint_test_data): Likewise.
2754 (rint_tonearest_test_data): Likewise.
2755 (rint_towardzero_test_data): Likewise.
2756 (rint_downward_test_data): Likewise.
2757 (rint_upward_test_data): Likewise.
2758 (round_test_data): Likewise.
2759 (scalb_test_data): Likewise.
2760 (scalbn_test_data): Likewise.
2761 (scalbln_test_data): Likewise.
2762 (signbit_test_data): Likewise.
2763 (sin_test_data): Likewise.
2764 (sin_tonearest_test_data): Likewise.
2765 (sin_towardzero_test_data): Likewise.
2766 (sin_downward_test_data): Likewise.
2767 (sin_upward_test_data): Likewise.
2768 (sincos_test_data): Likewise.
2769 (sinh_test_data): Likewise.
2770 (sinh_tonearest_test_data): Likewise.
2771 (sinh_towardzero_test_data): Likewise.
2772 (sinh_downward_test_data): Likewise.
2773 (sinh_upward_test_data): Likewise.
2774 (sqrt_test_data): Likewise.
2775 (tan_test_data): Likewise.
2776 (tan_tonearest_test_data): Likewise.
2777 (tan_towardzero_test_data): Likewise.
2778 (tan_downward_test_data): Likewise.
2779 (tan_upward_test_data): Likewise.
2780 (tanh_test_data): Likewise.
2781 (tgamma_test_data): Likewise.
2782 (trunc_test_data): Likewise.
2783 (y0_test_data): Likewise.
2784 (y1_test_data): Likewise.
2785 (yn_test_data): Likewise.
2786 (significand_test_data): Likewise.
2787
2788 * math/gen-libm-test.pl (@functions): Remove variable.
2789 (generate_testfile): Don't handle START and END lines.
2790 * math/libm-test.inc (START): New macro.
2791 (END): Likewise.
2792 (END_COMPLEX): Likewise.
2793 (acos_test): Use END macro without arguments.
2794 (acos_test_tonearest): Likewise.
2795 (acos_test_towardzero): Likewise.
2796 (acos_test_downward): Likewise.
2797 (acos_test_upward): Likewise.
2798 (acosh_test): Likewise.
2799 (asin_test): Likewise.
2800 (asin_test_tonearest): Likewise.
2801 (asin_test_towardzero): Likewise.
2802 (asin_test_downward): Likewise.
2803 (asin_test_upward): Likewise.
2804 (asinh_test): Likewise.
2805 (atan_test): Likewise.
2806 (atanh_test): Likewise.
2807 (atan2_test): Likewise.
2808 (cabs_test): Likewise.
2809 (cacos_test): Use END_COMPLEX macro without arguments.
2810 (cacosh_test): Likewise.
2811 (carg_test): Use END macro without arguments.
2812 (casin_test): Use END_COMPLEX macro without arguments.
2813 (casinh_test): Likewise.
2814 (catan_test): Likewise.
2815 (catanh_test): Likewise.
2816 (cbrt_test): Use END macro without arguments.
2817 (ccos_test): Use END_COMPLEX macro without arguments.
2818 (ccosh_test): Likewise.
2819 (ceil_test): Use END macro without arguments.
2820 (cexp_test): Use END_COMPLEX macro without arguments.
2821 (cimag_test): Use END macro without arguments.
2822 (clog_test): Use END_COMPLEX macro without arguments.
2823 (clog10_test): Likewise.
2824 (conj_test): Likewise.
2825 (copysign_test): Use END macro without arguments.
2826 (cos_test): Likewise.
2827 (cos_test_tonearest): Likewise.
2828 (cos_test_towardzero): Likewise.
2829 (cos_test_downward): Likewise.
2830 (cos_test_upward): Likewise.
2831 (cosh_test): Likewise.
2832 (cosh_test_tonearest): Likewise.
2833 (cosh_test_towardzero): Likewise.
2834 (cosh_test_downward): Likewise.
2835 (cosh_test_upward): Likewise.
2836 (cpow_test): Use END_COMPLEX macro without arguments.
2837 (cproj_test): Likewise.
2838 (creal_test): Use END macro without arguments.
2839 (csin_test): Use END_COMPLEX macro without arguments.
2840 (csinh_test): Likewise.
2841 (csqrt_test): Likewise.
2842 (ctan_test): Likewise.
2843 (ctan_test_tonearest): Likewise.
2844 (ctan_test_towardzero): Likewise.
2845 (ctan_test_downward): Likewise.
2846 (ctan_test_upward): Likewise.
2847 (ctanh_test): Likewise.
2848 (ctanh_test_tonearest): Likewise.
2849 (ctanh_test_towardzero): Likewise.
2850 (ctanh_test_downward): Likewise.
2851 (ctanh_test_upward): Likewise.
2852 (erf_test): Use END macro without arguments.
2853 (erfc_test): Likewise.
2854 (exp_test): Likewise.
2855 (exp_test_tonearest): Likewise.
2856 (exp_test_towardzero): Likewise.
2857 (exp_test_downward): Likewise.
2858 (exp_test_upward): Likewise.
2859 (exp10_test): Likewise.
2860 (exp2_test): Likewise.
2861 (expm1_test): Likewise.
2862 (fabs_test): Likewise.
2863 (fdim_test): Likewise.
2864 (finite_test): Likewise.
2865 (floor_test): Likewise.
2866 (fma_test): Likewise.
2867 (fma_test_towardzero): Likewise.
2868 (fma_test_downward): Likewise.
2869 (fma_test_upward): Likewise.
2870 (fmax_test): Likewise.
2871 (fmin_test): Likewise.
2872 (fmod_test): Likewise.
2873 (fpclassify_test): Likewise.
2874 (frexp_test): Likewise.
2875 (gamma_test): Likewise.
2876 (hypot_test): Likewise.
2877 (ilogb_test): Likewise.
2878 (isfinite_test): Likewise.
2879 (isgreater_test): Likewise.
2880 (isgreaterequal_test): Likewise.
2881 (isinf_test): Likewise.
2882 (isless_test): Likewise.
2883 (islessequal_test): Likewise.
2884 (islessgreater_test): Likewise.
2885 (isnan_test): Likewise.
2886 (isnormal_test): Likewise.
2887 (issignaling_test): Likewise.
2888 (isunordered_test): Likewise.
2889 (j0_test): Likewise.
2890 (j1_test): Likewise.
2891 (jn_test): Likewise.
2892 (ldexp_test): Likewise.
2893 (lgamma_test): Likewise.
2894 (lrint_test): Likewise.
2895 (lrint_test_tonearest): Likewise.
2896 (lrint_test_towardzero): Likewise.
2897 (lrint_test_downward): Likewise.
2898 (lrint_test_upward): Likewise.
2899 (llrint_test): Likewise.
2900 (llrint_test_tonearest): Likewise.
2901 (llrint_test_towardzero): Likewise.
2902 (llrint_test_downward): Likewise.
2903 (llrint_test_upward): Likewise.
2904 (log_test): Likewise.
2905 (log10_test): Likewise.
2906 (log1p_test): Likewise.
2907 (log2_test): Likewise.
2908 (logb_test): Likewise.
2909 (logb_test_downward): Likewise.
2910 (lround_test): Likewise.
2911 (llround_test): Likewise.
2912 (modf_test): Likewise.
2913 (nearbyint_test): Likewise.
2914 (nextafter_test): Likewise.
2915 (nexttoward_test): Likewise.
2916 (pow_test): Likewise.
2917 (pow_test_tonearest): Likewise.
2918 (pow_test_towardzero): Likewise.
2919 (pow_test_downward): Likewise.
2920 (pow_test_upward): Likewise.
2921 (remainder_test): Likewise.
2922 (remainder_test_tonearest): Likewise.
2923 (remainder_test_towardzero): Likewise.
2924 (remainder_test_downward): Likewise.
2925 (remainder_test_upward): Likewise.
2926 (remquo_test): Likewise.
2927 (rint_test): Likewise.
2928 (rint_test_tonearest): Likewise.
2929 (rint_test_towardzero): Likewise.
2930 (rint_test_downward): Likewise.
2931 (rint_test_upward): Likewise.
2932 (round_test): Likewise.
2933 (scalb_test): Likewise.
2934 (scalbn_test): Likewise.
2935 (scalbln_test): Likewise.
2936 (signbit_test): Likewise.
2937 (sin_test): Likewise.
2938 (sin_test_tonearest): Likewise.
2939 (sin_test_towardzero): Likewise.
2940 (sin_test_downward): Likewise.
2941 (sin_test_upward): Likewise.
2942 (sincos_test): Likewise.
2943 (sinh_test): Likewise.
2944 (sinh_test_tonearest): Likewise.
2945 (sinh_test_towardzero): Likewise.
2946 (sinh_test_downward): Likewise.
2947 (sinh_test_upward): Likewise.
2948 (sqrt_test): Likewise.
2949 (tan_test): Likewise.
2950 (tan_test_tonearest): Likewise.
2951 (tan_test_towardzero): Likewise.
2952 (tan_test_downward): Likewise.
2953 (tan_test_upward): Likewise.
2954 (tanh_test): Likewise.
2955 (tgamma_test): Likewise.
2956 (trunc_test): Likewise.
2957 (y0_test): Likewise.
2958 (y1_test): Likewise.
2959 (yn_test): Likewise.
2960 (significand_test): Likewise.
2961
29622013-05-24 Ondřej Bílka <neleai@seznam.cz>
2963
2964 [BZ #15381]
2965 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2966
29672013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2968
2969 [BZ #14894]
2970 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2971 __ppc_mdoio and __ppc_mdoom.
2972 * manual/platform.texi: Document new functions __ppc_yield,
2973 __ppc_mdoio and __ppc_mdoom.
2974
29752013-05-22 Carlos O'Donell <carlos@redhat.com>
2976
2977 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2978 (main): Mention "tls" pseudo-hwcap is legacy.
2979 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2980
29812013-05-22 Joseph Myers <joseph@codesourcery.com>
2982
2983 * math/gen-libm-test.pl (parse_args): Output only string of
2984 arguments as text for test name, not full call or descriptions of
2985 tests for extra outputs.
2986 (generate_testfile): Do not pass function name to parse_args.
2987 Generate this_func variable from START.
2988 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2989 field to arg_str.
2990 (struct test_ff_f_data): Likewise.
2991 (test_ff_f_data_nexttoward): Likewise.
2992 (struct test_fi_f_data): Likewise.
2993 (struct test_fl_f_data): Likewise.
2994 (struct test_if_f_data): Likewise.
2995 (struct test_fff_f_data): Likewise.
2996 (struct test_c_f_data): Likewise.
2997 (struct test_f_f1_data): Likewise. Remove field extra_name.
2998 (struct test_fF_f1_data): Likewise.
2999 (struct test_ffI_f1_data): Likewise.
3000 (struct test_c_c_data): Rename test_name field to arg_str.
3001 (struct test_cc_c_data): Likewise.
3002 (struct test_f_i_data): Likewise.
3003 (struct test_ff_i_data): Likewise.
3004 (struct test_f_l_data): Likewise.
3005 (struct test_f_L_data): Likewise.
3006 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3007 and extra2_name.
3008 (COMMON_TEST_SETUP): New macro.
3009 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3010 (COMMON_TEST_CLEANUP): Likewise.
3011 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3012 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3013 macros.
3014 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3015 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3016 macros.
3017 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3018 (RUN_TEST_fff_f): Take argument string. Call new setup and
3019 cleanup macros.
3020 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3021 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3022 macros.
3023 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3024 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3025 macros.
3026 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3027 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3028 cleanup macros.
3029 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3030 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3031 cleanup macros.
3032 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3033 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3034 cleanup macros.
3035 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3036 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3037 macros.
3038 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3039 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3040 macros.
3041 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3042 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3043 macros.
3044 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3045 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3046 cleanup macros.
3047 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3048 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3049 cleanup macros.
3050 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3051 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3052 macros.
3053 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3054 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3055 cleanup macros.
3056 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3057 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3058 macros.
3059 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3060 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3061 macros.
3062 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3063 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3064 cleanup macros.
3065 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3066
30672013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3068
3069 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3070 to _sifields.sigfault.
3071 (si_addr_lsb): Define new macro.
3072 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3073 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3074 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3075
30762013-05-03 Carlos O'Donell <carlos at redhat.com>
3077
3078 [BZ #15441]
3079 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3080 returns -1.
3081 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3082 null return -1.
3083 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3084 loading the domain.
3085
30862013-05-22 Joseph Myers <joseph@codesourcery.com>
3087
3088 * math/gen-libm-test.pl (parse_args): Do not include expected
3089 result in test name.
3090 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3091 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3092 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3093 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3094 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3096
30972013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3098
3099 * benchtests/Makefile: Sort function entries.
3100
3101 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3102 tanh, asinh, acosh, atanh.
3103 * benchtests/acos-inputs: New file.
3104 * benchtests/acosh-inputs: New file.
3105 * benchtests/asin-inputs: New file.
3106 * benchtests/asinh-inputs: New file.
3107 * benchtests/atanh-inputs: New file.
3108 * benchtests/cosh-inputs: New file.
3109 * benchtests/log-inputs: New file.
3110 * benchtests/sinh-inputs: New file.
3111 * benchtests/tanh-inputs: New file.
3112
31132013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3114
3115 [BZ #15339]
3116 * posix/tst-getaddrinfo4.c: New test.
3117 * posix/Makefile (tests): Add it.
3118
31192013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3120
3121 [BZ #15339]
3122 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3123 when no services were used.
3124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3125 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3126
31272013-05-21 Andreas Schwab <schwab@suse.de>
3128
3129 [BZ #15014]
3130 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3131 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3132 successful.
3133 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3134 redundant variable declarations and reallocation of buffer when
3135 parsing as IPv6 address. Always set NSS status when called from
3136 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3137 buffer too small. Correct computation of needed size.
3138 * nss/Makefile (tests): Add test-digits-dots.
3139 * nss/test-digits-dots.c: New test.
3140
31412013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3142
3143 * benchtests/Makefile: Remove instructions for adding
3144 benchmark tests.
3145 * benchtests/README: New file to explain how to execute and
3146 enhance the benchmark tests.
3147
31482013-05-21 Andreas Schwab <schwab@suse.de>
3149
3150 [BZ #15493]
3151 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3152 * setjmp/tst-sigsetjmp.c: New test.
3153
31542013-05-20 Ondřej Bílka <neleai@seznam.cz>
3155
3156 * sysdeps/x86_64/memset.S (memset): New implementation.
3157 (__bzero): Likewise.
3158 (__memset_tail): New function.
3159
31602013-05-20 Ondřej Bílka <neleai@seznam.cz>
3161
3162 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3163 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3164 __memcpy_sse2_unaligned ifunc selection.
3165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3166 Add memcpy-sse2-unaligned.S.
3167 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3168 Add: __memcpy_sse2_unaligned.
3169
31702013-05-19 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #15490]
3173 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3174 math_force_eval before restoring floating-point envrionment.
3175 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3176 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3177 Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3179 <math_private.h>.
3180 (__nearbyintl): Use math_force_eval before restoring
3181 floating-point environment.
3182 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3183
3184 * math/gen-libm-test.pl (special_functions): Remove.
3185 (parse_args): Don't handle TEST_extra. Handle functions with no
3186 return value.
3187 * math/libm-test.inc (struct test_sincos_data): Replace with
3188 struct test_fFF_11_data.
3189 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3190 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3191 (sincos_test_data): Change element type to struct
3192 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3193 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3194 RUN_TEST_LOOP_sincos.
3195 * math/README.libm-test: Don't mention special handling of
3196 individual functions.
3197 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3199 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3200 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3201 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3203
3204 * math/gen-libm-test.pl (get_variable): Remove function.
3205 (parse_args): Don't show pointer parameters to call in test
3206 names. Use "extra output N" in test names for extra outputs
3207 rather than naming variables.
3208
32092013-05-18 Joseph Myers <joseph@codesourcery.com>
3210
3211 [BZ #15488]
3212 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3213 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3214 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3215 double tests.
3216 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3217 disable.
3218 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3219 check_long_double.
3220
3221 * math/gen-libm-test.pl (@tests): Remove variable.
3222 ($count): Likewise.
3223 (new_test): Remove function.
3224 (show_exceptions): New function.
3225 (special_functions): Use show_exceptions instead of new_test.
3226 (parse_args): Likewise.
3227 (generate_testfile): Pass only function name in generated call to
3228 print_max_error or print_complex_max_error.
3229 (get_ulps): Do not handle complex tests specially.
3230 (output_test): Rename to ...
3231 (get_all_ulps_for_test): ... this. Return a string rather than
3232 printing to a file. Require ulps to be present.
3233 (output_ulps): Generate arrays rather than #defines.
3234 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3235 (struct ulp_data): New type.
3236 (BUILD_COMPLEX_ULP): Remove macro.
3237 (compare_ulp_data): New function.
3238 (find_ulps): Likewise.
3239 (find_test_ulps): Likewise.
3240 (find_function_ulps): Likewise.
3241 (find_complex_function_ulps): Likewise.
3242 (print_max_error): Determine allowed ulps using
3243 find_function_ulps.
3244 (print_complex_max_error): Determine allowed ulps using
3245 find_complex_function_ulps.
3246 (check_float_internal): Determine max ulps using find_test_ulps.
3247 (check_float): Do not take max_ulp parameter. Update call to
3248 check_float_internal.
3249 (check_complex): Likewise.
3250 (check_int): Do not take max_ulp parameter.
3251 (check_long): Likewise.
3252 (check_bool): Likewise.
3253 (check_longlong): Likewise.
3254 (struct test_f_f_data): Remove max_ulp field.
3255 (struct test_ff_f_data): Likewise.
3256 (struct test_ff_f_data_nexttoward): Likewise.
3257 (struct test_fi_f_data): Likewise.
3258 (struct test_fl_f_data): Likewise.
3259 (struct test_if_f_data): Likewise.
3260 (struct test_fff_f_data): Likewise.
3261 (struct test_c_f_data): Likewise.
3262 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3263 (struct test_fF_f1_data): Likewise.
3264 (struct test_ffI_f1_data): Likewise.
3265 (struct test_c_c_data): Remove max_ulp field.
3266 (struct test_cc_c_data): Likewise.
3267 (struct test_f_i_data): Likewise.
3268 (struct test_ff_i_data): Likewise.
3269 (struct test_f_l_data): Likewise.
3270 (struct test_f_L_data): Likewise.
3271 (struct test_sincos_data): Likewise.
3272 (RUN_TEST_f_f): Do not handle ulps.
3273 (RUN_TEST_LOOP_f_f): Likewise.
3274 (RUN_TEST_2_f): Likewise.
3275 (RUN_TEST_LOOP_2_f): Likewise.
3276 (RUN_TEST_fff_f): Likewise.
3277 (RUN_TEST_LOOP_fff_f): Likewise.
3278 (RUN_TEST_c_f): Likewise.
3279 (RUN_TEST_LOOP_c_f): Likewise.
3280 (RUN_TEST_f_f1): Likewise.
3281 (RUN_TEST_LOOP_f_f1): Likewise.
3282 (RUN_TEST_fF_f1): Likewise.
3283 (RUN_TEST_LOOP_fF_f1): Likewise.
3284 (RUN_TEST_fI_f1): Likewise.
3285 (RUN_TEST_LOOP_fI_f1): Likewise.
3286 (RUN_TEST_ffI_f1): Likewise.
3287 (RUN_TEST_LOOP_ffI_f1): Likewise.
3288 (RUN_TEST_c_c): Likewise.
3289 (RUN_TEST_LOOP_c_c): Likewise.
3290 (RUN_TEST_cc_c): Likewise.
3291 (RUN_TEST_LOOP_cc_c): Likewise.
3292 (RUN_TEST_f_i): Likewise.
3293 (RUN_TEST_LOOP_f_i): Likewise.
3294 (RUN_TEST_f_i_tg): Likewise.
3295 (RUN_TEST_LOOP_f_i_tg): Likewise.
3296 (RUN_TEST_ff_i_tg): Likewise.
3297 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3298 (RUN_TEST_f_b): Likewise.
3299 (RUN_TEST_LOOP_f_b): Likewise.
3300 (RUN_TEST_f_b_tg): Likewise.
3301 (RUN_TEST_LOOP_f_b_tg): Likewise.
3302 (RUN_TEST_f_l): Likewise.
3303 (RUN_TEST_LOOP_f_l): Likewise.
3304 (RUN_TEST_f_L): Likewise.
3305 (RUN_TEST_LOOP_f_L): Likewise.
3306 (RUN_TEST_sincos): Likewise.
3307 (RUN_TEST_LOOP_sincos): Likewise.
3308
33092013-05-17 Joseph Myers <joseph@codesourcery.com>
3310
3311 [BZ #15480]
3312 [BZ #15485]
3313 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3314 main case of finite arguments, set rounding mode to FE_TONEAREST
3315 and discard exceptions.
3316 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3317 exceptions.
3318 (remainder_tonearest_test_data): New variable.
3319 (remainder_test_tonearest): New function.
3320 (remainder_towardzero_test_data): New variable.
3321 (remainder_test_towardzero): New function.
3322 (remainder_downward_test_data): New variable.
3323 (remainder_test_downward): New function.
3324 (remainder_upward_test_data): New variable.
3325 (remainder_test_upward): New function.
3326 (main): Call the new test functions.
3327
3328 * math/libm-test.inc (struct test_f_f1_data): Remove field
3329 extra_init.
3330 (struct test_fF_f1_data): Likewise.
3331 (struct test_ffI_f1_data): Likewise.
3332 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3333 based on value of EXTRA_EXPECTED.
3334 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3335 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3336 EXTRA_VAR based on value of EXTRA_EXPECTED.
3337 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3338 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3339 EXTRA_VAR based on value of EXTRA_EXPECTED.
3340 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3341 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3342 EXTRA_VAR based on value of EXTRA_EXPECTED.
3343 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3344 * math/gen-libm-test.pl (parse_args): Don't output initializers
3345 for extra output values.
3346
3347 * math/libm-test.inc (check_int): Expect result to be exactly
3348 equal to expected value and do not handle ulps.
3349 (check_long): Likewise.
3350 (check_longlong): Likewise.
3351
3352 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3353 exceptions.
3354 (cimag_test_data): Likewise.
3355 (conj_test_data): Likewise.
3356 (copysign_test_data): Likewise.
3357 (cproj_test_data): Likewise.
3358 (creal_test_data): Likewise.
3359 (fabs_test_data): Likewise.
3360 (fdim_test_data): Likewise.
3361 (finite_test_data): Likewise.
3362 (floor_test_data): Likewise.
3363 (fmax_test_data): Likewise.
3364 (fmin_test_data): Likewise.
3365 (fmod_test_data): Likewise.
3366 (fpclassify_test_data): Likewise.
3367 (frexp_test_data): Likewise.
3368 (ilogb_test_data): Likewise.
3369 (isfinite_test_data): Likewise.
3370 (isgreater_test_data): Likewise.
3371 (isgreaterequal_test_data): Likewise.
3372 (isinf_test_data): Likewise.
3373 (isless_test_data): Likewise.
3374 (islessequal_test_data): Likewise.
3375 (islessgreater_test_data): Likewise.
3376 (isnan_test_data): Likewise.
3377 (isnormal_test_data): Likewise.
3378 (issignaling_test_data): Likewise.
3379 (isunordered_test_data): Likewise.
3380 (ldexp_test_data): Likewise.
3381 (lrint_test_data): Likewise.
3382 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3383 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3384 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3385 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3386 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3387 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3388 test input.
3389 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3390 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3391 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3392 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3393 that test input.
3394 (lrint_downward_test_data): Test for "inexact" exceptions.
3395 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3396 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3397 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3398 test input.
3399 (lrint_upward_test_data): Test for "inexact" exceptions.
3400 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3401 test input.
3402 (llrint_test_data): Test for "inexact" exceptions.
3403 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3404 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3405 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3406 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3407 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3408 (llrint_downward_test_data): Test for "inexact" exceptions.
3409 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3410 (llrint_upward_test_data): Test for "inexact" exceptions.
3411 (logb_test_data): Likewise.
3412 (logb_downward_test_data): Likewise.
3413 (nextafter_test_data): Likewise.
3414 (nexttoward_test_data): Likewise.
3415 (remainder_test_data): Likewise.
3416 (remquo_test_data): Likewise.
3417 (scalbn_test_data): Likewise.
3418 (scalbln_test_data): Likewise.
3419 (signbit_test_data): Likewise.
3420 (sqrt_test_data): Likewise.
3421 (significand_test_data): Likewise.
3422
34232013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3424
3425 [BZ #15424]
3426 * benchtests/bench-modf.c (struct args): Mark arg0 as
3427 volatile.
3428 * scripts/bench.pl: Mark members of struct args as volatile.
3429
34302013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3431
3432 [BZ # 15497]
3433 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3434 negative infinity on POWER6 or lower.
3435 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3436
34372013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3438
3439 [BZ #15442]
3440 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3441 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3442 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3443 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3444 (_FP_SETQNAN): New macro.
3445 (_FP_SETQNAN_SEMIRAW): Likewise.
3446 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3447 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3448 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3449 (FP_EXTEND): Use _FP_FRAC_SNANP.
3450 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3451 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3452 into account.
3453 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3454 New macro.
3455 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3456 Likewise.
3457
34582013-05-16 Joseph Myers <joseph@codesourcery.com>
3459
3460 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3461 with DIVIDE_BY_ZERO_EXCEPTION.
3462 (gamma_test_data): Likewise.
3463 (lgamma_test_data): Likewise.
3464 (log_test_data): Likewise.
3465 (log10_test_data): Likewise.
3466 (log2_test_data): Likewise.
3467 (tgamma_test_data): Likewise.
3468
3469 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3470 (acos_test_tonearest): Likewise.
3471 (acos_test_towardzero): Likewise.
3472 (acos_test_downward): Likewise.
3473 (acos_test_upward): Likewise.
3474 (acosh_test): Likewise.
3475 (asin_test): Likewise.
3476 (asin_test_tonearest): Likewise.
3477 (asin_test_towardzero): Likewise.
3478 (asin_test_downward): Likewise.
3479 (asin_test_upward): Likewise.
3480 (asinh_test): Likewise.
3481 (atan_test): Likewise.
3482 (atanh_test): Likewise.
3483 (atan2_test): Likewise.
3484 (cabs_test): Likewise.
3485 (cacos_test): Likewise.
3486 (cacosh_test): Likewise.
3487 (casin_test): Likewise.
3488 (casinh_test): Likewise.
3489 (catan_test): Likewise.
3490 (catanh_test): Likewise.
3491 (cbrt_test): Likewise.
3492 (ccos_test): Likewise.
3493 (ccosh_test): Likewise.
3494 (cexp_test): Likewise.
3495 (clog_test): Likewise.
3496 (clog10_test): Likewise.
3497 (cos_test): Likewise.
3498 (cos_test_tonearest): Likewise.
3499 (cos_test_towardzero): Likewise.
3500 (cos_test_downward): Likewise.
3501 (cos_test_upward): Likewise.
3502 (cosh_test): Likewise.
3503 (cosh_test_tonearest): Likewise.
3504 (cosh_test_towardzero): Likewise.
3505 (cosh_test_downward): Likewise.
3506 (cosh_test_upward): Likewise.
3507 (cpow_test): Likewise.
3508 (csin_test): Likewise.
3509 (csinh_test): Likewise.
3510 (csqrt_test): Likewise.
3511 (ctan_test): Likewise.
3512 (ctan_test_tonearest): Likewise.
3513 (ctan_test_towardzero): Likewise.
3514 (ctan_test_downward): Likewise.
3515 (ctan_test_upward): Likewise.
3516 (ctanh_test): Likewise.
3517 (ctanh_test_tonearest): Likewise.
3518 (ctanh_test_towardzero): Likewise.
3519 (ctanh_test_downward): Likewise.
3520 (ctanh_test_upward): Likewise.
3521 (erf_test): Likewise.
3522 (erfc_test): Likewise.
3523 (exp_test): Likewise.
3524 (exp_test_tonearest): Likewise.
3525 (exp_test_towardzero): Likewise.
3526 (exp_test_downward): Likewise.
3527 (exp_test_upward): Likewise.
3528 (exp10_test): Likewise.
3529 (exp2_test): Likewise.
3530 (expm1_test): Likewise.
3531 (fmod_test): Likewise.
3532 (gamma_test): Likewise.
3533 (hypot_test): Likewise.
3534 (j0_test): Likewise.
3535 (j1_test): Likewise.
3536 (jn_test): Likewise.
3537 (lgamma_test): Likewise.
3538 (log_test): Likewise.
3539 (log10_test): Likewise.
3540 (log1p_test): Likewise.
3541 (log2_test): Likewise.
3542 (logb_test_downward): Likewise.
3543 (pow_test): Likewise.
3544 (pow_test_tonearest): Likewise.
3545 (pow_test_towardzero): Likewise.
3546 (pow_test_downward): Likewise.
3547 (pow_test_upward): Likewise.
3548 (remainder_test): Likewise.
3549 (remquo_test): Likewise.
3550 (sin_test): Likewise.
3551 (sin_test_tonearest): Likewise.
3552 (sin_test_towardzero): Likewise.
3553 (sin_test_downward): Likewise.
3554 (sin_test_upward): Likewise.
3555 (sincos_test): Likewise.
3556 (sinh_test): Likewise.
3557 (sinh_test_tonearest): Likewise.
3558 (sinh_test_towardzero): Likewise.
3559 (sinh_test_downward): Likewise.
3560 (sinh_test_upward): Likewise.
3561 (sqrt_test): Likewise.
3562 (tan_test): Likewise.
3563 (tan_test_tonearest): Likewise.
3564 (tan_test_towardzero): Likewise.
3565 (tan_test_downward): Likewise.
3566 (tan_test_upward): Likewise.
3567 (tanh_test): Likewise.
3568 (tgamma_test): Likewise.
3569 (y0_test): Likewise.
3570 (y1_test): Likewise.
3571 (yn_test): Likewise.
3572
3573 * math/gen-libm-test.pl (adjust_arg): Remove function.
3574 (special_function): Remove argument $in_func. Only handle
3575 generating output for tables of tests, not inside functions.
3576 (parse_args): Likewise.
3577 (generate_testfile): Remove variable $in_func. Update call to
3578 parse_args.
3579 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3580 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3581 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3582 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3583 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3584 (MAX_VALUE_INIT): Rename macro to max_value.
3585 (MIN_VALUE_INIT): Rename macro to min_value.
3586 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3587 (plus_zero): Remove variable.
3588 (minus_zero): Likewise.
3589 (plus_infty): Likewise.
3590 (minus_infty): Likewise.
3591 (qnan_value): Likewise.
3592 (max_value): Likewise.
3593 (min_value): Likewise.
3594 (min_subnorm_value): Likewise.
3595
35962013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3597
3598 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3599 uint64_t or uint32_t usage.
3600 * crypt/sha256-block.c: Likewise.
3601 * crypt/sha256-crypt.c: Likewise.
3602 * crypt/sha256.c: Likewise.
3603 * crypt/sha512-block.c: Likewise.
3604 * crypt/sha512-crypt.c: Likewise.
3605 * crypt/sha512.c: Likewise.
3606 * debug/backtrace-tst.c: Likewise.
3607 * debug/pcprofiledump.c: Likewise.
3608 * elf/cache.c: Likewise.
3609 * elf/dl-cache.c: Likewise.
3610 * elf/dl-misc.c: Likewise.
3611 * elf/dl-profile.c: Likewise.
3612 * elf/dl-support.c: Likewise.
3613 * elf/ldconfig.c: Likewise.
3614 * elf/sprof.c: Likewise.
3615 * iconv/dummy-repertoire.c: Likewise.
3616 * iconv/iconv_charmap.c: Likewise.
3617 * iconv/skeleton.c: Likewise.
3618 * iconvdata/8bit-generic.c: Likewise.
3619 * iconvdata/cp737.h: Likewise.
3620 * iconvdata/cp775.h: Likewise.
3621 * iconvdata/ibm1008.h: Likewise.
3622 * iconvdata/ibm1025.h: Likewise.
3623 * iconvdata/ibm1046.h: Likewise.
3624 * iconvdata/ibm1097.h: Likewise.
3625 * iconvdata/ibm1112.h: Likewise.
3626 * iconvdata/ibm1122.h: Likewise.
3627 * iconvdata/ibm1123.h: Likewise.
3628 * iconvdata/ibm1124.h: Likewise.
3629 * iconvdata/ibm1129.h: Likewise.
3630 * iconvdata/ibm1130.h: Likewise.
3631 * iconvdata/ibm1132.h: Likewise.
3632 * iconvdata/ibm1133.h: Likewise.
3633 * iconvdata/ibm1137.h: Likewise.
3634 * iconvdata/ibm1140.h: Likewise.
3635 * iconvdata/ibm1141.h: Likewise.
3636 * iconvdata/ibm1142.h: Likewise.
3637 * iconvdata/ibm1143.h: Likewise.
3638 * iconvdata/ibm1144.h: Likewise.
3639 * iconvdata/ibm1145.h: Likewise.
3640 * iconvdata/ibm1146.h: Likewise.
3641 * iconvdata/ibm1147.h: Likewise.
3642 * iconvdata/ibm1148.h: Likewise.
3643 * iconvdata/ibm1149.h: Likewise.
3644 * iconvdata/ibm1153.h: Likewise.
3645 * iconvdata/ibm1154.h: Likewise.
3646 * iconvdata/ibm1155.h: Likewise.
3647 * iconvdata/ibm1156.h: Likewise.
3648 * iconvdata/ibm1157.h: Likewise.
3649 * iconvdata/ibm1158.h: Likewise.
3650 * iconvdata/ibm1160.h: Likewise.
3651 * iconvdata/ibm1161.h: Likewise.
3652 * iconvdata/ibm1162.h: Likewise.
3653 * iconvdata/ibm1163.h: Likewise.
3654 * iconvdata/ibm1164.h: Likewise.
3655 * iconvdata/ibm1166.h: Likewise.
3656 * iconvdata/ibm1167.h: Likewise.
3657 * iconvdata/ibm12712.h: Likewise.
3658 * iconvdata/ibm1390.h: Likewise.
3659 * iconvdata/ibm1399.h: Likewise.
3660 * iconvdata/ibm16804.h: Likewise.
3661 * iconvdata/ibm4517.h: Likewise.
3662 * iconvdata/ibm4899.h: Likewise.
3663 * iconvdata/ibm4909.h: Likewise.
3664 * iconvdata/ibm4971.h: Likewise.
3665 * iconvdata/ibm5347.h: Likewise.
3666 * iconvdata/ibm803.h: Likewise.
3667 * iconvdata/ibm856.h: Likewise.
3668 * iconvdata/ibm901.h: Likewise.
3669 * iconvdata/ibm902.h: Likewise.
3670 * iconvdata/ibm9030.h: Likewise.
3671 * iconvdata/ibm9066.h: Likewise.
3672 * iconvdata/ibm921.h: Likewise.
3673 * iconvdata/ibm922.h: Likewise.
3674 * iconvdata/ibm9448.h: Likewise.
3675 * iconvdata/isiri-3342.h: Likewise.
3676 * iconvdata/jis0201.h: Likewise.
3677 * include/link.h: Likewise.
3678 * include/netdb.h: Likewise.
3679 * inet/check_native.c: Likewise.
3680 * inet/check_pf.c: Likewise.
3681 * inet/getipv4sourcefilter.c: Likewise.
3682 * inet/getnameinfo.c: Likewise.
3683 * inet/getsourcefilter.c: Likewise.
3684 * inet/htonl.c: Likewise.
3685 * inet/setipv4sourcefilter.c: Likewise.
3686 * inet/setsourcefilter.c: Likewise.
3687 * inet/test-inet6_opt.c: Likewise.
3688 * inet/tst-network.c: Likewise.
3689 * locale/C-collate.c: Likewise.
3690 * locale/C-ctype.c: Likewise.
3691 * locale/C-time.c: Likewise.
3692 * locale/C-translit.h: Likewise.
3693 * locale/loadarchive.c: Likewise.
3694 * locale/programs/3level.h: Likewise.
3695 * locale/programs/charmap.c: Likewise.
3696 * locale/programs/charmap.h: Likewise.
3697 * locale/programs/ld-address.c: Likewise.
3698 * locale/programs/ld-collate.c: Likewise.
3699 * locale/programs/ld-ctype.c: Likewise.
3700 * locale/programs/ld-identification.c: Likewise.
3701 * locale/programs/ld-measurement.c: Likewise.
3702 * locale/programs/ld-messages.c: Likewise.
3703 * locale/programs/ld-monetary.c: Likewise.
3704 * locale/programs/ld-name.c: Likewise.
3705 * locale/programs/ld-numeric.c: Likewise.
3706 * locale/programs/ld-paper.c: Likewise.
3707 * locale/programs/ld-telephone.c: Likewise.
3708 * locale/programs/ld-time.c: Likewise.
3709 * locale/programs/linereader.c: Likewise.
3710 * locale/programs/locale.c: Likewise.
3711 * locale/programs/locarchive.c: Likewise.
3712 * locale/programs/locfile.h: Likewise.
3713 * locale/programs/repertoire.c: Likewise.
3714 * locale/programs/simple-hash.c: Likewise.
3715 * locale/programs/simple-hash.h: Likewise.
3716 * malloc/memusage.c: Likewise.
3717 * malloc/memusagestat.c: Likewise.
3718 * nis/nis_defaults.c: Likewise.
3719 * nis/nis_hash.c: Likewise.
3720 * nis/nis_print.c: Likewise.
3721 * nis/nis_xdr.c: Likewise.
3722 * nscd/connections.c: Likewise.
3723 * nscd/hstcache.c: Likewise.
3724 * nscd/nscd_gethst_r.c: Likewise.
3725 * nscd/nscd_getserv_r.c: Likewise.
3726 * nscd/nscd_helper.c: Likewise.
3727 * nscd/servicescache.c: Likewise.
3728 * nss/makedb.c: Likewise.
3729 * nss/nss_db/db-XXX.c: Likewise.
3730 * nss/nss_db/db-initgroups.c: Likewise.
3731 * nss/nss_db/db-netgrp.c: Likewise.
3732 * nss/nss_files/files-network.c: Likewise.
3733 * nss/nss_files/files-parse.c: Likewise.
3734 * posix/bug-regex5.c: Likewise.
3735 * posix/fnmatch_loop.c: Likewise.
3736 * posix/regcomp.c: Likewise.
3737 * posix/regexec.c: Likewise.
3738 * posix/tst-rfc3484-2.c: Likewise.
3739 * posix/tst-rfc3484-3.c: Likewise.
3740 * posix/tst-rfc3484.c: Likewise.
3741 * resolv/nss_dns/dns-canon.c: Likewise.
3742 * resolv/nss_dns/dns-network.c: Likewise.
3743 * resolv/res_init.c: Likewise.
3744 * resolv/res_mkquery.c: Likewise.
3745 * resolv/tst-aton.c: Likewise.
3746 * stdlib/cxa_atexit.c: Likewise.
3747 * stdlib/cxa_finalize.c: Likewise.
3748 * stdlib/gen-fpioconst.c: Likewise.
3749 * stdlib/strtol_l.c: Likewise.
3750 * string/tst-endian.c: Likewise.
3751 * sunrpc/auth_des.c: Likewise.
3752 * sunrpc/clnt_udp.c: Likewise.
3753 * sunrpc/rtime.c: Likewise.
3754 * sunrpc/svcauth_des.c: Likewise.
3755 * sunrpc/xdr.c: Likewise.
3756 * sunrpc/xdr_intXX_t.c: Likewise.
3757 * sunrpc/xdr_rec.c: Likewise.
3758 * sysdeps/generic/ldconfig.h: Likewise.
3759 * sysdeps/generic/ldsodefs.h: Likewise.
3760 * sysdeps/generic/memusage.h: Likewise.
3761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3764 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3771 * sysdeps/posix/getaddrinfo.c: Likewise.
3772 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3773 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3774 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3775 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3776 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3777 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3778 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3779 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3780 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3781 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3782 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3783 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3784 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3785 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3786 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3787 * sysdeps/x86_64/dl-tls.h: Likewise.
3788 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3789 * time/alt_digit.c: Likewise.
3790 * time/era.c: Likewise.
3791 * wcsmbs/tst-c16c32-1.c: Likewise.
3792
37932013-05-16 Joseph Myers <joseph@codesourcery.com>
3794
3795 * math/libm-test.inc (struct test_sincos_data): New type.
3796 (RUN_TEST_LOOP_sincos): New macro.
3797 (sincos_test_data): New variable.
3798 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3799
38002013-05-16 Richard Henderson <rth@redhat.com>
3801
3802 * math/atest-exp2.c (LIMB64): New macro.
3803 (CONSTSZ): New macro.
3804 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3805 (hexdig): Move ...
3806 (print_mpn_fp): ... to function scope.
3807 (read_mpn_hex): Remove.
3808 (get_log2): Remove.
3809 (exp2_mpn): Use mp_log2.
3810 (main): Use mp_exp1.
3811
38122013-05-16 Joseph Myers <joseph@codesourcery.com>
3813
3814 * math/libm-test.inc: Remove comment about not testing "inexact"
3815 exceptions.
3816 (INEXACT_EXCEPTION): New macro.
3817 (NO_INEXACT_EXCEPTION): Likewise.
3818 (INVALID_EXCEPTION_OK): Update value.
3819 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3820 (OVERFLOW_EXCEPTION_OK): Likewise.
3821 (UNDERFLOW_EXCEPTION_OK): Likewise.
3822 (IGNORE_ZERO_INF_SIGN): Likewise.
3823 (ERRNO_UNCHANGED): Likewise.
3824 (ERRNO_EDOM): Likewise.
3825 (ERRNO_ERANGE): Likewise.
3826 (test_exceptions): Handle testing "inexact" exceptions.
3827 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3828 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3829 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3830 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3831 INEXACT_EXCEPTION.
3832 (rint_towardzero_test_data): Likewise.
3833 (rint_downward_test_data): Likewise.
3834 (rint_upward_test_data): Likewise.
3835
3836 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3837 with OVERFLOW_EXCEPTION.
3838 (exp10_test_data): Likewise.
3839 (exp2_test_data): Likewise.
3840 (expm1_test_data): Likewise.
3841 (lgamma_test_data): Likewise.
3842 (pow_test_data): Likewise.
3843 (tgamma_test_data): Likewise.
3844 (yn_test_data): Remove duplicate test of overflow.
3845
3846 * math/libm-test.inc (struct test_cc_c_data): New type.
3847 (RUN_TEST_LOOP_cc_c): New macro.
3848 (cpow_test_data): New variable.
3849 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3850
3851 * math/libm-test.inc (struct test_f_L_data): New type.
3852 (RUN_TEST_LOOP_f_L): New macro.
3853 (llrint_test_data): New variable.
3854 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3855 (llrint_tonearest_test_data): New variable.
3856 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3857 (llrint_towardzero_test_data): New variable.
3858 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3859 (llrint_downward_test_data): New variable.
3860 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3861 (llrint_upward_test_data): New variable.
3862 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3863 (llround_test_data): New variable.
3864 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3865
38662013-05-13 Peter Collingbourne <pcc@google.com>
3867
3868 * math/atest-exp2.c (get_log2): Remove const attribute.
3869
38702013-05-15 Joseph Myers <joseph@codesourcery.com>
3871
3872 * math/libm-test.inc (struct test_f_l_data): New type.
3873 (RUN_TEST_LOOP_f_l): New macro.
3874 (lrint_test_data): New variable.
3875 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3876 (lrint_tonearest_test_data): New variable.
3877 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3878 (lrint_towardzero_test_data): New variable.
3879 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3880 (lrint_downward_test_data): New variable.
3881 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3882 (lrint_upward_test_data): New variable.
3883 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3884 (lround_test_data): New variable.
3885 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3886
38872013-05-15 Peter Collingbourne <pcc@google.com>
3888
3889 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3890 (EXTRACT_WORDS64) Use where appropriate.
3891 (INSERT_WORDS64) Likewise.
3892
3893 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3894 constraints with x constraints.
3895 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3896
3897 * malloc/obstack.c (_obstack_compat): Add initializer.
3898
38992013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3900
3901 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3902 si_trapno and add si_addr_lsb to _sifields.sigfault.
3903 (si_trapno): Remove macro.
3904 (si_addr_lsb): Define new macro.
3905 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3906
39072013-05-15 Joseph Myers <joseph@codesourcery.com>
3908
3909 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3910 instead of TEST_f_l.
3911 (llrint_test_tonearest): Likewise.
3912 (llrint_test_towardzero): Likewise.
3913 (llrint_test_downward): Likewise.
3914 (llrint_test_upward): Likewise.
3915 (llround_test): Likewise.
3916
3917 * math/libm-test.inc (struct test_f_i_data): Add comment.
3918 (RUN_TEST_LOOP_f_b): New macro.
3919 (RUN_TEST_LOOP_f_b_tg): Likewise.
3920 (finite_test_data): New variable.
3921 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3922 (isfinite_test_data): New variable.
3923 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3924 (isinf_test_data): New variable.
3925 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3926 (isnan_test_data): New variable.
3927 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3928 (isnormal_test_data): New variable.
3929 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3930 (issignaling_test_data): New variable.
3931 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3932 (signbit_test_data): New variable.
3933 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3934
3935 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3936 with INVALID_EXCEPTION.
3937 (acosh_test_data): Likewise.
3938 (asin_test_data): Likewise.
3939 (atanh_test_data): Likewise.
3940 (fmod_test_data): Likewise.
3941 (log_test_data): Likewise.
3942 (log10_test_data): Likewise.
3943 (log2_test_data): Likewise.
3944 (pow_test_data): Likewise.
3945 (sqrt_test_data): Likewise.
3946 (y0_test_data): Likewise.
3947 (y1_test_data): Likewise.
3948 (yn_test_data): Likewise.
3949
3950 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3951 function contents.
3952
3953 * math/libm-test.inc (struct test_ff_i_data): New type.
3954 (RUN_TEST_LOOP_ff_i_tg): New macro.
3955 (isgreater_test_data): New variable.
3956 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3957 (isgreaterequal_test_data): New variable.
3958 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3959 (isless_test_data): New variable.
3960 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3961 (islessequal_test_data): New variable.
3962 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3963 (islessgreater_test_data): New variable.
3964 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3965 (isunordered_test_data): New variable.
3966 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3967
39682013-05-14 David S. Miller <davem@davemloft.net>
3969
3970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3971
39722013-05-14 Joseph Myers <joseph@codesourcery.com>
3973
3974 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3975
3976 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3977 extra_test to int.
3978 (struct test_f_i_data): Change type of max_ulp to int.
3979
3980 * math/libm-test.inc (test_ffI_f1_data): New type.
3981 (RUN_TEST_LOOP_ffI_f1): New macro.
3982 (remquo_test_data): New variable.
3983 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3984
3985 * setjmp/tst-setjmp-fp.c: New file.
3986 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3987 (link-libm): New variable.
3988 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3989
3990 * math/libm-test.inc (struct test_f_i_data): New type.
3991 (RUN_TEST_LOOP_f_i): New macro.
3992 (RUN_TEST_LOOP_f_i_tg): Likewise.
3993 (fpclassify_test_data): New variable.
3994 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3995 (ilogb_test_data): New variable.
3996 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3997
3998 * math/libm-test.inc (scalbln_test): Correct function name in END
3999 call.
4000
4001 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4002 (RUN_TEST_LOOP_fI_f1): New macro.
4003 (frexp_test_data): New variable.
4004 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4005
4006 * math/libm-test.inc (struct test_fF_f1_data): New type.
4007 (RUN_TEST_LOOP_fF_f1): New macro.
4008 (modf_test_data): New variable.
4009 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4010
4011 * math/libm-test.inc (struct test_f_f1_data): New type.
4012 (RUN_TEST_LOOP_f_f1): New macro.
4013 (gamma_test_data): New variable.
4014 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4015 (lgamma_test_data): New variable.
4016 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4017
40182013-05-13 Carlos O'Donell <carlos@redhat.com>
4019
4020 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4021 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4022 (main): Comment "tls" pseudo-hwcap.
4023
40242013-05-13 Joseph Myers <joseph@codesourcery.com>
4025
4026 * math/libm-test.inc (struct test_fl_f_data): New type.
4027 (RUN_TEST_LOOP_fl_f): New variable.
4028 (scalbln_test_data): New variable.
4029 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4030
4031 * math/libm-test.inc (struct test_fi_f_data): New type.
4032 (RUN_TEST_LOOP_fi_f): New macro.
4033 (ldexp_test_data): New variable.
4034 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4035 (scalbn_test_data): New variable.
4036 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4037
4038 * math/libm-test.inc (struct test_c_f_data): New type.
4039 (RUN_TEST_LOOP_c_f): New macro.
4040 (cabs_test_data): New variable.
4041 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4042 (carg_test_data): New variable.
4043 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4044 (cimag_test_data): New variable.
4045 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4046 (creal_test_data): New variable.
4047 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4048
4049 * math/libm-test.inc (struct test_if_f_data): New type.
4050 (RUN_TEST_LOOP_if_f): New macro.
4051 (jn_test_data): New variable.
4052 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4053 (yn_test_data): New variable.
4054 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4055
4056 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4057
40582013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4059
4060 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4061 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4062
40632013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4064
4065 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4066 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4067 (bench-deps): Add bench-timing.h.
4068 * benchtests-bench-skeleton.c: Include bench-timing.h.
4069 (main): Use TIMING_* macros instead of clock_gettime.
4070 * benchtests/bench-timing.h: New file.
4071
4072 [BZ #14582]
4073 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4074 Renamed from _LIB_VERSION.
4075 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4076
40772013-05-12 Joseph Myers <joseph@codesourcery.com>
4078
4079 * math/libm-test.inc (struct test_fff_f_data): New type.
4080 (RUN_TEST_LOOP_fff_f): New macro.
4081 (fma_test_data): New variable.
4082 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4083 (fma_towardzero_test_data): New variable.
4084 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4085 (fma_downward_test_data): New variable.
4086 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4087 (fma_upward_test_data): New variable.
4088 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4089
4090 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4091 (struct test_c_c_data): New type.
4092 (RUN_TEST_LOOP_c_c): New macro.
4093 (cacos_test_data): New variable.
4094 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4095 (cacosh_test_data): New variable.
4096 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4097 (casin_test_data): New variable.
4098 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4099 (casinh_test_data): New variable.
4100 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4101 (catan_test_data): New variable.
4102 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4103 (catanh_test_data): New variable.
4104 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4105 (ccos_test_data): New variable.
4106 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4107 (ccosh_test_data): New variable.
4108 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4109 (cexp_test_data): New variable.
4110 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4111 (clog_test_data): New variable.
4112 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4113 (clog10_test_data): New variable.
4114 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4115 (conj_test_data): New variable.
4116 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4117 (cproj_test_data): New variable.
4118 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4119 (csin_test_data): New variable.
4120 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4121 (csinh_test_data): New variable.
4122 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4123 (csqrt_test_data): New variable.
4124 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4125 (ctan_test_data): New variable.
4126 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4127 (ctan_tonearest_test_data): New variable.
4128 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4129 (ctan_towardzero_test_data): New variable.
4130 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4131 (ctan_downward_test_data): New variable.
4132 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4133 (ctan_upward_test_data): New variable.
4134 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4135 (ctanh_test_data): New variable.
4136 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4137 (ctanh_tonearest_test_data): New variable.
4138 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4139 (ctanh_towardzero_test_data): New variable.
4140 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4141 (ctanh_downward_test_data): New variable.
4142 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4143 (ctanh_upward_test_data): New variable.
4144 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4145 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4146 of BUILD_COMPLEX.
4147
4148 * math/libm-test.inc (struct test_ff_f_data): New type.
4149 (struct test_ff_f_data_nexttoward): Likewise.
4150 (RUN_TEST_LOOP_2_f): New macro.
4151 (RUN_TEST_LOOP_ff_f): Likewise.
4152 (atan2_test_data): New variable.
4153 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4154 (copysign_test_data): New variable.
4155 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4156 (fdim_test_data): New variable.
4157 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4158 (fmax_test_data): New variable.
4159 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4160 (fmin_test_data): New variable.
4161 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4162 (fmod_test_data): New variable.
4163 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4164 (hypot_test_data): New variable.
4165 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4166 (nextafter_test_data): New variable.
4167 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4168 (nexttoward_test_data): New variable.
4169 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4170 (pow_test_data): New variable.
4171 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4172 (pow_tonearest_test_data): New variable.
4173 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4174 (pow_towardzero_test_data): New variable.
4175 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4176 (pow_downward_test_data): New variable.
4177 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4178 (pow_upward_test_data): New variable.
4179 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4180 (remainder_test_data): New variable.
4181 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4182 (scalb_test_data): New variable.
4183 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4184 * sysdeps/i386/fpu/libm-test-ulps: Update.
4185
41862013-05-11 Joseph Myers <joseph@codesourcery.com>
4187
4188 * math/libm-test.inc (fma_test): Use max_value instead of local
4189 variable fltmax.
4190 (nextafter_test): Likewise.
4191
4192 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4193 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4194 (acos_downward_test_data): New variable.
4195 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4196 (acos_upward_test_data): New variable.
4197 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4198 (acosh_test_data): New variable.
4199 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4200 (asin_test_data): New variable.
4201 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4202 (asin_tonearest_test_data): New variable.
4203 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4204 (asin_towardzero_test_data): New variable.
4205 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4206 (asin_downward_test_data): New variable.
4207 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4208 (asin_upward_test_data): New variable.
4209 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4210 (asinh_test_data): New variable.
4211 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4212 (atan_test_data): New variable.
4213 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4214 (atanh_test_data): New variable.
4215 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4216 (cbrt_test_data): New variable.
4217 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4218 (ceil_test_data): New variable.
4219 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4220 (cos_test_data): New variable.
4221 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4222 (cos_tonearest_test_data): New variable.
4223 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4224 (cos_towardzero_test_data): New variable.
4225 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4226 (cos_downward_test_data): New variable.
4227 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4228 (cos_upward_test_data): New variable.
4229 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4230 (cosh_test_data): New variable.
4231 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4232 (cosh_tonearest_test_data): New variable.
4233 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4234 (cosh_towardzero_test_data): New variable.
4235 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4236 (cosh_downward_test_data): New variable.
4237 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4238 (cosh_upward_test_data): New variable.
4239 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4240 (erf_test_data): New variable.
4241 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4242 (erfc_test_data): New variable.
4243 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4244 (exp_test_data): New variable.
4245 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4246 (exp_tonearest_test_data): New variable.
4247 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4248 (exp_towardzero_test_data): New variable.
4249 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4250 (exp_downward_test_data): New variable.
4251 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4252 (exp_upward_test_data): New variable.
4253 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4254 (exp10_test_data): New variable.
4255 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4256 (exp2_test_data): New variable.
4257 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4258 (expm1_test_data): New variable.
4259 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4260 (fabs_test_data): New variable.
4261 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4262 (floor_test_data): New variable.
4263 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4264 (j0_test_data): New variable.
4265 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4266 (j1_test_data): New variable.
4267 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4268 (log_test_data): New variable.
4269 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4270 (log10_test_data): New variable.
4271 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4272 (log1p_test_data): New variable.
4273 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4274 (log2_test_data): New variable.
4275 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4276 (logb_test_data): New variable.
4277 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4278 (logb_downward_test_data): New variable.
4279 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4280 (nearbyint_test_data): New variable.
4281 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4282 (rint_test_data): New variable.
4283 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4284 (rint_tonearest_test_data): New variable.
4285 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4286 (rint_towardzero_test_data): New variable.
4287 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4288 (rint_downward_test_data): New variable.
4289 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4290 (rint_upward_test_data): New variable.
4291 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4292 (round_test_data): New variable.
4293 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4294 (sin_test_data): New variable.
4295 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4296 (sin_tonearest_test_data): New variable.
4297 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4298 (sin_towardzero_test_data): New variable.
4299 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4300 (sin_downward_test_data): New variable.
4301 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4302 (sin_upward_test_data): New variable.
4303 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4304 (sinh_test_data): New variable.
4305 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4306 (sinh_tonearest_test_data): New variable.
4307 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4308 (sinh_towardzero_test_data): New variable.
4309 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4310 (sinh_downward_test_data): New variable.
4311 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4312 (sinh_upward_test_data): New variable.
4313 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4314 (sqrt_test_data): New variable.
4315 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4316 (tan_test_data): New variable.
4317 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4318 (tan_tonearest_test_data): New variable.
4319 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4320 (tan_towardzero_test_data): New variable.
4321 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4322 (tan_downward_test_data): New variable.
4323 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4324 (tan_upward_test_data): New variable.
4325 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4326 (tanh_test_data): New variable.
4327 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4328 (tgamma_test_data): New variable.
4329 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4330 (trunc_test_data): New variable.
4331 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4332 (y0_test_data): New variable.
4333 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4334 (y1_test_data): New variable.
4335 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4336 (significand_test_data): New variable.
4337 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4338
43392013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4340
4341 [BZ #12387]
4342 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4343
43442013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4345
4346 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4347
43482013-05-10 Andreas Jaeger <aj@suse.de>
4349
4350 [BZ #15448]
4351 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4352 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4353
43542013-05-10 Joseph Myers <joseph@codesourcery.com>
4355
4356 * math/gen-libm-test.pl (adjust_arg): New function.
4357 (special_functions): Handle generating output in both functions
4358 and arrays.
4359 (parse_args): Likewise.
4360 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4361 $in_func argument to parse_args.
4362 * math/libm-test.inc (struct test_f_f_data): New type.
4363 (IF_ROUND_INIT_): New macro.
4364 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4365 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4366 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4367 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4368 (ROUND_RESTORE_): Likewise.
4369 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4370 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4371 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4372 (ROUND_RESTORE_FE_UPWARD): Likewise.
4373 (RUN_TEST_LOOP_f_f): New macro.
4374 (acos_test_data): New variable.
4375 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4376 (acos_tonearest_test_data): New variable.
4377 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4378
43792013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4380
4381 * benchtests/bench-skeleton.c (startup): Fix coding style.
4382
43832013-05-10 Joseph Myers <joseph@codesourcery.com>
4384
4385 [BZ #6809]
4386 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4387 negative infinity argument.
4388 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4389 negative infinity argument.
4390 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4391 negative infinity argument.
4392 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4393 domain errors.
4394
43952013-05-10 Florian Weimer <fweimer@redhat.com>
4396
4397 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4398 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4399 * iconv/iconv_prog.c (main): Likewise.
4400 * locale/programs/charmap-dir.c (charmap_readdir)
4401 (fopen_uncompressed): Likewise.
4402 * locale/programs/locfile.c (siblings_uncached)
4403 (write_locale_data): Use lstat64 instead of lstat.
4404 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4405 stat.
4406
44072013-05-10 Andreas Jaeger <aj@suse.de>
4408
4409 [BZ #15395]
4410 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4411 localization.
4412 Include <locale.h>.
4413
44142013-05-09 Carlos O'Donell <carlos@redhat.com>
4415
4416 * elf/dl-close.c (_dl_close_worker): Add comments.
4417
44182013-05-09 Joseph Myers <joseph@codesourcery.com>
4419
4420 [BZ #15359]
4421 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4422 high part of pi/2.
4423 (__ieee754_rem_pio2l): Update comments.
4424
4425 [BZ #15429]
4426 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4427 high part of pi/2.
4428 (__ieee754_rem_pio2l): Update comments.
4429
4430 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4431 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4432
4433 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4434 M_PI_4l.
4435
4436 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4437 (M_PI_34_LOG10El): Likewise.
4438 (M_PI2_LOG10El): Likewise.
4439 (M_PI4_LOG10El): Likewise.
4440 (M_PI_LOG10El): Likewise.
4441
44422013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4443
4444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4445
44462013-05-08 Joseph Myers <joseph@codesourcery.com>
4447
4448 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4449 (MINUS_ZERO_INIT): Likewise.
4450 (PLUS_INFTY_INIT): Likewise.
4451 (MINUS_INFTY_INIT): Likewise.
4452 (QNAN_VALUE_INIT): Likewise.
4453 (MAX_VALUE_INIT): Likewise.
4454 (MIN_VALUE_INIT): Likewise.
4455 (MIN_SUBNORM_VALUE_INIT): Likewise.
4456 (plus_zero): Initialize with PLUS_ZERO_INIT.
4457 (minus_zero): Initialize with MINUS_ZERO_INIT.
4458 (plus_infty): Initialize with PLUS_INFTY_INIT.
4459 (minus_infty): Initialize with MINUS_INFTY_INIT.
4460 (qnan_value): Initialize with QNAN_VALUE_INIT.
4461 (max_value): Initialize with MAX_VALUE_INIT.
4462 (min_value): Initialize with MIN_VALUE_INIT.
4463 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4464
4465 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4466 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4467 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4468 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4469
4470 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4471 (RUN_TEST_2_f): Likewise.
4472 (RUN_TEST_ff_f): Likewise.
4473 (RUN_TEST_fi_f): Likewise.
4474 (RUN_TEST_fl_f): Likewise.
4475 (RUN_TEST_fff_f): Likewise.
4476 (RUN_TEST_c_f): Likewise.
4477 (RUN_TEST_f_f1): Likewise.
4478 (RUN_TEST_fF_f1): Likewise.
4479 (RUN_TEST_fI_f1): Likewise.
4480 (RUN_TEST_ffI_f1): Likewise.
4481 (RUN_TEST_c_c): Likewise.
4482 (RUN_TEST_cc_c): Likewise.
4483 (RUN_TEST_f_i): Likewise.
4484 (RUN_TEST_f_i_tg): Likewise.
4485 (RUN_TEST_ff_i_tg): Likewise.
4486 (RUN_TEST_f_b): Likewise.
4487 (RUN_TEST_f_b_tg): Likewise.
4488 (RUN_TEST_f_l): Likewise.
4489 (RUN_TEST_f_L): Likewise.
4490 (RUN_TEST_sincos): Likewise.
4491 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4492 whether to show exceptions. Do not include ");\n" in return
4493 value.
4494 (special_functions): Output call to RUN_TEST_sincos instead of
4495 check_float calls. Update calls to new_test.
4496 (parse_args): Output call to single RUN_TEST_* macro instead of
4497 check_* calls and other assignments. Update calls to new_test.
4498
4499 [BZ #2546]
4500 [BZ #2560]
4501 [BZ #5159]
4502 [BZ #15426]
4503 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4504 input to result for tgamma overflow.
4505 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4506 (gamma_coeff): New variable.
4507 (NCOEFF): New macro.
4508 (gamma_positive): New function.
4509 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4510 underflow here. Use gamma_positive instead of exp (lgamma) for
4511 other arguments.
4512 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4513 (gamma_coeff): New variable.
4514 (NCOEFF): New macro.
4515 (gammaf_positive): New function.
4516 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4517 underflow here. Use gamma_positive instead of exp (lgamma) for
4518 other arguments.
4519 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4520 (gamma_coeff): New variable.
4521 (NCOEFF): New macro.
4522 (gammal_positive): New function.
4523 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4524 underflow here. Use gamma_positive instead of exp (lgamma) for
4525 other arguments.
4526 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4527 (gamma_coeff): New variable.
4528 (NCOEFF): New macro.
4529 (gammal_positive): New function.
4530 (__ieee754_gammal_r): Handle positive infinity, overflow and
4531 underflow here. Handle NaN the same as positive infinity. Remove
4532 check x < 0xffffffff for negative integers. Use gamma_positive
4533 instead of exp (lgamma) for other arguments.
4534 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4535 (gamma_coeff): New variable.
4536 (NCOEFF): New macro.
4537 (gammal_positive): New function.
4538 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4539 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4540 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4541 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4542 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4543 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4544 * sysdeps/generic/math_private.h (__gamma_productf): New
4545 prototype.
4546 (__gamma_product): Likewise.
4547 (__gamma_productl): Likewise.
4548 * math/Makefile (libm-calls): Add gamma_product.
4549 * math/libm-test.inc (tgamma_test): Add more tests.
4550 * sysdeps/i386/fpu/libm-test-ulps: Update.
4551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552
45532013-05-08 Ondřej Bílka <neleai@seznam.cz>
4554
4555 * benchtests/bench-skeleton.c (main): Preheat CPU.
4556
45572013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4558
4559 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4560
45612013-05-07 Roland McGrath <roland@hack.frob.com>
4562
4563 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4564 and _dl_skip_args_internal.
4565
45662013-05-07 Carlos O'Donell <carlos@redhat.com>
4567
4568 * manual/message.texi (Message Translation): Talk about users.
4569 Message to key mapping impacts design.
4570
45712013-05-06 Roland McGrath <roland@hack.frob.com>
4572
4573 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4574
4575 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4576
4577 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4578 * sysdeps/wordsize-64/glob64.c: ... here.
4579
4580 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4581 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4582 New macros.
4583
4584 * debug/getlogin_r_chk.c: Moved to ...
4585 * login/getlogin_r_chk.c: ... here.
4586 * debug/Makefile (routines): Move getlogin_r_chk to ...
4587 * login/Makefile (routines): ... here.
4588 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4589 * login/Versions (libc: GLIBC_2.4): ... here.
4590
4591 * io/poll.c (__poll): Renamed from poll.
4592 Add libc_hidden_def.
4593 (poll): Define as weak alias.
4594
4595 * debug/ptsname_r_chk.c: Moved to ...
4596 * login/ptsname_r_chk.c: ... here.
4597 * debug/Makefile (routines): Move ptsname_r_chk to ...
4598 * login/Makefile (routines): ... here.
4599 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4600 * login/Versions (libc: GLIBC_2.4): ... here.
4601
4602 * posix/getlogin.c: Moved to ...
4603 * login/getlogin.c: ... here.
4604 * posix/getlogin_r.c: Moved to ...
4605 * login/getlogin_r.c: ... here.
4606 * posix/getlogin_r.c: Moved to ...
4607 * login/getlogin_r.c: ... here.
4608 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4609 * login/Makefile (routines): ... here.
4610 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4611 * login/Versions (libc: GLIBC_2.0): ... here.
4612
4613 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4614 (setrlimit): Define as weak alias.
4615
4616 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4617 Call __ names for open, ftruncate, and close.
4618 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4619 (truncate): Define as weak alias.
4620
46212013-05-06 Joseph Myers <joseph@codesourcery.com>
4622
4623 * math/gen-libm-test.pl (parse_args): Initialize x before each
4624 test of frexp, modf and remquo.
4625
4626 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4627 test signgam value.
4628
46292013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4630
4631 [BZ #15418]
4632 [BZ #15419]
4633 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4634 internal tests.
4635 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4636
46372013-05-06 Roland McGrath <roland@hack.frob.com>
4638
4639 * elf/dl-writev.h: New file.
4640 * elf/dl-misc.c: Include it.
4641 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4642 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4643
46442013-05-04 Joseph Myers <joseph@codesourcery.com>
4645
4646 * math/libm-test.inc (noXFails): Remove variable.
4647 (noXPasses): Likewise.
4648 (BUILD_COMPLEX_INT): Remove macro.
4649 (print_screen): Remove xfail argument.
4650 (print_screen_max_error): Likewise.
4651 (update_stats): Likewise.
4652 (print_max_error): Likewise. Update calls to other affected
4653 functions.
4654 (print_complex_max_error): Likewise.
4655 (test_single_exception): Update calls to print_screen.
4656 (test_single_errno): Likewise.
4657 (check_float_internal): Remove xfail argument. Update calls to
4658 other affected functions.
4659 (check_float): Likewise.
4660 (check_complex): Likewise.
4661 (check_int): Likewise.
4662 (check_long): Likewise.
4663 (check_bool): Likewise.
4664 (check_longlong): Likewise.
4665 (main): Don't print noXFails and noXPasses.
4666 * math/gen-libm-test.pl (top level): Don't mention expected
4667 failure handling in comment.
4668 (new_test): Don't handle expected failures.
4669 (parse_args): Don't mention expected failure handling in comment.
4670 (generate_testfile): Don't handle expected failures.
4671 (parse_ulps): Likewise.
4672 (print_ulps_file): Likewise.
4673 (get_failure): Remove function.
4674 (output_test): Don't handle expected failures.
4675 * make/README.libm-test: Don't mention expected failure handling.
4676
4677 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4678 (minus_zero): Likewise.
4679 (plus_infty): Likewise.
4680 (minus_infty): Likewise.
4681 (qnan_value): Likewise.
4682 (max_value): Likewise.
4683 (min_value): Likewise.
4684 (min_subnorm_value): Likewise.
4685 (initialize): Do not initialize those variables dynamically.
4686
46872013-05-03 Roland McGrath <roland@hack.frob.com>
4688
4689 * io/open.c (__open_2): Moved to ...
4690 * io/open_2.c: ... this new file.
4691 * io/open64.c (__open64_2): Moved to ...
4692 * io/open64_2.c: ... this new file.
4693 * io/openat.c (__openat_2): Moved to ...
4694 * io/openat_2.c: ... this new file.
4695 * io/openat64.c (__openat64_2): Moved to ...
4696 * io/openat64_2.c: ... this new file.
4697 * io/Makefile (routines): Add them.
4698 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4699 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4700 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4701 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4702 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4703 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4704 (__openat64): Add hidden_ver.
4705 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4706 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4707
4708 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4709 Separately conditionalize setting of GLRO(dl_sysinfo) so
4710 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4711 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4712
47132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4714
4715 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4716 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4717 definition.
4718 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4719 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4720 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4721 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4722 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4723
47242013-05-03 Joseph Myers <joseph@codesourcery.com>
4725
4726 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4727 test signgam value.
4728
4729 * math/libm-test.inc (hypot_test): Do not use
4730 IGNORE_ZERO_INF_SIGN.
4731
47322013-05-03 Andreas Jaeger <aj@suse.de>
4733
4734 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4735 Linux 3.9.
4736 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4737 (PF_MAX): Adjust for VSOCK change.
4738
47392013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4740
4741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4742
47432013-05-02 Carlos O'Donell <carlos@redhat.com>
4744
4745 [BZ #15264]
4746 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4747 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4748 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4749
47502013-05-02 David S. Miller <davem@davemloft.net>
4751
4752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4753
47542013-05-01 Ondřej Bílka <neleai@seznam.cz>
4755
4756 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4757
47582013-05-01 Roland McGrath <roland@hack.frob.com>
4759
4760 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4761
47622013-05-01 Richard Smith <richard@metafoo.co.uk>
4763
4764 [BZ #14952]
4765 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4766 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4767 Use __attribute__ ((__gnu_inline__)).
4768 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4769 Don't use __attribute__ ((__gnu_inline__)).
4770
47712013-05-01 Joseph Myers <joseph@codesourcery.com>
4772
4773 [BZ #15423]
4774 * math/s_catan.c (__catan): Handle small real or imaginary part of
4775 input specially to avoid spurious underflow.
4776 * math/s_catanf.c (__catanf): Likewise.
4777 * math/s_catanh.c (__catanh): Likewise.
4778 * math/s_catanhf.c (__catanhf): Likewise.
4779 * math/s_catanhl.c (__catanhl): Likewise.
4780 * math/s_catanl.c (__catanl): Likewise.
4781 * math/libm-test.inc (catan_test): Add more tests.
4782 (catanh_test): Likewise.
4783 * sysdeps/i386/fpu/libm-test-ulps: Update.
4784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4785
47862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787
4788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4789
47902013-04-30 Joseph Myers <joseph@codesourcery.com>
4791
4792 [BZ #15416]
4793 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4794 accurately for denominator in atan2.
4795 * math/s_catanf.c (__catanf): Likewise.
4796 * math/s_catanh.c (__catanh): Likewise.
4797 * math/s_catanhf.c (__catanhf): Likewise.
4798 * math/s_catanhl.c (__catanhl): Likewise.
4799 * math/s_catanl.c (__catanl): Likewise.
4800 * math/libm-test.inc (catan_test): Add more tests.
4801 (catanh_test): Likewise.
4802 * sysdeps/i386/fpu/libm-test-ulps: Update.
4803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4804
48052013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4806
4807 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4808
4809 * benchtests/Makefile (bench): Remove slow benchmarks.
4810 * benchtests/atan-inputs: Add slow benchmark inputs.
4811 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4812 (BENCH_FUNC): Accept variant offset.
4813 (VARIANT): Define.
4814 * benchtests/bench-skeleton.c (main): Run benchmark for each
4815 variant.
4816 * benchtests/cos-inputs: Add slow benchmark inputs.
4817 * benchtests/exp-inputs: Likewise.
4818 * benchtests/pow-inputs: Likewise.
4819 * benchtests/sin-inputs: Likewise.
4820 * benchtests/slowatan-inputs: Remove.
4821 * benchtests/slowatan.c: Remove.
4822 * benchtests/slowcos-inputs: Remove.
4823 * benchtests/slowcos.c: Remove.
4824 * benchtests/slowexp-inputs: Remove.
4825 * benchtests/slowexp.c: Remove.
4826 * benchtests/slowpow-inputs: Remove.
4827 * benchtests/slowpow.c: Remove.
4828 * benchtests/slowsin-inputs: Remove.
4829 * benchtests/slowsin.c: Remove.
4830 * benchtests/slowtan-inputs: Remove.
4831 * benchtests/slowtan.c: Remove.
4832 * benchtests/tan-inputs: Add slow benchmark inputs.
4833 * scripts/bench.pl: Parse comments and directives.
4834
4835 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4836 in CPPFLAGS.
4837 ($(objpfx)bench-%.c): Remove *-ITER.
4838 * benchtests/bench-modf.c: Remove definition of ITER.
4839 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4840 (main): Loop for DURATION seconds instead of fixed number of
4841 iterations.
4842 * scripts/bench.pl: Don't expect iterations in parameters.
4843
48442013-04-29 Roland McGrath <roland@hack.frob.com>
4845
4846 * io/fchdir.c (__fchdir): Renamed from fchdir.
4847 (fchdir): Define as weak alias.
4848
48492013-04-29 Joseph Myers <joseph@codesourcery.com>
4850
4851 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4852 (ERRNO_EDOM): Likewise.
4853 (ERRNO_ERANGE): Likewise.
4854 (noErrnoTests): New variable.
4855 (init_max_error): Set errno to 0.
4856 (test_single_errno): New function.
4857 (test_errno): Likewise.
4858 (check_float_internal): Call test_errno. Set errno to 0.
4859 (check_complex): Refer to errno tests in comment.
4860 (check_int): Call test_errno. Set errno to 0.
4861 (check_long): Likewise.
4862 (check_bool): Likewise.
4863 (check_longlong): Likewise.
4864 (cos_test): Use ERRNO_* flags for errno tests instead of
4865 check_int.
4866 (expm1_test): Likewise.
4867 (fmod_test): Likewise.
4868 (ilogb_test): Likewise.
4869 (lgamma_test): Likewise.
4870 (pow_test): Likewise.
4871 (remainder_test): Likewise.
4872 (sin_test): Likewise.
4873 (tan_test): Likewise.
4874 (yn_test): Likewise.
4875 (initialize): Set errno to 0.
4876 (main): Print number of errno tests.
4877 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4878
48792013-04-29 Andreas Jaeger <aj@suse.de>
4880
4881 [BZ #15084]
4882 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4883 and RES_USEVC.
4884
4885 [BZ #15085]
4886 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4887 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4888 unimplemented.
4889
4890 [BZ #15380]
4891 * stdlib/random.c (__initstate): Return NULL if
4892 __initstate fails.
4893
4894 [BZ #15086]
4895 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4896 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4897 RES_SNGLKUPREOP.
4898
48992013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4900
4901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4902
49032013-04-29 Joseph Myers <joseph@codesourcery.com>
4904
4905 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4906 of individual tests.
4907 (casin_test): Likewise.
4908 (casinh_test): Likewise.
4909
49102013-04-27 Joseph Myers <joseph@codesourcery.com>
4911
4912 [BZ #15409]
4913 * math/s_catan.c (__catan): Handle arguments with large real or
4914 imaginary part separately without squaring.
4915 * math/s_catanf.c (__catanf): Likewise.
4916 * math/s_catanh.c (__catanh): Likewise.
4917 * math/s_catanhf.c (__catanhf): Likewise.
4918 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4919 and redefine.
4920 (__catanhl): Handle arguments with large real or imaginary part
4921 separately without squaring.
4922 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4923 and redefine.
4924 (__catanl): Handle arguments with large real or imaginary part
4925 separately without squaring.
4926 * math/libm-test.inc (catan_test): Add more tests.
4927 (catanh_test): Likewise.
4928 * sysdeps/i386/fpu/libm-test-ulps: Update.
4929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4930
49312013-04-27 Andreas Jaeger <aj@suse.de>
4932
4933 [BZ #15007]
4934 * stdlib/stdlib.h: Update guards for qecvt.
4935 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4936 <stdlib.h>.
4937
49382013-04-27 Allan McRae <allan@archlinux.org>
4939
4940 * sysdeps/i386/fpu/libm-test-ulps: Update.
4941
49422013-04-26 Joseph Myers <joseph@codesourcery.com>
4943
4944 [BZ #15406]
4945 * math/s_catan.c: Include <float.h>.
4946 (__catan): Ensure underflow exception occurs for underflowed
4947 result.
4948 * math/s_catanf.c: Include <float.h>.
4949 (__catanf): Ensure underflow exception occurs for underflowed
4950 result.
4951 * math/s_catanh.c: Include <float.h>.
4952 (__catanh): Ensure underflow exception occurs for underflowed
4953 result.
4954 * math/s_catanhf.c: Include <float.h>.
4955 (__catanhf): Ensure underflow exception occurs for underflowed
4956 result.
4957 * math/s_catanhl.c: Include <float.h>.
4958 (__catanhl): Ensure underflow exception occurs for underflowed
4959 result.
4960 * math/s_catanl.c: Include <float.h>.
4961 (__catanl): Ensure underflow exception occurs for underflowed
4962 result.
4963 * math/libm-test.inc (catan_test): Add more tests.
4964 (catanh_test): Likewise.
4965
4966 [BZ #15405]
4967 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4968 underflowed result.
4969 * math/s_ccoshf.c (__ccoshf): Likewise.
4970 * math/s_ccoshl.c (__ccoshl): Likewise.
4971 * math/s_csin.c (__csin): Likewise.
4972 * math/s_csinf.c (__csinf): Likewise.
4973 * math/s_csinh.c (__csinh): Likewise.
4974 * math/s_csinhf.c (__csinhf): Likewise.
4975 * math/s_csinhl.c (__csinhl): Likewise.
4976 * math/s_csinl.c (__csinl): Likewise.
4977 * math/libm-test.inc (ccos_test): Add more tests.
4978 (ccosh_test): Likewise.
4979 (csin_test): Likewise.
4980 (csinh_test): Likewise.
4981
49822013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4983
4984 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4985 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4986 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4987 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4988 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4989 powerpc/power5+/fpu folders.
4990 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4991
4992
49932013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4994
4995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4996
49972013-04-25 Joseph Myers <joseph@codesourcery.com>
4998
4999 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5000 additions to variable.
5001 [$(config-machine) = x86_64] (modules-names): Likewise.
5002 ($(objpfx)tst-audit3): Remove dependency.
5003 ($(objpfx)tst-audit3.out): Likewise.
5004 ($(objpfx)tst-audit4): Likewise.
5005 ($(objpfx)tst-audit4.out): Likewise.
5006 ($(objpfx)tst-audit5): Likewise.
5007 ($(objpfx)tst-audit5.out): Likewise.
5008 ($(objpfx)tst-audit6): Likewise.
5009 ($(objpfx)tst-audit6.out): Likewise.
5010 ($(objpfx)tst-audit7): Likewise.
5011 ($(objpfx)tst-audit7.out): Likewise.
5012 (tst-audit3-ENV): Remove variable.
5013 (tst-audit4-ENV): Likewise.
5014 (tst-audit5-ENV): Likewise.
5015 (tst-audit6-ENV): Likewise.
5016 (tst-audit7-ENV): Likewise.
5017 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5018 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5019 addition to variable.
5020 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5021 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5022 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5023 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5024 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5025 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5026 tst-audit3, tst-audit4 and tst-audit5.
5027 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5028 tst-audit6 and tst-audit7.
5029 [$(subdir) = elf] (modules-names): Add audit modules for those
5030 tests.
5031 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5032 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5033 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5034 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5035 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5036 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5037 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5038 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5039 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5040 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5041 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5042 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5043 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5044 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5045 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5046 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5047 Likewise.
5048 [$(subdir) = elf && $(config-cflags-avx) = yes]
5049 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5050 [$(subdir) = elf && $(config-cflags-avx) = yes]
5051 (CFLAGS-tst-auditmod4a.c): Likewise.
5052 [$(subdir) = elf && $(config-cflags-avx) = yes]
5053 (CFLAGS-tst-auditmod4b.c): Likewise.
5054 [$(subdir) = elf && $(config-cflags-avx) = yes]
5055 (CFLAGS-tst-auditmod6b.c): Likewise.
5056 [$(subdir) = elf && $(config-cflags-avx) = yes]
5057 (CFLAGS-tst-auditmod6c.c): Likewise.
5058 [$(subdir) = elf && $(config-cflags-avx) = yes]
5059 (CFLAGS-tst-auditmod7b.c): Likewise.
5060 * elf/tst-audit3.c: Move to ...
5061 * sysdeps/x86_64/tst-audit3.c: ... here.
5062 * elf/tst-audit4.c: Move to ...
5063 * sysdeps/x86_64/tst-audit4.c: ... here.
5064 * elf/tst-audit5.c: Move to ...
5065 * sysdeps/x86_64/tst-audit5.c: ... here.
5066 * elf/tst-audit6.c: Move to ...
5067 * sysdeps/x86_64/tst-audit6.c: ... here.
5068 * elf/tst-audit7.c: Move to ...
5069 * sysdeps/x86_64/tst-audit7.c: ... here.
5070 * elf/tst-auditmod3a.c: Move to ...
5071 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5072 * elf/tst-auditmod3b.c: Move to ...
5073 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5074 * elf/tst-auditmod4a.c: Move to ...
5075 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5076 * elf/tst-auditmod4b.c: Move to ...
5077 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5078 * elf/tst-auditmod5a.c: Move to ...
5079 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5080 * elf/tst-auditmod5b.c: Move to ...
5081 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5082 * elf/tst-auditmod6a.c: Move to ...
5083 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5084 * elf/tst-auditmod6b.c: Move to ...
5085 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5086 * elf/tst-auditmod6c.c: Move to ...
5087 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5088 * elf/tst-auditmod7a.c: Move to ...
5089 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5090 * elf/tst-auditmod7b.c: Move to ...
5091 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5092
50932013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5094
5095 [BZ #15366]
5096 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5097 define unconditionally.
5098 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5099 define unconditionally.
5100 (INT8_C, INT16_C, etc.): Likewise.
5101
51022013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5103
5104 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5105 __ehdr_start with hidden visibility.
5106
5107 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5108
51092013-04-24 Carlos O'Donell <carlos@redhat.com>
5110
5111 * math/libm-test.inc (cos_test): Use accurate hex constants.
5112 (sincost_test): Likewise.
5113
51142013-04-24 Joseph Myers <joseph@codesourcery.com>
5115
5116 * math/libm-test.inc (catan_test): Add more tests.
5117 (catanh_test): Likewise.
5118
5119 * math/s_catanf.c (__catanf): Use suffixed floating-point
5120 constants.
5121 * math/s_catanhf.c (__catanhf): Likewise.
5122 * math/s_catanhl.c (__catanhl): Likewise.
5123 * math/s_catanl.c (__catanl): Likewise.
5124
5125 [BZ #15394]
5126 * math/s_catan.c (__catan): Calculate imaginary part of result
5127 with log1p not log unless computing log of number close to 0.
5128 * math/s_catanf.c (__catanf): Likewise.
5129 * math/s_catanl.c (__catanl): Likewise.
5130 * math/s_catanh.c (__catanh): Calculate real part of result with
5131 log1p not log unless computing log of number close to 0.
5132 * math/s_catanhf.c (__catanhf): Likewise.
5133 * math/s_catanhl.c (__catanhl): Likewise.
5134 * math/libm-test.inc (catan_test): Add more tests.
5135 (catanh_test): Likewise.
5136 * sysdeps/i386/fpu/libm-test-ulps: Update.
5137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5138
51392013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5140
5141 * benchtests/Makefile: Mention files in which fast and slow
5142 paths of math functions are implemented.
5143
51442013-04-23 Roland McGrath <roland@hack.frob.com>
5145
5146 * sysdeps/posix/timespec_get.c: New file.
5147
51482013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5149
5150 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5151 POWER.
5152 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5153 for POWER.
5154 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5155 powerpc/power5/fpu folders.
5156 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5157 * benchtests/Makefile: Add modf testcase.
5158 * benchtests/bench-modf.c: New file: Benchmark test for mo
5159
51602013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5161
5162 [BZ #14888]
5163 * time/Makefile (tests): Add tst-strptime-whitespace.
5164 * time/strptime_l.c (get_number): Use ISSPACE.
5165 (__strptime_internal): Likewise.
5166 * time/tst-strptime-whitespace.c: New test case.
5167
51682013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5169
5170 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5171 member.
5172 (_nss_files_init): Set it here.
5173
51742013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5175
5176 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5177 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5178 unsigned.
5179
51802013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5181
5182 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5183
51842013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5185
5186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5187 size just once.
5188
51892013-04-21 David S. Miller <davem@davemloft.net>
5190
5191 * po/ru.po: Update Russion translation from translation project.
5192
51932013-04-17 Adam Conrad <adconrad@0c3.net>
5194
5195 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5196 and setfsgid.
5197
51982013-04-17 Carlos O'Donell <carlos@redhat.com>
5199
5200 * configure.in: Remove i386 configure warning. Remove i386 case.
5201 * configure: Regenerate.
5202 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5203 Add example to error message.
5204 * sysdeps/i386/configure: Regenerate.
5205
52062013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
5208 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5209 slowtan.
5210 * benchtests/cos-inputs: New file.
5211 * benchtests/slowcos-inputs: New file.
5212 * benchtests/slowcos.c: New file.
5213 * benchtests/slowtan-inputs: New file.
5214 * benchtests/slowtan.c: New file.
5215 * benchtests/tan-inputs: New file.
5216
52172013-04-16 Roland McGrath <roland@hack.frob.com>
5218
5219 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5220 considered kosher.
5221
52222013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5223
5224 * benchtests/Makefile: Include cppflags-iterator.mk to add
5225 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5226
5227 * Makefile.in (bench-clean): New target.
5228 * benchtests/Makefile (bench-clean): Likewise.
5229
52302013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5231
5232 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5233
52342013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5235
5236 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5237
52382013-04-15 Andreas Schwab <schwab@suse.de>
5239
5240 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5241 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5242 * nscd/pwdcache.c (cache_addpw): Likewise.
5243 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5244 more than recsize.
5245
52462013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5247
5248 * benchtests/Makefile (bench): Write all output to
5249 bench-out.tmp together.
5250
52512013-04-15 Andreas Schwab <schwab@suse.de>
5252
5253 * nscd/nscd.c (main): Don't fork again after closing files.
5254
52552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5256
5257 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5258
5259 * benchtests/Rules (bench-deps): Collect dependencies into a
5260 single variable. Add Makefile to dependencies.
5261 ($(objpfx)bench-%.c): Depend on bench-deps.
5262
52632013-04-12 Roland McGrath <roland@hack.frob.com>
5264 Xavier Roche <roche+kml2@exalead.com>
5265
5266 [BZ #15361]
5267 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5268 just that it's a file descriptor.
5269 * manual/llio.texi (Synchronizing AIO Operations): Update description
5270 for EBADF error from aio_fsync.
5271
52722013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5273
5274 * Rules (bench): Move target definition...
5275 * benchtests/Makefile: ... here.
5276
52772013-04-11 Carlos O'Donell <carlos@redhat.com>
5278
5279 * math/libm-test.inc (cos_test): Fix PI/2 test.
5280 (sincos_test): Likewise.
5281 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5282 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5283
52842013-04-11 Andreas Schwab <schwab@suse.de>
5285
5286 [BZ #13988]
5287 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5288 accept exponent character only when digits were seen.
5289 * stdio-common/Makefile (tests): Add bug26.
5290 * stdio-common/bug26.c: New file.
5291
5292 [BZ #14293]
5293 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5294 non-freeable.
5295
52962013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5297
5298 * Makeconfig (rtld-prefix): Define built linker prefix.
5299 * Rules (run-bench): Use it.
5300 * math/Makefile (run-regen-ulps): Likewise.
5301
5302 * Rules (bench): Remove eval.
5303
53042013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5305 Roland McGrath <roland@hack.frob.com>
5306 Ondrej Bilka <neleai@seznam.cz>
5307
5308 [BZ #15346]
5309 * time/getdate.c: Include ctype.h and alloca.h.
5310 (__getdate_r): Trim leading and trailing spaces of input.
5311 * time/tst-getdate.c (tests): Add tests with leading and
5312 trailing spaces.
5313
53142013-04-08 Roland McGrath <roland@hack.frob.com>
5315
5316 [BZ #14280]
5317 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5318 when computing value.
5319
53202013-04-06 Carlos O'Donell <carlos@redhat.com>
5321
5322 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5323 Use testrun.sh to run libm tests.
5324
5325 [BZ #15309]
5326 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5327
53282013-04-06 Marko Myllynen <myllynen@redhat.com>
5329
5330 [BZ #15264]
5331 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5332
53332013-04-06 Carlos O'Donell <carlos@redhat.com>
5334
5335 * Makefile.in (regen-ulps): New target.
5336 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5337 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5338 [ifneq (no,$(PERL)] (regen-ulps): New target.
5339 [ifeq (no,$(PERL)] (regen-ulps): New target.
5340 * math/libm-test.inc (ulps_file_name): Define.
5341 (output_dir): New variable.
5342 (options): Add "output-dir" option.
5343 (parse_opt): Handle 'o' case.
5344 (main): If output_dir is non-NULL use it as a prefix
5345 otherwise use "".
5346 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5347
53482013-04-06 Carlos O'Donell <carlos@redhat.com>
5349
5350 [BZ #10060, #10062]
5351 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5352 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5353 fail configure if __sync_val_compare_and_swap is not inlined.
5354 * sysdeps/i386/configure: Regenerate.
5355 * configure.in: Build for i686 when configured for i386.
5356 * configure: Regenerate.
5357 * README: Remove i386 reference.
5358
53592013-04-06 Carlos O'Donell <carlos@redhat.com>
5360
5361 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5362 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5363
53642013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5365
5366 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5367 (lmsnanval): New variables.
5368 (F): Add conversion tests.
5369 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5370 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5371
5372 * stdio-common/tstdiomisc.c (F): Properly collect individual
5373 tests' results.
5374
5375 [BZ #14686, #15336]
5376 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5377 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5378 Instead, use input NaN values or generate a qNaN by arithmetic
5379 operation. Also fix bugs to comply with the standard.
5380 * math/libm-test.inc (remainder_test): Add more tests.
5381
5382 [BZ #15335, #15342]
5383 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5385 input NaN values or generate a qNaN by arithmetic operation.
5386
5387 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5388 unreachable code.
5389
5390 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5391 definitions.
5392
53932013-04-03 Joseph Myers <joseph@codesourcery.com>
5394
5395 [BZ #14478]
5396 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5397 underflowed result.
5398 * math/s_cexpf.c (__cexpf): Likewise.
5399 * math/s_cexpl.c (__cexpl): Likewise.
5400 * math/libm-test.inc (cexp_test): Add more tests.
5401
54022013-04-03 Andreas Schwab <schwab@suse.de>
5403
5404 [BZ #15330]
5405 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5406 order arrays from heap if bigger than alloca cutoff.
5407
54082013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5409
5410 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5411 (SNAN_TESTS_double): Refer to GCC PR56831.
5412 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5413 GCC PR56828.
5414
54152013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5416
5417 * Rules (bench): Move bench.out after the run is complete.
5418
5419 * Rules (bench): Echo currently running benchmark.
5420
5421 * benchtests/Makefile (bench): Add atan and slowatan.
5422 * benchtests/atan-inputs: New file.
5423 * benchtests/slowatan-inputs: New file.
5424 * benchtests/slowatan.c: New file.
5425
5426 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5427 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5428 its value.
5429
5430 [BZ #15305]
5431 * sysdeps/unix/sysv/linux/kernel-features.h
5432 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5433 __ASSUME_XFS_RESTRICTED_CHOWN.
5434 * sysdeps/unix/sysv/linux/pathconf.c
5435 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5436 Save and restore errno.
5437
54382013-04-02 Joseph Myers <joseph@codesourcery.com>
5439
5440 [BZ #15327]
5441 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5442 arguments using __kernel_casinh.
5443 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5444 arguments using __kernel_casinhf.
5445 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5446 arguments using __kernel_casinhl.
5447 * math/libm-test.inc (cacosh_test): Add more tests.
5448 * sysdeps/i386/fpu/libm-test-ulps: Update.
5449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5450
54512013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5452
5453 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5455
5456 * bench/Makefile (bench): Add sin and slowsin.
5457 * benchtests/sin-inputs: New file.
5458 * benchtests/slowsin-inputs: New file.
5459 * benchtests/slowsin.c: New file.
5460
5461 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5462 (bench): Add slowexp and slowpow.
5463 (exp-ITER): Increase iterations.
5464 (pow-ITER): Likewise.
5465 * benchtests/exp-inputs: Change input.
5466 * benchtests/pow-inputs: Likewise.
5467 * benchtests/slowexp-inputs: New file.
5468 * benchtests/slowexp.c: New file.
5469 * benchtests/slowpow-inputs: New file.
5470 * benchtests/slowpow.c: New file.
5471
54722013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473
5474 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5475 instructions.
5476 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5477 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5478 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5479 * benchtests/Makefile: Add rint benchtest.
5480 * benchtests/rint-inputs: Input for rint benchtest.
5481
54822013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5483
5484 * Versions.def (libm): Add GLIBC_2.18.
5485 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5486 hidden libm prototypes.
5487 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5488 * math/Makefile (libm-calls): Add s_issignaling.
5489 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5490 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5491 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5492 declaration.
5493 * math/math.h [__USE_GNU] (issignaling): New macro.
5494 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5495 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5497 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5500 * manual/arith.texi (issignaling): New section.
5501 * manual/libm-err-tab.pl (@all_functions): Update comment.
5502 * math/gen-libm-test.pl (parse_args): Apply special handling for
5503 issignaling.
5504 * math/libm-test.inc (print_float, issignaling_test): New
5505 functions.
5506 (check_float_internal): Add issignaling checks.
5507 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5508 default definition.
5509 * sysdeps/powerpc/math-tests.h: New file.
5510 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5511 tests.
5512 * math/test-snan.c (TEST_FUNC): Likewise.
5513
55142013-03-30 David S. Miller <davem@davemloft.net>
5515
5516 * po/de.po: Update from translation team.
5517
55182013-03-30 Joseph Myers <joseph@codesourcery.com>
5519
5520 [BZ #10357]
5521 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5522 imaginary part less than 1.0 and real part less than 0.5
5523 specially.
5524 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5525 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5526 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5527 (cacos_test): Add more tests.
5528 (casin_test): Likewise.
5529 (casinh_test): Likewise.
5530 * sysdeps/i386/fpu/libm-test-ulps: Update.
5531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5532
55332013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5534
5535 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5536 ONE with its value.
5537
5538 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5539 (__pow_mp): Replace ONE and MONE with their values.
5540 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5542 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5543 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5544 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5545 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5546
5547 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5548
5549 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5550 (__pow_mp): Replace ZERO and MZERO with their values.
5551 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5552 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5553 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5555 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5556 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5557 (__sqr): Likewise.
5558
5559 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5560
5561 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5562
55632013-03-28 Roland McGrath <roland@hack.frob.com>
5564
5565 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5566 Declare with __attribute__ ((weak)).
5567 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5568 Call __call_tls_dtors only if it's not NULL.
5569
55702013-03-28 Roland McGrath <roland@hack.frob.com>
5571
5572 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5573 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5574 magic __ehdr_start linker symbol if it's defined.
5575 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5576 them up here if it was already done.
5577
5578 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5579 (_dl_aux_init): Use const in cast when setting it.
5580 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5581 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5582 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5583
5584 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5585 Declare them here.
5586 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5587 * csu/libc-tls.c: Nor here.
5588 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5589
5590 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5591 (__libc_message): Never call vsyslog.
5592
55932013-03-28 Alan Modra <amodra@gmail.com>
5594
5595 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5596 Define as empty.
5597 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5598 Likewise.
5599
56002013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5601
5602 [BZ #15214]
5603 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5604 underflow.
5605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5606
56072013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5608
5609 [BZ #15304]
5610 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5611 Don't add gid passed as argument.
5612
5613 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5614
56152013-03-27 Joseph Myers <joseph@codesourcery.com>
5616
5617 [BZ #15307]
5618 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5619 imaginary part between 1.0 and 1.5 and real part less than 0.5
5620 specially.
5621 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5622 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5623 * math/libm-test.inc (cacos_test): Add more tests.
5624 (casin_test): Likewise.
5625 (casinh_test): Likewise.
5626 * sysdeps/i386/fpu/libm-test-ulps: Update.
5627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5628
56292013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5630
5631 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5632 constants.
5633 (norm): Likewise.
5634 (denorm): Likewise.
5635 (__dbl_mp): Likewise.
5636 (add_magnitudes): Likewise.
5637 (sub_magnitudes): Likewise.
5638 (__add): Likewise.
5639 (__sub): Likewise.
5640 (__mul): Likewise.
5641 (__sqr): Likewise.
5642 (__inv): Likewise.
5643 (__dvd): Likewise.
5644
5645 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5646 commented code.
5647 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5648 (__dubcos): Likewise.
5649 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5650 (__ieee754_acos): Likewise.
5651 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5652 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5653 (__exp1): Likewise.
5654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5656 (log1): Likewise.
5657 (my_log2): Likewise.
5658 (checkint): Likewise.
5659 * sysdeps/ieee754/dbl-64/e_remainder.c
5660 (__ieee754_remainder): Likewise.
5661 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5663 (bsloww): Likewise.
5664 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5665
5666 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5667 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5668 MANTISSA_STORE_T to store computations on mantissa. Use
5669 macros for rounding and division.
5670 (denorm): Likewise.
5671 (__dbl_mp): Likewise.
5672 (add_magnitudes): Likewise.
5673 (sub_magnitudes): Likewise.
5674 (__mul): Likewise.
5675 (__sqr): Likewise.
5676 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5677 powers of two in terms of TWOPOW macro.
5678 (mp_no): Make type of mantissa as MANTISSA_T.
5679 [!RADIXI]: Define RADIXI.
5680 [!TWO52]: Define TWO52.
5681 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5682
56832013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684
5685 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5686 llroundl symbol when building for PPC32.
5687
56882013-03-24 Mark H Weaver <mhw@netris.org>
5689
5690 * manual/arith.texi (Normalization Functions): Fix prototypes for
5691 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5692
56932013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5694
5695 [BZ #13889]
5696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5697 high value to check if expl overflow.
5698 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5699 to check for underflow and overflow.
5700 * math/libm-test.inc: Add exp test.
5701
57022013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5703
5704 [BZ #11120]
5705 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5706 with NOT_IN_libc.
5707
57082013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5709
5710 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5711 symbol.
5712
57132013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5714
5715 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5716 wrap blocks consisting of several statements.
5717
5718 * sysdeps/generic/math-tests.h: New file.
5719 * sysdeps/i386/fpu/math-tests.h: Likewise.
5720 * math/test-snan.c: Include it.
5721 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5722
57232013-03-21 Joseph Myers <joseph@codesourcery.com>
5724
5725 [BZ #15285]
5726 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5727 (__ieee754_j0l): Do not improve calculations using cos of twice
5728 input for inputs above LDBL_MAX / 2.0L.
5729 (__ieee754_y0l): Likewise.
5730 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5731 (__ieee754_j1l): Do not improve calculations using cos of twice
5732 input for inputs above LDBL_MAX / 2.0L.
5733 (__ieee754_y1l): Likewise.
5734 * math/libm-test.inc (j0_test): Add another test.
5735 (j1_test): Likewise.
5736 (y0_test): Likewise.
5737 (y1_test): Likewise.
5738 * sysdeps/i386/fpu/libm-test-ulps: Update.
5739
57402013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5741
5742 * Rules ($(objpfx)bench-%.c): Include code from a C source
5743 file.
5744
57452013-03-21 Joseph Myers <joseph@codesourcery.com>
5746
5747 [BZ #15287]
5748 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5749 imaginary part 1.0 and real part less than 0.5 specially.
5750 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5751 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5752 * math/libm-test.inc (cacos_test): Add more tests.
5753 (casin_test): Likewise.
5754 (casinh_test): Likewise.
5755 * sysdeps/i386/fpu/libm-test-ulps: Update.
5756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5757
57582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5759
5760 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5761 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5762
57632013-03-20 Joseph Myers <joseph@codesourcery.com>
5764
5765 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5766 * config.make.in (config-cflags-sse4): Remove variable.
5767 (config-cflags-avx): Likewise.
5768 (config-cflags-sse2avx): Likewise.
5769 (config-cflags-novzeroupper): Likewise.
5770 (config-asflags-i686): Likewise.
5771 (have-mfma4): Likewise.
5772 (have-as-vis3): Likewise.
5773 (MIG): Likewise.
5774 * configure.in (MIG): Do not AC_SUBST.
5775 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5776 (libc_cv_cc_sse4): Do not AC_SUBST.
5777 (libc_cv_cc_avx): Likewise.
5778 (libc_cv_cc_sse2avx): Likewise.
5779 (libc_cv_cc_novzeroupper): Likewise.
5780 (libc_cv_cc_fma4): Likewise.
5781 (libc_cv_as_i686): Likewise.
5782 (libc_cv_sparc_as_vis3): Likewise.
5783 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5784 LIBC_CONFIG_VAR.
5785 (config-asflags-i686): Likewise.
5786 (config-cflags-avx): Likewise.
5787 (config-cflags-sse2avx): Likewise.
5788 (have-mfma4): Likewise.
5789 (config-cflags-novzeroupper): Likewise.
5790 * sysdeps/mach/configure.in (MIG): Likewise.
5791 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5792 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5793 LIBC_CONFIG_VAR.
5794 (config-cflags-avx): Likewise.
5795 (config-cflags-sse2avx): Likewise.
5796 (have-mfma4): Likewise.
5797 (config-cflags-novzeroupper): Likewise.
5798 * configure: Regenerated.
5799 * sysdeps/i386/configure: Likewise.
5800 * sysdeps/mach/configure: Likewise.
5801 * sysdeps/sparc/configure: Likewise.
5802 * sysdeps/x86_64/configure: Likewise.
5803
58042013-03-20 Roland McGrath <roland@hack.frob.com>
5805
5806 [BZ #14812]
5807 * locale/programs/localedef.c (options): Put N_ translation marker
5808 on argument names, not just descriptions.
5809
58102013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5811
5812 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5813
58142013-03-20 Ondřej Bílka <neleai@seznam.cz>
5815
5816 [BZ #14176]
5817 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5818
58192013-03-19 Roland McGrath <roland@hack.frob.com>
5820
5821 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5822 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5823 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5824 [!BEFORE_ABORT] (before_abort): New function.
5825 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5826 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5827 (writev_for_fatal): New function.
5828 (WRITEV_FOR_FATAL): New macro; call that.
5829 (backtrace_and_maps): New function.
5830 (BEFORE_ABORT): New macro; call that.
5831 (struct str_list): Type removed.
5832 (__libc_message, __libc_fatal): Functions removed.
5833 Include <sysdeps/posix/libc_fatal.c> instead.
5834
58352013-03-19 Joseph Myers <joseph@codesourcery.com>
5836
5837 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5838 constants.
5839 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5840 double constants.
5841
58422013-03-19 Andreas Schwab <schwab@suse.de>
5843
5844 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5845 * sysdeps/gnu/configure: Regenerate.
5846
5847 * configure.in: Substitute libc_cv_rtlddir.
5848 * configure: Regenerate.
5849 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5850 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5851 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5852 * elf/Makefile (install-others, CFLAGS-interp.c)
5853 (ldso_install, common-ldd-rewrite): Likewise.
5854 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5855 $(inst_slibdir)/$(rtld-installed-name).
5856 * scripts/rellns-sh: Add -p option.
5857 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5858 for source.
5859
58602013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5861
5862 * manual/nptl.texi: Renamed to ...
5863 * manual/threads.texi: ... this.
5864 * manual/Makefile (chapters): Update.
5865
58662013-03-18 Roland McGrath <roland@hack.frob.com>
5867
5868 [BZ #14812]
5869 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5870 on argument names, not just descriptions.
5871 * malloc/memusagestat.c (options): Likewise.
5872 * nss/getent.c (options): Likewise.
5873
58742013-03-18 Benno Schulenberg <bensberg@justemail.net>
5875
5876 [BZ #14812]
5877 * iconv/iconv_prog.c (options): Put N_ translation marker
5878 on argument names, not just descriptions.
5879 * iconv/iconvconfig.c (options): Likewise.
5880
58812013-03-18 Ondrej Bilka <neleai@seznam.cz>
5882
5883 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5884 implementation which is faster on all x86_64 architectures.
5885 Tested on AMD, Intel Nehalem, SNB, IVB.
5886 * sysdeps/x86_64/strnlen.S: Likewise.
5887
5888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5889 Remove all multiarch strlen and strnlen versions.
5890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5891 Remove strlen and strnlen related parts.
5892
5893 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5894 Inline strlen part.
5895 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5896
5897 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5898 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5899 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5900 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5901 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5902 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5903
59042013-03-17 Carlos O'Donell <carlos@redhat.com>
5905
5906 * manual/memory.texi (Malloc Tunable Parameters):
5907 Sort parameters alphabetically. Add comments for missing entries.
5908
59092013-03-17 David S. Miller <davem@davemloft.net>
5910
5911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5912
59132013-03-16 Joseph Myers <joseph@codesourcery.com>
5914
5915 [BZ #15283]
5916 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5917 for arguments at most half maximum finite value.
5918 * math/libm-test.inc (j0_test): Add more tests.
5919 (j1_test): Likewise.
5920 (y0_test): Likewise.
5921 (y1_test): Likewise.
5922 * sysdeps/i386/fpu/libm-test-ulps: Update.
5923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5924
5925 [BZ #14155]
5926 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5927 1 / x and functions P and Q for arguments above 0x1p256L.
5928 (__ieee754_y0l): Likewise.
5929 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5930 (__ieee754_y1l): Likewise.
5931 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5932 (j1_test): Likewise.
5933 (y0_test): Likewise.
5934 (y1_test): Likewise.
5935
59362013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5937
5938 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5939 variable.
5940
59412013-03-15 Roland McGrath <roland@hack.frob.com>
5942
5943 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5944 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5945 zero since it's initialized to EXEC_PAGESIZE.
5946
5947 * sysdeps/unix/sysv/linux/ldsodefs.h
5948 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5949 * sysdeps/generic/ldsodefs.h: ... here.
5950
59512013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5952
5953 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5954
5955 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5956 math/test-snan.c.
5957 * math/test-snan.c: Renamed from
5958 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5959 * math/Makefile (tests): Add test-snan.
5960 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5961 test-powerpc-snan.
5962
5963 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5964 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5965 functions.
5966 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5967 __builtin_nan family of functions.
5968 * math/libm-test.inc (initialize): Initialize qnan_value with
5969 __builtin_nan family of functions.
5970 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5971 Remove variables.
5972 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5973 Remove functions.
5974 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5975 storage class. Initialize qNaN_var and sNaN_var with
5976 __builtin_nan and __builtin_nans families of functions,
5977 respectively.
5978
5979 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5980 (sqrt_test): Remove duplicate test with qNaN input.
5981 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5982 (round_test, signbit_test, significand_test): Note missing +/-Inf
5983 as well as qNaN tests.
5984
5985 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5986 qNaN_var. Fix a few strings, too.
5987 * math/libm-test.inc (nan_value): Rename to qnan_value.
5988 * math/gen-libm-test.pl (%beautify): Adjust to that.
5989 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5990 * math/test-misc.c (main): Likewise.
5991 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5992 to __qnan_bytes, and __qnan_union, respectively.
5993 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5994 Likewise.
5995 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5996 and lqnanval, respectively.
5997 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5998 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5999 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6000 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6001
6002 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6003 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6004 doubles.
6005
6006 * math/test-misc.c (main): Fix copy'n'pastos.
6007 * misc/tst-efgcvt.c (special): Likewise.
6008
6009 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6010 Remove declarations.
6011
60122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6013
6014 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6015 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6016 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6017 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6018
60192013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020
6021 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6022 macro to return vdso values correctly in IFUNC implementations.
6023 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6024 Optimization by using IFUNC.
6025
60262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6027 Richard Henderson <rth@redhat.com>
6028 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6029
6030 * Makefile.in (bench): New target.
6031 * NEWS: Mention the benchmark framework.
6032 * Rules (bench): Likewise.
6033 (binaries-bench): Generate binaries for functions to
6034 benchmark.
6035 * benchtests/Makefile: New makefile for benchmark tests.
6036 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6037 programs.
6038 * benchtests/exp-inputs: New input file for EXP function.
6039 * benchtests/pow-inputs: New input file for POW function.
6040 * scripts/bench.pl: New script to generate source files for
6041 benchmark programs.
6042
60432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6044
6045 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6046 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6047 computations on mantissa. Use macros for rounding and
6048 division.
6049 (denorm): Likewise.
6050 (__dbl_mp): Likewise.
6051 (add_magnitudes): Likewise.
6052 (sub_magnitudes): Likewise.
6053 (__mul): Likewise.
6054 (__sqr): Likewise.
6055 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6056 powers of two in terms of TWOPOW macro.
6057 (mp_no): Make type of mantissa as MANTISSA_T.
6058 [!RADIXI]: Define RADIXI.
6059 [!TWO52]: Define TWO52.
6060 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6061
6062 * manual/nptl.texi (cindex): Modify threads to pthreads.
6063
60642013-03-15 Joseph Myers <joseph@codesourcery.com>
6065
6066 * sysdeps/x86_64/preconfigure: Regenerated.
6067
60682013-03-14 Joseph Myers <joseph@codesourcery.com>
6069
6070 [BZ #14155]
6071 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6072 0x1p28 and above.
6073 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6074 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6075 0x1p28 and above.
6076 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6077 * math/libm-test.inc (j0_test): Do not allow one spurious
6078 underflow exception.
6079 (y1_test): Likewise.
6080
60812013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6082
6083 * manual/Makefile (chapters): Add nptl.
6084 * manual/debug.texi (Debugging Support): Add link to Threads
6085 chapter.
6086 * manual/nptl.texi: New file.
6087
6088 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6089
60902013-03-14 Petr Baudis <pasky@ucw.cz>
6091
6092 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6093 for non-NULL pointer before the memory validity test. Pointed
6094 out by Holger Brunck <holger.brunck@keymile.com>.
6095
60962013-03-13 Andreas Schwab <schwab@suse.de>
6097
6098 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6099 instead of .os.
6100
61012013-03-13 Joseph Myers <joseph@codesourcery.com>
6102
6103 * timezone/zic.c: Update from tzcode 2013b.
6104
61052013-03-12 Carlos O'Donell <carlos@redhat.com>
6106
6107 * manual/install.texi (Configuring and compiling):
6108 Mention i686 and i586.
6109 * INSTALL: Regenerate.
6110
61112013-03-12 Roland McGrath <roland@hack.frob.com>
6112
6113 * sysdeps/init_array/elf-init.c: New file.
6114 * csu/elf-init.c
6115 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6116 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6117
6118 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6119 __gmon_start__ as global, but as static with a .preinit_array pointer.
6120 * sysdeps/init_array/gmon-start.c: New file. Use that.
6121 * sysdeps/init_array/crti.S: New file, empty except for comments.
6122 * sysdeps/init_array/crtn.S: Likewise.
6123
61242013-03-11 Ondřej Bílka <neleai@seznam.cz>
6125
6126 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6127 definining bcopy.
6128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6129 Remove Prefer_SSE_for_memop.
6130 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6131 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6132 HAS_PREFER_SSE_FOR_MEMOP.
6133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6134 memset-x86-64.
6135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6136 Remove bzero, memset ifunc support.
6137 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6138 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6139 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6140 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6141
61422013-03-11 Andreas Schwab <schwab@suse.de>
6143
6144 [BZ #15234]
6145 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6146 by SHLIB_COMPAT.
6147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6148 (GLIBC_2.16): Remove pthread_atfork.
6149
61502013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6151
6152 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6153 (ptestcases.h): Likewise.
6154
61552013-03-08 Roland McGrath <roland@hack.frob.com>
6156
6157 * Makeconfig ($(common-objpfx)config.status): Depend on
6158 sysdeps/*/preconfigure{,.in} too.
6159
61602013-03-08 Joseph Myers <joseph@codesourcery.com>
6161
6162 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6163 (__free_hook): Use void * instead of __malloc_ptr_t.
6164 (__malloc_hook): Likewise.
6165 (__realloc_hook): Likewise.
6166 (__memalign_hook): Likewise.
6167 (__after_morecore_hook): Likewise.
6168 * malloc/arena.c (save_malloc_hook): Likewise.
6169 (save_free_hook): Likewise.
6170 * malloc/hooks.c (malloc_hook_ini): Likewise.
6171 (realloc_hook_ini): Likewise.
6172 (memalign_hook_ini): Likewise.
6173 * malloc/malloc.c (malloc_hook_ini): Likewise.
6174 (realloc_hook_ini): Likewise.
6175 (memalign_hook_ini): Likewise.
6176 (__free_hook): Likewise.
6177 (__malloc_hook): Likewise.
6178 (__realloc_hook): Likewise.
6179 (__memalign_hook): Likewise.
6180 (__libc_malloc): Likewise.
6181 (__libc_free): Likewise.
6182 (__libc_realloc): Likewise.
6183 (__libc_memalign): Likewise.
6184 (__libc_valloc): Likewise.
6185 (__libc_pvalloc): Likewise.
6186 (__libc_calloc): Likewise.
6187 (__posix_memalign): Likewise.
6188 * malloc/morecore.c (__sbrk): Likewise.
6189 (__default_morecore): Likewise.
6190
6191 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6192
6193 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6194 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6195 __malloc_ptrdiff_t.
6196
6197 * malloc/malloc.h (__malloc_size_t): Remove macro.
6198 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6199 __malloc_size_t.
6200 (old_memalign_hook): Likewise.
6201 (old_realloc_hook): Likewise.
6202 (struct hdr): Likewise.
6203 (flood): Likewise.
6204 (mallochook): Likewise.
6205 (memalignhook): Likewise.
6206 (reallochook): Likewise.
6207 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6208 (tr_old_realloc_hook): Likewise.
6209 (tr_old_memalign_hook): Likewise.
6210 (tr_mallochook): Likewise.
6211 (tr_reallochook): Likewise.
6212 (tr_memalignhook): Likewise.
6213
62142013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215
6216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6217 default_ldbl_pack and using as default implementation.
6218 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6219 implementation.
6220 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6221 redundant definition.
6222 (ldbl_insert_mantissa): Likewise.
6223 (ldbl_canonicalize): Likewise.
6224 (ldbl_nearbyint): Likewise.
6225 (ldbl_pack): Rename to ldbl_pack_ppc.
6226 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6227 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6228 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6229
62302013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6231
6232 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6233 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6234 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6235 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6237 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6238 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6239 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6240
62412013-03-07 Andreas Jaeger <aj@suse.de>
6242
6243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6244 bits/mman-linux.h.
6245
62462013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6247
6248 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6249 Include mpa.h and declare __MPEXP.
6250 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6251 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6252 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6253 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6254 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6255 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6256 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6257
6258 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6259 (__slowpow): Use long double EXPL and LOGL functions to
6260 compute POW.
6261 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6262 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6263 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6264 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6265 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6266 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6267
6268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6269 intermediate variable to calculate exponent.
6270 (__sqr): Likewise.
6271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6272 Likewise.
6273 (__sqr): Likewise.
6274
6275 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6276 [!NO__SQR]: Define __sqr.
6277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6278 and NO__SQR. Remove all code except __mul and __sqr. Include
6279 sysdeps/ieee754/dbl-64/mpa.c.
6280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6281
6282 [BZ #12723]
6283 * posix/Makefile (tests): Add tst-pathconf.
6284 * posix/tst-pathconf.c: New test case.
6285 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6286 _PC_PIPE_BUF.
6287 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6288
62892013-03-06 Patsy Franklin <pfrankli@redhat.com>
6290
6291 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6292
62932013-03-06 Andreas Jaeger <aj@suse.de>
6294
6295 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6296 definition via __MAP_ANONYMOUS.
6297
6298 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6299 it's not part of Linux headers.
6300
6301 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6302 (MAP_HUGE_MASK): Define.
6303
6304 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6305 Define.
6306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6308 Define.
6309 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6310 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6311 Define.
6312 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6313 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6314 Define.
6315 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6316
6317 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6318 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6319 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6320 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6321 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6322 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6323
6324 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6325 Handle f2fs.
6326
6327 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6328 Handle f2fs and efivarfs.
6329
6330 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6331 f2fs.
6332
6333 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6334 (EFIVARFS_MAGIC): Add.
6335 (F2FS_LINK_MAX): Add.
6336
63372013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6338
6339 * stdio-common/vfprintf.c: Replace __builtin_expect with
6340 __glibc_unlikely.
6341
63422013-03-06 Joseph Myers <joseph@codesourcery.com>
6343
6344 [BZ #13550]
6345 * sysdeps/generic/bp-sym.h: Remove file.
6346 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6347 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6348 <bp-sym.h> and <bp-asm.h>.
6349 (__longjmp): Don't use BP_SYM.
6350 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6351 and <bp-asm.h>.
6352 (memcpy): Don't use BP_SYM.
6353 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6354 <bp-sym.h> and <bp-asm.h>.
6355 (memcpy): Don't use BP_SYM.
6356 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6357 <bp-asm.h>.
6358 (memcpy): Don't use BP_SYM.
6359 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6360 <bp-asm.h>.
6361 (memset): Don't use BP_SYM.
6362 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6363 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6364 (__bzero): Don't use BP_SYM.
6365 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6366 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6367 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6368 <bp-sym.h> and <bp-asm.h>.
6369 (memcmp): Don't use BP_SYM. Remove comment about bounded
6370 pointers.
6371 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6372 <bp-sym.h> and <bp-asm.h>.
6373 (memcpy): Don't use BP_SYM.
6374 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6375 <bp-sym.h> and <bp-asm.h>.
6376 (memset): Don't use BP_SYM.
6377 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6378 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6379 (__bzero): Don't use BP_SYM.
6380 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6381 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6382 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6383 <bp-sym.h> and <bp-asm.h>.
6384 (strncmp): Don't use BP_SYM. Remove comment about bounded
6385 pointers.
6386 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6387 <bp-sym.h> and <bp-asm.h>.
6388 (memcpy): Don't use BP_SYM.
6389 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6390 <bp-sym.h> and <bp-asm.h>.
6391 (memset): Don't use BP_SYM.
6392 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6393 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6394 (__bzero): Don't use BP_SYM.
6395 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6396 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6397 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6398 <bp-sym.h> and <bp-asm.h>.
6399 (__memchr): Don't use BP_SYM.
6400 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6401 <bp-sym.h> and <bp-asm.h>.
6402 (memcmp): Don't use BP_SYM. Remove comment about bounded
6403 pointers.
6404 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6405 <bp-sym.h> and <bp-asm.h>.
6406 (memcpy): Don't use BP_SYM.
6407 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6408 <bp-sym.h> and <bp-asm.h>.
6409 (__mempcpy): Don't use BP_SYM.
6410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6411 <bp-sym.h> and <bp-asm.h>.
6412 (__memrchr): Don't use BP_SYM.
6413 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6414 <bp-sym.h> and <bp-asm.h>.
6415 (memset): Don't use BP_SYM.
6416 (__bzero): Likewise.
6417 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6418 <bp-sym.h> and <bp-asm.h>.
6419 (__rawmemchr): Don't use BP_SYM.
6420 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6421 <bp-sym.h> and <bp-asm.h>.
6422 (__STRCMP): Don't use BP_SYM.
6423 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6424 <bp-sym.h> and <bp-asm.h>.
6425 (strchr): Don't use BP_SYM.
6426 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6427 <bp-sym.h> and <bp-asm.h>.
6428 (__strchrnul): Don't use BP_SYM.
6429 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6430 <bp-sym.h> and <bp-asm.h>.
6431 (strlen): Don't use BP_SYM.
6432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6433 <bp-sym.h> and <bp-asm.h>.
6434 (strncmp): Don't use BP_SYM. Remove comment about bounded
6435 pointers.
6436 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6437 <bp-sym.h> and <bp-asm.h>.
6438 (__strnlen): Don't use BP_SYM.
6439 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6440 <bp-sym.h> and <bp-asm.h>.
6441 (__GI__setjmp): Don't use BP_SYM.
6442 (_setjmp): Likewise.
6443 (__sigsetjmp): Likewise.
6444 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6445 (L(start_addresses)): Don't use BP_SYM.
6446 (_start): Likewise.
6447 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6448 <bp-asm.h>.
6449 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6450 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6451 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6452 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6453 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6454 <bp-asm.h>.
6455 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6456 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6457 about bounded pointers.
6458 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6459 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6460 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6461 <bp-asm.h>.
6462 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6463 about bounded pointers. Remove GKM FIXME comments.
6464 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6465 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6466 <bp-asm.h>.
6467 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6468 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6469 Remove GKM FIXME comments.
6470 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6471 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6472 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6473 <bp-asm.h>.
6474 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6475 about bounded pointers. Remove GKM FIXME comment.
6476 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6477 and <bp-asm.h>.
6478 (strncmp): Don't use BP_SYM. Remove comment about bounded
6479 pointers.
6480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6481 <bp-sym.h> and <bp-asm.h>.
6482 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6484 <bp-sym.h> and <bp-asm.h>.
6485 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6486 comment.
6487
64882013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6489
6490 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6491 call free(NULL).
6492
64932013-03-05 David S. Miller <davem@davemloft.net>
6494
6495 * po/es.po: Update from translation team.
6496
64972013-03-05 Andreas Jaeger <aj@suse.de>
6498
6499 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6500 <bits/mman-linux.h>.
6501 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6502 is fine.
6503 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6504 <bits/mman-linux.h> to end of file.
6505 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6506 is fine.
6507 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6508 <bits/mman-linux.h> to end of file.
6509 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6510 is fine.
6511 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6512 <bits/mman-linux.h> to end of file.
6513
6514 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6515 (MCL_CURRENT, MCL_FUTURE): Define here.
6516
65172013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6518
6519 [BZ #15232]
6520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6521 attribute_hidden.
6522 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6523
65242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6525
6526 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6527 fourth parameter needed for rt_sigprocmask syscall.
6528 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6529 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6530 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6531 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6532 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6533 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6534
65352013-03-04 Joseph Myers <joseph@codesourcery.com>
6536
6537 [BZ #13550]
6538 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6539 comment about bounded pointers.
6540 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6541 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6542
65432013-03-04 Andreas Jaeger <aj@suse.de>
6544
6545 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6546 common definitions.
6547
6548 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6549 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6550 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6551 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6552 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6553 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6554
65552013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6556
6557 [BZ #15055]
6558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6559 __ieee754_sqrl instead of __sqrl.
6560
65612013-03-01 Joseph Myers <joseph@codesourcery.com>
6562
6563 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6564 * sysdeps/powerpc/fpu_control.h: ... here.
6565 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6566 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6567 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6568 * sysdeps/powerpc/bits/mathinline.h: ... here.
6569
65702013-03-01 Roland McGrath <roland@hack.frob.com>
6571
6572 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6573 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6574 to just [NEED_DL_SYSINFO_DSO].
6575 * elf/dl-support.c: Likewise.
6576 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6577 * elf/rtld.c (dl_main): Likewise.
6578 * elf/setup-vdso.h (setup_vdso): Likewise.
6579 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6580 * sysdeps/unix/sysv/linux/dl-sysdep.c
6581 (_dl_discover_osversion): Likewise.
6582
65832013-03-01 Carlos O'Donell <carlos@redhat.com>
6584
6585 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6586 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6587
65882013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6589
6590 * NEWS: Mention libm performance improvements and non-x86 PI
6591 futex support.
6592
6593 * csu/libc-start.c (__pthread_initialize_minimal): Change
6594 function arguments.
6595 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6596
65972013-02-28 Joseph Myers <joseph@codesourcery.com>
6598
6599 [BZ #13550]
6600 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6601 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6602 <bp-sym.h> and <bp-asm.h>.
6603 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6604 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6605 and <bp-asm.h>.
6606 (memcpy): Don't use BP_SYM.
6607 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6608 <bp-asm.h>.
6609 (__mpn_add_n): Don't use BP_SYM.
6610 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6611 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6612 and <bp-asm.h>.
6613 (__mpn_addmul_1): Don't use BP_SYM.
6614 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6615 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6616 <bp-sym.h>.
6617 (_setjmp): Don't use BP_SYM.
6618 (__novmx_setjmp): Likewise.
6619 (__GI__setjmp): Likewise.
6620 (__vmx_setjmp): Likewise.
6621 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6622 <bp-sym.h>.
6623 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6624 (__bzero): Don't use BP_SYM.
6625 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6626 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6627 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6628 <bp-sym.h> and <bp-asm.h>.
6629 (memcpy): Don't use BP_SYM.
6630 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6631 <bp-sym.h> and <bp-asm.h>.
6632 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6633 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6634 <bp-sym.h> and <bp-asm.h>.
6635 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6636 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6637 <bp-asm.h>.
6638 (__mpn_lshift): Don't use BP_SYM.
6639 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6640 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6641 <bp-asm.h>.
6642 (memset): Don't use BP_SYM.
6643 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6644 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6645 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6646 <bp-asm.h>.
6647 (__mpn_mul_1): Don't use BP_SYM.
6648 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6649 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6650 <bp-sym.h> and <bp-asm.h>.
6651 (memcmp): Don't use BP_SYM.
6652 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6653 <bp-sym.h> and <bp-asm.h>.
6654 (memcpy): Don't use BP_SYM.
6655 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6656 <bp-sym.h> and <bp-asm.h>.
6657 (memset): Don't use BP_SYM.
6658 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6659 <bp-sym.h> and <bp-asm.h>.
6660 (strncmp): Don't use BP_SYM.
6661 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6662 <bp-sym.h> and <bp-asm.h>.
6663 (memcpy): Don't use BP_SYM.
6664 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6665 <bp-sym.h> and <bp-asm.h>.
6666 (memset): Don't use BP_SYM.
6667 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6668 <bp-sym.h> and <bp-asm.h>.
6669 (__memchr): Don't use BP_SYM.
6670 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6671 <bp-sym.h> and <bp-asm.h>.
6672 (memcmp): Don't use BP_SYM.
6673 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6674 <bp-sym.h> and <bp-asm.h>.
6675 (memcpy): Don't use BP_SYM.
6676 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6677 <bp-sym.h> and <bp-asm.h>.
6678 (__mempcpy): Don't use BP_SYM.
6679 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6680 <bp-sym.h> and <bp-asm.h>.
6681 (__memrchr): Don't use BP_SYM.
6682 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6683 <bp-sym.h> and <bp-asm.h>.
6684 (memset): Don't use BP_SYM.
6685 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6686 <bp-sym.h> and <bp-asm.h>.
6687 (__rawmemchr): Don't use BP_SYM.
6688 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6689 <bp-sym.h> and <bp-asm.h>.
6690 (__STRCMP): Don't use BP_SYM.
6691 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6692 <bp-sym.h> and <bp-asm.h>.
6693 (strchr): Don't use BP_SYM.
6694 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6695 <bp-sym.h> and <bp-asm.h>.
6696 (__strchrnul): Don't use BP_SYM.
6697 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6698 <bp-sym.h> and <bp-asm.h>.
6699 (strlen): Don't use BP_SYM.
6700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6701 <bp-sym.h> and <bp-asm.h>.
6702 (strncmp): Don't use BP_SYM.
6703 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6704 <bp-sym.h> and <bp-asm.h>.
6705 (__strnlen): Don't use BP_SYM.
6706 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6707 <bp-asm.h>.
6708 (__mpn_rshift): Don't use BP_SYM.
6709 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6710 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6711 <bp-sym.h> and <bp-asm.h>.
6712 (__sigsetjmp): Don't use BP_SYM.
6713 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6714 (L(start_addresses)): Don't use BP_SYM.
6715 (_start): Likewise.
6716 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6717 <bp-asm.h>.
6718 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6719 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6721 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6722 <bp-asm.h>.
6723 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6724 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6725 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6726 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6727 <bp-asm.h>.
6728 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6729 comments.
6730 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6731 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6732 <bp-asm.h>.
6733 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6734 FIXME comments.
6735 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6736 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6737 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6738 <bp-asm.h>.
6739 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6740 comment.
6741 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6742 and <bp-asm.h>.
6743 (strncmp): Don't use BP_SYM,
6744 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6745 <bp-asm.h>.
6746 (__mpn_sub_n): Don't use BP_SYM.
6747 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6748 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6749 and <bp-asm.h>.
6750 (__mpn_submul_1): Don't use BP_SYM.
6751 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6753 <bp-sym.h> and <bp-asm.h>.
6754 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6756 <bp-sym.h> and <bp-asm.h>.
6757 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6758 comment.
6759
67602013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6761
6762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6763 Use ZK to minimize writes to Z.
6764 (sub_magnitudes): Simplify code a bit.
6765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6766 Use ZK to minimize writes to Z.
6767 (sub_magnitudes): Simplify code a bit.
6768
67692013-02-27 Roland McGrath <roland@hack.frob.com>
6770
6771 * csu/gmon-start.c: Add special exception to license text.
6772
67732013-02-27 Richard Henderson <rth@redhat.com>
6774
6775 * scripts/config.guess: Update from config.git.
6776 * scripts/config.sub: Likewise.
6777
67782013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6779
6780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6781
6782 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6783
6784 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6785
6786 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6787
6788 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6789
67902013-02-26 Roland McGrath <roland@hack.frob.com>
6791
6792 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6793 [$(build-shared = yes].
6794
67952013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6796
6797 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6798 (__mul): Reduce iterations for calculating mantissa.
6799
6800 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6801 MPTWO.
6802 (__mpranred): Likewise.
6803
6804 [BZ #15160]
6805 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6806 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6807
68082013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6809
6810 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6811 Define __attribute__.
6812
68132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6814
6815 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6816 unused.
6817 * posix/regex_internal.h (__attribute): Remove.
6818 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6819 (re_string_context_at): Likewise.
6820 (bitset_not): Use __attribute__ and mark function as possibly
6821 unused.
6822 (bitset_merge): Likewise.
6823 (bitset_mask): Likewise.
6824 (re_string_char_size_at): Likewise.
6825 (re_string_wchar_at): Likewise.
6826 (re_string_elem_size_at): Likewise.
6827
68282013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6829
6830 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6831 code.
6832 (cc32): Likewise.
6833
6834 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6835 (__acr): Likewise.
6836 (__cpy): Likewise.
6837 (norm): Likewise.
6838 (denorm): Likewise.
6839 (__dbl_mp): Likewise.
6840 (add_magnitudes): Likewise.
6841 (sub_magnitudes): Likewise.
6842 (__mul): Likewise.
6843 (__inv): Likewise.
6844
6845 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6846 style.
6847
6848 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6849 style.
6850
6851 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6852 code.
6853
6854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6855 up changes with default code.
6856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6857 Likewise.
6858
68592013-02-24 Allan McRae <allan@archlinux.org>
6860
6861 * manual/socket.texi (The Internet Namespace): Order menu items
6862 to match that in the file.
6863
6864 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6865 node listing of the info page menu.
6866
68672013-02-21 Joseph Myers <joseph@codesourcery.com>
6868
6869 [BZ #13550]
6870 * sysdeps/i386/bp-asm.h: Remove file.
6871 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6872 (PARMS): Do not use macros from bp-asm.h.
6873 (S1): Likewise.
6874 (S2): Likewise.
6875 (SIZE): Likewise.
6876 (__mpn_add_n): Do not use BP_SYM
6877 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6878 "bp-asm.h".
6879 (PARMS): Do not use macros from bp-asm.h.
6880 (S1): Likewise.
6881 (SIZE): Likewise.
6882 (__mpn_addmul_1): Do not use BP_SYM
6883 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6884 "bp-asm.h".
6885 (PARMS): Do not use macros from bp-asm.h.
6886 (SIGMSK): Likewise.
6887 (_setjmp): Likewise. Do not use BP_SYM.
6888 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6889 "bp-asm.h".
6890 (PARMS): Do not use macros from bp-asm.h.
6891 (SIGMSK): Likewise.
6892 (setjmp): Likewise. Do not use BP_SYM.
6893 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6894 "bp-asm.h".
6895 (PARMS): Do not use macros from bp-asm.h.
6896 (__frexp): Do not use BP_SYM.
6897 (frexp): Likewise.
6898 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6899 "bp-asm.h".
6900 (PARMS): Do not use macros from bp-asm.h.
6901 (__frexpf): Do not use BP_SYM.
6902 (frexpf): Likewise.
6903 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6904 "bp-asm.h".
6905 (PARMS): Do not use macros from bp-asm.h.
6906 (__frexpl): Do not use BP_SYM.
6907 (frexpl): Likewise.
6908 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6909 "bp-asm.h".
6910 (PARMS): Do not use macros from bp-asm.h.
6911 (__remquo): Do not use BP_SYM.
6912 (remquo): Likewise.
6913 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6914 "bp-asm.h".
6915 (PARMS): Do not use macros from bp-asm.h.
6916 (__remquof): Do not use BP_SYM.
6917 (remquof): Likewise.
6918 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6919 "bp-asm.h".
6920 (PARMS): Do not use macros from bp-asm.h.
6921 (__remquol): Do not use BP_SYM.
6922 (remquol): Likewise.
6923 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6924 "bp-asm.h".
6925 (PARMS): Do not use macros from bp-asm.h.
6926 (DEST): Likewise.
6927 (SRC): Likewise.
6928 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6929 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6930 "bp-asm.h".
6931 (PARMS): Do not use macros from bp-asm.h.
6932 (strlen): Do not use BP_SYM.
6933 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6934 "bp-asm.h".
6935 (PARMS): Do not use macros from bp-asm.h.
6936 (S1): Likewise.
6937 (S2): Likewise.
6938 (SIZE): Likewise.
6939 (__mpn_add_n): Do not use BP_SYM.
6940 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6941 "bp-asm.h".
6942 (PARMS): Do not use macros from bp-asm.h.
6943 (S1): Likewise.
6944 (SIZE): Likewise.
6945 (__mpn_addmul_1): Do not use BP_SYM.
6946 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6947 weak_alias.
6948 (bzero): Likewise.
6949 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6950 "bp-asm.h".
6951 (PARMS): Do not use macros from bp-asm.h.
6952 (S): Likewise.
6953 (SIZE): Likewise.
6954 (__mpn_lshift): Do not use BP_SYM.
6955 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6956 "bp-asm.h".
6957 (PARMS): Do not use macros from bp-asm.h.
6958 (DEST): Likewise.
6959 (SRC): Likewise.
6960 (LEN): Likewise.
6961 (memcpy): Likewise. Do not use BP_SYM.
6962 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6963 libc_hidden_def and weak_alias.
6964 (mempcpy): Do not use BP_SYM in weak_alias.
6965 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6966 "bp-asm.h".
6967 (PARMS): Do not use macros from bp-asm.h.
6968 (DEST): Likewise.
6969 (LEN): Likewise.
6970 [!BZERO_P] (CHR): Likewise.
6971 (memset): Likewise. Do not use BP_SYM.
6972 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6973 "bp-asm.h".
6974 (PARMS): Do not use macros from bp-asm.h.
6975 (S1): Likewise.
6976 (SIZE): Likewise.
6977 (__mpn_mul_1): Do not use BP_SYM.
6978 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6979 "bp-asm.h".
6980 (PARMS): Do not use macros from bp-asm.h.
6981 (S): Likewise.
6982 (SIZE): Likewise.
6983 (__mpn_rshift): Do not use BP_SYM.
6984 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6985 "bp-asm.h".
6986 (PARMS): Do not use macros from bp-asm.h.
6987 (STR): Likewise.
6988 (CHR): Likewise.
6989 (strchr): Likewise. Do not use BP_SYM.
6990 (index): Do not use BP_SYM in weak_alias.
6991 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6992 "bp-asm.h".
6993 (PARMS): Do not use macros from bp-asm.h.
6994 (DEST): Likewise.
6995 (SRC): Likewise.
6996 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6997 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6998 "bp-asm.h".
6999 (PARMS): Do not use macros from bp-asm.h.
7000 (strlen): Do not use BP_SYM.
7001 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7002 "bp-asm.h".
7003 (PARMS): Do not use macros from bp-asm.h.
7004 (S1): Likewise.
7005 (S2): Likewise.
7006 (SIZE): Likewise.
7007 (__mpn_sub_n): Do not use BP_SYM.
7008 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7009 "bp-asm.h".
7010 (PARMS): Do not use macros from bp-asm.h.
7011 (S1): Likewise.
7012 (SIZE): Likewise.
7013 (__mpn_submul_1): Do not use BP_SYM.
7014 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7015 "bp-asm.h".
7016 (PARMS): Do not use macros from bp-asm.h.
7017 (S1): Likewise.
7018 (S2): Likewise.
7019 (SIZE): Likewise.
7020 (__mpn_add_n): Do not use BP_SYM.
7021 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7022 weak_alias.
7023 (bzero): Likewise.
7024 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7025 "bp-asm.h".
7026 (PARMS): Do not use macros from bp-asm.h.
7027 (BLK2): Likewise.
7028 (LEN): Likewise.
7029 (memcmp): Do not use BP_SYM.
7030 (bcmp): Do not use BP_SYM in weak_alias.
7031 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7032 "bp-asm.h".
7033 (PARMS): Do not use macros from bp-asm.h.
7034 (DEST): Likewise.
7035 (SRC): Likewise.
7036 (LEN): Likewise.
7037 (memcpy): Likewise. Do not use BP_SYM.
7038 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7039 "bp-asm.h".
7040 (PARMS): Do not use macros from bp-asm.h.
7041 (DEST): Likewise.
7042 (SRC): Likewise.
7043 (LEN): Likewise.
7044 (memmove): Likewise. Do not use BP_SYM.
7045 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7046 "bp-asm.h".
7047 (PARMS): Do not use macros from bp-asm.h.
7048 (DEST): Likewise.
7049 (SRC): Likewise.
7050 (LEN): Likewise.
7051 (__mempcpy): Likewise. Do not use BP_SYM.
7052 (mempcpy): Do not use BP_SYM in weak_alias.
7053 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7054 "bp-asm.h".
7055 (PARMS): Do not use macros from bp-asm.h.
7056 (DEST): Likewise.
7057 (LEN): Likewise.
7058 [!BZERO_P] (CHR): Likewise.
7059 (memset): Likewise. Do not use BP_SYM.
7060 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7061 "bp-asm.h".
7062 (PARMS): Do not use macros from bp-asm.h.
7063 (STR2): Likewise.
7064 (strcmp): Do not use BP_SYM.
7065 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7066 "bp-asm.h".
7067 (PARMS): Do not use macros from bp-asm.h.
7068 (STR): Likewise.
7069 (DELIM): Likewise.
7070 [USE_AS_STRTOK_R] (SAVE): Likewise.
7071 (FUNCTION): Likewise. Do not use BP_SYM.
7072 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7073 aliases.
7074 (strtok_r): Likewise.
7075 (__GI___strtok_r): Likewise.
7076 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7077 (PARMS): Do not use macros from bp-asm.h.
7078 (S): Likewise.
7079 (SIZE): Likewise.
7080 (__mpn_lshift): Do not use BP_SYM.
7081 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7082 (PARMS): Do not use macros from bp-asm.h.
7083 (STR): Likewise.
7084 (CHR): Likewise.
7085 (__memchr): Do not use BP_SYM.
7086 (memchr): Do not use BP_SYM in weak_alias.
7087 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7088 (PARMS): Do not use macros from bp-asm.h.
7089 (BLK2): Likewise.
7090 (LEN): Likewise.
7091 (memcmp): Do not use BP_SYM.
7092 (bcmp): Do not use BP_SYM in weak_alias.
7093 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7094 (PARMS): Do not use macros from bp-asm.h.
7095 (S1): Likewise.
7096 (SIZE): Likewise.
7097 (__mpn_mul_1): Do not use BP_SYM.
7098 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7099 "bp-asm.h".
7100 (PARMS): Do not use macros from bp-asm.h.
7101 (STR): Likewise.
7102 (CHR): Likewise.
7103 (__rawmemchr): Do not use BP_SYM.
7104 (rawmemchr): Do not use BP_SYM in weak_alias.
7105 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7106 (PARMS): Do not use macros from bp-asm.h.
7107 (S): Likewise.
7108 (SIZE): Likewise.
7109 (__mpn_rshift): Do not use BP_SYM.
7110 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7111 (PARMS): Do not use macros from bp-asm.h.
7112 (SIGMSK): Likewise.
7113 (__sigsetjmp): Likewise. Do not use BP_SYM.
7114 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7115 (_start): Do not use BP_SYM.
7116 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7117 (PARMS): Do not use macros from bp-asm.h.
7118 (DEST): Likewise.
7119 (SRC): Likewise.
7120 (__stpcpy): Likewise. Do not use BP_SYM.
7121 (stpcpy): Do not use BP_SYM in weak_alias.
7122 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7123 "bp-asm.h".
7124 (PARMS): Do not use macros from bp-asm.h.
7125 (DEST): Likewise.
7126 (SRC): Likewise.
7127 (LEN): Likewise.
7128 (__stpncpy): Likewise. Do not use BP_SYM.
7129 (stpncpy): Do not use BP_SYM in weak_alias.
7130 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7131 (PARMS): Do not use macros from bp-asm.h.
7132 (STR): Likewise.
7133 (CHR): Likewise.
7134 (strchr): Likewise. Do not use BP_SYM.
7135 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7136 "bp-asm.h".
7137 (PARMS): Do not use macros from bp-asm.h.
7138 (STR): Likewise.
7139 (CHR): Likewise.
7140 (__strchrnul): Likewise. Do not use BP_SYM.
7141 (strchrnul): Do not use BP_SYM in weak_alias.
7142 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7143 "bp-asm.h".
7144 (PARMS): Do not use macros from bp-asm.h.
7145 (STOP): Likewise.
7146 (strcspn): Do not use BP_SYM.
7147 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7148 "bp-asm.h".
7149 (PARMS): Do not use macros from bp-asm.h.
7150 (STR): Likewise.
7151 (STOP): Likewise.
7152 (strpbrk): Likewise. Do not use BP_SYM.
7153 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7154 "bp-asm.h".
7155 (PARMS): Do not use macros from bp-asm.h.
7156 (STR): Likewise.
7157 (CHR): Likewise.
7158 (strrchr): Likewise. Do not use BP_SYM.
7159 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7160 (PARMS): Do not use macros from bp-asm.h.
7161 (SKIP): Likewise.
7162 (strspn): Do not use BP_SYM.
7163 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7164 (PARMS): Do not use macros from bp-asm.h.
7165 (STR): Likewise.
7166 (DELIM): Likewise.
7167 (SAVE): Likewise.
7168 (FUNCTION): Likewise. Do not use BP_SYM.
7169 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7170 aliases.
7171 (strtok_r): Likewise.
7172 (__GI___strtok_r): Likewise.
7173 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7174 (PARMS): Do not use macros from bp-asm.h.
7175 (S1): Likewise.
7176 (S2): Likewise.
7177 (SIZE): Likewise.
7178 (__mpn_sub_n): Do not use BP_SYM.
7179 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7180 "bp-asm.h".
7181 (PARMS): Do not use macros from bp-asm.h.
7182 (S1): Likewise.
7183 (SIZE): Likewise.
7184 (__mpn_submul_1): Do not use BP_SYM.
7185 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7186 <bp-sym.h>.
7187 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7188 and <bp-asm.h>.
7189 (PARMS): Do not use macros from bp-asm.h.
7190 (FLAGS): Likewise.
7191 (PTID): Likewise.
7192 (TLS): Likewise.
7193 (CTID): Likewise.
7194 (__clone): Do not use BP_SYM.
7195 (clone): Do not use BP_SYM in weak_alias.
7196 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7197 and <bp-asm.h>.
7198 (PARMS): Do not use macros from bp-asm.h.
7199 (LEN): Likewise.
7200 (__mmap64): Do not use BP_SYM.
7201 (mmap64): Do not use BP_SYM in weak_alias.
7202 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7203 <bp-sym.h> and <bp-asm.h>.
7204 (PARMS): Do not use macros from bp-asm.h.
7205 (__posix_fadvise64_l64): Do not use BP_SYM.
7206 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7207 (PARMS): Do not use macros from bp-asm.h.
7208 (NSOPS): Likewise.
7209 (semtimedop): Do not use BP_SYM.
7210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7211 and <bp-asm.h>.
7212
72132013-02-21 Allan McRae <allan@archlinux.org>
7214
7215 * manual/message.texi (Charset conversion in gettext):
7216 Move @end statement to beginning of line.
7217
72182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7219
7220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7221 static.
7222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7223 Likewise.
7224
7225 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7226 (denorm): Likewise.
7227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7229
72302013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7231
7232 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7233 tail-call to the resolved function if pltexit isn't needed.
7234
72352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7236
7237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7238 or Y being zero as being unlikely.
7239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7240 Likewise.
7241
72422013-02-20 Carlos O'Donell <carlos@redhat.com>
7243
7244 * manual/nss.texi (System Databases and Name Service Switch):
7245 Remove frobnicate @pxref.
7246
72472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7248
7249 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7250 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7251
72522013-02-20 Petr Machata <pmachata@redhat.com>
7253
7254 * elf/elf.h (R_ARM_TARGET1): New macro.
7255 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7256 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7257 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7258 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7259 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7260 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7261 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7262 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7263 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7264 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7265 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7266 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7267 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7268 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7269 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7270 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7271 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7272 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7273 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7274 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7275 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7276 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7277 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7278 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7279 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7280 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7281 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7282 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7283 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7284 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7285 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7286 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7287 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7288 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7289 (R_ARM_THM_GOT_BREL12): Likewise.
7290 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7291 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7292 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7293 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7294 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7295 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7296 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7297 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7298 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7299
73002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7301
7302 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7303 __attribute_used__ to __attribute__ ((unused)).
7304
73052013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
7307 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7308 powerpc mpa.c.
7309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7310 comment formatting.
7311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7312
73132013-02-19 Joseph Myers <joseph@codesourcery.com>
7314
7315 [BZ #13550]
7316 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7317 Remove macro.
7318 (ENTER): Remove both macro definitions.
7319 (LEAVE): Likewise.
7320 (CHECK_BOUNDS_LOW): Likewise.
7321 (CHECK_BOUNDS_HIGH): Likewise.
7322 (CHECK_BOUNDS_BOTH): Likewise.
7323 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7324 (RETURN_BOUNDED_POINTER): Likewise.
7325 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7326 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7327 (POP_ERRNO_LOCATION_RETURN): Likewise.
7328 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7329 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7330 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7331 macros.
7332 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7333 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7334 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7335 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7336 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7337 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7338 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7339 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7340 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7341 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7342 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7343 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7344 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7345 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7346 removed macros.
7347 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7348 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7349 macros.
7350 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7351 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7352 * sysdeps/i386/i586/memset.S (memset): Likewise.
7353 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7354 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7355 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7356 macros.
7357 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7358 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7359 Change uses of L(2) to L(out).
7360 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7361 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7362 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7363 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7364 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7365 removed macros.
7366 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7367 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7368 macros.
7369 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7370 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7371 (RETURN): Do not use macro LEAVE.
7372 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7373 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7374 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7375 * sysdeps/i386/i686/memset.S (memset): Likewise.
7376 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7377 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7378 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7379 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7380 Likewise.
7381 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7382 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7383 L(1_2) and L(1_3) into L(1).
7384 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7385 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7386 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7387 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7388 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7389 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7390 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7391 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7392 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7393 macros.
7394 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7395 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7396 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7397 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7398 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7399 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7400 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7401 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7402 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7403 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7404 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7405 * sysdeps/i386/strspn.S (strspn): Likewise.
7406 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7407 conditional code.
7408 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7409 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7410 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7411 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7412 L(1_3) into L(1_1).
7413 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7414 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7415 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7416 macros.
7417 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7418
74192013-02-19 Jakub Jelinek <jakub@redhat.com>
7420
7421 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7422 macro.
7423
74242013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7425
7426 * math/atest-exp.c (exp_mpn): Remove ROUND.
7427 * math/atest-exp2.c (exp_mpn): Likewise.
7428 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7429
7430 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7431 * stdlib/tst-tls-atexit-lib.c: Likewise.
7432 * stdlib/tst-tls-atexit.c: Likewise.
7433
74342013-02-18 Mike Frysinger <vapier@gentoo.org>
7435
7436 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7437 and __attribute_alloc_size__.
7438
74392013-02-18 Mike Frysinger <vapier@gentoo.org>
7440
7441 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7442 __attribute_alloc_size__.
7443 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7444 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7445
74462013-02-18 Mike Frysinger <vapier@gentoo.org>
7447
7448 * include/programs/xmalloc.h: New file.
7449 * catgets/gencat.c: Include it.
7450 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7451 * elf/pldd.c: Likewise.
7452 * iconv/iconv_charmap.c: Likewise.
7453 * iconv/iconvconfig.c: Likewise.
7454 * iconv/strtab.c: Likewise.
7455 * locale/programs/locale.c: Likewise.
7456 * locale/programs/localedef.h: Likewise.
7457 * locale/programs/simple-hash.c: Likewise.
7458 * nscd/nscd.h: Likewise.
7459 * nss/makedb.c: Likewise.
7460 * sysdeps/generic/ldconfig.h: Likewise.
7461
74622013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7463
7464 * Versions.def: Add GLIBC_2.18.
7465 * include/link.h (struct link_map): New member l_tls_dtor_count.
7466 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7467 (__call_tls_dtors): Likewise.
7468 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7469 __cxa_thread_atexit_impl.
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7471 Likewise.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7473 Likewise.
7474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7475 Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7477 Likewise.
7478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7480 Likewise.
7481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7482 Likewise.
7483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7485 Likewise.
7486 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7487 (tests): Add test case tst-tls-atexit.
7488 (modules-names): Add shared library for tst-tls-atexit.
7489 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7490 (GLIBC_PRIVATE): Add __call_tls_dtors.
7491 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7492 for libstdc++.
7493 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7494 * stdlib/tst-tls-atexit.c: New test case.
7495 * stdlib/tst-tls-atexit-lib.c: New test case.
7496
7497 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7498
7499 * elf/Versions (ld): Add _dl_find_dso_for_object.
7500 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7501 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7502 (dl_open_worker): Use _dl_find_dso_for_object.
7503 * elf/dl-sym.c (do_sym): Likewise.
7504 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7505
75062013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7507
7508 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7509 Syntactic changes only.
7510 (_dl_runtime_profile): Do a tail-call to the resolved function.
7511
75122013-02-17 Joseph Myers <joseph@codesourcery.com>
7513
7514 [BZ #13550]
7515 * sysdeps/x86_64/bp-asm.h: Remove file.
7516 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7517 <bp-sym.h> and <bp-asm.h>.
7518 (__clone): Do not use BP_SYM.
7519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7520 <bp-sym.h> and <bp-asm.h>.
7521 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7522 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7523 "bp-asm.h".
7524 (_setjmp): Do not use BP_SYM.
7525 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7526 "bp-asm.h".
7527 (setjmp): Do not use BP_SYM.
7528 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7529 libc_hidden_def.
7530 (mempcpy): Do not use BP_SYM in weak_alias.
7531 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7532 "bp-asm.h".
7533 (strchr): Do not use BP_SYM.
7534 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7535 "bp-asm.h".
7536 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7537 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7538 (_start): Do not use BP_SYM.
7539 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7540 "bp-asm.h".
7541 (strcat): Do not use BP_SYM.
7542 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7543 "bp-asm.h".
7544 (STRCMP): Do not use BP_SYM.
7545 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7546 "bp-asm.h".
7547 (STRCPY): Do not use BP_SYM.
7548 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7549 "bp-asm.h".
7550 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7551 "bp-asm.h".
7552 (FUNCTION): Do not use BP_SYM.
7553 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7554 weak_alias.
7555 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7556
75572013-02-17 Andreas Jaeger <aj@suse.de>
7558
7559 * time/Versions: Sort entries.
7560 * string/Versions: Likewise.
7561 * resolv/Versions: Likewise.
7562 * posix/Versions: Likewise.
7563 * iconv/Versions: Likewise.
7564 * elf/Versions: Likewise.
7565 * wcsmbs/Versions: Likewise.
7566
75672013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7568
7569 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7570 loop termination condition.
7571
7572 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7573 variable to calculate EZ.
7574 (__sqr): Likewise.
7575
7576 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7577 the lower precision input.
7578
75792013-02-15 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #13550]
7582 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7583 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7584 (run-via-rtld-prefix): Do not handle %-bp tests.
7585 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7586 (all-object-suffixes): Remove .ob.
7587 (bppfx): Remove variable.
7588 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7589 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7590 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7591 [$(build-bounded) = yes] (libtype.ob): Likewise.
7592 * Makerules (elide-routines.ob): Remove variable.
7593 (do-tests-clean): Do not handle *-bp.out.
7594 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7595 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7596 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7597 (tests): Do not include $(tests-bp.out).
7598 (xtests): Do not include $(xtests-bp.out).
7599 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7600 [$(build-bounded) = yes] ($(addprefix
7601 $(objpfx),$(binaries-bounded))): Remove rule.
7602 ($(objpfx)%-bp.out): Remove rule.
7603 * config.make.in (build-bounded): Remove variable.
7604 * crypt/Makefile [$(build-bounded) = yes]
7605 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7606 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7607 append to variable.
7608 [$(build-bounded) = yes] (install-lib): Likewise.
7609 [$(build-bounded) = yes] (generated): Likewise.
7610 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7611 Remove rule.
7612 * intl/Makefile [$(build-bounded) = yes]
7613 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7614 * math/Makefile [$(build-bounded) = yes]
7615 ($(tests:%=$(objpfx)%-bp): Likewise.
7616 * misc/Makefile [$(build-bounded) = yes]
7617 ($(objpfx)tst-tsearch-bp): Likewise.
7618 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7619 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7620 Remove dependency.
7621 * string/Makefile (o-objects.ob): Remove variable.
7622 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7623 (CFLAGS-.ob): Remove variable.
7624 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7625 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7626 both definitions of variable.
7627 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7628 (ASFLAGS-.ob): Remove variable.
7629
76302013-02-14 Joseph Myers <joseph@codesourcery.com>
7631
7632 [BZ #13550]
7633 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7634 Remove __BOUNDED_POINTERS__ from condition.
7635 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7636 * string/bits/string2.h [!__NO_STRING_INLINES &&
7637 !__BOUNDED_POINTERS__]: Likewise.
7638 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7639 Likewise.
7640 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7641 Remove conditional code.
7642 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7643 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7644 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7645 condition.
7646
7647 [BZ #13550]
7648 * csu/libc-start.c: Do not include <bp-sym.h>.
7649 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7650 * elf/dl-open.c: Do not include <bp-sym.h>.
7651 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7652 * math/fegetenv.c: Do not include <bp-sym.h>.
7653 (fegetenv): Do not use BP_SYM in versioned symbols.
7654 * nptl/sysdeps/pthread/bits/libc-lockP.h
7655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7656 <bp-sym.h>.
7657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7658 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7660 (__pthread_mutex_destroy): Likewise.
7661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7662 (__pthread_mutex_lock): Likewise.
7663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7664 (__pthread_mutex_trylock): Likewise.
7665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7666 (__pthread_mutex_unlock): Likewise.
7667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7668 (__pthread_mutexattr_init): Likewise.
7669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7670 (__pthread_mutexattr_destroy): Likewise.
7671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7672 (__pthread_mutexattr_settype): Likewise.
7673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7674 (__pthread_rwlock_init): Likewise.
7675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7676 (__pthread_rwlock_destroy): Likewise.
7677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7678 (__pthread_rwlock_rdlock): Likewise.
7679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7680 (__pthread_rwlock_tryrdlock): Likewise.
7681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7682 (__pthread_rwlock_wrlock): Likewise.
7683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7684 (__pthread_rwlock_trywrlock): Likewise.
7685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7686 (__pthread_rwlock_unlock): Likewise.
7687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7688 (__pthread_key_create): Likewise.
7689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7690 (__pthread_setspecific): Likewise.
7691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7692 (__pthread_getspecific): Likewise.
7693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7694 Likewise.
7695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7696 (_pthread_cleanup_push_defer): Likewise.
7697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7698 (_pthread_cleanup_pop_restore): Likewise.
7699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7700 (pthread_setcancelstate): Likewise.
7701 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7702 <bp-sym.h>.
7703 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7704 (memchr): Do not use BP_SYM in weak_alias.
7705 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7706 (fegetenv): Do not use BP_SYM in versioned symbols.
7707 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7708 (fesetenv): Do not use BP_SYM in versioned symbols.
7709 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7710 (feupdateenv): Do not use BP_SYM in versioned symbols.
7711 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7712 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7713 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7714 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7715 (open64): Do not use BP_SYM in weak_alias.
7716 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7717 (fegetenv): Do not use BP_SYM in versioned symbols.
7718 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7719 (fesetenv): Do not use BP_SYM in versioned symbols.
7720 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7721 (feupdateenv): Do not use BP_SYM in versioned symbols.
7722 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7723 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7724 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7725 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7726 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7727 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7728 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7729 <bp-sym.h>.
7730 (__libc_start_main): Do not use BP_SYM.
7731
77322013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7733
7734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7735 redundant return line.
7736 (norm): Likewise.
7737 (denorm): Likewise.
7738 (dbl_mp): Likewise.
7739 (sub_magnitudes): Likewise.
7740 (__add): Likewise.
7741 (__sub): Likewise.
7742 (__mul): Likewise.
7743 (__inv): Likewise.
7744 (__dvd): Likewise.
7745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7746 (norm): Likewise.
7747 (denorm): Likewise.
7748 (dbl_mp): Likewise.
7749 (sub_magnitudes): Likewise.
7750 (__add): Likewise.
7751 (__sub): Likewise.
7752 (__mul): Likewise.
7753 (__inv): Likewise.
7754 (__dvd): Likewise.
7755
7756 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7757 instead of __mul.
7758 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7759 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7760 (cc32): Likewise.
7761
7762 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7763 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7765 of __mul for squares.
7766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7767 function
7768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7769 Likewise.
7770 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7772
77732013-02-13 Joseph Myers <joseph@codesourcery.com>
7774
7775 [BZ #13550]
7776 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7777 code.
7778 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7779 prototype or function definition. Rename ubp_* variables and
7780 parameters. Remove argv definitions conditional on
7781 [__BOUNDED_POINTERS__].
7782 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7783 * elf/dl-runtime.c (_dl_fixup): Likewise.
7784 * include/set-hooks.h (RUN_HOOK): Likewise.
7785 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7786 definition.
7787 * string/strcpy.c (strcpy): Do not use __unbounded.
7788 * sysdeps/generic/frame.h (struct layout): Likewise.
7789 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7790 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7791 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7792 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7793 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7794 (__backtrace): Likewise.
7795 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7796 use __ptrvalue.
7797 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7798 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7799 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7800 Likewise.
7801 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7802 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7803 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7804 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7805 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7806 Do not use __unbounded.
7807 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7808 Rename __unboundedrlimits parameter to rlimits in prototype.
7809 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7810 Do not use __unbounded.
7811 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7812 not use __ptrvalue.
7813 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7814 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7815 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7816 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7817 __ptrvalue or __unbounded.
7818 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7819 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7820 use __unbounded.
7821 (__new_msgctl): Do not use __ptrvalue.
7822 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7823 __unbounded.
7824 (__libc_msgrcv): Do not use __ptrvalue.
7825 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7826 startup_info): Do not use __unbounded.
7827 (__libc_start_main): Likewise. Rename ubp_* variables and
7828 parameters. Remove argv definitions conditional on
7829 [__BOUNDED_POINTERS__].
7830 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7831 __ptrvalue.
7832 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7833 use __unbounded.
7834 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7835 or __ptrvalue.
7836 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7837 use __unbounded.
7838 (__new_shmctl): Do not use __ptrvalue.
7839 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7840 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7841 Likewise.
7842 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7843 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7844 (__libc_sigaction): Likewise.
7845 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7847 Likewise.
7848 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7849
78502013-02-13 Ondřej Bílka <neleai@seznam.cz>
7851
7852 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7853
7854 * string/mempcpy.c: Implement by calling memcpy.
7855
78562013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7859
7860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7861 evaluation.
7862
7863 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7864 values in the mantissa.
7865
7866 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7867 minimize writes to Z.
7868 (sub_magnitudes): Simplify code a bit.
7869
78702013-02-12 Roland McGrath <roland@hack.frob.com>
7871
7872 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7873 from the message. The linker prefixes all warnings with that already.
7874
78752013-02-12 Andreas Schwab <schwab@suse.de>
7876
7877 [BZ #15078]
7878 * posix/regexec.c (extend_buffers): Add parameter min_len.
7879 (check_matching): Pass minimum needed length.
7880 (clean_state_log_if_needed): Likewise.
7881 (get_subexp): Likewise.
7882 * posix/Makefile (tests): Add bug-regex34.
7883 (bug-regex34-ENV): Define.
7884 * posix/bug-regex34.c: New file.
7885
7886 [BZ #11561]
7887 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7888 elements compare against the byte sequence of it, not its name.
7889 * posix/Makefile (tests): Add bug-regex35.
7890 (bug-regex35-ENV): Define.
7891 * posix/bug-regex35.c: New file.
7892
78932013-02-11 Tom de Vries <tom@codesourcery.com>
7894
7895 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7896 comment.
7897 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7898 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7899 (CHECK_EOL): Add undef.
7900
79012013-02-11 Ondřej Bílka <neleai@seznam.cz>
7902
7903 * bits/stdlib-bsearch.h: New file.
7904 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7905 * stdlib/stdlib.h: Likewise.
7906
79072013-02-11 Roland McGrath <roland@hack.frob.com>
7908
7909 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7910 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7911 declaration.
7912 * manual/search.texi (Array Search Function): Add missing const in
7913 lfind prototype.
7914 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7915 declaration to use rlim_t.
7916 (Basic Scheduling Functions): Remove erroneous const from
7917 sched_getparam prototype. Remove erroneous * from
7918 sched_get_priority_max and sched_get_priority_min prototypes.
7919 (Resource Usage): Fix summary @comment on vtimes to refer to
7920 sys/vtimes.h rather than vtimes.h.
7921 Add missing *s in vtimes prototype.
7922 (Limits on Resources): Fix ulimit prototype to return long int.
7923 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7924 prototypes to use long int rather than double.
7925 (BSD Random): Fix initstate and setstate to use char *, not void *.
7926 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7927 prototype to make second argument 'struct aiocb64 *const[]'.
7928 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7929 (Status of AIO Operations): Remove erroneous const in aio_return and
7930 aio_return64 prototypes.
7931 (Synchronizing I/O): Fix sync prototype to return void.
7932 * manual/startup.texi (Suboptions): Remove an erroneous const in
7933 getsubopt prototype.
7934 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7935 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7936 use size_t rather than int.
7937 (Scanning All Users): Likewise for getpwent_r.
7938 (Setting Groups): Add missing const to setgroups prototype.
7939 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7940 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7941 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7942 'const void *' rather than 'const char *'.
7943 (Host Address Functions): Likewise for inet_ntop.
7944 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7945 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7946 ssize_t for return value.
7947 (Sending Data): Likewise for send, sendto, sendmsg.
7948 (Socket Option Functions): Add a missing const in setsockopt prototype.
7949 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7950 use wchar_t for the argument.
7951 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7952 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7953 take no arguments.
7954 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7955 double/float/long double for second argument.
7956 Fix return types of significand, significandf, significandl.
7957 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7958 argument in fchmod prototype.
7959 (File Owner): Use uid_t and gid_t in fchown prototype.
7960 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7961 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7962 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7963 use 'const struct dirent **' as argument types to CMP function pointer
7964 argument.
7965 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7966 (File Times): Fix summary magic @comment for struct utimbuf and utime
7967 to refer to utime.h, not time.h.
7968 * manual/string.texi (Argz Functions): Add missing const in
7969 argz_extract and argz_next prototypes.
7970 (Finding Tokens in a String): Likewise for basename.
7971 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7972 (Copying and Concatenation): Fix typo in wmemmove prototype.
7973 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7974 (Signal Stack): Remove erroneous const in sigstack prototype.
7975 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7976 prototype.
7977 (Simple Calendar Time): Likewise for stime.
7978 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7979 prototype.
7980 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7981 say sys/sysctl.h instead.
7982 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7983 and vsyslog prototypes.
7984
79852013-02-11 Tom de Vries <tom@codesourcery.com>
7986
7987 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7988 Remove.
7989
79902013-02-11 Roland McGrath <roland@hack.frob.com>
7991
7992 * misc/sys/mman.h: Fix typo in mremap comment.
7993
79942013-02-08 Roland McGrath <roland@hack.frob.com>
7995
7996 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7997 the '\0' terminator.
7998
79992013-02-08 Joseph Myers <joseph@codesourcery.com>
8000
8001 [BZ #13550]
8002 * debug/segfault.c: Don't include <bp-checks.h>.
8003 * sysdeps/generic/bp-checks.h: Remove file.
8004 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8005 (__GETDENTS): Don't use CHECK_N.
8006 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8007 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8008 (__getgroups): Don't use CHECK_N.
8009 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8010 (setgroups): Don't use CHECK_N.
8011 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8012 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8013 (__libc_msgrcv): Don't use CHECK_N.
8014 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8015 (__libc_msgsnd): Don't use CHECK_N.
8016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8017 <bp-checks.h>.
8018 (__libc_pread): Don't use CHECK_N.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8020 include <bp-checks.h>.
8021 (__libc_pread64): Don't use CHECK_N.
8022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8023 include <bp-checks.h>.
8024 (__libc_pwrite): Don't use CHECK_N.
8025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8026 include <bp-checks.h>.
8027 (__libc_pwrite64): Don't use CHECK_N.
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8029 <bp-checks.h>.
8030 (__libc_pread): Don't use CHECK_N.
8031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8032 include <bp-checks.h>.
8033 (__libc_pread64): Don't use CHECK_N.
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8035 include <bp-checks.h>.
8036 (__libc_pwrite): Don't use CHECK_N.
8037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8038 include <bp-checks.h>.
8039 (__libc_pwrite64): Don't use CHECK_N.
8040 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8041 (do_pread): Don't use CHECK_N.
8042 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8043 (do_pread64): Don't use CHECK_N.
8044 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8045 (do_pwrite): Don't use CHECK_N.
8046 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8047 (do_pwrite64): Don't use CHECK_N.
8048 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8049 (__libc_readv): Don't use CHECK_N.
8050 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8051 (semop): Don't use CHECK_N.
8052 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8053 <bp-checks.h>.
8054 (semtimedop): Don't use CHECK_N.
8055 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8056 (__libc_pread): Don't use CHECK_N.
8057 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8058 <bp-checks.h>.
8059 (__libc_pread64): Don't use CHECK_N.
8060 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8061 <bp-checks.h>.
8062 (__libc_pwrite): Don't use CHECK_N.
8063 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8064 <bp-checks.h>.
8065 (__libc_pwrite64): Don't use CHECK_N.
8066 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8067 <bp-checks.h>.
8068 (__libc_msgrcv): Don't use CHECK_N.
8069 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8070 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8071 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8072 (__libc_writev): Don't use CHECK_N.
8073
80742013-02-08 Roland McGrath <roland@hack.frob.com>
8075
8076 * string/strcpy.c: Removed unused variable.
8077
8078 * Makeconfig (+sysdep-includes): Define with := rather than =.
8079 Use an existing include/ subdir of each sysdeps dir before it.
8080
80812013-02-08 Carlos O'Donell <carlos@redhat.com>
8082
8083 * nscd/connection.c (register_traced_file): Comment function.
8084 [HAVE_INOTIFY] (union __inev): Define.
8085 [HAVE_INOTIFY] (inotify_check_files): New function.
8086 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8087 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8088 clear_db_cache.
8089 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8090
80912013-02-08 Carlos O'Donell <carlos@redhat.com>
8092
8093 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8094 loaded if not already and that a failure is permanent.
8095
80962013-02-08 Carlos O'Donell <carlos@redhat.com>
8097
8098 [BZ #15006]
8099 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8100 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8101
81022013-02-08 Joseph Myers <joseph@codesourcery.com>
8103
8104 [BZ #13550]
8105 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8106 (CHECK_1_NULL_OK): Likewise.
8107 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8108 (__fxstat): Do not use CHECK_1.
8109 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8110 <bp-checks.h>.
8111 (___fxstat64): Do not use CHECK_1.
8112 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8113 <bp-checks.h>.
8114 (__fxstatat): Do not use CHECK_1.
8115 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8116 <bp-checks.h>.
8117 (__fxstatat64): Do not use CHECK_1.
8118 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8119 <bp-checks.h>.
8120 (__fxstat): Do not use CHECK_1.
8121 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8122 <bp-checks.h>.
8123 (__fxstatat): Do not use CHECK_1.
8124 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8125 <bp-checks.h>.
8126 (__getresgid): Do not use CHECK_1.
8127 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8128 <bp-checks.h>.
8129 (__getresuid): Do not use CHECK_1.
8130 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8131 <bp-checks.h>.
8132 (__lxstat): Do not use CHECK_1.
8133 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8134 <bp-checks.h>.
8135 (__old_msgctl): Do not use CHECK_1.
8136 (__new_msgctl): Likewise.
8137 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8138 <bp-checks.h>.
8139 (__new_setrlimit): Do not use CHECK_1.
8140 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8141 <bp-checks.h>.
8142 (__old_shmctl): Do not use CHECK_1.
8143 (__new_shmctl): Likewise.
8144 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8145 <bp-checks.h>.
8146 (__xstat): Do not use CHECK_1.
8147 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8148 (__lxstat): Do not use CHECK_1.
8149 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8150 <bp-checks.h>.
8151 (___lxstat64): Do not use CHECK_1.
8152 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8153 (__old_msgctl): Do not use CHECK_1.
8154 (__new_msgctl): Likewise.
8155 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8156 <bp-checks.h>.
8157 (__gettimeofday): Do not use CHECK_1.
8158 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8159 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8160 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8161 <bp-checks.h>.
8162 (__gettimeofday): Do not use CHECK_1.
8163 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8164 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8165 (__new_shmctl): Do not use CHECK_1.
8166 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8167 <bp-checks.h>.
8168 (do_sigtimedwait): Do not use CHECK_1.
8169 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8170 <bp-checks.h>.
8171 (do_sigwaitinfo): Do not use CHECK_1.
8172 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8173 <bp-checks.h>.
8174 (msgctl): Do not use CHECK_1.
8175 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8176 <bp-checks.h>.
8177 (shmctl): Do not use CHECK_1.
8178 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8179 (ustat): Do not use CHECK_1.
8180 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8181 <bp-checks.h>.
8182 (__fxstat): Do not use CHECK_1.
8183 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8184 <bp-checks.h>.
8185 (__fxstatat): Do not use CHECK_1.
8186 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8187 <bp-checks.h>.
8188 (__lxstat): Do not use CHECK_1.
8189 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8190 <bp-checks.h>.
8191 (__xstat): Do not use CHECK_1.
8192 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8193 (__xstat): Do not use CHECK_1.
8194 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8195 (___xstat64): Do not use CHECK_1.
8196
8197 [BZ #13550]
8198 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8199 definitions.
8200 (CHECK_BOUNDS_HIGH): Likewise.
8201 * string/strcpy.c: Do not include <bp-checks.h>.
8202 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8203
82042013-02-07 Roland McGrath <roland@hack.frob.com>
8205
8206 * nscd/nscd-client.h (__nscd_drop_map_ref):
8207 Add __attribute__ ((unused)).
8208 * nis/nss-nisplus.h (niserr2nss): Likewise.
8209
8210 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8211 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8212
8213 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8214 Remove inline keyword.
8215 * include/rounding-mode.h (round_away): Likewise.
8216 * libio/wfileops.c (adjust_wide_data): Likewise.
8217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8218 (__m128i_strloadu_tolower): Likewise.
8219 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8220 (__m128i_strloadu_tolower): Likewise.
8221 * time/mktime.c (ydhms_diff): Likewise.
8222 * locale/elem-hash.h (elem_hash): Likewise.
8223 * locale/setlocale.c (setdata): Likewise.
8224 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8225 (re_string_wchar_at): Likewise.
8226 (bitset_not, bitset_merge, bitset_mask): Likewise.
8227 [!(__GNUC__ > 3)] (inline): Remove macro.
8228 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8229 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8230 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8231 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8232 * string/memcmp.c (memcmp_bytes): Likewise.
8233 * locale/programs/locarchive.c (compute_hashval): Likewise.
8234 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8235 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8236 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8237 * nss/getent.c (print_rpc, print_protocols): Likewise.
8238 (print_passwd, print_group, print_aliases): Likewise.
8239 * nis/nss-nisplus.h (niserr2nss): Likewise.
8240 * nscd/connections.c (restart_p): Likewise.
8241 Change return type to bool.
8242
82432013-02-05 Roland McGrath <roland@hack.frob.com>
8244
8245 * Makeconfig (all-Depend-files): Add existing
8246 $(sorted-subdirs:=/Depend) files.
8247 (all-subdirs): Remove nss.
8248 * sysdeps/unix/inet/Subdirs: Add it here instead.
8249 * hesiod/Depend: New file.
8250
8251 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8252 instead of calling alloca.
8253
8254 * io/lseek.c (__lseek): Rename to __libc_lseek.
8255 Define __lseek as an alias.
8256
8257 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8258
82592013-02-04 Carlos O'Donell <carlos@redhat.com>
8260
8261 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8262 else clause and remove check for non-standard endianness.
8263
82642013-02-04 David S. Miller <davem@davemloft.net>
8265
8266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8267
82682013-02-04 Joseph Myers <joseph@codesourcery.com>
8269
8270 [BZ #13550]
8271 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8272 (__ubp_memchr): Remove prototype.
8273 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8274 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8275 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8276 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8277 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8278 Remove alias.
8279 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8280 (__ubp_memchr): Likewise.
8281 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8282 (__ubp_memchr): Likewise.
8283 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8284 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8285 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8286 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8287 CHECK_STRING.
8288 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8289 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8290 (__getcwd): Do not use CHECK_STRING.
8291 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8292 <bp-checks.h>.
8293 (__real_chown): Do not use CHECK_STRING.
8294 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8295 <bp-checks.h>.
8296 (fchownat): Do not use CHECK_STRING.
8297 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8298 CHECK_STRING.
8299 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8300 <bp-checks.h>.
8301 (__lchown): Do not use CHECK_STRING.
8302 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8303 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8304 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8305 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8307 include <bp-checks.h>.
8308 (truncate64): Do not use CHECK_STRING.
8309 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8310 <bp-checks.h>.
8311 (__real_chown): Do not use CHECK_STRING.
8312 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8313 <bp-checks.h>.
8314 (__lchown): Do not use CHECK_STRING.
8315 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8316 <bp-checks.h>.
8317 (__chown): Do not use CHECK_STRING.
8318 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8319 <bp-checks.h>.
8320 (truncate64): Do not use CHECK_STRING.
8321 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8322 Likewise.
8323 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8324 (__xmknod): Do not use CHECK_STRING.
8325 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8326 <bp-checks.h>.
8327 (__xmknodat): Do not use CHECK_STRING.
8328 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8329 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8330
83312013-02-04 Andreas Schwab <schwab@suse.de>
8332
8333 [BZ #14142]
8334 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8335 * include/netdb.h: Likewise for h_errno.
8336 * elf/tst-stackguard1.c: Include <tls.h>.
8337
83382013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8339
8340 * elf/link.h (struct link_map): Extend the l_addr comment.
8341 * include/link.h (struct link_map): Likewise.
8342
83432013-02-01 Joseph Myers <joseph@codesourcery.com>
8344
8345 [BZ #13550]
8346 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8347 (BOUNDED_1): Remove macro.
8348 * debug/backtrace.c: Don't include <bp-checks.h>.
8349 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8350 (__backtrace): Likewise.
8351 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8352 <bp-checks.h>.
8353 (__backtrace): Don't use BOUNDED_1.
8354 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8355 <bp-checks.h>.
8356 (__backtrace): Don't use BOUNDED_1.
8357 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8358 (__backtrace): Don't use BOUNDED_1.
8359 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8360 (shmat): Don't use BOUNDED_N.
8361
83622013-01-31 Joseph Myers <joseph@codesourcery.com>
8363
8364 [BZ #13550]
8365 * sysdeps/generic/bp-start.h: Remove file.
8366 * csu/libc-start.c: Don't include <bp-start.h>.
8367 (LIBC_START_MAIN): Set up __environ directly instead of using
8368 INIT_ARGV_and_ENVIRON.
8369 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8370 <bp-start.h>.
8371
8372 [BZ #13550]
8373 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8374 definitions.
8375 (CHECK_FCNTL): Likewise.
8376 (CHECK_N_PAGES): Likewise.
8377
8378 [BZ #13550]
8379 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8380 definitions.
8381 (CHECK_SIGSET_NULL_OK): Likewise.
8382 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8383 <bp-checks.h>.
8384 (sigpending): Don't use CHECK_SIGSET.
8385 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8386 <bp-checks.h>.
8387 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8388 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8389 <bp-checks.h>.
8390 (do_sigsuspend): Don't use CHECK_SIGSET.
8391 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8392 use CHECK_SIGSET.
8393 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8394 (do_sigwait): Don't use CHECK_SIGSET.
8395 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8396 use CHECK_SIGSET.
8397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8398 include <bp-checks.h>.
8399 (sigpending): Don't use CHECK_SIGSET.
8400 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8401 include <bp-checks.h>.
8402 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8403 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8404 <bp-checks.h>.
8405 (sigpending): Don't use CHECK_SIGSET.
8406 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8407 <bp-checks.h>.
8408 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8409
8410 [BZ #13550]
8411 * sysdeps/generic/bp-semctl.h: Remove file.
8412 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8413 <bp-checks.h> and <bp-semctl.h>.
8414 (__old_semctl): Don't use CHECK_SEMCTL.
8415 (__new_semctl): Likewise.
8416 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8417 and <bp-semctl.h>.
8418 (__old_semctl): Don't use CHECK_SEMCTL.
8419 (__new_semctl): Likewise.
8420 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8421 <bp-checks.h> and <bp-semctl.h>.
8422 (__old_semctl): Don't use CHECK_SEMCTL.
8423 (__new_semctl): Likewise.
8424 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8425 <bp-checks.h> and <bp-semctl.h>.
8426 (semctl): Don't use CHECK_SEMCTL.
8427
8428 [BZ #13550]
8429 * Makerules (elide-bp-thunks): Remove variable.
8430 (elide-routines.oS): Don't use $(elide-bp-thunks).
8431 (elide-routines.os): Likewise.
8432 (elide-routines.o): Likewise.
8433 (elide-routines.op): Likewise.
8434 (elide-routines.og): Likewise.
8435 (objects): Don't use $(bp-thunks).
8436 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8437 include.
8438 (common-generated): Do not add s-proto-bp.d.
8439 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8440 (int): Likewise.
8441 (typ): Likewise.
8442 Do not generate makefile rules for bounded-pointer thunks.
8443 * sysdeps/generic/bp-thunks.h: Remove file.
8444 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8445 * sysdeps/unix/s-proto-bp.S: Likewise.
8446
8447 [BZ #15062]
8448 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8449 parts of result separately when argument is not close to line from
8450 -i to i and one part of argument is small.
8451 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8452 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8453 * math/libm-test.inc (cacos_test): Add more tests.
8454 (casin_test): Likewise.
8455 (casinh_test): Likewise.
8456 * sysdeps/i386/fpu/libm-test-ulps: Update.
8457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8458
84592013-01-31 David S. Miller <davem@davemloft.net>
8460
8461 * po/de.po: Update from translation team.
8462
84632013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8464
8465 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8466
84672013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8468
8469 * configure.in (_AC_PROG_CC_C89): New definition.
8470 * configure: Regenerate.
8471
8472 * configure.in (AC_PROG_CPP): New definition.
8473 * configure: Regenerate.
8474
84752013-01-23 Joseph Myers <joseph@codesourcery.com>
8476
8477 * debug/tst-backtrace.h: New file.
8478 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8479 (ret): Remove variable.
8480 (x): Likewise.
8481 (FAIL): Remove macro.
8482 (NO_INLINE): Likewise.
8483 (fn1): Use match function instead of strstr.
8484 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8485 (ret): Remove variable.
8486 (x): Likewise.
8487 (FAIL): Remove macro.
8488 (NO_INLINE): Likewise.
8489 (fn): Use match function instead of strstr.
8490 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8491 (ret): Remove variable.
8492 (x): Likewise.
8493 (FAIL): Remove macro.
8494 (NO_INLINE): Likewise.
8495 (handle_signal): Use match function instead of strstr.
8496 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8497 (ret): Remove variable.
8498 (x): Likewise.
8499 (FAIL): Remove macro.
8500 (NO_INLINE): Likewise.
8501 (handle_signal): Use match function instead of strstr.
8502
85032013-01-23 Roland McGrath <roland@hack.frob.com>
8504
8505 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8506
85072013-01-23 David S. Miller <davem@davemloft.net>
8508
8509 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8510 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8511 argument of CAS if possible.
8512 * sysdeps/sparc/sparc64/bits/atomic.h
8513 (__arch_compare_and_exchange_val_32_acq): Likewise.
8514 (__arch_compare_and_exchange_val_64_acq): Likewise.
8515
85162013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8517
8518 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8519 * sysdeps/posix/ulimit.c: ... this.
8520 Include <limits.h>.
8521 * sysdeps/unix/bsd/ulimit.c: Remove file.
8522
85232013-01-23 Adam Conrad <adconrad@0c3.net>
8524
8525 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8526 (LDFLAGS-tst-array5): Likewise.
8527
85282013-01-23 Joseph Myers <joseph@codesourcery.com>
8529
8530 [BZ #15036]
8531 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8532 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8533 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8534 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8535
85362013-01-21 David S. Miller <davem@davemloft.net>
8537
8538 * sysdeps/sparc/backtrace.c: New file.
8539 * sysdeps/sparc/sparc32/backtrace.h: New file.
8540 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8541 * sysdeps/sparc/sparc64/backtrace.h: New file.
8542 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8543 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8544 -funwind-tables.
8545
85462013-01-21 Andreas Schwab <schwab@suse.de>
8547
8548 [BZ #15020]
8549 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8550 closed its stdout.
8551
85522013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8553
8554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8555 "mpa2.h".
8556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8557
85582013-01-18 Joseph Myers <joseph@codesourcery.com>
8559 Mark Mitchell <mark@codesourcery.com>
8560 Tom de Vries <tom@codesourcery.com>
8561 Paul Pluzhnikov <ppluzhnikov@google.com>
8562
8563 * debug/tst-backtrace2.c: New file.
8564 * debug/tst-backtrace3.c: Likewise.
8565 * debug/tst-backtrace4.c: Likewise.
8566 * debug/tst-backtrace5.c: Likewise.
8567 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8568 (CFLAGS-tst-backtrace3.c): Likewise.
8569 (CFLAGS-tst-backtrace4.c): Likewise.
8570 (CFLAGS-tst-backtrace5.c): Likewise.
8571 (LDFLAGS-tst-backtrace2): Likewise.
8572 (LDFLAGS-tst-backtrace3): Likewise.
8573 (LDFLAGS-tst-backtrace4): Likewise.
8574 (LDFLAGS-tst-backtrace5): Likewise.
8575 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8576 tst-backtrace4 and tst-backtrace5.
8577
85782013-01-18 Anton Blanchard <anton@samba.org>
8579 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8580
8581 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8582 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8583 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8584 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8586 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8587 "+r" and remove output regs list as redundant. Add explicit inline
8588 asm to specify register of return val to work around compiler codegen
8589 bug. Remove (int) cast on return value. Add return type parameter to
8590 use in macro so that this macro does not truncate return value for
8591 64-bit values.
8592 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8593 pass to INTERNAL_VSYSCALL_NCS.
8594 (INLINE_VSYSCALL): Add 'long int' as return type to
8595 INTERNAL_VSYSCALL_NCS macro invocation.
8596 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8597 INTERNAL_VSYSCALL_NCS macro invocation.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8599
86002013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8601
8602 [BZ #14496]
8603 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8604 Fix application of SIMD FP exception mask.
8605
8606 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8607 mp_no from a power of two.
8608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8609 __mpexp_twomm1. Use __pow_mp.
8610
8611 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8612 multiplication.
8613
86142013-01-17 David S. Miller <davem@davemloft.net>
8615
8616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8617
86182013-01-17 Joseph Myers <joseph@codesourcery.com>
8619
8620 [BZ #15023]
8621 * include/complex.h: Condition contents on [!_COMPLEX_H].
8622 (__kernel_casinhf): New prototype.
8623 (__kernel_casinh): Likewise.
8624 (__kernel_casinhl): Likewise.
8625 * math/Makefile (libm_calls): Add k_casinh.
8626 * math/k_casinh.c: New file.
8627 * math/k_casinhf.c: Likewise.
8628 * math/k_casinhl.c: Likewise.
8629 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8630 finite nonzero arguments.
8631 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8632 finite nonzero arguments.
8633 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8634 finite nonzero arguments.
8635 * math/s_casinh.c: Do not include <float.h>.
8636 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8637 * math/s_casinhf.c: Do not include <float.h>.
8638 (__casinhf): Move code for finite nonzero arguments to
8639 k_casinhf.c.
8640 * math/s_casinhl.c: Do not include <float.h>.
8641 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8642 redefine.
8643 (__casinhl): Move code for finite nonzero arguments to
8644 k_casinhl.c.
8645 * math/libm-test.inc (cacos_test): Add more tests.
8646 * sysdeps/i386/fpu/libm-test-ulps: Update.
8647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8648
86492013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8650
8651 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8652 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8653 [!HAVE_MREMAP]: Remove [defined linux] case.
8654 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8655
86562013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8657
8658 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8659
86602013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8661
8662 * elf/elf.h (R_386_SIZE32): New relocation.
8663 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8664 R_386_SIZE32.
8665 (elf_machine_rela): Likewise.
8666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8667 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8668
86692013-01-17 Joseph Myers <joseph@codesourcery.com>
8670
8671 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8672 (FP_FAST_FMA): Do not define.
8673 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8674 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8675 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8676 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8677 !_SOFT_FLOAT]: Likewise.
8678 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8679 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8680 value.
8681 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8682 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8683 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8684 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8685 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8686 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8687 file.
8688
86892013-01-16 Andreas Schwab <schwab@suse.de>
8690
8691 [BZ #14327]
8692 * include/stdlib.h (__mktemp): Add declaration.
8693 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8694 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8695
86962013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8697
8698 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8699 definitions.
8700 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8701 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8702 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8703 definitions here.
8704 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8705 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8706 definitions.
8707 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8708 and ONE.
8709 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8710 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8711 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8712 definitions.
8713 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8714 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8715 definitions.
8716 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8717
8718 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8719
87202013-01-15 David S. Miller <davem@davemloft.net>
8721
8722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8723 trunc{,f} to libm-sysdep_routes.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8726 file.
8727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8729 file.
8730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8731 file.
8732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8737 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8738 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8739 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8740
8741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8742 nearbyint{,f} to libm-sysdep_routes.
8743 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8745 New file.
8746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8747 file.
8748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8749 New file.
8750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8751 file.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8755 file.
8756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8757 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8758 file.
8759 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8760 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8761 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8762
8763 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8764 libc_feholdexcept and libc_fesetenv.
8765
87662013-01-15 Mike Frysinger <vapier@gentoo.org>
8767
8768 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8769
87702013-01-14 David S. Miller <davem@davemloft.net>
8771
8772 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8773 (SPARC_ASM_VIS2_IFUNC): Likewise.
8774 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8776 use of 'siam' instruction.
8777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8778 Likewise.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8780 Likewise.
8781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8782 Likewise.
8783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8788 file.
8789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8790 file.
8791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8792 file.
8793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8794 file.
8795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8797 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8798 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8800 new VIS2 routines.
8801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8804 Likewise.
8805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8810 routines to libm-sysdep_routines.
8811 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8812
8813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8814 fdim/fdimf to libm-sysdep_routines.
8815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8816 file.
8817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8819 file.
8820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8823 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8824 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8825 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8826 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8827
88282013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8829
8830 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8831 to optimize copies.
8832
8833 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8835 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8836
8837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8838 local variable MPTWO.
8839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8840 Likewise.
8841
88422013-01-13 Mike Frysinger <vapier@gentoo.org>
8843
8844 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8845 GLOB_NOESCAPE.
8846
88472013-01-13 Mike Frysinger <vapier@gentoo.org>
8848
8849 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8850
88512013-01-13 Mike Frysinger <vapier@gentoo.org>
8852
8853 * manual/pattern.texi (glob_t): Document gl_flags.
8854 (glob64_t): Likewise.
8855
88562013-01-11 David S. Miller <davem@davemloft.net>
8857
8858 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8859 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8860 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8861 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8862 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8863 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8864 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8865 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8866 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8867 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8868 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8869 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8870 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8871
8872 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8873 sparc V9 rather than using V8 code.
8874 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8875 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8876
8877 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8878 Move to...
8879 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8880 Here.
8881
88822013-01-11 Roland McGrath <roland@hack.frob.com>
8883
8884 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8885 not in the main loop.
8886 * configure: Regenerated.
8887
88882013-01-11 Joseph Myers <joseph@codesourcery.com>
8889
8890 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8891 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8892 to just #else.
8893 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8894 [!__GLIBC_HAVE_LONG_LONG] case.
8895 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8896 condition to just #else.
8897 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8898 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8899 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8900 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8901 unconditional.
8902 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8903 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8904 #elif condition to just #else.
8905 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8906 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8907 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8908 #elif condition to just #else.
8909
89102013-01-11 Steve Ellcey <sellcey@mips.com>
8911
8912 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8913 (EF_MIPS_ARCH_64): Fix value.
8914 (EF_MIPS_ARCH_32R2): New.
8915 (EF_MIPS_ARCH_64R2): New.
8916
89172013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8918
8919 * Makeconfig (+link-pie-before-libc): New.
8920 (+link-pie-after-libc): Likewise.
8921 (+link-pie-tests): Likewise.
8922 (+link-pie): Rewritten.
8923 (link-before-libc): Remove $(config-LDFLAGS).
8924 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8925 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8926 (config-LDFLAGS): Renamed to ...
8927 (rtld-LDFLAGS): This.
8928 (rtld-tests-LDFLAGS): New macro.
8929 (link-libc-rpath-link): Likewise.
8930 (link-libc-tests-rpath-link): Likewise.
8931 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8932 (link-libc): Prepand $(link-libc-rpath-link).
8933 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8934 (test-program-prefix): New macro.
8935 (test-via-rtld-prefix): Likewise.
8936 (test-program-cmd): Likewise.
8937 (host-test-program-cmd): Likewise.
8938 * Makefile ($(common-objpfx)testrun.sh): Replace
8939 $(run-program-prefix) with $(test-program-prefix).
8940 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8941 $(rtld-LDFLAGS).
8942 ($(common-objpfx)shlib.lds): Likewise.
8943 (build-module-helper): Likewise.
8944 ($(common-objpfx)format.lds): Likewise.
8945 * Rules (binaries-pie-tests): New.
8946 (binaries-pie-notests): Likewise.
8947 (binaries-pie): Rewritten.
8948 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8949 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8950 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8951 (make-test-out): Replace $(host-built-program-cmd) with
8952 $(host-test-program-cmd).
8953 * config.make.in (build-hardcoded-path-in-tests): New variable.
8954 * configure.in (--enable-hardcoded-path-in-tests): New configure
8955 option.
8956 (hardcoded_path_in_tests): New AC_SUBST.
8957 * configure: Regenerated.
8958 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8959 $(built-program-cmd) with $(test-program-cmd).
8960 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8961 (test_program_cmd): This.
8962 * elf/Makefile ($(objpfx)order.out): Run test with
8963 $(test-program-prefix).
8964 ($(objpfx)order2.out): Likewise.
8965 ($(objpfx)tst-initorder.out): Likewise.
8966 ($(objpfx)tst-initorder2.out): Likewise.
8967 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8968 $(test-program-cmd).
8969 ($(objpfx)tst-array1-static.out): Likewise.
8970 ($(objpfx)tst-array2.out): Likewise.
8971 ($(objpfx)tst-array3.out): Likewise.
8972 ($(objpfx)tst-array4.out): Likewise.
8973 ($(objpfx)tst-array5.out): Likewise.
8974 ($(objpfx)tst-array5-static.out): Likewise.
8975 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8976 $(test-program-cmd).
8977 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8978 $(run-program-prefix) with $(test-program-prefix).
8979 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8980 (test_program_prefix): This.
8981 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8982 $(run-program-prefix) with $(test-program-prefix).
8983 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8984 (test_program_prefix): This.
8985 * iconvdata/tst-tables.sh: Likewise.
8986 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8987 $(run-program-prefix) with $(test-program-prefix).
8988 ($(objpfx)tst-translit.out): Likewise.
8989 ($(objpfx)tst-gettext2.out): Likewise.
8990 ($(objpfx)tst-gettext4.out): Likewise.
8991 ($(objpfx)tst-gettext6.out): Likewise.
8992 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8993 (test_program_prefix): This.
8994 * intl/tst-gettext2.sh: Likewise.
8995 * intl/tst-gettext4.sh Likewise.
8996 * intl/tst-gettext6.sh: Likewise.
8997 * intl/tst-translit.sh: Likewise.
8998 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8999 with $(test-program-cmd).
9000 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9001 $(run-program-prefix) with $(test-program-prefix).
9002 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9003 (test_program_prefix): This.
9004 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9005 $(run-program-prefix) with $(test-program-prefix).
9006 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9007 (test_program_prefix): This.
9008 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9009 * posix/Makefile ($(objpfx)globtest.out): Replace
9010 $(run-via-rtld-prefix) and $(test-wrapper) with
9011 $(test-program-prefix) and $(test-via-rtld-prefix).
9012 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9013 $(test-program-prefix).
9014 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9015 $(host-test-program-cmd).
9016 (tst-spawn-ARGS): Likewise.
9017 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9018 $(test-program-prefix).
9019 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9020 (test_via_rtld_prefix): This.
9021 (test_wrapper): Renamed to ...
9022 (test_program_prefix): This.
9023 (run_program_prefix): Replaced by test_program_prefix.
9024 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9025 (test_program_prefix): This.
9026 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9027 with $(host-test-program-cmd).
9028 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9029 $(run-program-prefix) with $(test-program-prefix).
9030 ($(objpfx)tst-printf.out): Likewise.
9031 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9032 $(test-program-cmd).
9033 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9034 (test_program_prefix): This.
9035 * stdio-common/tst-unbputc.sh: Likewise.
9036 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9037 $(run-program-prefix) with $(test-program-prefix).
9038 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9039 (test_program_prefix): This.
9040 * string/Makefile ($(objpfx)tst-svc.out): Replace
9041 $(built-program-cmd) with $(test-program-cmd).
9042
90432013-01-11 Andreas Jaeger <aj@suse.de>
9044
9045 [BZ #15003]
9046 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9047 value. Sync with Linux 3.7.
9048
90492013-01-10 David S. Miller <davem@davemloft.net>
9050
9051 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9052 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9053 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9054
90552013-01-10 Roland McGrath <roland@hack.frob.com>
9056
9057 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9058 never set.
9059 * configure: Regenerated.
9060
90612013-01-10 David S. Miller <davem@davemloft.net>
9062
9063 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9064 sparc V9 rather than using V8 code.
9065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9067
90682013-01-10 Roland McGrath <roland@hack.frob.com>
9069
9070 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9071 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9072 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9073 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9074 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9075 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9076 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9077 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9078 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9079 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9080 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9081 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9082 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9083 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9084 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9085 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9086 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9087 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9088 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9089 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9090 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9091 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9092 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9093 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9094 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9095 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9096 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9097
90982013-01-10 David S. Miller <davem@davemloft.net>
9099
9100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9101
91022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9103
9104 * posix/Makefile (tests-static): New variable.
9105 (tests): Add $(tests-static).
9106 (tst-exec-static-ARGS): New variable.
9107 (tst-spawn-static-ARGS): Likewise.
9108 * posix/tst-exec-static.c: New file.
9109 * posix/tst-spawn-static.c: Likewise.
9110 * posix/tst-exec.c: Support run directly.
9111 * posix/tst-spawn.c: Likewise.
9112
91132013-01-10 Joseph Myers <joseph@codesourcery.com>
9114
9115 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9116 long.
9117 * math/bits/mathcalls.h (llrint): Likewise.
9118 (llround): Likewise.
9119 * stdlib/stdlib.h (struct drand48_data): Likewise.
9120 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9121 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9122 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9123 Likewise.
9124 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9125 Likewise.
9126 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9127 (elf_greg_t): Likewise.
9128 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9129 (__jmp_buf): Likewise.
9130 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9131 definitions.
9132 (llrint): Likewise, for all definitions.
9133 (llrintl): Likewise.
9134
9135 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9136 Remove [__GNUC__] condition.
9137 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9138 condition to just [__USE_ISOC99].
9139 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9140
91412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9142
9143 [BZ #14200]
9144 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9145 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9146 defined.
9147 (_POSIX_V6_ILP32_OFF32): Likewise.
9148 (_XBS5_ILP32_OFF32): Likewise.
9149 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9150 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9151
91522013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9153
9154 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9155
9156 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9157 doubles __mpexp_twomm1. Adjust usage.
9158 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9159 Remove.
9160
91612013-01-10 Andreas Schwab <schwab@suse.de>
9162
9163 [BZ #14964]
9164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9165 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9166
91672013-01-09 David S. Miller <davem@davemloft.net>
9168
9169 [BZ #15003]
9170 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9171 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9172 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9173 TCP_FASTOPEN): Define.
9174 (tcp_repair_opt): New structure.
9175 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9176 enum values.
9177 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9178 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9179 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9180 (tcp_cookie_transactions): New structure.
9181
91822013-01-09 Anton Blanchard <anton@samba.org>
9183
9184 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9185 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9186 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9187 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9188
91892013-01-09 Joseph Myers <joseph@codesourcery.com>
9190
9191 * include/features.h (__USE_ANSI): Remove.
9192
91932013-01-09 Roland McGrath <roland@hack.frob.com>
9194
9195 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9196
9197 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9198
91992013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9200
9201 * sysdeps/s390/fpu/libm-test-ulps: Update.
9202
9203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9204
9205 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9206 (__acr): Likewise.
9207 (__cpy): Likewise.
9208 (norm): Likewise.
9209 (denorm): Likewise.
9210 (__mp_dbl): Likewise.
9211 (__dbl_mp): Likewise.
9212 (add_magnitudes): Likewise.
9213 (sub_magnitudes): Likewise.
9214 (__add): Likewise.
9215 (__sub): Likewise.
9216 (__mul): Likewise.
9217 (__inv): Likewise.
9218 (__dvd): Likewise.
9219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9220 (__acr): Likewise.
9221 (__cpy): Likewise.
9222 (norm): Likewise.
9223 (denorm): Likewise.
9224 (__mp_dbl): Likewise.
9225 (__dbl_mp): Likewise.
9226 (add_magnitudes): Likewise.
9227 (sub_magnitudes): Likewise.
9228 (__add): Likewise.
9229 (__sub): Likewise.
9230 (__mul): Likewise.
9231 (__inv): Likewise.
9232 (__dvd): Likewise.
9233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9234 (__acr): Likewise.
9235 (__cpy): Likewise.
9236 (norm): Likewise.
9237 (denorm): Likewise.
9238 (__mp_dbl): Likewise.
9239 (__dbl_mp): Likewise.
9240 (add_magnitudes): Likewise.
9241 (sub_magnitudes): Likewise.
9242 (__add): Likewise.
9243 (__sub): Likewise.
9244 (__mul): Likewise.
9245 (__inv): Likewise.
9246 (__dvd): Likewise.
9247
92482013-01-08 Joseph Myers <joseph@codesourcery.com>
9249
9250 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9251 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9252 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9253 2 && __USE_EXTERN_INLINES]: Likewise.
9254
92552013-01-08 Andreas Jaeger <aj@suse.de>
9256
9257 [BZ# 14985]
9258 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9259 Remove.
9260 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9261 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9262
92632013-01-07 Anton Blanchard <anton@samba.org>
9264
9265 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9266 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9267 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9268 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9269 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9270 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9271 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9272 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9274 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9275 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9276 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9277 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9279 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9280 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9281 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9282 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9283 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9285 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9286 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9287 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9288 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9289 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9290 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9291 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9292 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9293 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9294 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9295 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9298 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9299 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9300 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9301 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9302 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9303 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9304 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9305 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9307 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9308
93092013-01-07 Joseph Myers <joseph@codesourcery.com>
9310
9311 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9312 (__MALLOC_PMT): Likewise.
9313 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9314 [__GNUC__], only on [_LIBC].
9315 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9316 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9317 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9318 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9319 forward declaration.
9320 (realloc_hook_ini): Likewise.
9321 (memalign_hook_ini): Likewise.
9322 (__libc_memalign): Do not use __MALLOC_PMT in variable
9323 declaration.
9324 (__libc_valloc): Likewise.
9325 (__libc_pvalloc): Likewise.
9326 (__libc_calloc): Likewise.
9327 (__posix_memalign): Likewise.
9328
9329 [BZ #14996]
9330 * math/s_casinh.c: Include <float.h>.
9331 (__casinh): Do not do computation with squaring and square root
9332 for large arguments.
9333 * math/s_casinhf.c: Include <float.h>.
9334 (__casinhf): Do not do computation with squaring and square root
9335 for large arguments.
9336 * math/s_casinhl.c: Include <float.h>.
9337 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9338 (__casinhl): Do not do computation with squaring and square root
9339 for large arguments.
9340 * math/libm-test.inc (casin_test): Add more tests.
9341 (casinh_test): Likewise.
9342 * sysdeps/i386/fpu/libm-test-ulps: Update.
9343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9344
93452013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9346
9347 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9348 (__x86_64_raw_data_cache_size): Likewise.
9349 (__x86_64_data_cache_size_half): Likewise.
9350 (__x86_64_raw_data_cache_size_half): Likewise.
9351 (__x86_64_shared_cache_size): Likewise.
9352 (__x86_64_raw_shared_cache_size): Likewise.
9353 (__x86_64_shared_cache_size_half): Likewise.
9354 (__x86_64_raw_shared_cache_size_half): Likewise.
9355 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9356 to ...
9357 (__x86_data_cache_size): This.
9358 (__x86_64_raw_data_cache_size): Renamed to ...
9359 (__x86_raw_data_cache_size): This.
9360 (__x86_64_data_cache_size_half): Renamed to ...
9361 (__x86_data_cache_size_half): This.
9362 (__x86_64_raw_data_cache_size_half): Renamed to ...
9363 (__x86_raw_data_cache_size_half): This.
9364 (__x86_64_shared_cache_size): Renamed to ...
9365 (__x86_shared_cache_size): This.
9366 (__x86_64_raw_shared_cache_size): Renamed to ...
9367 (__x86_raw_shared_cache_size): This.
9368 (__x86_64_shared_cache_size_half): Renamed to ...
9369 (__x86_shared_cache_size_half): This.
9370 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9371 (__x86_raw_shared_cache_size_half): This.
9372 * sysdeps/x86_64/memcpy.S: Updated.
9373 * sysdeps/x86_64/memset.S: Likewise.
9374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9375 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9376 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9377
93782013-01-04 David S. Miller <davem@davemloft.net>
9379
9380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9381
93822013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9383
9384 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9385 1 to avoid redefinition warning.
9386 (__USE_GNU): Don't define.
9387 (init_signaling_nan): Protoize.
9388
9389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9390
93912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9392
9393 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9395 (__cpymn): Likewise.
9396 (norm): Remove commented code.
9397 (denorm): Likewise.
9398 (__mp_dbl): Likewise.
9399 (__inv): Likewise.
9400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9401 (__cpymn): Likewise.
9402 (norm): Remove commented code.
9403 (denorm): Likewise.
9404 (__mp_dbl): Likewise.
9405 (__inv): Likewise.
9406
9407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9408 mp_no value for 1.0 and 2.0.
9409 (norm): Use RADIXI instead of radixi.d.
9410 (denorm): Likewise.
9411 (__mul): Use 0.0 instead of zero.d.
9412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9413 mp_no value for 1.0 and 2.0.
9414 (norm): Use RADIXI instead of radixi.d.
9415 (denorm): Likewise.
9416 (__mul): Use 0.0 instead of zero.d.
9417
94182013-01-04 Joseph Myers <joseph@codesourcery.com>
9419
9420 [BZ #14994]
9421 * math/s_casinh.c (__casinh): Reduce finite argument to first
9422 quadrant then set signs of results at the end.
9423 * math/s_casinhf.c (__casinhf): Likewise.
9424 * math/s_casinhl.c (__casinhl): Likewise.
9425 * math/libm-test.inc (casin_test): Add more tests.
9426 (casinh_test): Likewise.
9427 * sysdeps/i386/fpu/libm-test-ulps: Update.
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9429
94302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9431
9432 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9433
9434 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9435
9436 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9437 declarations.
9438 (denorm): Likewise.
9439 (__mp_dbl): Likewise.
9440 (__inv): Likewise.
9441
9442 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9443 and adjust the header comment.
9444
9445 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9446 variable name from declaration.
9447
94482013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9449
9450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9451 Initialize COMMON_CPUID_INDEX_7 element.
9452 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9453 (CPUID_RTM): Likewise.
9454 (HAS_RTM): Likewise.
9455 (COMMON_CPUID_INDEX_7): New enum.
9456
94572013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9458
9459 [BZ #14981]
9460 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9461 size is zero, record memory as freed.
9462
94632013-01-03 Andreas Jaeger <aj@suse.de>
9464
9465 * po/ia.po: Add new Interlingua translation.
9466
94672012-01-03 Allan McRae <allan@archlinux.org>
9468
9469 * locale/programs/localedef.c: Fix description of '--posix' flag.
9470
94712013-01-02 Joseph Myers <joseph@codesourcery.com>
9472
9473 * NEWS: Update dates in second copyright notice.
9474 * README: Update copyright dates in example.
9475 * manual/libc.texinfo: Update copyright dates.
9476 * scripts/test-installation.pl: Update copyright date in --version
9477 output.
9478
9479 * hurd/ctty-input.c: Fix copyright notice formatting.
9480 * hurd/ctty-output.c: Likewise.
9481 * hurd/dtable.c: Likewise.
9482 * hurd/hurd-raise.c: Likewise.
9483 * hurd/hurdprio.c: Likewise.
9484 * hurd/msgportdemux.c: Likewise.
9485 * misc/sys/file.h: Likewise.
9486 * misc/sys/ioctl.h: Likewise.
9487 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9488 * sysdeps/mach/hurd/chdir.c: Likewise.
9489 * sysdeps/mach/hurd/fchdir.c: Likewise.
9490 * sysdeps/mach/hurd/rename.c: Likewise.
9491 * sysdeps/mach/hurd/rmdir.c: Likewise.
9492 * sysdeps/mach/hurd/seekdir.c: Likewise.
9493 * sysdeps/mach/hurd/setsid.c: Likewise.
9494 * sysdeps/posix/wait3.c: Likewise.
9495
9496 * All files with FSF copyright notices: Update copyright dates
9497 using scripts/update-copyrights.
9498 * intl/plural.c: Regenerated.
9499 * locale/programs/charmap-kw.h: Likewise.
9500 * locale/programs/locfile-kw.h: Likewise.
9501
95022013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9503
9504 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9505 four values.
9506
9507 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9508 calculation loop and add branch prediction.
9509
9510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9511 check access beyond bounds of m1np.
9512
9513 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9514 MPTWO.
9515 (__inv): Remove local variable MPTWO to use the global
9516 constant.
9517 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9518 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9519 variable MPTWO.
9520 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9521 MP3HALFS static const.
9522
95232013-01-01 David S. Miller <davem@davemloft.net>
9524
9525 * po/ca.po: Update from translation team.
9526
95272013-01-01 Joseph Myers <joseph@codesourcery.com>
9528
9529 * scripts/update-copyrights: New file.
9530 * Makeconfig: Reformat copyright notice.
9531 * ctype/ctype.h: Likewise.
9532 * debug/swprintf_chk.c: Likewise.
9533 * elf/dl-cache.c: Likewise.
9534 * elf/dl-debug.c: Likewise.
9535 * elf/dl-object.c: Likewise.
9536 * grp/initgroups.c: Likewise.
9537 * hurd/Makefile: Likewise.
9538 * hurd/hurd/signal.h: Likewise.
9539 * hurd/hurdfault.c: Likewise.
9540 * hurd/hurdioctl.c: Likewise.
9541 * hurd/hurdlookup.c: Likewise.
9542 * hurd/intr-msg.c: Likewise.
9543 * iconv/gconv_open.c: Likewise.
9544 * libio/swprintf.c: Likewise.
9545 * locale/lc-ctype.c: Likewise.
9546 * locale/nl_langinfo.c: Likewise.
9547 * mach/Machrules: Likewise.
9548 * mach/Makefile: Likewise.
9549 * malloc/obstack.h: Likewise.
9550 * manual/Makefile: Likewise.
9551 * manual/tsort.awk: Likewise.
9552 * misc/bits/stab.def: Likewise.
9553 * nis/nis_print_group_entry.c: Likewise.
9554 * nis/nis_table.c: Likewise.
9555 * nis/nss_compat/compat-pwd.c: Likewise.
9556 * nis/nss_compat/compat-spwd.c: Likewise.
9557 * po/Makefile: Likewise.
9558 * posix/fnmatch.c: Likewise.
9559 * posix/regex.h: Likewise.
9560 * resolv/Makefile: Likewise.
9561 * resolv/nss_dns/dns-network.c: Likewise.
9562 * resolv/res_hconf.c: Likewise.
9563 * scripts/gen-sorted.awk: Likewise.
9564 * soft-fp/soft-fp.h: Likewise.
9565 * stdio-common/printf.h: Likewise.
9566 * stdlib/monetary.h: Likewise.
9567 * stdlib/random.c: Likewise.
9568 * stdlib/random_r.c: Likewise.
9569 * sysdeps/generic/Makefile: Likewise.
9570 * sysdeps/gnu/Makefile: Likewise.
9571 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9573 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9579 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9580 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9581 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9582 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9583 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9584 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9585 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9586 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9587 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9589 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9590 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9591 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9592 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9593 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9594 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9595 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9599 * sysdeps/mach/hurd/errnos.awk: Likewise.
9600 * sysdeps/mach/hurd/fork.c: Likewise.
9601 * sysdeps/mach/hurd/getcwd.c: Likewise.
9602 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9603 * sysdeps/mach/hurd/mmap.c: Likewise.
9604 * sysdeps/mach/hurd/utimes.c: Likewise.
9605 * sysdeps/mach/hurd/xmknod.c: Likewise.
9606 * sysdeps/posix/profil.c: Likewise.
9607 * sysdeps/posix/readdir_r.c: Likewise.
9608 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9609 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9610 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9611 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9614 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9615 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9617 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9618 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9619 * sysdeps/pthread/lio_listio.c: Likewise.
9620 * sysdeps/sparc/dl-procinfo.h: Likewise.
9621 * sysdeps/unix/i386/sysdep.S: Likewise.
9622 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9623 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9624 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9625 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9627 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9628 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9629 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9630 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9631 * sysdeps/wordsize-32/divdi3.c: Likewise.
9632 * time/sys/time.h: Likewise.
9633 * wcsmbs/Makefile: Likewise.
9634
96352013-01-01 David S. Miller <davem@davemloft.net>
9636
9637 * po/fr.po: Update from translation team.
9638
9639 * catgets/gencat.c: Update copyright year.
9640 * csu/version.c: Likewise.
9641 * debug/catchsegv.sh: Likewise.
9642 * debug/pcprofiledump.c: Likewise.
9643 * debug/xtrace.sh: Likewise.
9644 * elf/ldconfig.c: Likewise.
9645 * elf/ldd.bash.in: Likewise.
9646 * elf/pldd.c: Likewise.
9647 * elf/sotruss.ksh: Likewise.
9648 * elf/sprof.c: Likewise.
9649 * iconv/iconv_prog.c: Likewise.
9650 * iconv/iconvconfig.c: Likewise.
9651 * locale/programs/locale.c: Likewise.
9652 * locale/programs/localedef.c: Likewise.
9653 * login/programs/pt_chown.c: Likewise.
9654 * malloc/memusage.sh: Likewise.
9655 * malloc/memusagestat.c: Likewise.
9656 * malloc/mtrace.pl: Likewise.
9657 * nscd/nscd.c: Likewise.
9658 * nss/getent.c: Likewise.
9659 * nss/makedb.c: Likewise.
9660 * posix/getconf.c: Likewise.
9661
96622012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9663
9664 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9665 numbers.
9666
96672012-12-30 Mike Frysinger <vapier@gentoo.org>
9668
9669 * math/bits/mathcalls.h (modf): Use __nonnull.
9670
96712012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9672
9673 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9674 (split): Use macro CN instead of the bare value.
9675 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9676 could be used.
9677 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9678 instead of the bare value.
9679 (power1): Likewise.
9680
96812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9682
9683 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9684 __ATAN_TWOM.
9685 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9686
9687 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9688 their values.
9689 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9690 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9691 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9692 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9693
96942012-12-28 Andreas Jaeger <aj@suse.de>
9695
9696 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9697 values are from Linux 3.7.
9698
9699 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9700 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9701
97022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9703
9704 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9705 TRUE case.
9706
9707 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9708 (norm): Likewise.
9709 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9710 variables with preprocessor constants.
9711 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9712 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9713 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9714
97152012-12-27 Bruno Haible <bruno@clisp.org>
9716
9717 [BZ #14317]
9718 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9719 only if needed.
9720
97212012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9722
9723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9724 and use variable directly.
9725 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9726
9727 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9728 MPONE.
9729 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9731 variable MPONE.
9732 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9734 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9735 include directive. Remove local variable MPONE.
9736 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9737 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9738 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9739
97402012-12-25 David S. Miller <davem@davemloft.net>
9741
9742 * version.h (RELEASE): Set to "development".
9743 (VERSION): Set to "2.17.90".
9744 * NEWS: Add 2.18 section.
9745
97462012-12-21 David S. Miller <davem@davemloft.net>
9747
9748 * po/hr.po: Update from translation team.
9749
97502012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9751
9752 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9753
97542012-12-19 Steve Ellcey <sellcey@mips.com>
9755
9756 * NEWS: Mention new memcpy for MIPS.
9757
97582012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9759
9760 * manual/contrib.texi (Contributors): Spelling correction.
9761
97622012-12-15 David S. Miller <davem@davemloft.net>
9763
9764 * po/ru.po: Update from translation team.
9765
97662012-12-13 David S. Miller <davem@davemloft.net>
9767
9768 * NEWS: Mention IFUNC testsuite enhancements.
9769
9770 * po/pl.po: Update from translation team.
9771 * po/bg.po: Likewise.
9772
9773 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9774 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9775
97762012-12-11 David S. Miller <davem@davemloft.net>
9777
9778 * po/sv.po: Update from translation team.
9779
9780 * po/vi.po: Update from translation team.
9781
9782 * po/cs.po: Update from translation team.
9783
9784 * po/de.po: Update from translation team.
9785 * po/eo.po: Likewise.
9786 * po/nl.po: Likewise.
9787
97882012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9789
9790 [BZ #14246]
9791 * manual/argp.texi (Argp Helper Functions): Move node to follow
9792 Argp Parsing State.
9793
9794 [BZ #14872]
9795 * manual/conf.texi (Limits on File System Capacity): Mention if
9796 terminating null is included in the max size.
9797
97982012-12-10 Andreas Jaeger <aj@suse.de>
9799
9800 * po/cs.po: Update from translation team.
9801
98022012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9803
9804 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9805 void pointer and cast to uintptr_t.
9806 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9807 path.
9808 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9809 * sysdeps/s390/s390-64/memset.S: Likewise.
9810
98112012-12-08 Benno Schulenberg <bensberg@justemail.net>
9812
9813 [BZ #14833]
9814 * menual/message.texi (Message Translation): Fix typos.
9815 (Helper programs for gettext): Likewise.
9816
98172012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9818
9819 [BZ #14898]
9820 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9821 Change to -1.
9822
98232012-12-07 David S. Miller <davem@davemloft.net>
9824
9825 * po/libc.pot: Update.
9826
98272012-12-07 Richard Henderson <rth@redhat.com>
9828
9829 [BZ #10114]
9830 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9831 normal/normal case to before the switch.
9832 (_FP_DIV): Likewise.
9833
98342012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9835 Mike Frysinger <vapier@gentoo.org>
9836
9837 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9838 check for __NR_fadvise64_64.
9839
98402012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9841
9842 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9843 0, not just to plain "0" as a statement.
9844 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9845 with cw.
9846
98472012-12-06 Joseph Myers <joseph@codesourcery.com>
9848
9849 * NEWS: Use sourceware.org in Bugzilla URL.
9850
98512012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9852
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9854 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9855
9856 * stdio-common/tst-put-error.c (do_test): Add newline to the
9857 padded test to ensure flush.
9858
98592012-12-05 Jeff Law <law@redhat.com>
9860
9861 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9862
98632012-12-05 Joseph Myers <joseph@codesourcery.com>
9864
9865 * README: Don't refer to ports add-on as distributed separately.
9866 Mention AArch64 in list of systems supported in the ports add-on.
9867
9868 * LICENSES: Add more non-FSF copyright and license notices.
9869
9870 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9871 ((unused)).
9872
9873 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9874
9875 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9876 10000 as width of padded output.
9877
98782012-12-04 Joseph Myers <joseph@codesourcery.com>
9879
9880 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9881
9882 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9883 variable LX with __attribute__ ((unused)).
9884 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9885 Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9889 with __attribute__ ((unused)).
9890
98912012-12-04 David S. Miller <davem@abraco.davemloft.net>
9892
9893 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9894
98952012-12-04 Joseph Myers <joseph@codesourcery.com>
9896
9897 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9898 (CFLAGS-nldbl-acos.c): New variable.
9899 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9900 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9901 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9902 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9903 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9904 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9905 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9906 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9907 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9908 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9909 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9910 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9911 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9912 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9913 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9914 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9915 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9916 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9917 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9918 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9919 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9920 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9921 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9922 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9923 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9924 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9925 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9926 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9927 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9928 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9929 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9930 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9946 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9947 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9948 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9949 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9950 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9951 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9952 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9953 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9954 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9955 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9956 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9957 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9958 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9959 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9960 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9961 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9962 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9963 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9964 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9965 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9966 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9967 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9968 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9969 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9970 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9971 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9972 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9973 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9974 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9975 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9976 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9977 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9978 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9979 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9980 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9981 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9982 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9983 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9984 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9985 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9986 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9987 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9988 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9989 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9990 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9991 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9992 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9993 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9994 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9995 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9996
9997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9998 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9999
10000 [BZ #14914]
10001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10002 whole low double instead of just low 47 bits when splitting values
10003 into two parts.
10004
100052012-12-03 Allan McRae <allan@archlinux.org>
10006
10007 * manual/stdio.texi (Predefined Printf Handlers): Remove
10008 @hsep and @vsep usage.
10009
100102012-12-03 Mike Frysinger <vapier@gentoo.org>
10011
10012 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10013 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10014
100152012-12-03 Jeff Law <law@redhat.com>
10016
10017 * time/sys/time.h (settimeofday): Do not mark TV argument
10018 as __nonnull.
10019
100202012-12-01 Mike Frysinger <vapier@gentoo.org>
10021
10022 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10023 when currently writing and seek to current position when not.
10024 * libio/Makefile (tests): Remove bug-fclose1.
10025 * libio/bug-fclose1.c: Delete.
10026
100272012-12-01 Joseph Myers <joseph@codesourcery.com>
10028
10029 * manual/arith.texi (feenableexcept): Fix typo.
10030 (fedisableexcept): Likewise.
10031
100322012-11-30 Roland McGrath <roland@hack.frob.com>
10033
10034 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10035 second, differently-typed declaration, rather than a cast.
10036
100372012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10038
10039 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10040 * include/rpc/svc.h: ... here.
10041
100422012-11-30 Aurelien Jarno <aurel32@debian.org>
10043
10044 [BZ #13013]
10045 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10046 depending n and resplen2 to catch cases where answer
10047 equals answerp2.
10048
100492012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10050
10051 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10052 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10053
100542012-11-29 Mike Frysinger <vapier@gentoo.org>
10055
10056 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10057
100582012-11-29 Roland McGrath <roland@hack.frob.com>
10059
10060 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10061
100622012-11-28 Jeff Law <law@redhat.com>
10063
10064 [BZ #13761]
10065 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10066 dataset_temporary. Track alloca usage into alloca_used.
10067 If dataset is large allocate and release it via malloc/free.
10068
100692012-06-04 Florian Weimer <fweimer@redhat.com>
10070
10071 [BZ #14197]
10072 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10073
100742012-11-28 David S. Miller <davem@davemloft.net>
10075
10076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10077
100782012-11-28 Joseph Myers <joseph@codesourcery.com>
10079
10080 [BZ #14803]
10081 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10082 of pi/2 rounded to nearest to 64 bits.
10083 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10084 nearest to 64 bits.
10085 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10086 bits.
10087
100882012-11-28 Jeff Law <law@redhat.com>
10089 Martin Osvald <mosvald@redhat.com>
10090
10091 [BZ #14889]
10092 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10093 * sunrpc/svc.c: Include time.h.
10094 (__svc_accept_failed): New function.
10095 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10096 any reason other than EINTR, call __svc_accept_failed.
10097 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10098 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10099
101002012-11-28 Andreas Schwab <schwab@suse.de>
10101
10102 * scripts/abilist.awk: Also handle indirect functions in .opd
10103 section.
10104
101052012-11-28 Joseph Myers <joseph@codesourcery.com>
10106
10107 [BZ #13881]
10108 * sysdeps/x86/fpu/powl_helper.c: New file.
10109 * sysdeps/x86/fpu/Makefile: Likewise.
10110 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10111 (p3): New object.
10112 (__ieee754_powl): Use __powl_helper for finite arguments except
10113 integer exponents below 8.
10114 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10115 (p3): New object.
10116 (__ieee754_powl): Use __powl_helper for finite arguments except
10117 integer exponents below 8.
10118 * math/libm-test.inc (pow_test): Add more tests and enable some
10119 previously disabled tests.
10120 * sysdeps/i386/fpu/libm-test-ulps: Update.
10121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10122
101232012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10124 Carlos O'Donell <carlos_odonell@mentor.com>
10125
10126 * nss/makedb.c (is_prime): Assert that input is odd and greater
10127 than 4. Note that fact in a comment too.
10128 (next_prime): Add 4 to input.
10129
101302012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10131
10132 [BZ #11741]
10133 * libio/Makefile (tests): Add test case tst-fwrite-error.
10134 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10135 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10136 * libio/tst-fwrite-error.c: New test case.
10137
101382012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10139
10140 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10141 before casting to void *.
10142 * include/libc-internal.h (__pointer_type): New macro.
10143 (__integer_if_pointer_type_sub): Likewise.
10144 (__integer_if_pointer_type): Likewise.
10145 (cast_to_integer): Likewise.
10146 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10147 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10148 before casting to atomic64_t.
10149 (atomic_exchange_acq): Likewise.
10150 (__arch_exchange_and_add_body): Likewise.
10151 (__arch_add_body): Likewise.
10152 (atomic_add_negative): Likewise.
10153 (atomic_add_zero): Likewise.
10154
101552012-11-26 Joseph Myers <joseph@codesourcery.com>
10156
10157 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10158 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10159 (add_fdes): Likewise.
10160 (linear_search_fdes): Likewise.
10161 (binary_search_unencoded_fdes): Likewise.
10162
101632012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10164
10165 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10166
101672012-11-24 Adam Conrad <adconrad@0c3.net>
10168
10169 * configure.in: Autodetect C++ header directories.
10170 * configure: Regenerated.
10171
101722012-11-23 Mike Frysinger <vapier@gentoo.org>
10173
10174 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10175
101762012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10177
10178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10179
101802012-11-22 Joseph Myers <joseph@codesourcery.com>
10181
10182 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10183 LDBL_MANT_DIG == 106]: Disable some tests.
10184 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10185 Likewise.
10186 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10187 Likewise.
10188
10189 [BZ #14871]
10190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10191 input for small inputs. Return +/- pi/2 for large inputs.
10192 * math/libm-test.inc (atan_test): Add more tests.
10193
10194 * sysdeps/generic/unwind-dw2-fde-glibc.c
10195 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10196 __attribute__ ((unused)).
10197
10198 [BZ #14645]
10199 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10200 x * y if x and y are nonzero and z is zero.
10201
10202 [BZ #14811]
10203 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10204 nonzero exponents with absolute value below 0x1p-117 to +/-
10205 0x1p-117.
10206
10207 [BZ #14869]
10208 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10209 up arguments below 2**-450, not just those below 2**-500.
10210 * math/libm-test.inc (hypot_test): Add another test.
10211
10212 [BZ #14868]
10213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10214 Return a+b for ratio over 2**120, not 2**60.
10215 * math/libm-test.inc (hypot_test): Add another test.
10216
10217 * math/libm-test.inc (clog_test): Use
10218 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10219 (clog10_test): Likewise.
10220
10221 [BZ #6778]
10222 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10223
102242012-11-22 Andreas Schwab <schwab@suse.de>
10225
10226 * sysdeps/i386/fpu/libm-test-ulps: Update.
10227
102282012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10229
10230 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10231 printf output with newline.
10232
102332012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 [BZ #14865]
10236 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10237 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10238 -z nodlopen, -z initfirst and -z execstack support.
10239 * configure: Regenerated.
10240
10241 * elf/elf.h (DF_1_NODIRECT): New macro.
10242 (DF_1_IGNMULDEF): Likewise.
10243 (DF_1_NOKSYMS): Likewise.
10244 (DF_1_NOHDR): Likewise.
10245 (DF_1_EDITED): Likewise.
10246 (DF_1_NORELOC): Likewise.
10247 (DF_1_SYMINTPOSE): Likewise.
10248 (DF_1_GLOBAUDIT): Likewise.
10249 (DF_1_SINGLETON): Likewise.
10250 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10251 DT_1_SUPPORTED_MASK bits.
10252 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10253
102542012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10255
10256 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10257
102582012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10259
10260 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10261 macro.
10262
10263 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10264 (sendmmsg): Move declarations...
10265 * socket/sys/socket.h: ... here.
10266 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10267 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10268 include it from...
10269 * socket/recvmmsg.c: ... this new file.
10270 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10271 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10272 definition of __sendmmsg hidden.
10273 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10274 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10275 Move ENOSYS stub into and include it from...
10276 * socket/sendmmsg.c: ... this new file.
10277 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10278 (sysdep_routines): Move recvmmsg and sendmmsg...
10279 * socket/Makefile (routines): ... here.
10280 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10281 (GLIBC_PRIVATE): Add __sendmmsg.
10282 * include/sys/socket.h (__sendmmsg): Add declarations.
10283 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10284 sendmmsg.
10285
102862012-11-20 Joseph Myers <joseph@codesourcery.com>
10287
10288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10289 variable I1 with __attribute__ ((unused)).
10290 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10291
102922012-11-19 Joseph Myers <joseph@codesourcery.com>
10293
10294 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10295 DUMMY variables with __attribute__ ((unused)).
10296
10297 * bits/byteswap.h: Include <bits/types.h>.
10298 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10299
103002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10301
10302 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10303 string_t. Do not manually set errno.
10304 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10305 length with __strnlen. Make sure to both set errno and return it on
10306 failure.
10307
103082012-11-19 David S. Miller <davem@davemloft.net>
10309
10310 With help from Joseph Myers.
10311 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10312 very large arguments properly.
10313 * math/libm-test.inc (atan_test): New tests.
10314 (atan2_test): New tests.
10315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10317
103182012-11-19 Joseph Myers <joseph@codesourcery.com>
10319
10320 [BZ #14856]
10321 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10322 Define to 3.
10323
10324 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10325 [POSIX] (EADDRNOTAVAIL): Likewise.
10326 [POSIX] (EAFNOSUPPORT): Likewise.
10327 [POSIX] (EALREADY): Likewise.
10328 [POSIX] (ECONNABORTED): Likewise.
10329 [POSIX] (ECONNREFUSED): Likewise.
10330 [POSIX] (ECONNRESET): Likewise.
10331 [POSIX] (EDESTADDRREQ): Likewise.
10332 [POSIX] (EDQUOT): Likewise.
10333 [POSIX] (EHOSTUNREACH): Likewise.
10334 [POSIX] (EIDRM): Likewise.
10335 [POSIX] (EISCONN): Likewise.
10336 [POSIX] (ELOOP): Likewise.
10337 [POSIX] (EMULTIHOP): Likewise.
10338 [POSIX] (ENETDOWN): Likewise.
10339 [POSIX] (ENETUNREACH): Likewise.
10340 [POSIX] (ENOBUFS): Likewise.
10341 [POSIX] (ENODATA): Likewise.
10342 [POSIX] (ENOLINK): Likewise.
10343 [POSIX] (ENOMSG): Likewise.
10344 [POSIX] (ENOPROTOOPT): Likewise.
10345 [POSIX] (ENOSR): Likewise.
10346 [POSIX] (ENOSTR): Likewise.
10347 [POSIX] (ENOTCONN): Likewise.
10348 [POSIX] (ENOTSOCK): Likewise.
10349 [POSIX] (EOPNOTSUPP): Likewise.
10350 [POSIX] (EOVERFLOW): Likewise.
10351 [POSIX] (EPROTO): Likewise.
10352 [POSIX] (EPROTONOSUPPORT): Likewise.
10353 [POSIX] (EPROTOTYPE): Likewise.
10354 [POSIX] (ESTALE): Likewise.
10355 [POSIX] (ETIME): Likewise.
10356 [POSIX] (ETXTBSY): Likewise.
10357 [POSIX] (EWOULDBLOCK): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10359 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10360 [POSIX] (SEEK_CUR): Likewise.
10361 [POSIX] (SEEK_END): Likewise.
10362 [POSIX || UNIX98] (mode_t): Do not require.
10363 [POSIX] (off_t): Likewise.
10364 [POSIX] (pid_t): Likewise.
10365 [POSIX] (sys/stat.h): Do not allow header.
10366 [POSIX] (unistd.h): Likewise.
10367 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10368 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10369 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10370 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10371 require.
10372 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10373 sigevent): Specify elements.
10374 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10375 entry.
10376 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10377 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10378
10379 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10380 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10381 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10382 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10383 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10384 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10385 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10386 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10388 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10389 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10390 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10391 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10392 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10393 Likewise.
10394 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10395 Likewise.
10396 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10397 Likewise.
10398 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10399 Likewise.
10400 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10401 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10402 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10403 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10405 Specify lower bound on value.
10406 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10411 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10412 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10413 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10414 value.
10415 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10416 as optional.
10417 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10425 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10433 entry.
10434 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10435 optional.
10436 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10442 Likewise.
10443 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10444 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10448 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10449 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10450 as optional.
10451 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10455 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10456 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10457 specify as optional.
10458 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10459 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10461 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10462 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10463 [XPG3] (NL_LANGMAX): Likewise.
10464 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10465 [POSIX || XPG3] (NL_NMAX): Likewise.
10466 [POSIX || XPG3] (NL_SETMAX): Likewise.
10467 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10468 [XPG3] (NZERO): Likewise.
10469 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10470 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10471 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10472 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10473 (REG_ERANGE): Expect.
10474 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10475 optional-constant.
10476 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10477 Use (void) in prototype.
10478 [POSIX] (*_t): Allow.
10479 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10480 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10481 (WRDE_BADVAL): Expect.
10482
10483 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10484 expect.
10485 [XPG3 || XPG4] (O_RSYNC): Likewise.
10486 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10487 Likewise.
10488 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10489 [XPG3 || XPG4] (sigqueue): Likewise.
10490 [XPG3 || XPG4] (sigtimedwait): Likewise.
10491 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10492 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10493 [XPG3 || XPG4] (vsnprintf): Likewise.
10494 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10495 Likewise.
10496 [XPG3 || XPG4] (blksize_t): Likewise.
10497 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10498 Likewise.
10499 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10500 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10501 [XPG3 || XPG4] (struct itimerspec): Likewise.
10502 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10503 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10504 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10505 [XPG3 || XPG4] (clockid_t): Likewise.
10506 [XPG3 || XPG4] (timer_t): Likewise.
10507 [XPG3 || XPG4] (clock_getres): Likewise.
10508 [XPG3 || XPG4] (clock_gettime): Likewise.
10509 [XPG3 || XPG4] (clock_settime): Likewise.
10510 [XPG3 || XPG4] (nanosleep): Likewise.
10511 [XPG3 || XPG4] (timer_create): Likewise.
10512 [XPG3 || XPG4] (timer_delete): Likewise.
10513 [XPG3 || XPG4] (timer_gettime): Likewise.
10514 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10515 [XPG3 || XPG4] (timer_settime): Likewise.
10516 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10517 [XPG3 || XPG4] (getlogin_r): Likewise.
10518 [XPG3 || XPG4] (pread): Likewise.
10519 [XPG3 || XPG4] (pthread_atfork): Likewise.
10520 [XPG3 || XPG4] (pwrite): Likewise.
10521
10522 [BZ #14835]
10523 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10524 <bits/siginfo.h>.
10525
105262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10527
10528 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10529 finalizing MALLSTREAM.
10530
10531 * sysdeps/mach/hurd/syncfs.c: New file.
10532
105332012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10534
10535 [BZ #14719]
10536 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10537 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10538 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10539 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10540 (_nss_dns_gethostbyname4_r): Likewise.
10541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10542 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10543
105442012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10545
10546 [BZ #13763]
10547 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10548
105492012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10550
10551 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10552 * elf/cache.c (print_entry): Print ",AArch64" for
10553 FLAG_AARCH64_LIB64
10554
10555 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10556 * elf/cache.c (print_entry): Print ",hard-float" for
10557 FLAG_ARM_LIBHF.
10558
105592012-11-18 David S. Miller <davem@davemloft.net>
10560
10561 With help from Joseph Myers.
10562 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10563 cutoff to 2**-13.
10564 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10565 cutoff to 2**-25.
10566 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10567 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10568 small.
10569 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10570 * math/libm-test.inc (y0_test): New tests.
10571 (y1_test): New tests.
10572 * sysdeps/i386/fpu/libm-test-ulps: Update.
10573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10575
105762012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10577
10578 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10579 64-bit targets.
10580 * configure: Regenerated.
10581
105822012-11-17 David S. Miller <davem@davemloft.net>
10583
10584 [BZ #14811]
10585 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10586 nonzero exponents with absolute value below 0x1p-128 to +/-
10587 0x1p-128.
10588
105892012-11-17 Joseph Myers <joseph@codesourcery.com>
10590
10591 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10592
10593 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10594
10595 * posix/getconf-speclist.c: New file.
10596 * posix/posix-envs.def: Likewise.
10597 * posix/confstr.c (START_ENV_GROUP): New macro.
10598 (END_ENV_GROUP): Likewise.
10599 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10600 (KNOWN_PRESENT_ENV_STRING): Likewise.
10601 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10602 (UNKNOWN_ENVIRONMENT): Likewise.
10603 (confstr): Include posix-envs.def instead of handling
10604 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10605 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10606 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10607 (END_ENV_GROUP): Likewise.
10608 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10609 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10610 (UNKNOWN_ENVIRONMENT): Likewise.
10611 (__sysconf): Include posix-envs.def instead of handling associated
10612 cases directly here.
10613 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10614 preprocessing getconf-speclist.c rather than running getconf or
10615 generating empty file.
10616
106172012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10618
10619 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10620
106212012-11-16 Andrej Lajovic <natrij@gmail.com>
10622
10623 [BZ #14672]
10624 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10625
106262012-11-16 David S. Miller <davem@davemloft.net>
10627
10628 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10629 smaller than LDBL_EPSILON/2.0L, just return xm1.
10630
106312012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10632
10633 * elf/tst-array1.c (init): Set constructor priority to 1000.
10634 (fini): Set destructor priority to 1000.
10635 * elf/tst-array2dep.c: Likewise.
10636
106372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10638
10639 [BZ #11741]
10640 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10641 (_IO_new_file_xsputn): Also return EOF if none of the input
10642 data was written when overflow failed.
10643 * libio/iopadn.c (_IO_padn): Likewise.
10644 * libio/iowpadn.c (_IO_wpadn): Likewise.
10645 * stdio-common/tst-put-error.c: Add copyright notice.
10646 (do_test): Add case for printing padded string.
10647 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10648 _IO_padn returned error.
10649 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10650 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10651 return EOF.
10652
106532012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10654
10655 * libio/libioP.h: Add comment note that the references to C++
10656 bits are now obsolete.
10657
106582012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10659
10660 * math/libm-test.inc (check_complex): Use asprintf.
10661
106622012-11-14 Joseph Myers <joseph@codesourcery.com>
10663
10664 * debug/pcprofiledump.c (print_version): Update copyright year.
10665 * malloc/memusagestat.c (print_version): Likewise.
10666
106672012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10668
10669 [BZ #14831]
10670 * elf/Makefile (tests): Add tst-audit8.
10671 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10672 ($(objpfx)tst-audit8.out): New target.
10673 (tst-audit8-ENV): New variable.
10674 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10675 audit if l_reloc_result is NULL.
10676 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10677 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10678 * elf/tst-audit8.c: New file.
10679
106802012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10681
10682 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10683 * misc/Makefile (CFLAGS-select.c): Define.
10684 * posix/Makefile (CFLAGS-pause.c): Define.
10685
106862012-11-13 David S. Miller <davem@davemloft.net>
10687
10688 * crypt/Makefile: Move test targets after toplevel Rules
10689 inclusion. Grab any necessary sysdep routines when linking.
10690 * crypt/md5.c (md5_process_block): Remove define, we will always
10691 name it __md5_process_block.
10692 (md5_finish_ctx): Update md5_process_block call.
10693 (md5_stream): Likewise.
10694 (md5_process_bytes): Likewise.
10695 (md5_process_block): Rename to __md5_process_block and move to ...
10696 * crypt/md5-block.c: ... here.
10697 * crypt/sha256.c (sha256_process_block): Move to ...
10698 * crypt/sha256-block.c: ... here.
10699 * crypt/sha512.c (sha512_process_block): Move to ...
10700 * crypt/sha512-block.c: ... here.
10701 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10702 path.
10703 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10704 * sysdeps/sparc/sparc64/multiarch/Makefile
10705 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10706 crypt subdir.
10707 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10708 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10709 multiarch changes.
10710 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10711 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10712 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10713 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10714 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10715 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10716 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10717 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10718 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10719 file.
10720 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10721 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10722 file.
10723 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10724
107252012-11-13 Joseph Myers <joseph@codesourcery.com>
10726
10727 * timezone/tzselect.ksh: Update from tzcode git revision
10728 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10729 * timezone/zdump.c: Likewise.
10730 * timezone/zic.c: Likewise.
10731 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10732 in TZVERSION setting, not $(PKGVERSION).
10733 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10734 REPORT_BUGS_TO settings.
10735
10736 [BZ #14838]
10737 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10738 macro.
10739
107402012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10741
10742 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10743 detection to immediately after _FP_ROUND().
10744 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10745 bits are 0.
10746
107472012-11-11 David S. Miller <davem@davemloft.net>
10748
10749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10750 inttypes.h
10751 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10752 __close rather than their public counterparts.
10753
107542012-11-10 Joseph Myers <joseph@codesourcery.com>
10755
10756 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10757 file.
10758 [UNIX98] (sem_timedwait): Do not expect.
10759 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10760 [XPG4 || UNIX98] (sockatmark): Do not expect.
10761 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10762 (clock_getcpuclockid): Do not expect.
10763 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10764 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10765 Do not expect.
10766 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10767 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10768 [UNIX98] (vwscanf): Likewise.
10769 [UNIX98] (vswscanf): Likewise.
10770
107712012-11-09 Joseph Myers <joseph@codesourcery.com>
10772
10773 * timezone/version.h: Remove file.
10774 * timezone/README: Do not refer to version.h.
10775 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10776 $(objpfx)version.h.
10777 ($(objpfx)zdump.o): Likewise.
10778 ($(objpfx)version.h): New target.
10779
10780 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10781 2012i.
10782 * timezone/README: Don't mention modification to tzselect.ksh.
10783 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10784 work on unmodified tzselect.ksh. Substitute version numbers in
10785 tzselect.ksh.
10786
10787 * Makefile (format-me): Remove.
10788 (INSTALL): Adjust indentation. Use commands directly instead of
10789 using $(format-me).
10790
10791 * aclocal.m4 (ACX_PKGVERSION): New macro.
10792 (ACX_BUGURL): Likewise.
10793 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10794 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10795 (REPORT_BUGS_TO): Likewise.
10796 * configure: Regenerated.
10797 * config.h.in (PKGVERSION): New macro.
10798 (REPORT_BUGS_TO): Likewise.
10799 * config.make.in (PKGVERSION): New variable.
10800 (PKGVERSION_TEXI): Likewise.
10801 (REPORT_BUGS_TO): Likewise.
10802 (REPORT_BUGS_TEXI): Likewise.
10803 * Makefile (format-me): Use -I$(common-objpfx)manual.
10804 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10805 ($(common-objpfx)manual/%): New target.
10806 (manual/%): Remove target.
10807 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10808 (print_version): Use PKGVERSION.
10809 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10810 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10811 and REPORT_BUGS_TO.
10812 ($(objpfx)xtrace): Likewise.
10813 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10814 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10815 (print_version): Use PKGVERSION.
10816 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10817 (do_version): Use PKGVERSION.
10818 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10819 REPORT_BUGS_TO.
10820 (common-ldd-rewrite): Likewise.
10821 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10822 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10823 (print_version): Use PKGVERSION.
10824 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10825 * elf/pldd.c (argp_program_bug_address): Remove variable.
10826 (more_help): New function.
10827 (argp): Use more_help.
10828 (print_version): Use PKGVERSION.
10829 * elf/sln.c (main): Use PKGVERSION.
10830 (usage): Use REPORT_BUGS_TO.
10831 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10832 (top level): Use PKGVERSION.
10833 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10834 (print_version): Use PKGVERSION.
10835 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10836 (print_version): Use PKGVERSION.
10837 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10838 (print_version): Use PKGVERSION.
10839 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10840 (print_version): Use PKGVERSION.
10841 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10842 (print_version): Use PKGVERSION.
10843 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10844 (print_version): Use PKGVERSION.
10845 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10846 and BUGURL.
10847 ($(objpfx)memusage): Likewise.
10848 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10849 (do_version): Use PKGVERSION.
10850 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10851 (print_version): Use PKGVERSION.
10852 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10853 ($PKGVERSION): New variable.
10854 ($REPORT_BUGS_TO): Likewise.
10855 (usage): Use $REPORT_BUGS_TO.
10856 (top level): Use $PKGVERSION.
10857 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10858 ($(objpfx)pkgvers.texi): New rule.
10859 ($(objpfx)stamp-pkgvers): Likewise.
10860 * manual/install.texi: Include pkgvers.texi.
10861 (--with-pkgversion): Document new configure option.
10862 (--with-bugurl): Likewise.
10863 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10864 than necessarily for this particular distribution. Use
10865 REPORT_BUGS_TO for where to report bugs.
10866 * INSTALL: Regenerated.
10867 * manual/libc.texinfo: Include pkgvers.texi.
10868 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10869 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10870 (print_version): Use PKGVERSION.
10871 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10872 (print_version): Use PKGVERSION.
10873 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10874 (print_version): Use PKGVERSION.
10875 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10876 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10877 macro.
10878 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10879 (print_version): Use PKGVERSION.
10880 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10881 (print_version): Use PKGVERSION.
10882 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10883 and PKGVERSION.
10884
10885 * timezone/checktab.awk: Update from tzcode 2012i.
10886 * timezone/ialloc.c: Likewise.
10887 * timezone/private.h: Likewise.
10888 * timezone/scheck.c: Likewise.
10889 * timezone/tzfile.h: Likewise.
10890 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10891 (TZVERSION): Hardcode tzcode version number.
10892 * timezone/zdump.c: Update from tzcode 2012i.
10893 * timezone/zic.c: Likewise.
10894 * timezone/version.h: New file.
10895 * timezone/README: Describe version.h. Update upstream location.
10896
10897 [BZ #14824]
10898 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10899 (mktemp): Enable declaration.
10900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10901 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10903 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10904 Likewise.
10905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10906 Likewise.
10907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10908 Likewise.
10909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10910 Likewise.
10911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10912 Likewise.
10913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10914 Likewise.
10915
10916 [BZ #14821]
10917 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10918 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10919 for copies of such integer values.
10920 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10921 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10922
109232012-11-09 Andreas Jaeger <aj@suse.de>
10924
10925 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10926 definitions and declarations that are provided by
10927 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10928
109292012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10930
10931 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10932 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10933 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10934 definition.
10935
109362012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10937
10938 * elf/elf.h: Update comment before AArch64 relocations.
10939
109402012-11-07 David S. Miller <davem@davemloft.net>
10941
10942 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10943 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10944 (__start_context): Declare.
10945 (__makecontext_ret): Delete.
10946 (__makecontext): Hook up __start_context instead of
10947 __makecontext_ret.
10948 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10949 (sysdep_routines): Add __start_context when in stdlib.
10950
109512012-11-07 Joseph Myers <joseph@codesourcery.com>
10952
10953 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10954 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10955 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10956 hardcoded "nm".
10957 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10958 (READELF): New variable. Use it instead of hardcoded "readelf".
10959
109602012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10961
10962 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10963 * sysdeps/x86/Makefile: Here.
10964 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10965 * sysdeps/x86/tst-xmmymm.sh: This.
10966
109672012-11-07 Joseph Myers <joseph@codesourcery.com>
10968
10969 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10970 expectations.
10971 [UNIX98] (pthread_barrier_t): Do not expect.
10972 [UNIX98] (pthread_barrierattr_t): Likewise.
10973 [UNIX98] (pthread_spinlock_t): Likewise.
10974 [UNIX98] (pthread_barrier_destroy): Likewise.
10975 [UNIX98] (pthread_barrier_init): Likewise.
10976 [UNIX98] (pthread_barrier_wait): Likewise.
10977 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10978 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10979 [UNIX98] (pthread_barrierattr_init): Likewise.
10980 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10981 [UNIX98] (pthread_getcpuclockid): Likewise.
10982 [UNIX98] (pthread_mutex_timedlock): Likewise.
10983 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10984 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10985 [UNIX98] (pthread_sigmask): Likewise.
10986 [UNIX98] (pthread_spin_destroy): Likewise.
10987 [UNIX98] (pthread_spin_init): Likewise.
10988 [UNIX98] (pthread_spin_lock): Likewise.
10989 [UNIX98] (pthread_spin_trylock): Likewise.
10990 [UNIX98] (pthread_spin_unlock): Likewise.
10991 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10992 Do not expect.
10993 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10994 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10995 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10996 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10997 [XPG3 || XPG4] (pthread_key_t): Likewise.
10998 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10999 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11000 [XPG3 || XPG4] (pthread_once_t): Likewise.
11001 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11002 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11003 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11004 [XPG3 || XPG4] (pthread_t): Likewise.
11005
11006 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11007 not expect.
11008 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11009
11010 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11011 Change function return type to int.
11012
11013 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11014 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11015 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11016 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11017 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11018 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11019 [!POSIX] (posix_madvise): Likewise.
11020 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11021 && !UNIX98].
11022 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11023 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11024 (mode_t): Likewise.
11025 (posix_mem_offset): Likewise.
11026 (posix_typed_mem_get_info): Likewise.
11027 (posix_typed_mem_open): Likewise.
11028
11029 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11030 Change condition to [XOPEN2K8].
11031
11032 * conform/conformtest.pl: Preprocess allow-header data with -x c
11033 instead of from stdin.
11034 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11035 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11036 [C99-based standards] (cerfc): Likewise.
11037 [C99-based standards] (cexp2): Likewise.
11038 [C99-based standards] (cexpm1): Likewise.
11039 [C99-based standards] (clog10): Likewise.
11040 [C99-based standards] (clog1p): Likewise.
11041 [C99-based standards] (clog2): Likewise.
11042 [C99-based standards] (clgamma): Likewise.
11043 [C99-based standards] (ctgamma): Likewise.
11044 [C99-based standards] (cerff): Likewise.
11045 [C99-based standards] (cerfcf): Likewise.
11046 [C99-based standards] (cexp2f): Likewise.
11047 [C99-based standards] (cexpm1f): Likewise.
11048 [C99-based standards] (clog10f): Likewise.
11049 [C99-based standards] (clog1pf): Likewise.
11050 [C99-based standards] (clog2f): Likewise.
11051 [C99-based standards] (clgammaf): Likewise.
11052 [C99-based standards] (ctgammaf): Likewise.
11053 [C99-based standards] (cerfl): Likewise.
11054 [C99-based standards] (cerfcl): Likewise.
11055 [C99-based standards] (cexp2l): Likewise.
11056 [C99-based standards] (cexpm1l): Likewise.
11057 [C99-based standards] (clog10l): Likewise.
11058 [C99-based standards] (clog1pl): Likewise.
11059 [C99-based standards] (clog2l): Likewise.
11060 [C99-based standards] (clgammal): Likewise.
11061 [C99-based standards] (ctgammal): Likewise.
11062 * conform/data/inttypes.h-data [C99-based standards]: Include
11063 stdint.h-data. Remove all expectations for stdint.h contents.
11064 [C99-based standards] (PRI*): Do not allow.
11065 [C99-based standards] (SCN*): Likewise.
11066 [C99-based standards] (*_t): Likewise.
11067 [C99-based-standards] (PRId8): Expect macro.
11068 [C99-based-standards] (PRIi8): Likewise.
11069 [C99-based-standards] (PRIo8): Likewise.
11070 [C99-based-standards] (PRIu8): Likewise.
11071 [C99-based-standards] (PRIx8): Likewise.
11072 [C99-based-standards] (PRIX8): Likewise.
11073 [C99-based-standards] (SCNd8): Likewise.
11074 [C99-based-standards] (SCNi8): Likewise.
11075 [C99-based-standards] (SCNo8): Likewise.
11076 [C99-based-standards] (SCNu8): Likewise.
11077 [C99-based-standards] (SCNx8): Likewise.
11078 [C99-based-standards] (PRIdLEAST8): Likewise.
11079 [C99-based-standards] (PRIiLEAST8): Likewise.
11080 [C99-based-standards] (PRIoLEAST8): Likewise.
11081 [C99-based-standards] (PRIuLEAST8): Likewise.
11082 [C99-based-standards] (PRIxLEAST8): Likewise.
11083 [C99-based-standards] (PRIXLEAST8): Likewise.
11084 [C99-based-standards] (SCNdLEAST8): Likewise.
11085 [C99-based-standards] (SCNiLEAST8): Likewise.
11086 [C99-based-standards] (SCNoLEAST8): Likewise.
11087 [C99-based-standards] (SCNuLEAST8): Likewise.
11088 [C99-based-standards] (SCNxLEAST8): Likewise.
11089 [C99-based-standards] (PRIdFAST8): Likewise.
11090 [C99-based-standards] (PRIiFAST8): Likewise.
11091 [C99-based-standards] (PRIoFAST8): Likewise.
11092 [C99-based-standards] (PRIuFAST8): Likewise.
11093 [C99-based-standards] (PRIxFAST8): Likewise.
11094 [C99-based-standards] (PRIXFAST8): Likewise.
11095 [C99-based-standards] (SCNdFAST8): Likewise.
11096 [C99-based-standards] (SCNiFAST8): Likewise.
11097 [C99-based-standards] (SCNoFAST8): Likewise.
11098 [C99-based-standards] (SCNuFAST8): Likewise.
11099 [C99-based-standards] (SCNxFAST8): Likewise.
11100 [C99-based-standards] (PRId16): Likewise.
11101 [C99-based-standards] (PRIi16): Likewise.
11102 [C99-based-standards] (PRIo16): Likewise.
11103 [C99-based-standards] (PRIu16): Likewise.
11104 [C99-based-standards] (PRIx16): Likewise.
11105 [C99-based-standards] (PRIX16): Likewise.
11106 [C99-based-standards] (SCNd16): Likewise.
11107 [C99-based-standards] (SCNi16): Likewise.
11108 [C99-based-standards] (SCNo16): Likewise.
11109 [C99-based-standards] (SCNu16): Likewise.
11110 [C99-based-standards] (SCNx16): Likewise.
11111 [C99-based-standards] (PRIdLEAST16): Likewise.
11112 [C99-based-standards] (PRIiLEAST16): Likewise.
11113 [C99-based-standards] (PRIoLEAST16): Likewise.
11114 [C99-based-standards] (PRIuLEAST16): Likewise.
11115 [C99-based-standards] (PRIxLEAST16): Likewise.
11116 [C99-based-standards] (PRIXLEAST16): Likewise.
11117 [C99-based-standards] (SCNdLEAST16): Likewise.
11118 [C99-based-standards] (SCNiLEAST16): Likewise.
11119 [C99-based-standards] (SCNoLEAST16): Likewise.
11120 [C99-based-standards] (SCNuLEAST16): Likewise.
11121 [C99-based-standards] (SCNxLEAST16): Likewise.
11122 [C99-based-standards] (PRIdFAST16): Likewise.
11123 [C99-based-standards] (PRIiFAST16): Likewise.
11124 [C99-based-standards] (PRIoFAST16): Likewise.
11125 [C99-based-standards] (PRIuFAST16): Likewise.
11126 [C99-based-standards] (PRIxFAST16): Likewise.
11127 [C99-based-standards] (PRIXFAST16): Likewise.
11128 [C99-based-standards] (SCNdFAST16): Likewise.
11129 [C99-based-standards] (SCNiFAST16): Likewise.
11130 [C99-based-standards] (SCNoFAST16): Likewise.
11131 [C99-based-standards] (SCNuFAST16): Likewise.
11132 [C99-based-standards] (SCNxFAST16): Likewise.
11133 [C99-based-standards] (PRId32): Likewise.
11134 [C99-based-standards] (PRIi32): Likewise.
11135 [C99-based-standards] (PRIo32): Likewise.
11136 [C99-based-standards] (PRIu32): Likewise.
11137 [C99-based-standards] (PRIx32): Likewise.
11138 [C99-based-standards] (PRIX32): Likewise.
11139 [C99-based-standards] (SCNd32): Likewise.
11140 [C99-based-standards] (SCNi32): Likewise.
11141 [C99-based-standards] (SCNo32): Likewise.
11142 [C99-based-standards] (SCNu32): Likewise.
11143 [C99-based-standards] (SCNx32): Likewise.
11144 [C99-based-standards] (PRIdLEAST32): Likewise.
11145 [C99-based-standards] (PRIiLEAST32): Likewise.
11146 [C99-based-standards] (PRIoLEAST32): Likewise.
11147 [C99-based-standards] (PRIuLEAST32): Likewise.
11148 [C99-based-standards] (PRIxLEAST32): Likewise.
11149 [C99-based-standards] (PRIXLEAST32): Likewise.
11150 [C99-based-standards] (SCNdLEAST32): Likewise.
11151 [C99-based-standards] (SCNiLEAST32): Likewise.
11152 [C99-based-standards] (SCNoLEAST32): Likewise.
11153 [C99-based-standards] (SCNuLEAST32): Likewise.
11154 [C99-based-standards] (SCNxLEAST32): Likewise.
11155 [C99-based-standards] (PRIdFAST32): Likewise.
11156 [C99-based-standards] (PRIiFAST32): Likewise.
11157 [C99-based-standards] (PRIoFAST32): Likewise.
11158 [C99-based-standards] (PRIuFAST32): Likewise.
11159 [C99-based-standards] (PRIxFAST32): Likewise.
11160 [C99-based-standards] (PRIXFAST32): Likewise.
11161 [C99-based-standards] (SCNdFAST32): Likewise.
11162 [C99-based-standards] (SCNiFAST32): Likewise.
11163 [C99-based-standards] (SCNoFAST32): Likewise.
11164 [C99-based-standards] (SCNuFAST32): Likewise.
11165 [C99-based-standards] (SCNxFAST32): Likewise.
11166 [C99-based-standards] (PRId64): Likewise.
11167 [C99-based-standards] (PRIi64): Likewise.
11168 [C99-based-standards] (PRIo64): Likewise.
11169 [C99-based-standards] (PRIu64): Likewise.
11170 [C99-based-standards] (PRIx64): Likewise.
11171 [C99-based-standards] (PRIX64): Likewise.
11172 [C99-based-standards] (SCNd64): Likewise.
11173 [C99-based-standards] (SCNi64): Likewise.
11174 [C99-based-standards] (SCNo64): Likewise.
11175 [C99-based-standards] (SCNu64): Likewise.
11176 [C99-based-standards] (SCNx64): Likewise.
11177 [C99-based-standards] (PRIdLEAST64): Likewise.
11178 [C99-based-standards] (PRIiLEAST64): Likewise.
11179 [C99-based-standards] (PRIoLEAST64): Likewise.
11180 [C99-based-standards] (PRIuLEAST64): Likewise.
11181 [C99-based-standards] (PRIxLEAST64): Likewise.
11182 [C99-based-standards] (PRIXLEAST64): Likewise.
11183 [C99-based-standards] (SCNdLEAST64): Likewise.
11184 [C99-based-standards] (SCNiLEAST64): Likewise.
11185 [C99-based-standards] (SCNoLEAST64): Likewise.
11186 [C99-based-standards] (SCNuLEAST64): Likewise.
11187 [C99-based-standards] (SCNxLEAST64): Likewise.
11188 [C99-based-standards] (PRIdFAST64): Likewise.
11189 [C99-based-standards] (PRIiFAST64): Likewise.
11190 [C99-based-standards] (PRIoFAST64): Likewise.
11191 [C99-based-standards] (PRIuFAST64): Likewise.
11192 [C99-based-standards] (PRIxFAST64): Likewise.
11193 [C99-based-standards] (PRIXFAST64): Likewise.
11194 [C99-based-standards] (SCNdFAST64): Likewise.
11195 [C99-based-standards] (SCNiFAST64): Likewise.
11196 [C99-based-standards] (SCNoFAST64): Likewise.
11197 [C99-based-standards] (SCNuFAST64): Likewise.
11198 [C99-based-standards] (SCNxFAST64): Likewise.
11199 [C99-based-standards] (PRIdMAX): Likewise.
11200 [C99-based-standards] (PRIiMAX): Likewise.
11201 [C99-based-standards] (PRIoMAX): Likewise.
11202 [C99-based-standards] (PRIuMAX): Likewise.
11203 [C99-based-standards] (PRIxMAX): Likewise.
11204 [C99-based-standards] (PRIXMAX): Likewise.
11205 [C99-based-standards] (SCNdMAX): Likewise.
11206 [C99-based-standards] (SCNiMAX): Likewise.
11207 [C99-based-standards] (SCNoMAX): Likewise.
11208 [C99-based-standards] (SCNuMAX): Likewise.
11209 [C99-based-standards] (SCNxMAX): Likewise.
11210 [C99-based-standards] (PRIdPTR): Likewise.
11211 [C99-based-standards] (PRIiPTR): Likewise.
11212 [C99-based-standards] (PRIoPTR): Likewise.
11213 [C99-based-standards] (PRIuPTR): Likewise.
11214 [C99-based-standards] (PRIxPTR): Likewise.
11215 [C99-based-standards] (PRIXPTR): Likewise.
11216 [C99-based-standards] (SCNdPTR): Likewise.
11217 [C99-based-standards] (SCNiPTR): Likewise.
11218 [C99-based-standards] (SCNoPTR): Likewise.
11219 [C99-based-standards] (SCNuPTR): Likewise.
11220 [C99-based-standards] (SCNxPTR): Likewise.
11221 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11222 allow.
11223 * conform/data/stdint.h-data: Update comments to clarify
11224 requirements.
11225 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11226 type.
11227 [C99-based standards] (INT8_MAX): Likewise.
11228 [C99-based standards] (INT16_MIN): Likewise.
11229 [C99-based standards] (INT16_MAX): Likewise.
11230 [C99-based standards] (INT32_MIN): Likewise.
11231 [C99-based standards] (INT32_MAX): Likewise.
11232 [C99-based standards] (INT64_MIN): Likewise.
11233 [C99-based standards] (INT64_MAX): Likewise.
11234 [C99-based standards] (UINT8_MAX): Likewise.
11235 [C99-based standards] (UINT16_MAX): Likewise.
11236 [C99-based standards] (UINT32_MAX): Likewise.
11237 [C99-based standards] (UINT64_MAX): Likewise.
11238 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11239 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11240 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11241 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11242 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11243 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11244 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11245 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11246 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11247 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11248 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11249 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11250 [C99-based standards] (INT_FAST8_MIN): Likewise.
11251 [C99-based standards] (INT_FAST8_MAX): Likewise.
11252 [C99-based standards] (INT_FAST16_MIN): Likewise.
11253 [C99-based standards] (INT_FAST16_MAX): Likewise.
11254 [C99-based standards] (INT_FAST32_MIN): Likewise.
11255 [C99-based standards] (INT_FAST32_MAX): Likewise.
11256 [C99-based standards] (INT_FAST64_MIN): Likewise.
11257 [C99-based standards] (INT_FAST64_MAX): Likewise.
11258 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11259 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11260 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11261 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11262 [C99-based standards] (INTPTR_MIN): Likewise.
11263 [C99-based standards] (INTPTR_MAX): Likewise.
11264 [C99-based standards] (UINTPTR_MAX): Likewise.
11265 [C99-based standards] (INTMAX_MIN): Likewise.
11266 [C99-based standards] (INTMAX_MAX): Likewise.
11267 [C99-based standards] (UINTMAX_MAX): Likewise.
11268 [C99-based standards] (PTRDIFF_MIN): Likewise.
11269 [C99-based standards] (PTRDIFF_MAX): Likewise.
11270 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11271 [C99-based standards] (SIZE_MAX): Likewise.
11272 [C99-based standards] (WCHAR_MAX): Likewise.
11273 [C99-based standards] (WINT_MAX): Likewise.
11274 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11275 constraint on value.
11276 [C99-based standards] (WCHAR_MIN): Likewise.
11277 [C99-based standards] (WINT_MIN): Likewise.
11278 [C99-based standards] (*_t): Allow.
11279 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11280 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11281 Include math.h-data and complex.h-data. Remove all expectations
11282 of math.h and complex.h contents.
11283 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11284 at end of line.
11285 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11286 (struct tm): Expect tag.
11287 [C99-based-standards] (wcstof): Expect function.
11288 [C99-based-standards] (wcstold): Likewise.
11289 [C99-based-standards] (wcstoll): Likewise.
11290 [C99-based-standards] (wcstoull): Likewise.
11291 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11292 macro-int-constant. Specify type.
11293 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11294 constraint on value.
11295 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11296 Specify type.
11297 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11298 Specify value.
11299 [ISO C standards]: Do not allow headers.
11300 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11301 wcs[abcdefghijklmnopqrstuvwxyz]*.
11302 [ISO C standards] (*_t): Do not allow.
11303 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11304 Expect function.
11305 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11306 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11307 Specify type.
11308 [ISO C standards]: Do not allow headers.
11309 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11310 is[abcdefghijklmnopqrstuvwxyz]*.
11311 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11312 to[abcdefghijklmnopqrstuvwxyz]*.
11313 [ISO C standards] (*_t): Do not allow.
11314 * conform/data/stdalign.h-data: New file.
11315 * conform/data/stdbool.h-data: Likewise.
11316 * conform/data/stdnoreturn.h-data: Likewise.
11317
113182012-11-07 Roland McGrath <roland@hack.frob.com>
11319
11320 [BZ #14815]
11321 * manual/filesys.texi (Directory Entries): Typo fix.
11322 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11323
113242012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11325
11326 * elf/elf.h (EM_AARCH64): New macro.
11327 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11328 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11329 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11330 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11331 (R_AARCH64_TLSDESC): Likewise.
11332 (NT_ARM_TLS): Likewise.
11333 (NT_ARM_HW_BREAK): Likewise.
11334 (NT_ARM_HW_WATCH): Likewise.
11335
113362012-11-07 Joseph Myers <joseph@codesourcery.com>
11337
11338 [BZ #14811]
11339 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11340 (__ieee754_powl): Saturate nonzero exponents with absolute value
11341 below 0x1p-79 to +/- 0x1p-79.
11342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11343 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11344 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11345 nonzero exponents with absolute value below 0x1p-32 to +/-
11346 0x1p-32.
11347 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11348 (__ieee754_powl): Saturate nonzero exponents with absolute value
11349 below 0x1p-79 to +/- 0x1p-79.
11350 * math/libm-test.inc (pow_test): Add more tests.
11351
113522012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11353
11354 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11355 _dl_s390_cap_flags with kernel. Increase string length.
11356 (_dl_s390_platforms): Add z196 and zEC12.
11357
113582012-11-07 Joseph Myers <joseph@codesourcery.com>
11359
11360 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11361 Change XOPEN21K to XOPEN2K.
11362
113632012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11364
11365 * string/memmove.c: Use memcpy when possible.
11366
113672012-11-06 Andreas Jaeger <aj@suse.de>
11368
11369 * po/eo.po: Update from translation team.
11370
113712012-11-06 Joseph Myers <joseph@codesourcery.com>
11372
11373 [BZ #14793]
11374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11375 exponent and small x and y exponents, scale x or y up. Increase
11376 by 2 the exponent used in scaling up.
11377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11379 * math/libm-test.inc (fma_test): Add more tests.
11380 (fma_test_towardzero): Likewise.
11381 (fma_test_downward): Likewise.
11382 (fma_test_upward): Likewise.
11383
113842012-11-05 Joseph Myers <joseph@codesourcery.com>
11385
11386 [BZ #14805]
11387 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11388 fenv_t *.
11389
11390 [BZ #14801]
11391 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11392 namespace for names of struct fields.
11393 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11394 fenv_t fields.
11395 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11396 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11397
113982012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11399
11400 [BZ #3665]
11401 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11402
114032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11404
11405 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11406 PTR_DEMANGLE.
11407
11408 [BZ #5246]
11409 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11410 PTR_DEMANGLE.
11411
114122012-11-04 Joseph Myers <joseph@codesourcery.com>
11413
11414 [BZ #14797]
11415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11416 definitely overflow as x * y not x * y + z.
11417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11419 * math/libm-test.inc (fma_test): Add more tests.
11420 (fma_test_towardzero): Likewise.
11421 (fma_test_downward): Likewise.
11422 (fma_test_upward): Likewise.
11423
114242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11425
11426 [BZ #157]
11427
11428 * include/stub-tag.h: Remove file.
11429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11430 '#include' of it.
11431 * manual/maint.texi (Porting): Don't reference it.
11432 * Makerules ($(objpfx)stubs): Likewise.
11433 * dirent/closedir.c: Don't include <stub-tag.h>.
11434 * dirent/dirfd.c: Likewise.
11435 * dirent/fdopendir.c: Likewise.
11436 * dirent/getdents.c: Likewise.
11437 * dirent/getdents64.c: Likewise.
11438 * dirent/opendir.c: Likewise.
11439 * dirent/readdir.c: Likewise.
11440 * dirent/readdir64.c: Likewise.
11441 * dirent/readdir64_r.c: Likewise.
11442 * dirent/readdir_r.c: Likewise.
11443 * dirent/rewinddir.c: Likewise.
11444 * dirent/seekdir.c: Likewise.
11445 * dirent/telldir.c: Likewise.
11446 * gmon/profil.c: Likewise.
11447 * grp/setgroups.c: Likewise.
11448 * inet/if_index.c: Likewise.
11449 * io/access.c: Likewise.
11450 * io/chdir.c: Likewise.
11451 * io/chmod.c: Likewise.
11452 * io/chown.c: Likewise.
11453 * io/close.c: Likewise.
11454 * io/dup.c: Likewise.
11455 * io/dup2.c: Likewise.
11456 * io/dup3.c: Likewise.
11457 * io/euidaccess.c: Likewise.
11458 * io/faccessat.c: Likewise.
11459 * io/fchdir.c: Likewise.
11460 * io/fchmod.c: Likewise.
11461 * io/fchmodat.c: Likewise.
11462 * io/fchown.c: Likewise.
11463 * io/fchownat.c: Likewise.
11464 * io/fcntl.c: Likewise.
11465 * io/flock.c: Likewise.
11466 * io/fstatfs.c: Likewise.
11467 * io/fstatfs64.c: Likewise.
11468 * io/fstatvfs.c: Likewise.
11469 * io/fstatvfs64.c: Likewise.
11470 * io/futimens.c: Likewise.
11471 * io/fxstat.c: Likewise.
11472 * io/fxstat64.c: Likewise.
11473 * io/fxstatat.c: Likewise.
11474 * io/fxstatat64.c: Likewise.
11475 * io/getcwd.c: Likewise.
11476 * io/isatty.c: Likewise.
11477 * io/lchmod.c: Likewise.
11478 * io/lchown.c: Likewise.
11479 * io/link.c: Likewise.
11480 * io/linkat.c: Likewise.
11481 * io/lseek.c: Likewise.
11482 * io/lseek64.c: Likewise.
11483 * io/lxstat64.c: Likewise.
11484 * io/mkdir.c: Likewise.
11485 * io/mkdirat.c: Likewise.
11486 * io/mkfifo.c: Likewise.
11487 * io/mkfifoat.c: Likewise.
11488 * io/open.c: Likewise.
11489 * io/open64.c: Likewise.
11490 * io/openat.c: Likewise.
11491 * io/openat64.c: Likewise.
11492 * io/pipe.c: Likewise.
11493 * io/pipe2.c: Likewise.
11494 * io/poll.c: Likewise.
11495 * io/posix_fadvise.c: Likewise.
11496 * io/posix_fadvise64.c: Likewise.
11497 * io/posix_fallocate.c: Likewise.
11498 * io/posix_fallocate64.c: Likewise.
11499 * io/read.c: Likewise.
11500 * io/readlink.c: Likewise.
11501 * io/readlinkat.c: Likewise.
11502 * io/rmdir.c: Likewise.
11503 * io/sendfile.c: Likewise.
11504 * io/sendfile64.c: Likewise.
11505 * io/statfs.c: Likewise.
11506 * io/statfs64.c: Likewise.
11507 * io/statvfs.c: Likewise.
11508 * io/statvfs64.c: Likewise.
11509 * io/symlink.c: Likewise.
11510 * io/symlinkat.c: Likewise.
11511 * io/ttyname.c: Likewise.
11512 * io/ttyname_r.c: Likewise.
11513 * io/umask.c: Likewise.
11514 * io/unlink.c: Likewise.
11515 * io/unlinkat.c: Likewise.
11516 * io/utime.c: Likewise.
11517 * io/utimensat.c: Likewise.
11518 * io/write.c: Likewise.
11519 * io/xmknod.c: Likewise.
11520 * io/xmknodat.c: Likewise.
11521 * io/xstat.c: Likewise.
11522 * io/xstat64.c: Likewise.
11523 * login/getpt.c: Likewise.
11524 * login/grantpt.c: Likewise.
11525 * login/unlockpt.c: Likewise.
11526 * math/e_acoshl.c: Likewise.
11527 * math/e_acosl.c: Likewise.
11528 * math/e_asinl.c: Likewise.
11529 * math/e_atan2l.c: Likewise.
11530 * math/e_atanhl.c: Likewise.
11531 * math/e_coshl.c: Likewise.
11532 * math/e_expl.c: Likewise.
11533 * math/e_fmodl.c: Likewise.
11534 * math/e_gammal_r.c: Likewise.
11535 * math/e_hypotl.c: Likewise.
11536 * math/e_j0l.c: Likewise.
11537 * math/e_j1l.c: Likewise.
11538 * math/e_jnl.c: Likewise.
11539 * math/e_lgammal_r.c: Likewise.
11540 * math/e_log10l.c: Likewise.
11541 * math/e_log2l.c: Likewise.
11542 * math/e_logl.c: Likewise.
11543 * math/e_powl.c: Likewise.
11544 * math/e_rem_pio2l.c: Likewise.
11545 * math/e_sinhl.c: Likewise.
11546 * math/e_sqrtl.c: Likewise.
11547 * math/fclrexcpt.c: Likewise.
11548 * math/fedisblxcpt.c: Likewise.
11549 * math/feenablxcpt.c: Likewise.
11550 * math/fegetenv.c: Likewise.
11551 * math/fegetexcept.c: Likewise.
11552 * math/fegetround.c: Likewise.
11553 * math/feholdexcpt.c: Likewise.
11554 * math/fesetenv.c: Likewise.
11555 * math/fesetround.c: Likewise.
11556 * math/feupdateenv.c: Likewise.
11557 * math/fgetexcptflg.c: Likewise.
11558 * math/fraiseexcpt.c: Likewise.
11559 * math/fsetexcptflg.c: Likewise.
11560 * math/ftestexcept.c: Likewise.
11561 * math/k_cosl.c: Likewise.
11562 * math/k_rem_pio2l.c: Likewise.
11563 * math/k_sinl.c: Likewise.
11564 * math/k_tanl.c: Likewise.
11565 * math/s_asinhl.c: Likewise.
11566 * math/s_atanl.c: Likewise.
11567 * math/s_cbrtl.c: Likewise.
11568 * math/s_erfl.c: Likewise.
11569 * math/s_expm1l.c: Likewise.
11570 * math/s_log1pl.c: Likewise.
11571 * math/s_tanhl.c: Likewise.
11572 * misc/acct.c: Likewise.
11573 * misc/brk.c: Likewise.
11574 * misc/chflags.c: Likewise.
11575 * misc/chroot.c: Likewise.
11576 * misc/fchflags.c: Likewise.
11577 * misc/fgetxattr.c: Likewise.
11578 * misc/flistxattr.c: Likewise.
11579 * misc/fremovexattr.c: Likewise.
11580 * misc/fsetxattr.c: Likewise.
11581 * misc/fsync.c: Likewise.
11582 * misc/ftruncate.c: Likewise.
11583 * misc/futimes.c: Likewise.
11584 * misc/futimesat.c: Likewise.
11585 * misc/getdomain.c: Likewise.
11586 * misc/getdtsz.c: Likewise.
11587 * misc/gethostid.c: Likewise.
11588 * misc/gethostname.c: Likewise.
11589 * misc/getloadavg.c: Likewise.
11590 * misc/getpagesize.c: Likewise.
11591 * misc/getsysstats.c: Likewise.
11592 * misc/getxattr.c: Likewise.
11593 * misc/gtty.c: Likewise.
11594 * misc/ioctl.c: Likewise.
11595 * misc/lgetxattr.c: Likewise.
11596 * misc/listxattr.c: Likewise.
11597 * misc/llistxattr.c: Likewise.
11598 * misc/lremovexattr.c: Likewise.
11599 * misc/lsetxattr.c: Likewise.
11600 * misc/lutimes.c: Likewise.
11601 * misc/madvise.c: Likewise.
11602 * misc/mincore.c: Likewise.
11603 * misc/mlock.c: Likewise.
11604 * misc/mlockall.c: Likewise.
11605 * misc/mmap.c: Likewise.
11606 * misc/mprotect.c: Likewise.
11607 * misc/msync.c: Likewise.
11608 * misc/munlock.c: Likewise.
11609 * misc/munlockall.c: Likewise.
11610 * misc/munmap.c: Likewise.
11611 * misc/preadv.c: Likewise.
11612 * misc/preadv64.c: Likewise.
11613 * misc/ptrace.c: Likewise.
11614 * misc/pwritev.c: Likewise.
11615 * misc/pwritev64.c: Likewise.
11616 * misc/readv.c: Likewise.
11617 * misc/reboot.c: Likewise.
11618 * misc/remap_file_pages.c: Likewise.
11619 * misc/removexattr.c: Likewise.
11620 * misc/revoke.c: Likewise.
11621 * misc/select.c: Likewise.
11622 * misc/setdomain.c: Likewise.
11623 * misc/setegid.c: Likewise.
11624 * misc/seteuid.c: Likewise.
11625 * misc/sethostid.c: Likewise.
11626 * misc/sethostname.c: Likewise.
11627 * misc/setregid.c: Likewise.
11628 * misc/setreuid.c: Likewise.
11629 * misc/setxattr.c: Likewise.
11630 * misc/sstk.c: Likewise.
11631 * misc/stty.c: Likewise.
11632 * misc/swapoff.c: Likewise.
11633 * misc/swapon.c: Likewise.
11634 * misc/sync.c: Likewise.
11635 * misc/syncfs.c: Likewise.
11636 * misc/syscall.c: Likewise.
11637 * misc/truncate.c: Likewise.
11638 * misc/ualarm.c: Likewise.
11639 * misc/usleep.c: Likewise.
11640 * misc/ustat.c: Likewise.
11641 * misc/utimes.c: Likewise.
11642 * misc/vhangup.c: Likewise.
11643 * misc/writev.c: Likewise.
11644 * posix/_exit.c: Likewise.
11645 * posix/alarm.c: Likewise.
11646 * posix/execve.c: Likewise.
11647 * posix/fexecve.c: Likewise.
11648 * posix/fork.c: Likewise.
11649 * posix/fpathconf.c: Likewise.
11650 * posix/getaddrinfo.c: Likewise.
11651 * posix/getegid.c: Likewise.
11652 * posix/geteuid.c: Likewise.
11653 * posix/getgid.c: Likewise.
11654 * posix/getgroups.c: Likewise.
11655 * posix/getlogin.c: Likewise.
11656 * posix/getlogin_r.c: Likewise.
11657 * posix/getpgid.c: Likewise.
11658 * posix/getpid.c: Likewise.
11659 * posix/getppid.c: Likewise.
11660 * posix/getresgid.c: Likewise.
11661 * posix/getresuid.c: Likewise.
11662 * posix/getsid.c: Likewise.
11663 * posix/getuid.c: Likewise.
11664 * posix/glob64.c: Likewise.
11665 * posix/nanosleep.c: Likewise.
11666 * posix/pathconf.c: Likewise.
11667 * posix/pause.c: Likewise.
11668 * posix/posix_madvise.c: Likewise.
11669 * posix/pread.c: Likewise.
11670 * posix/pread64.c: Likewise.
11671 * posix/pwrite.c: Likewise.
11672 * posix/pwrite64.c: Likewise.
11673 * posix/sched_getaffinity.c: Likewise.
11674 * posix/sched_getp.c: Likewise.
11675 * posix/sched_gets.c: Likewise.
11676 * posix/sched_primax.c: Likewise.
11677 * posix/sched_primin.c: Likewise.
11678 * posix/sched_rr_gi.c: Likewise.
11679 * posix/sched_setaffinity.c: Likewise.
11680 * posix/sched_setp.c: Likewise.
11681 * posix/sched_sets.c: Likewise.
11682 * posix/sched_yield.c: Likewise.
11683 * posix/setgid.c: Likewise.
11684 * posix/setlogin.c: Likewise.
11685 * posix/setpgid.c: Likewise.
11686 * posix/setresgid.c: Likewise.
11687 * posix/setresuid.c: Likewise.
11688 * posix/setsid.c: Likewise.
11689 * posix/setuid.c: Likewise.
11690 * posix/sleep.c: Likewise.
11691 * posix/spawni.c: Likewise.
11692 * posix/sysconf.c: Likewise.
11693 * posix/times.c: Likewise.
11694 * posix/wait.c: Likewise.
11695 * posix/wait3.c: Likewise.
11696 * posix/wait4.c: Likewise.
11697 * posix/waitpid.c: Likewise.
11698 * resolv/gai_sigqueue.c: Likewise.
11699 * resource/getpriority.c: Likewise.
11700 * resource/getrlimit.c: Likewise.
11701 * resource/getrusage.c: Likewise.
11702 * resource/nice.c: Likewise.
11703 * resource/setpriority.c: Likewise.
11704 * resource/setrlimit.c: Likewise.
11705 * resource/ulimit.c: Likewise.
11706 * rt/aio_cancel.c: Likewise.
11707 * rt/aio_fsync.c: Likewise.
11708 * rt/aio_read.c: Likewise.
11709 * rt/aio_sigqueue.c: Likewise.
11710 * rt/aio_suspend.c: Likewise.
11711 * rt/aio_write.c: Likewise.
11712 * rt/clock_getres.c: Likewise.
11713 * rt/clock_gettime.c: Likewise.
11714 * rt/clock_nanosleep.c: Likewise.
11715 * rt/clock_settime.c: Likewise.
11716 * rt/lio_listio.c: Likewise.
11717 * rt/mq_close.c: Likewise.
11718 * rt/mq_getattr.c: Likewise.
11719 * rt/mq_notify.c: Likewise.
11720 * rt/mq_open.c: Likewise.
11721 * rt/mq_receive.c: Likewise.
11722 * rt/mq_send.c: Likewise.
11723 * rt/mq_setattr.c: Likewise.
11724 * rt/mq_timedreceive.c: Likewise.
11725 * rt/mq_timedsend.c: Likewise.
11726 * rt/mq_unlink.c: Likewise.
11727 * rt/shm_open.c: Likewise.
11728 * rt/shm_unlink.c: Likewise.
11729 * rt/timer_create.c: Likewise.
11730 * rt/timer_delete.c: Likewise.
11731 * rt/timer_getoverr.c: Likewise.
11732 * rt/timer_gettime.c: Likewise.
11733 * rt/timer_settime.c: Likewise.
11734 * setjmp/__longjmp.c: Likewise.
11735 * setjmp/setjmp.c: Likewise.
11736 * signal/kill.c: Likewise.
11737 * signal/killpg.c: Likewise.
11738 * signal/raise.c: Likewise.
11739 * signal/sigaction.c: Likewise.
11740 * signal/sigaltstack.c: Likewise.
11741 * signal/sigblock.c: Likewise.
11742 * signal/sigignore.c: Likewise.
11743 * signal/sigintr.c: Likewise.
11744 * signal/signal.c: Likewise.
11745 * signal/sigpause.c: Likewise.
11746 * signal/sigpending.c: Likewise.
11747 * signal/sigqueue.c: Likewise.
11748 * signal/sigreturn.c: Likewise.
11749 * signal/sigset.c: Likewise.
11750 * signal/sigsetmask.c: Likewise.
11751 * signal/sigstack.c: Likewise.
11752 * signal/sigsuspend.c: Likewise.
11753 * signal/sigtimedwait.c: Likewise.
11754 * signal/sigvec.c: Likewise.
11755 * signal/sigwait.c: Likewise.
11756 * signal/sigwaitinfo.c: Likewise.
11757 * signal/sysv_signal.c: Likewise.
11758 * socket/accept.c: Likewise.
11759 * socket/accept4.c: Likewise.
11760 * socket/bind.c: Likewise.
11761 * socket/connect.c: Likewise.
11762 * socket/getpeername.c: Likewise.
11763 * socket/getsockname.c: Likewise.
11764 * socket/getsockopt.c: Likewise.
11765 * socket/isfdtype.c: Likewise.
11766 * socket/listen.c: Likewise.
11767 * socket/recv.c: Likewise.
11768 * socket/recvfrom.c: Likewise.
11769 * socket/recvmsg.c: Likewise.
11770 * socket/send.c: Likewise.
11771 * socket/sendmsg.c: Likewise.
11772 * socket/sendto.c: Likewise.
11773 * socket/setsockopt.c: Likewise.
11774 * socket/shutdown.c: Likewise.
11775 * socket/sockatmark.c: Likewise.
11776 * socket/socket.c: Likewise.
11777 * socket/socketpair.c: Likewise.
11778 * stdio-common/ctermid.c: Likewise.
11779 * stdio-common/cuserid.c: Likewise.
11780 * stdio-common/remove.c: Likewise.
11781 * stdio-common/rename.c: Likewise.
11782 * stdio-common/renameat.c: Likewise.
11783 * stdio-common/tempname.c: Likewise.
11784 * stdlib/getcontext.c: Likewise.
11785 * stdlib/makecontext.c: Likewise.
11786 * stdlib/setcontext.c: Likewise.
11787 * stdlib/swapcontext.c: Likewise.
11788 * stdlib/system.c: Likewise.
11789 * streams/fattach.c: Likewise.
11790 * streams/fdetach.c: Likewise.
11791 * streams/getmsg.c: Likewise.
11792 * streams/getpmsg.c: Likewise.
11793 * streams/putmsg.c: Likewise.
11794 * streams/putpmsg.c: Likewise.
11795 * sysdeps/unix/bsd/getpt.c: Likewise.
11796 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11797 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11798 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11800 Likewise.
11801 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11802 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11803 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11804 * sysvipc/msgctl.c: Likewise.
11805 * sysvipc/msgget.c: Likewise.
11806 * sysvipc/msgrcv.c: Likewise.
11807 * sysvipc/msgsnd.c: Likewise.
11808 * sysvipc/semctl.c: Likewise.
11809 * sysvipc/semget.c: Likewise.
11810 * sysvipc/semop.c: Likewise.
11811 * sysvipc/semtimedop.c: Likewise.
11812 * sysvipc/shmat.c: Likewise.
11813 * sysvipc/shmctl.c: Likewise.
11814 * sysvipc/shmdt.c: Likewise.
11815 * sysvipc/shmget.c: Likewise.
11816 * termios/tcdrain.c: Likewise.
11817 * termios/tcflow.c: Likewise.
11818 * termios/tcflush.c: Likewise.
11819 * termios/tcgetattr.c: Likewise.
11820 * termios/tcgetpgrp.c: Likewise.
11821 * termios/tcsendbrk.c: Likewise.
11822 * termios/tcsetattr.c: Likewise.
11823 * termios/tcsetpgrp.c: Likewise.
11824 * time/adjtime.c: Likewise.
11825 * time/clock.c: Likewise.
11826 * time/getitimer.c: Likewise.
11827 * time/gettimeofday.c: Likewise.
11828 * time/setitimer.c: Likewise.
11829 * time/settimeofday.c: Likewise.
11830 * time/stime.c: Likewise.
11831 * time/time.c: Likewise.
11832
118332012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11834
11835 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11836 /usr/old/bin.
11837
11838 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11839 instead of spaces.
11840 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11841
118422012-11-03 Joseph Myers <joseph@codesourcery.com>
11843
11844 [BZ #14796]
11845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11846 FE_TONEAREST before applying Dekker multiplication and Knuth
11847 addition. Clear inexact exceptions and check for exact zero
11848 results afterwards.
11849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11850 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11851 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11852 * math/libm-test.inc (fma_test): Add more tests.
11853 (fma_test_towardzero): Likewise.
11854 (fma_test_downward): Likewise.
11855 (fma_test_upward): Likewise.
11856 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11857 function.
11858 (libc_fesetround): New macro.
11859 (libc_fesetroundf): Likewise.
11860 (libc_fesetroundl): Likewise.
11861 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11862 function.
11863 (libc_fesetround_387): Likewise.
11864 (libc_fesetroundf): New macro.
11865 (libc_fesetround): Likewise.
11866 (libc_fesetroundl): Likewise.
11867 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11868 function.
11869 (libc_fesetroundf): New macro.
11870 (libc_fesetround): Likewise.
11871 (libc_fesetroundl): Likewise.
11872 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11873 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11874 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11875 libm_hidden_ver.
11876 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11877 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11878 libm_hidden_def.
11879 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11880 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11881 libm_hidden_ver.
11882 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11883 libm_hidden_def.
11884
11885 [BZ #3439]
11886 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11887 integer constant usable in #if and use that to give value to enum
11888 constant.
11889 (FE_DIVBYZERO): Likewise.
11890 (FE_UNDERFLOW): Likewise.
11891 (FE_OVERFLOW): Likewise.
11892 (FE_INVALID): Likewise.
11893 (FE_INVALID_SNAN): Likewise.
11894 (FE_INVALID_ISI): Likewise.
11895 (FE_INVALID_IDI): Likewise.
11896 (FE_INVALID_ZDZ): Likewise.
11897 (FE_INVALID_IMZ): Likewise.
11898 (FE_INVALID_COMPARE): Likewise.
11899 (FE_INVALID_SOFTWARE): Likewise.
11900 (FE_INVALID_SQRT): Likewise.
11901 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11902 (FE_TONEAREST): Likewise.
11903 (FE_TOWARDZERO): Likewise.
11904 (FE_UPWARD): Likewise.
11905 (FE_DOWNWARD): Likewise.
11906 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11907 (FE_DIVBYZERO): Likewise.
11908 (FE_OVERFLOW): Likewise.
11909 (FE_UNDERFLOW): Likewise.
11910 (FE_INEXACT): Likewise.
11911 (FE_TONEAREST): Likewise.
11912 (FE_DOWNWARD): Likewise.
11913 (FE_UPWARD): Likewise.
11914 (FE_TOWARDZERO): Likewise.
11915 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11916 (FE_UNDERFLOW): Likewise.
11917 (FE_OVERFLOW): Likewise.
11918 (FE_DIVBYZERO): Likewise.
11919 (FE_INVALID): Likewise.
11920 (FE_TONEAREST): Likewise.
11921 (FE_TOWARDZERO): Likewise.
11922 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11923 (FE_OVERFLOW): Likewise.
11924 (FE_UNDERFLOW): Likewise.
11925 (FE_DIVBYZERO): Likewise.
11926 (FE_INEXACT): Likewise.
11927 (FE_TONEAREST): Likewise.
11928 (FE_TOWARDZERO): Likewise.
11929 (FE_UPWARD): Likewise.
11930 (FE_DOWNWARD): Likewise.
11931 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11932 (FE_DIVBYZERO): Likewise.
11933 (FE_OVERFLOW): Likewise.
11934 (FE_UNDERFLOW): Likewise.
11935 (FE_INEXACT): Likewise.
11936 (FE_TONEAREST): Likewise.
11937 (FE_DOWNWARD): Likewise.
11938 (FE_UPWARD): Likewise.
11939 (FE_TOWARDZERO): Likewise.
11940
119412012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11942
11943 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11944
119452012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11946
11947 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11948 commands. Quote $PWD.
11949 (blacklist_exports): Don't use remove_newlines. Replace "declare
11950 -x" by "export".
11951 (remove_newlines): Remove.
11952
119532012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11954
11955 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11956 * stdlib/stdlib.h (atof): Moved to ...
11957 * include/bits/stdlib-float.h: Here. New file.
11958 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11959 * stdlib/bits/stdlib-float.h: New file.
11960 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11961 -mno-sse -mno-mmx.
11962 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11963 <xmmintrin.h>.
11964
119652012-11-02 Joseph Myers <joseph@codesourcery.com>
11966
11967 * conform/conformtest.pl (@headers): Add fenv.h.
11968 * conform/data/fenv.h-data: New file.
11969 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11970 include of <math/fenv.h>.
11971
11972 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11973 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11974 && !UNIX98]. Enables tests for XOPEN2K8.
11975 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11976 POSIX2008]: Likewise.
11977
11978 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11979 (struct rusage): Do not expect type or its members.
11980
11981 [BZ #3439]
11982 * math/math.h (FP_NAN): Define macro to integer constant usable in
11983 #if and use that to give value to enum constant.
11984 (FP_INFINITE): Likewise.
11985 (FP_ZERO): Likewise.
11986 (FP_SUBNORMAL): Likewise.
11987 (FP_NORMAL): Likewise.
11988
119892012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11990
11991 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11992 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11993 arguments.
11994
119952012-11-02 Roland McGrath <roland@hack.frob.com>
11996
11997 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11998 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11999 autoconf-time if not.
12000 * configure.in: Remove AC_PREREQ.
12001
120022012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12003
12004 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12005 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12006 of the internal implementation.
12007
120082012-11-02 Joseph Myers <joseph@codesourcery.com>
12009
12010 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12011 except include of <misc/sys/syslog.h>.
12012
120132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12014
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12016 function returns with a NULL context exit with zero.
12017
120182012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12019
12020 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12021
120222012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12025 (run_program_cmd): This.
12026 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12027 (tst_langinfo): New variable. Use it.
12028
120292012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12030
12031 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12032 floating point opcodes.
12033
120342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12035
12036 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12037 variable.
12038
12039 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12040
12041 * sysdeps/mach/hurd/powerpc: Remove directory.
12042 * sysdeps/mach/powerpc: Likewise.
12043
120442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12045
12046 * scripts/check-local-headers.sh: Ignore c++ headers.
12047
120482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12049
12050 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12051 __libc_cleanup_region_start argument.
12052
120532012-11-01 Joseph Myers <joseph@codesourcery.com>
12054
12055 [BZ #14784]
12056 [BZ #14785]
12057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12058 x * y using scaling, not as x * y + z.
12059 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12060 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12061 * math/libm-test.inc (fma_test): Add more tests.
12062 (fma_test_towardzero): Likewise.
12063 (fma_test_downward): Likewise.
12064 (fma_test_upward): Likewise.
12065
120662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12067
12068 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12069
120702012-10-31 Joseph Myers <joseph@codesourcery.com>
12071
12072 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12073 New variable.
12074
120752012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12076
12077 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12078
120792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12080
12081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12082 Fix sort order.
12083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12084 Likewise.
12085
120862012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12087
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12089 Fix the order of the list for glibc 2.17.
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12091 Likewise.
12092
120932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12094
12095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12096
120972012-10-31 Joseph Myers <joseph@codesourcery.com>
12098
12099 [BZ #14610]
12100 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12101 for low part of x being zero before using __atanl (y).
12102 * math/libm-test.inc (atan2_test): Add another test.
12103
12104 * manual/install.texi (Configuring and compiling): Document
12105 general use of test-wrapper and test-wrapper-env.
12106 * INSTALL: Regenerated.
12107
12108 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12109 (__fma): Do not extract and scale down low bits on after-rounding
12110 systems when result rounded to normal precision would have normal
12111 exponent.
12112 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12113 (__fmal): Do not extract and scale down low bits on after-rounding
12114 systems when result rounded to normal precision would have normal
12115 exponent.
12116 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12117 (__fmal): Do not extract and scale down low bits on after-rounding
12118 systems when result rounded to normal precision would have normal
12119 exponent.
12120 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12121 macro.
12122 (fma_test): Add more tests.
12123 (fma_test_towardzero): Likewise.
12124 (fma_test_downward): Likewise.
12125 (fma_test_upward): Likewise.
12126
121272012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12128
12129 * sysdeps/i386/tininess.h: Renamed to ...
12130 * sysdeps/x86/tininess.h: This.
12131 * sysdeps/x86_64/tininess.h: Removed.
12132
121332012-10-30 Joseph Myers <joseph@codesourcery.com>
12134
12135 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12136 input. Use $(build-program-cmd).
12137 ($(objpfx)tst-array1-static.out): Likewise.
12138 ($(objpfx)tst-array2.out): Likewise.
12139 ($(objpfx)tst-array3.out): Likewise.
12140 ($(objpfx)tst-array4.out): Likewise.
12141 ($(objpfx)tst-array5.out): Likewise.
12142 ($(objpfx)tst-array5-static.out): Likewise.
12143
121442012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12145
12146 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12147 if defined.
12148
12149 * nss/nsswitch.h (nss_interface_function): Provide new
12150 macro for use with NSS functions.
12151 * grp/initgroups.c: Use new macro.
12152 * nss/getXXbyYY.c: Likewise.
12153 * nss/getXXbyYY_r.c: Likewise.
12154 * nss/getXXent.c: Likewise.
12155 * nss/getXXent_r.c: Likewise.
12156 * sysdeps/posix/getaddrinfo.c: Likewise.
12157
121582012-10-30 Andreas Jaeger <aj@suse.de>
12159
12160 * po/ru.po: Update Russion translation from translation project.
12161
121622012-10-30 Joseph Myers <joseph@codesourcery.com>
12163
12164 [BZ #14152]
12165 [BZ #14783]
12166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12167 result and shift together with sticky bit instead of replicating
12168 round-to-nearest rounding.
12169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12170 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12171 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12172 missing underflow exceptions.
12173 (fma_test_towardzero): Add more tests.
12174 (fma_test_downward): Likewise.
12175 (fma_test_upward): Likewise.
12176
12177 [BZ #14047]
12178 * sysdeps/generic/tininess.h: New file.
12179 * sysdeps/i386/tininess.h: Likewise.
12180 * sysdeps/sh/tininess.h: Likewise.
12181 * sysdeps/x86_64/tininess.h: Likewise.
12182 * stdlib/tst-strtod-underflow.c: Likewise.
12183 * stdlib/tst-tininess.c: Likewise.
12184 * stdlib/strtod_l.c: Include <tininess.h>.
12185 (round_and_return): Do not set errno for exact underflow cases.
12186 Force an underflow exception when setting errno for underflow.
12187 Determine underflow based on rounding to normal precision if
12188 TININESS_AFTER_ROUNDING.
12189 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12190 ERANGE for exact underflow cases.
12191 * stdlib/Makefile (tests): Add tst-tininess and
12192 tst-strtod-underflow.
12193 ($(objpfx)tst-tininess): Use $(link-libm).
12194 ($(objpfx)tst-strtod-underflow): Likewise.
12195
121962012-10-30 Andreas Jaeger <aj@suse.de>
12197
12198 [BZ#14767]
12199 * elf/Makefile (tests): Remove conditional for have-initfini-array
12200 since this is now always required and the variable does not exist
12201 anymore.
12202 (tests-static): Likewise.
12203 (modules-names): Likewise.
12204
12205 * po/eo.po: Add Esperanto translation from translation project.
12206
12207 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12208 merged with constructor/destructor.
12209 (init_array): Likewise.
12210 * elf/tst-array2dep.c (fini_array): Likewise.
12211 (init_array): Likewise.
12212
122132012-10-29 Mike Frysinger <vapier@gentoo.org>
12214
12215 * manual/message.texi: Delete @cartouche tags.
12216
122172012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12218
12219 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12220 EOPNOTSUPP.
12221 * sysdeps/mach/hurd/fsync.c: Likewise.
12222
12223 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12224 [_POSIX_REALTIME_SIGNALS]: Change condition to
12225 [_POSIX_REALTIME_SIGNALS > 0].
12226
122272012-10-27 Andreas Jaeger <aj@suse.de>
12228
12229 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12230 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12232 [__WORDSIZE != 64]: Likewise.
12233
122342012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 * iconvdata/tst-table.sh: Remove ${SHELL}.
12237 * iconvdata/tst-tables.sh: Likewise.
12238
122392012-10-25 David S. Miller <davem@davemloft.net>
12240
12241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12242 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12243 of strtoull.
12244
12245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12246 ifunc-impl-list.c
12247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12248 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12249 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12250 file.
12251
122522012-10-25 Roland McGrath <roland@hack.frob.com>
12253
12254 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12255 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12256 __getdirentries.
12257
122582012-10-25 Joseph Myers <joseph@codesourcery.com>
12259 Jim Blandy <jimb@codesourcery.com>
12260
12261 * scripts/cross-test-ssh.sh: New file.
12262 * manual/install.texi (Configuring and compiling): Document use of
12263 cross-test-ssh.sh.
12264 * INSTALL: Regenerated.
12265
122662012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12267
12268 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12269 EOPNOTSUPP.
12270
122712012-10-25 Joseph Myers <joseph@codesourcery.com>
12272
12273 * Makeconfig (run-program-prefix): Fix comment.
12274
122752012-10-24 Joseph Myers <joseph@codesourcery.com>
12276 Jim Blandy <jimb@codesourcery.com>
12277
12278 * Makeconfig (test-wrapper): New variable,
12279 (test-wrapper-env): Likewise.
12280 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12281 (run-built-tests): Define to yes.
12282 (run-program-prefix): Use $(test-wrapper).
12283 (built-program-cmd): Likewise.
12284 * Rules (make-test-out): Use $(test-wrapper-env) and
12285 $(host-built-program-cmd).
12286 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12287 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12288 tst-pathopt.sh.
12289 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12290 $(test-wrapper-env) to tst-rtld-load-self.sh.
12291 ($(objpfx)order2.out): Use $(test-wrapper).
12292 ($(objpfx)tst-initorder.out): Likewise.
12293 ($(objpfx)tst-initorder2.out): Likewise.
12294 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12295 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12296 (test_wrapper_env): New variable. Use it to run ld.so.
12297 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12298 Use it to run ld.so.
12299 (test_wrapper_env): Likewise.
12300 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12301 $(test-wrapper) to run-iconv-test.sh.
12302 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12303 (ICONV): Use $test_wrapper.
12304 * posix/Makefile ($(objpfx)globtest.out): Pass
12305 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12306 globtest.sh, not $(run-program-prefix).
12307 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12308 (test_wrapper): Likewise.
12309 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12310 set together with run_via_rtld_prefix.
12311 (run_program_prefix): Define in terms of test_wrapper and
12312 run_via_rtld_prefix.
12313
123142012-10-24 Roland McGrath <roland@hack.frob.com>
12315
12316 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12317 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12318 Targets removed.
12319
12320 [BZ #14743]
12321 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12322 Declare __clock_getres, __clock_gettime, __clock_settime,
12323 __clock_nanosleep, and __clock_getcpuclockid.
12324 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12325 Remove librt_hidden_def (clock_gettime).
12326 * sysdeps/unix/clock_gettime.c: Likewise.
12327 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12329 * rt/clock_getres.c: Define __clock_getres as an alias.
12330 * sysdeps/posix/clock_getres.c: Likewise.
12331 * rt/clock_settime.c: Define __clock_settime as an alias.
12332 * sysdeps/unix/clock_settime.c: Likewise.
12333 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12334 * sysdeps/unix/clock_nanosleep.c: Likewise.
12335 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12336 * rt/clock-compat.c: New file.
12337 * rt/Makefile (librt-routines): Add clock-compat and move
12338 $(clock-routines) to ...
12339 (routines): ... here, new variable.
12340 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12341 Don't add get_clockfreq here.
12342 * rt/Versions (libc: GLIBC_2.17): New version set.
12343 Add clock_* symbols here.
12344 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12345 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12346 (GLIBC_2.17): Add clock_* symbols.
12347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12349 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12351 Likewise.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12353 Likewise.
12354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12358 * NEWS: Mention the move.
12359
12360 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12361 Use __open, __read, __close rather than their public counterparts.
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12363 (__get_clockfreq_via_cpuinfo): Likewise.
12364 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12365 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12366
12367 * config.h.in (HAVE_IFUNC): New #undef.
12368 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12369 was successful.
12370 * configure: Regenerated.
12371
123722012-10-24 Mike Frysinger <vapier@gentoo.org>
12373
12374 * configure.in: Move READELF check to start of file.
12375 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12376 libc_cv_asm_gnu_indirect_function in the process.
12377 * configure: Regenerated.
12378
123792012-10-24 Mike Frysinger <vapier@gentoo.org>
12380
12381 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12382 send the output to /dev/null.
12383 (libc_cv_cc_with_libunwind): Likewise.
12384 (libc_cv_as_noexecstack): Likewise.
12385 * configure: Regenerate.
12386
123872012-10-24 Joseph Myers <joseph@codesourcery.com>
12388
12389 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12390
12391 * posix/globtest.sh (TMPDIR): Do not set.
12392 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12393 (testout): Likewise.
12394
123952012-10-24 Andreas Jaeger <aj@suse.de>
12396
12397 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12398 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12399 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12400 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12401 posix_fadvise64, posix_fallocate64.
12402
12403 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12404 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12405 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12406 Likewise.
12407 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12408 Likewise.
12409 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12410
12411 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12412 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12413 <bits/fcntl-linux.h>.
12414 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12415
12416 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12417 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12418 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12419 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12420 [__WORDSIZE != 64]: Likewise.
12421
124222012-10-23 Joseph Myers <joseph@codesourcery.com>
12423
12424 * Makeconfig (run-built-tests): New variable.
12425 * Rules [$(cross-compiling) = yes]: Change condition to
12426 [$(run-built-tests) = no].
12427 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12428 to [$(run-built-tests) = yes].
12429 * elf/Makefile [$(cross-compiling) = no]: Likewise
12430 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12431 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12432 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12433 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12434 * io/Makefile [$(cross-compiling) = no]: Likewise.
12435 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12436 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12437 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12438 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12439 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12440 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12441 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12442 * string/Makefile [$(cross-compiling) = no]: Likewise.
12443
12444 * posix/Makefile ($(objpfx)globtest.out): Pass
12445 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12446 $(rtld-installed-name).
12447 * posix/globtest.sh (elf_objpfx): Remove variable.
12448 (rtld_installed_name): Likewise.
12449 (library_path): Likewise.
12450 (run_program_prefix): New variable. Use for running globtest
12451 binary.
12452
124532012-10-23 Jim Blandy <jimb@codesourcery.com>
12454 Joseph Myers <joseph@codesourcery.com>
12455
12456 * Makeconfig (host-built-program-cmd): New variable.
12457 * elf/Makefile (tst-stackguard1-ARGS): Use
12458 $(host-built-program-cmd).
12459 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12460 (tst-spawn-ARGS): Likewise.
12461 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12462
124632012-10-23 Joseph Myers <joseph@codesourcery.com>
12464 Jim Blandy <jimb@codesourcery.com>
12465
12466 * Makeconfig (run-via-rtld-prefix): New variable.
12467 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12468 (built-program-cmd): Likewise.
12469
124702012-10-22 Andreas Jaeger <aj@suse.de>
12471
12472 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12473 __O_RSYNC if it exists, otherwise to O_SYNC.
12474
124752012-10-22 Jim Blandy <jimb@codesourcery.com>
12476 Joseph Myers <joseph@codesourcery.com>
12477
12478 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12479 /dev/null.
12480 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12481 from /dev/null
12482 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12483 /dev/null.
12484
124852012-10-22 Andreas Jaeger <aj@suse.de>
12486
12487 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12488 Define always.
12489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12490
12491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12492 bits/fcntl-linux.h.
12493
12494 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12495 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12496
12497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12498 to __O_LARGEFILE.
12499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12500 to __O_LARGEFILE.
12501
125022012-10-21 Jim Blandy <jimb@codesourcery.com>
12503 Joseph Myers <joseph@codesourcery.com>
12504
12505 * config.make.in (NM): New variable.
12506
125072012-10-21 Andreas Jaeger <aj@suse.de>
12508
12509 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12510 definitions and declarations that are provided by
12511 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12512
125132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12514
12515 [BZ #14683]
12516 * elf/Makefile (tests-static): Add tst-leaks1-static.
12517 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12518 ($(objpfx)tst-leaks1-static): New rule.
12519 ($(objpfx)tst-leaks1-static-mem): Likewise.
12520 (tst-leaks1-static-ENV): New macro.
12521 * elf/dl-open.c (dl_open_worker): Check the main application
12522 only if SHARED is defined.
12523 * elf/tst-leaks1-static.c: New file.
12524
125252012-10-20 Andreas Jaeger <aj@suse.de>
12526
12527 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12528 generic values for Linux.
12529 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12530 and declarations that are provided by <bits/fcntl-linux.h> and
12531 include <bits/fcntl-linux.h>.
12532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12533 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12534
125352012-10-20 Roland McGrath <roland@hack.frob.com>
12536
12537 * io/fcntl.h: Move include of <bits/types.h> to the top and
12538 include it unconditionally.
12539
125402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * wcsmbs/Makefile (tests-ifunc): New variable.
12543 (tests): Add $(tests-ifunc).
12544 * wcsmbs/test-wcschr-ifunc.c: New file.
12545 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12546 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12547 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12548 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12549 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12550
12551 * string/Makefile (tests-ifunc): New variable.
12552 (tests): Add $(tests-ifunc).
12553 * string/test-memccpy.c (TEST_NAME): New macro.
12554 * string/test-memchr.c (TEST_NAME): Likewise.
12555 * string/test-memcmp.c (TEST_NAME): Likewise.
12556 * string/test-memcpy.c (TEST_NAME): Likewise.
12557 * string/test-memmem.c (TEST_NAME): Likewise.
12558 * string/test-memmove.c (TEST_NAME): Likewise.
12559 * string/test-memset.c (TEST_NAME): Likewise.
12560 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12561 * string/test-stpcpy.c (TEST_NAME): Likewise.
12562 * string/test-stpncpy.c (TEST_NAME): Likewise.
12563 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12564 * string/test-strcasestr.c (TEST_NAME): Likewise.
12565 * string/test-strcat.c (TEST_NAME): Likewise.
12566 * string/test-strchr.c (TEST_NAME): Likewise.
12567 * string/test-strcmp.c(TEST_NAME): Likewise.
12568 * string/test-strcpy.c (TEST_NAME): Likewise.
12569 * string/test-strcspn.c (TEST_NAME): Likewise.
12570 * string/test-strlen.c (TEST_NAME): Likewise.
12571 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12572 * string/test-strncmp.c (TEST_NAME): Likewise.
12573 * string/test-strncpy.c (TEST_NAME): Likewise.
12574 * string/test-strnlen.c (TEST_NAME): Likewise.
12575 * string/test-strpbrk.c (TEST_NAME): Likewise.
12576 * string/test-strrchr.c (TEST_NAME): Likewise.
12577 * string/test-strspn.c (TEST_NAME): Likewise.
12578 * string/test-strstr.c (TEST_NAME): Likewise.
12579 * string/test-bcopy-ifunc.c: New file.
12580 * string/test-bzero-ifunc.c: Likewise.
12581 * string/test-memccpy-ifunc.c: Likewise.
12582 * string/test-memchr-ifunc.c: Likewise.
12583 * string/test-memcmp-ifunc.c: Likewise.
12584 * string/test-memcpy-ifunc.c: Likewise.
12585 * string/test-memmem-ifunc.c: Likewise.
12586 * string/test-memmove-ifunc.c: Likewise.
12587 * string/test-mempcpy-ifunc.c: Likewise.
12588 * string/test-memset-ifunc.c: Likewise.
12589 * string/test-rawmemchr-ifunc.c: Likewise.
12590 * string/test-stpcpy-ifunc.c: Likewise.
12591 * string/test-stpncpy-ifunc.c: Likewise.
12592 * string/test-strcasecmp-ifunc.c: Likewise.
12593 * string/test-strcasestr-ifunc.c: Likewise.
12594 * string/test-strcat-ifunc.c: Likewise.
12595 * string/test-strchr-ifunc.c: Likewise.
12596 * string/test-strchrnul-ifunc.c: Likewise.
12597 * string/test-strcmp-ifunc.c: Likewise.
12598 * string/test-strcpy-ifunc.c: Likewise.
12599 * string/test-strcspn-ifunc.c: Likewise.
12600 * string/test-strlen-ifunc.c: Likewise.
12601 * string/test-strncasecmp-ifunc.c: Likewise.
12602 * string/test-strncat-ifunc.c: Likewise.
12603 * string/test-strncmp-ifunc.c: Likewise.
12604 * string/test-strncpy-ifunc.c: Likewise.
12605 * string/test-strnlen-ifunc.c: Likewise.
12606 * string/test-strpbrk-ifunc.c: Likewise.
12607 * string/test-strrchr-ifunc.c: Likewise.
12608 * string/test-strspn-ifunc.c: Likewise.
12609 * string/test-strstr-ifunc.c: Likewise.
12610
12611 * debug/Makefile (tests-ifunc): New variable.
12612 (tests): Add $(tests-ifunc).
12613 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12614 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12615 * debug/test-stpcpy_chk-ifunc.c: New file.
12616 * debug/test-strcpy_chk-ifunc.c: Likewise.
12617
126182012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12619
12620 [BZ #13601]
12621 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12622 header is not read in.
12623
126242012-10-19 Joseph Myers <joseph@codesourcery.com>
12625
12626 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12627 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12628 directly. Pass built executable to script as
12629 $(built-program-cmd).
12630 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12631 $testprogram without using LD_LIBRARY_PATH and $ldso.
12632
12633 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12634 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12635 $(rtld-installed-name).
12636 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12637 (rtld_installed_name): Likewise.
12638 (library_path): Likewise.
12639 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12640 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12641 $(run-program-prefix) to tst-tables.sh.
12642 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12643 it to run tst-table-from and tst-table-to.
12644 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12645 Pass it to tst-table.sh.
12646 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12647 $(run-program-prefix) to tst-gettext.sh.
12648 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12649 tst-translit.sh.
12650 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12651 tst-gettext2.sh.
12652 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12653 to run tst-gettext.
12654 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12655 to run tst-gettext2.
12656 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12657 to run tst-translit.
12658 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12659 $(run-program-prefix) to tst-mtrace.sh.
12660 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12661 to run tst-mtrace.
12662 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12663 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12664 $(rtld-installed-name).
12665 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12666 (rtld_installed_name): Likewise.
12667 (run_program_prefix): New variable. Use it to run wordexp-test.
12668
12669 * Makeconfig (ARCH): Remove all definitions.
12670 (machine): Likewise.
12671 [ARCH]: Remove conditional code.
12672 [!objdir]: Give error.
12673 [!objdir] (objpfx): Remove.
12674 [!objdir] (common-objpfx): Likewise.
12675 [!objdir] (common-objdir): Likewise.
12676 * configure.in (config_makefile): Remove. Hardcode Makefile in
12677 AC_CONFIG_FILES call.
12678 * configure: Regenerated.
12679
12680 [BZ #13888]
12681 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12682 or TMPDIR.
12683 (testout): Likewise.
12684
12685 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12686 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12687 $(rtld-installed-name).
12688 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12689 (rtld_installed_name): Likwise.
12690 (runit): Remove function.
12691 (run_getconf): New variable, Use it for running getconf binary.
12692
126932012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12694
12695 [BZ #14716]
12696 * string/test-memmem.c (check_result): New function.
12697 (do_one_test): Use it.
12698 (check1): New function.
12699 (test_main): Use it.
12700
127012012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12702
12703 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12704
127052012-10-18 Joseph Myers <joseph@codesourcery.com>
12706
12707 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12708 (_G_LSEEK64): Likewise.
12709 (_G_MMAP64): Likewise.
12710 (_G_FSTAT64): Likewise.
12711 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12712 (_G_LSEEK64): Likewise.
12713 (_G_MMAP64): Likewise.
12714 (_G_FSTAT64): Likewise.
12715 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12716 unconditional. Call __mmap64 directly.
12717 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12718 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12719 __lseek64 directly.
12720 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12721 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12722 __mmap64 directly.
12723 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12724 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12725 __lseek64 directly.
12726 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12727 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12728 __lseek64 directly.
12729 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12730 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12731 __lseek64 directly.
12732 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12733 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12734 __fxstat64 directly.
12735 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12736 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12737 unconditional.
12738 (freopen64) [!_G_OPEN64]: Remove conditional code.
12739 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12740 unconditional.
12741 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12742 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12743 unconditional.
12744 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12745 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12746 unconditional.
12747 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12748 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12749 unconditional.
12750 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12751 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12752 unconditional.
12753 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12754 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12755 unconditional.
12756 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12757 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12758 unconditional.
12759 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12760
127612012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
12763 [BZ #12140]
12764 * manual/memory.texi (Malloc Tunable Parameters): Add note
12765 about free list pointers overwriting some perturb bytes.
12766 Wording suggested by Roland McGrath.
12767
127682012-10-17 Joseph Myers <joseph@codesourcery.com>
12769
12770 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12771 (lgamma_test): Likewise.
12772 (tgamma_test): Likewise.
12773
127742012-10-16 Florian Weimer <fweimer@redhat.com>
12775
12776 [BZ #14700]
12777 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12778 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12779
127802012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12781
12782 * NEWS: Mention BZ #14716.
12783 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12784 when removing AVAILABLE1_USES_J macro.
12785
127862012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12787
12788 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12789 (__bswap_64): __uint64_t for unsigned 64-bit int.
12790
127912012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12792
12793 * include/string.h (memmem): Declare libc hidden alias.
12794 * string/memmem.c (memmem): Define libc hidden alias.
12795 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12796 __read, __close instead of open, read, close.
12797
127982012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12801 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12802 global and hidden.
12803 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12804 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12805 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12806 Likewise.
12807 (__rawmemchr_sse2): Likewise.
12808 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12809 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12810 (__strchr_sse2): Likewise.
12811 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12812 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12813 (__strcasecmp_sse2): Likewise.
12814 (__strncasecmp_sse2): Likewise.
12815 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12816 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12817 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12818 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12819 (__strrchr_sse2): Likewise.
12820 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12821 ifunc-impl-list.c.
12822 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12823 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12824 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12825 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12826 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12827 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12828 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12829 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12830 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12831 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12832 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12833 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12834 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12835 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12836 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12837 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12838 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12839 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12840 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12841 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12842 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12843 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12844 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12845 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12846 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12847 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12848 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12849 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12850 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12851 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12852
12853 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12854 global and hidden.
12855 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12856 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12857 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12858 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12859 Likewise.
12860 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12861 Likewise.
12862 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12863 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12864 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12865 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12866 ifunc-impl-list.c.
12867 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12868 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12869 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12870 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12871 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12872 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12873 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12874 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12875 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12876 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12877 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12878 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12879 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12880 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12881 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12882 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12883 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12884 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12885 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12886 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12887 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12888 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12889 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12890 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12891 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12892 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12893 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12894 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12895 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12896 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12897 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12898 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12899 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12900 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12901 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12902 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12903 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12904 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12905 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12906 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12907 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12908
12909 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12910 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12911 * include/ifunc-impl-list.h: New file.
12912 * misc/ifunc-impl-list.c: Likewise.
12913 * misc/Makefile (routines): Add ifunc-impl-list.
12914 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12915 * string/test-string.h: Include <ifunc-impl-list.h>.
12916 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12917 impl_array): New variables.
12918 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12919 are defined.
12920 (test_init): Call __libc_ifunc_impl_list to initialize
12921 func_list if TEST_IFUNC and TEST_NAME are defined.
12922
12923 * string/Makefile (strop-tests): Add bcopy and bzero.
12924 * string/test-bcopy.c: New file.
12925 * string/test-bzero.c: Likewise.
12926 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12927 defined.
12928 * string/test-memset.c: Support bzero test if TEST_BZERO is
12929 defined.
12930 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12931 __libc_memmove.
12932 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12933 __libc_memset.
12934 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12935 of memset.
12936
129372012-10-10 Joseph Myers <joseph@codesourcery.com>
12938
12939 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12940 * configure: Regenerated.
12941
12942 * Makeconfig (+link-static-before-libc): Don't include
12943 $(link-static-libc).
12944
12945 * libio/libio.h (_IO_pos_t): Remove.
12946
129472012-10-10 Alexandre Oliva <aoliva@redhat.com>
12948
12949 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12950 McGrath.
12951
129522012-10-10 Alexandre Oliva <aoliva@redhat.com>
12953
12954 * crypt/crypt-entry.c: Include fips-private.h.
12955 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12956 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12957 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12958 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12959
129602012-10-10 Alexandre Oliva <aoliva@redhat.com>
12961
12962 * crypt/crypt-private.h: Include stdbool.h.
12963 (_ufc_setup_salt_r): Return bool.
12964 * crypt/crypt-entry.c: Include errno.h.
12965 (__crypt_r): Return NULL with EINVAL for bad salt.
12966 * crypt/crypt_util.c (bad_for_salt): New.
12967 (_ufc_setup_salt_r): Check that salt is long enough and within
12968 the specified alphabet.
12969 * crypt/badsalttest.c: New file.
12970 * crypt/Makefile (tests): Add it.
12971 ($(objpfx)badsalttest): New.
12972
129732012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12974
12975 * NEWS: Add entry for BZ #14602.
12976
129772012-10-09 Joseph Myers <joseph@codesourcery.com>
12978
12979 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12980 type-generic.
12981 * math/libm-test.inc: Update comment listing what functions and
12982 macros are tested.
12983 (isgreater_test): New function.
12984 (isgreaterequal_test): Likewise.
12985 (isless_test): Likewise.
12986 (islessequal_test): Likewise.
12987 (islessgreater_test): Likewise.
12988 (isunordered_test): Likewise.
12989 (main): Call the new functions.
12990
129912012-10-09 Roland McGrath <roland@hack.frob.com>
12992
12993 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12994 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12995 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12996 * sysdeps/i386/configure: Regenerated.
12997 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12998 * sysdeps/mach/configure: Regenerated.
12999 * sysdeps/mach/hurd/configure: Regenerated.
13000 * sysdeps/powerpc/configure: Regenerated.
13001 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13002 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13003 * sysdeps/s390/s390-32/configure: Regenerated.
13004 * sysdeps/s390/s390-64/configure: Regenerated.
13005 * sysdeps/sh/configure: Regenerated.
13006 * sysdeps/sparc/configure: Regenerated.
13007 * sysdeps/unix/sysv/linux/configure: Regenerated.
13008 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13009 * sysdeps/x86_64/configure: Regenerated.
13010
13011 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13012 defined. Don't check if MAP is NULL.
13013
130142012-10-09 Joseph Myers <joseph@codesourcery.com>
13015
13016 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13017 (_G_stat64): Likewise.
13018 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13019 (_G_stat64): Likewise.
13020 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13021 instead of struct _G_stat64.
13022 * libio/fileops.c (mmap_remap_check): Likewise.
13023 (decide_maybe_mmap): Likewise.
13024 (_IO_new_file_seekoff): Likewise.
13025 (_IO_file_stat): Likewise.
13026 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13027 _G_off64_t.
13028 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13029 instead of struct _G_stat64.
13030 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13031
130322012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13033
13034 [BZ #14602]
13035 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13036 Replace with ...
13037 (CHECK_EOL): New macro.
13038 (two_way_short_needle): Check beginning of haystack for EOL. Use
13039 CHECK_EOL.
13040 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13041 Replace with CHECK_EOL.
13042 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13043 Replace with CHECK_EOL.
13044
130452012-10-08 Joseph Myers <joseph@codesourcery.com>
13046
13047 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13048 type-generic.
13049 * math/libm-test.inc: Update comment listing what functions and
13050 macros are tested.
13051 (finite_test): New function.
13052 (isinf_test): Likewise.
13053 (isnan_test): Likewise.
13054 (fpclassify_test): Test subnormal input.
13055 (isfinite_test): Likewise.
13056 (isnormal_test): Likewise.
13057 (main): Call the new functions.
13058
130592012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13060
13061 [BZ #14660]
13062 * Makerules (%.dynsym): Force C locale when running
13063 $(OBJDUMP) --dynamic-syms.
13064
130652012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13066
13067 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13068 <stdint.h>.
13069
130702012-10-06 David S. Miller <davem@davemloft.net>
13071
13072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13073 upper 32-bits of the length value in %o2 since we use branch-on-register
13074 tests which consider the entire 64-bit register.
13075
130762012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13077
13078 * string/test-strstr.c (check2): Add a test for page boundary.
13079
130802012-10-05 David S. Miller <davem@davemloft.net>
13081
13082 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13083 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13084 file.
13085 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13086 sysdep_routines.
13087 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13088 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13089 and bzero when HWCAP_SPARC_CRYPTO is present.
13090
130912012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 [BZ #14602]
13094 * string/test-strstr.c (check2): New function.
13095 (test_main): Call check2.
13096
13097 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13098 and bug-strchr1.
13099 * string/bug-strcasestr1.c (do_test): Moved to ...
13100 * string/test-strcasestr.c (check1): Here. New function.
13101 (do_one_test): Break out result checking code into ...
13102 (check_result): This. New function.
13103 (do_one_test): Call check_result.
13104 (test_main): Call check1.
13105 * string/bug-strchr1.c (do_test): Moved to ...
13106 * string/test-strchr.c (check1): Here. New function.
13107 (do_one_test): Break out result checking code into ...
13108 (check_result): This. New function.
13109 (do_one_test): Call check_result.
13110 (test_main): Call check1.
13111 * string/bug-strstr1.c (main): Moved to ...
13112 * string/test-strstr.c (check1): Here. New function.
13113 (do_one_test): Break out result checking code into ...
13114 (check_result): This. New function.
13115 (do_one_test): Call check_result.
13116 (test_main): Call check1.
13117 * string/bug-strcasestr1.c: Removed.
13118 * string/bug-strchr1.c: Likewise.
13119 * string/bug-strstr1.c: Likewise.
13120
13121 * elf/Makefile (dl-routines): Add hwcaps.
13122 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13123 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13124 (_dl_important_hwcaps): Moved to ...
13125 * elf/dl-hwcaps.c: Here. New file.
13126 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13127
13128 [BZ #14557]
13129 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13130 if IS_IN_rtld isn't defined.
13131
13132 * elf/dl-support.c (_dl_sysinfo_map): New.
13133 Include "get-dynamic-info.h" and "setup-vdso.h".
13134 (_dl_non_dynamic_init): Call setup_vdso.
13135 * elf/dynamic-link.h: Don't include <assert.h>.
13136 (elf_get_dynamic_info): Moved to ...
13137 * elf/get-dynamic-info.h: Here. New file.
13138 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13139 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13140 * elf/setup-vdso.h: Here. New file.
13141 * elf/rtld.c: Include "setup-vdso.h".
13142 (dl_main): Call setup_vdso.
13143
131442012-10-05 Joseph Myers <joseph@codesourcery.com>
13145
13146 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13147 creal in comment listing functions tested. List finite, isinf,
13148 isnan, isless, islessequal, isgreater, isgreaterequal,
13149 islessgreater, isunordered, lgamma_r and pow10 as functions and
13150 macros not tested. Mention which functions not tested are aliases
13151 for other functions. Fix typo. Note that signs of NaNs are not
13152 tested.
13153
13154 * scripts/config.guess: Update from config.git.
13155 * scripts/config.sub: Likewise.
13156
131572012-10-04 Roland McGrath <roland@hack.frob.com>
13158
13159 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13160 * misc/madvise.c (madvise): Renamed to __madvise.
13161 Make madvise a weak alias.
13162 * include/sys/mman.h: Declare __madvise.
13163 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13164 * sysdeps/unix/syscalls.list
13165 (madvise): Make __madvise the strong name, and madvise a weak alias.
13166 * sysdeps/unix/sysv/linux/syscalls.list
13167 (madvise, mmap): Remove redundant entries.
13168 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13169 * malloc/malloc.c (mtrim): Likewise.
13170 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13171
131722012-10-03 Roland McGrath <roland@hack.frob.com>
13173
13174 * sysdeps/mach/hurd/dl-cache.c: File removed.
13175 * config.h.in (USE_LDCONFIG): New #undef.
13176 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13177 * configure: Regenerated.
13178 * elf/Makefile (dl-routines): Add dl-cache only under
13179 [$(use-ldconfig) = yes].
13180 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13181 cache on [USE_LDCONFIG].
13182 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13183 [USE_LDCONFIG].
13184 * elf/rtld.c (dl_main): Likewise.
13185
131862012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13187
13188 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13189 _SC_LEVEL4_CACHE_LINESIZE.
13190
131912012-10-03 Roland McGrath <roland@hack.frob.com>
13192
13193 * sysdeps/unix/bsd/confstr.h: File removed.
13194
131952012-10-02 Alexandre Oliva <aoliva@redhat.com>
13196
13197 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13198 sys/sdt-config.h.
13199
132002012-10-02 Roland McGrath <roland@hack.frob.com>
13201
13202 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13203 Make 'mapoff' field ElfW(Off) rather than off_t.
13204
132052012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13206
13207 * nscd/Makefile: Remove nscd-cflags and all its users.
13208 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13209 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13210
13211 [BZ #10631]
13212 * malloc.c (malloc_printerr): Clarify error message.
13213
132142012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 [BZ #14648]
13217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13218 Set bit_FMA_Usable if FMA is supported.
13219 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13220 macro.
13221 (bit_FMA4_Usable): Updated.
13222 (index_FMA_Usable): New macro.
13223 (CPUID_FMA): Likewise
13224 (HAS_FMA): Defined with bit_FMA_Usable.
13225
132262012-10-01 Roland McGrath <roland@hack.frob.com>
13227
13228 * bits/types.h (__swblk_t): Type removed.
13229 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13230 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13232 (__SWBLK_T_TYPE): Likewise.
13233 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13234 (__SWBLK_T_TYPE): Likewise.
13235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13236 (__SWBLK_T_TYPE): Likewise.
13237 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13238 (__SWBLK_T_TYPE): Likewise.
13239
132402012-10-01 Patsy Franklin <pfrankli@redhat.com>
13241 Honza Horak <hhorak@redhat.com>
13242
13243 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13244 (xdr_mapname): Use YPMAXMAP as maxsize.
13245 (xdr_peername): Use YPMAXPEER as maxsize.
13246 (xdr_keydat): Use YPAXRECORD as maxsize.
13247 (xdr_valdat): Use YPMAXRECORD as maxsize.
13248
132492012-10-01 Roland McGrath <roland@hack.frob.com>
13250
13251 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13252
13253 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13254 * csu/init-first.c: ... here.
13255 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13256 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13257 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13259 * sysdeps/i386/init-first.c: File removed.
13260 * sysdeps/sh/init-first.c: File removed.
13261
132622012-10-01 Joseph Myers <joseph@codesourcery.com>
13263
13264 [BZ #14645]
13265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13266 if x * y might underflow to zero and z is zero.
13267 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13268 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13269 * math/libm-test.inc (min_subnorm_value): New variable.
13270 (fma_test): Add more tests.
13271 (fma_test_towardzero): Likewise.
13272 (fma_test_downward): Likewise
13273 (fma_test_upward): Likewise.
13274 (initialize): Set min_subnorm_value.
13275
132762012-09-29 Joseph Myers <joseph@codesourcery.com>
13277
13278 [BZ #14638]
13279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13280 0 + 0.
13281 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13282 mode for addition resulting in exact zero.
13283 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13284 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13285 exact 0 + 0.
13286 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13287 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13288 * math/libm-test.inc (fma_test): Add more tests.
13289 (fma_test_towardzero): New function.
13290 (fma_test_downward): Likewise.
13291 (fma_test_upward): Likewise.
13292 (main): Call the new functions.
13293
132942012-09-28 David S. Miller <davem@davemloft.net>
13295
13296 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13297
132982012-09-28 Roland McGrath <roland@hack.frob.com>
13299
13300 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13301 instead of SIGALRM.
13302
13303 * sysdeps/gnu/_G_config.h: Moved to ...
13304 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13305 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13306 * sysdeps/generic/_G_config.h: ... here.
13307
13308 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13309
13310 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13311
13312 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13313 Conditionalize target on [libnss_test1.so-version].
13314
13315 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13316
13317 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13318 (elfobjdir): Move out of conditionals.
13319
13320 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13321 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13322 (__nss_lookup_function): Conditionalize label remove_from_tree on
13323 [!DO_STATIC_NSS || SHARED], matching its only use.
13324
133252012-09-28 David S. Miller <davem@davemloft.net>
13326
13327 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13328 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13329 file.
13330 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13331 sysdep_routines.
13332 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13333 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13334 when HWCAP_SPARC_CRYPTO is present.
13335
133362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13337
13338 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13339
133402012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13341
13342 [BZ #6530]
13343 * stdio-common/vfprintf.c (process_string_arg): Revert
13344 2000-07-22 change.
13345
133462011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13347
13348 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13349 for testcase.
13350 * stdio-common/tst-sprintf.c: Include <locale.h>
13351 (main): Test sprintf's handling of incomplete multibyte
13352 characters.
13353
133542012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13355
13356 * elf/dl-runtime.c (VERSYMIDX): Removed.
13357 * elf/dl-version.c (VERSYMIDX): Likewise.
13358 * elf/do-rel.h (VERSYMIDX): Likewise.
13359 (VALIDX): Likewise.
13360 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13361 * elf/rtld.c (VALIDX): Likewise.
13362 (ADDRIDX): Likewise.
13363 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13364 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13365 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13366 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13367 (VALIDX): Likewise.
13368 (ADDRIDX): Likewise.
13369
133702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13371
13372 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13373
133742012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13375
13376 [BZ #11438]
13377 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13378 to global scope.
13379 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13380 addresses are in the same scope as 192.0.2/24.
13381 * posix/gai.conf: Document new scope table defaults.
13382
133832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13384
13385 [BZ #5298]
13386 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13387 for ftell. Compute offsets from write pointers instead.
13388 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13389
133902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13391
13392 [BZ #14543]
13393 * libio/Makefile (tests): New test case tst-fseek.
13394 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13395 combination works in wide mode.
13396 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13397 state when the external buffer state changes.
13398
133992012-09-27 David S. Miller <davem@davemloft.net>
13400
13401 [BZ #14376]
13402 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13403 pass reloc->r_addend in as the 'high' argument to
13404 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13405
13406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13407
134082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13409
13410 * rt/tst-aio2.c: Include <pthread.h>.
13411 * rt/tst-aio3.c: Likewise.
13412
134132012-09-27 Steve Ellcey <sellcey@mips.com>
13414
13415 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13416
134172012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13418
13419 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13420 contents on [SHARED].
13421
134222012-09-26 Marek Polacek <polacek@redhat.com>
13423
13424 [BZ #14530]
13425 [BZ #13741]
13426 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13427 for C++ and GCC <4.3 as well as for non GCC compilers.
13428
134292012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13430
13431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13432
134332012-09-25 Roland McGrath <roland@hack.frob.com>
13434
13435 * Makefile.in (all, install): Declare with .PHONY.
13436 Reported by Michael Hope <michael.hope@linaro.org>.
13437
134382012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13439
13440 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13441 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13442 system header.
13443 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13444 Likewise.
13445 (sydep_routines): Add the new and the internal functions.
13446 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13447 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13449 (GLIBC_2.17): Add the new function.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13451 (GLIBC_2.17): Likewise.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13453 (GLIBC_2.17): Likewise.
13454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13455 (GLIBC_2.17): Likewise.
13456 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13457
134582012-09-25 Alan Modra <amodra@gmail.com>
13459
13460 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13461 Add release barrier before setting once_control to say
13462 initialisation is done. Add hints on lwarx. Use macro in
13463 place of isync.
13464 (clear_once_control): Add release barrier.
13465
134662012-09-25 Joseph Myers <joseph@codesourcery.com>
13467
13468 [BZ #13629]
13469 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13470 specially.
13471 * math/s_clog10.c (__clog10): Likewise.
13472 * math/s_clog10f.c (__clog10f): Likewise.
13473 * math/s_clog10l.c (__clog10l): Likewise.
13474 * math/s_clogf.c (__clogf): Likewise.
13475 * math/s_clogl.c (__clogl): Likewise.
13476 * math/Makefile (libm-calls): Add x2y2m1.
13477 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13478 (__x2y2m1): Likewise.
13479 (__x2y2m1l): Likewise.
13480 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13481 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13484 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13485 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13486 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13487 * sysdeps/i386/fpu/libm-test-ulps: Update.
13488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13489
13490 [BZ #14621]
13491 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13492 int as type of variable DEPTH.
13493 (glob): Use size_t instead of int as type of variables NEWCOUNT
13494 and OLD_PATHC.
13495
134962012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13497
13498 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13499 Add s_sincosf-sse2.
13500 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13501 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13502 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13503 macros for using routine as __sincosf_ia32.
13504 Use macro for function declaration and weak_alias.
13505 * sysdeps/i386/fpu/libm-test-ulps: Update.
13506
13507 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13509
13510 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13511 subnormal argument.
13512 * math/s_cexpf.c (__cexpf): Likewise.
13513 * math/s_csinf.c (__csinf): Likewise.
13514 * math/s_csinhf.c (__csinhf): Likewise.
13515 * math/s_ctanf.c (__ctanf): Likewise.
13516 * math/s_ctanhf.c (__ctanhf): Likewise.
13517 * math/s_ccosh.c (__ccoshf): Likewise.
13518 * math/s_cexp.c (__cexpl): Likewise.
13519 * math/s_csin.c (__csin): Likewise.
13520 * math/s_csinh.c (__csinh): Likewise.
13521 * math/s_ctan.c (__ctan): Likewise.
13522 * math/s_ctanh.c (ctanh): Likewise.
13523 * math/s_ccoshl.c (__ccoshl): Likewise.
13524 * math/s_cexpl.c (__cexpl): Likewise.
13525 * math/s_csinl.c (__csinl): Likewise.
13526 * math/s_csinhl.c (__csinhl): Likewise.
13527 * math/s_ctanl.c (__ctanl): Likewise.
13528 * math/s_ctanhl.c (__ctanhl): Likewise.
13529
135302012-09-25 Joseph Myers <joseph@codesourcery.com>
13531
13532 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13533 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13534 (_IO_off_t): Define to __off_t, not _G_off_t.
13535 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13536 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13537 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13538 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13539 type of __dummy and __dummy2 fields.
13540 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13541 (_G_ssize_t): Likewise.
13542 (_G_off_t): Likewise.
13543 (_G_pid_t): Likewise.
13544 (_G_uid_t): Likewise.
13545 (_G_wchar_t): Likewise.
13546 (_G_wint_t): Likewise.
13547 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13548 (_G_ssize_t): Likewise.
13549 (_G_off_t): Likewise.
13550 (_G_pid_t): Likewise.
13551 (_G_uid_t): Likewise.
13552 (_G_wchar_t): Likewise.
13553 (_G_wint_t): Likewise.
13554 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13555 (_G_ssize_t): Likewise.
13556 (_G_off_t): Likewise.
13557 (_G_pid_t): Likewise.
13558 (_G_uid_t): Likewise.
13559 (_G_wchar_t): Likewise.
13560 (_G_wint_t): Likewise.
13561
135622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13563
13564 * malloc/arena.c: Include malloc-sysdep.h.
13565 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13566 is sufficient to shrink the heap or an unmap is needed.
13567 * sysdeps/generic/malloc-sysdep.h: New file. Define
13568 new function check_may_shrink_heap.
13569 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13570 new function check_may_shrink_heap.
13571
135722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13573
13574 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13575 comments.
13576
135772012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13578
13579 * catgets/test-gencat.sh: Add "set -e".
13580 * elf/tst-pathopt.sh: Likewise.
13581 * grp/tst_fgetgrent.sh: Likewise.
13582 * iconvdata/run-iconv-test.sh: Likewise.
13583 * intl/tst-gettext.sh: Likewise.
13584 * intl/tst-gettext2.sh: Likewise.
13585 * intl/tst-gettext4.sh: Likewise.
13586 * intl/tst-gettext6.sh: Likewise.
13587 * intl/tst-translit.sh: Likewise.
13588 * io/ftwtest-sh: Likewise.
13589 * libio/test-freopen.sh: Likewise.
13590 * malloc/tst-mtrace.sh: Likewise.
13591 * posix/globtest.sh: Likewise.
13592 * posix/tst-getconf.sh: Likewise.
13593 * posix/wordexp-tst.sh: Likewise.
13594 * stdio-common/tst-printf.sh: Likewise.
13595 * stdio-common/tst-unbputc.sh: Likewise.
13596 * stdlib/tst-fmtmsg.sh: Likewise.
13597 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13598 * catgets/Makefile: Do not specify -e option when running
13599 testsuite shell scripts.
13600 * elf/Makefile: Likewise.
13601 * grp/Makefile: Likewise.
13602 * iconvdata/Makefile: Likewise.
13603 * intl/Makefile: Likewise.
13604 * io/Makefile: Likewise.
13605 * libio/Makefile: Likewise.
13606 * malloc/Makefile: Likewise.
13607 * posix/Makefile: Likewise.
13608 * stdio-common/Makefile: Likewise.
13609 * stdlib/Makefile: Likewise.
13610 * sysdeps/x86_64/Makefile: Likewise.
13611
13612 * io/ftwtest-sh: Add copyright header.
13613 * posix/globtest.sh: Likewise.
13614 * posix/tst-getconf.sh: Likewise.
13615 * posix/wordexp-tst.sh: Likewise.
13616 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13617
136182012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13619
13620 [BZ #13679]
13621 * Makeconfig (+link): Defined as $(+link-static) if
13622 $(build-shared) isn't yes.
13623 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13624 isn't yes.
13625 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13626
13627 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13628
13629 [BZ #14562]
13630 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13631 new chunk size with MALLOC_ALIGN_MASK.
13632
136332012-09-24 Joseph Myers <joseph@codesourcery.com>
13634
13635 [BZ #5044]
13636 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13637 <rounding-mode.h>.
13638 (__printf_fphex): Determine rounding using get_rounding_mode and
13639 round_away.
13640 * stdio-common/tst-printf-round.c (struct hex_test): New
13641 structure.
13642 (hex_tests): New variable.
13643 (test_hex_in_one_mode): New function.
13644 (do_test): Also run tests for hex float output.
13645
136462012-09-21 Joseph Myers <joseph@codesourcery.com>
13647
13648 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13649 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13650 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13651 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13652 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13653 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13654 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13655 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13656
136572012-09-20 Joseph Myers <joseph@codesourcery.com>
13658
13659 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13660 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13661 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13662 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13663
136642012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13665
13666 [BZ #14579]
13667 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13668 mode only.
13669 * elf/tst-rtld-load-self.sh: New test.
13670 * elf/Makefile: Run it.
13671
136722012-09-18 Joseph Myers <joseph@codesourcery.com>
13673
13674 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13675 (tst-writev-ENV): Remove.
13676 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13677
136782012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13679
13680 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13681
136822012-09-17 Joseph Myers <joseph@codesourcery.com>
13683
13684 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13685 unconditional.
13686 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13687 Likewise.
13688 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13689 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13690 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13691 Likewise.
13692
136932012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13694
13695 [BZ #14587]
13696 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13697 * config.make.in (have-cpp-asm-debuginfo): Removed.
13698 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13699 * configure: Regenerated.
13700
137012012-09-14 Joseph Myers <joseph@codesourcery.com>
13702
13703 [BZ #5044]
13704 * stdio-common/printf_fp.c: Include <stdbool.h> and
13705 <rounding-mode.h>.
13706 (___printf_fp): Determine rounding using get_rounding_mode and
13707 round_away.
13708 * stdio-common/tst-printf-round.c: New file.
13709 * stdio-common/Makefile (tests): Add tst-printf-round.
13710 (link-libm): New variable.
13711 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13712
137132012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13714
13715 [BZ #14576]
13716 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13717 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13718 Likewise.
13719 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13720 Likewise.
13721
137222012-09-13 Joseph Myers <joseph@codesourcery.com>
13723
13724 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13725 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13726 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13727 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13728
137292012-09-12 Joseph Myers <joseph@codesourcery.com>
13730
13731 [BZ #14518]
13732 * include/rounding-mode.h: New file.
13733 * sysdeps/generic/get-rounding-mode.h: Likewise.
13734 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13735 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13736 (MAX_VALUE): New macro.
13737 (MIN_VALUE): Likewise.
13738 (overflow_value): New function.
13739 (underflow_value): Likewise.
13740 (round_and_return): Use overflow_value and underflow_value to
13741 determine return values in overflow and underflow cases. Use
13742 round_away to determine rounding depending on rounding mode.
13743 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13744 determine return values in overflow and underflow cases.
13745 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13746 (struct test_results): New structure.
13747 (struct test): Use struct test_results to store expected results
13748 for all rounding modes.
13749 (TEST): Include expected results for all rounding modes.
13750 (test_in_one_mode): New function.
13751 (do_test): Use test_in_one_mode to compute and check results.
13752 Check results for all rounding modes.
13753 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13754 $(link-libm).
13755
137562012-12-09 Allan McRae <allan@archlinux.org>
13757
13758 * sysdeps/i386/fpu/libm-test-ulps: Update
13759
137602012-09-11 Joseph Myers <joseph@codesourcery.com>
13761
13762 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13763 (_G_int32_t): Likewise.
13764 (_G_uint16_t): Likewise.
13765 (_G_uint32_t): Likewise.
13766 (_G_HAVE_BOOL): Likewise.
13767 (_G_HAVE_ATEXIT): Likewise.
13768 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13769 (_G_HAVE_IO_FILE_OPEN): Likewise.
13770 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13771 (_G_int32_t): Likewise.
13772 (_G_uint16_t): Likewise.
13773 (_G_uint32_t): Likewise.
13774 (_G_HAVE_BOOL): Likewise.
13775 (_G_HAVE_ATEXIT): Likewise.
13776 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13777 (_G_HAVE_IO_FILE_OPEN): Likewise.
13778 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13779 (_G_int32_t): Likewise.
13780 (_G_uint16_t): Likewise.
13781 (_G_uint32_t): Likewise.
13782 (_G_HAVE_BOOL): Likewise.
13783 (_G_HAVE_ATEXIT): Likewise.
13784 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13785 (_G_HAVE_IO_FILE_OPEN): Likewise.
13786
137872012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13788
13789 * csu/libc-tls.c: Update copyright years.
13790
137912012-09-10 Joseph Myers <joseph@codesourcery.com>
13792
13793 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13794 [!_G_USING_THUNKS]: Remove conditional code.
13795 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13796 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13797
13798 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13799 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13800 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13801 (_G_VTABLE_LABEL_PREFIX): Likewise.
13802 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13803 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13804 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13805 (_G_VTABLE_LABEL_PREFIX): Likewise.
13806 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13807 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13808 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13809 (_G_VTABLE_LABEL_PREFIX): Likewise.
13810 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13811
138122012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * libio/Makefile: Include ../Makeconfig before tests.
13815 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13816 only if $(build-shared) is yes.
13817
13818 * iconv/gconv_db.c: Update copyright years.
13819
138202012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13821
13822 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13823 unwind info if defined PIC. Fix special cases description.
13824 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13825
13826 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13827 DP_HI_MASK entry.
13828 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13829
138302012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13831
13832 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13833
13834 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13835 is NULL.
13836
13837 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13838 (LDLIBS-tst-chk4): This.
13839 (LDFLAGS-tst-chk5): Renamed to ...
13840 (LDLIBS-tst-chk5): This.
13841 (LDFLAGS-tst-chk6): Renamed to ...
13842 (LDLIBS-tst-chk6): This.
13843 (LDFLAGS-tst-lfschk4): Renamed to ...
13844 (LDLIBS-tst-lfschk4): This.
13845 (LDFLAGS-tst-lfschk5): Renamed to ...
13846 (LDLIBS-tst-lfschk5): This.
13847 (LDFLAGS-tst-lfschk6): Renamed to ...
13848 (LDLIBS-tst-lfschk6): This.
13849
13850 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13851 on $(common-objpfx)soversions.mk.
13852
138532012-09-07 Joseph Myers <joseph@codesourcery.com>
13854
13855 [BZ #10014]
13856 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13857 example host name.
13858
138592012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13860
13861 * malloc/arena.c (arena_get_retry): New function that gets
13862 another arena for the caller to try its request on.
13863 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13864 current arena cannot fulfill the request.
13865 (__libc_memalign): Likewise.
13866 (__libc_memalign): Likewise.
13867 (__libc_pvalloc): Likewise.
13868 (__libc_calloc): Likewise.
13869
138702012-09-05 John Tobey <john.tobey@gmail.com>
13871
13872 [BZ #13542]
13873 * manual/arith.texi (Operations on Complex): Fix description
13874 of carg branch cut.
13875
138762012-09-06 Joseph Myers <joseph@codesourcery.com>
13877
13878 [BZ #10014]
13879 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13880 host name.
13881
13882 [BZ #10038]
13883 * manual/memory.texi (Memory): Make order of menu items match
13884 order of sections.
13885
138862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13887
13888 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13889 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13890 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13891
138922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13893
13894 * csu/libc-tls.c (static_dtv): Renamed to ...
13895 (_dl_static_dtv): This. Make it global.
13896 (_dl_initial_dtv): Removed.
13897 (__libc_setup_tls): Updated.
13898 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13899 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13900 DL_INITIAL_DTV.
13901
139022012-09-06 Petr Machata <pmachata@redhat.com>
13903
13904 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13905 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13906 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13907 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13908
139092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13910
13911 [BZ #14545]
13912 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13913 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13914 freeing dtv[-1].
13915
139162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13917
13918 [BZ #14544]
13919 * Makeconfig (link-static-before-libc): Replace $(+prector)
13920 with $(+prectorT).
13921 (link-static-after-libc): Replace $(+postctor) with
13922 $(+postctorT).
13923 (link-bounded): Replace $(+prector)/$(+postctor) with
13924 $(+prectorT)/$(+postctorT).
13925 (+prectorT): New macro.
13926 (+postctorT): Likewise.
13927
139282012-09-06 Joseph Myers <joseph@codesourcery.com>
13929
13930 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13931 (round_str): Handle values above the maximum for IBM long double
13932 as inexact.
13933 * stdlib/tst-strtod-round.c (tests): Regenerated.
13934
139352012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13936
13937 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13938 assembler flag.
13939 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13940 zarch_nohighgprs around the zarch optimized routines.
13941 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13942 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13943 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13944 for zarch.
13945
139462012-09-05 David S. Miller <davem@davemloft.net>
13947
13948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13949
13950 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13951 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13952 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13953 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13954 entries.
13955
139562012-09-05 Alexandre Oliva <aoliva@redhat.com>
13957
13958 * malloc/arena.c: Fold copyright years.
13959 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13960
139612012-09-05 Alexandre Oliva <aoliva@redhat.com>
13962
13963 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13964
139652012-09-05 Alexandre Oliva <aoliva@redhat.com>
13966
13967 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13968
139692012-09-05 Alexandre Oliva <aoliva@redhat.com>
13970
13971 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13972 change internal state upon failure.
13973
139742012-09-05 Alexandre Oliva <aoliva@redhat.com>
13975
13976 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13977 * malloc/memusage.c (mmap): Likewise.
13978 (mmap64, mremap): Likewise. Adjust name in comment.
13979
139802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13981
13982 * libio/fileops.c: Fix typos in comments.
13983 * libio/oldfileops.c: Likewise.
13984 * libio/wfileops.c: Likewise.
13985
139862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13987
13988 [BZ #1349]
13989 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13990 (tst-malloc-usable-ENV): Set environment for test case.
13991 * malloc/hooks.c (malloc_check_get_size): New function to get
13992 requested size.
13993 * malloc/malloc.c (musable): Use malloc_check_get_size.
13994 * malloc/tst-malloc-usable.c: New test case.
13995
139962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13997
13998 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13999
140002012-09-05 Allan McRae <allan@archlinux.org>
14001
14002 [BZ #13966]
14003 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14004 determine header location.
14005 * configure: Regenerated.
14006
140072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14008
14009 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14010 float format.
14011 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14012 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14013 format.
14014 (test): Regenerate.
14015
140162012-09-04 David S. Miller <davem@davemloft.net>
14017
14018 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14019 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14020 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14021
140222012-09-04 Florian Weimer <fweimer@redhat.com>
14023
14024 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14025 failures.
14026
14027 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14028
140292012-09-04 Joseph Myers <joseph@codesourcery.com>
14030
14031 [BZ #9914]
14032 * libio/iogetdelim.c: Include <limits.h>.
14033 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14034 + len + 1 would overflow.
14035
140362012-09-03 Andreas Jaeger <aj@suse.de>
14037
14038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14039 * sysdeps/i386/fpu/libm-test-ulps: Update.
14040
140412012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14042
14043 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14044 Add s_sinf-sse2, s_conf-sse2.
14045
14046 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14047 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14048 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14049 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14050
14051 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14052 for using routine as __sinf_ia32.
14053 Use macro for function declaration and weak_alias.
14054 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14055 for using routine as __cosf_ia32.
14056 Use macro for function declaration and weak_alias.
14057
14058 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14059 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14060
14061 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14062 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14064
14065 * math/libm-test.inc (cos_test): Add more test cases.
14066 (sin_test): Likewise.
14067 (sincos_test): Likewise.
14068
140692012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14070
14071 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14072 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14073 hidden.
14074 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14075
140762012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14077
14078 [BZ #14538]
14079 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14080 first element of the GOT.
14081 (elf_machine_load_address): Return the difference between
14082 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14083
140842012-09-01 Allan McRae <allan@archlinux.org>
14085
14086 [BZ #13412]
14087 * configure.in (AWK): Require gawk version 3.0 or later.
14088 * configure: Regenerated.
14089
140902012-09-01 Joseph Myers <joseph@codesourcery.com>
14091
14092 * sysdeps/unix/sysv/linux/kernel-features.h
14093 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14094 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14095 [__NR_clock_getres]: Make code unconditional.
14096 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14097 (clock_getcpuclockid): Remove code left unreachable by removal of
14098 conditionals.
14099 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14100 code unconditional.
14101 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14102 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14103 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14104 Make code unconditional.
14105 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14106 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14107 * sysdeps/unix/sysv/linux/clock_settime.c
14108 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14109 conditional code.
14110 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14111 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14112
141132012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14114
14115 [BZ #14476]
14116 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14117 scripts/test-installation.pl.
14118
14119 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14120 and $ld_so_version if it is set.
14121
141222012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14123
14124 [BZ #14516]
14125 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14126 failure if reading from procfs failed.
14127 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14128
141292012-08-27 Joseph Myers <joseph@codesourcery.com>
14130
14131 * sysdeps/unix/sysv/linux/kernel-features.h
14132 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14133 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14134 Remove conditional code.
14135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14136 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14137 Remove conditional code.
14138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14139 * sysdeps/unix/sysv/linux/i386/fxstat.c
14140 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14142 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14143 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14145 * sysdeps/unix/sysv/linux/i386/lxstat.c
14146 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14148 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14149 Remove conditional code.
14150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14151 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14152 Remove conditional code.
14153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14154 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14155 <kernel-features.h>.
14156 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14157 Remove.
14158 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14159 Remove conditional code.
14160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14161 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14162 Remove conditional.
14163
141642012-08-27 Mike Frysinger <vapier@gentoo.org>
14165
14166 [BZ #5400]
14167 * NEWS: Add fixed bug number.
14168
141692012-08-27 Joseph Myers <joseph@codesourcery.com>
14170
14171 [BZ #14519]
14172 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14173 underflowing exponent in case of negative sign.
14174 * stdlib/tst-strtod-round-data: Add more tests.
14175 * stdlib/tst-strtod-round.c (tests): Regenerated.
14176
14177 [BZ #3479]
14178 * stdlib/strtod_l.c (NDIG): Remove.
14179 (HEXNDIG): Likewise.
14180 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14181 smallest representable value.
14182 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14183 lie within an exact representation of 1/2 ulp of the result.
14184 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14185 unconditionally.
14186 (TENS_P9_IDX): Define unconditionally.
14187 (TENS_P9_SIZE): Likewise.
14188 (TENS_P10_IDX): Likewise.
14189 (TENS_P10_SIZE): Likewise.
14190 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14191 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14192 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14193 entries for 10^2^13 and 10^2^14.
14194 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14195 (TENS_P13_IDX): Define.
14196 (TENS_P13_SIZE): Likewise.
14197 (TENS_P14_IDX): Likewise.
14198 (TENS_P14_SIZE): Likewise.
14199 (_fpioconst_pow10): Change array size to
14200 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14201 unconditional.
14202 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14203 1024]: Add entries for 10^2^13 and 10^2^14.
14204 [LAST_POW10 > _LAST_POW10]: Remove #error.
14205 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14206 (_fpioconst_pow10): Change array size to
14207 FPIOCONST_POW10_ARRAY_SIZE.
14208 * stdlib/gen-fpioconst.c: New file.
14209 * stdlib/gen-tst-strtod-round.c: Likewise.
14210 * stdlib/tst-strtod-round-data: Likewise.
14211 * stdlib/tst-strtod-round.c: Likewise.
14212 * stdlib/Makefile (tests): Add tst-strtod-round.
14213
14214 [BZ #14459]
14215 * stdlib/strtod_l.c: Include <stdint.h>.
14216 (NDEBUG): Do not define.
14217 (round_and_return): Change EXPONENT parameter to type intmax_t.
14218 Rearrange calculations to avoid internal overflow possibilities.
14219 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14220 Rearrange calculations to avoid internal overflow possibilities.
14221 Assert that number fits inside MPNSIZE limbs.
14222 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14223 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14224 calculations and add assertions to avoid internal overflow
14225 possibilities. Add casts to avoid signed/unsigned operations.
14226 * stdlib/tst-strtod-overflow.c: New file.
14227 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14228
142292012-08-25 Marek Polacek <polacek@redhat.com>
14230
14231 * time/time.h: Fix some typos in comments.
14232
142332012-08-23 Roland McGrath <roland@hack.frob.com>
14234
14235 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14236 * posix/tst-rfc3484-2.c: Likewise.
14237 * posix/tst-rfc3484-3.c: Likewise.
14238
142392012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14240
14241 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14242 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14243
142442012-08-23 Joseph Myers <joseph@codesourcery.com>
14245
14246 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14247 #include of fxstatat64.c.
14248
142492012-08-22 Roland McGrath <roland@hack.frob.com>
14250
14251 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14252 * shadow/getspent_r.c: Likewise.
14253 * shadow/getspnam.c: Likewise.
14254 * shadow/getspnam_r.c: Likewise.
14255 * gshadow/getsgent.c: Likewise.
14256 * gshadow/getsgent_r.c: Likewise.
14257 * gshadow/getsgnam.c: Likewise.
14258 * gshadow/getsgnam_r.c: Likewise.
14259 * inet/getnetbyad.c: Likewise.
14260 * inet/getnetbyad_r.c: Likewise.
14261 * inet/getnetbynm.c: Likewise.
14262 * inet/getnetbynm_r.c: Likewise.
14263 * inet/getnetent.c: Likewise.
14264 * inet/getnetent_r.c: Likewise.
14265 * inet/getproto.c: Likewise.
14266 * inet/getproto_r.c: Likewise.
14267 * inet/getprtent.c: Likewise.
14268 * inet/getprtent_r.c: Likewise.
14269 * inet/getprtname.c: Likewise.
14270 * inet/getprtname_r.c: Likewise.
14271 * inet/getrpcbyname.c: Likewise.
14272 * inet/getrpcbyname_r.c: Likewise.
14273 * inet/getrpcbynumber.c: Likewise.
14274 * inet/getrpcbynumber_r.c: Likewise.
14275 * inet/getrpcent.c: Likewise.
14276 * inet/getrpcent_r.c: Likewise.
14277 * inet/getaliasent.c: Likewise.
14278 * inet/getaliasent_r.c: Likewise.
14279 * inet/getaliasname.c: Likewise.
14280 * inet/getaliasname_r.c: Likewise.
14281 * nscd/getgrgid_r.c: Likewise.
14282 * nscd/getgrnam_r.c: Likewise.
14283 * nscd/gethstbyad_r.c: Likewise.
14284 * nscd/gethstbynm3_r.c: Likewise.
14285 * nscd/getpwnam_r.c: Likewise.
14286 * nscd/getpwuid_r.c: Likewise.
14287 * nscd/getsrvbynm_r.c: Likewise.
14288 * nscd/getsrvbypt_r.c: Likewise.
14289 * nscd/gai.c: Likewise.
14290
14291 * configure.in (build_nscd): New substituted variable, set
14292 by --disable-build-nscd and defaults to $use_nscd.
14293 * configure: Regenerated.
14294 * config.make.in (build-nscd): New substituted variable.
14295 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14296 Change conditional to require [$(build-nscd) = yes] as well.
14297 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14298
14299 [BZ# 13696]
14300 * configure.in (use_nscd): New substituted variable, set by
14301 --disable-nscd. If enabled, define USE_NSCD.
14302 * configure: Regenerated.
14303 * config.h.in: Add USE_NSCD.
14304 * config.make.in (use-nscd): New substituted variable.
14305 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14306 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14307 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14308 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14309 (CFLAGS-getgrnam_r.c): Likewise.
14310 (CFLAGS-initgroups.c): Likewise.
14311 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14312 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14313 Variables removed.
14314 * inet/getnetgrent_r.c
14315 (nscd_setnetgrent): New function, broken out of ...
14316 (setnetgrent): ... here. Call it.
14317 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14318 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14319 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14320 * nscd/Makefile (routines, aux): Move definitions after include of
14321 Makeconfig. Conditionalize on [$(use-nscd) != no].
14322 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14323 Conditionalize on [USE_NSCD].
14324 (is_nscd, nscd_init_cb): Likewise.
14325 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14326 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14327 * nss/nss_db/db-init.c: Likewise.
14328 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14329 [USE_NSCD].
14330 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14331 (make_request): Use it.
14332 (cache_valid_p): New function.
14333 (__check_pf): Use it.
14334 * NEWS: Add item for --disable-nscd.
14335
143362012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14337
14338 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14339 to support sed >= 4.2.1-20-ga9bf076.
14340 * configure: Regenerated.
14341
143422012-08-22 Roland McGrath <roland@hack.frob.com>
14343
14344 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14345 Conditionalize whole body on [IREL].
14346
143472012-08-22 Jeff Law <law@redhat.com>
14348
14349 [BZ #14505]
14350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14351 if the family is PF_UNSPEC.
14352
143532012-08-22 Mike Frysinger <vapier@gentoo.org>
14354
14355 * Makerules (lib-version): Rename from V.
14356 (install-lib-nosubdir): Change V to lib-version.
14357
143582012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14359
14360 [BZ #14252]
14361 * powerpc32/power6/wcschr.c: New file.
14362 * powerpc32/power6/wcscpy.c: New file.
14363 * powerpc32/power6/wcsrchr.c: New file.
14364 * powerpc64/power6/wcschr.c: New file.
14365 * powerpc64/power6/wcscpy.c: New file.
14366 * powerpc64/power6/wcsrchr.c: New file.
14367
143682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14369
14370 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14371 (two_way_short_needle): Use it.
14372 * string/strstr.c (AVAILABLE1_USES_J): Define.
14373 * string/strcasestr.c: Likewise.
14374
14375 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14376 array references.
14377 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14378
14379 [BZ #11607]
14380 * NEWS: Add an entry.
14381 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14382 define their defaults.
14383 (two_way_short_needle): Detect end-of-string on-the-fly.
14384 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14385 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14386 * string/bug-strcasestr1.c: New test.
14387 * string/Makefile: Run it.
14388
143892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14390
14391 [BZ #11607]
14392 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14393 the first character.
14394
143952012-08-21 Roland McGrath <roland@hack.frob.com>
14396
14397 * csu/elf-init.c (__libc_csu_irel): Function removed.
14398 * csu/libc-start.c (apply_irel): New function.
14399 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14400
144012012-08-21 Joseph Myers <joseph@codesourcery.com>
14402
14403 * sysdeps/unix/sysv/linux/kernel-features.h
14404 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14405 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14406 <kernel-features.h>.
14407 [__NR_fadvise64_64]: Make code unconditional.
14408 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14409 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14410 !__NR_fadvise64_64)]: Likewise.
14411 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14412 !__NR_fadvise64_64))]: Likewise.
14413 [__NR_fadvise64]: Make code unconditional.
14414 [!__NR_fadvise64]: Remove conditional code.
14415 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14416 <kernel-features.h>.
14417 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14418 unconditional.
14419 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14420 conditional code.
14421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14422 not include <kernel-features.h>.
14423 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14424 unconditional.
14425 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14426 conditional code.
14427 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14428 include <kernel-features.h>.
14429 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14430 unconditional.
14431 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14432 conditional code.
14433
144342012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14435
14436 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14437 slight instruction rearrangements per scrollpipe analysis.
14438 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14439
144402012-08-20 Roland McGrath <roland@hack.frob.com>
14441
14442 * manual/syslog.texi (syslog; vsyslog, closelog):
14443 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14444 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14445
14446 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14447 DSOCAPS to match condition on defining it.
14448
144492012-08-20 Joseph Myers <joseph@codesourcery.com>
14450
14451 * sysdeps/unix/sysv/linux/kernel-features.h
14452 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14454 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14455 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14457 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14458 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14460 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14461 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14462
14463 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14464 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14465
14466 * sysdeps/unix/sysv/linux/kernel-features.h
14467 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14468 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14469 unconditional.
14470 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14471 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14472 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14473 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14474 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14475 Make code unconditional.
14476 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14477 (__mmap64) [!__NR_mmap2]: Likewise.
14478 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14479 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14480 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14481 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14482 [__NR_mmap2]: Make code unconditional.
14483 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14484 (__mmap64) [!__NR_mmap2]: Likewise.
14485
144862012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14487
14488 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14489
144902012-08-18 Andreas Jaeger <aj@suse.de>
14491
14492 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14493
144942012-08-18 Mike Frysinger <vapier@gentoo.org>
14495
14496 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14497 * include/unistd.h (__have_sock_cloexec): Likewise.
14498 (__have_pipe2): Likewise.
14499 (__have_dup3): Likewise.
14500
145012012-08-18 Mike Frysinger <vapier@gentoo.org>
14502
14503 [BZ #9685]
14504 * include/unistd.h (__have_pipe2): Change define into an extern int.
14505 (__have_dup3): Likewise.
14506 * socket/have_sock_cloexec.c: Include fcntl.h.
14507 (__have_pipe2): New variable.
14508 (__have_dup3): Likewise.
14509
145102012-08-17 Mike Frysinger <vapier@gentoo.org>
14511
14512 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14513
145142012-08-17 Marek Polacek <polacek@redhat.com>
14515
14516 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14517 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14518
145192012-08-17 Roland McGrath <roland@hack.frob.com>
14520
14521 * configure.in: Add AC_SUBST for sysheaders.
14522 * configure: Regenerated.
14523 * config.make.in (sysheaders): New substituted variable.
14524
14525 * sysdeps/unix/mkfifo.c: Moved ...
14526 * sysdeps/posix/mkfifo.c: ... here.
14527 * sysdeps/unix/mkfifoat.c: Moved ...
14528 * sysdeps/posix/mkfifoat.c: ... here.
14529
14530 * sysdeps/unix/utime.c: Moved ...
14531 * sysdeps/posix/utime.c: ... here.
14532
14533 * sysdeps/unix/time.c: Moved ...
14534 * sysdeps/posix/time.c: ... here.
14535 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14536 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14537
14538 * sysdeps/unix/nice.c: Moved ...
14539 * sysdeps/posix/nice.c: ... here.
14540
14541 * sysdeps/unix/alarm.c: Moved ...
14542 * sysdeps/posix/alarm.c: ... here.
14543
14544 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14545
145462012-08-17 Jeff Law <law@redhat.com>
14547
14548 * intl/Makefile (codeset_mo): New variable.
14549 ($(codeset_mo)): New target.
14550 (tst-codeset.out): Depend on that. Remove explicit rule.
14551 (tst-gettext3.out, tst-gettext5.out): Likewise.
14552 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14553 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14554 * intl/tst-codeset.sh: Remove.
14555 * intl/tst-gettext3.sh: Likewise.
14556 * intl/tst-gettext5.sh: Likewise.
14557
145582012-08-17 Roland McGrath <roland@hack.frob.com>
14559
14560 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14561 * sysdeps/unix/syscalls.list: ... here.
14562
14563 * sysdeps/posix/getaddrinfo.c
14564 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14565 (gaiconf_init, gaiconf_reload): Use them.
14566 [!_STATBUF_ST_NSEC]
14567 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14568 Define using time_t rather than struct timespec.
14569
14570 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14571 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14572 Macros removed.
14573 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14574 [!NO_THREADS].
14575 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14576 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14577 Likewise.
14578
14579 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14580 __libc_cleanup_push argument.
14581
14582 * bits/param.h: New file.
14583 * misc/sys/param.h: New file.
14584 * include/sys/param.h: New file.
14585 * misc/Makefile (headers): Add bits/param.h.
14586 * sysdeps/generic/sys/param.h: File removed.
14587 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14588 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14589 * sysdeps/mach/hurd/bits/param.h: New file.
14590 * sysdeps/mach/hurd/sys/param.h: File removed.
14591
14592 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14593 last change.
14594
14595 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14596 [_IO_MTSAFE_IO].
14597 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14598 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14599 New macros.
14600
14601 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14602 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14603 rather than -D_IO_MTSAFE_IO conditionally.
14604 * stdio-common/Makefile (CPPFLAGS): Likewise.
14605 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14606 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14607 Use $(libio-mtsafe).
14608 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14609 of -D_IO_MTSAFE_IO.
14610 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14611 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14612 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14613 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14614 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14615 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14616 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14617 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14618 (CFLAGS-fread_u_chk.c): Likewise.
14619 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14620 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14621 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14622 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14623 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14624 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14625 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14626 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14627 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14628
14629 * libio/Makefile: Test [$(libc-reentrant) = yes]
14630 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14631
14632 * Makeconfig
14633 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14634 * sysdeps/pthread/configure: File removed.
14635 * sysdeps/pthread/Makeconfig: New file.
14636 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14637 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14638
146392012-08-16 Gary Benson <gbenson@redhat.com>
14640
14641 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14642 unmapping the first object in a namespace.
14643
146442012-08-16 Roland McGrath <roland@hack.frob.com>
14645
14646 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14647 (__internal_setnetgrent): ... this. Add internal_function to
14648 definition. Add libc_hidden_def.
14649 (setnetgrent): Update caller.
14650 (internal_endnetgrent): Renamed to ...
14651 (__internal_endnetgrent): ... this. Add internal_function to
14652 definition. Add libc_hidden_def.
14653 (endnetgrent): Update caller.
14654 (internal_getnetgrent_r): Renamed to ...
14655 (__internal_getnetgrent_r): ... this. Add internal_function to
14656 definition. Add libc_hidden_def.
14657 (__getnetgrent_r): Update caller.
14658 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14659
146602012-08-16 Joseph Myers <joseph@codesourcery.com>
14661
14662 * stdlib/longlong.h: Update from GCC.
14663
146642012-08-16 Roland McGrath <roland@hack.frob.com>
14665
14666 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14667 on _QL, which is set by umul_ppmm but never used.
14668 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14669 variables, which are set by GMP macros but never used.
14670 * stdio-common/_itowa.c (_itowa): Likewise.
14671 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14672 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14673
146742012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14675
14676 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14677 struct La_sh_regs is not constant.
14678 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14679 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14680 and struct La_sparc64_regs are not constant.
14681
146822012-08-16 Joseph Myers <joseph@codesourcery.com>
14683
14684 * sysdeps/unix/sysv/linux/kernel-features.h
14685 (__ASSUME_POSIX_TIMERS): Remove.
14686 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14688 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14689 Make code unconditional.
14690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14691 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14692 Make code unconditional.
14693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14694 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14695 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14697 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14698 Make code unconditional.
14699 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14700 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14701 (__libc_missing_posix_timers): Remove.
14702
147032012-08-15 Roland McGrath <roland@hack.frob.com>
14704
14705 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14706 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14707
14708 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14709
14710 * elf/dl-sym.c: Include <stdlib.h>.
14711
14712 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14713 constants, which avoids warnings in 32-bit builds.
14714
14715 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14716 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14717
14718 * misc/lseek.c: File moved to ...
14719 * io/lseek.c: ... here.
14720
14721 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14722
14723 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14724 shifting LEN more than 31 bits at once.
14725
147262012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14727
14728 [BZ #14195]
14729 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14730 segmentation fault for a case of two empty input strings.
14731 * string/test-strncasecmp.c (check1): Renamed to...
14732 (bz12205): ...this.
14733 (bz14195): Add new testcase for two empty input strings and N > 0.
14734 (test_main): Call new testcase, adapt for renamed function.
14735
147362012-08-15 Andreas Jaeger <aj@suse.de>
14737
14738 [BZ #14090]
14739 * crypt/md5test2.c: New test, based on test supplied by Serge
14740 Belyshev <belyshev@depni.sinp.msu.ru>.
14741 * crypt/Makefile (xtests): Add md5test-giant..
14742 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14743
147442012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14745
14746 [BZ #14090]
14747 * crypt/md5.c (md5_process_block): Don't assume the buffer
14748 length is less than 2**32.
14749 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14750 length is less than 2**64.
14751
147522012-08-15 Roland McGrath <roland@hack.frob.com>
14753
14754 * string/str-two-way.h: Include <sys/param.h>.
14755 (MAX): Macro removed.
14756
14757 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14758 Move #define and #undef of memmove to just before and after
14759 including <string.h>.
14760
14761 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14762 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14763 and after including <string.h>. Move declarations of
14764 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14765 to before #include "string/memmove.c".
14766
14767 * include/dirent.h: Declare __getdirentries.
14768
14769 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14770 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14771
147722012-08-14 Mike Frysinger <vapier@gentoo.org>
14773
14774 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14775 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14776 * sysdeps/i386/configure: Regenerated.
14777 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14778 STABS_CURRENT_FILE, and STABS_FUN.
14779 (END): Remove call to STABS_FUN_END.
14780 (STABS_CURRENT_FILE1): Delete.
14781 (STABS_CURRENT_FILE): Likewise.
14782 (STABS_FUN): Likewise.
14783 (STABS_FUN_END): Likewise.
14784 (STABS_FUN2): Likewise.
14785 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14786 * sysdeps/x86_64/configure: Regenerated.
14787
147882012-08-14 Roland McGrath <roland@hack.frob.com>
14789
14790 * elf/dl-open.c: Include <atomic.h>.
14791 * elf/dl-lookup.c: Likewise.
14792
147932012-08-14 Joseph Myers <joseph@codesourcery.com>
14794
14795 * sysdeps/unix/sysv/linux/kernel-features.h
14796 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14797 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14798 unconditionally.
14799 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14800 unconditionally.
14801 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14802 condition on __ASSUME_CLONE_THREAD_FLAGS.
14803
148042012-08-14 Andreas Jaeger <aj@suse.de>
14805
14806 * sysdeps/i386/fpu/libm-test-ulps: Update.
14807
148082012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14809
14810 * include/atomic.h (atomic_exchange_and_add): Split into ...
14811 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14812 New atomic macros.
14813
148142012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14815
14816 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14817
148182012-08-13 Jeff Law <law@redhat.com>
14819
14820 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14821 null byte in the output string.
14822
148232012-08-10 Joseph Myers <joseph@codesourcery.com>
14824
14825 * sysdeps/unix/sysv/linux/kernel-features.h
14826 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14827 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14828 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14829 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14830 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14831 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14832 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14833
148342012-08-09 Jeff Law <law@redhat.com>
14835
14836 [BZ #13939]
14837 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14838 When avoid_arena is set, don't retry in the that arena. Pick the
14839 next one, whatever it might be.
14840 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14841 (arena_lock): Pass in new parameter to arena_get2.
14842 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14843 arena_get2.
14844 (__libc_malloc): Unify retrying after main arena failure with
14845 __libc_memalign version.
14846 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14847
148482012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14849
14850 [BZ #14166]
14851 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14852 to __redirect_strstr.
14853 (__strstr_sse42): Use typeof __redirect_strstr.
14854 (__strstr_ia32): Likewise.
14855 (__libc_strstr): New prototype.
14856 (strstr): Renamed to ...
14857 (__libc_strstr): This.
14858 (strstr): New strong alias of __libc_strstr.
14859 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14860 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14861 __redirect_time.
14862 Include <time.h>.
14863 (__libc_time): New prototype.
14864 (time_ifunc): Replace time with __libc_time.
14865 (time): New strong alias and hidden definition of __libc_time.
14866 (__GI_time): Remove strong alias.
14867 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14868 Include <stddef.h>.
14869 (memmove): Redefined to __redirect_memmove.
14870 (__memmove_sse2): Use typeof __redirect_memmove.
14871 (__memmove_ssse3): Likewise.
14872 (__memmove_ssse3_back): Likewise.
14873 (__libc_memmove): New prototype.
14874 (memmove): Renamed to ...
14875 (__libc_memmove): This.
14876 (memmove): New strong alias of __libc_memmove.
14877
148782012-08-08 Mark Salter <msalter@redhat.com>
14879
14880 * elf/elf.h
14881 (R_MN10300_TLS_GD): Define.
14882 (R_MN10300_TLS_LD): Likewise.
14883 (R_MN10300_TLS_LDO): Likewise.
14884 (R_MN10300_TLS_GOTIE): Likewise.
14885 (R_MN10300_TLS_IE): Likewise.
14886 (R_MN10300_TLS_LE): Likewise.
14887 (R_MN10300_TLS_DTPMOD): Likewise.
14888 (R_MN10300_TLS_DTPOFF): Likewise.
14889 (R_MN10300_TLS_TPOFF): Likewise.
14890 (R_MN10300_SYM_DIFF): Likewise.
14891 (R_MN10300_ALIGN): Likewise.
14892 (R_MN10300_NUM): Update.
14893
148942012-08-08 Joseph Myers <joseph@codesourcery.com>
14895
14896 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14897 Remove.
14898
148992012-08-08 Roland McGrath <roland@hack.frob.com>
14900
14901 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14902
14903 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14904 sysdeps/unix -> sysdeps/posix move.
14905 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14906
149072012-08-07 Allan McRae <allan@archlinux.org>
14908
14909 [BZ #14303]
14910 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14911 (SUNOS_CPP): Likewise.
14912 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14913 not found.
14914 (open_input): Call CPP using execvp.
14915
149162012-08-07 Joseph Myers <joseph@codesourcery.com>
14917
14918 * sysdeps/unix/sysv/linux/kernel-features.h
14919 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14920 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14921 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14922 (__ASSUME_WAITID_SYSCALL): Likewise.
14923 * sysdeps/unix/sysv/linux/dl-execstack.c
14924 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14925 code unconditional.
14926 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14927 conditional code.
14928 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14929 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14930 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14931 code.
14932 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14933 unconditional.
14934 [__ASSUME_WAITID_SYSCALL]: Likewise.
14935 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14936
149372012-08-07 Roland McGrath <roland@hack.frob.com>
14938
14939 * sysdeps/unix/closedir.c: Renamed to ...
14940 * sysdeps/posix/closedir.c: ... here.
14941 * sysdeps/unix/dirfd.c: Renamed to ...
14942 * sysdeps/posix/dirfd.c: ... here.
14943 * sysdeps/unix/dirstream.h: Renamed to ...
14944 * sysdeps/posix/dirstream.h: ... here.
14945 * sysdeps/unix/fdopendir.c: Renamed to ...
14946 * sysdeps/posix/fdopendir.c: ... here.
14947 * sysdeps/unix/opendir.c: Renamed to ...
14948 * sysdeps/posix/opendir.c: ... here.
14949 * sysdeps/unix/readdir.c: Renamed to ...
14950 * sysdeps/posix/readdir.c: ... here.
14951 * sysdeps/unix/readdir_r.c: Renamed to ...
14952 * sysdeps/posix/readdir_r.c: ... here.
14953 * sysdeps/unix/rewinddir.c: Renamed to ...
14954 * sysdeps/posix/rewinddir.c: ... here.
14955 * sysdeps/unix/seekdir.c: Renamed to ...
14956 * sysdeps/posix/seekdir.c: ... here.
14957 * sysdeps/unix/telldir.c: Renamed to ...
14958 * sysdeps/posix/telldir.c: ... here.
14959 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14960 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14961 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14962 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14963
14964 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14965 * bits/fcntl.h: ... here.
14966
14967 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14968 not 0.
14969 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14970 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14971 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14972 (struct flock): Move l_start, l_len to the beginning.
14973 Use __pid_t for l_pid.
14974 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14975 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14976 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14977 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14978 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14979 [__USE_LARGEFILE64] (struct flock64): New type.
14980 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14981
14982 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14983 * bits/dirent.h: ... here.
14984
14985 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14986 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14987
149882012-08-07 Joseph Myers <joseph@codesourcery.com>
14989
14990 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14991 Change from 2.6.0 to 2.6.16.
14992 * sysdeps/unix/sysv/linux/configure: Regenerated.
14993 * sysdeps/unix/sysv/linux/kernel-features.h
14994 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14995 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14996 version.
14997 (__ASSUME_UTIMES): Likewise.
14998 (__ASSUME_CLONE_STOPPED): Remove.
14999 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15000 architectures, not kernel version.
15001 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15002 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15003 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15004 (__ASSUME_WAITID_SYSCALL): Likewise.
15005 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15006 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15007 * README: State 2.6.16 as minimum Linux kernel version. Do not
15008 refer to older versions.
15009
150102012-08-06 Roland McGrath <roland@hack.frob.com>
15011
15012 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15013 Define alphasort64 as an alias.
15014 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15015 Define versionsort64 as an alias.
15016 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15017 Define scandir64 as an alias.
15018 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15019 Define scandirat64 as an alias.
15020 * dirent/alphasort64.c (alphasort64):
15021 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15022 * dirent/versionsort64.c: Likewise.
15023 * dirent/scandir64.c: Likewise.
15024 * dirent/scandirat64.c: Likewise.
15025 * sysdeps/wordsize-64/alphasort.c: File removed.
15026 * sysdeps/wordsize-64/alphasort64.c: File removed.
15027 * sysdeps/wordsize-64/scandir.c: File removed.
15028 * sysdeps/wordsize-64/scandir64.c: File removed.
15029 * sysdeps/wordsize-64/scandirat.c: File removed.
15030 * sysdeps/wordsize-64/scandirat64.c: File removed.
15031 * sysdeps/wordsize-64/versionsort.c: File removed.
15032 * sysdeps/wordsize-64/versionsort64.c: File removed.
15033 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15034 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15035 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15036 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15037 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15038 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15039 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15040 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15041
15042 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15044 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15046 [defined __arch64__ || defined __sparcv9]
15047 (__INO_T_MATCHES_INO64_T): New macro.
15048 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15049 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15050 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15051 * sysdeps/unix/sysv/linux/bits/dirent.h
15052 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15053 (_DIRENT_MATCHES_DIRENT64): New macro.
15054
15055 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15056 Define lockf64 as an alias.
15057 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15058 Define fseeko64 as an alias.
15059 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15060 Define ftello64 as an alias.
15061 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15062 Define _IO_fgetpos64 and fgetpos64 as aliases.
15063 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15064 Define _IO_fsetpos64 and fsetpos64 as aliases.
15065 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15066 Conditionalize body on this.
15067 * libio/fseeko64.c: Likewise.
15068 * libio/ftello64.c: Likewise.
15069 * libio/iofgetpos64.c: Likewise.
15070 * libio/iofsetpos64.c: Likewise.
15071 * sysdeps/wordsize-64/lockf.c: File removed.
15072 * sysdeps/wordsize-64/lockf64.c: File removed.
15073 * sysdeps/wordsize-64/fseeko.c: File removed.
15074 * sysdeps/wordsize-64/fseeko64.c: File removed.
15075 * sysdeps/wordsize-64/ftello.c: File removed.
15076 * sysdeps/wordsize-64/ftello64.c: File removed.
15077 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15078 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15079 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15080 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15081 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15082 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15083 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15084 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15085 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15086 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15089 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15090 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15091
15092 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15094 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15096 [defined __arch64__ || defined __sparcv9]
15097 (__OFF_T_MATCHES_OFF64_T): New macro.
15098 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15099 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15100 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15101 (__OFF_T_MATCHES_OFF64_T): New macro.
15102
151032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15104
15105 * stdlib/secure-getenv.c (__secure_getenv): Replace
15106 GLIBC_2_16 with GLIBC_2_17.
15107
151082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15109
15110 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15111 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15112
151132012-08-03 David S. Miller <davem@davemloft.net>
15114
15115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15116
151172012-08-03 Joseph Myers <joseph@codesourcery.com>
15118
15119 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15120 Remove.
15121 (__ASSUME_CORRECT_SI_PID): Likewise.
15122 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15123 (__ASSUME_TMPFS_NAME): Likewise.
15124 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15125 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15126 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15127 (HAVE_AUX_SECURE): Make definition unconditional.
15128 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15129 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15130
151312012-08-03 Roland McGrath <roland@hack.frob.com>
15132
15133 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15134 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15135 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15136 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15137 __eloop_threshold instead of SYMLOOP_MAX.
15138
15139 * sysdeps/generic/eloop-threshold.h: New file.
15140 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15141 of MAXSYMLINKS.
15142 * elf/chroot_canon.c (chroot_canon): Likewise.
15143
151442012-08-03 Joseph Myers <joseph@codesourcery.com>
15145
15146 [BZ #13717]
15147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15148 Change to 2.6.0 everywhere.
15149 * sysdeps/unix/sysv/linux/configure: Regenerated.
15150 * sysdeps/unix/sysv/linux/kernel-features.h
15151 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15152 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15153 kernel versions.
15154 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15155 (__ASSUME_FUTEX_REQUEUE): Remove.
15156 (__ASSUME_STATFS64): Define unconditionally.
15157 (__ASSUME_AT_SECURE): Likewise.
15158 (__ASSUME_CORRECT_SI_PID): Likewise.
15159 (__ASSUME_TGKILL): Define without depending on kernel version for
15160 i386.
15161 (__ASSUME_UTIMES): Likewise.
15162 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15163 kernel version.
15164 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15165 (__ASSUME_TMPFS_NAME): Likewise.
15166 * README: Update reference to Linux kernel versions.
15167
151682012-08-02 Marek Polacek <polacek@redhat.com>
15169
15170 [BZ# 14150]
15171 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15172 libc_cv_asm_type_prefix with %.
15173 * configure: Regenerated.
15174 * include/libc-symbols.h: Remove comment about
15175 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15176 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15177 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15178 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15179 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15180 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15181 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15182 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15183 * elf/tst-unique2mod1.c: Likewise.
15184 * elf/tst-unique1mod2.c: Likewise.
15185 * elf/tst-unique1mod1.c: Likewise.
15186 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15187 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15188 Replace ASM_TYPE_DIRECTIVE with .type.
15189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15190 * sysdeps/i386/sysdep.h: Likewise.
15191 * sysdeps/x86_64/sysdep.h: Likewise.
15192 * sysdeps/sh/sysdep.h: Likewise.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15194 Do not define ASM_TYPE_DIRECTIVE.
15195 * sysdeps/powerpc/sysdep.h: Likewise.
15196 * sysdeps/powerpc/powerpc32/sysdep.h:
15197 Replace ASM_TYPE_DIRECTIVE with .type.
15198 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15199 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15200 * sysdeps/i386/fpu/e_powf.S: Likewise.
15201 * sysdeps/i386/fpu/e_expl.S: Likewise.
15202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15203 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15204 * sysdeps/i386/fpu/e_pow.S: Likewise.
15205 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15206 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15207 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15208 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15209 * sysdeps/i386/fpu/e_log2.S: Likewise.
15210 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15211 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15212 * sysdeps/i386/fpu/e_powl.S: Likewise.
15213 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15214 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15215 * sysdeps/i386/fpu/e_logl.S: Likewise.
15216 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15217 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15218 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15219 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15220 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15221 * sysdeps/i386/fpu/e_log.S: Likewise.
15222 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15223 * sysdeps/i386/fpu/e_logf.S: Likewise.
15224 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15225 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15226 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15227 * sysdeps/i386/fpu/e_log10.S: Likewise.
15228 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15229 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15230 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15231 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15233 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15234 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15235 * sysdeps/i386/i686/strtok.S: Likewise.
15236 * sysdeps/i386/i386-mcount.S: Likewise.
15237 * sysdeps/i386/strtok.S: Likewise.
15238 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15239 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15242 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15243 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15244 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15245 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15246 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15247 * sysdeps/x86_64/_mcount.S: Likewise.
15248 * sysdeps/x86_64/strtok.S: Likewise.
15249 * sysdeps/sh/_mcount.S: Likewise.
15250
152512012-08-01 Roland McGrath <roland@hack.frob.com>
15252
15253 * libio/iofopen.c: Include <fcntl.h>.
15254 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15255 (_IO_fopen64, fopen64): Define as aliases.
15256 * libio/iofopen64.c: Include <fcntl.h>.
15257 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15258 Conditionalize body on this.
15259 * sysdeps/wordsize-64/iofopen.c: File removed.
15260 * sysdeps/wordsize-64/iofopen64.c: File removed.
15261
152622012-08-01 Marek Polacek <polacek@redhat.com>
15263
15264 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15265 Use dlfcn directly instead of a variable.
15266 (binfmt-subdir): Do not define.
15267 (dlfcn): Likewise.
15268
152692012-08-01 Joseph Myers <joseph@codesourcery.com>
15270
15271 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15272 Remove all definitions.
15273 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15274 <kernel-features.h>.
15275 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15276 (miss_F_GETOWN_EX): Remove all definitions.
15277 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15278 macro definition.
15279 [!__ASSUME_FCNTL64]: Remove conditional code.
15280 [__ASSUME_FCNTL64]: Make code unconditional.
15281 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15282 <kernel-features.h>.
15283 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15284 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15285 (lockf64) [__NR_fcntl64]: Make code unconditional.
15286 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15287
15288 * sysdeps/unix/sysv/linux/kernel-features.h
15289 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15290 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15291 Make code unconditional.
15292 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15293 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15295 [__NR_vfork]: Make code unconditional.
15296 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15297 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15299 [__NR_vfork]: Make code unconditional.
15300 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15301 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15302
153032012-08-01 Roland McGrath <roland@hack.frob.com>
15304
15305 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15306 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15307
15308 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15309 Define mkstemp64 as an alias.
15310 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15311 Define mkstemps64 as an alias.
15312 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15313 Define mkostemp64 as an alias.
15314 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15315 Define mkostemps64 as an alias.
15316 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15317 Conditionalize body on this.
15318 * misc/mkostemp64.c: Likewise.
15319 * misc/mkostemps64.c: Likewise.
15320 * misc/mkstemps64.c: Likewise.
15321 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15322 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15323 * sysdeps/wordsize-64/mkostemp.c: File removed.
15324 * sysdeps/wordsize-64/mkstemp.c: File removed.
15325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15326 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15327 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15328 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15329
15330 [BZ #14138]
15331 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15332 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15333 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15334 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15335
15336 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15337 compat_symbol macros from <shlib-compat.h> rather than the underlying
15338 default_symbol_version and symbol_version macros, so that DEFAULT
15339 lines in shlib-versions are respected.
15340 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15341
153422012-08-01 Florian Weimer <fweimer@redhat.com>
15343
15344 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15345 Declare with warn_unused_result.
15346 (setgid, setregid, setegid, setresgid): Likewise.
15347 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15348 Likewise.
15349 * WUR-REPORT: Remove set*id functions.
15350
153512012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15352
15353 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15354
153552012-07-31 Roland McGrath <roland@hack.frob.com>
15356
15357 [BZ #10191]
15358 * include/sys/socket.h (__libc_accept, __libc_accept4):
15359 Add attribute_hidden.
15360 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15361
15362 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15363 use of PTR_MANGLE.
15364 * inet/getnetgrent_r.c (setup): Likewise.
15365
15366 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15367
153682012-07-31 David S. Miller <davem@davemloft.net>
15369
15370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15371
153722012-07-31 Joseph Myers <joseph@codesourcery.com>
15373
15374 [BZ #13629]
15375 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15376 value between 1.0 and 2.0 and smaller part has absolute value less
15377 than 1.0.
15378 * math/s_clog10.c (__clog10): Likewise.
15379 * math/s_clog10f.c (__clog10f): Likewise.
15380 * math/s_clog10l.c (__clog10l): Likewise.
15381 * math/s_clogf.c (__clogf): Likewise.
15382 * math/s_clogl.c (__clogl): Likewise.
15383 * math/libm-test.inc (clog_test): Add more tests.
15384 (clog10_test): Likewise.
15385 * sysdeps/i386/fpu/libm-test-ulps: Update.
15386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15387
153882012-07-31 Florian Weimer <fweimer@redhat.com>
15389
15390 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15391 Exit with zero in case no suitable GID is found, and write a
15392 message to standard error.
15393
153942012-07-30 Roland McGrath <roland@hack.frob.com>
15395
15396 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15397 rather than to 1.
15398 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15399 (MAXPATHLEN): Removed.
15400 (NOGROUP, NODEV): New macros.
15401 (setbit, clrbit, isset, isclr): New macros.
15402 (howmany, roundup, powerof2): New macros.
15403 (DEV_BSIZE): New macro.
15404
15405 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15406 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15407
15408 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15409 definition on [!__NO_LONG_DOUBLE_MATH].
15410
15411 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15412 PTR_MANGLE and PTR_DEMANGLE.
15413
15414 * socket/accept4.c (accept4): Rename to __libc_accept4.
15415 Define accept4 as a weak alias.
15416
15417 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15418 on [_DIRENT_HAVE_D_TYPE].
15419 * io/ftw.c (ftw_dir): Likewise.
15420
15421 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15422
15423 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15424
15425 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15426 Use the BSD numbers rather than the arbitrary ones we had.
15427 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15428 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15429 (SIGXCPU, SIGXFSZ): New macros.
15430 (_NSIG): Now 32.
15431
15432 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15433 initializer on [_LIBC_REENTRANT].
15434
15435 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15436 definitions inside [_POSIX_MAPPED_FILES].
15437
15438 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15439
15440 * dirent/opendir.c: Include <fcntl.h>.
15441
15442 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15443 (__libc_getspecific): Likewise.
15444 (__libc_key_create): Likewise.
15445
15446 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15447 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15448 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15449 (tmpfile64): Define as alias.
15450 * sysdeps/wordsize-64/tmpfile.c: File removed.
15451 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15452 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15453 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15454
15455 * stdio-common/vfscanf.c: Include <stdbool.h>.
15456 * nss/makedb.c: Likewise.
15457 * stdio-common/_i18n_number.h: Likewise.
15458 * argp/argp-help.c: Likewise.
15459 * posix/wordexp.c: Likewise.
15460 * sysdeps/posix/spawni.c: Likewise.
15461 * nss/nss_files/files-initgroups.c: Likewise.
15462 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15463 * nss/nss_files/files-initgroups.c: Likewise.
15464 * nss/nss_db/db-netgrp.c: Likewise.
15465 * nss/nss_db/db-initgroups.c: Likewise.
15466 * io/fchmodat.c: Include <sys/stat.h>.
15467
15468 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15469 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15470
15471 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15472 [HAVE_MMAP].
15473
15474 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15475 Add multiple inclusion protection.
15476
154772012-07-27 David S. Miller <davem@davemloft.net>
15478
15479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15480
154812012-07-27 Gary Benson <gbenson@redhat.com>
15482
15483 [BZ #14298]
15484 * elf/rtld.c: Include <stap-probe.h>.
15485 (dl_main): Added static probes "init_start" and "init_complete".
15486 * elf/dl-load.c: Include <stap-probe.h>.
15487 (lose): Take new parameter "nsid".
15488 Added static probe "map_failed".
15489 (_dl_map_object_from_fd): Pass namespace id to lose.
15490 Added static probe "map_start".
15491 (open_verify): Pass namespace id to lose.
15492 * elf/dl-open.c: Include <stap-probe.h>.
15493 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15494 and "reloc_complete".
15495 * elf/dl-close.c: Include <stap-probe.h>.
15496 (_dl_close_worker): Added static probes "unmap_start" and
15497 "unmap_complete".
15498 * elf/rtld-debugger-interface.txt: New file documenting the above.
15499
155002012-07-26 Roland McGrath <roland@hack.frob.com>
15501
15502 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15503 rather than a string variable.
15504 * sunrpc/rpc_main.c (h_output): Likewise.
15505 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15506
155072012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15508
15509 * inet/check_native.c: New file.
15510
155112012-07-26 Joseph Myers <joseph@codesourcery.com>
15512
15513 [BZ #13629]
15514 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15515 if larger part has absolute value 1.0.
15516 * math/s_clog10.c (__clog10): Likewise.
15517 * math/s_clog10f.c (__clog10f): Likewise.
15518 * math/s_clog10l.c (__clog10l): Likewise.
15519 * math/s_clogf.c (__clogf): Likewise.
15520 * math/s_clogl.c (__clogl): Likewise.
15521 * math/libm-test.inc (clog_test): Add more tests.
15522 (clog10_test): Likewise.
15523 * sysdeps/i386/fpu/libm-test-ulps: Update.
15524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15525
15526 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15527 (pltexit): Likewise.
15528 (La_regs): Likewise.
15529 (La_retval): Likewise.
15530 (int_retval): Likewise.
15531 Update #error for removed macros to refer only to definitions in
15532 tst-audit.h.
15533 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15534 macro.
15535 (pltexit): Likewise.
15536 (La_regs): Likewise.
15537 (La_retval): Likewise.
15538 (int_retval): Likewise.
15539 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15540 macro.
15541 (pltexit): Likewise.
15542 (La_regs): Likewise.
15543 (La_retval): Likewise.
15544 (int_retval): Likewise.
15545 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15546 macro.
15547 (pltexit): Likewise.
15548 (La_regs): Likewise.
15549 (La_retval): Likewise.
15550 (int_retval): Likewise.
15551 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15552 macro.
15553 (pltexit): Likewise.
15554 (La_regs): Likewise.
15555 (La_retval): Likewise.
15556 (int_retval): Likewise.
15557 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15558 macro.
15559 (pltexit): Likewise.
15560 (La_regs): Likewise.
15561 (La_retval): Likewise.
15562 (int_retval): Likewise.
15563 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15564 macro.
15565 (pltexit): Likewise.
15566 (La_regs): Likewise.
15567 (La_retval): Likewise.
15568 (int_retval): Likewise.
15569 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15570 macro definitions in tst-audit.h.
15571 * sysdeps/i386/tst-audit.h: New file.
15572 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15573 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15574 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15575 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15576 * sysdeps/sh/tst-audit.h: Likewise.
15577 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15578 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15579 * sysdeps/x86_64/tst-audit.h: Likewise.
15580
155812012-07-26 Andreas Jaeger <aj@suse.de>
15582
15583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15584 ptrace.
15585
15586 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15587 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15588 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15589 PTRACE_O_MASK.
15590 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15591 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15592 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15593
15594 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15595 value.
15596
15597 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15598 _sigsys.
15599 (si_call_addr, si_syscall, si_arch): Define new macro.
15600 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15601 _sigsys.
15602 (si_call_addr, si_syscall, si_arch): Define new marcro.
15603 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15604 _sigsys.
15605 (si_call_addr, si_syscall, si_arch): Define new macro.
15606 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15607 _sigsys.
15608 (si_call_addr, si_syscall, si_arch): Define new macro.
15609
156102012-07-25 Joseph Myers <joseph@codesourcery.com>
15611
15612 [BZ #13717]
15613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15614 Change to 2.4.21 where previously 2.4.1.
15615 * sysdeps/unix/sysv/linux/configure: Regenerated.
15616 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15617 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15618 Linux kernel version.
15619 (__ASSUME_STD_AUXV): Remove.
15620 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15621 kernel version.
15622 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15623 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15624 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15625 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15626 (__ASSUME_NETLINK_SUPPORT): Likewise.
15627 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15628 (__no_netlink_support): Remove conditional definition.
15629 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15630 Remove.
15631 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15632 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15633 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15634 (if_nameindex_ioctl): Remove.
15635 (if_nameindex_netlink): Do not handle __no_netlink_support.
15636 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15637 code.
15638 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15639 Remove conditional code.
15640 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15641 code.
15642 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15643 unconditional.
15644 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15645 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15646 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15647 Remove.
15648 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15649 [!__ASSUME_STD_AUXV]: Remove conditional code.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15651 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15652 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15654 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15655 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15656 code.
15657 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15659 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15660 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15661 conditional code.
15662 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15664 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15665 code.
15666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15667 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15668 conditional code.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15670 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15671 code unconditional.
15672 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15673 conditional code.
15674 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15675 unconditional.
15676 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15677 conditional code.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15679 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15680 unconditional.
15681 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15682 conditional code.
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15684 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15685 code unconditional.
15686 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15687 conditional code.
15688 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15689 unconditional.
15690 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15691 conditional code.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15693 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15694 code unconditional.
15695 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15696 conditional code.
15697 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15698 unconditional.
15699 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15700 conditional code.
15701
157022012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15703
15704 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15705 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15706 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15707 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15708 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15709 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15710 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15711 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15712 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15713 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15714 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15715 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15716 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15717 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15718 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15719 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15720 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15722 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15724 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15725 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15726 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15727
157282012-07-25 Florian Weimer <fweimer@redhat.com>
15729
15730 * Versions.def: Add GLIBC_2.17.
15731 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15732 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15733 Introduce __libc_secure_getenv.
15734 * stdlib/Versions (2.17): Add secure_getenv
15735 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15736 * stdlib/secure-getenv.c: Rename __secure_getenv to
15737 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15738 symbol __secure_getenv for GLIBC_2.0.
15739 * stdlib/tst-secure-getenv.c: New.
15740 * stdlib/Makefile (tests): Add testcase.
15741 * manual/startup.texi (Environment Access): Document
15742 secure_getenv.
15743 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15744 __libc_secure_getenv.
15745 * inet/ruserpass.c (ruserpass): Likewise.
15746 * malloc/mtrace.c (mtrace): Likewise.
15747 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15748 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15749 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15750 * sysdeps/posix/tempname.c: Likewise. Evaluate
15751 HAVE_SECURE_GETENV.
15752 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15753 __secure_getenv to __libc_secure_getenv.
15754 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15756 Likewise.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15758 Likewise.
15759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15766
157672012-07-25 Joseph Myers <joseph@codesourcery.com>
15768
15769 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15770 (struct La_i86_retval): Likewise.
15771 (struct La_x86_64_regs): Likewise.
15772 (struct La_x86_64_retval): Likewise.
15773 (struct La_x32_regs): Likewise.
15774 (struct La_x32_retval): Likewise.
15775 (struct La_ppc32_regs): Likewise.
15776 (struct La_ppc32_retval): Likewise.
15777 (struct La_ppc64_regs): Likewise.
15778 (struct La_ppc64_retval): Likewise.
15779 (struct La_sh_regs): Likewise.
15780 (struct La_sh_retval): Likewise.
15781 (struct La_s390_32_regs): Likewise.
15782 (struct La_s390_32_retval): Likewise.
15783 (struct La_s390_64_regs): Likewise.
15784 (struct La_s390_64_retval): Likewise.
15785 (struct La_sparc32_regs): Likewise.
15786 (struct La_sparc32_retval): Likewise.
15787 (struct La_sparc64_regs): Likewise.
15788 (struct La_sparc64_retval): Likewise.
15789 (struct audit_ifaces): Remove architecture-specific pltenter and
15790 pltexit members.
15791 * sysdeps/i386/ldsodefs.h: New file.
15792 * sysdeps/powerpc/ldsodefs.h: Likewise.
15793 * sysdeps/s390/ldsodefs.h: Likewise.
15794 * sysdeps/sh/ldsodefs.h: Likewise.
15795 * sysdeps/sparc/ldsodefs.h: Likewise.
15796 * sysdeps/x86_64/ldsodefs.h: Likewise.
15797
157982012-07-25 Marek Polacek <polacek@redhat.com>
15799
15800 [BZ #6808]
15801 * math/libm-test.inc (yn_test): Add another test.
15802 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15803 to ERANGE when the result is +-Inf.
15804 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15805 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15806 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15807 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15808
158092012-07-24 Joseph Myers <joseph@codesourcery.com>
15810
15811 * conform/data/time.h-data (NULL): Use macro-constant. Require
15812 equal to 0.
15813 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15814 clock_t.
15815 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15816
158172012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15818
15819 * configure.in <sysdeps resolving>: Correct printing
15820 Implies_before.
15821 * configure: Regenerate.
15822
158232012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15824
15825 * math/w_ilogb.c: Include <limits.h>.
15826 * math/w_ilogbl.c: Likewise.
15827
158282012-07-20 Joseph Myers <joseph@codesourcery.com>
15829
15830 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15831 va_copy. Document allowing for unavailable va_copy only as
15832 pre-C99 compatibility.
15833 * manual/string.texi (Copying and Concatenation): Use va_copy
15834 instead of __va_copy in concat example.
15835
158362012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15837
15838 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15839 (__sendto): Use create_address_port. Initialize APORT and deallocate
15840 it if not null.
15841
15842 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15843 with O_NOLINK passed to __file_name_lookup.
15844
15845 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15846 with O_NOLINK passed to __file_name_lookup.
15847
15848 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15849 negative N or less than NGIDS.
15850
15851 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15852 type to string_t. Set ERANGE as errno and return it if NAME is not big
15853 enough. Use memcpy instead of strncpy.
15854
158552012-07-20 Joseph Myers <joseph@codesourcery.com>
15856
15857 * elf/Makefile (check-data): Remove.
15858 (localplt.data): New vpath directive.
15859 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15860 instead of $(check-data).
15861 * scripts/data/localplt-generic.data: Move to ...
15862 * sysdeps/generic/localplt.data: ... here.
15863 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15864 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15865 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15867 ... here.
15868 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15870 ... here.
15871 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15873 ... here.
15874 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15876 ... here.
15877 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15879 ... here.
15880 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15882 ... here.
15883
158842012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15885
15886 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15887 PPC32 and PPC64 files.
15888 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15889 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15890
158912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15892
15893 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15894 __makecontext_ret to ...
15895 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15896 ... here and call exit if uc_link is NULL. New file.
15897 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15898 __makecontext_ret.S.
15899 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15900 __makecontext_ret to ...
15901 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15902 ... here and call exit if uc_link is NULL. New file.
15903 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15904 __makecontext_ret.S.
15905
159062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15907
15908 * elf/elf.h (R_390_IRELATIVE): New definition.
15909 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15910 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15911 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15912 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15913 (elf_machine_lazy_rel): Likewise.
15914 * sysdeps/s390/dl-irel.h: New file.
15915 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15916 * sysdeps/s390/s390-64/memset.S: New asm code.
15917 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15918 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15919 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15920 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15921 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15922 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15923 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15924 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15925 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15926 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15927 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15928 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15929 * sysdeps/s390/s390-32/memset.S: New asm code.
15930 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15931
159322012-07-17 Marek Polacek <polacek@redhat.com>
15933
15934 [BZ #14349]
15935 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15936 * sysdeps/s390/s390-64/configure.in: Likewise.
15937 * sysdeps/sparc/configure.in: Likewise.
15938 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15939 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15940 * sysdeps/i386/configure.in: Likewise.
15941 * sysdeps/x86_64/configure.in: Likewise.
15942 * sysdeps/sh/configure.in: Likewise.
15943 * sysdeps/s390/s390-32/configure: Regenerated.
15944 * sysdeps/s390/s390-64/configure: Likewise.
15945 * sysdeps/x86_64/configure: Likewise.
15946 * sysdeps/sh/configure: Likewise.
15947 * sysdeps/powerpc/powerpc64/configure: Likewise.
15948 * sysdeps/powerpc/powerpc32/configure: Likewise.
15949 * sysdeps/sparc/configure: Likwise.
15950 * sysdeps/i386/configure: Likewise.
15951
15952 * elf/dl-open.c: Comment fixes.
15953
159542012-07-17 Joseph Myers <joseph@codesourcery.com>
15955
15956 * Makefile [CXX] (check-data): Remove.
15957 [CXX] (c++-types.data): New vpath directive.
15958 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15959 vpath. Do not allow for C++ type data being missing.
15960 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15961 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15962 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15963 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15964 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15965 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15966 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15968 ... here.
15969 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15971 ... here.
15972 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15974 ... here.
15975 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15977 ... here.
15978 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15980 ... here.
15981 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15983 ... here.
15984 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15986 ... here.
15987 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15989
15990 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15991 definitions to architecture-specific files.
15992 (TLS_IE): Likewise.
15993 (TLS_LD): Likewise.
15994 (TLS_GD): Likewise.
15995 * sysdeps/i386/tls-macros.h: New file.
15996 * sysdeps/powerpc/tls-macros.h: Likewise.
15997 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15998 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15999 * sysdeps/sh/tls-macros.h: Likewise.
16000 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16001 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16002 * sysdeps/x86_64/tls-macros.h: Likewise.
16003
160042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16005
16006 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16007 zero value for regular exit case.
16008
16009 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16010 (__start_context): Preserve zero value for regular exit case.
16011
160122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16013 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16014
16015 * manual/setjmp.texi (setcontext): Clarify normal process
16016 termination when uc_link is the null pointer.
16017 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16018 exit call.
16019
160202012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16021
16022 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16023 preprocessor. Test for each exception mask separately.
16024
160252012-07-16 Andreas Jaeger <aj@suse.de>
16026
16027 * po/ru.po: Update from translation team.
16028
160292012-07-15 Joseph Myers <joseph@codesourcery.com>
16030
16031 * conform/data/string.h-data (NULL): Use macro-constant. Require
16032 equal to 0.
16033 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16034 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16035 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16036 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16038
160392012-07-13 Andreas Jaeger <aj@suse.de>
16040
16041 * po/fr.po: Update from translation team.
16042
160432012-07-12 Marek Polacek <polacek@redhat.com>
16044
16045 [BZ #14173]
16046 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16047 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16048 loop condition.
16049
160502012-07-12 Joseph Myers <joseph@codesourcery.com>
16051
16052 [BZ #13717]
16053 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16054 Change to 2.4.1 where previously 2.4.0.
16055 * sysdeps/unix/sysv/linux/configure: Regenerated.
16056 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16057 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16058 version.
16059 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16060 (__ASSUME_AT_CLKTCK): Remove.
16061 (__ASSUME_AT_PAGESIZE): Likewise.
16062 (__ASSUME_AT_XID): Likewise.
16063 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16064 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16065 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16066 unconditionally.
16067 (HAVE_AUX_PAGESIZE): Likewise.
16068 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16069 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16070 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16071
160722012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16073
16074 [BZ #14307]
16075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16076 the temporary buffer used to invoke __gethostbyname2_r,
16077 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16078 host_data / struct gaih_addrtuple.
16079 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16080 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16081 header file nss/nsswitch.h.
16082 * nss/nsswitch.h (global scope): Add definition of implementation
16083 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16084 resolv/nss_dns/dns-host.c).
16085
160862012-07-11 Andreas Jaeger <aj@suse.de>
16087
16088 * po/fr.po: Update from translation team.
16089
16090 * po/sv.po: Update from translation team
16091 * po/fr.po: Another update from translation team.
16092
160932012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16094
16095 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16096 for subnormals or multiply small sinh result by itself.
16097 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16099
161002012-07-11 David S. Miller <davem@davemloft.net>
16101
16102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16103
161042012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16105
16106 [BZ #14347]
16107 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16108 (INTERNAL_MARK): Shift it here.
16109
161102012-07-10 Marek Polacek <polacek@redhat.com>
16111
16112 [BZ #14151]
16113 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16114 libc_cv_asm_global_directive with .globl.
16115 * configure: Regenerated.
16116 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16117 with .globl.
16118 * sysdeps/i386/configure: Regenerated.
16119 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16120 with .globl.
16121 * sysdeps/x86_64/configure: Regenerated.
16122 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16123 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16124 * elf/tst-unique2mod2.c: Likewise.
16125 * elf/tst-unique2mod1.c: Likewise.
16126 * elf/tst-unique1mod2.c: Likewise.
16127 * elf/tst-unique1mod1.c: Likewise.
16128 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16129 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16130 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16131 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16132 * sysdeps/mach/sysdep.h: Likewise.
16133 * sysdeps/i386/sysdep.h: Likewise.
16134 * sysdeps/i386/i386-mcount.S: Likewise.
16135 * sysdeps/x86_64/_mcount.S: Likewise.
16136 * sysdeps/x86_64/sysdep.h: Likewise.
16137 * sysdeps/sh/_mcount.S: Likewise.
16138 * sysdeps/sh/sysdep.h: Likewise.
16139 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16140 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16141 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16142 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16143 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16144 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16145 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16146 * locale/localeinfo.h: Likewise.
16147 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16148 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16149
161502012-07-09 Roland McGrath <roland@hack.frob.com>
16151
16152 [BZ #14336]
16153 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16154 system".
16155 * manual/message.texi (The Uniforum approach): Likewise.
16156 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16157 (glibc iconv Implementation): Likewise.
16158
161592012-07-09 Joseph Myers <joseph@codesourcery.com>
16160
16161 [BZ #14337]
16162 * math/s_clog.c (__clog): Avoid scaling a value down where that
16163 could result in underflow.
16164 * math/s_clog10.c (__clog10): Likewise.
16165 * math/s_clog10f.c (__clog10f): Likewise.
16166 * math/s_clog10l.c (__clog10l): Likewise.
16167 * math/s_clogf.c (__clogf): Likewise.
16168 * math/s_clogl.c (__clogl): Likewise.
16169 * math/libm-test.inc (clog_test): Add more tests.
16170 (clog10_test): Likewise.
16171 * sysdeps/i386/fpu/libm-test-ulps: Update.
16172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16173
161742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16175
16176 [BZ #14283]
16177 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16178 by 7 not 8 to examine high bit of fractional part.
16179
16180 [BZ #14042]
16181 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16182 for call to __mcount_internal.
16183 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16184 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16185 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16186
161872012-07-06 Joseph Myers <joseph@codesourcery.com>
16188
16189 [BZ #14154]
16190 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16191 approximation for values within 0x1p-13f of an odd multiple of
16192 pi/4.
16193 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16194 exception. Add more tests.
16195 * sysdeps/i386/fpu/libm-test-ulps: Update.
16196
16197 [BZ #6778]
16198 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16199 inputs and return -1 for them. Do not check for +Inf in case not
16200 reachable for +Inf.
16201 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16202 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16203 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16204 and return -1 for them. Do not check for +Inf in case not
16205 reachable for +Inf.
16206 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16207 define.
16208 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16209 and return -1 for them. Do not check for +Inf in case not
16210 reachable for +Inf.
16211 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16212 spurious underflow.
16213 * sysdeps/i386/fpu/libm-test-ulps: Update.
16214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16215
162162012-07-06 Mike Frysinger <vapier@gentoo.org>
16217
16218 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16219
162202012-07-05 Joseph Myers <joseph@codesourcery.com>
16221
16222 [BZ #14157]
16223 [BZ #14331]
16224 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16225 could result in spurious underflow. Scale down values above
16226 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16227 * math/s_csqrtf.c (__csqrtf): Likewise.
16228 * math/s_csqrtl.c (__csqrtl): Likewise.
16229 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16230 spurious underflow.
16231 * sysdeps/i386/fpu/libm-test-ulps: Update.
16232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16233
162342012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16235
16236 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16237 xopen-msg.sed.
16238 * catgets/xopen-msg.awk: New file.
16239 * catgets/xopen-msg.sed: Removed.
16240
16241 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16242 po2text.sed.
16243 * intl/po2test.awk: New file.
16244 * intl/po2test.sed: Removed.
16245
162462012-07-04 Joseph Myers <joseph@codesourcery.com>
16247
16248 [BZ #14328]
16249 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16250 or multiply small sinh result by itself.
16251 * math/s_ctanf.c (__ctanf): Likewise.
16252 * math/s_ctanh.c (__ctanh): Likewise.
16253 * math/s_ctanhf.c (__ctanhf): Likewise.
16254 * math/s_ctanhl.c (__ctanhl): Likewise.
16255 * math/s_ctanl.c (__ctanl): Likewise.
16256 * math/libm-test.inc (ctan_test_tonearest): New function.
16257 (ctan_test_towardzero): Likewise.
16258 (ctan_test_downward): Likewise.
16259 (ctan_test_upward): Likewise.
16260 (ctanh_test_tonearest): Likewise.
16261 (ctanh_test_towardzero): Likewise.
16262 (ctanh_test_downward): Likewise.
16263 (ctanh_test_upward): Likewise.
16264 (main): Call these new functions.
16265 * sysdeps/i386/fpu/libm-test-ulps: Update.
16266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16267
162682012-07-03 Mike Frysinger <vapier@gentoo.org>
16269
16270 * .gitignore: Delete /ports entry.
16271
162722012-07-03 Andreas Jaeger <aj@suse.de>
16273
16274 * po/bg.po: Update from translation team.
16275 * po/cs.po: Likewise.
16276 * po/de.po: Likewise.
16277 * po/hr.po: Likewise.
16278 * po/nl.pl: Likewise.
16279 * po/pl.po: Likewise.
16280 * po/vi.po: Likewise.
16281
162822012-07-03 Joseph Myers <joseph@codesourcery.com>
16283
16284 * Makeconfig [!+link] (+link-before-libc): New variable.
16285 [!+link] (+link-after-libc): Likewise.
16286 [!+link] (+link-tests): Likewise.
16287 [!+link] (+link): Define in terms of $(+link-before-libc) and
16288 $(+link-after-libc).
16289 [!+link-static] (+link-static-before-libc): New variable.
16290 [!+link-static] (+link-static-after-libc): Likewise.
16291 [!+link-static] (+link-static-tests): Likewise.
16292 [!+link-static] (+link-static): Define in terms of
16293 $(+link-static-before-libc) and $(+link-static-after-libc).
16294 [build-shared] (link-libc-before-gnulib): New variable.
16295 [build-shared] (link-libc-tests): Likewise.
16296 [build-shared] (link-libc): Define in terms of
16297 $(link-libc-before-gnulib).
16298 [!build-shared] (link-libc-tests): New variable.
16299 (link-libc-static-tests): New variable.
16300 [!gnulib] (gnulib-arch): New variable.
16301 [!gnulib] (gnulib-tests): Likewise.
16302 [!gnulib] (static-gnulib-arch): Likewise.
16303 [!gnulib] (static-gnulib-tests): Likewise.
16304 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16305 Define with "=" instead of ":=".
16306 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16307 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16308 * Rules (binaries-all-notests): New variable.
16309 (binaries-all-tests): Likewise.
16310 (binaries-static-notests): Likewise.
16311 (binaries-static-tests): Likewise.
16312 (binaries-all): Define using $(binaries-all-notests) and
16313 $(binaries-all-tests).
16314 (binaries-static): Define using $(binaries-static-notests) and
16315 $(binaries-static-tests).
16316 (binaries-shared-tests): New variable.
16317 (binaries-shared-notests): Likewise.
16318 (binaries-shared): Remove variable.
16319 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16320 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16321 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16322 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16323 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16324 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16325 * elf/Makefile (sln-modules): New variable.
16326 (extra-objs): Add $(sln-modules:=.o).
16327 (ldconfig-modules): Add static-stubs.
16328 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16329 * elf/static-stubs.c: New file.
16330
16331 [BZ #14283]
16332 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16333 by 7 not 8 to examine high bit of fractional part. Use volatile
16334 variables when splitting into final array of floats if
16335 __FLT_EVAL_METHOD__ != 0.
16336 * math/libm-test.inc (cos_test): Add another test.
16337 (sin_test): Likewise.
16338 * sysdeps/i386/fpu/libm-test-ulps: Update.
16339
16340 [BZ #14273]
16341 * math/libm-test.inc (cosh_test): Add more tests.
16342
16343 * version.h (RELEASE): Set to "development".
16344 (VERSION): Set to "2.16.90".
16345
163462012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16347
16348 * NEWS: Update copyright. Remove last-updated date.
16349 Mention math library bug fixes and timezone data changes.
16350 * README: Mention GNU/Hurd, x32, and HPPA support status.
16351
163522012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16353
16354 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16355
163562012-06-27 Andreas Jaeger <aj@suse.de>
16357
16358 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16359
163602012-06-25 Andreas Jaeger <aj@suse.de>
16361
16362 * sysdeps/s390/fpu/libm-test-ulps: Update.
16363
163642012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16365 Thomas Schwinge <thomas@codesourcery.com>
16366
16367 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16368 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16369 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16370 fanotify_mark.
16371
163722012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16373
16374 * sysdeps/mach/start.c: Remove file.
16375 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16376 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16377 * sysdeps/sh/init-first.c: Likewise.
16378
16379 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16380 registers for frame unwinding purposes, add CFI directives.
16381 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16382 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16383 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16384 Likewise.
16385
16386 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16387 __fortify_fail returning.
16388 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16389
16390 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16391 sysdeps/sh/____longjmp_chk.S.
16392 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16393 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16394 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16395 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16396
16397 * sysdeps/sh/abort-instr.h: New file.
16398 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16399 process in case exit returns.
16400
16401 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16402 initialize the GOT register before use.
16403
16404 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16405 calculation of ARGC > 4.
16406
16407 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16408 meaningful names to some local labels.
16409
164102012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16411 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16412
16413 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16414 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16415 (__arch_compare_and_exchange_val_16_acq): Likewise.
16416 (__arch_compare_and_exchange_val_32_acq): Likewise.
16417 (atomic_exchange_and_add): Fix gUSA sequence.
16418 (atomic_add): Likewise.
16419 (atomic_add_negative): Likewise.
16420 (atomic_add_zero): Likewise.
16421 (atomic_bit_test_set): Likewise.
16422
164232012-06-22 Andreas Schwab <schwab@redhat.com>
16424
16425 [BZ #13579]
16426 * include/link.h (struct link_map): Add l_free_initfini.
16427 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16428 l_initfini.
16429 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16430 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16431 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16432 set.
16433
164342012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16435
16436 * configure.in: Use AC_LANG_SOURCE.
16437 * configure: Regenerate.
16438
164392012-06-22 Roland McGrath <roland@hack.frob.com>
16440
16441 * configure.in (libc_cv_localstatedir): New substituted variable.
16442 * configure: Regenerated.
16443 * config.make.in (localstatedir): New variable, substituted from
16444 libc_cv_localstatedir.
16445 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16446 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16447 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16448 * sysdeps/gnu/configure: Regenerated.
16449
164502012-06-21 Jeff Law <law@redhat.com>
16451
16452 [BZ #14277]
16453 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16454 free. Simplify list management for _LIBC case.
16455
164562012-06-21 Joseph Myers <joseph@codesourcery.com>
16457
16458 [BZ #14273]
16459 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16460 Clear sign bit of 64-bit integer value before comparing against
16461 overflow value.
16462
16463 * sysdeps/mach/configure: Regenerated.
16464
164652012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16466
16467 [BZ #14278]
16468 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16469
164702012-06-21 Jeff Law <law@redhat.com>
16471
16472 [BZ #13882]
16473 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16474 uint16_t for elements in the "seen" array to avoid char overflows.
16475 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16476 * elf/dl-open.c (dl_open_worker): Likewise.
16477
164782012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16479
16480 * scripts/list-sources.sh: Scan PORTS for translations.
16481 * po/libc.pot: Regenerated.
16482
164832012-06-21 Andreas Jaeger <aj@suse.de>
16484
16485 [BZ #12194]
16486 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16487 warning.
16488 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16489 * bits/byteswap-16.h (__bswap_16): Likewise.
16490 * bits/byteswap.h (__bswap_constant_16): Likewise.
16491
164922012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16493
16494 [BZ #14117]
16495 * sysdeps/i386/fpu_control.h: Removed.
16496 * sysdeps/x86_64/fpu_control.h: Moved to ...
16497 * sysdeps/x86/fpu_control.h: Here.
16498
16499 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16500 (_FPU_SETCW): Likewise.
16501
165022012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16503
16504 [BZ #14117]
16505 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16506 * sysdeps/x86/fpu/bits/mathinline.h: This.
16507 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16508
16509 [BZ #14050]
16510 [BZ #14117]
16511 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16512 functions if __x86_64__ is defined.
16513
165142012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16515
16516 * string/endian.h: Add !__ASSEMBLER__ condition for including
16517 conversion interfaces.
16518
165192012-06-15 Joseph Myers <joseph@codesourcery.com>
16520
16521 [BZ #14241]
16522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16523 of ABS(x) in calculating zero to negative powers other than odd
16524 integers.
16525 * math/libm-test.inc (pow_test): Add more tests.
16526
165272012-06-15 Andreas Jaeger <aj@suse.de>
16528
16529 * manual/contrib.texi (Contributors): Update entry of Liubov
16530 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16531 Machado Filho.
16532
165332012-06-15 Cyril Hrubis <metan@ucw.cz>
16534
16535 * string/string.h: Add __wur to GNU version of strerror_r.
16536
165372012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16538
16539 [BZ #14229]
16540 * string/Makefile (tests): Add tst-strtok_r.
16541 * string/tst-strtok_r.c: New file.
16542 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16543 RAX_LP/RDX_LP on SAVE_PTR.
16544
165452012-06-14 Roland McGrath <roland@hack.frob.com>
16546
16547 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16548
165492012-06-14 Joseph Myers <joseph@codesourcery.com>
16550
16551 * libm_test.inc (csqrt_test): Allow more spurious underflow
16552 exceptions.
16553 (j0_test): Likewise.
16554 (j1_test): Likewise.
16555 (y0_test): Likewise.
16556 (y1_test): Likewise.
16557
165582012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16559
16560 * po/Makefile (libc.pot): Use UTF-8 charset.
16561
165622012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16563
16564 [BZ #14210]
16565 Suppress sign-conversion warning from FD_SET.
16566 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16567 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16568 not unsigned long int.
16569 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16570
165712012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16572
16573 [BZ #14050]
16574 [BZ #14117]
16575 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16576 __extern_always_inline instead of __extern_inline.
16577 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16578 (__signbit): Likewise.
16579 (__signbitl): Support C++ namespace.
16580 (lrintf): New inline function.
16581 (lrint): Likewise.
16582 (llrintf): Likewise.
16583 (llrint): Likewise.
16584 (fmaxf): Likewise.
16585 (fmax): Likewise.
16586 (fminf): Likewise.
16587 (fmin): Likewise.
16588 (rint): Likewise.
16589 (rintf): Likewise.
16590 (ceil): Likewise.
16591 (ceilf): Likewise.
16592 (floor): Likewise.
16593 (floorf): Likewise.
16594 (nearbyint): Likewise.
16595 (nearbyintf): Likewise.
16596
165972012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16598
16599 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16600 non-default versions.
16601
166022012-06-11 Roland McGrath <roland@hack.frob.com>
16603
16604 [BZ #14218]
16605 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16606
166072012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16608
16609 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16610 (FE_UPWARD, FE_DOWNWARD): Don't define.
16611 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16612 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16613
16614 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16615 reading it.
16616 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16617 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16618
166192012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16620
16621 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16623 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16624 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16625
166262012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16627
16628 [BZ #14117]
16629 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16630 * sysdeps/i386/fpu/Implies: New file.
16631 * sysdeps/x86_64/fpu/Implies: Likewise.
16632 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16633 * sysdeps/x86/fpu/bits/fenv.h: This.
16634
16635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16636 __SSE_MATH__.
16637
166382012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16639
16640 [BZ #14134]
16641 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16642 character 0xffff that matches the last element of the
16643 conversion table.
16644
166452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16646
16647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16648 fmodl commit.
16649
166502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16651
16652 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16653 values higher than 25.6283.
16654
166552012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16656
16657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16658 subnormal exponent extraction and add some __builtin_expect.
16659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16660 Fix for subnormal mantissa calculation.
16661
166622012-06-04 Mike Frysinger <vapier@gentoo.org>
16663
16664 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16665 cpu2 is -1 and errno is not ENOSYS.
16666
166672012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16668
16669 [BZ #14117]
16670 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16671 * sysdeps/x86/bits/string.h: This.
16672 * sysdeps/x86_64/bits/string.h: Removed.
16673
16674 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16675 if not compiling for x86-64, but compiling for >= i486.
16676
16677 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16678 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16679
16680 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16681 New macro from Linux kernel 3.4.0.
16682 (FP_XSTATE_MAGIC2): Likewise.
16683 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16684 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16685 (struct _fpx_sw_bytes): New struct.
16686 (struct _xsave_hdr): Likewise.
16687 (struct _ymmh_state): Likewise.
16688 (struct _xstate): Likewise.
16689
16690 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16691 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16692 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16693 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16694 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16695 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16696
16697 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16698 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16699 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16700 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16701 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16702 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16703
167042012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16705
16706 [BZ #13743]
16707 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16708 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16709 (sysdep_headers): Include sys/platform/ppc.h.
16710 * sysdeps/powerpc/test-gettimebase.c: Test for
16711 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16712 * manual/Makefile (appendices): Include platform.texi.
16713 * manual/contrib.texi (Contributors): Update @node pointers.
16714 * manual/maint.texi (Maintenance): Likewise.
16715 (Platform): New node.
16716 * manual/platform.texi: New file. Document the new features.
16717
167182012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16719 Jakub Jelinek <jakub@redhat.com>
16720
16721 [BZ #14188]
16722 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16723 where __builtin_expect is unavailable.
16724
167252012-06-03 David S. Miller <davem@davemloft.net>
16726
16727 * stdlib/longlong.h: Updated from GCC.
16728
167292012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16730
16731 [BZ #14042]
16732 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16733 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16734 __mcount_internal.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16736 (GLIBC_2.16): Likewise.
16737
167382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16739
16740 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16741
167422012-06-01 Joseph Myers <joseph@codesourcery.com>
16743
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16745 (default-abi): New variable.
16746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16747 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16748 variable.
16749 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16750 Likewise.
16751 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16752 Likewise.
16753 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16754 Likewise.
16755
16756 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16757 definition. Document in comment.
16758
167592012-06-01 David S. Miller <davem@davemloft.net>
16760
16761 * stdlib/longlong.h: Updated from GCC.
16762
167632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16764
16765 [BZ #14117]
16766 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16767 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16768 sys/debugreg.h sys/io.h here.
16769 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16770 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16771 sys/io.h.
16772 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16773 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16774 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16775 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16776 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16777 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16778
16779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16780 Define only if __x86_64__ is defined.
16781
167822012-06-01 Joseph Myers <joseph@codesourcery.com>
16783
16784 [BZ #14048]
16785 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16786 Use int64_t for variable i.
16787 * math/libm-test.inc (fmod_test): Add more tests.
16788
16789 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16790 z computation is not scheduled after fetestexcept.
16791 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16792 Use math_force_eval instead of asm to ensure calculation scheduled
16793 before exception test.
16794 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16795 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16796
167972012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16798
16799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16800 computation is not scheduled after fetestexcept.
16801
168022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16803
16804 [BZ #14117]
16805 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16806 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16807
168082012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16809
16810 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16811 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16812
168132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16814
16815 [BZ #14117]
16816 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16817 <bits/wordsize.h>.
16818 (__WCHAR_MIN): Support __WORDSIZE == 64.
16819 (__WCHAR_MAX): Likewise.
16820
16821 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16822 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16823
16824 [BZ #14183]
16825 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16826 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16827
16828 [BZ #14117]
16829 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16830 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16831
16832 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16833 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16834
16835 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16836 Defined to 1 if __x86_64__ isn't defined.
16837 (_STAT_VER_LINUX_OLD): New.
16838 (st_atime): Remove duplicate.
16839 (st_mtime): Likewise.
16840 (st_ctime): Likewise.
16841
168422012-05-31 David S. Miller <davem@davemloft.net>
16843
16844 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16845 entries.
16846
168472012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16848
16849 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16850 gen-libm-test.pl.
16851
16852 [BZ #14132]
16853 * elf/dl-reloc.c: Include <_itoa.h>.
16854 (_dl_reloc_bad_type): Remove use of INTUSE.
16855 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16856 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16857 * stdio-common/psiginfo.c (psiginfo): Likewise.
16858 * stdio-common/psignal.c (psignal): Likewise.
16859 * string/strsignal.c (strsignal): Likewise.
16860 * include/signal.h (_sys_siglist): Declare hidden proto.
16861 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16862 INTVARDEF with libc_hidden_data_def.
16863 * stdio-common/itoa-udigits.c: Likewise.
16864 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16865 (_itoa_lower_digits_internal): Remove declaration.
16866 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16867 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16868 (_sys_sigabbrev_internal): Remove aliases.
16869 (_sys_siglist): Define hidden alias.
16870
168712012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16872
16873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16874 bits/sysctl.h.
16875
168762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16877
16878 [BZ #14117]
16879 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16880 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16881
16882 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16883 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16884 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16885 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16886 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16887 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16888
16889 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16890 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16891 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16892
16893 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16894 with __addr.
16895 (insw): Likewise.
16896 (insl): Likewise.
16897 (outsb): Likewise.
16898 (outsw): Likewise.
16899 (outsl): Likewise.
16900
16901 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16902 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16903 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16904
16905 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16906 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16907 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16908 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16909 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16910 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16911
16912 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16913 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16914
16915 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16916 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16917
16918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16920 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16921
16922 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16923 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16924 to ...
16925 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16926
16927 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16928 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16929 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16930
16931 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16932 for x86-64.
16933 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16934
169352012-05-31 Joseph Myers <joseph@codesourcery.com>
16936
16937 * math/math.h (M_El): Use two more decimal places.
16938 (M_LOG2El): Likewise.
16939 (M_LOG10El): Likewise.
16940 (M_LN2l): Likewise.
16941 (M_LN10l): Likewise.
16942 (M_PIl): Likewise.
16943 (M_PI_2l): Likewise.
16944 (M_PI_4l): Likewise.
16945 (M_1_PIl): Likewise.
16946 (M_2_PIl): Likewise.
16947 (M_2_SQRTPIl): Likewise.
16948 (M_SQRT2l): Likewise.
16949 (M_SQRT1_2l): Likewise.
16950
169512012-05-31 David S. Miller <davem@davemloft.net>
16952
16953 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16954 values between float registers.
16955 * sysdeps/sparc/sparc64/memset.S: Likewise.
16956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16957
169582012-05-31 Mike Frysinger <vapier@gentoo.org>
16959
16960 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16961 -D_FORTIFY_SOURCE=1.
16962 (CPPFLAGS-tst-longjmp_chk.c): Define.
16963 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16964 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16965 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16966 CFLAGS-tst-wchar-h.c.
16967
169682012-05-31 Marek Polacek <polacek@redhat.com>
16969
16970 [BZ #14132]
16971 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16972 __endmntent_internal): Remove declaration.
16973 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16974 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16975 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16976
169772012-05-30 David S. Miller <davem@davemloft.net>
16978
16979 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16980 (___Q_simulate_exceptions): Use real FP ops rather than writing
16981 into the %fsr.
16982 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16983 Likewise.
16984
169852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16986
16987 [BZ #14117]
16988 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16989 * sysdeps/x86/bits/xtitypes.h: This.
16990
16991 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16992 * sysdeps/x86/bits/wordsize.h: This.
16993
16994 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16995 * sysdeps/x86/bits/huge_vall.h: This.
16996
16997 * sysdeps/i386/bits/select.h: Removed.
16998 * sysdeps/x86_64/bits/select.h: Renamed to ...
16999 * sysdeps/x86/bits/select.h: This.
17000
17001 * sysdeps/i386/bits/setjmp.h: Removed.
17002 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17003 * sysdeps/x86/bits/setjmp.h: This.
17004
17005 * sysdeps/i386/bits/mathdef.h: Removed.
17006 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17007 * sysdeps/x86/bits/mathdef.h: This.
17008
170092012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17010
17011 [BZ #14132]
17012 * include/sys/socket.h (__connect_internal)
17013 (__libc_sa_len_internal): Remove declaration.
17014 (__connect, __libc_sa_len): Declare hidden_proto.
17015 (SA_LEN): Remove use of INTUSE.
17016 * socket/connect.c: Add libc_hidden_def.
17017 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17018 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17019 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17020 alias.
17021 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17022 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17023 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17024 of adding _internal alias.
17025
170262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17027
17028 [BZ #14117]
17029 * sysdeps/i386/bits/link.h: Removed.
17030 * sysdeps/i386/bits/linkmap.h: Likewise.
17031 * sysdeps/x86_64/bits/link.h: Renamed to ...
17032 * sysdeps/x86/bits/link.h: This.
17033 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17034 * sysdeps/x86/bits/linkmap.h: This.
17035
17036 * sysdeps/i386/bits/endian.h: Removed.
17037 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17038 * sysdeps/x86/bits/endian.h: This.
17039
17040 * sysdeps/i386/bits/byteswap.h: Removed.
17041 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17042 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17043 * sysdeps/x86/bits/byteswap.h: This.
17044 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17045 * sysdeps/x86/bits/byteswap-16.h: This.
17046 * sysdeps/i386/Implies: Add x86.
17047 * sysdeps/x86_64/Implies: Likewise.
17048
170492012-05-30 David S. Miller <davem@davemloft.net>
17050
17051 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17052 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17053 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17054 (FP_TRAPPING_EXCEPTIONS): Define.
17055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17056 (FP_TRAPPING_EXCEPTIONS): Define.
17057 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17058 subnormals only when inexact has been signalled or underflow
17059 exceptions are enabled.
17060 (_FP_PACK_CANONICAL): Likewise.
17061
170622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17063
17064 [BZ #14183]
17065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17066 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17067
170682012-05-30 Richard Henderson <rth@twiddle.net>
17069
17070 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17071 with #ifndef NOT_IN_libc.
17072
17073 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17074 marked to avoid plt entry.
17075
170762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17077
17078 [BZ #14112]
17079 * Makeconfig (default-abi): New macro.
17080 (abi-includes): Likewise.
17081 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17082 $(abi-$(default-abi)-lib-soname) for soname if defined.
17083 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17084 abi-variants.
17085 * Makefile (installed-stubs): Likewise.
17086 * include/stubs-biarch.h: Removed.
17087 * scripts/lib-names.awk: Only handle one library at a time.
17088 * scripts/soversions.awk: Remove WORDSIZE support.
17089 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17090 entries.
17091 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17092 Removed.
17093 (syscall-list-default-condition): Likewise.
17094 (syscall-list-default-condition): Likewise.
17095 (syscall-list-includes): Likewise.
17096 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17097 syscall-list-* with abi-*. Handle undefined abi-variants.
17098 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17099 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17100 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17101 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17102 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17103 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17104 Removed.
17105 (syscall-list-32-options): Likewise.
17106 (syscall-list-32-condition): Likewise.
17107 (syscall-list-64-options): Likewise.
17108 (syscall-list-64-condition): Likewise.
17109 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17110 macro.
17111 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17112 Renamed to ...
17113 (abi-*): This.
17114 (abi-64-ld-soname): New macro.
17115 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17116 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17117 Renamed to ...
17118 (abi-*): This.
17119 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17120 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17121
171222012-05-30 Joseph Myers <joseph@codesourcery.com>
17123
17124 * sysdeps/unix/sysv/linux/kernel-features.h
17125 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17126 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17127 include <kernel-features.h>.
17128 [!__NR_ftruncate64]: Remove conditional code.
17129 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17130 [__NR_ftruncate64]: Make code unconditional.
17131 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17132 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17133 include <kernel-features.h>.
17134 [!__NR_ftruncate64]: Remove conditional code.
17135 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17136 [__NR_ftruncate64]: Make code unconditional.
17137 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17139 include <kernel-features.h>.
17140 [!__NR_ftruncate64]: Remove conditional code.
17141 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17142 [__NR_ftruncate64]: Make code unconditional.
17143 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17145 include <kernel-features.h>.
17146 [!__NR_ftruncate64]: Remove conditional code.
17147 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17148 [__NR_ftruncate64]: Make code unconditional.
17149 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17150
17151 * configure.in (libc_cv_fpie): Weaken to a compile test using
17152 LIBC_TRY_CC_OPTION.
17153 * configure: Regenerated.
17154
171552012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17156
17157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17161 Refreshed.
17162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17168 Refreshed.
17169
171702012-05-27 David S. Miller <davem@davemloft.net>
17171
17172 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17173 (___Q_zero): New.
17174 (__Q_simulate_exceptions): Return void. Change to simulate
17175 exceptions by writing into the %fsr.
17176 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17177 (__Qp_handle_exceptions): Likewise.
17178 (numbers): Delete.
17179 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17180 __Qp_handle_exceptions.
17181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17182 __Qp_handle_exceptions.
17183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17184 as unused and give dummy FP_RND_NEAREST initializer.
17185 (FP_INHIBIT_RESULTS): Define.
17186 (___Q_simulate_exceptions): Update declaration.
17187 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17188 formatting.
17189 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17190 as unused and give dummy FP_RND_NEAREST initializer.
17191 (__Qp_handle_exceptions): Update declaration.
17192 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17193 formatting.
17194
171952012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17196
17197 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17198 the temporary FPU control word.
17199 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17200 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17201 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17202 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17203 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17204 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17205 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17206 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17207 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17208 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17209 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17210
172112012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17212
17213 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17214 fields.
17215
172162012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17217
17218 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17219 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17220 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17221 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17222 Likewise.
17223 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17224 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17225 Likewise.
17226
172272012-05-27 Ulrich Drepper <drepper@gmail.com>
17228
17229 * po/h.po: Update from translation team.
17230
172312012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17232
17233 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17234
17235 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17236 handling of denormals.
17237 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17238 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17239 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17240 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17242 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17243 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17244 Likewise.
17245
172462012-05-26 Marek Polacek <polacek@redhat.com>
17247
17248 [BZ #14152]
17249 * math/libm-test.inc (fma_test): Don't always expect underflow
17250 exception.
17251
172522012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17253
17254 [BZ #12416]
17255 * elf/tst-execstack.c: Include stackinfo.h.
17256 (do_test): Adjust test case to ensure that pthread_getattr_np
17257 behaviour remains the same after marking stack executable.
17258
172592012-05-25 Joseph Myers <joseph@codesourcery.com>
17260
17261 * sysdeps/unix/sysv/linux/kernel-features.h
17262 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17263 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17264 kernel-features.h.
17265 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17266 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17267 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17268 kernel-features.h.
17269 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17270 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17271
172722012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17273
17274 * configure.in: Define the default includes to being none.
17275 * configure: Regenerated.
17276
172772012-05-25 Roland McGrath <roland@hack.frob.com>
17278
17279 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17280 * sysdeps/x86_64/setjmp.S: Likewise.
17281 * sysdeps/i386/bsd-setjmp.S: Likewise.
17282 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17283 * sysdeps/i386/setjmp.S: Likewise.
17284 * sysdeps/i386/__longjmp.S: Likewise.
17285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17286 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17287
17288 * include/stap-probe.h: New file.
17289 * configure.in: Handle --enable-systemtap.
17290 * configure: Regenerated.
17291 * config.h.in (USE_STAP_PROBE): New #undef.
17292 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17293 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17294 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17295
172962012-05-25 Joseph Myers <joseph@codesourcery.com>
17297
17298 [BZ #13717]
17299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17300 to 2.4.0 where earlier.
17301 * sysdeps/unix/sysv/linux/configure: Regenerated.
17302 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17303 <kernel-features.h>.
17304 [__ASSUME_32BITUIDS]: Make code unconditional.
17305 [!__ASSUME_32BITUIDS]: Remove conditional code.
17306 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17307 <kernel-features.h>.
17308 [__ASSUME_32BITUIDS]: Make code unconditional.
17309 [!__ASSUME_32BITUIDS]: Remove conditional code.
17310 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17311 [__ASSUME_32BITUIDS]: Make code unconditional.
17312 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17313 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17314 <kernel-features.h>.
17315 [__ASSUME_32BITUIDS]: Make code unconditional.
17316 [!__ASSUME_32BITUIDS]: Remove conditional code.
17317 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17318 <kernel-features.h>.
17319 [__ASSUME_32BITUIDS]: Make code unconditional.
17320 [!__ASSUME_32BITUIDS]: Remove conditional code.
17321 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17322 <kernel-features.h>.
17323 [__ASSUME_32BITUIDS]: Make code unconditional.
17324 [!__ASSUME_32BITUIDS]: Remove conditional code.
17325 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17326 <kernel-features.h>.
17327 [__ASSUME_32BITUIDS]: Make code unconditional.
17328 [!__ASSUME_32BITUIDS]: Remove conditional code.
17329 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17330 <kernel-features.h>.
17331 [__ASSUME_32BITUIDS]: Make code unconditional.
17332 [!__ASSUME_32BITUIDS]: Remove conditional code.
17333 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17334 <kernel-features.h>.
17335 [__ASSUME_32BITUIDS]: Make code unconditional.
17336 [!__ASSUME_32BITUIDS]: Remove conditional code.
17337 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17338 <kernel-features.h>.
17339 [__ASSUME_32BITUIDS]: Make code unconditional.
17340 [!__ASSUME_32BITUIDS]: Remove conditional code.
17341 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17342 <kernel-features.h>.
17343 [__ASSUME_32BITUIDS]: Make code unconditional.
17344 [!__ASSUME_32BITUIDS]: Remove conditional code.
17345 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17346 <kernel-features.h>.
17347 [__ASSUME_32BITUIDS]: Make code unconditional.
17348 [!__ASSUME_32BITUIDS]: Remove conditional code.
17349 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17350 <kernel-features.h>.
17351 [__ASSUME_32BITUIDS]: Make code unconditional.
17352 [!__ASSUME_32BITUIDS]: Remove conditional code.
17353 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17354 <kernel-features.h>.
17355 [__NR_setresgid] (__setresgid): Do not declare.
17356 [__ASSUME_32BITUIDS]: Make code unconditional.
17357 [!__ASSUME_32BITUIDS]: Remove conditional code.
17358 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17359 <kernel-features.h>.
17360 [__NR_setresuid] (__setresuid): Do not declare.
17361 [__ASSUME_32BITUIDS]: Make code unconditional.
17362 [!__ASSUME_32BITUIDS]: Remove conditional code.
17363 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17364 <kernel-features.h>.
17365 [__ASSUME_32BITUIDS]: Make code unconditional.
17366 [!__ASSUME_32BITUIDS]: Remove conditional code.
17367 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17368 <kernel-features.h>.
17369 [__ASSUME_32BITUIDS]: Make code unconditional.
17370 [!__ASSUME_32BITUIDS]: Remove conditional code.
17371 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17372 <kernel-features.h>.
17373 [__ASSUME_32BITUIDS]: Make code unconditional.
17374 [!__ASSUME_32BITUIDS]: Remove conditional code.
17375 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17376 <kernel-features.h>.
17377 [__ASSUME_32BITUIDS]: Make code unconditional.
17378 [!__ASSUME_32BITUIDS]: Remove conditional code.
17379 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17380 <kernel-features.h>.
17381 [__ASSUME_32BITUIDS]: Make code unconditional.
17382 [!__ASSUME_32BITUIDS]: Remove conditional code.
17383 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17384 <kernel-features.h>.
17385 [__ASSUME_32BITUIDS]: Make code unconditional.
17386 [!__ASSUME_32BITUIDS]: Remove conditional code.
17387 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17388 <kernel-features.h>.
17389 [__ASSUME_32BITUIDS]: Make code unconditional.
17390 [!__ASSUME_32BITUIDS]: Remove conditional code.
17391 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17392 <kernel-features.h>.
17393 [__ASSUME_32BITUIDS]: Make code unconditional.
17394 [!__ASSUME_32BITUIDS]: Remove conditional code.
17395 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17396 <kernel-features.h>.
17397 [__ASSUME_32BITUIDS]: Make code unconditional.
17398 [!__ASSUME_32BITUIDS]: Remove conditional code.
17399 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17400 <kernel-features.h>.
17401 [__ASSUME_32BITUIDS]: Make code unconditional.
17402 [!__ASSUME_32BITUIDS]: Remove conditional code.
17403 * sysdeps/unix/sysv/linux/kernel-features.h
17404 (__ASSUME_SETRESUID_SYSCALL): Remove.
17405 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17406 (__ASSUME_32BITUIDS): Likewise.
17407 (__ASSUME_LDT_WORKS): Likewise.
17408 (__ASSUME_O_DIRECTORY): Likewise.
17409 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17410 architecture but not kernel version.
17411 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17412 (__ASSUME_MMAP2_SYSCALL): Likewise.
17413 (__ASSUME_STAT64_SYSCALL): Likewise.
17414 (__ASSUME_IPC64): Likewise.
17415 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17416 <kernel-features.h>.
17417 [__ASSUME_32BITUIDS]: Make code unconditional.
17418 [!__ASSUME_32BITUIDS]: Remove conditional code.
17419 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17420 <kernel-features.h>.
17421 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17422 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17423 132096]: Remove conditional code.
17424 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17425 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17426 <kernel-features.h>.
17427 [__ASSUME_32BITUIDS]: Make code unconditional.
17428 [!__ASSUME_32BITUIDS]: Remove conditional code.
17429 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17430 <kernel-features.h>.
17431 [__ASSUME_32BITUIDS]: Make code unconditional.
17432 [!__ASSUME_32BITUIDS]: Remove conditional code.
17433 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17434 <kernel-features.h>.
17435 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17436 unconditional.
17437 (__setresgid): Do not declare.
17438 [__ASSUME_32BITUIDS]: Make code unconditional.
17439 [!__ASSUME_32BITUIDS]: Remove conditional code.
17440 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17441 <kernel-features.h>.
17442 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17443 unconditional.
17444 (__setresuid): Do not declare.
17445 [__ASSUME_32BITUIDS]: Make code unconditional.
17446 [!__ASSUME_32BITUIDS]: Remove conditional code.
17447 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17448 <kernel-features.h>.
17449 [__ASSUME_32BITUIDS]: Make code unconditional.
17450 [!__ASSUME_32BITUIDS]: Remove conditional code.
17451 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17452 <kernel-features.h>.
17453 [__ASSUME_32BITUIDS]: Make code unconditional.
17454 [!__ASSUME_32BITUIDS]: Remove conditional code.
17455
174562012-05-25 Richard Henderson <rth@twiddle.net>
17457
17458 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17459 dl_hwcap to ifunc resolver.
17460 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17461 elf_ifunc_invoke.
17462 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17463 dl_hwcap to ifunc resolver.
17464 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17465
174662012-05-24 Joseph Myers <joseph@codesourcery.com>
17467
17468 [BZ #14153]
17469 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17470 for |x| <= 2**-26, not 2**-57.
17471 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17472 exception.
17473
174742012-05-24 Jeff Law <law@redhat.com>
17475
17476 * stdio-common/Makefile (tests): Add bug25.
17477 * stdio-common/bug25.c: New test.
17478
174792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 [BZ #13576]
17482 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17483 multiple of MALLOC_ALIGNMENT in size.
17484 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17485
174862012-05-24 Joseph Myers <joseph@codesourcery.com>
17487
17488 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17489 Require >= 256.
17490 (FILENAME_MAX): Use macro-int-constant.
17491 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17492 (_IOFBF): Use macro-int-constant.
17493 (_IOLBF): Likewise.
17494 (_IONBF): Likewise.
17495 (SEEK_CUR): Likewise.
17496 (SEEK_END): Likewise.
17497 (SEEK_SET): Likewise.
17498 (TMP_MAX): Likewise.
17499 (EOF): Use macro-int-constant. Require < 0.
17500 (NULL): Use macro-constant. Require == 0.
17501 (stdin): Require type to be FILE *.
17502 (stdout): Likewise.
17503 (stderr): Likewise.
17504 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17505 macro-int-constant.
17506 (EXIT_SUCCESS): Likewise.
17507 (NULL): Use macro-constant. Require == 0.
17508 (RAND_MAX): Use macro-int-constant.
17509 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17510 [C99-based standards] (strtof): Require function.
17511 [C99-based standards] (strtold): Likewise.
17512 [C99-based standards] (strtoll): Likewise.
17513 [C99-based standards] (strtoull): Likewise.
17514 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17515 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17516 [ISO || ISO99 || ISO11] (math.h): Likewise.
17517 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17518 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17520
175212012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17522
17523 [BZ #14132]
17524 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17525 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17526 * intl/dgettext.c (DCGETTEXT): Likewise.
17527 * intl/gettext.c (DCGETTEXT): Likewise.
17528 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17529 * posix/regex_internal.h (gettext): Likewise.
17530 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17531 Remove declaration.
17532 * include/argz.h (__argz_count_internal)
17533 (__argz_stringify_internal): Remove declaration.
17534 (__argz_count, __argz_stringify): Declare hidden proto.
17535 * intl/dcgettext.c: Remove use of INTDEF.
17536 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17537 * string/argz-stringify.c: Likewise.
17538 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17539 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17540 Declare hidden proto.
17541 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17542 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17543 Declare hidden proto.
17544 * include/stdio.h (__asprintf_internal): Don't declare.
17545 (__asprintf): Don't define as macro. Declare hidden proto.
17546 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17547 (__fsetlocking): Declare hidden proto.
17548 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17549 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17550 hidden proto.
17551 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17552 (_IO_setlinebuf): Remove use of INTUSE.
17553 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17554 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17555 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17556 Remove declaration.
17557 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17558 (_IO_do_flush): Remove use of INTUSE.
17559 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17560 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17561 (_IO_adjust_column, _IO_least_wmarker)
17562 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17563 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17564 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17565 (_IO_default_doallocate, _IO_wdefault_doallocate)
17566 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17567 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17568 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17569 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17570 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17571 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17572 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17573 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17574 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17575 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17576 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17577 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17578 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17579 proto.
17580 (_IO_flush_all_internal, _IO_adjust_column_internal)
17581 (_IO_default_uflow_internal, _IO_default_finish_internal)
17582 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17583 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17584 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17585 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17586 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17587 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17588 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17589 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17590 (_IO_file_close_internal, _IO_file_close_it_internal)
17591 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17592 (_IO_file_init_internal, _IO_file_attach_internal)
17593 (_IO_file_fopen_internal, _IO_file_read_internal)
17594 (_IO_file_sync_internal, _IO_file_seek_internal)
17595 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17596 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17597 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17598 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17599 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17600 (_IO_list_all_internal, _IO_link_in_internal)
17601 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17602 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17603 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17604 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17605 (_IO_do_write_internal, _IO_padn_internal)
17606 (_IO_getline_info_internal, _IO_getline_internal)
17607 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17608 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17609 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17610 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17611 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17612 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17613 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17614 with libc_hidden_ver, remove use of INTUSE.
17615 * libio/genops.c: Likewise.
17616 * libio/freopen.c: Likewise.
17617 * libio/freopen64.c: Likewise.
17618 * libio/iofclose.c: Likewise.
17619 * libio/iofdopen.c: Likewise.
17620 * libio/iofflush.c: Likewise.
17621 * libio/iofflush_u.c: Likewise.
17622 * libio/iofgets.c: Likewise.
17623 * libio/iofgets_u.c: Likewise.
17624 * libio/iofopen.c: Likewise.
17625 * libio/iofopncook.c: Likewise.
17626 * libio/iofread.c: Likewise.
17627 * libio/iofread_u.c: Likewise.
17628 * libio/ioftell.c: Likewise.
17629 * libio/iofwrite.c: Likewise.
17630 * libio/iogetline.c: Likewise.
17631 * libio/iogets.c: Likewise.
17632 * libio/iogetwline.c: Likewise.
17633 * libio/iopadn.c: Likewise.
17634 * libio/iopopen.c: Likewise.
17635 * libio/ioseekoff.c: Likewise.
17636 * libio/ioseekpos.c: Likewise.
17637 * libio/iosetbuffer.c: Likewise.
17638 * libio/iosetvbuf.c: Likewise.
17639 * libio/ioungetc.c: Likewise.
17640 * libio/ioungetwc.c: Likewise.
17641 * libio/iovdprintf.c: Likewise.
17642 * libio/iovsprintf.c: Likewise.
17643 * libio/iovsscanf.c: Likewise.
17644 * libio/memstream.c: Likewise.
17645 * libio/obprintf.c: Likewise.
17646 * libio/oldfileops.c: Likewise.
17647 * libio/oldiofclose.c: Likewise.
17648 * libio/oldiofdopen.c: Likewise.
17649 * libio/oldiofopen.c: Likewise.
17650 * libio/oldiopopen.c: Likewise.
17651 * libio/oldstdfiles.c: Likewise.
17652 * libio/putc.c: Likewise.
17653 * libio/setbuf.c: Likewise.
17654 * libio/setlinebuf.c: Likewise.
17655 * libio/stdfiles.c: Likewise.
17656 * libio/strops.c: Likewise.
17657 * libio/vasprintf.c: Likewise.
17658 * libio/vscanf.c: Likewise.
17659 * libio/vsnprintf.c: Likewise.
17660 * libio/vswprintf.c: Likewise.
17661 * libio/wfiledoalloc.c: Likewise.
17662 * libio/wfileops.c: Likewise.
17663 * libio/wgenops.c: Likewise.
17664 * libio/wmemstream.c: Likewise.
17665 * libio/wstrops.c: Likewise.
17666 * libio/__fpurge.c: Likewise.
17667 * libio/__fsetlocking.c: Likewise.
17668 * assert/assert.c: Likewise.
17669 * debug/fgets_chk.c: Likewise.
17670 * debug/fgets_u_chk.c: Likewise.
17671 * debug/fread_chk.c: Likewise.
17672 * debug/fread_u_chk.c: Likewise.
17673 * debug/gets_chk.c: Likewise.
17674 * debug/obprintf_chk.c: Likewise.
17675 * debug/vasprintf_chk.c: Likewise.
17676 * debug/vdprintf_chk.c: Likewise.
17677 * debug/vsnprintf_chk.c: Likewise.
17678 * debug/vsprintf_chk.c: Likewise.
17679 * malloc/mtrace.c: Likewise.
17680 * misc/error.c: Likewise.
17681 * misc/syslog.c: Likewise.
17682 * stdio-common/asprintf.c: Likewise.
17683 * stdio-common/fxprintf.c: Likewise.
17684 * stdio-common/getw.c: Likewise.
17685 * stdio-common/isoc99_fscanf.c: Likewise.
17686 * stdio-common/isoc99_scanf.c: Likewise.
17687 * stdio-common/isoc99_vfscanf.c: Likewise.
17688 * stdio-common/isoc99_vscanf.c: Likewise.
17689 * stdio-common/isoc99_vsscanf.c: Likewise.
17690 * stdio-common/printf-prs.c: Likewise.
17691 * stdio-common/printf_fp.c: Likewise.
17692 * stdio-common/printf_fphex.c: Likewise.
17693 * stdio-common/printf_size.c: Likewise.
17694 * stdio-common/putw.c: Likewise.
17695 * stdio-common/scanf.c: Likewise.
17696 * stdio-common/sprintf.c: Likewise.
17697 * stdio-common/tmpfile.c: Likewise.
17698 * stdio-common/vfprintf.c: Likewise.
17699 * stdio-common/vfscanf.c: Likewise.
17700 * stdlib/strfmon_l.c: Likewise.
17701 * sunrpc/openchild.c: Likewise.
17702 * sunrpc/xdr_stdio.c: Likewise.
17703 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17704 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17705
177062012-05-24 Roland McGrath <roland@hack.frob.com>
17707
17708 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17709
17710 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17711 in the third column, to generate for the shared library an IFUNC
17712 that uses _dl_vdso_vsym.
17713 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17714 * Makeconfig (object-suffixes-noshared): New variable.
17715
17716 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17717 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17718 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17719 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17720
17721 [BZ #14132]
17722 * include/sys/time.h (__gettimeofday): Remove macro.
17723 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17724 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17725 Remove INTDEF.
17726 (__gettimeofday): Add libc_hidden_def.
17727 (gettimeofday): Add libc_hidden_weak.
17728 * sysdeps/mach/gettimeofday.c: Likewise.
17729 * sysdeps/posix/gettimeofday.c: Likewise.
17730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17731 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17732 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17733 (__gettimeofday_internal): Remove strong_alias.
17734 (__gettimeofday): Add libc_hidden_def.
17735 (gettimeofday): Add libc_hidden_weak.
17736 * sysdeps/unix/syscalls.list (gettimeofday):
17737 Remove __gettimeofday_internal alias.
17738
177392012-05-24 Daniel Jacobowitz <drow@false.org>
17740 H.J. Lu <hongjiu.lu@intel.com>
17741
17742 [BZ #12495]
17743 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17744 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17745 (largebin_index_32_big): New.
17746 (largebin_index): Use it for 16-byte alignment.
17747 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17748 correction with front_misalign.
17749
177502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17751
17752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17754 Likewise.
17755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17756 Likewise.
17757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17758 Likewise.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17760 Likewise.
17761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17762 Likewise.
17763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17764 Likewise.
17765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17766 Likewise.
17767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17768 Likewise.
17769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17770 Likewise.
17771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17772 Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17774 Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17776 Likewise.
17777
17778 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17779 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17780
177812012-05-24 Joseph Myers <joseph@codesourcery.com>
17782
17783 [BZ #10846]
17784 [BZ #14036]
17785 * math/libm-test.inc (exp_test): Add test from bug 14036.
17786 (pow_test): Add test from bug 10846.
17787
17788 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17789 and other flags.
17790 (special_function): Do not include flags in test name.
17791 (parse_args): Likewise.
17792 * sysdeps/i386/fpu/libm-test-ulps: Update.
17793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17794 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17795 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17797
17798 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17799 exceptions.
17800 * math/libm-test.inc ("Philosophy"): Update comment about
17801 exception testing.
17802 (UNDERFLOW_EXCEPTION): New macro.
17803 (UNDERFLOW_EXCEPTION_OK): Likewise.
17804 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17805 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17806 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17807 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17808 (INVALID_EXCEPTION_OK): Update value.
17809 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17810 (OVERFLOW_EXCEPTION_OK): Likewise.
17811 (IGNORE_ZERO_INF_SIGN): Likewise.
17812 (test_exceptions): Handle underflow exceptions.
17813 (acos_test): Update for underflow exception expectations.
17814 (cexp_test): Likewise.
17815 (clog_test): Likewise.
17816 (clog10_test): Likewise.
17817 (csqrt_test): Likewise.
17818 (ctan_test): Likewise.
17819 (ctanh_test): Likewise.
17820 (exp_test): Likewise.
17821 (exp10_test): Likewise.
17822 (exp2_test): Likewise.
17823 (expm1_test): Likewise.
17824 (fma_test): Likewise.
17825 (j0_test): Likewise.
17826 (jn_test): Likewise.
17827 (nexttoward_test): Likewise.
17828 (pow_test): Likewise.
17829 (scalbn_test): Likewise.
17830 (scalbln_test): Likewise.
17831 (tan_test): Likewise.
17832 (y1_test): Likewise.
17833 * sysdeps/i386/fpu/libm-test-ulps: Update.
17834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17835
178362012-05-23 David S. Miller <davem@davemloft.net>
17837
17838 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17839 (__libc_sigaction): Remove unused local variables.
17840
178412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17842
17843 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17844
178452012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17846
17847 mktime: avoid signed integer overflow
17848 * time/mktime.c (__mktime_internal): Do not mishandle the case
17849 where diff == INT_MIN.
17850
17851 mktime: simplify computation of average
17852 * time/mktime.c (ranged_convert): Use new time_t_avg function
17853 instead of rolling our own (probably-slower) code.
17854
17855 mktime: do not assume signed right shift propagates sign bit
17856 * time/mktime.c (isdst_differ): New static function.
17857 (__mktime_internal): No need to normalize tm_isdst now.
17858 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17859 tm_isdst values.
17860
17861 mktime: merge another wrapv change from gnulib
17862 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17863 from some compilers.
17864
17865 mktime: remove incorrect attempt at unusual arithmetics
17866 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17867 The code didn't really work on such machines anyway.
17868 (TYPE_MINIMUM): Assume two's complement.
17869 (twos_complement_arithmetic): Verify that long_int and time_t
17870 are two's complement (or unsigned, in the latter case).
17871
17872 mktime: check signed shifts on long_int and time_t, too
17873 * time/mktime.c (SHR): Check that shifts work as desired
17874 on the types long_int and time_t too, as SHR is used on
17875 such types.
17876
17877 mktime: do not assume 'long' is wide enough
17878 * time/mktime.c (verify): Move decl up.
17879 (long_int): New type.
17880 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17881 to remove assumption in the code that 'long' is wide enough to
17882 store year values. This assumption is not true on x32 and on
17883 some non-glibc platforms.
17884
17885 mktime: merge wrapv change from gnulib
17886 * time/mktime.c (WRAPV): New macro.
17887 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17888 (guess_time_tm, __mktime_internal): Do not assume that signed
17889 integer overflow wraps around; modern compilers generate code
17890 where this assumption is no longer valid.
17891
178922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17893
17894 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17895 Replace "jmp L(pseudo_end)" with "ret".
17896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17897 Likewise.
17898
178992012-05-23 Andreas Jaeger <aj@suse.de>
17900
17901 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17902 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17903
179042012-05-23 Andreas Jaeger <aj@suse.de>
17905 Maximilian Attems <max@stro.at>
17906
17907 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17908 New macros.
17909
179102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17913 code so that pseudo_end is just ret and the stack pointer is
17914 correct also for static library in error case.
17915
179162012-05-23 Joseph Myers <joseph@codesourcery.com>
17917
17918 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17919 move to syscalls.list.
17920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17924
17925 * manual/install.texi (Running make install): Do not mention Linux
17926 kernel version for which pt_chown is not needed.
17927 (Linux): Do not mention problems with nscd with 2.0 kernels.
17928 * INSTALL: Regenerated.
17929
179302012-05-23 Andreas Jaeger <aj@suse.de>
17931
17932 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17933 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17934 macro.
17935 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17936 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17937 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17938 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17939 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17940 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17941 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17942 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17943 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17944 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17945 * sysdeps/unix/sysv/linux/bits/in.h
17946 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17947
179482012-05-22 Roland McGrath <roland@hack.frob.com>
17949
17950 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17951 (PREPARE_VERSION): Just use assert instead, it will be elided
17952 under [NDEBUG] anyway.
17953
179542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17955
17956 * sysdeps/unix/sysv/linux/Makefile: Include
17957 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17958 (sysdep_routines): Remove sysctl.
17959 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17960 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17961 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17962 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17963 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17964
179652012-05-22 Andreas Jaeger <aj@suse.de>
17966
17967 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17968 that pseudo_end is just ret and the stack pointer is correct also
17969 for static library in error case.
17970
179712012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17972
17973 [BZ #14122]
17974 * nss/nsswitch.c (defconfig_entries): New variable.
17975 (__nss_database_lookup): Don't leak defconfig entries.
17976 (nss_parse_service_list): Don't leak on error paths.
17977 (free_database_entries): New function.
17978 (free_defconfig): New function.
17979 (free_mem): Move common code to free_database_entries.
17980
179812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17982
17983 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17984 Add arch_prctl.
17985 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17986
17987 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17988 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17990 New macro.
17991 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17992 (INTERNAL_SYSCALL_TYPES): Likewise.
17993 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17994 (LOAD_REGS_TYPES_[1-6]): Likewise.
17995 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17996 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17997
179982012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17999
18000 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18001 copysignl for GLIBC_2_0.
18002 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18003 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18004 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18005 logbl for GLIBC_2_0.
18006 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18007 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18008
180092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18010
18011 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18012 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18013
18014 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18015 Use "neg %eax".
18016
18017 * time/mktime.c: Update copyright years.
18018
180192012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18020
18021 mktime: merge comment-quoting-style change from gnulib
18022 * time/mktime.c: Quote 'like this' in comments.
18023 The GNU coding standards suggest that we no longer quote `like this',
18024 as "`" and "'" are typically rendered asymmetrically nowadays.
18025 The typical gnulib style is to quote 'like this' when quoting
18026 code, and "like this" when quoting English.
18027
18028 * time/mktime.c (compile-command): Add "-I.".
18029
18030 mktime: merge mktime-internal.h change from gnulib
18031 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18032
18033 mktime: merge time_r change from gnulib
18034 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18035
18036 mktime: merge DEBUG change from gnulib
18037 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18038 case system <time.h> has a #define.
18039
18040 mktime: merge <sys/types.h> change from gnulib
18041 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18042 since <time.t> is now guaranteed to define time_t.
18043
18044 mktime: merge HAVE_CONFIG_H change from gnulib
18045 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18046
180472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18048
18049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18050 Use "neg %eax".
18051
18052 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18053 __rlim_t cast.
18054 (struct rusage): Use anonymous union to pad each field to
18055 __syscall_slong_t.
18056
180572012-05-21 David S. Miller <davem@davemloft.net>
18058
18059 * Makefules (o-iterator): Remove .s cases.
18060 (compile-command.s): Delete.
18061 (COMPILE.s): Delete.
18062 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18063
180642012-05-21 Joseph Myers <joseph@codesourcery.com>
18065
18066 * configure.in (libc_cv_predef_stack_protector): Only consider
18067 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18068 * configure: Regenerated.
18069
180702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18071
18072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18073 New macro. Use R*LP on int and pointer.
18074 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18075 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18076 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18077 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18078
18079 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18080 [__WORDSIZE_TIME64_COMPAT32] instead of
18081 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18082 (struct utmp): Likewise.
18083 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18084 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18085 Renamed to ...
18086 (__WORDSIZE_TIME64_COMPAT32): This.
18087 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18088 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18089 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18090 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18091 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18092 (__WORDSIZE_TIME64_COMPAT32): New macro.
18093
180942012-05-21 Andreas Jaeger <aj@suse.de>
18095
18096 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18097 only if [SHARED]. Add prototype for __wcschr_ia32.
18098
180992012-05-21 Roland McGrath <roland@hack.frob.com>
18100
18101 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18102 of %rbp unmolested in the jmp_buf while mangling the low bits.
18103 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18104 unmolested high bits of %rbp while demangling the low bits.
18105 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18106
181072012-05-21 Andreas Jaeger <aj@suse.de>
18108
18109 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18110 * sunrpc/svc_simple.c: Use it for registerrpc.
18111 * sunrpc/xcrypt.c: Use it for passwd2des.
18112
18113 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18114
181152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18116
18117 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18118 Don't define if [__SYSCALL_WORDSIZE != 32].
18119 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18120 New macro.
18121
181222012-05-21 Bruno Haible <bruno@clisp.org>
18123 Andreas Jaeger <aj@suse.de>
18124
18125 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18126 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18127 inptr and inend for must_buffer_ch.
18128 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18129 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18130 * stdio-common/Makefile (tests): Remove bug15.
18131 (bug15-ENV): Remove macro.
18132 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18133 anymore.
18134
181352012-05-19 Andreas Jaeger <aj@suse.de>
18136 Roland McGrath <roland@hack.frob.com>
18137
18138 * manual/contrib.texi: Completely rewritten. It contains now an
18139 alphabetical list of contributors and their contributions.
18140
181412012-05-21 Richard Henderson <rth@twiddle.net>
18142
18143 * misc/getauxval.c (__getauxval): Use unsigned long int.
18144 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18145 (getauxval): Use unsigned long int.
18146
181472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18150
181512012-05-21 Roland McGrath <roland@hack.frob.com>
18152
18153 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18154 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18155 __alignof__ (long double).
18156
181572012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18158
18159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18160
181612012-05-20 Richard Henderson <rth@twiddle.net>
18162
18163 * misc/getauxval.c: New file.
18164 * misc/sys/auxv.h: New file.
18165 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18166 (routines): Add getauxval.
18167 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18168 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18169 * elf/dl-sysdep.c (_dl_auxv): Remove.
18170 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18171 * elf/dl-support.c (_dl_auxv): New variable.
18172 (_dl_aux_init): Initialize it.
18173 * manual/startup.texi (Auxiliary Vector): New node.
18174 * sysdeps/generic/bits/hwcap.h: New file.
18175 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18176 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18177 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18178 * sysdeps/sparc/sysdep.h: ... here. Include it.
18179 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18180 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18182 Update.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18191
181922012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18193
18194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18195
181962012-05-19 David S. Miller <davem@davemloft.net>
18197
18198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18199
182002012-05-19 Joseph Myers <joseph@codesourcery.com>
18201
18202 [BZ #14123]
18203 * math/s_ccosh.c: Include <float.h>
18204 (__ccosh): Avoid internal overflow calculating sinh and cosh
18205 values before multiplying by sin and cos values.
18206 * math/s_ccoshf.c: Likewise.
18207 * math/s_ccoshl.c: Likewise.
18208 * math/s_csin.c: Likewise.
18209 * math/s_csinf.c: Likewise.
18210 * math/s_csinl.c: Likewise.
18211 * math/s_csinh.c: Likewise.
18212 * math/s_csinhf.c: Likewise.
18213 * math/s_csinhl.c: Likewise.
18214 * math/libm-test.inc (ccos_test): Add more tests.
18215 (ccosh_test): Likewise.
18216 (csin_test): Likewise.
18217 (csinh_test): Likewise.
18218 * sysdeps/i386/fpu/libm-test-ulps: Update.
18219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18220
182212012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18222
18223 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18224 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18225
18226 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18227
182282012-05-19 Joseph Myers <joseph@codesourcery.com>
18229
18230 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18231 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18232 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18233 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18234 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18235 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18236 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18237 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18238 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18239 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18240 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18241 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18242 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18243 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18244 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18245 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18246 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18247 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18248 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18249 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18250 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18251 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18252 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18253 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18254 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18255 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18256 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18257 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18258 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18259 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18260 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18261
182622012-05-18 Andreas Jaeger <aj@suse.de>
18263
18264 * csu/.gitignore: Delete.
18265
182662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18267
18268 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18269 (timex): Use __syscall_slong_t.
18270
182712012-05-18 Andreas Jaeger <aj@suse.de>
18272 Carlos O'Donell <carlos_odonell@mentor.com>
18273
18274 * manual/install.texi (Configuring and compiling): Update
18275 description about files modified in the source directory.
18276 * INSTALL: Regenerated.
18277
182782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18279
18280 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18281 value. Use "or" to set return value to -1.
18282 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18283 negate return value.
18284
182852012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18286
18287 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18288 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18289 failure if the compiler has Graphite support disabled.
18290 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18291 Likewise.
18292 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18293 CFLAGS-memmove.c): Likewise.
18294 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18295 Likewise.
18296
182972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18298
18299 * sysdeps/x86_64/x32/_itoa.h: New file.
18300
18301 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18302 getdents system call only if kernel and user dirents have the
18303 same d_ino and d_off.
18304
18305 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18306 LLONG_MAX != LONG_MAX.
18307 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18308 (_fitoa_word): Likewise.
18309
18310 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18311 years.
18312 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18313 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18314 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18315
18316 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18317 include <bits/wordsize.h>. Check __x86_64__ instead of
18318 __WORDSIZE.
18319 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18320 if __x86_64__ is defined. Use anonymous union on fpstate.
18321
18322 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18323 anonymous union.
18324
183252012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18326
18327 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18328 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18329 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18330 Refer to _rtld_local_ro instead of _rtld_global_ro.
18331 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18332 Likewise.
18333 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18334 Likewise.
18335 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18336 Likewise.
18337 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18338 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18339 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18340
18341 * sysdeps/powerpc/powerpc32/dl-machine.c
18342 (__elf_machine_runtime_setup) [PROF]: Don't reference
18343 _dl_prof_resolve.
18344
183452012-05-18 Andreas Jaeger <aj@suse.de>
18346
18347 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18348 function only available for GCCs before 3.4 since GCC 3.4
18349 introduced a builtin.
18350 (lrint): Likewise.
18351 (llrintf): Likewise.
18352 (llrint): Likewise.
18353 (fmaxf): Likewise.
18354 (fmax): Likewise.
18355 (fminf): Likewise.
18356 (fmin): Likewise.
18357 (rint): Likewise.
18358 (rintf): Likewise.
18359 (nearbyint): Likewise.
18360 (nearbyintf): Likewise.
18361 (ceil): Likewise.
18362 (ceilf): Likewise.
18363 (floor): Likewise.
18364 (floorf): Likewise.
18365
183662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18367
18368 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18369 on both fields and cast pointer to __syscall_ulong_t.
18370
18371 * bits/types.h (__fsword_t): New type.
18372 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18373 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18375 (__FSWORD_T_TYPE): Likewise.
18376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18377 (__FSWORD_T_TYPE): Likewise.
18378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18379 (__FSWORD_T_TYPE): Likewise.
18380 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18381 (__FSWORD_T_TYPE): Likewise.
18382 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18383 __SWORD_TYPE with __fsword_t.
18384 (statfs64): Likewise.
18385
183862012-05-17 David S. Miller <davem@davemloft.net>
18387
18388 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18389
183902012-05-17 Andreas Jaeger <aj@suse.de>
18391
18392 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18393 warning.
18394
183952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18396
18397 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18398
183992012-05-17 Andreas Jaeger <aj@suse.de>
18400
18401 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18402 when it is used.
18403
184042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18405
18406 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18407
184082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18409
18410 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18411 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18412
184132012-05-17 Andreas Jaeger <aj@suse.de>
18414 Carlos O'Donell <carlos_odonell@mentor.com>
18415
18416 [BZ #14059]
18417 * sysdeps/x86_64/multiarch/init-arch.h
18418 (bit_YMM_Usable): Rename to...
18419 (bit_AVX_Usable): ... this.
18420 (bit_FMA4_Usable): New macro.
18421 (bit_XMM_state): New macro.
18422 (bit_YMM_state): New macro.
18423 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18424 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18425 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18426 (CPUID_OSXSAVE): New macro.
18427 (CPUID_AVX): New macro.
18428 (CPUID_FMA4): New macro.
18429 (index_YMM_Usable): Rename to...
18430 (index_AVX_Usable): ... this.
18431 (HAS_AVX): Use HAS_ARCH_FEATURE.
18432 (HAS_FMA4): Likewise.
18433 (HAS_YMM_USABLE): Remove.
18434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18435 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18436 are present.
18437 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18438 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18439 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18440 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18441 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18442
184432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18444
18445 * math/libm-test.c: Support platforms without multiple rounding modes.
18446 * math/bug-nextafter.c: Support platforms without FP exceptions.
18447 * math/bug-nexttoward.c: Likewise.
18448 * math/test-fenv.c: Likewise.
18449 * math/test-misc.c: Likewise.
18450 * stdlib/bug-getcontext.c: Likewise.
18451
184522012-05-17 Andreas Jaeger <aj@suse.de>
18453
18454 * manual/examples/search.c (critter_cmp): Change signature to
18455 avoid warnings.
18456 * manual/string.texi (Collation Functions): Likewise.
18457
184582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18459
18460 * bits/types.h: Fold copyright years.
18461 * bits/typesizes.h: Likewise.
18462 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18465 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18466 * time/time.h: Likewise.
18467
184682012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18469
18470 [BZ #208]
18471 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18472 in instead of returning them. Return void.
18473 (__libc_mallinfo): Accumulate over all arenas.
18474 (__malloc_stats): Adjust for change in int_mallinfo interface.
18475
184762012-05-16 Roland McGrath <roland@hack.frob.com>
18477
18478 [BZ #10375]
18479 * configure.in (NM): Add AC_CHECK_TOOL for it.
18480 (libc_extra_cflags): New substituted variable.
18481 Check for -fstack-protector being used implicitly.
18482 * configure: Regenerated.
18483 * config.make.in (config-extra-cflags): New variable,
18484 gets @libc_extra_cflags@.
18485 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18486
18487 [BZ #10375]
18488 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18489 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18490 * configure: Regenerated.
18491 * config.make.in (CPPUNDEFS): New substituted variable.
18492 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18493 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18494 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18495
184962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18499 (mq_attr): Use __syscall_slong_t.
18500
185012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18502
18503 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18504 Check __x86_64__ instead of __WORDSIZE.
18505 (_STAT_VER_LINUX): Likewise.
18506 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18507 __syscall_ulong_t and __syscall_slong_t.
18508 (stat64): Likewise.
18509
185102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18511
18512 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18513
185142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18515
18516 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18517
185182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18519
18520 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18521 __syscall_ulong_t.
18522
18523 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18524 include <bits/wordsize.h>. Check __x86_64__ instead of
18525 __WORDSIZE.
18526 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18527 defined.
18528 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18529
18530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18531 include <bits/wordsize.h>. Check __x86_64__ instead of
18532 __WORDSIZE.
18533 (user_regs_struct): Use "__extension__ unsigned long long"
18534 instead of "unsigned long" if __x86_64__ is defined.
18535 (user): Likewise. Pad after pointer field if __ILP32__ is
18536 defined.
18537
185382012-05-16 Joseph Myers <joseph@codesourcery.com>
18539
18540 * configure.in (makeinfo): Require version 4.5 or later. Allow
18541 versions 5 to 9.
18542 * configure: Regenerated.
18543 * manual/install.texi (texinfo): Increase version requirement to
18544 4.5 or later.
18545 * INSTALL: Regenerated.
18546
18547 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18548
185492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18550
18551 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18552
18553 * sysdeps/x86_64/x32/ffs.c: New file.
18554
18555 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18556 __syscall_ulong_t.
18557 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18558 defined. Use __syscall_ulong_t.
18559 (shminfo): Use __syscall_ulong_t.
18560 (shm_info): Likewise.
18561
18562 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18563 __syscall_ulong_t.
18564
18565 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18566 <bits/wordsize.h>.
18567 (msgqnum_t): Use __syscall_ulong_t.
18568 (msglen_t): Likewise.
18569 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18570 __syscall_ulong_t.
18571
18572 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18573 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18574
18575 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18576
18577 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18578 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18579
18580 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18581 __syscall_slong_t.
18582
18583 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18584 include <bits/wordsize.h>. Check __x86_64__ instead of
18585 __WORDSIZE.
18586
18587 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18588 "unsigned long long int" if __x86_64__ is defined.
18589 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18590
18591 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18592 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18593 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18594
18595 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18596 <stdint.h>.
18597 (GET_PC): Cast to uintptr_t first.
18598 (GET_FRAME): Likewise.
18599 (GET_STACK): Likewise.
18600
18601 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18602 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18603 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18604 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18605 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18606 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18607 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18608 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18609 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18610 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18611 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18612 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18613 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18614 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18615 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18616 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18617 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18618 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18619 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18620 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18621 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18622 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18623 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18624 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18625 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18626 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18627 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18628 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18629 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18630
186312012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18632
18633 * Makerules (+depfiles): Also collect depfiles from .oS in
18634 $(extra-objs).
18635 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18636 .oS, $(libnldbl-routines)).
18637
18638 * Makerules (native-compile-mkdep-flags): Define.
18639 * sunrpc/Makefile (extra-objs): Add $(addprefix
18640 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18641 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18642 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18643 calling $(make-target-directory).
18644
186452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18646
18647 * bits/types.h (__snseconds_t): Removed.
18648 * time/time.h (struct timespec): Replace __snseconds_t with
18649 __syscall_slong_t.
18650 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18651 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18652 Likewise.
18653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18654 (__SNSECONDS_T_TYPE): Likewise.
18655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18656 (__SNSECONDS_T_TYPE): Likewise.
18657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18658 (__SNSECONDS_T_TYPE): Likewise.
18659
186602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18661
18662 * sysdeps/mach/hurd/bits/typesizes.h
18663 (__SYSCALL_SLONG_TYPE): New macro.
18664 (__SYSCALL_ULONG_TYPE): Likewise.
18665
186662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18667
18668 * bits/types.h (__syscall_slong_t): New type.
18669 (__syscall_ulong_t): Likewise.
18670
18671 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18672 (__SYSCALL_ULONG_TYPE): Likewise.
18673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18674 (__SYSCALL_SLONG_TYPE): Likewise.
18675 (__SYSCALL_ULONG_TYPE): Likewise.
18676 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18677 (__SYSCALL_SLONG_TYPE): Likewise.
18678 (__SYSCALL_ULONG_TYPE): Likewise.
18679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18680 (__SYSCALL_SLONG_TYPE): Likewise.
18681 (__SYSCALL_ULONG_TYPE): Likewise.
18682
186832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18684
18685 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18686 Add sigaltstack-offsets.sym.
18687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18688 <sigaltstack-offsets.h>.
18689 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18690 longjmp_msg pointer.
18691 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18692 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18693 signal stack.
18694 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18695
186962012-05-15 Joseph Myers <joseph@codesourcery.com>
18697
18698 * elf/stackguard-macros.h: Remove file.
18699 * sysdeps/generic/stackguard-macros.h: New file.
18700 * sysdeps/i386/stackguard-macros.h: Likewise.
18701 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18702 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18703 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18704 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18705 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18706 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18707 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18708 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18709 <elf/stackguard-macros.h>.
18710
18711 [BZ #14109]
18712 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18713 __aligned__ in attribute.
18714 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18715 (gregset_t): Likewise.
18716
187172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18718
18719 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18720 * sysdeps/x86_64/64/Implies-after: Here. New file.
18721 * sysdeps/x86_64/x32/Implies-after: New file.
18722
187232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18724
18725 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18726 and access return value for _dl_profile_fixup. Use R10_LP to
18727 load frame size.
18728
187292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18730
18731 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18732
187332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18734
18735 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18736 * sysdeps/x86_64/x32/sysdep.h: New file.
18737
187382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18739
18740 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18741 * sysdeps/x86_64/setjmp.S: Likewise.
18742
187432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18744
18745 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18746 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18747 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18748 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18749 remove unused global constant.
18750
187512012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18752
18753 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18754 include of <not-cancel.h>.
18755
187562012-05-15 Roland McGrath <roland@hack.frob.com>
18757
18758 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18759
187602012-05-15 Jeff Law <law@redhat.com>
18761 Andreas Jaeger <aj@suse.de>
18762
18763 [BZ #13594]
18764 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18765 out from...
18766 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18767 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18768 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18769 code changing __hst_map_handle.map.
18770
187712012-05-15 Roland McGrath <roland@hack.frob.com>
18772
18773 * configure.in (sysnames): Look for Implies-before and Implies-after
18774 files.
18775 * configure: Regenerated.
18776
187772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18778
18779 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18780 8-byte data alignment with LP_SIZE alignment.
18781
187822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18783
18784 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18785 into R10_LP.
18786
187872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18788
18789 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18790
187912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18792
18793 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18794 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18795 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18796 Likewise.
18797 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18798
187992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18800
18801 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18802 (stackinfo_sub_sp): Likewise.
18803
188042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18805
18806 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18807 RAX_LP.
18808
188092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18810
18811 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18812 into R*_LP.
18813
188142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18815
18816 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18817 sizes into R*_LP.
18818
188192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18820
18821 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18822
188232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18824
18825 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18826 into R11_LP and load __x86_64_shared_cache_size_half into
18827 R8_LP.
18828
188292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18830
18831 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18832 R8_LP.
18833
188342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18835
18836 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18837 logb for POWER7.
18838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18839 logbf for POWER7.
18840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18841 logbl for POWER7.
18842 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18843 powerpc32/power7/fpu/s_logb.c via #include.
18844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18845 powerpc32/power7/fpu/s_logbf.c via #include.
18846 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18847 powerpc32/power7/fpu/s_logbl.c via #include.
18848
188492012-05-15 Joseph Myers <joseph@codesourcery.com>
18850
18851 * README.libm: Remove file.
18852
188532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18854
18855 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18856 count for x32. Use R*_LP and omit operand-size suffix.
18857
188582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18861 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18862 * sysdeps/x86_64/x32/shlib-versions: New file.
18863
188642012-05-14 Roland McGrath <roland@hack.frob.com>
18865
18866 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18867 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18868 Use _dl_fatal_printf instead.
18869
188702012-05-14 Joseph Myers <joseph@codesourcery.com>
18871
18872 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18873 set if not set by the user. Do not allow for being unset.
18874 * sysdeps/unix/sysv/linux/configure: Regenerated.
18875
188762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18877
18878 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18879 the `q' suffix from lea and replace .quad with ASM_ADDR.
18880
188812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18882
18883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18884 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18885 instead of $17.
18886 (PTR_DEMANGLE): Likewise.
18887
188882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18889
18890 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18891 (LP_OP): Likewise.
18892 (ASM_ADDR): Likewise.
18893 (RAX_LP): Likewise.
18894 (RBP_LP): Likewise.
18895 (RBX_LP): Likewise.
18896 (RCX_LP): Likewise.
18897 (RDI_LP): Likewise.
18898 (RSI_LP): Likewise.
18899 (RSP_LP): Likewise.
18900 (R8_LP): Likewise.
18901 (R9_LP): Likewise.
18902 (R10_LP): Likewise.
18903 (R10_LP): Likewise.
18904 (R11_LP): Likewise.
18905 (R12_LP): Likewise.
18906 (R13_LP): Likewise.
18907 (R14_LP): Likewise.
18908 (R15_LP): Likewise.
18909
189102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18911
18912 * sysdeps/x86_64/x32/dl-machine.h: New file.
18913
189142012-05-14 Andreas Jaeger <aj@suse.de>
18915
18916 * manual/Makefile (subdir): Remove export of subdir.
18917 (all): Remove target.
18918 (.PHONY): Remove all from list.
18919 (mkinstalldirs): Remove.
18920 (.PHONY): Remove installdirs from list.
18921 ($(inst_infodir)/libc.info): Use make-target-directory.
18922 (installdirs): Remove.
18923 (subdir_%): Remove.
18924 (glibc-targets): Remove.
18925 (lib): Remove.
18926 (stubs): Remove.
18927 ($(objpfx)stubs ../po/manual.pot): Remove.
18928 ($(objpfx)stamp%): Remove.
18929 (make-target-directory): Remove.
18930 (subdir_install): Remove.
18931 (routines): Remove.
18932 (aux): Remove.
18933 (sources): Remove.
18934 (objects): Remove.
18935 (headers): Remove.
18936
18937 [BZ #13750]
18938 * manual/.gitignore: Remove, it's not needed anymore.
18939 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18940 all files in it.
18941 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18942 directory.
18943 (texis): Renamed to $(objpfx)texis.
18944 (texis-path): New, contains path to generated files.
18945 (chapters.%): Use texis-path for complete path, add extra argument
18946 libc-texinfo.sh.
18947 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18948 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18949 (summary,texi, stamp-summary): Use complete path of
18950 files. Generate files in build dir.
18951 (dir-add.texi): Build in build dir.
18952 (libm-err.texi,stamp-libm-err): Likewise.
18953 (version.texi, stamp-version): Likewise.
18954 (.%c.texi): Likewise.
18955 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18956 (mostlyclean): Remove target.
18957 (realclean): Remove target.
18958 (generated): Add new variable with contents from mostlyclean and
18959 realclean, remove entries duplicated in common-mostlyclean, add
18960 stamp-libm-err and stamp-version.
18961 (generated-dirs): Add libc directory.
18962 ($(inst_infodir)/libc.info): Install files from build dir.
18963
18964 * manual/install.texi (Configuring and compiling): Adjust since
18965 the info files are not part of the tar ball anymore.
18966
189672012-05-14 Andreas Jaeger <aj@suse.de>
18968
18969 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18970 variable.
18971
189722012-05-14 Joseph Myers <joseph@codesourcery.com>
18973
18974 [BZ #13717]
18975 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18976 to 2.2.0 where earlier.
18977 * sysdeps/unix/sysv/linux/configure: Regenerated.
18978 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18979 Remove conditional code.
18980 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18981 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18982 Remove conditional code.
18983 [!__NR_lchown]: Likewise.
18984 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18985 [__NR_lchown]: Likewise.
18986 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18987 comment referencing __ASSUME_LCHOWN_SYSCALL.
18988 * sysdeps/unix/sysv/linux/i386/sigaction.c
18989 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18990 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18991 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18992 Remove conditional code.
18993 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18994 (__protocol_available): Remove #if 0 code.
18995 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18996 conditional code.
18997 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18998 * sysdeps/unix/sysv/linux/kernel-features.h
18999 (__ASSUME_GETCWD_SYSCALL): Don't define.
19000 (__ASSUME_REALTIME_SIGNALS): Likewise.
19001 (__ASSUME_PREAD_SYSCALL): Likewise.
19002 (__ASSUME_PWRITE_SYSCALL): Likewise.
19003 (__ASSUME_POLL_SYSCALL): Likewise.
19004 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19005 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19006 non-SPARC.
19007 (__ASSUME_SIOCGIFNAME): Don't define.
19008 (__ASSUME_MSG_NOSIGNAL): Likewise.
19009 (__ASSUME_SENDFILE): Define unconditionally.
19010 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19011 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19012 conditional code.
19013 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19014 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19015 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19016 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19017 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19018 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19019 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19021 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19027 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19033 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19036 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19039 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19042 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19044 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19045 Remove conditional code.
19046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19047 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19048 Remove conditional code.
19049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19050 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19051 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19052 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19053 Remove conditional code.
19054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19055 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19056 Remove conditional code.
19057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19058 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19059 Remove conditional code.
19060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19061 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19062 Remove conditional code.
19063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19064 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19065 Remove conditional code.
19066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19067 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19068 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19070 * sysdeps/unix/sysv/linux/sigaction.c
19071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19073 * sysdeps/unix/sysv/linux/sigpending.c
19074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19076 * sysdeps/unix/sysv/linux/sigprocmask.c
19077 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19078 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19079 * sysdeps/unix/sysv/linux/sigsuspend.c
19080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19082 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19083 (__libc_missing_rt_sigs): Remove.
19084 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19085 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19086 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19087 Remove conditional code.
19088 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19089 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19090 return 1.
19091 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19092 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19093 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19094 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19095
190962012-05-14 Andreas Jaeger <aj@suse.de>
19097
19098 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19099 it's not used in glibc.
19100 (__coshm1): Likewise.
19101 (__acosh1p): Likewise.
19102 (__sgn): Likewise.
19103
19104 * manual/string.texi (Copying and Concatenation): Add missing
19105 variable in concat example.
19106 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19107
191082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19109
19110 [BZ #14103]
19111 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19112 __builtin_clzl with __builtin_clzll.
19113
191142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19115
19116 [BZ #14104]
19117 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19118 libc_freeres_ptr.
19119
191202012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19121
19122 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19123 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19124 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19125 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19126
191272012-05-14 Mike Frysinger <vapier@gentoo.org>
19128
19129 * NEWS: Update ia64 info.
19130
191312012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19132
19133 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19134 used as bcopy.
19135
191362012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19137
19138 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19139 * sysdeps/unix/syscalls.list (dup3): Likewise.
19140 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19141 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19142
191432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19144
19145 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19146 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19147
191482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19149
19150 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19151 thread pointer.
19152 (TLS_IE): Use mov/add instead of movq/addq to load thread
19153 pointer.
19154 (TLS_GD_PREFIX): New.
19155 (TLS_GD): Use it.
19156
191572012-05-11 David S. Miller <davem@davemloft.net>
19158
19159 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19160 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19161 (_FPU_SETCW): Likewise.
19162
191632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19164
19165 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19166 is 32-byte aligned.
19167
191682012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19169
19170 [BZ #11837]
19171 * iconvdata/gb18030.c: Update tables.
19172 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19173 characters specially.
19174 (BODY for TO_LOOP): Add encoding of missing ranges.
19175
191762012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19177
19178 [BZ #13673]
19179 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19180 * sysdeps/mach/hurd/dup3.c: Likewise.
19181 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19182 * sysdeps/powerpc/memmove.c:: Likewise.
19183
191842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19185
19186 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19187 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19188
191892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19190
19191 * elf/elf.h (R_X86_64_RELATIVE64): New.
19192 (R_X86_64_NUM): Updated.
19193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19194 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19195 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19196 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19197 tst-quad1pie tst-quad2pie
19198 (modules-names): Add tst-quadmod1 tst-quadmod2.
19199 ($(objpfx)tst-quad1): New dependency.
19200 ($(objpfx)tst-quad2): Likewise.
19201 ($(objpfx)tst-quad1pie): Likewise.
19202 ($(objpfx)tst-quad2pie): Likewise.
19203 * sysdeps/x86_64/tst-quad1.c: New file.
19204 * sysdeps/x86_64/tst-quad1pie.c: New file.
19205 * sysdeps/x86_64/tst-quad2.c: Likewise.
19206 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19207 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19208 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19209 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19210 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19211
192122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19213
19214 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19215 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19216 * streams/stropts.h (t_scalar_t): Define type.
19217
19218 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19219 (_PATH_PRESERVE): Set to "/var/lib".
19220 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19221
19222 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19223 instead of int.
19224
19225 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19226 if __dir_mkfile succeeded.
19227
19228 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19229 checking for _hurd_dtablesize. Unlock it right after having
19230 finished _hurd_dtable allocation.
19231
192322012-05-10 Thomas Schwinge <thomas@schwinge.name>
19233
19234 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19235 * sysdeps/mach/hurd/configure: Regenerated.
19236 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19237 special-casing to...
19238 * sysdeps/gnu/configure.in: ... this new file.
19239 * sysdeps/unix/sysv/linux/configure: Regenerated.
19240 * sysdeps/gnu/configure: New generated file.
19241
19242 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19243 for Linux: use nsec instead of usec, as well as:
19244 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19245 members of type struct timespec.
19246 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19247 New macros.
19248 (struct stat64): Likewise.
19249 (_STATBUF_ST_NSEC): New macro.
19250 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19251
19252 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19253 __strtoul_internal rather than strtoul.
19254
192552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19256
19257 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19258 and reject them.
19259
192602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19261
19262 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19263 which preserves existing values.
19264 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19265
192662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19267
19268 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19269 TIMEOUT values. Return EINVAL for NFDS values either negative or
19270 greater than FD_SETSIZE.
19271
192722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19273
19274 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19275 allocated, call __vm_protect to finish enabling the existing space, and
19276 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19277 allocate the remainder.
19278
192792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19280
19281 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19282 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19283
192842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19285
19286 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19287 sysdeps/mach/hurd/readlink.c.
19288
19289 * posix/tst-sysconf.c (posix_options): Only use
19290 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19291 _POSIX_SYNCHRONIZED_IO when they are defined
19292 * sysdeps/mach/hurd/bits/posix_opt.h:
19293 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19294 (_XOPEN_REALTIME): Undefine macro.
19295 (_XOPEN_REALTIME_THREADS): Undefine macro.
19296 (_XOPEN_SHM): Undefine macro.
19297 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19298 macro to -1.
19299 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19300 macro to -1.
19301 (_POSIX_ASYNC_IO): Undefine macro.
19302 (_POSIX_PRIORITIZED_IO): Undefine macro.
19303 (_POSIX_SPIN_LOCKS): Define macro to -1.
19304
19305 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19306 SA_NODEFER, SA_RESETHAND.
19307 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19308 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19309 F_DUPFD_CLOEXEC.
19310
193112012-05-10 Thomas Schwinge <thomas@schwinge.name>
19312
19313 * elf/Makefile (pldd-modules): Define unconditionally.
19314
193152012-05-10 Thomas Schwinge <thomas@schwinge.name>
19316
19317 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19318
193192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19320
19321 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19322 Return ENOENT when name is empty.
19323 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19324
193252012-05-10 Thomas Schwinge <thomas@schwinge.name>
19326
19327 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19328
19329 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19330
193312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19332
19333 Fix mlock in all cases except non-readable pages.
19334 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19335 instead of VM_PROT_ALL as parameter to __vm_wire function.
19336
19337 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19338 (__mkdir): When path is `/', just fail with EEXIST.
19339 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19340
193412012-05-10 Thomas Schwinge <thomas@schwinge.name>
19342
19343 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19344 <sys/uio.h> (for writev).
19345 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19346 and <sys/param.h> (for MIN).
19347
193482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19349
19350 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19351 REQUESTED_TIME. Properly set the remaining time and return EINTR
19352 if interrupted.
19353
193542012-05-10 Thomas Schwinge <thomas@schwinge.name>
19355
19356 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19357 Depend on against $(link-rpcuserlibs).
19358
193592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19360
19361 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19362 (__libc_stack_end): Do not use attribute_relro.
19363 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19364 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19365 to libthread-provided value.
19366 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19367 attribute_relro.
19368
193692012-05-10 Thomas Schwinge <thomas@schwinge.name>
19370
19371 [BZ #3748]
19372 * bits/libc-lock.h (__libc_once_get): New macro.
19373 * sysdeps/mach/bits/libc-lock.h: Likewise.
19374 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19376 instead of using implementation details.
19377
19378 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19379 * libio/freopen.c: Likewise.
19380 * libio/freopen64.c: Likewise.
19381 * misc/syslog.c: Likewise.
19382 * nscd/connections.c: Likewise.
19383 * nscd/netgroupcache.c: Likewise.
19384 * sysdeps/posix/getcwd.c: Likewise.
19385
193862012-05-10 Roland McGrath <roland@hack.frob.com>
19387
19388 * math/w_ilogbf.c: Add #include <limits.h>.
19389
193902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19391
19392 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19393 path instead of returning without unlocking.
19394
19395 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19396 immediate-write ioctls.
19397 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19398
193992012-05-10 Thomas Schwinge <thomas@schwinge.name>
19400
19401 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19402 __builtin_frame_address instead of making assumptions about the
19403 location of the return address relative to DATA. Force early load of
19404 the return address.
19405 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19406 __builtin_frame_address.
19407
19408 dup3 for GNU Hurd.
19409 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19410 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19411 implement dup3 and do some further code clean-ups.
19412 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19413 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19414
194152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19416
19417 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19418
19419 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19420 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19421 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19422 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19423 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19424 d->port.lock.
19425
19426 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19427 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19428 when handler == SIG_ERR, not when handler != SIG_ERR.
19429
194302012-05-10 Thomas Schwinge <thomas@schwinge.name>
19431
19432 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19433 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19434 definitions.
19435
19436 accept4 for GNU Hurd.
19437 * include/sys/socket.h (__libc_accept4): New prototype.
19438 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19439 to implement __libc_accept4.
19440 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19441 __libc_accept4.
19442 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19443
19444 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19445 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19446 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19447 signal-defines.sym.
19448
194492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19450
19451 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19452
194532012-05-10 Thomas Schwinge <thomas@schwinge.name>
19454
19455 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19456 assertion on O_CLOEXEC flag.
19457 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19458 * hurd/intern-fd.c: Likewise.
19459 * hurd/port2fd.c: Likewise.
19460
194612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19462
19463 [BZ #3906]
19464 * bits/in.h (IPV6_PKTINFO): Define new macro.
19465 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19466
194672012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19468
19469 [BZ #13954]
19470 [BZ #13955]
19471 [BZ #13956]
19472 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19474 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19475 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19476 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19477 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19478 * math/libm-test.inc (logb_test) : Additional logb tests.
19479
194802012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19481 Andreas Jaeger <aj@suse.de>
19482
19483 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19484 * configure: Regenerated.
19485 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19486 * config.make.in (link-obsolete-rpc): New substituted variable.
19487 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19488 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19489 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19490 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19491 so that libc.a contains the symbols.
19492 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19493 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19494 * sunrpc/auth_none.c: Likewise.
19495 * sunrpc/auth_unix.c: Likewise.
19496 * sunrpc/authdes_prot.c: Likewise.
19497 * sunrpc/authuxprot.c: Likewise.
19498 * sunrpc/clnt_gen.c: Likewise.
19499 * sunrpc/clnt_perr.c: Likewise.
19500 * sunrpc/clnt_raw.c: Likewise.
19501 * sunrpc/clnt_simp.c: Likewise.
19502 * sunrpc/clnt_tcp.c: Likewise.
19503 * sunrpc/clnt_udp.c: Likewise.
19504 * sunrpc/clnt_unix.c: Likewise.
19505 * sunrpc/des_crypt.c: Likewise.
19506 * sunrpc/des_soft.c: Likewise.
19507 * sunrpc/get_myaddr.c: Likewise.
19508 * sunrpc/key_call.c: Likewise.
19509 * sunrpc/key_prot.c: Likewise.
19510 * sunrpc/netname.c: Likewise.
19511 * sunrpc/pm_getmaps.c: Likewise.
19512 * sunrpc/pm_getport.c: Likewise.
19513 * sunrpc/pmap_clnt.c: Likewise.
19514 * sunrpc/pmap_prot.c: Likewise.
19515 * sunrpc/pmap_prot2.c: Likewise.
19516 * sunrpc/pmap_rmt.c: Likewise.
19517 * sunrpc/publickey.c: Likewise.
19518 * sunrpc/rpc_cmsg.c: Likewise.
19519 * sunrpc/rpc_common.c: Likewise.
19520 * sunrpc/rpc_dtable.c: Likewise.
19521 * sunrpc/rpc_prot.c: Likewise.
19522 * sunrpc/rpc_thread.c: Likewise.
19523 * sunrpc/rtime.c: Likewise.
19524 * sunrpc/svc.c: Likewise.
19525 * sunrpc/svc_auth.c: Likewise.
19526 * sunrpc/svc_raw.c: Likewise.
19527 * sunrpc/svc_run.c: Likewise.
19528 * sunrpc/svc_tcp.c: Likewise.
19529 * sunrpc/svc_udp.c: Likewise.
19530 * sunrpc/svc_unix.c: Likewise.
19531 * sunrpc/svcauth_des.c: Likewise.
19532 * sunrpc/xcrypt.c: Likewise.
19533 * sunrpc/xdr.c: Likewise.
19534 * sunrpc/xdr_array.c: Likewise.
19535 * sunrpc/xdr_float.c: Likewise.
19536 * sunrpc/xdr_intXX_t.c: Likewise.
19537 * sunrpc/xdr_mem.c: Likewise.
19538 * sunrpc/xdr_rec.c: Likewise.
19539 * sunrpc/xdr_ref.c: Likewise.
19540 * sunrpc/xdr_sizeof.c: Likewise.
19541 * sunrpc/xdr_stdio.c: Likewise.
19542
195432012-05-10 Roland McGrath <roland@hack.frob.com>
19544
19545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19546 change. Update copyright years.
19547
195482012-05-10 Joseph Myers <joseph@codesourcery.com>
19549
19550 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19551
195522012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19553 Joseph Myers <joseph@codesourcery.com>
19554 Paul Pluzhnikov <ppluzhnikov@google.com>
19555
19556 [BZ #14012]
19557 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19558 requiring rpcgen.
19559 [cross-compiling] (extra-libs): Likewise.
19560 [cross-compiling] (extra-libs-others): Likewise.
19561 [cross-compiling] (librpcsvc-routines): Likewise.
19562 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19563 [cross-compiling] (omit-deps): Likewise.
19564 (sunrpc-CPPFLAGS): New variable.
19565 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19566 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19567 (cross-rpcgen-objs): New variable.
19568 (extra-objs): Append $(cross-rpcgen-objs).
19569 ($(cross-rpcgen-objs)): New rule.
19570 ($(objpfx)cross-rpcgen): Likewise.
19571 (rpcgen-cmd): Define to use $(built-program-file). Expand
19572 comment.
19573 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19574 ($(objpfx)x%.stmp): Likewise.
19575 * sunrpc/proto.h [IS_IN_build] (_): Define.
19576 [IS_IN_build] (_libc_intl_domainname): Likewise.
19577
195782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19579
19580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19581 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19582 and R_X86_64_TPOFF64.
19583
195842012-05-10 Joseph Myers <joseph@codesourcery.com>
19585
19586 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19587 sysdeps/unix/sysv/syscalls.list.
19588 (stime): Likewise.
19589 (utime): Likewise.
19590 * sysdeps/unix/sysv/syscalls.list: Remove file.
19591
195922012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19593
19594 [BZ #3440]
19595 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19596 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19597 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19598 (__LC_IDENTIFICATION): Make these macros useful in #if
19599 expressions, as required by C99.
19600
196012012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19602
19603 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19604 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19605 after this.
19606
196072012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19608
19609 * stdlib/longlong.h: Updated from GCC.
19610
196112012-05-09 Andreas Jaeger <aj@suse.de>
19612
19613 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19614 default is first entry.
19615 (run_mode): Set type.
19616 (main): Remove informal message about syslog.
19617 (options): Fix typo.
19618
19619 [BZ #14053]
19620 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19621 to asm.
19622 (lrint): Likewise.
19623 (llrintf): Likewise.
19624 (llrint): Likewise.
19625 (rint): Likewise.
19626 (rintf): Likewise.
19627 (nearbyint): Likewise.
19628 (nearbyintf): Likewise.
19629
196302012-05-09 Andreas Jaeger <aj@suse.de>
19631 Pedro Alves <palves@redhat.com>
19632
19633 * nscd/nscd.c (run_mode): Use enum.
19634 (main): Cleanup coding style issue.
19635
196362012-05-09 Alexandre Oliva <aoliva@redhat.com>
19637 Andreas Jaeger <aj@suse.de>
19638
19639 * nscd/nscd.c (go_background): Replaced with...
19640 (run_mode): ... this.
19641 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19642 (options): Add -F --foreground.
19643 (main): Implement it.
19644 (parse_opt): Parse it.
19645
196462012-05-09 Andreas Jaeger <aj@suse.de>
19647
19648 [BZ #14083]
19649 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19650 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19651 -Wconversion warning.
19652 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19653 Likewise.
19654
196552012-05-09 Joseph Myers <joseph@codesourcery.com>
19656
19657 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19658 == 0.
19659 (LC_ALL): Use macro-int-constant.
19660 (LC_COLLATE): Likewise.
19661 (LC_CTYPE): Likewise.
19662 (LC_MESSAGES): Likewise.
19663 (LC_MONETARY): Likewise.
19664 (LC_NUMERIC): Likewise.
19665 (LC_TIME): Likewise.
19666 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19667 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19669 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19670 Specify type.
19671 [C99-based standards] (float_t): Expect type.
19672 [C99-based standards] (double_t): Expect type.
19673 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19674 type.
19675 [C99-based standards] (HUGE_VALL): Likewise.
19676 [C99-based standards] (INFINITY): Likewise.
19677 [C99-based standards] (NAN): Likewise.
19678 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19679 [C99-based standards] (FP_NAN): Likewise.
19680 [C99-based standards] (FP_NORMAL): Likewise.
19681 [C99-based standards] (FP_SUBNORMAL): Likewise.
19682 [C99-based standards] (FP_ZERO): Likewise.
19683 [C99-based standards] (FP_FAST_FMA): Use
19684 optional-macro-int-constant. Specify type. Require == 1.
19685 [C99-based standards] (FP_FAST_FMAF): Likewise.
19686 [C99-based standards] (FP_FAST_FMAL): Likewise.
19687 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19688 [C99-based standards] (FP_ILOGBNAN): Likewise.
19689 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19690 Specify type.
19691 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19692 [C99-based standards] (math_errhandling): Specify type.
19693 [ISO99 || ISO11] (signgam): Do not allow.
19694 [non-C99-based standards] (copysignf): Do not allow.
19695 [non-C99-based standards] (exp2f): Likewise.
19696 [non-C99-based standards] (log2f): Likewise.
19697 [non-C99-based standards] (modff): Allow.
19698 [non-C99-based standards] (erff): Do not allow.
19699 [non-C99-based standards] (erfcf): Likewise.
19700 [non-C99-based standards] (gammaf): Likewise.
19701 [non-C99-based standards] (hypotf): Likewise.
19702 [non-C99-based standards] (j0f): Likewise.
19703 [non-C99-based standards] (j1f): Likewise.
19704 [non-C99-based standards] (jnf): Likewise.
19705 [non-C99-based standards] (lgammaf): Likewise.
19706 [non-C99-based standards] (tgammaf): Likewise.
19707 [non-C99-based standards] (y0f): Likewise.
19708 [non-C99-based standards] (y1f): Likewise.
19709 [non-C99-based standards] (ynf): Likewise.
19710 [non-C99-based standards] (isnanf): Likewise.
19711 [non-C99-based standards] (acoshf): Likewise.
19712 [non-C99-based standards] (asinhf): Likewise.
19713 [non-C99-based standards] (atanhf): Likewise.
19714 [non-C99-based standards] (cbrtf): Likewise.
19715 [non-C99-based standards] (expm1f): Likewise.
19716 [non-C99-based standards] (ilogbf): Likewise.
19717 [non-C99-based standards] (log1pf): Likewise.
19718 [non-C99-based standards] (logbf): Likewise.
19719 [non-C99-based standards] (nextafterf): Likewise.
19720 [non-C99-based standards] (remainderf): Likewise.
19721 [non-C99-based standards] (rintf): Likewise.
19722 [non-C99-based standards] (scalbf): Likewise.
19723 [non-C99-based standards] (copysignl): Likewise.
19724 [non-C99-based standards] (exp2l): Likewise.
19725 [non-C99-based standards] (log2l): Likewise.
19726 [non-C99-based standards] (modfl): Allow.
19727 [non-C99-based standards] (erfl): Do not allow.
19728 [non-C99-based standards] (erfcl): Likewise.
19729 [non-C99-based standards] (gammal): Likewise.
19730 [non-C99-based standards] (hypotl): Likewise.
19731 [non-C99-based standards] (j0l): Likewise.
19732 [non-C99-based standards] (j1l): Likewise.
19733 [non-C99-based standards] (jnl): Likewise.
19734 [non-C99-based standards] (lgammal): Likewise.
19735 [non-C99-based standards] (tgammal): Likewise.
19736 [non-C99-based standards] (y0l): Likewise.
19737 [non-C99-based standards] (y1l): Likewise.
19738 [non-C99-based standards] (ynl): Likewise.
19739 [non-C99-based standards] (isnanl): Likewise.
19740 [non-C99-based standards] (acoshl): Likewise.
19741 [non-C99-based standards] (asinhl): Likewise.
19742 [non-C99-based standards] (atanhl): Likewise.
19743 [non-C99-based standards] (cbrtl): Likewise.
19744 [non-C99-based standards] (expm1l): Likewise.
19745 [non-C99-based standards] (ilogbl): Likewise.
19746 [non-C99-based standards] (log1pl): Likewise.
19747 [non-C99-based standards] (logbl): Likewise.
19748 [non-C99-based standards] (nextafterl): Likewise.
19749 [non-C99-based standards] (remainderl): Likewise.
19750 [non-C99-based standards] (rintl): Likewise.
19751 [non-C99-based standards] (scalbl): Likewise.
19752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19753 [non-C99-based standards] (FP_*): Do not allow.
19754 [C99-based standards] (FP_*): Change to
19755 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19756 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19757 allow.
19758 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19759 (SIG_ERR): Likewise.
19760 [X/Open-based standards] (SIG_HOLD): Likewise.
19761 (SIG_IGN): Likewise.
19762 (SIGABRT): Use macro-int-constant. Specify type. Require
19763 positive value.
19764 (SIGFPE): Likewise.
19765 (SIGILL): Likewise.
19766 (SIGINT): Likewise.
19767 (SIGSEGV): Likewise.
19768 (SIGTER): Likewise.
19769 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19770 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19771 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19772 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19773 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19774 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19775 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19776 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19777 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19778 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19779 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19780 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19781 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19782 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19783 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19784 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19785 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19786 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19787 [X/Open-based standards] (SIGTRAP): Likewise.
19788 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19789 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19790 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19791 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19792 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19793 allow.
19794
197952012-05-08 Ian Wienand <ianw@vmware.com>
19796
19797 [BZ #14080]
19798 * time/tzset.c (__tzset_parse_tz): Update default rules for
19799 daylight time changes in the Energy Policy Act of 2005.
19800
198012012-05-09 Andreas Jaeger <aj@suse.de>
19802
19803 [BZ #13983]
19804 * elf/ldconfig.c (parse_conf): Change string to make clear that
19805 ldconfig only issued a warning if ld.so.conf does not exist.
19806
198072012-05-08 David S. Miller <davem@davemloft.net>
19808
19809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19810 movxtod instead of popping the value on the stack.
19811
19812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19813
198142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19815
19816 * config.h.in: Add HAVE_ARM_PCS_VFP.
19817
198182012-05-08 Roland Mc Grath <roland@hack.frob.com>
19819
19820 [BZ #13979]
19821 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19822 checking but the checks are disabled for any reason.
19823
198242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19825
19826 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19827 and ELF64_R_TYPE with ELFW(R_TYPE).
19828
198292012-05-08 Joseph Myers <joseph@codesourcery.com>
19830
19831 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19832 (ulimit): Likewise.
19833
19834 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19835 (settimeofday): Likewise.
19836
198372012-05-08 Mike Frysinger <vapier@gentoo.org>
19838
19839 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19840 a struct th_u2 inside the union, and move tu_block/tu_code into
19841 a new th_u3 union of tu_block/tu_code inside of that. Move
19842 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19843 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19844 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19845 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19846 (th_stuff): Change to th_u1.tu_stuff.
19847 (th_data): Define.
19848 (th_msg): Change to th_u1.th_u2.tu_data.
19849
198502012-05-07 David S. Miller <davem@davemloft.net>
19851
19852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19853
19854 [BZ #14074]
19855 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19856 (SETUP_PIC_REG): Use it.
19857 (SETUP_PIC_REG_LEAF): Use it.
19858
198592012-05-07 Joseph Myers <joseph@codesourcery.com>
19860
19861 [BZ #13885]
19862 [BZ #13923]
19863 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19864 USE_AS_EXPM1L.
19865 (EXPL_FINITE): Likewise.
19866 (FLDLOG): Likewise.
19867 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19868 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19869 e_expl.S.
19870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19871 USE_AS_EXPM1L.
19872 (EXPL_FINITE): Likewise.
19873 (FLDLOG): Likewise.
19874 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19875 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19876 e_expl.S.
19877 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19878 test of -max_value argument for long double.
19879 * sysdeps/i386/fpu/libm-test-ulps: Update.
19880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19881
198822012-05-06 David S. Miller <davem@davemloft.net>
19883
19884 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19885 quad soft-float symbols whose references which are compiler
19886 generated.
19887 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19888
198892012-05-06 Joseph Myers <joseph@codesourcery.com>
19890
19891 [BZ #13884]
19892 [BZ #13914]
19893 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19894 USE_AS_EXP10L.
19895 (EXPL_FINITE): Likewise.
19896 (FLDLOG): Likewise.
19897 (c0): Likewise.
19898 (c1): Likewise.
19899 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19900 Adjust comments for base varying.
19901 (__expl_finite): Change alias to EXPL_FINITE.
19902 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19903 e_expl.S.
19904 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19905 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19906 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19907 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19908 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19909 USE_AS_EXP10L.
19910 (EXPL_FINITE): Likewise.
19911 (FLDLOG): Likewise.
19912 (c0): Likewise.
19913 (c1): Likewise.
19914 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19915 Adjust comments for base varying.
19916 (__expl_finite): Change alias to EXPL_FINITE.
19917 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19918 tests for bugs.
19919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19920
19921 [BZ #14064]
19922 * math/libm-test.inc (check_float_internal): Correct ulp
19923 calculation for subnormal expected results.
19924
199252012-05-06 Andreas Jaeger <aj@suse.de>
19926
19927 * Makeconfig (+math-flags): New, set to -frounding-math.
19928 (+cflags): Add +math-flags so that all of glibc gets compiled with
19929 it.
19930
19931 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19932
199332012-05-05 Joseph Myers <joseph@codesourcery.com>
19934
19935 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19936 Disable one test.
19937
19938 [BZ #13787]
19939 [BZ #13922]
19940 [BZ #14036]
19941 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19942 (__ieee754_expl): Allow for and saturate large arguments.
19943 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19944 (u_threshold): Likewise.
19945 (__exp): Call __ieee754_exp before checking for overflow and
19946 underflow.
19947 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19948 (u_threshold): Likewise.
19949 (__expf): Call __ieee754_expf before checking for overflow and
19950 underflow.
19951 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19952 (u_threshold): Likewise.
19953 (__expl): Call __ieee754_expl before checking for overflow and
19954 underflow.
19955 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19956 (__ieee754_expl): Allow for and saturate large arguments.
19957 * math/libm-test.inc (exp_test): Add another test. Do not allow
19958 missing overflow exception on overflow.
19959 (expm1_test): Do not allow missing overflow exception on overflow.
19960
19961 * sysdeps/i386/fpu/e_expl.c: Move to ...
19962 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19963 rather than using inline asm.
19964 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19965 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19966 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19967
19968 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19969 (nice): Likewise.
19970 (poll): Likewise.
19971 (signal): Likewise.
19972 (time): Likewise.
19973 (times): Likewise.
19974
199752012-05-04 Joseph Myers <joseph@codesourcery.com>
19976
19977 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19978 sysdeps/unix/common/syscalls.list.
19979 (fchmod): Likewise.
19980 (fchown): Likewise.
19981 (ftruncate): Likewise.
19982 (getrusage): Likewise.
19983 (gettimeofday): Likewise.
19984 (setpgid): Likewise.
19985 (setregid): Likewise.
19986 (setreuid): Likewise.
19987 (sigaction): Likewise.
19988 (truncate): Likewise.
19989 (vhangup): Likewise.
19990 * sysdeps/unix/common/syscalls.list: Remove file.
19991 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19992 * sysdeps/unix/sysv/linux/Implies: Likewise.
19993
199942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19995
19996 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19998 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19999 Moved to ...
20000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20001 Here.
20002 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20003 to ...
20004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20005 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20006 to ...
20007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20008 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20009 to ...
20010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20011 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20012 to ...
20013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20014 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20015 to ...
20016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20017 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20018 to ...
20019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20020 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20021 to ...
20022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20023 Here.
20024 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20025 to ...
20026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20027 Here.
20028 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20029 to ...
20030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20031 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20032 Moved to ...
20033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20034 Here.
20035 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20036 to ...
20037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20038
200392012-05-04 Joseph Myers <joseph@codesourcery.com>
20040
20041 * sysdeps/unix/common/bits/dirent.h: Remove file.
20042 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20043
20044 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20045 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20046 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20047 * sysdeps/unix/bsd/isatty.c: Likewise.
20048 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20049 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20050 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20051
200522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20053
20054 [BZ #13563]
20055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20056 long double comparison inaccuracies.
20057 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20059
200602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20061
20062 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20063 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20064
200652012-05-04 Joseph Myers <joseph@codesourcery.com>
20066
20067 [BZ #14049]
20068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20069 nonzero digits before rounding a hex value.
20070 * stdlib/tst-strtod.c (tests): Add another test.
20071
200722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20073
20074 * sysdeps/s390/fpu/libm-test-ulps: Update.
20075
200762012-05-03 Andreas Jaeger <aj@suse.de>
20077
20078 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20079 does not get optimized out.
20080 (malloc_opt_barrier): New.
20081
200822012-05-03 Andreas Jaeger <aj@suse.de>
20083 Roland McGrath <roland@hack.frob.com>
20084
20085 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20086 intermediate file deletion.
20087 (generated): Add .symlist files.
20088
200892012-05-03 Joseph Myers <joseph@codesourcery.com>
20090
20091 [BZ #13775]
20092 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20093 Redirect under this condition.
20094 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20095 [__USE_GNU] (__dprintf_chk): Not under this condition.
20096 [__USE_GNU] (__vdprintf_chk): Likewise.
20097 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20098 under this condition.
20099 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20100 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20101 [__USE_XOPEN2K8] (vdprintf): Likewise.
20102 [__USE_GNU] (__dprintf_chk): Not under this condition.
20103 [__USE_GNU] (__vdprintf_chk): Likewise.
20104 [__USE_GNU] (dprintf): Likewise.
20105 [__USE_GNU] (vdprintf): Likewise.
20106
201072012-05-03 Roland McGrath <roland@hack.frob.com>
20108
20109 * elf/Makefile (common-generated): Set this instead of generated for
20110 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20111 $(all-built-dso)-derived lists.
20112
201132012-05-03 Andreas Jaeger <aj@suse.de>
20114
20115 * sysdeps/i386/fpu/libm-test-ulps: Update.
20116
20117 * FAQ: Removed.
20118 * FAQ.in: Likewise.
20119 * scripts/gen-FAQ.pl: Likewise.
20120 * manual/install.texi (Installation): Point to online location of
20121 FAQ.
20122 * Makefile (files-for-dist): Remove FAQ.
20123 (FAQ): Remove.
20124
201252012-05-02 Allan McRae <allan@archlinux.org>
20126
20127 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20128 (LDFLAGS-reldepmod5.so): Likewise.
20129 (LDFLAGS-reldep6mod1.so): Likewise.
20130 (LDFLAGS-reldep6mod4.so): Likewise.
20131 (LDFLAGS-reldep8mod3.so): Likewise.
20132 (LDFLAGS-unload4mod1.so): Likewise.
20133 (LDFLAGS-unload4mod2.so): Likewise.
20134 (LDFLAGS-tst-initorder): Likewise.
20135 (LDFLAGS-tst-initordera2.so): Likewise.
20136 (LDFLAGS-tst-initordera3.so): Likewise.
20137 (LDFLAGS-tst-initordera4.so): Likewise.
20138 (LDFLAGS-tst-initorderb2.so): Likewise.
20139 (LDFLAGS-noload): Likewise.
20140 (LDFLAGS-next): Likewise.
20141 (LDFLAGS-order2mod1.so): Likewise.
20142 (LDFLAGS-order2mod2.so): Likewise.
20143 (LDFLAGS-tst-initorder2): Likewise.
20144 (LDFLAGS-tst-initorder2a.so): Likewise.
20145 (LDFLAGS-tst-initorder2b.so): Likewise.
20146 (LDFLAGS-tst-initorder2c.so): Likewise.
20147 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20148
201492012-05-02 David S. Miller <davem@davemloft.net>
20150
20151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20152
201532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20154
20155 [BZ #14055]
20156 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20157
201582012-05-02 Andreas Jaeger <aj@suse.de>
20159
20160 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20161 since we manipulate rounding mode.
20162 (CPPFLAGS-test-idouble.c): Likewise.
20163 (CPPFLAGS-test-ifloat.c): Likewise.
20164 (CFLAGS-test-ldouble.c): Likewise.
20165 (CFLAGS-test-double.c): Likewise.
20166 (CFLAGS-test-float.c): Likewise.
20167 (CFLAGS-test-misc.c): Likewise.
20168 (CFLAGS-test-test-fenv.c): Likewise.
20169
201702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20171
20172 [BZ #2550]
20173 [BZ #2570]
20174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20175 comparisons to determine direction to adjust input.
20176
201772012-05-01 Roland McGrath <roland@hack.frob.com>
20178
20179 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20180 output to the target.
20181
20182 * scripts/localplt.awk: New file.
20183 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20184 (check-localplt-CFLAGS): Variable removed.
20185 ($(all-built-dso:=.jmprel)): New static pattern rule.
20186 (generated): Add those targets.
20187 (localplt-built-dso): New variable.
20188 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20189
20190 * elf/check-localplt.c: File removed.
20191
20192 * scripts/check-execstack.awk: New file.
20193 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20194 (check-execstack-CFLAGS): Variable removed.
20195 ($(objpfx)check-execstack.h): Target removed.
20196 ($(objpfx)execstack-default): New target.
20197 (generated): Add that instead of check-execstack.h.
20198 ($(all-built-dso:=.phdr)): New static pattern rule.
20199 (generated): Add those targets.
20200 * elf/check-execstack.c: File removed.
20201
20202 * scripts/check-textrel.awk: New file.
20203 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20204 (check-textrel-CFLAGS): Variable removed.
20205 (all-built-dso): Use := to define.o
20206 ($(all-built-dso:=.dyn)): New static pattern rule.
20207 (generated): Add those targets.
20208 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20209 * config.make.in (READELF): New substituted variable.
20210 * elf/check-textrel.c: File removed.
20211
202122012-05-01 Joseph Myers <joseph@codesourcery.com>
20213
20214 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20215 allow.
20216 * conform/data/ctype.h-data [C99-based standards] (isblank):
20217 Expect function.
20218 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20219 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20220 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20221 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20222 Specify type. Require positive value.
20223 (EILSEQ): Likewise.
20224 (ERANGE): Likewise.
20225 [ISO || POSIX] (EILSEQ): Do not expect.
20226 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20227 Specify type. Require positive value.
20228 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20229 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20230 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20231 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20232 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20233 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20234 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20235 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20236 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20237 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20238 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20239 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20240 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20241 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20242 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20243 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20244 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20245 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20246 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20247 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20248 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20249 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20250 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20251 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20252 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20253 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20254 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20255 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20256 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20257 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20258 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20259 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20260 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20261 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20263 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20264 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20270 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20272 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20273 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20278 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20279 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20280 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20281 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20282 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20283 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20284 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20285 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20286 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20287 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20288 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20289 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20290 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20291 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20292 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20293 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20294 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20295 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20297 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20298 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20299 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20300 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20301 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20302 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20303 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20304 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20305 Require >= 2.
20306 (FLT_ROUNDS): Expect as macro, not constant.
20307 (FLT_MANT_DIG): Use macro-int-constant.
20308 (DBL_MANT_DIG): Likewise.
20309 (LDBL_MANT_DIG): Likewise.
20310 (FLT_DIG): Likewise.
20311 (DBL_DIG): Likewise.
20312 (LDBL_DIG): Likewise.
20313 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20314 (DBL_MIN_EXP): Likewise.
20315 (LDBL_MIN_EXP): Likewise.
20316 (FLT_MAX_EXP): Use macro-int-constant.
20317 (DBL_MAX_EXP): Likewise.
20318 (LDBL_MAX_EXP): Likewise.
20319 (FLT_MAX_10_EXP): Likewise.
20320 (DBL_MAX_10_EXP): Likewise.
20321 (LDBL_MAX_10_EXP): Likewise.
20322 (FLT_MAX): Use macro-constant.
20323 (DBL_MAX): Likewise.
20324 (LDBL_MAX): Likewise.
20325 (FLT_EPSILON): Use macro-constant. Give upper bound.
20326 (DBL_EPSILON): Likewise.
20327 (LDBL_EPSILON): Likewise.
20328 (FLT_MIN): Likewise.
20329 (DBL_MIN): Likewise.
20330 (LDBL_MIN): Likewise.
20331 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20332 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20333 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20334 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20335 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20336 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20337 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20338 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20339 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20340 [ISO11] (FLT_TRUE_MIN): Likewise.
20341 [ISO11] (LDBL_TRUE_MIN): Likewise.
20342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20343 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20344 (SCHAR_MIN): Use macro-int-constant. Specify type.
20345 (SCHAR_MAX): Likewise.
20346 (UCHAR_MAX): Likewise.
20347 (CHAR_MIN): Likewise.
20348 (CHAR_MAX): Likewise.
20349 (MB_LEN_MAX): Use macro-int-constant.
20350 (SHRT_MIN): Use macro-int-constant. Specify type.
20351 (SHRT_MAX): Likewise.
20352 (USHRT_MAX): Likewise.
20353 (INT_MAX): Likewise.
20354 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20355 bound negative.
20356 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20357 bound with "U".
20358 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20359 bound with "L".
20360 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20361 bound negative. Suffix upper bound with "L".
20362 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20363 bound with "UL".
20364 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20365 Specify type.
20366 [C99-based standards] (LLONG_MAX): Likewise.
20367 [C99-based standards] (ULLONG_MAX): Likewise.
20368 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20369 == 0.
20370 [ISO11] (max_align_t): Require type.
20371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20372
20373 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20374 from $CFLAGS, without defining away __attribute__ calls.
20375 (checknamespace): Use $CFLAGS_namespace.
20376
20377 * conform/conformtest.pl (@keywords): Only include C99 keywords
20378 for standards based on C99 or C11.
20379
20380 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20381 Disable tests.
20382 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20383 UNIX98]: Likewise.
20384
20385 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20386 usability of symbols in #if.
20387
20388 * conform/conformtest.pl: If macro or constant types start
20389 "promoted:", expect the symbol to be of the following type
20390 promoted by the integer promotions.
20391
20392 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20393 in one place. Also handle "macro-constant".
20394
20395 * conform/conformtest.pl: Only accept expected macro values with
20396 "==". Parse all "macro" lines in one place.
20397 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20398
20399 * conform/conformtest.pl: Handle braced types on "constant" lines
20400 instead of handling "typed-constant".
20401 * conform/data/signal.h-data: Use "constant" instead of
20402 "typed-constant".
20403
20404 * conform/conformtest.pl: Handle "optional-" at start of lines in
20405 one place rather than duplicating several cases. Handle each
20406 format of "macro" line with initial "optional-".
20407
20408 * conform/conformtest.pl: Only accept expected constant or
20409 optional-constant values with "==". Parse all "constant" lines in
20410 one place. Parse all "optional-constant" lines in one place.
20411 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20412 * conform/data/fmtmsg.h-data: Likewise.
20413 * conform/data/netinet/in.h-data: Likewise.
20414 * conform/data/tar.h-data: Likewise.
20415 * conform/data/limits.h-data: Use "==" form on "constant" and
20416 "optional-constant" lines.
20417
20418 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20419 Use -std=c99 for XOPEN2K.
20420 (@knownproblems): Remove.
20421 (newtoken): Don't check %isknown.
20422
20423 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20424 Do not expect macro.
20425 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20426 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20427 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20430 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20431 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20432 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20433 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20434 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20435 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20436 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20437 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20438 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20439 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20440 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20441 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20442 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20443 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20444 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20445 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20446 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20447 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20448 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20449 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20450 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20451 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20452 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20453 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20454 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20455 [XPG3] (acosh): Likewise.
20456 [XPG3] (asinh): Likewise.
20457 [XPG3] (atanh): Likewise.
20458 [XPG3] (cbrt): Likewise.
20459 [XPG3] (expm1): Likewise.
20460 [XPG3] (ilogb): Likewise.
20461 [XPG3] (log1p): Likewise.
20462 [XPG3] (logb): Likewise.
20463 [XPG3] (nextafter): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20466 [XPG3] (remainder): Likewise.
20467 [XPG3] (rint): Likewise.
20468 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20469 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20475 [UNIX98 || XOPEN2K] (scalb): Expect.
20476 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20477 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20486 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20487 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20488 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20489 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20490 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20491 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20492 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20493 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20494 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20497 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20498 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20506 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20507 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20508 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20613
20614 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20615 _XOPEN_SOURCE_EXTENDED for XPG4.
20616
20617 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20618
20619 * Makeconfig (localtime): Remove variable.
20620 (inst_localtime-file): Likewise.
20621
206222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20623
20624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20625 Update.
20626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20627 Update.
20628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20629 Update.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20631 Update.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20633 Update.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20635 Update.
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20637 Update.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20639 Update.
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20641 Update.
20642
206432012-05-01 Joseph Myers <joseph@codesourcery.com>
20644
20645 [BZ #2550]
20646 [BZ #2570]
20647 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20648 comparisons to determine direction to adjust input.
20649 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20650 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20652 Likewise.
20653 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20654 Likewise.
20655 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20656 Likewise.
20657 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20658 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20659 Likewise.
20660 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20661 Likewise.
20662 * math/libm-test.inc (nexttoward_test): Add more tests.
20663
206642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20665
20666 [BZ #14040]
20667 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20668 in version GLIBC_2.1, not GLIBC_2.0.
20669 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20670 Likewise.
20671
206722012-04-30 Joseph Myers <joseph@codesourcery.com>
20673
20674 [BZ #13942]
20675 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20676 (1 - x) * (1 + x).
20677 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20678 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20679 * math/libm-test.inc (acos_test): Add more tests.
20680 (asin_test): Likewise.
20681 * sysdeps/i386/fpu/libm-test-ulps: Update.
20682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20683
20684 [BZ #14034]
20685 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20686 of square root.
20687 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20688 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20689 * math/libm-test.inc (acos_test_tonearest): New function.
20690 (acos_test_towardzero): Likewise.
20691 (acos_test_downward): Likewise.
20692 (acos_test_upward): Likewise.
20693 (asin_test_tonearest): Likewise.
20694 (asin_test_towardzero): Likewise.
20695 (asin_test_downward): Likewise.
20696 (asin_test_upward): Likewise.
20697 (main): Call the new functions.
20698 * sysdeps/i386/fpu/libm-test-ulps: Update.
20699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20700
20701 [BZ #13884]
20702 [BZ #13924]
20703 * math/e_exp10.c: Include <float.h>.
20704 (__ieee754_exp10): Handle underflow here rather than multiplying
20705 large negative argument by M_LN10.
20706 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20707 of __ieee754_expf.
20708 * math/e_exp10l.c: Include <float.h>.
20709 (__ieee754_exp10l): Handle underflow here rather than multiplying
20710 large negative argument by M_LN10l.
20711 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20712 spurious overflow exception on underflow.
20713
207142012-04-29 Marek Polacek <polacek@redhat.com>
20715
20716 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20717 (__fortify_function): New macro.
20718 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20719 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20720 __extern_always_inline.
20721 * libio/bits/stdio2.h: Likewise.
20722 * libio/bits/stdio.h: Likewise.
20723 * string/string.h: Likewise.
20724 * string/bits/string3.h: Likewise.
20725 * include/stdio.h: Likewise.
20726 * stdlib/bits/stdlib.h: Likewise.
20727 * stdlib/stdlib.h: Likewise.
20728 * rt/bits/mqueue2.h: Likewise.
20729 * rt/mqueue.h: Likewise.
20730 * posix/bits/unistd.h: Likewise.
20731 * posix/unistd.h: Likewise.
20732 * io/bits/poll2.h: Likewise.
20733 * io/bits/fcntl2.h: Likewise.
20734 * io/fcntl.h: Likewise.
20735 * io/sys/poll.h: Likewise.
20736 * misc/bits/syslog.h: Likewise.
20737 * misc/bits/syslog-ldbl.h: Likewise.
20738 * misc/sys/syslog.h: Likewise.
20739 * socket/bits/socket2.h: Likewise.
20740 * socket/sys/socket.h: Likewise.
20741 * debug/tst-chk1.c: Likewise.
20742 * wcsmbs/bits/wchar2.h: Likewise.
20743 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20744 * wcsmbs/wchar.h: Likewise.
20745
207462012-04-29 Andreas Jaeger <aj@suse.de>
20747
20748 * Makerules (tests): Remove enable-check-abi protection.
20749 (check-abi-warn): Remove.
20750 (check-abi-%): Remove check-abi-warn usage.
20751
20752 * configure.in: Remove check-abi configure option.
20753 * configure: Regenerated.
20754 * config.make.in (enable-check-abi): Remove.
20755
207562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20757
20758 [BZ #14033]
20759 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20760 double functions to double *_finite functions.
20761
20762 [BZ #13941]
20763 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20764 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20765 LDBL_MIN_EXP.
20766 * stdio-common/Makefile (tests): Add tst-sprintf3.
20767 * stdio-common/tst-sprintf3.c: New file.
20768
20769 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20770 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20771
207722012-04-28 Joseph Myers <joseph@codesourcery.com>
20773
20774 * conform/conformtest.pl: Remove duplicate typed-constant
20775 handling.
20776
207772012-04-28 David S. Miller <davem@davemloft.net>
20778
20779 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20780 (check-abi-%): Remove AWK script prerequisite and explicit
20781 abilist directory.
20782 (check-abi): Rewrite to just diff the symlist with the abilist.
20783 (config-tls, config-abi-config): Delete, no longer used.
20784 (update-abi-%): Remove AWK script and explicit abilist directory.
20785 (update-abi): Rewrite to simply compare and conditionally copy the
20786 symlist and the sysdep abilist file. Remove update-abi-config
20787 checks.
20788 * abilist/ld.abilist: Remove.
20789 * abilist/libBrokenLocale.abilist: Remove.
20790 * abilist/libanl.abilist: Remove.
20791 * abilist/libcrypt.abilist: Remove.
20792 * abilist/libdl.abilist: Remove.
20793 * abilist/librt.abilist: Remove.
20794 * abilist/libthread_db.abilist: Remove.
20795 * abilist/libutil.abilist: Remove.
20796 * scripts/extract-abilist.awk: Remove.
20797 * scripts/merge-abilist.awk: Remove.
20798 * sysdeps/generic/libcidn.abilist: New file.
20799 * sysdeps/generic/libnss_compat.abilist: New file.
20800 * sysdeps/generic/libnss_db.abilist: New file.
20801 * sysdeps/generic/libnss_dns.abilist: New file.
20802 * sysdeps/generic/libnss_files.abilist: New file.
20803 * sysdeps/generic/libnss_hesiod.abilist: New file.
20804 * sysdeps/generic/libnss_nis.abilist: New file.
20805 * sysdeps/generic/libnss_nisplus.abilist: New file.
20806 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20807 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20808 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20809 file.
20810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20811 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20812 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20813 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20814 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20815 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20816 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20817 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20818 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20819 file.
20820 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20821 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20822 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20823 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20824 file.
20825 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20826 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20827 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20828 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20829 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20830 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20831 file.
20832 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20833 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20834 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20835 file.
20836 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20838 New file.
20839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20840 New file.
20841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20842 New file.
20843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20844 New file.
20845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20846 New file.
20847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20848 New file.
20849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20850 New file.
20851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20852 New file.
20853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20854 New file.
20855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20856 New file.
20857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20858 New file.
20859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20860 New file.
20861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20862 New file.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20864 file.
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20866 New file.
20867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20868 New file.
20869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20870 file.
20871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20872 New file.
20873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20874 New file.
20875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20876 file.
20877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20878 New file.
20879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20880 New file.
20881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20882 New file.
20883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20884 New file.
20885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20886 New file.
20887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20888 New file.
20889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20891 file.
20892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20893 New file.
20894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20895 file.
20896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20897 file.
20898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20899 file.
20900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20901 file.
20902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20903 file.
20904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20905 New file.
20906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20907 file.
20908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20909 file.
20910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20911 New file.
20912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20913 file.
20914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20916 file.
20917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20918 New file.
20919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20920 file.
20921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20922 file.
20923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20924 file.
20925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20926 file.
20927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20928 file.
20929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20930 New file.
20931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20932 file.
20933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20934 file.
20935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20936 New file.
20937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20938 file.
20939 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20940 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20941 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20942 file.
20943 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20944 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20945 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20946 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20947 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20948 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20949 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20950 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20951 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20952 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20955 file.
20956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20957 New file.
20958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20959 file.
20960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20961 file.
20962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20963 file.
20964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20965 file.
20966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20967 file.
20968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20969 New file.
20970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20971 New file.
20972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20973 file.
20974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20975 New file.
20976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20977 file.
20978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20980 file.
20981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20982 New file.
20983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20984 file.
20985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20986 file.
20987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20988 file.
20989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20990 file.
20991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20992 file.
20993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20994 New file.
20995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20996 New file.
20997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20998 file.
20999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21000 New file.
21001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21002 file.
21003
210042012-04-28 Joseph Myers <joseph@codesourcery.com>
21005
21006 * conform/conformtest.pl: Fix typo in handling typed-constant from
21007 allow-header.
21008
210092012-04-27 Joseph Myers <joseph@codesourcery.com>
21010
21011 * README: Cut down references to pre-2.6 Linux kernels and
21012 Linuxthreads. Update lists of configurations in libc and ports
21013 and sort alphabetically. Say "or newer" with Linux kernel version
21014 requirements.
21015
21016 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21017
210182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21019
21020 [BZ #887]
21021 * math/libm-test.inc (logb_test_downward): New test to expose
21022 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21023 rounding mode.
21024
210252012-04-27 Joseph Myers <joseph@codesourcery.com>
21026
21027 [BZ #14027]
21028 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21029 to be done.
21030 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21031 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21032
210332012-04-26 Joseph Myers <joseph@codesourcery.com>
21034
21035 * sysdeps/unix/i386/brk.S: Remove file.
21036 * sysdeps/unix/i386/dl-brk.S: Likewise.
21037 * sysdeps/unix/i386/pipe.S: Likewise.
21038 * sysdeps/unix/i386/sigreturn.S: Likewise.
21039 * sysdeps/unix/i386/syscall.S: Likewise.
21040 * sysdeps/unix/i386/vfork.S: Likewise.
21041 * sysdeps/unix/i386/wait.S: Likewise.
21042
21043 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21044 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21045
21046 * configure.in (arm*-none*): Do not allow without
21047 --enable-hacker-mode.
21048 (netbsd*): Remove case setting base_os.
21049 (386bsd*): Likewise.
21050 (freebsd*): Likewise.
21051 (bsdi*): Likewise.
21052 (osf*): Likewise.
21053 (sunos*): Likewise.
21054 (ultrix*): Likewise.
21055 (newsos*): Likewise.
21056 (dynix*): Likewise.
21057 (*bsd*): Likewise.
21058 (sysv*): Likewise.
21059 (isc*): Likewise.
21060 (esix*): Likewise.
21061 (sco*): Likewise.
21062 (minix*): Likewise.
21063 (irix4*): Likewise.
21064 (irix6*): Likewise.
21065 (solaris[2-9]*): Likewise.
21066 (none): Likewise.
21067 * configure: Regenerated.
21068
210692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21070
21071 [BZ #11521]
21072 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21073 overflow or cancellation in calculating denominator.
21074 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21076 down expression to avoid unexpected rounding in newer GCCs.
21077 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21078
210792012-04-26 David S. Miller <davem@davemloft.net>
21080
21081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21082 long-double compat symbols.
21083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21096
210972012-04-25 David S. Miller <davem@davemloft.net>
21098
21099 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21100 HWCAP_* values only after the memory barriers have been defined.
21101 (atomic_full_barrier): Define.
21102 (atomic_read_barrier): Define.
21103 (atomic_write_barrier): Define.
21104
211052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21106
21107 * shlib-versions: Add libgcc_s version information.
21108 * sysdeps/generic/libgcc_s.h: Remove.
21109 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21110 libgcc_s.h.
21111 * sysdeps/gnu/unwind-resume.c: Likewise.
21112 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21113
211142012-04-25 David S. Miller <davem@davemloft.net>
21115
21116 * sysdeps/unix/sparc/brk.S: Delete.
21117 * sysdeps/unix/sparc/dl-brk.S: Delete.
21118 * sysdeps/unix/sparc/pipe.S: Delete.
21119 * sysdeps/unix/sparc/sysdep.S: Delete.
21120 * sysdeps/unix/sparc/sysdep.h: Delete.
21121 * sysdeps/unix/sparc/vfork.S: Delete.
21122 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21123 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21125 ret_ERRVAL, r0, r1, MOVE): Define.
21126 (JUMPTARGET): Remove.
21127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21128 sysdeps/unix/sparc/sysdep.h
21129 (ENTRY, END): Remove.
21130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21131
211322012-04-25 Joseph Myers <joseph@codesourcery.com>
21133
21134 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21135 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21136 -DIS_IN_build.
21137
21138 * timezone/README: Update upstream location and email address for
21139 tzcode and tzdata.
21140 * timezone/zdump.c: Update from tzcode 2012b.
21141 * timezone/zic.c: Likewise.
21142
21143 * configure.in (libc_cv_as_needed): Remove test.
21144 * configure: Regenerated.
21145 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21146 conditional definition.
21147 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21148 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21149 * config.make.in (have-as-needed): Remove variable.
21150
211512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21152 Paul Pluzhnikov <ppluzhnikov@google.com>
21153
21154 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21155 strings correctly.
21156
211572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21158
21159 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21160 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21161 * sysdeps/sh/strlen.S: Likewise.
21162
211632012-04-24 Joseph Myers <joseph@codesourcery.com>
21164
21165 * sysdeps/unix/fork.S: Remove file.
21166 * sysdeps/unix/i386/fork.S: Likewise.
21167 * sysdeps/unix/sparc/fork.S: Likewise.
21168
21169 * sysdeps/unix/system.c: Remove file.
21170 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21171
21172 * sysdeps/unix/getegid.S: Remove file.
21173 * sysdeps/unix/geteuid.S: Likewise.
21174
211752012-04-24 Roland McGrath <roland@hack.frob.com>
21176
21177 * scripts/check-localplt.awk: New file.
21178 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21179 of diff.
21180 * scripts/data/localplt-generic.data: Add a comment.
21181
21182 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21183 NODE when __dir_mkfile failed.
21184 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21185 Reported by Ludovic Courtès <ludo@gnu.org>.
21186
211872012-04-24 Andreas Jaeger <aj@suse.de>
21188
21189 * Makerules (common-clean): Also remove gen-as-const-headers
21190 files.
21191
211922012-04-24 Joseph Myers <joseph@codesourcery.com>
21193
21194 * Makerules (native-compile): Do not change working directory for
21195 build. Use $(OUTPUT_OPTION) in command.
21196 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21197
211982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21199
21200 [BZ #13886]
21201 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21202 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21203 * math/libm-test.inc (floor_test): Add more tests.
21204 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21205
212062012-04-24 Joseph Myers <joseph@codesourcery.com>
21207
21208 * sysdeps/unix/getdents.c: Remove file.
21209 * sysdeps/unix/sysv/getdents.c: Likewise.
21210 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21211
21212 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21213 sysdeps/unix/mman/syscalls.list.
21214 (mmap): Likewise.
21215 (mprotect): Likewise.
21216 (msync): Likewise.
21217 (munmap): Likewise.
21218 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21219 * sysdeps/unix/mman/syscalls.list: Remove.
21220 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21221
21222 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21223 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21224 * configure: Regenerated.
21225 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21226 $(libgcc_s_suffix).
21227 * config.make.in (libgcc_s_suffix): Remove variable.
21228
212292012-04-23 Joseph Myers <joseph@codesourcery.com>
21230
21231 * sysdeps/unix/sysv/gethostname.c: Move to ...
21232 * sysdeps/posix/gethostname.c: ... here.
21233
21234 * sysdeps/unix/execve.S: Remove file.
21235
21236 * sysdeps/unix/_exit.S: Remove file.
21237
212382012-04-23 Andreas Jaeger <aj@suse.de>
21239
21240 [BZ #13739]
21241 * manual/Makefile: Remove make dist support, there's no
21242 need for a stand-alone documentation tar ball.
21243 (TEXI2DVI): Define always, it's not in Makeconfig.
21244 (dist): Removed.
21245 (tar-it): Removed.
21246 (edition): Removed.
21247 (glibc-doc-$(edition).tar): Removed
21248 (%.Z): Removed.
21249 (%.gz): Removed.
21250 (%.uu): Removed.
21251 (ETAGS): Remove, it's in Makeconfig.
21252 (move-if-change): Remove, it's in Makeconfig.
21253
212542012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21255
21256 [BZ #13970]
21257 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21258 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21259 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21260 (strtod_l, strtof_l, strtold_l): Remove __wur.
21261 It is not necessarily an error to ignore strtol's return value.
21262 One can reliably look at the stored endptr to decide whether
21263 the number had valid syntax.
21264
212652012-04-21 Andreas Jaeger <aj@suse.de>
21266
21267 [BZ #13739]
21268 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21269
212702012-04-21 Joseph Myers <joseph@codesourcery.com>
21271
21272 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21273 * sysdeps/unix/sysv/Versions: Remove file.
21274
212752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21276
21277 [BZ #13927]
21278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21279
212802012-04-21 Nick Alcock <nick.alcock@oracle.com>
21281
21282 [BZ #7064]
21283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21284 version from __vm86.
21285
212862012-04-20 Joseph Myers <joseph@codesourcery.com>
21287
21288 * sysdeps/unix/common/lxstat.c: Remove file.
21289 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21290
21291 * sysdeps/unix/sysv/Makefile: Remove file.
21292
21293 * sysdeps/unix/sysv/direct.h: Remove file.
21294
21295 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21296 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21297 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21298 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21299 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21300 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21301 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21302
21303 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21304
21305 * sysdeps/unix/xmknod.c: Remove file.
21306 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21307
21308 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21309
21310 * sysdeps/unix/sysv/i386/time.S: Remove file.
21311
21312 * sysdeps/unix/fxstat.c: Remove file.
21313 * sysdeps/unix/xstat.c: Likewise.
21314 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21315
21316 * sysdeps/unix/sysv/sigaction.c: Remove file.
21317
21318 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21319 (sysdep_headers): Remove variable.
21320 [termio.h not in sysdep_headers] (generated): Likewise.
21321 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21322 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21323 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21324 * sysdeps/unix/sysv/tcflow.c: Likewise.
21325 * sysdeps/unix/sysv/tcflush.c: Likewise.
21326 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21327 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21328 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21329 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21330 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21331
21332 * sysdeps/unix/siglist.c: Remove file.
21333
21334 * sysdeps/unix/getppid.S: Remove file.
21335
21336 * sysdeps/unix/mkdir.c: Remove file.
21337 * sysdeps/unix/rmdir.c: Likewise.
21338
213392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21340
21341 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21342 ERR_MAX value.
21343 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21344 errlist-compat value.
21345
213462012-04-18 David S. Miller <davem@davemloft.net>
21347
21348 * sysdeps/generic/memcopy.h (reg_char): Delete.
21349 * debug/strcat_chk.c: Use char, not reg_char.
21350 * debug/strcpy_chk.c: Likewise.
21351 * debug/strncat_chk.c: Likewise.
21352 * debug/strncpy_chk.c: Likewise.
21353 * string/memchr.c: Likewise.
21354 * string/memrchr.c: Likewise.
21355 * string/rawmemchr.c: Likewise.
21356 * string/strcat.c: Likewise.
21357 * string/strchr.c: Likewise.
21358 * string/strchrnul.c: Likewise.
21359 * string/strcmp.c: Likewise.
21360 * string/strcpy.c: Likewise.
21361 * string/strncat.c: Likewise.
21362 * string/strncmp.c: Likewise.
21363 * string/strncpy.c: Likewise.
21364
213652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21366
21367 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21368 __builtin_memcopy is called when src and dest ranges are known to not
21369 overlap.
21370
213712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21372
21373 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21374 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21375 fwd_align_merge macro call.
21376 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21377 bwd_align_merge macro call.
21378 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21379
213802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21381
21382 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21383 bwd_align_merge macros.
21384 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21385 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21386 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21387
213882012-04-18 David S. Miller <davem@davemloft.net>
21389
21390 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21391
213922012-04-18 Andreas Jaeger <aj@suse.de>
21393
21394 [BZ# 6794]
21395 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21396 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21397 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21398
21399 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21400 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21401 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21402
21403 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21404 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21405 Adjust for changed ldbl-128 files.
21406
21407 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21408 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21409 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21410
214112012-04-17 David S. Miller <davem@davemloft.net>
21412
21413 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21414
214152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21416
21417 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21418 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21419 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21420 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21421 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21422 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21423
214242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21425
21426 [BZ #6794]
21427 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21428 * math/libm-test.inc: Add ilogb errno and exception tests.
21429 * math/w_ilogb.c: New file: ilogb wrapper.
21430 * math/w_ilogbf.c: New file: ilogbf wrapper.
21431 * math/w_ilogbl.c: New file: ilogbl wrapper.
21432 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21433 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21434 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21435 exception being thrown with 0.0 as argument.
21436 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21437 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21438 exception being thrown with 0.0 as argument.
21439 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21440 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21441 exception being thrown with 0.0 as argument.
21442 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21443 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21444 exception being thrown with 0.0 as argument.
21445 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21446 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21447 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21448 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21449 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21450 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21451 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21452 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21453 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21454
214552012-04-17 Petr Baudis <pasky@ucw.cz>
21456
21457 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21458 with altivec.
21459
214602012-04-16 Marek Polacek <polacek@redhat.com>
21461
21462 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21463
214642012-04-16 Marek Polacek <polacek@redhat.com>
21465
21466 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21467 operands of fdivp instruction.
21468
214692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21470
21471 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21472 * elf/tst-auditmod3b.c: Likewise.
21473 * elf/tst-auditmod4b.c: Likewise.
21474 * elf/tst-auditmod5b.c: Likewise.
21475 * elf/tst-auditmod6b.c: Likewise.
21476 * elf/tst-auditmod6c.c: Likewise.
21477 * elf/tst-auditmod7b.c: Likewise.
21478 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21479 * sysdeps/x86_64/preconfigure.in: Likewise.
21480 * sysdeps/x86_64/preconfigure: Regenerated.
21481
214822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21483
21484 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21485 __ILP32__.
21486
214872012-04-13 Antoine Balestrat <merkil33@gmail.com>
21488
21489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21490 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21491
214922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21493
21494 [BZ #13973]
21495 * locale/iso-639.def: Fix gl language name. Spotted by
21496 Yaron Shahrabani.
21497
214982012-04-12 Roland McGrath <roland@hack.frob.com>
21499
21500 [BZ #2074]
21501 * libio/libio.h (__io_write_fn): Update comment.
21502
215032012-04-12 Petr Baudis <pasky@ucw.cz>
21504
21505 [BZ #2074]
21506 * stdio.texi (Hook Functions): The user provided writer function
21507 is not allowed to return -1.
21508
215092012-04-11 David S. Miller <davem@davemloft.net>
21510
21511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21512
215132012-04-11 Mike Frysinger <vapier@gentoo.org>
21514
21515 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21516 Add a leading slash to rtkaio.
21517
215182012-04-11 Jim Meyering <meyering@redhat.com>
21519
21520 [BZ #11959]
21521 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21522 It is not necessarily an error to ignore fwrite's return
21523 value. One can reliably use ferror to test for errors after
21524 the fact.
21525
215262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21527
21528 * bits/types.h (__snseconds_t): New type.
21529 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21530
21531 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21533 (__SNSECONDS_T_TYPE): Likewise.
21534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21535 (__SNSECONDS_T_TYPE): Likewise.
21536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21537 (__SNSECONDS_T_TYPE): Likewise.
21538
215392012-04-10 Andreas Jaeger <aj@suse.de>
21540
21541 [BZ #2636]
21542 * manual/time.texi (Processor Time): Return type of times is
21543 elapsed real time since an arbitrary point in the past.
21544 (CPU Time): Move CLK_TCK from here...
21545 (Processor Time): ...to here. Correct description.
21546 * manual/conf.texi (Constants for Sysconf): Correct description of
21547 _SC_CLK_TCK.
21548
215492012-04-10 David S. Miller <davem@davemloft.net>
21550
21551 [BZ #13967]
21552 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21553 where the is a gap between DT_REL(A) and DT_JMPREL.
21554
215552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21556
21557 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21558 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21559 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21560
215612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21562
21563 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21564 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21565 (dl_main): Handle --inhibit-cache.
21566 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21567 _dl_inhibit_cache.
21568 * elf/dl-load.c (_dl_map_object): Use it.
21569 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21570
215712012-04-09 Joseph Myers <joseph@codesourcery.com>
21572
21573 [BZ #13872]
21574 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21575 (__ieee754_powl): Saturate large exponents rather than testing for
21576 overflow of y*log2(x).
21577 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21578 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21579 exceptions.
21580
21581 [BZ #11521]
21582 * math/s_ctan.c: Include <float.h>.
21583 (__ctan): Avoid internal overflow or cancellation in calculating
21584 denominator.
21585 * math/s_ctanf.c: Likewise.
21586 * math/s_ctanl.c: Likewise.
21587 * math/s_ctanh.c: Likewise.
21588 * math/s_ctanhf.c: Likewise.
21589 * math/s_ctanhl.c: Likewise.
21590 * math/libm-test.inc (ctan_test): Add more tests.
21591 (ctanh_test): Likewise.
21592 * sysdeps/i386/fpu/libm-test-ulps: Update.
21593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21594
215952012-04-09 Andreas Jaeger <aj@suse.de>
21596
21597 [BZ #6894]
21598 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21599 is an optional BSD extension.
21600
21601 [BZ #10254]
21602 * manual/stdio.texi (Opening Streams): Document additional fopen
21603 parameters.
21604
216052012-04-09 Roland McGrath <roland@hack.frob.com>
21606
21607 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21608 %eax without telling the compiler.
21609
216102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21611
21612 [BZ # 13963]
21613 * manual/install.texi: Use sourceware.org.
21614
216152012-04-09 Joseph Myers <joseph@codesourcery.com>
21616
21617 [BZ #13873]
21618 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21619 (__ieee754_pow): Generate overflow and underflow using huge*huge
21620 and tiny*tiny rather than just returning constant infinity or zero
21621 for large exponents.
21622 * math/libm-test.inc (pow_test): Require overflow exceptions for
21623 applicable cases of large exponents.
21624
21625 [BZ #706]
21626 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21627 (__ieee754_pow): Use iterative multiplication algorithm only for
21628 integer exponents with absolute value below 1024. Check for odd
21629 integer exponents when using algorithm for real exponents.
21630 * math/libm-test.inc (pow_test): Add more tests.
21631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21632
216332012-04-08 Joseph Myers <joseph@codesourcery.com>
21634
21635 [BZ #13705]
21636 * math/libm-test.inc (exp_test): Do not allow overflow exception
21637 on underflow test.
21638
216392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21640
21641 [BZ #13705]
21642 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21643 instead of __kernel_standard_f.
21644
216452012-04-08 Mike Frysinger <vapier@gentoo.org>
21646
21647 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21648 * sysdeps/x86_64/memset_chk.S: Likewise.
21649
216502012-04-08 Andreas Jaeger <aj@suse.de>
21651
21652 [BZ #10153]
21653 * manual/startup.texi (Environment Access): Describe return value
21654 for putenv and setenv.
21655
21656 [BZ #6895]
21657 * manual/filesys.texi (Directory Entries): Add description for
21658 DT_LNK.
21659
21660 [BZ #6890]
21661 * manual/filesys.texi (Directory Entries): Clarify that it's file
21662 system not operating system in the description of DT_UNKNOWN.
21663
21664 [BZ #6578]
21665 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21666
216672012-04-08 Stephen Compall <s11@member.fsf.org>
21668
21669 [BZ #6649]
21670 * manual/llio.texi (Opening and Closing Files): Add cross
21671 reference to explain mode argument.
21672
216732012-04-07 Mike Frysinger <vapier@gentoo.org>
21674
21675 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21676 * sysdeps/x86_64/memset_chk.S: Likewise.
21677
216782012-04-07 David S. Miller <davem@davemloft.net>
21679
21680 * elf/elf.h (R_SPARC_WDISP10): Define.
21681 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21682 R_SPARC_SIZE32.
21683 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21684 R_SPARC_SIZE64 and R_SPARC_H34.
21685
216862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21687
21688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21689 conditions and remove no longer applicable assertion.
21690
216912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21692
21693 * bits/byteswap.h: Include <features.h>.
21694 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21695 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21696
216972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21698
21699 * bits/byteswap.h (__bswap_16): Removed.
21700 Include <bits/byteswap-16.h> to get __bswap_16.
21701 * sysdeps/i386/bits/byteswap.h: Likewise.
21702 * sysdeps/s390/bits/byteswap.h: Likewise.
21703 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21704 * bits/byteswap-16.h: New file.
21705 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21706 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21707 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21708 * string/Makefile (headers): Add bits/byteswap-16.h.
21709
217102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21711
21712 [BZ #13895]
21713 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21714 extra indirection.
21715 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21716 * nss/tst-nss-static.c: New.
21717
217182012-04-06 Robert Millan <rmh@gnu.org>
21719
21720 [BZ #6486]
21721 * manual/llio.texi (File Position Primitive): lseek
21722 refers to WHENCE when it really means OFFSET.
21723
217242012-04-06 Andreas Jaeger <aj@suse.de>
21725
21726 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21727 strncmp declarations.
21728
21729 * abilist/libc.abilist: Add __poll and __ppoll.
21730
217312012-04-05 David S. Miller <davem@davemloft.net>
21732
21733 * scripts/check-local-headers.sh: Accept a host triplet in the
21734 path matched by the exclude regexp.
21735
21736 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21737 definition.
21738 * sysdeps/powerpc/powerpc32/dl-machine.h
21739 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21740 * sysdeps/s390/s390-32/dl-machine.h
21741 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21742 * sysdeps/sparc/sparc32/dl-machine.h
21743 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21744 * sysdeps/sparc/sparc64/dl-machine.h
21745 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21746
21747 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21748 lazy binding.
21749 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21750 undefined symbol errors.
21751
21752 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21753 DT_NEEDED entries.
21754
217552012-04-05 Michael Matz <matz@suse.de>
21756
21757 [BZ #13592]
21758 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21759
217602012-04-05 Andreas Jaeger <aj@suse.de>
21761
21762 [BZ #13908]
21763 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21764 comment.
21765
217662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21767
21768 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21769 which ROUND is no valid rounding mode.
21770
217712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21772
21773 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21774 read again.
21775 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21776
217772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21778
21779 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21780 an exception using FPU order intentionally.
21781
217822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21783
21784 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21785 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21786 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21787 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21788
217892012-04-05 Simon Josefsson <simon@josefsson.org>
21790
21791 [BZ #12340]
21792 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21793 EINVAL when BUFLEN is too smal.
21794
217952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21796
21797 [BZ #13553]
21798 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21799 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21800
218012012-04-03 Andreas Jaeger <aj@suse.de>
21802
21803 [BZ #13938]
21804 * manual/setjmp.texi (System V contexts): Fix sentence.
21805
21806 [BZ #13926]
21807 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21808 New macro for this case.
21809 [!__GNUC__] (__bswap_64): New inline function for this case.
21810 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21811 * bits/byteswap.h: Likewise.
21812 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21813 ull, guard with __GLIBC_HAVE_LONG_LONG.
21814
21815 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21816 __GLIBC_HAVE_LONG_LONG.
21817
21818 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21819 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21820
218212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21822
21823 [BZ #13691]
21824 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21825 inptr and inend, rather than using last_ch.
21826
218272012-04-02 David S. Miller <davem@davemloft.net>
21828
21829 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21830 * stdio-common/printf-parse.h (read_int): Change return type to
21831 'int', return -1 on INT_MAX overflow.
21832 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21833 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21834 overflows INT_MAX. Check for overflow of in-format-string precision
21835 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21836 SIZE_MAX not INT_MAX for integer overflow test.
21837 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21838 skip the construct in the format string but do not record anything.
21839 * stdio-common/bug22.c: Adjust to test both width/prevision
21840 INT_MAX overflow as well as total length INT_MAX overflow. Check
21841 explicitly for proper errno values.
21842
218432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21844
21845 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21846 CHAR_MAX.
21847 * string/test-strcmp.c [! WIDE]: Likewise.
21848 * time/tst-mktime2.c: Likewise for INT_MAX.
21849 * string/test-string.h: #include <sys/param.h> for MIN.
21850
21851 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21852 * sysdeps/i386/init-first.c (init): Likewise.
21853 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21854 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21855 * sysdeps/sh/init-first.c (init): Likewise.
21856
218572012-04-01 Ulrich Drepper <drepper@gmail.com>
21858
21859 * po/ru.po: Update from translation team.
21860 * po/vi.po: Likewise.
21861
218622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21863
21864 * resolv/nss_dns/dns-host.c: Merge copyright years.
21865
218662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21867
21868 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21869 Optimize memcpy with prefetch if
21870 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21871 src, dst pointers have unequal 16 byte alignments.
21872
218732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21874
21875 [BZ #13928]
21876 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21877 from a CNAME entry and return the minimum ttl for the query.
21878 (gaih_getanswer_slice): Likewise.
21879
218802012-03-30 Jeff Law <law@redhat.com>
21881
21882 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21883 due to long keys.
21884 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21885 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21886
21887 * resolv/nss_dns/dns-host.c: Update copyright year.
21888
218892012-03-30 Ulrich Drepper <drepper@gmail.com>
21890
21891 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21892 requests to save a system call. Fix check that all bytes are sent.
21893
21894 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21895 comments for sendmmsg.
21896
218972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21898
21899 [BZ #13691]
21900 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21901 with only 1 character between 0x0041 and 0x01b0.
21902 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21903 * wcsmbs/tst-mbsnrtowcs.c: New file.
21904
219052012-03-29 David S. Miller <davem@davemloft.net>
21906
21907 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21908 small copies by hand.
21909
219102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21911
21912 [BZ #13761]
21913 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21914 _nss_compat_initgroups_dyn): Fall back to malloc/free
21915 for large group memberships.
21916
219172012-03-28 David S. Miller <davem@davemloft.net>
21918
21919 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21920 that branches into memcpy.
21921 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21923 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21924 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21926 bits.
21927 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21928 implementation too.
21929 * sysdeps/sparc/mempcpy.S: New file.
21930
21931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21932 the IFUNC routine in the libc case.
21933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21934
21935 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21936 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21937 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21938 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21939 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21940 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21941 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21942 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21943
21944 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21945 loop to 256 bytes instead of 64 bytes and fix test signedness.
21946
21947 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21948 * sysdeps/sparc/sparc32/Makefile: rather than here...
21949 * sysdeps/sparc/sparc64/Makefile: and here.
21950
219512012-03-28 Ulrich Drepper <drepper@gmail.com>
21952
21953 * malloc/mallocbug.c: Avoid warnings about unused variables.
21954
219552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21956
21957 [BZ #13760]
21958 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21959 in the right place. Discard and retry query if response is
21960 larger than input buffer size.
21961
219622012-03-28 Joseph Myers <joseph@codesourcery.com>
21963
21964 [BZ #369]
21965 [BZ #2678]
21966 [BZ #3866]
21967 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21968 x for large integer exponent.
21969 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21970 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21971 sign of result as needed afterwards.
21972 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21973 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21974 result for underflowing pow the same as for overflow.
21975 (__kernel_standard_l): Handle powl overflow and underflow here
21976 rather than calling __kernel_standard.
21977 * math/libm-test.inc (pow_test): Add more tests.
21978
21979 [BZ #3868]
21980 [BZ #13879]
21981 [BZ #13910]
21982 [BZ #13911]
21983 [BZ #13912]
21984 [BZ #13913]
21985 [BZ #13915]
21986 [BZ #13916]
21987 [BZ #13917]
21988 [BZ #13918]
21989 [BZ #13919]
21990 [BZ #13920]
21991 [BZ #13921]
21992 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21993 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21994 (__kernel_standard_l): New function.
21995 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21996 __kernel_standard.
21997 * math/w_acosl.c (__acosl): Likewise.
21998 * math/w_asinl.c (__asinl): Likewise.
21999 * math/w_atan2l.c (__atan2l): Likewise.
22000 * math/w_atanhl.c (__atanhl): Likewise.
22001 * math/w_coshl.c (__coshl): Likewise.
22002 * math/w_exp10l.c (__exp10l): Likewise.
22003 * math/w_exp2l.c (__exp2l): Likewise.
22004 * math/w_fmodl.c (__fmodl): Likewise.
22005 * math/w_hypotl.c (__hypotl): Likewise.
22006 * math/w_j0l.c (__j0l, __y0l): Likewise.
22007 * math/w_j1l.c (__j1l, __y1l): Likewise.
22008 * math/w_jnl.c (__jnl, __ynl): Likewise.
22009 * math/w_lgammal.c (__lgammal): Likewise.
22010 * math/w_log10l.c (__log10l): Likewise.
22011 * math/w_log2l.c (__log2l): Likewise.
22012 * math/w_logl.c (__logl): Likewise.
22013 * math/w_powl.c (__powl): Likewise.
22014 * math/w_remainderl.c (__remainderl): Likewise.
22015 * math/w_scalbl.c (sysv_scalbl): Likewise.
22016 * math/w_sinhl.c (__sinhl): Likewise.
22017 * math/w_sqrtl.c (__sqrtl): Likewise.
22018 * math/w_tgammal.c (__tgammal): Likewise.
22019 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22020 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22021 * math/libm-test.inc (acos_test): Add more tests.
22022 (acosh_test): Likewise.
22023 (asin_test): Likewise.
22024 (atanh_test): Likewise.
22025 (exp_test): Likewise.
22026 (exp10_test): Likewise.
22027 (exp2_test): Likewise.
22028 (expm1_test): Likewise.
22029 (lgamma_test): Likewise.
22030 (log_test): Likewise.
22031 (log10_test): Likewise.
22032 (log1p_test): Likewise.
22033 (log2_test): Likewise.
22034 (pow_test): Do not allow some spurious overflow exceptions.
22035 (sqrt_test): Add more tests.
22036 (tgamma_test): Likewise.
22037 (y0_test): Likewise.
22038 (y1_test): Likewise.
22039 (yn_test): Likewise.
22040
220412012-03-27 Anton Blanchard <anton@samba.org>
22042
22043 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22044 MAP_HUGETLB.
22045 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22046 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22048
220492012-03-27 David S. Miller <davem@davemloft.net>
22050
22051 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22052
22053 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22054 have-as-vis3 check.
22055
220562012-03-27 Andreas Jaeger <aj@suse.de>
22057
22058 * sysdeps/x86_64/elf/configure.in: Moved to ...
22059 * sysdeps/x86_64/configure.in: ... here.
22060 * sysdeps/x86_64/elf/start.S: Moved to ...
22061 * sysdeps/x86_64/start.S: ... here.
22062 * sysdeps/x86_64/elf/configure: Delete.
22063
22064 * sysdeps/x86_64/configure.in: Merge contents from
22065 sysdeps/i386/configure.in (without i686 check).
22066
22067 * sysdeps/i386/elf/Versions: Merge into ...
22068 * sysdeps/i386/Versions: ... this.
22069 * sysdeps/i386/elf/Versions: Delete file.
22070 * sysdeps/i386/elf/start.S: Moved to ...
22071 * sysdeps/i386/start.S: ...here.
22072 * sysdeps/i386/elf/configure.in: Merge into...
22073 * sysdeps/i386/configure.in: ...here.
22074 * sysdeps/i386/elf/configure.in: Delete file.
22075 * sysdeps/i386/elf/configure: Delete file.
22076
22077 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22078 * debug/backtracesyms.c: ... here.
22079 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22080 * debug/backtracesymsfd.c: ... here.
22081 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22082 * sysdeps/generic/ifunc-sel.h: ... here.
22083
22084 * sysdeps/unix/i386/start.c: Delete file.
22085 * sysdeps/unix/sparc/start.c: Delete file.
22086 * sysdeps/unix/start.c: Delete file.
22087
22088 * sysdeps/sh/elf/configure.in: Moved to ...
22089 * sysdeps/sh/configure.in: ... here.
22090 * sysdeps/sh/elf/start.S: Moved to ...
22091 * sysdeps/sh/start.S: ... here.
22092 * sysdeps/sh/elf/configure: Delete file.
22093
22094 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22095 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22096 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22097 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22098 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22099 * sysdeps/powerpc/powerpc64/start.S: here.
22100 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22101 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22102 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22103 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22104 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22105
22106 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22107 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22108 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22109 * sysdeps/powerpc/powerpc32/start.S: ... here.
22110 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22111 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22112 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22113
22114 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22115 * sysdeps/powerpc/ifunc-sel.h: ... here.
22116 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22117 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22118
22119 * sysdeps/sparc/elf/configure.in: Moved to ...
22120 * sysdeps/sparc/configure.in: ... here.
22121 * sysdeps/sparc/elf/configure: Delete file.
22122 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22123 * sysdeps/sparc/sparc32/start.S: ... here.
22124 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22125 * sysdeps/sparc/sparc64/start.S: ... here.
22126 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22127 * sysdeps/sparc/sparc32/Makefile: ... this.
22128 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22129 * sysdeps/sparc/sparc64/Makefile: ... this.
22130
22131 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22132 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22133 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22134 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22135 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22136 * sysdeps/s390/s390-32/setjmp.S: ... here.
22137 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22138 * sysdeps/s390/s390-32/configure.in: ... here.
22139 * sysdeps/s390/s390-32/elf/configure: Delete file.
22140 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22141 * sysdeps/s390/s390-32/start.S: ... here.
22142
22143 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22144 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22145 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22146 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22147 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22148 * sysdeps/s390/s390-64/setjmp.S: ... here.
22149 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22150 * sysdeps/s390/s390-64/configure.in: ... here
22151 * sysdeps/s390/s390-64/elf/configure: Delete file.
22152 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22153 * sysdeps/s390/s390-64/start.S: ... here.
22154 * sysdeps/s390/s390-64/elf/configure: Delete.
22155
22156 * configure.in: Remove support for elf directories in sysdeps.
22157
22158 * configure: Regenerated.
22159 * sysdeps/i386/configure: Regenerated.
22160 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22161 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22162 * sysdeps/s390/s390-32/configure: Regenerated.
22163 * sysdeps/s390/s390-64/configure: Regenerated.
22164 * sysdeps/sh/configure: Regenerated.
22165 * sysdeps/sparc/configure: Regenerated.
22166 * sysdeps/x86_64/configure: Regenerated.
22167
221682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22169
22170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22171
22172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22173 denormal result into account.
22174
221752012-03-25 Roland McGrath <roland@hack.frob.com>
22176
22177 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22178 Reported by Allan McRae <allan@archlinux.org>.
22179
221802012-03-23 Jeff Law <law@redhat.com>
22181
22182 * nss/getnssent.c (__nss_getent): Fix typo.
22183
221842012-03-23 David S. Miller <davem@davemloft.net>
22185
22186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22187
221882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22189
22190 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22191 to pad to uint64_t for each field.
22192 (dl_tls_index): Replace unsigned long with uint64_t.
22193
221942012-03-23 Daniel Jacobowitz <dmj@google.com>
22195 Paul Pluzhnikov <ppluzhnikov@google.com>
22196
22197 [BZ #6528]
22198 * grp/Makefile (otherlibs): Don't set it.
22199 * inet/Makefile (otherlibs): Likewise.
22200 * login/Makefile (otherlibs): Likewise.
22201 * nscd/Makefile (otherlibs): Likewise.
22202 * posix/Makefile (otherlibs): Likewise.
22203 * pwd/Makefile (otherlibs): Likewise.
22204 * rt/Makefile (otherlibs): Likewise.
22205 * sunrpc/Makefile (otherlibs): Likewise.
22206 * nss/Makefile (otherlibs): Likewise.
22207 Add libnss_files to routines and static-only-routines.
22208 ($(objpfx)getent): Remove rule.
22209 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22210 static-only-routines.
22211
222122012-03-22 Joseph Myers <joseph@codesourcery.com>
22213
22214 [BZ #13892]
22215 * math/s_cexp.c: Include <float.h>.
22216 (__cexp): Handle exp result overflowing not necessarily
22217 overflowing both real and imaginary parts of result.
22218 * math/s_cexpf.c: Likewise.
22219 * math/s_cexpl.c: Likewise.
22220 * math/libm-test.inc (cexp_test): Add more tests.
22221 * sysdeps/i386/fpu/libm-test-ulps: Update.
22222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223
222242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22225
22226 * include/link.h (ELFW): New macro.
22227 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22228 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22229
222302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22231
22232 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22233 with uint64_t.
22234
222352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22236
22237 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22238 declaration.
22239 (struct La_x32_retval): Likewise.
22240
222412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22242
22243 * sysdeps/x86_64/preconfigure.in: New file.
22244 * sysdeps/x86_64/preconfigure: New generated file.
22245
222462012-03-22 Joseph Myers <joseph@codesourcery.com>
22247
22248 [BZ #13824]
22249 * math/e_exp2l.c: Include <float.h>.
22250 (__ieee754_exp2l): Handle overflow and underflow cases
22251 separately. Only pass fractional part of argument to
22252 __ieee754_expl.
22253 * math/libm-test.inc (exp2_test): Add more tests.
22254
22255 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22256 negating x to take absolute value.
22257 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22258 Likewise.
22259 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22260 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22261 Likewise.
22262 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22263 computing low part if x was negated.
22264 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22265
222662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22267
22268 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22269 la_x32_gnu_pltexit.
22270 (pltexit): Cast int_retval to ptrdiff_t.
22271 * elf/tst-auditmod3b.c: Likewise.
22272 * elf/tst-auditmod4b.c: Likewise.
22273 * elf/tst-auditmod5b.c: Likewise.
22274 * elf/tst-auditmod6b.c: Likewise.
22275 * elf/tst-auditmod6c.c: Likewise.
22276 * elf/tst-auditmod7b.c: Likewise.
22277
22278 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22279 and x32_gnu_pltexit.
22280
22281 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22282 __ELF_NATIVE_CLASS.
22283 (La_x32_regs): New macro.
22284 (La_x32_retval): Likewise.
22285 (la_x32_gnu_pltenter): New function prototype.
22286 (la_x32_gnu_pltexit): Likewise.
22287
222882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22289
22290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22291 exponent.
22292
22293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22294
22295 * configure.in (libc_cv_cc_nofma): Check for option to disable
22296 generation of FMA instructions.
22297 * configure: Regenerate.
22298 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22299 * sysdeps/ieee754/dbl-64/Makefile: New file.
22300 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22301 Remove brandred-fma4.
22302 (CFLAGS-brandred-fma4.c): Remove.
22303 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22304 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22305 define.
22306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22307 define.
22308
223092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22310
22311 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22312 LLONG_MAX != LONG_MAX.
22313 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22314 (_fitoa_word): Likewise.
22315 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22316 LLONG_MAX != LONG_MAX.
22317 * stdio-common/_itowa.h: Include <_itoa.h>.
22318 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22319 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22320 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22321 only if not defined.
22322 (_ITOA_WORD_TYPE): Likewise.
22323 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22324 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22325
223262012-03-21 David S. Miller <davem@davemloft.net>
22327
22328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22329
223302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22331
22332 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22333 of x86_64 when setting libc_cv_slibdir, libdir and
22334 libc_cv_localedir.
22335 * sysdeps/unix/sysv/linux/configure: Regenerated.
22336
223372012-03-21 Joseph Myers <joseph@codesourcery.com>
22338
22339 * manual/lang.texi (Old Varargs): Remove section.
22340 (How Variadic): Update menu.
22341 (va_start): Do not mention varargs.h.
22342
223432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22344 Joseph Myers <joseph@codesourcery.com>
22345
22346 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22347 link test.
22348 * configure: Regenerated.
22349
223502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22351
22352 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22353 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22354 conformtest.pl
22355
223562012-03-21 Joseph Myers <joseph@codesourcery.com>
22357
22358 * NOTES: Remove.
22359 * Makefile (files-for-dist): Remove NOTES.
22360 (NOTES): Remove rule.
22361 * README: Don't refer to NOTES.
22362 * manual/creature.texi: Don't include macros.texi.
22363 * manual/intro.texi (creature.texi): Remove comment referring to
22364 NOTES.
22365
22366 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22367 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22368 * configure: Regenerated.
22369 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22370 LIBC_TRY_CC_OPTION.
22371 (libc_cv_as_i686): Likewise.
22372 (libc_cv_cc_avx): Likewise.
22373 (libc_cv_cc_sse2avx): Likewise.
22374 (libc_cv_cc_fma4): Likewise.
22375 (libc_cv_cc_novzeroupper): Likewise.
22376 * sysdeps/i386/configure: Regenerated.
22377
22378 [BZ #13883]
22379 * sysdeps/i386/fpu/s_cexp.S: Remove.
22380 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22381 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22382 * math/libm-test.inc (cexp_test): Add more tests.
22383 * sysdeps/i386/fpu/libm-test-ulps: Update.
22384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22385
223862012-03-21 Allan McRae <allan@archlinux.org>
22387
22388 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22389
223902012-03-21 Joseph Myers <joseph@codesourcery.com>
22391
22392 [BZ #13871]
22393 * math/w_exp2.c: Do not include <float.h>.
22394 (o_threshold, u_threshold): Remove.
22395 (__exp2): Calculate result before checking finiteness and calling
22396 __kernel_standard.
22397 * math/w_exp2f.c: Likewise.
22398 * math/w_exp2l.c: Likewise.
22399 * math/libm-test.inc (exp2_test): Require overflow exception for
22400 1e6 input.
22401
22402 [BZ #3866]
22403 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22404 range of signed 64-bit integers before using fistpll. Remove
22405 checks for whether integers fit in mantissa bits.
22406 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22407 the range of signed 32-bit integers before using fistpl. Remove
22408 checks for whether integers fit in mantissa bits.
22409 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22410 (__ieee754_powl): Test for y outside the range of signed 64-bit
22411 integers before using fistpll. Reduce 64-bit values to 63-bit
22412 ones as needed.
22413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22414 divide-by-zero is raised for zero to large negative powers.
22415 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22416 (__ieee754_powl): Test for y outside the range of signed 64-bit
22417 integers before using fistpll. Reduce 64-bit values to 63-bit
22418 ones as needed.
22419 * math/libm-test.inc (pow_test): Add more tests.
22420
224212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22422
22423 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22424 <stdio-common/_itoa.h>.
22425 * debug/segfault.c: Likewise.
22426 * elf/dl-cache.c: Likewise.
22427 * elf/dl-minimal.c: Likewise.
22428 * elf/dl-misc.c: Likewise.
22429 * elf/dl-sysdep.c: Likewise.
22430 * elf/dl-version.c: Likewise.
22431 * elf/rtld.c: Likewise.
22432 * hurd/hurdsock.c: Likewise.
22433 * hurd/lookup-retry.c: Likewise.
22434 * malloc/malloc.c: Likewise.
22435 * malloc/mtrace.c: Likewise.
22436 * nscd/nscd_getgr_r.c: Likewise.
22437 * nscd/nscd_getpw_r.c: Likewise.
22438 * nscd/nscd_getserv_r.c: Likewise.
22439 * posix/getopt_init.c: Likewise.
22440 * posix/wordexp.c: Likewise.
22441 * stdio-common/_itoa.c: Likewise.
22442 * stdio-common/printf_fphex.c: Likewise.
22443 * stdio-common/vfprintf.c: Likewise.
22444 * string/_strerror.c: Likewise.
22445 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22446 * sysdeps/i386/i686/hp-timing.h: Likewise.
22447 * sysdeps/mach/_strerror.c: Likewise.
22448 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22449 * sysdeps/mach/hurd/sethostid.c: Likewise.
22450 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22451 * sysdeps/mach/xpg-strerror.c: Likewise.
22452 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22453 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22454 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22455 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22456 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22457 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22458 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22459 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22460 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22461 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22462 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22463 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22464 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22465 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22466 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22467 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22468 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22469 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22470 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22471 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22472 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22473
22474 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22475
22476 * stdio-common/_itoa.h: Moved to ...
22477 * sysdeps/generic/_itoa.h: Here.
22478
22479 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22480
22481 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22482 instead of "_itoa.h" and "_itowa.h".
22483 * stdio-common/vfprintf.: Likewise.
22484
224852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22486
22487 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22488 <bits/wordsize.h>.
22489 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22490 (__signbit): Likwise.
22491 (llrintf): Likwise.
22492 (llrint): Likwise.
22493
224942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22495
22496 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22497 __WORDSIZE != 64.
22498
224992012-03-20 Joseph Myers <joseph@codesourcery.com>
22500
22501 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22502 OVERFLOW_EXCEPTION_OK.
22503 * math/libm-test.inc ("Philosophy"): Update comment about
22504 exception testing.
22505 (OVERFLOW_EXCEPTION): Define.
22506 (OVERFLOW_EXCEPTION_OK): Likewise.
22507 (INVALID_EXCEPTION_OK): Renumber.
22508 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22509 (IGNORE_ZERO_INF_SIGN): Likewise.
22510 (test_exceptions): Handle FE_OVERFLOW.
22511 (exp10_test): Expect overflow exceptions.
22512 (exp2_test): Likewise.
22513 (expm1_test): Likewise.
22514 (nextafter_test): Likewise.
22515 (pow_test): Likewise.
22516 (scalbn_test): Likewise.
22517 (scalbln_test): Likewise.
22518
225192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22520
22521 * sysdeps/x86_64/bits/atomic.h
22522 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22523 64bit integer.
22524 (atomic_exchange_acq): Likewise.
22525 (__arch_exchange_and_add_body): Likewise.
22526 (__arch_add_body): Likewise.
22527 (atomic_add_negative): Likewise.
22528 (atomic_add_zero): Likewise.
22529
225302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22531
22532 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22533 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22534
225352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22536
22537 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22538 Check __x86_64__ instead of __WORDSIZE.
22539
225402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22541
22542 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22543
225442012-03-19 David S. Miller <davem@davemloft.net>
22545
22546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22547
22548 * sysdeps/sparc/fpu/fenv_private.h: New file.
22549 * sysdeps/sparc/fpu/math_private.h: Use it.
22550 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22551 Remove.
22552 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22553 (libc_feholdexcept_setroundl): Remove.
22554 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22555 Remove.
22556 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22557 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22558
225592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22560
22561 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22562 int64_t instead of long int.
22563 (INSERT_WORDS64): Likwise.
22564
225652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22566
22567 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22568 _Unwind_GetCFA return to _Unwind_Ptr first.
22569
225702012-03-19 Joseph Myers <joseph@codesourcery.com>
22571
22572 [BZ #13629]
22573 * math/s_clog.c: Include <float.h>.
22574 (__clog): Scale large or subnormal inputs.
22575 * math/s_clogf.c: Likewise.
22576 * math/s_clogl.c: Likewise.
22577 * math/s_clog10.c: Include <float.h>.
22578 (M_LOG10_2): Define.
22579 (__clog10): Scale large or subnormal inputs.
22580 * math/s_clog10f.c: Likewise.
22581 * math/s_clog10l.c: Likewise.
22582 * math/libm-test.inc (clog_test): Add more tests.
22583 (clog10_test): Likewise.
22584 * sysdeps/i386/fpu/libm-test-ulps: Update.
22585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22586
22587 [BZ #11451]
22588 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22589 x and y.
22590 * math/libm-test.inc (atan2_test): Add another test.
22591
22592 * Makerules (common-objdir-compile): Remove.
22593 * sysdeps/unix/Makefile (config-generated): Do not add
22594 $(unix-generated) to variable.
22595 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22596 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22597 Remove rule.
22598 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22599 Likewise.
22600 [generic bits/local_lim.h] (before-compile): Do not append to
22601 variable.
22602 [generic bits/local_lim.h] (common-generated): Likewise.
22603 [generic sys/param.h] (before-compile): Do not append to variable.
22604 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22605 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22606 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22607 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22608 include.
22609 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22610 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22611 [generic sys/param.h] ($(addprefix
22612 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22613 [generic sys/param.h] (common-generated): Do not append to
22614 variable.
22615 [generic sys/param.h] (sysdep_headers): Likewise.
22616 [generic bits/errno.h] (before-compile): Do not append to
22617 variable.
22618 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22619 rule.
22620 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22621 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22622 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22623 [generic bits/errno.h] (common-generated): Do not append to
22624 variable.
22625 [generic bits/ioctls.h] (before-compile): Do not append to
22626 variable.
22627 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22628 rule.
22629 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22630 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22631 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22632 rule.
22633 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22634 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22635 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22636 [generic bits/ioctls.h] (common-generated): Do not append to
22637 variable.
22638 [generic sys/syscall.h] (syscall.h): Remove variable.
22639 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22640 rule.
22641 [generic sys/syscall.h] (before-compile): Do not append to
22642 variable.
22643 [generic sys/syscall.h] (common-generated): Likewise.
22644 * sysdeps/unix/errnos-tmpl.c: Remove file.
22645 * sysdeps/unix/errnos.awk: Likewise.
22646 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22647 * sysdeps/unix/ioctls.awk: Likewise.
22648 * sysdeps/unix/mk-local_lim.c: Likewise.
22649 * sysdeps/unix/snarf-ioctls: Likewise.
22650
226512012-03-19 Richard Henderson <rth@twiddle.net>
22652
22653 * sysdeps/i386/fpu/fenv_private.h: New file.
22654 * sysdeps/i386/fpu/math_private.h: Use it.
22655 (math_opt_barrier, math_force_eval): Remove.
22656 (libc_feholdexcept_setround_53bit): Remove.
22657 (libc_feupdateenv_53bit): Remove.
22658 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22659 (math_opt_barrier, math_force_eval): Remove.
22660 (libc_feholdexcept): Remove.
22661 (libc_feholdexcept_setround): Remove.
22662 (libc_fetestexcept, libc_fesetenv): Remove.
22663 (libc_feupdateenv_test): Remove.
22664 (libc_feupdateenv, libc_feholdsetround): Remove.
22665 (libc_feresetround): Remove.
22666
22667 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22668 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22669
22670 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22671 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22672 (libc_feupdateenv_testl): New.
22673 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22674 (libc_feupdateenv_testf): New.
22675 (libc_feupdateenv): Use libc_feupdateenv_test.
22676 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22677 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22678
22679 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22680 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22681 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22682 (libc_feresetround_noex): New.
22683 (libc_feresetround_noexf): New.
22684 (libc_feresetround_noexl): New.
22685 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22686 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22687 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22688 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22689 SET_RESTORE_ROUND.
22690 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22692 (__cos): Likewise.
22693 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22694 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22695 SET_RESTORE_ROUND_NOEX.
22696 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22697 SET_RESTORE_ROUND_NOEXF.
22698 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22699 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22700 (libc_feholdsetroundf): New.
22701 (libc_feresetround, libc_feresetroundf): New.
22702
22703 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22704 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22705 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22706
22707 * sysdeps/generic/math_private.h: Include <fenv.h>.
22708 (default_libc_feholdexcept): New.
22709 (default_libc_feholdexcept_setround): New.
22710 (default_libc_fesetenv, default_libc_feupdateenv): New.
22711 (libc_feholdexcept): Only define if undefined.
22712 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22713 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22714 (libc_feholdexcept_setroundl): Likewise.
22715 (libc_feholdexcept_setround_53bit): Likewise.
22716 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22717 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22718 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22719 (libc_feupdateenv_53bit): Likewise.
22720 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22721 (libc_feholdexcept): Convert from macro to inline function.
22722 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22723 (libc_fesetenv, libc_feupdateenv): Likewise.
22724
22725 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22726 not previously defined.
22727 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22728 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22729 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22730 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22731 * sysdeps/ieee754/flt-32/math_private.h: New file.
22732 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22733 math_private.h below SET_FLOAT_WORD.
22734 (__isnan, __isinf_ns, __finite): Remove.
22735 (__isnanf, __isinf_nsf, __finitef): Remove.
22736
227372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22738
22739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22740
227412012-03-17 David S. Miller <davem@davemloft.net>
22742
22743 [BZ #6471]
22744 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22745 for 2.16.
22746
227472012-03-16 David S. Miller <davem@davemloft.net>
22748
22749 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22750 warnings.
22751
22752 [BZ #6471]
22753 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22754 properly.
22755 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22756 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22757 sysdep_routines when subdir is sysvipc.
22758 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22759 __getshmlba helper.
22760
22761 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22762
227632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22764
22765 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22766 [__LP64__].
22767
227682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22769
22770 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22771 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22772 (__lround): Renamed to ...
22773 (__llround): This. Replace long int with long long int.
22774 Define lround functions as aliases of llround functions.
22775 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22776
227772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22778
22779 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22780 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22781 adresses to uintptr_t. Replace "long int" and "unsigned long
22782 int" with "greg_t" on va_arg.
22783
227842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22785
22786 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22787 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22788
22789 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22790 Move e_machine check before EI_CLASS check. Handle x32
22791 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22792 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22793 SKIP_EM_IA_64 and include
22794 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22795
22796 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22797 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22798 (add_system_dir): New macro.
22799
22800 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22801 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22802
228032012-03-16 Joseph Myers <joseph@codesourcery.com>
22804
22805 [BZ #2551]
22806 [BZ #2552]
22807 [BZ #2553]
22808 [BZ #2554]
22809 [BZ #2562]
22810 [BZ #2563]
22811 [BZ #2565]
22812 [BZ #2566]
22813 [BZ #2576]
22814 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22815 (y0): Likewise.
22816 * math/w_j0f.c (j0f): Likewise.
22817 (y0f): Likewise.
22818 * math/w_j0l.c (__j0l): Likewise.
22819 (__y0l): Likewise.
22820 * math/w_j1.c (j1): Likewise.
22821 (y1): Likewise.
22822 * math/w_j1f.c (j1f): Likewise.
22823 (y1f): Likewise.
22824 * math/w_j1l.c (__j1l): Likewise.
22825 (__y1l): Likewise.
22826 * math/w_jn.c (jn): Likewise.
22827 (yn): Likewise.
22828 * math/w_jnf.c (jnf): Likewise.
22829 (ynf): Likewise.
22830 * math/w_jnl.c (__jnl): Likewise.
22831 (__ynl): Likewise.
22832 * math/libm-test.inc (j0_test): Add more tests.
22833 (j1_test): Likewise.
22834 (jn_test): Likewise. Add trailing semicolon to existing test.
22835 (y0_test): Likewise.
22836 (y1_test): Likewise.
22837 * sysdeps/i386/fpu/libm-test-ulps: Update.
22838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22839
22840 [BZ #13851]
22841 [BZ #13854]
22842 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22843 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22844 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22845 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22846 (__tanl): Set errno for infinite argument.
22847 * sysdeps/i386/fpu/mptan.c: Remove.
22848 * sysdeps/i386/fpu/s_tan.S: Likewise.
22849 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22850 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22851 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22852 * math/libm-test.inc (tan_test): Add more tests and enable more
22853 tests for double and long double.
22854 * sysdeps/i386/fpu/libm-test-ulps: Update.
22855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22856
228572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22858
22859 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22860 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22861
228622012-03-16 Roland McGrath <roland@hack.frob.com>
22863
22864 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22865 * configure.in: Use it for both main tree and add-ons.
22866 * configure: Regenerated.
22867
228682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22869
22870 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22871
228722012-03-16 Joseph Myers <joseph@codesourcery.com>
22873
22874 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22875 in comment.
22876
22877 [BZ #13851]
22878 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22879 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22880 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22881 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22882 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22883 infinite argument.
22884 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22886 != 0 for prec == 2.
22887 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22888 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22889 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22890 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22891 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22892 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22893 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22894 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22895 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22896 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22897 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22898 * math/libm-test.inc (cos_test): Add more tests and enable more
22899 tests for long double.
22900 (sin_test): Likewise.
22901 (sincos_test): Likewise.
22902 * sysdeps/i386/fpu/libm-test-ulps: Update.
22903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22904
229052012-03-16 David S. Miller <davem@davemloft.net>
22906
22907 * sysdeps/sparc/fpu/math_private.h: New file.
22908
229092012-03-15 David S. Miller <davem@davemloft.net>
22910
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22912 file.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22915 file.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22922 sysdep routines.
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22924
22925 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22926 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22927
22928 * sysdeps/sparc/sparc-ifunc.h: New file.
22929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22930 sparc-ifunc.h
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22933 Likewise.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22935 Likewise.
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22940 Likewise.
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22946 Likewise.
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22948 Likewise.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22967 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22968 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22969 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22970 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22971 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22972 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22973
229742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22975
22976 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22977 scaling.
22978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22979
229802012-03-15 Andreas Jaeger <aj@suse.de>
22981
22982 [BZ #13852]
22983 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22984 ieee754/flt-32 implementation for sin, cos and sincos.
22985 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22986 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22987 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22988 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22989 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22990 ieee754/flt-32 implementation for tan.
22991
22992 * math/libm-test.inc (cos_test): Enable some large input tests for
22993 float as well
22994 (sin_test): Likewise.
22995 (sincos_test): Likewise.
22996 (tan_test): Add tests for large input.
22997
22998 * sysdeps/i386/fpu/libm-test-ulps: Update.
22999
230002012-03-15 Andreas Jaeger <aj@suse.de>
23001
23002 [BZ #13658]
23003 * math/libm-test.inc (cos_test): Add more test cases.
23004 (sin_test): Likewise.
23005 (sincos_test): Likewise.
23006
230072012-03-15 Andreas Jaeger <aj@suse.de>
23008
23009 [BZ #13837]
23010 * math/libm-test.inc (cos_test): Add a test case for large input
23011 value.
23012 (sin_test): Likewise.
23013 (sincos_test): Likewise.
23014
230152012-03-15 Andreas Jaeger <aj@suse.de>,
23016 Joseph Myers <joseph@codesourcery.com>
23017
23018 [BZ #13658]
23019 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23020 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23021 * sysdeps/i386/fpu/branred.c: Likewise.
23022 * sysdeps/i386/fpu/dosincos.c: Likewise.
23023 * sysdeps/i386/fpu/mpa.c: Likewise.
23024 * sysdeps/i386/fpu/s_cos.S: Likewise.
23025 * sysdeps/i386/fpu/s_sin.S: Likewise.
23026 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23027 * sysdeps/i386/fpu/sincos32.c: Likewise.
23028
23029 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23030 Define.
23031 (libc_feupdateenv_53bit): Define.
23032 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23033 Define.
23034 (libc_feupdateenv_53bit): Define.
23035
23036 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23037 53 bit (without extend i386 double precision).
23038
23039 * math/libm-test.inc (sincos_test): Add tests for large input.
23040 (sin): Likewise.
23041 (cos): Likewise.
23042
23043 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23044
230452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23046
23047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23048
230492012-03-15 David S. Miller <davem@davemloft.net>
23050
23051 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23052 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23053 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23054 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23067 file.
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23070 file.
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23073 file.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23076 file.
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23078 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23079 fmin/fmax sysdep routines.
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23081
230822012-03-14 David S. Miller <davem@davemloft.net>
23083
23084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23088 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23089 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23090 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23093 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23094 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23104 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23107 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23113 routines.
23114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23115 file.
23116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23118 file.
23119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23121 file.
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23124 file.
23125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23127 file.
23128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23130 file.
23131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23132 file.
23133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23134 file.
23135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23136 file.
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23138 New file.
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23140 file.
23141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23142 file.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23145 file.
23146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23148 file.
23149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23151 file.
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23154 VIS3 routines.
23155
23156 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23157 New file.
23158
23159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23160
23161 * sysdeps/sparc/configure.in: New file.
23162 * sysdeps/sparc/configure: Generate.
23163 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23164 * configure: Regenerate.
23165 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23166 * config.make.in (have-as-vis3): New.
23167 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23168 available use -Av9d instead of -Av9a.
23169 * sysdeps/sparc/sparc64/Makefile: Likewise.
23170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23172 New file.
23173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23174 file.
23175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23176 New file.
23177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23178 file.
23179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23181 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23182 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23184
23185 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23186 fzeros/fnegs to load 0x80000000 into a float register instead of
23187 using the stack.
23188 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23189
231902012-03-14 Joseph Myers <joseph@codesourcery.com>
23191
23192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23193 bits/syscall.h.
23194 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23195 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23196 ($(inst_includedir)/bits/syscall.h): Remove rule.
23197 ($(objpfx)bits/syscall.d): Include instead of
23198 $(objpfx)syscall-list.d.
23199 (generated): Change syscall-list.h and syscall-list.d to
23200 bits/syscall.h and bits/syscall.d.
23201
232022012-03-14 Roland McGrath <roland@hack.frob.com>
23203
23204 [BZ #13846]
23205 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23206
232072012-03-14 Joseph Myers <joseph@codesourcery.com>
23208
23209 [BZ #13841]
23210 * math/s_csqrt.c: Include <float.h>.
23211 (__csqrt): Scale large or subnormal inputs.
23212 * math/s_csqrtf.c: Likewise.
23213 * math/s_csqrtl.c: Likewise.
23214 * math/libm-test.inc (csqrt_test): Add more tests.
23215 * sysdeps/i386/fpu/libm-test-ulps: Update.
23216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217
23218 [BZ #13840]
23219 * math/libm-test.inc (hypot_test): Add more tests.
23220
232212012-03-13 David S. Miller <davem@davemloft.net>
23222
23223 [BZ #13840]
23224 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23225 double-precision for the calculation instead of scaling.
23226
232272012-03-13 Joseph Myers <joseph@codesourcery.com>
23228
23229 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23230 manipulate bits before adding and subtracting TWO52[sx].
23231 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23232 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23233 Likewise.
23234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23235
232362012-03-13 David S. Miller <davem@davemloft.net>
23237
23238 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23239 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23240 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23241 rtld-global-offsets.h
23242 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23243
23244 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23245 large parameters.
23246
23247 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23248
23249 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23250 'err' in the ifdef scope in which it is actually used.
23251
23252 * nss/nss_db/db-init.c: Include string.h
23253
232542012-03-12 David S. Miller <davem@davemloft.net>
23255
23256 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23257 masking out of the most significant byte of random value used.
23258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23259 Fix coding style in previous change.
23260
23261 * sysdeps/unix/sysv/linux/kernel-features.h
23262 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23263 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23264 expression.
23265 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23266 later.
23267
232682012-03-11 David S. Miller <davem@davemloft.net>
23269
23270 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23271 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23272 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23273 for 'resultvar' otherwise things get truncated on 64-bit.
23274
23275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23276 Fix masking out of the most significant byte of random value used.
23277
23278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23279
232802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23281
23282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23283
232842012-03-09 David S. Miller <davem@davemloft.net>
23285
23286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23287 variables with appropriate CPP guards.
23288 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23289 frame pointer, not the stack pointer. Correct layout comments. Fix test
23290 on resulting framesize and the management of the outregs buffer for pltexit.
23291 Preserve floating point return values across _dl_call_pltexit call.
23292 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23293 framesize and the management of the outregs buffer for pltexit.
23294 Preserve floating point return values across _dl_call_pltexit
23295 call.
23296 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23297 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23298 (print_exit): Fix format string for return register value.
23299
233002012-03-10 Joseph Myers <joseph@codesourcery.com>
23301
23302 * sunrpc/Makefile (others): Add rpcgen.
23303 ($(objpfx)rpcgen): Remove special build rule and dependency on
23304 libc.
23305 * sunrpc/rpcgen.c: New file.
23306
233072012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23308
23309 [BZ #13673]
23310 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23311 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23312 * sysdeps/i386/crti.S: Likewise.
23313 * sysdeps/i386/crtn.S: Likewise.
23314 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23315 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23316 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23317 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23318 * sysdeps/sh/crti.S: Likewise.
23319 * sysdeps/sh/crtn.S: Likewise.
23320 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23321
23322 [BZ #13673]
23323 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23324 with URL.
23325 * locale/programs/locfile-kw.gperf: Likewise.
23326 * locale/programs/charmap-kw.h: Regenerated.
23327 * locale/programs/locfile-kw.h: Likewise.
23328
23329 [BZ #13673]
23330 * intl/plural.y: Replace FSF snail mail address with URL.
23331 * intl/plural.c: Regenerated.
23332
233332012-03-09 Richard Henderson <rth@twiddle.net>
23334
23335 * include/math_private.h: Remove file.
23336 * math/math_private.h: Move file ...
23337 * sysdeps/generic/math_private.h: ... here.
23338
23339 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23340 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23341 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23342
23343 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23344 and <math_private.h>.
23345 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23346 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23347 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23348 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23349 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23410 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23411 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23412 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23413 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23414 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23417 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23419 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23433 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23434 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23435 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23436 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23437 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23438 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23439 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23440 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23441 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23442 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23444 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23445 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23446 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23447 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23448 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23449 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23450 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23451 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23452 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23453 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23454 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23455 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23456 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23457 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23458 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23459 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23460 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23461 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23462 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23463 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23464 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23465 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23466 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23467 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23468 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23469 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23470 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23471 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23472 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23473 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23474 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23475 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23476 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23477 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23478 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23479 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23480 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23481 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23482 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23483 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23484 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23485 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23486 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23487 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23488 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23489 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23490 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23491 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23492 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23493 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23494 * sysdeps/ieee754/k_standard.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23519 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23520 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23522 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23523 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23525 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23610 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23614 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23615 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23617 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23619 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23622 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23627 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23629 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23630 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23631 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23641 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23643 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23644 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23645 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23653 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23655 * sysdeps/ieee754/s_lib_version.c: Likewise.
23656 * sysdeps/ieee754/s_matherr.c: Likewise.
23657 * sysdeps/ieee754/s_signgam.c: Likewise.
23658 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23660 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23661 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23662 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23663 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23664 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23665 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23666 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23667 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23668 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23669 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23670 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23671 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23672 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23673 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23674 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23675 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23676 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23677 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23678 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23679
236802012-03-09 Joseph Myers <joseph@codesourcery.com>
23681
23682 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23683 * sunrpc/rpc_main.c: Likewise.
23684 * sunrpc/rpc_svcout.c: Likewise.
23685
236862012-03-09 David S. Miller <davem@davemloft.net>
23687
23688 * include/math_private.h: New file.
23689
236902012-03-09 Joseph Myers <joseph@codesourcery.com>
23691
23692 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23693 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23694 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23695 from <bits/socket_type.h>.
23696 (enum __socket_type): Don't define here.
23697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23699 bits/socket_type.h.
23700
23701 [BZ #13566]
23702 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23703 checking __USE_GNU.
23704
23705 * Makerules ($(inst_includedir)/%.h): New rule.
23706 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23707 (install-others): Remove variable setting.
23708 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23709
237102012-03-08 Richard Henderson <rth@twiddle.net>
23711
23712 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23713 from macro to inline function; merge with the
23714 !__LIBC_INTERNAL_MATH_INLINES version.
23715 (__ieee754_sqrtf): Likewise.
23716
23717 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23718 to inline function.
23719 (__rintf, __floor, __floorf): Likewise.
23720
23721 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23722 macro to inline function.
23723 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23724
23725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23726 not <math/math_private.h>.
23727
237282012-03-08 David S. Miller <davem@davemloft.net>
23729
23730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23731 copyright year.
23732 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23733
237342012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23735
23736 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23737 normalization.
23738 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23739 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23740
237412012-03-08 Ulrich Drepper <drepper@gmail.com>
23742
23743 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23744 be defined individually, they must be defined as a block. Define
23745 S for printing a string instead of hidint the different by using a
23746 macro for adding the 'l'.
23747 * stdio-common/tst-fphex-wide.c: Adjust.
23748
237492012-03-07 Marek Polacek <polacek@redhat.com>
23750
23751 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23752
237532012-03-08 Marek Polacek <polacek@redhat.com>
23754
23755 [BZ #13806]
23756 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23757 * stdio-common/tst-fphex.c: Define a few macros to make the
23758 test reusable. Use them.
23759 * stdio-common/tst-fphex-wide.c: New file.
23760
237612012-03-08 Joseph Myers <joseph@codesourcery.com>
23762
23763 [BZ #6911]
23764 * manual/macros.texi (gnusystems): New macro.
23765 (nongnusystems): Likewise.
23766 (gnulinuxhurdsystems): Likewise.
23767 (gnuhurdsystems): Likewise..
23768 (gnulinuxsystems): Likewise.
23769 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23770 variants of the GNU system, not "GNU system".
23771 * manual/conf.texi: Likewise.
23772 * manual/errno.texi: Likewise. Update example of errno macro
23773 expansion.
23774 * manual/filesys.texi: Likewise.
23775 (getumask): Document as specific to GNU/Hurd.
23776 * manual/install.texi: Likewise. Reword some references to
23777 GNU/Linux.
23778 * manual/intro.texi: Likewise.
23779 * manual/io.texi: Likewise.
23780 (File Name Portability): Detail which constraints are inapplicable
23781 to all GNU systems and which are only inapplicable to GNU/Hurd.
23782 * manual/job.texi: Likewise.
23783 * manual/llio.texi: Likewise.
23784 (O_NOCTTY): Document as present on GNU/Linux.
23785 * manual/maint.texi: Likewise.
23786 * manual/memory.texi: Likewise.
23787 * manual/pattern.texi: Likewise.
23788 * manual/pipe.texi: Likewise.
23789 * manual/process.texi: Likewise.
23790 * manual/resource.texi: Likewise.
23791 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23792 child on GNU/Hurd.
23793 * manual/setjmp.texi: Likewise.
23794 * manual/signal.texi: Likewise.
23795 * manual/startup.texi: Likewise.
23796 * manual/stdio.texi: Likewise.
23797 * manual/terminal.texi: Likewise.
23798 (ONLCR): Document as POSIX.
23799 (OXTABS): Document availability on GNU/Linux as XTABS.
23800 (ONOEOT): Document availability separately from other bits.
23801 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23802 * manual/time.texi: Likewise.
23803 * manual/users.texi: Likewise.
23804 * INSTALL: Regenerated.
23805 * sysdeps/gnu/errlist.c: Regenerated.
23806
23807 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23808 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23809 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23810 puts.
23811 * configure: Regenerated.
23812
238132012-03-07 Joseph Myers <joseph@codesourcery.com>
23814
23815 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23816 default includes instead of AC_HEADER_CHECK.
23817 * sysdeps/i386/configure: Regenerated.
23818
23819 [BZ #10716]
23820 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23821 * math/s_cacoshf.c (__cacoshf): Likewise.
23822 * math/s_cacoshl.c (__cacoshl): Likewise.
23823 * math/s_casinh.c (__casinh): Set signs of result from argument.
23824 * math/s_casinhf.c (__casinhf): Likewise.
23825 * math/s_casinhl.c (__casinhl): Likewise.
23826 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23827 (casinh_test): Add more tests.
23828 * sysdeps/i386/fpu/libm-test-ulps: Update.
23829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23830
238312012-03-07 Ulrich Drepper <drepper@gmail.com>
23832
23833 * po/zh_TW.po: Update from translation team.
23834
23835 * login/Makefile (distribute): Remove variable.
23836 * catgets/Makefile: Likewise.
23837 * mach/Makefile: Likewise.
23838 * malloc/Makefile: Likewise.
23839 * misc/Makefile: Likewise.
23840 * iconv/Makefile: Likewise.
23841 * nscd/Makefile: Likewise.
23842 * hurd/Makefile: Likewise.
23843 * manual/Makefile: Likewise.
23844 * locale/Makefile: Likewise.
23845 * intl/Makefile: Likewise.
23846 * conform/Makefile: Likewise.
23847 * nss/Makefile: Likewise.
23848 * time/Makefile: Likewise.
23849 * soft-fp/Makefile: Likewise.
23850 * dirent/Makefile: Likewise.
23851 * gmon/Makefile: Likewise.
23852 * po/Makefile: Likewise.
23853 * rt/Makefile: Likewise.
23854 * socket/Makefile: Likewise.
23855 * math/Makefile: Likewise.
23856 * signal/Makefile: Likewise.
23857 * debug/Makefile: Likewise.
23858 * elf/Makefile: Likewise.
23859 * timezone/Makefile: Likewise.
23860 * stdlib/Makefile: Likewise.
23861 * iconvdata/Makefile: Likewise.
23862 * sunrpc/Makefile: Likewise.
23863 * io/Makefile: Likewise.
23864 * argp/Makefile: Likewise.
23865 * inet/Makefile: Likewise.
23866 * hesiod/Makefile: Likewise.
23867 * grp/Makefile: Likewise.
23868 * csu/Makefile: Likewise.
23869 * wctype/Makefile: Likewise.
23870 * crypt/Makefile: Likewise.
23871 * libio/Makefile: Likewise.
23872 * string/Makefile: Likewise.
23873 * nis/Makefile: Likewise.
23874 * resolv/Makefile: Likewise.
23875 * stdio-common/Makefile: Likewise.
23876 * wcsmbs/Makefile: Likewise.
23877 * dlfcn/Makefile: Likewise.
23878 * posix/Makefile: Likewise.
23879
23880 [BZ #6959]
23881 * timezone/Makefile: Don't install timezone files, just the programs
23882 and scripts.
23883
238842012-03-06 Ulrich Drepper <drepper@gmail.com>
23885
23886 * nss/databases.def: Add missing gshadow entry.
23887
23888 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23889
238902012-03-06 Marek Polacek <polacek@redhat.com>
23891
23892 [BZ #13726]
23893 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23894 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23895 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23896 * stdio-common/tst-long-dbl-fphex.c: New file.
23897
238982012-03-06 David S. Miller <davem@davemloft.net>
23899
23900 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23901 (set_obp_int): New function.
23902 (get_obp_int): New function.
23903 (__get_clockfreq_via_dev_openprom): Likewise.
23904 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23905 Avoid unused variable warnings on 'val' and use builtin_expect.
23906 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23907 __builtin_expect.
23908 (INLINE_CLONE_SYSCALL): Likewise.
23909
239102012-03-05 David S. Miller <davem@davemloft.net>
23911
23912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23913
239142012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23915
23916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23917
23918 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23919 only for |x| >= 40.
23920 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23921
239222012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23925 Replace gettimeofday with __vdso_gettimeofday.
23926
23927 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23928 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23929 __vdso_clock_gettime and __vdso_getcpu.
23930
23931 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23932 time with __vdso_time.
23933
239342012-03-05 Joseph Myers <joseph@codesourcery.com>
23935
23936 * manual/lang.texi (size_t): Note types to which size_t may be
23937 equivalent with the GNU C Library, but do not describe when
23938 differences between them are significant.
23939
239402012-03-05 Andreas Jaeger <aj@suse.de>
23941
23942 * sysdeps/i386/fpu/libm-test-ulps: Update.
23943
239442012-03-05 Joseph Myers <joseph@codesourcery.com>
23945
23946 [BZ #3976]
23947 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23948 (__ieee754_pow): Save and restore rounding mode and use
23949 round-to-nearest for main computations.
23950 * math/libm-test.inc (pow_test_tonearest): New function.
23951 (pow_test_towardzero): Likewise.
23952 (pow_test_downward): Likewise.
23953 (pow_test_upward): Likewise.
23954 (main): Call the new functions.
23955 * sysdeps/i386/fpu/libm-test-ulps: Update.
23956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23957
23958 [BZ #3976]
23959 * math/libm-test.inc (cosh_test_tonearest): New function.
23960 (cosh_test_towardzero): Likewise.
23961 (cosh_test_downward): Likewise.
23962 (cosh_test_upward): Likewise.
23963 (sinh_test_tonearest): Likewise.
23964 (sinh_test_towardzero): Likewise.
23965 (sinh_test_downward): Likewise.
23966 (sinh_test_upward): Likewise.
23967 (main): Call the new functions.
23968 * sysdeps/i386/fpu/libm-test-ulps: Update.
23969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23970
239712012-03-05 Tom de Vries <tom@codesourcery.com>
23972
23973 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23974 default stack guard is set in last bytes.
23975 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23976
239772012-03-05 Kees Cook <keescook@chromium.org>
23978
23979 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23980
23981 [BZ #13656]
23982 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23983 possibly allocate from heap instead of stack.
23984 * stdio-common/bug-vfprintf-nargs.c: New file.
23985 * stdio-common/Makefile (tests): Add nargs overflow test.
23986
239872012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23988
23989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23990
239912012-03-03 Marek Polacek <polacek@redhat.com>
23992
23993 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23994 * math/math_private.h: Likewise.
23995 * stdlib/tst-strtod.c: Likewise.
23996 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23997 * sysdeps/x86_64/bits/atomic.h: Likewise.
23998
239992012-03-02 David S. Miller <davem@davemloft.net>
24000
24001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24005 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24006 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24007 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24008 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24009
240102012-03-02 Roland McGrath <roland@hack.frob.com>
24011
24012 [BZ #13792]
24013 * manual/examples/README: New file, says the example source files
24014 can be used under GPL>=2.
24015 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24016 line containing just "*/".
24017 * manual/examples/add.c: Add copyright header (GPL>=2).
24018 * manual/examples/argp-ex1.c: Likewise.
24019 * manual/examples/argp-ex2.c: Likewise.
24020 * manual/examples/argp-ex3.c: Likewise.
24021 * manual/examples/argp-ex4.c: Likewise.
24022 * manual/examples/atexit.c: Likewise.
24023 * manual/examples/db.c: Likewise.
24024 * manual/examples/dir.c: Likewise.
24025 * manual/examples/dir2.c: Likewise.
24026 * manual/examples/execinfo.c: Likewise.
24027 * manual/examples/filecli.c: Likewise.
24028 * manual/examples/filesrv.c: Likewise.
24029 * manual/examples/fmtmsgexpl.c: Likewise.
24030 * manual/examples/genpass.c: Likewise.
24031 * manual/examples/inetcli.c: Likewise.
24032 * manual/examples/inetsrv.c: Likewise.
24033 * manual/examples/isockad.c: Likewise.
24034 * manual/examples/longopt.c: Likewise.
24035 * manual/examples/memopen.c: Likewise.
24036 * manual/examples/memstrm.c: Likewise.
24037 * manual/examples/mkfsock.c: Likewise.
24038 * manual/examples/mkisock.c: Likewise.
24039 * manual/examples/mygetpass.c: Likewise.
24040 * manual/examples/pipe.c: Likewise.
24041 * manual/examples/popen.c: Likewise.
24042 * manual/examples/rprintf.c: Likewise.
24043 * manual/examples/search.c: Likewise.
24044 * manual/examples/select.c: Likewise.
24045 * manual/examples/setjmp.c: Likewise.
24046 * manual/examples/sigh1.c: Likewise.
24047 * manual/examples/sigusr.c: Likewise.
24048 * manual/examples/stpcpy.c: Likewise.
24049 * manual/examples/strdupa.c: Likewise.
24050 * manual/examples/strftim.c: Likewise.
24051 * manual/examples/strncat.c: Likewise.
24052 * manual/examples/subopt.c: Likewise.
24053 * manual/examples/swapcontext.c: Likewise.
24054 * manual/examples/termios.c: Likewise.
24055 * manual/examples/testopt.c: Likewise.
24056 * manual/examples/testpass.c: Likewise.
24057 * manual/examples/timeval_subtract.c: Likewise.
24058
24059 [BZ #13792]
24060 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24061 function to ...
24062 * manual/timeval_subtract.c.texi: ... here, new file.
24063
240642012-03-02 David S. Miller <davem@davemloft.net>
24065
24066 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24067
240682012-03-02 Joseph Myers <joseph@codesourcery.com>
24069
24070 [BZ #3976]
24071 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24072 (__sin): Save and restore rounding mode and use round-to-nearest
24073 for all computations.
24074 (__cos): Save and restore rounding mode and use round-to-nearest
24075 for all computations.
24076 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24077 <fenv.h>.
24078 (tan): Save and restore rounding mode and use round-to-nearest for
24079 all computations.
24080 * math/libm-test.inc (cos_test_tonearest): New function.
24081 (cos_test_towardzero): Likewise.
24082 (cos_test_downward): Likewise.
24083 (cos_test_upward): Likewise.
24084 (sin_test_tonearest): Likewise.
24085 (sin_test_towardzero): Likewise.
24086 (sin_test_downward): Likewise.
24087 (sin_test_upward): Likewise.
24088 (tan_test_tonearest): Likewise.
24089 (tan_test_towardzero): Likewise.
24090 (tan_test_downward): Likewise.
24091 (tan_test_upward): Likewise.
24092 (main): Call the new functions.
24093 * sysdeps/i386/fpu/libm-test-ulps: Update.
24094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24095
24096 [BZ #10135]
24097 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24098 small n, then large n, before computing and testing k+n.
24099 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24100 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24101 Likewise.
24102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24103 Likewise.
24104 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24105 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24106 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24107 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24108 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24109 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24110 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24111 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24112 * math/libm-test.inc (scalbn_test): Add more tests.
24113 (scalbln_test): Likewise.
24114
24115 * manual/filesys.texi (mode_t): Describe constraints on size and
24116 signedness, not exact equivalence to a particular type.
24117 (ino_t): Likewise.
24118 (ino64_t): Likewise.
24119 (dev_t): Likewise.
24120 (nlink_t): Likewise.
24121 (blkcnt_t): Likewise.
24122 (blkcnt64_t): Likewise.
24123 * manual/llio.texi (off_t): Likewise.
24124
24125 [BZ #3976]
24126 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24127 (__ieee754_exp): Save and restore rounding mode and use
24128 round-to-nearest for all computations.
24129 * math/libm-test.inc (exp_test_tonearest): New function.
24130 (exp_test_towardzero): Likewise.
24131 (exp_test_downward): Likewise.
24132 (exp_test_upward): Likewise.
24133 (main): Call the new functions.
24134 * sysdeps/i386/fpu/libm-test-ulps: Update.
24135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24136
241372012-03-01 Chris Demetriou <cgd@google.com>
24138
24139 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24140 have predictable order.
24141
241422012-03-01 David S. Miller <davem@davemloft.net>
24143
24144 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24145
24146 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24147 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24148 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24149 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24150
24151 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24152 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24153 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24155 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24156 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24157 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24158 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24159 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24160
24161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24162
24163 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24164 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24165 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24166
24167 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24168 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24169 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24170 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24171 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24172 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24174 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24175 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24176 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24177 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24178 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24180 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24181 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24183 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24184 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24185 * sysdeps/sparc/elf/configure: Regenerated.
24186
241872012-03-01 Joseph Myers <joseph@codesourcery.com>
24188
24189 * configure.in (AS, LD): Require binutils 2.20 or later.
24190 * configure: Regenerated.
24191 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24192 as required minimum version.
24193 * INSTALL: Regenerated.
24194
24195 [BZ #2541]
24196 [BZ #4108]
24197 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24198 before squaring exponent.
24199 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24200 bottom long double and 27 bits of top long double before squaring
24201 exponent.
24202 * math/libm-test.inc (erfc_test): Add more tests.
24203 * sysdeps/i386/fpu/libm-test-ulps: Update.
24204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24206
242072012-03-01 Kai Tietz <ktietz@redhat.com>
24208
24209 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24210 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24211 containing bit-fields.
24212 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24213 * soft-fp/single.h (_FP_UNION_S): Likewise.
24214 * soft-fp/double.h (_FP_UNION_D): Likewise.
24215
242162012-02-29 Joseph Myers <joseph@codesourcery.com>
24217
24218 [BZ #13786]
24219 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24220 not include ../strcmp.S.
24221 [USE_AS_STRNCASECMP_L]: Likewise.
24222 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24223 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24224 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24225 (__strncasecmp_l_ia32): Define as alias to
24226 __strncasecmp_l_nonascii.
24227
24228 [BZ #5794]
24229 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24230 * sysdeps/i386/fpu/libm-test-ulps: Update.
24231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24232
24233 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24235
242362012-02-29 Jeff Law <law@redhat.com>
24237
24238 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24239 out of bounds read.
24240
242412012-02-29 Marek Polacek <polacek@redhat.com>
24242
24243 [BZ #13706]
24244 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24245 * elf/Makefile: Add rules to run tst-unused-dep.out.
24246
242472012-02-28 David S. Miller <davem@davemloft.net>
24248
24249 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24250 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24252 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24253 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24254 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24255
242562012-02-29 Joseph Myers <joseph@codesourcery.com>
24257
24258 * math/libm-test.inc (llround_test): Move one test from
24259 lround_test. Use TEST_f_L in moved test.
24260 (lround_test): Move misplaced test to llround_test. Add testcase
24261 from bug 2561.
24262
242632012-02-28 Ulrich Drepper <drepper@gmail.com>
24264
24265 * sysdeps/x86_64/fpu/e_expf.S: New file.
24266 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24267
242682012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24269
24270 [BZ #13637]
24271 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24272 of remain_len that may cause incomplete multi-byte character and
24273 false match.
24274 * posix/bug-regex33.c: New file.
24275 * posix/Makefile (tests): Add bug-regex33.
24276
242772012-02-28 Joseph Myers <joseph@codesourcery.com>
24278
24279 * manual/macros.texi: New file.
24280 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24281 * manual/libc.texinfo: Include macros.texi.
24282 * manual/creatute.texi: Likewise.
24283 * manual/install.texi: Likewise.
24284 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24285 @glibcadj{} in references to the GNU C Library.
24286 * manual/charset.texi: Likewise.
24287 * manual/conf.texi: Likewise.
24288 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24289 when not using those macros.
24290 * manual/creature.texi: Likewise.
24291 * manual/crypt.texi: Likewise.
24292 * manual/errno.texi: Likewise.
24293 * manual/filesys.texi: Likewise.
24294 * manual/header.texi: Likewise.
24295 * manual/install.texi: Likewise.
24296 * manual/intro.texi: Likewise.
24297 * manual/io.texi: Likewise.
24298 * manual/job.texi: Likewise.
24299 * manual/lang.texi: Likewise.
24300 * manual/libc.texiinfo: Likewise.
24301 * manual/llio.texi: Likewise.
24302 * manual/locale.texi: Likewise.
24303 * manual/maint.texi: Likewise.
24304 * manual/math.texi: Likewise.
24305 * manual/memory.texi: Likewise.
24306 * manual/message.texi: Likewise.
24307 * manual/nss.texi: Likewise.
24308 * manual/pattern.texi: Likewise.
24309 * manual/process.texi: Likewise.
24310 * manual/resource.texi: Likewise.
24311 * manual/search.texi: Likewise.
24312 * manual/setjmp.texi: Likewise.
24313 * manual/signal.texi: Likewise.
24314 * manual/socket.texi: Likewise.
24315 * manual/startup.texi: Likewise.
24316 * manual/stdio.texi: Likewise.
24317 * manual/string.texi: Likewise.
24318 * manual/sysinfo.texi: Likewise.
24319 * manual/syslog.texi: Likewise.
24320 * manual/terminal.texi: Likewise.
24321 * manual/time.texi: Likewise.
24322 * manual/users.texi: Likewise.
24323 * INSTALL: Regenerated.
24324 * NOTES: Regenerated.
24325 * sysdeps/gnu/errlist.c: Regenerated.
24326
243272012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24328
24329 * include/dirent.h: Include <dirstream.h> before
24330 <dirent/dirent.h>.
24331
243322012-02-28 David S. Miller <davem@davemloft.net>
24333
24334 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24335 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24336 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24337 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24338
243392012-02-27 David S. Miller <davem@davemloft.net>
24340
24341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24343 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24344 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24345
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24347 frame pointer instead of stack pointer relative arg slot.
24348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24351
243522012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24353
24354 [BZ #3992]
24355 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24356
243572012-02-27 David S. Miller <davem@davemloft.net>
24358
24359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24363 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24364 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24365 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24366 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24367
243682012-02-27 Joseph Myers <joseph@codesourcery.com>
24369
24370 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24371 later. Allow versions 5-9.
24372 * configure: Regenerated.
24373 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24374 required minimum version and 4.6 as recommended version. Do not
24375 mention bugs in GCC 2.7 and 2.8.
24376 * INSTALL: Regenerated.
24377
243782012-02-27 David S. Miller <davem@davemloft.net>
24379
24380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24384 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24385 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24386 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24387 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24388
24389 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24390 manipulate bits before adding and subtracting TWO112[sx].
24391 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24392
243932012-02-27 Roland McGrath <roland@hack.frob.com>
24394
24395 [BZ #13775]
24396 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24397 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24398 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24399 being in POSIX, because they are in 1003.1-2008.
24400
24401 * rt/tst-aio.c: Include <fcntl.h>.
24402 * rt/tst-aio7.c: Likewise.
24403 * rt/tst-aio64.c: Likewise.
24404
24405 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24406
244072012-02-27 Joseph Myers <joseph@codesourcery.com>
24408
24409 * manual/install.texi (--with-headers): Describe headers as
24410 interface headers, not private headers.
24411 (Specific advice for GNU/Linux systems): Describe use of headers
24412 from "make headers_install", not private headers from older
24413 kernels.
24414 * INSTALL: Regenerated.
24415 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24416 Change to 2.6.19.
24417 * sysdeps/unix/sysv/linux/configure: Regenerated.
24418
24419 * manual/llio.texi (fclean): Remove documentation.
24420
24421 * manual/Makefile (libc-texi-generated): New variable. Include
24422 version.texi.
24423 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24424 $(libc-texi-generated), not duplicated list of files.
24425 (version.texi, stamp-version): New rules.
24426 (realclean): Remove $(libc-texi-generated), not individual files
24427 from that list. Do not remove dir-add.texinfo.
24428 * manual/libc.texinfo: Comment out uses of edition numbers and
24429 references to printed manual. Remove last-updated dates.
24430 (EDITION): Comment out.
24431 (ISBN): Likewise.
24432 (VERSION, UPDATED): Remove.
24433 (version.texi): Include.
24434
244352012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24436
24437 * sysdeps/posix/spawni.c: Include <signal.h>.
24438 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24439 * sysdeps/pthread/aio_fsync.c: Likewise.
24440
244412012-02-26 Ulrich Drepper <drepper@gmail.com>
24442
24443 * conform/Makefile (tests): Run only when not cross-compiling and
24444 when fast-check is not defined.
24445
24446 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24447 * conform/data/limits.h-data: Fixes for POSIX2008.
24448 * conform/run-conformtest.sh: Run all tests.
24449 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24450 headers.
24451 * include/bits/dlfcn.h: Likewise.
24452 * include/langinfo.h: Likewise.
24453 * include/monetary.h: Likewise.
24454 * include/sys/poll.h: Likewise.
24455
24456 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24457 for __USE_GNU.
24458 * posix/spawn.h: Define __need_sigset_t.
24459 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24460 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24461 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24462 to get sigevent_t only.
24463 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24464 only for __USE_GNU.
24465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24466 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24467 process_vm_writev only for __USE_GNU.
24468 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24469
24470 * conform/Makefile: For now ignore errors from run-conformtest.
24471 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24472 POSIX to avoid namespace pollution. Don't prepend headers.
24473 * conform/data/aio.h-data: Fixes for POSIX testing.
24474 * conform/data/fcntl.h-data: Likewise.
24475 * conform/data/glob.h-data: Likewise.
24476 * conform/data/grp.h-data: Likewise.
24477 * conform/data/pthread.h-data: Likewise.
24478 * conform/data/pwd.h-data: Likewise.
24479 * conform/data/signal.h-data: Likewise.
24480 * conform/data/spawn.h-data: Likewise.
24481 * conform/data/stdio.h-data: Likewise.
24482 * conform/data/stdlib.h-data: Likewise.
24483 * conform/data/stropts.h-data: Likewise.
24484 * conform/data/sys/mman.h-data: Likewise.
24485 * conform/data/sys/stat.h-data: Likewise.
24486 * conform/data/sys/types.h-data: Likewise.
24487 * conform/data/sys/wait.h-data: Likewise.
24488 * conform/data/time.h-data: Likewise.
24489 * conform/data/unistd.h-data: Likewise.
24490 * conform/data/utime.h-data: Likewise.
24491
24492 * io/sys/stat.h: fchmod was always in POSIX.
24493 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24494 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24495 * rt/aio.h: Define __need_timespec before including <time.h>.
24496 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24497 struct. Add forward declaration of pthread_attr_t and use it in
24498 sigevent.
24499 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24500 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24501 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24502 always remove CLK_TCK definition.
24503
245042012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24505
24506 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24507
245082012-02-25 Ulrich Drepper <drepper@gmail.com>
24509
24510 * conform/run-conformtest.sh: New file.
24511 * conform/Makefile: Run run-conformtest for tests.
24512 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24513 support.
24514
24515 * conform/data/uchar.h-data: New file.
24516 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24517 * conform/data/arpa/inet.h-data: Likewise.
24518 * conform/data/assert.h-data: Likewise.
24519 * conform/data/complex.h-data: Likewise.
24520 * conform/data/cpio.h-data: Likewise.
24521 * conform/data/ctype.h-data: Likewise.
24522 * conform/data/dirent.h-data: Likewise.
24523 * conform/data/dlfcn.h-data: Likewise.
24524 * conform/data/errno.h-data: Likewise.
24525 * conform/data/fcntl.h-data: Likewise.
24526 * conform/data/float.h-data: Likewise.
24527 * conform/data/fmtmsg.h-data: Likewise.
24528 * conform/data/fnmatch.h-data: Likewise.
24529 * conform/data/ftw.h-data: Likewise.
24530 * conform/data/glob.h-data: Likewise.
24531 * conform/data/grp.h-data: Likewise.
24532 * conform/data/iconv.h-data: Likewise.
24533 * conform/data/inttypes.h-data: Likewise.
24534 * conform/data/langinfo.h-data: Likewise.
24535 * conform/data/libgen.h-data: Likewise.
24536 * conform/data/limits.h-data: Likewise.
24537 * conform/data/locale.h-data: Likewise.
24538 * conform/data/math.h-data: Likewise.
24539 * conform/data/monetary.h-data: Likewise.
24540 * conform/data/mqueue.h-data: Likewise.
24541 * conform/data/ndbm.h-data: Likewise.
24542 * conform/data/net/if.h-data: Likewise.
24543 * conform/data/netdb.h-data: Likewise.
24544 * conform/data/netinet/in.h-data: Likewise.
24545 * conform/data/nl_types.h-data: Likewise.
24546 * conform/data/poll.h-data: Likewise.
24547 * conform/data/pthread.h-data: Likewise.
24548 * conform/data/pwd.h-data: Likewise.
24549 * conform/data/regex.h-data: Likewise.
24550 * conform/data/sched.h-data: Likewise.
24551 * conform/data/search.h-data: Likewise.
24552 * conform/data/semaphore.h-data: Likewise.
24553 * conform/data/setjmp.h-data: Likewise.
24554 * conform/data/signal.h-data: Likewise.
24555 * conform/data/spawn.h-data: Likewise.
24556 * conform/data/stdarg.h-data: Likewise.
24557 * conform/data/stdio.h-data: Likewise.
24558 * conform/data/stdlib.h-data: Likewise.
24559 * conform/data/string.h-data: Likewise.
24560 * conform/data/strings.h-data: Likewise.
24561 * conform/data/stropts.h-data: Likewise.
24562 * conform/data/sys/ipc.h-data: Likewise.
24563 * conform/data/sys/mman.h-data: Likewise.
24564 * conform/data/sys/msg.h-data: Likewise.
24565 * conform/data/sys/resource.h-data: Likewise.
24566 * conform/data/sys/select.h-data: Likewise.
24567 * conform/data/sys/sem.h-data: Likewise.
24568 * conform/data/sys/shm.h-data: Likewise.
24569 * conform/data/sys/socket.h-data: Likewise.
24570 * conform/data/sys/stat.h-data: Likewise.
24571 * conform/data/sys/statvfs.h-data: Likewise.
24572 * conform/data/sys/time.h-data: Likewise.
24573 * conform/data/sys/timeb.h-data: Likewise.
24574 * conform/data/sys/times.h-data: Likewise.
24575 * conform/data/sys/types.h-data: Likewise.
24576 * conform/data/sys/uio.h-data: Likewise.
24577 * conform/data/sys/un.h-data: Likewise.
24578 * conform/data/sys/utsname.h-data: Likewise.
24579 * conform/data/sys/wait.h-data: Likewise.
24580 * conform/data/syslog.h-data: Likewise.
24581 * conform/data/tar.h-data: Likewise.
24582 * conform/data/termios.h-data: Likewise.
24583 * conform/data/utime.h-data: Likewise.
24584 * conform/data/utmpx.h-data: Likewise.
24585 * conform/data/varargs.h-data: Likewise.
24586 * conform/data/wchar.h-data: Likewise.
24587 * conform/data/wctype.h-data: Likewise.
24588 * conform/data/wordexp.h-data: Likewise.
24589
24590 * include/stropts.h: New file.
24591 * include/uchar.h: New file.
24592 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24593 * include/assert.h: Likewise.
24594 * include/ctype.h: Likewise.
24595 * include/dirent.h: Likewise.
24596 * include/dlfcn.h: Likewise.
24597 * include/fcntl.h: Likewise.
24598 * include/fnmatch.h: Likewise.
24599 * include/glob.h: Likewise.
24600 * include/grp.h: Likewise.
24601 * include/libio.h: Likewise.
24602 * include/locale.h: Likewise.
24603 * include/math.h: Likewise.
24604 * include/net/if.h: Likewise.
24605 * include/netdb.h: Likewise.
24606 * include/netinet/in.h: Likewise.
24607 * include/pthread.h: Likewise.
24608 * include/pwd.h: Likewise.
24609 * include/regex.h: Likewise.
24610 * include/sched.h: Likewise.
24611 * include/search.h: Likewise.
24612 * include/setjmp.h: Likewise.
24613 * include/signal.h: Likewise.
24614 * include/stdio.h: Likewise.
24615 * include/stdlib.h: Likewise.
24616 * include/string.h: Likewise.
24617 * include/sys/cdefs.h: Likewise.
24618 * include/sys/mman.h: Likewise.
24619 * include/sys/msg.h: Likewise.
24620 * include/sys/resource.h: Likewise.
24621 * include/sys/select.h: Likewise.
24622 * include/sys/socket.h: Likewise.
24623 * include/sys/stat.h: Likewise.
24624 * include/sys/statvfs.h: Likewise.
24625 * include/sys/time.h: Likewise.
24626 * include/sys/times.h: Likewise.
24627 * include/sys/uio.h: Likewise.
24628 * include/sys/utsname.h: Likewise.
24629 * include/sys/wait.h: Likewise.
24630 * include/termios.h: Likewise.
24631 * include/time.h: Likewise.
24632 * include/ulimit.h: Likewise.
24633 * include/unistd.h: Likewise.
24634 * include/utime.h: Likewise.
24635 * include/wchar.h: Likewise.
24636 * include/wctype.h: Likewise.
24637 * include/wordexp.h: Likewise.
24638
24639 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24640
24641 * time/time.h: TIME_UTC must be a macro.
24642 Make timespec_get available for ISO C11 only as well.
24643
246442012-02-24 Ulrich Drepper <drepper@gmail.com>
24645
24646 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24647 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24648
246492012-02-24 Joseph Myers <joseph@codesourcery.com>
24650
24651 * configure.in: Use -o not -a in test for unsupported multi-arch.
24652
246532012-02-24 Joseph Myers <joseph@codesourcery.com>
24654
24655 * manual/texinfo.tex: Update to version 2012-01-19.16.
24656
246572012-02-24 Joseph Myers <joseph@codesourcery.com>
24658
24659 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24660
246612012-02-24 Roland McGrath <roland@hack.frob.com>
24662
24663 [BZ #13738]
24664 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24665 * manual/fdl-1.3.texi: New file.
24666 * manual/fdl-1.1.texi: File removed.
24667
24668 [BZ #13738]
24669 * manual/libc.texinfo (FDL_VERSION): New @set.
24670 Use it for mention of FDL in cover text.
24671 (Documentation License): Use it in @include file name.
24672
246732012-02-22 Joseph Myers <joseph@codesourcery.com>
24674 Roland McGrath <roland@hack.frob.com>
24675
24676 [BZ #5461]
24677 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24678 not LONG_LONG_MAX and LONG_LONG_MIN.
24679 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24680 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24681 name.
24682 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24683
246842012-02-22 Joseph Myers <joseph@codesourcery.com>
24685
24686 [BZ #2547]
24687 [BZ #11365]
24688 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24689 manipulate bits before adding and subtracting TWO23[sx].
24690 * math/libm-test.inc (nearbyint_test): Add more tests.
24691
246922012-02-22 Joseph Myers <joseph@codesourcery.com>
24693
24694 [BZ #2548]
24695 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24696 bits before adding and subtracting TWO23[sx].
24697 * math/libm-test.inc (rint_test): Add more tests.
24698 (rint_test_tonearest): Likewise.
24699 (rint_test_towardzero): Likewise.
24700 (rint_test_downward): Likewise.
24701 (rint_test_upward: Likewise.
24702
247032012-02-22 Joseph Myers <joseph@codesourcery.com>
24704
24705 [BZ #10110]
24706 * include/stdc-predef.h: New file. Extracted from features.h.
24707 * include/features.h: Include stdc-predef.h.
24708 * Makefile (headers): Add stdc-predef.h.
24709 * CONFORMANCE (Compiler limitations): Update.
24710
247112012-02-22 Joseph Myers <joseph@codesourcery.com>
24712
24713 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24714
247152012-02-21 David S. Miller <davem@davemloft.net>
24716
24717 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24718 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24719
247202012-02-20 David S. Miller <davem@davemloft.net>
24721
24722 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24723 using a normal save/restore sequence, rather than allocating a
24724 dummy stack frame just to store a frame pointer and restore.
24725 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24726
247272012-02-21 Joseph Myers <joseph@codesourcery.com>
24728
24729 * manual/install.texi: Fix stray word in line-wrapped comment.
24730
247312012-02-20 David S. Miller <davem@davemloft.net>
24732
24733 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24734 both binutils and gcc support GOTDATA.
24735
24736 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24737 "rd %pc" in the PIC register setup sequences.
24738
24739 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24740 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24741 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24742 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24743 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24745 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24748 (SYSCALL_ERROR_HANDLER): Likewise.
24749 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24750 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24752 (SYSCALL_ERROR_HANDLER): Likewise.
24753
24754 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24755 (HAVE_GCC_GOTDATA): New.
24756 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24757 relocation support in both binutils and gcc.
24758 * sysdeps/sparc/elf/configure: Regenerate.
24759
24760 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24761 * sysdeps/sparc/sparc32/elf/configure: Delete.
24762 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24763 * sysdeps/sparc/sparc64/elf/configure: Delete.
24764 * sysdeps/sparc/elf/configure.in: New file.
24765 * sysdeps/sparc/elf/configure: Generate.
24766
24767 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24768 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24769 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24770 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24771 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24772
247732012-02-21 Joseph Myers <joseph@codesourcery.com>
24774
24775 * manual/install.texi: Do not mention specific glibc version
24776 numbers.
24777 * manual/libc.texinfo (VERSION, UPDATED): Update.
24778 (@copying): Use @copyright{} and range of years.
24779
247802012-02-21 Joseph Myers <joseph@codesourcery.com>
24781
24782 [BZ #13695]
24783 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24784 [crti.S not in sysdirs] (generated): Do not append.
24785 [crti.S not in sysdirs] (omit-deps): Likewise.
24786 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24787 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24788 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24789 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24790 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24791 Likewise.
24792 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24793 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24794 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24795 * csu/defs.awk: Remove file.
24796 * sysdeps/generic/initfini.c: Likewise.
24797 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24798 variable.
24799 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24800 Likewise.
24801
248022012-02-20 Joseph Myers <joseph@codesourcery.com>
24803
24804 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24805 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24806 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24807 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24808 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24809 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24810 <bits/epoll.h>.
24811 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24812 (__EPOLL_PACKED): Define to empty if not defined by
24813 <bits/epoll.h>.
24814 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24816 bits/epoll.h.
24817
248182012-02-20 Joseph Myers <joseph@codesourcery.com>
24819
24820 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24821 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24822 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24823 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24824 <bits/timerfd.h>.
24825 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24826 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24827 bits/timerfd.h.
24828
248292012-02-20 Joseph Myers <joseph@codesourcery.com>
24830
24831 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24832 in C locale.
24833 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24834 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24835 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24837
248382012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24839
24840 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24841 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24842
248432012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24844
24845 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24846 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24847 defined.
24848 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24849 Likewise.
24850 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24851 entry for 2.16.
24852
248532012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24854
24855 * math/w_acos.c: Use non-signaling floating-point comparisons.
24856 * math/w_acosf.c: Likewise.
24857 * math/w_acosh.c: Likewise.
24858 * math/w_acoshf.c: Likewise.
24859 * math/w_acoshl.c: Likewise.
24860 * math/w_acosl.c: Likewise.
24861 * math/w_asin.c: Likewise.
24862 * math/w_asinf.c: Likewise.
24863 * math/w_asinl.c: Likewise.
24864 * math/w_atanh.c: Likewise.
24865 * math/w_atanhf.c: Likewise.
24866 * math/w_atanhl.c: Likewise.
24867 * math/w_exp2.c: Likewise.
24868 * math/w_exp2f.c: Likewise.
24869 * math/w_exp2l.c: Likewise.
24870 * math/w_j0.c: Likewise.
24871 * math/w_j0f.c: Likewise.
24872 * math/w_j0l.c: Likewise.
24873 * math/w_j1.c: Likewise.
24874 * math/w_j1f.c: Likewise.
24875 * math/w_j1l.c: Likewise.
24876 * math/w_jn.c: Likewise.
24877 * math/w_jnf.c: Likewise.
24878 * math/w_log.c: Likewise.
24879 * math/w_log10.c: Likewise.
24880 * math/w_log10f.c: Likewise.
24881 * math/w_log10l.c: Likewise.
24882 * math/w_log2.c: Likewise.
24883 * math/w_log2f.c: Likewise.
24884 * math/w_log2l.c: Likewise.
24885 * math/w_logf.c: Likewise.
24886 * math/w_logl.c: Likewise.
24887 * math/w_sqrt.c: Likewise.
24888 * math/w_sqrtf.c: Likewise.
24889 * math/w_sqrtl.c: Likewise.
24890 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24891 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24892 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24893 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24894 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24895
248962012-02-19 Joseph Myers <joseph@codesourcery.com>
24897
24898 [BZ #9739]
24899 * manual/string.texi (strnlen): Use correct parameter name in
24900 equivalent expression.
24901
249022012-02-19 Joseph Myers <joseph@codesourcery.com>
24903
24904 [BZ #11174]
24905 * manual/users.texi (seteuid): Consistently use neweuid for
24906 argument name.
24907
249082012-02-19 Joseph Myers <joseph@codesourcery.com>
24909
24910 [BZ #13704]
24911 * manual/nss.texi (Services in the NSS configuration): Correct
24912 list of services in example configuration file.
24913
249142012-02-19 Nick Bowler <nbowler@draconx.ca>
24915
24916 [BZ #11322]
24917 * manual/arith.texi: Remove statements about negative zero
24918 behaving identically to zero.
24919
249202012-02-18 Joseph Myers <joseph@codesourcery.com>
24921
24922 [BZ #5993]
24923 * manual/install.texi: Do not document upgrading from libc5.
24924
249252012-02-18 Joseph Myers <joseph@codesourcery.com>
24926
24927 [BZ #4596]
24928 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24929
249302012-02-18 David S. Miller <davem@davemloft.net>
24931
24932 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24933 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24934 %o7 across the call.
24935 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24936 instead.
24937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24938 SETUP_PIC_REG_LEAF.
24939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24940 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24941 * sysdeps/sparc/crtn.S: Likewise.
24942
249432012-02-17 Ulrich Drepper <drepper@gmail.com>
24944
24945 * aout/Makefile: Remove.
24946
249472012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24948
24949 [BZ #13058]
24950 * manual/examples/argp-ex1.c (main): Format definition in GNU
24951 style.
24952 * manual/examples/argp-ex2.c (main): Likewise.
24953 * manual/examples/argp-ex3.c (main): Likewise.
24954 * manual/examples/argp-ex4.c (main): Likewise.
24955 * manual/examples/longopt.c (main): Use new-style prototype
24956 definition.
24957 * manual/examples/strncat.c (main): Specify return type and use
24958 (void) for arguments.
24959 * manual/examples/subopt.c (main): Use char **argv argument.
24960
249612012-02-17 Joseph Myers <joseph@codesourcery.com>
24962
24963 [BZ #5077]
24964 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24965 rounding modes.
24966
249672012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24968
24969 [BZ #6907]
24970 * manual/string.texi (strchr): Change when strchrnul is
24971 recommended.
24972
249732012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24974
24975 [BZ #174]
24976 * manual/locale.texi (setlocale): Document LOCPATH.
24977
249782012-02-17 Joseph Myers <joseph@codesourcery.com>
24979
24980 [BZ #10210]
24981 * manual/process.texi (execle): Move @dots{} before last argument.
24982
249832012-02-17 Paul Bolle <pebolle@tiscali.nl>
24984
24985 [BZ #12047]
24986 * manual/charset.texi (Generic Charset Conversion): Fix typo
24987 (LC_TYPE -> LC_CTYPE).
24988
249892012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24990
24991 [BZ #5805]
24992 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24993 (scalbnf): Likewise.
24994 (scalbnl): Likewise.
24995 (scalbln): Likewise.
24996 (scalblnf): Likewise.
24997 (scalblnl): Likewise.
24998 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24999 (vwarnx): Likewise.
25000 (verr): Likewise.
25001 (verrx): Likewise.
25002 * manual/filesys.texi (telldir): Use braces around return type.
25003 * manual/llio.texi (mmap): Add space after comma.
25004 (mmap64): Likewise.
25005 * manual/math.texi (jn): Use @var{} on parameter names.
25006 (jnf): Likewise.
25007 (jnl): Likewise.
25008 (yn): Likewise.
25009 (ynf): Likewise.
25010 (ynl): Likewise.
25011 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25012 line.
25013 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25014 "...".
25015 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25016 (sched_get_priority_max): Likewise.
25017 * manual/signal.texi (sigvec): Add space after comma.
25018 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25019 names.
25020 (if_indextoname): Likewise.
25021 (if_freenameindex): Likewise.
25022 (sendto): Use ',' instead of '.' in prototype.
25023 * manual/startup.texi (syscall): Use @dots{} instead of literal
25024 "...".
25025 * manual/stdio.texi (__fpending): Separate initial words of
25026 paragraph from @deftypefun line.
25027 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25028 "...".
25029 (vsyslog): Use @var{} on parameter names.
25030 * manual/terminal.texi (stty): Use @var{} on parameter names.
25031 * manual/users.texi (getutmp): Use @var{} on parameter names.
25032 (getutmpx): Likewise.
25033
250342012-02-17 Joseph Myers <joseph@codesourcery.com>
25035
25036 [BZ #6884]
25037 * manual/stdio.texi (fopen): Fix typos in description of
25038 ",ccs=STRING".
25039
250402012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25041
25042 [BZ #4026]
25043 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25044 get clock_id definition.
25045
250462012-02-17 Thomas Schwinge <thomas@schwinge.name>
25047
25048 [BZ #4822]
25049 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25050 (madvise): Cast every argument to void on its own.
25051
250522012-02-17 Joseph Myers <joseph@codesourcery.com>
25053
25054 [BZ #9902]
25055 * manual/startup.texi (Exit Status): Fix typo.
25056
250572012-02-17 Joseph Myers <joseph@codesourcery.com>
25058
25059 [BZ #10140]
25060 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25061 * manual/examples/argp-ex2.c: Likewise.
25062 * manual/examples/argp-ex3.c: Likewise.
25063
250642012-02-16 Richard Henderson <rth@redhat.com>
25065
25066 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25067 * sysdeps/s390/s390-32/initfini.c: Remove.
25068 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25069 * sysdeps/s390/s390-64/initfini.c: Remove.
25070
250712012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25072
25073 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25074 compiler output for sysdeps/generic/initfini.c.
25075 * sysdeps/sh/elf/initfini.c: Remove file.
25076
250772012-02-16 David S. Miller <davem@davemloft.net>
25078
25079 [BZ #11494]
25080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25081
25082 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25083 * sysdeps/sparc/crti.S: New file.
25084 * sysdeps/sparc/crtn.S: New file.
25085 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25086 * sysdeps/sparc/sparc64/Makefile: Likewise.
25087
250882012-02-15 Mike Frysinger <vapier@gentoo.org>
25089
25090 [BZ #3335]
25091 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25092
250932012-02-15 Roland McGrath <roland@hack.frob.com>
25094
25095 [BZ #4822]
25096 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25097
25098 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25099 (write, read, close): Likewise.
25100 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25101
251022012-02-15 Joseph Myers <joseph@codesourcery.com>
25103
25104 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25105 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25106 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25107 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25108 <bits/signalfd.h>.
25109 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25111 bits/signalfd.h.
25112
251132012-02-14 Marek Polacek <polacek@redhat.com>
25114
25115 * sysdeps/x86_64/crti.S: New file.
25116 * sysdeps/x86_64/crtn.S: New file.
25117 * sysdeps/x86_64/elf/initfini.c: Remove file.
25118
251192012-02-13 Joseph Myers <joseph@codesourcery.com>
25120
25121 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25122 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25123 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25124 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25125 <bits/inotify.h>.
25126 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25128 bits/inotify.h.
25129
251302012-02-13 Joseph Myers <joseph@codesourcery.com>
25131
25132 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25133 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25134 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25135 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25136 <bits/eventfd.h>.
25137 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25139 bits/eventfd.h.
25140
251412012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25142
25143 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25144 __feraiseexcept instead of feraiseexcept.
25145
25146 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25147 nanosleep invocations.
25148 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25149 strings, and add error checking for a nanosleep invocations.
25150
251512012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25152
25153 Replace FSF snail mail address with URLs, as per GNU coding standards.
25154 Most of the snail mail addresses were wrong anyway, and omitting
25155 them makes the source code easier to maintain. Almost all of the
25156 changes are to license notices and to locale LC_IDENTIFICATION
25157 addresses, except for this one:
25158 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25159 not its snail mail address.
25160
251612012-02-09 Richard Henderson <rth@twiddle.net>
25162
25163 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25164 of kernel-features.h.
25165
25166 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25167
251682012-02-08 Marek Polacek <polacek@redhat.com>
25169
25170 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25171 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25172 * sysdeps/gnu/_G_config.h: Likewise.
25173 * sysdeps/generic/_G_config.h: Likewise.
25174
251752012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25176
25177 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25178 tests.
25179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25180
25181 * sysdeps/powerpc/powerpc32/crti.S: New file.
25182 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25183 * sysdeps/powerpc/powerpc64/crti.S: New file.
25184 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25185
25186 * Makeconfig (have-initfini): Don't set.
25187 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25188 * configure.in (nopic_initfini): Don't substitute.
25189 * config.h.in (HAVE_INITFINI): Don't #undef.
25190 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25191 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25192
251932012-02-08 Joseph Myers <joseph@codesourcery.com>
25194
25195 Support crti.S and crtn.S provided directly by architectures.
25196 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25197 [crti.S in sysdirs] (omit-deps): Likewise.
25198 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25199 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25200 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25201 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25202 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25203 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25204 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25205 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25206 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25207 compiler output for sysdeps/generic/initfini.c.
25208 * sysdeps/i386/elf/Makefile: Remove file.
25209 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25210
252112012-02-07 Marek Polacek <polacek@redhat.com>
25212
25213 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25214 * sysdeps/gnu/_G_config.h: Likewise.
25215 * sysdeps/mach/hurd/_G_config.h: Likewise.
25216
252172012-02-07 Marek Polacek <polacek@redhat.com>
25218
25219 * math/Makefile (tests): Add tst-CMPLX2.
25220 * math/tst-CMPLX2.c: New file.
25221
252222012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25223
25224 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25225
25226 * math/libm-test.inc (jn_test): Add missing L suffix.
25227
252282012-02-06 Marek Polacek <polacek@redhat.com>
25229
25230 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25231 * sysdeps/i386/fpu/e_powf.S: Likewise.
25232 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25233 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25234 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25235 * sysdeps/i386/fpu/e_pow.S: Likewise.
25236 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25237 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25238 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25239 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25240 * sysdeps/i386/fpu/e_log2.S: Likewise.
25241 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25242 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25243 * sysdeps/i386/fpu/e_powl.S: Likewise.
25244 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25245 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25246 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25247 * sysdeps/i386/fpu/e_logl.S: Likewise.
25248 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25249 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25250 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25251 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25252 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25253 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25254 * sysdeps/i386/fpu/e_log.S: Likewise.
25255 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25256 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25257 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25258 * sysdeps/i386/fpu/e_logf.S: Likewise.
25259 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25260 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25261 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25262 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25263 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25264 * sysdeps/i386/fpu/e_log10.S: Likewise.
25265 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25266 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25267 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25268 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25270 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25271 * sysdeps/i386/asm-syntax.h: Likewise.
25272 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25273 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25274 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25275 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25276 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25277 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25278 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25279 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25280 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25281 * sysdeps/powerpc/sysdep.h: Likewise.
25282 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25283 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25284
252852012-02-06 Joseph Myers <joseph@codesourcery.com>
25286
25287 [BZ #411]
25288 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25289
252902012-02-06 Joseph Myers <joseph@codesourcery.com>
25291
25292 * sysdeps/i386/sysdep.h: Include <features.h>.
25293 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25294 version.
25295
252962012-02-05 Joseph Myers <joseph@codesourcery.com>
25297
25298 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25299 Define.
25300 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25301 LOAD_PIC_REG_STR.
25302
253032012-02-03 Joseph Myers <joseph@codesourcery.com>
25304
25305 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25306 (SETUP_PIC_REG): Use GET_PC_THUNK.
25307 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25308 macro.
25309
253102012-02-03 Joseph Myers <joseph@codesourcery.com>
25311
25312 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25313 for non-PIC compilation.
25314 (SETUP_PIC_REG): Add .p2align directive.
25315 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25316 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25317 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25318 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25319 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25320 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25321 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25323 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25324 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25325 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25326 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25327 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25328 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25329 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25330 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25331 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25332 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25333 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25334 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25335 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25336 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25337 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25338 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25341 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25342 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25343 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25344 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25345 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25346 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25347 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25348 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25349 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25350 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25351 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25352 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25354 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25355 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25356
253572012-02-03 Joseph Myers <joseph@codesourcery.com>
25358
25359 * math/tst-CMPLX.c: Include <stdio.h>.
25360
253612012-01-31 Joseph Myers <joseph@codesourcery.com>
25362
25363 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25364 float.
25365 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25366 * sysdeps/sparc/bits/mathdef.h: Likewise.
25367
253682012-01-31 Marek Polacek <polacek@redhat.com>
25369
25370 * libio/libio.h: Don't define _PARAMS.
25371 * locale/programs/config.h: Don't define PARAMS.
25372 * stdlib/strtol_l.c: Likewise.
25373 (__strtol_l): Remove PARAMS from the prototype.
25374
253752012-01-31 Ulrich Drepper <drepper@gmail.com>
25376
25377 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25378 names. Just use the correct names. Remove unnecessary wrapper
25379 functions.
25380 * malloc/arena.c: Likewise.
25381 * malloc/hooks.c: Likewise.
25382
25383 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25384 ARENA_TEST says not to. Simplify test for creation of a new arena.
25385 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25386
253872012-01-30 Ulrich Drepper <drepper@gmail.com>
25388
25389 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25390 into tail calls.
25391 (update_get_addr): New function.
25392 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25393 GET_ADDR_MODULE parameter.
25394
253952012-01-30 Joseph Myers <joseph@codesourcery.com>
25396
25397 * crypt/cert.c: Remove __STDC__ conditionals.
25398 * crypt/crypt-entry.c: Likewise.
25399 * crypt/crypt_util.c: Likewise.
25400 * libio/filedoalloc.c: Likewise.
25401 * libio/fileops.c: Likewise.
25402 * libio/genops.c: Likewise.
25403 * libio/iofclose.c: Likewise.
25404 * libio/iofdopen.c: Likewise.
25405 * libio/iofopen.c: Likewise.
25406 * libio/iofopen64.c: Likewise.
25407 * libio/iogetdelim.c: Likewise.
25408 * libio/iopopen.c: Likewise.
25409 * libio/obprintf.c: Likewise.
25410 * libio/oldfileops.c: Likewise.
25411 * libio/oldiofclose.c: Likewise.
25412 * libio/oldiofdopen.c: Likewise.
25413 * libio/oldiofopen.c: Likewise.
25414 * libio/oldiopopen.c: Likewise.
25415 * libio/wfiledoalloc.c: Likewise.
25416 * libio/wgenops.c: Likewise.
25417 * locale/programs/xmalloc.c: Likewise.
25418 * misc/syslog.c: Likewise.
25419 * stdio-common/xbug.c: Likewise.
25420 * string/memchr.c: Likewise.
25421 * string/memcmp.c: Likewise.
25422 * string/memrchr.c: Likewise.
25423 * string/rawmemchr.c: Likewise.
25424 * sysdeps/posix/getcwd.c: Likewise.
25425 * time/strftime_l.c: Likewise.
25426
254272012-01-30 Joseph Myers <joseph@codesourcery.com>
25428
25429 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25430 * config.make.in (config-cflags-sse2avx): Define.
25431 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25432 Fix typo.
25433
254342012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25435
25436 * scripts/config.guess: Update from upstream config git repository.
25437 * scripts/config.sub: Likewise.
25438
254392012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25440
25441 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25442 (EM_NUM): Update.
25443 (R_TILEPRO_*, R_TILEGX_*): New macros.
25444
25445 * scripts/firstversions.awk: Fix bug in version range handling.
25446
25447 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25448
25449 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25450
25451 * include/sys/epoll.h: New file.
25452 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25453 libc_hidden_def.
25454
254552012-01-28 Ulrich Drepper <drepper@gmail.com>
25456
25457 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25458 Avoid unnecessary __WORDSIZE == 64 test.
25459 (fmaxf): Use VEX format if possible.
25460 (fmax): Likewise.
25461 (fminf): Likewise.
25462 (fmin): Likewise.
25463
25464 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25465 * math/math_private.h: Remove libc_fegetround* and
25466 libc_fesetround*.
25467 * sysdeps/i386/configure.in: Check for -msse2avx.
25468 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25469 also if SSE2AVX is defined.
25470 Remove libc_fegetround* and libc_fesetround*.
25471 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25472 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25473 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25474 of HAS_YMM_USABLE.
25475 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25476 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25477 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25478 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25479 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25480
25481 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25482
254832012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25484
25485 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25486 size is not set.
25487 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25488
254892012-01-27 Ulrich Drepper <drepper@gmail.com>
25490
25491 [BZ #13618]
25492 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25493 relocation.
25494 * Makeconfig (libm): Define.
25495 * elf/Makefile: Add rules to build and run tst-relsort1.
25496 * elf/tst-relsort1.c: New file.
25497 * elf/tst-relsort1mod1.c: New file.
25498 * elf/tst-relsort1mod2.c: New file.
25499
255002012-01-27 Joseph Myers <joseph@codesourcery.com>
25501
25502 * math/s_ldexp.c: Remove __STDC__ conditionals.
25503 * math/s_ldexpf.c: Likewise.
25504 * math/s_ldexpl.c: Likewise.
25505 * math/s_nextafter.c: Likewise.
25506 * math/s_nexttowardf.c: Likewise.
25507 * math/s_significand.c: Likewise.
25508 * math/s_significandf.c: Likewise.
25509 * math/s_significandl.c: Likewise.
25510 * math/w_jnl.c: Likewise.
25511 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25512 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25513 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25514 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25515 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25530 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25531 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25532 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25533 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25534 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25535 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25536 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25537 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25538 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25539 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25540 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25541 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25542 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25543 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25544 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25545 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25546 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25547 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25548 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25549 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25551 * sysdeps/ieee754/k_standard.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25600 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25601 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25613 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25615 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25617 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25618 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25626 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25627 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25631 * sysdeps/ieee754/s_matherr.c: Likewise.
25632 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25633 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25636
256372012-01-26 Joseph Myers <joseph@codesourcery.com>
25638
25639 * crypt/md5.h: Remove __STDC__ conditionals.
25640 * libio/libioP.h: Likewise.
25641 * locale/programs/config.h: Likewise.
25642 * sysdeps/generic/sysdep.h: Likewise.
25643 * sysdeps/i386/asm-syntax.h: Likewise.
25644 * sysdeps/s390/asm-syntax.h: Likewise.
25645 * sysdeps/unix/sysdep.h: Likewise.
25646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25648
256492012-01-26 Joseph Myers <joseph@codesourcery.com>
25650
25651 * libio/libio.h: Remove __STDC__ conditionals.
25652 * malloc/obstack.h: Likewise.
25653 * math/complex.h: Likewise.
25654 * math/math.h: Likewise.
25655 * sysdeps/generic/_G_config.h: Likewise.
25656 * sysdeps/gnu/_G_config.h: Likewise.
25657 * sysdeps/mach/hurd/_G_config.h: Likewise.
25658 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25659 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25660 * sysdeps/sparc/bits/mathdef.h: Likewise.
25661
256622012-01-26 Ulrich Drepper <drepper@gmail.com>
25663
25664 [BZ #13583]
25665 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25666 Clean up HAS_* macros.
25667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25668 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25669 possible.
25670 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25671 HAS_AVX.
25672 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25673 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25674 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25675 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25676 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25677
256782012-01-25 Joseph Myers <joseph@codesourcery.com>
25679
25680 * elf/tst-unique3.cc (gets): Remove declaration.
25681 * elf/tst-unique3lib.cc (gets): Likewise.
25682 * elf/tst-unique3lib2.cc (gets): Likewise.
25683 * elf/tst-unique4.cc (gets): Likewise.
25684
256852012-01-24 Ulrich Drepper <drepper@gmail.com>
25686
25687 * include/stdio.h: Add C++ protection. Add gets declarations and
25688 definitions.
25689 * debug/tst-chk1.c: Don't declare gets here.
25690 * stdio-common/tst-gets.c: Likewise.
25691
256922012-01-24 Joseph Myers <joseph@codesourcery.com>
25693
25694 * posix/glob: Remove directory.
25695
256962012-01-24 Joseph Myers <joseph@codesourcery.com>
25697
25698 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25699
257002012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25701
25702 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25703 of the non-standard EPFNOSUPPORT.
25704
257052011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25706
25707 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25708 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25709 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25710
257112012-01-21 Ulrich Drepper <drepper@gmail.com>
25712
25713 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25714
257152012-01-20 Ulrich Drepper <drepper@gmail.com>
25716
25717 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25718 transient errors.
25719 * nscd/grpcache.c (cache_addgr): Likewise.
25720 * nscd/hstcache.c (cache_addhst): Likewise.
25721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25722 * nscd/pwdcache.c (cache_addpw): Likewise.
25723 * nscd/servicescache.c (cache_addserv): Likewise.
25724
257252012-01-16 Ulrich Drepper <drepper@gmail.com>
25726
25727 * malloc/malloc.c: Various cleanups.
25728 * malloc/hooks.c: Likewise.
25729
25730 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25731 * stdlib/bug-fmtmsg1.c: New file.
25732
25733 * stdlib/fmtmsg.c (init): Add missing unlock.
25734 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25735
257362012-01-12 Marek Polacek <polacek@redhat.com>
25737
25738 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25739 and _GNU_SOURCE.
25740
257412012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25742
25743 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25744 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25745 macro to ensure uniqueness of label name.
25746 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25747 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25748
257492012-01-11 Ulrich Drepper <drepper@gmail.com>
25750
25751 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25752
25753 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25754 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25755 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25757
257582012-01-10 Ulrich Drepper <drepper@gmail.com>
25759
25760 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25761
25762 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25763 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25764 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25765
25766 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25767
25768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25769 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25770 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25771 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25772
25773 * math/bits/math-finite.h: Add ldexp support.
25774
257752012-01-10 Marek Polacek <polacek@redhat.com>
25776
25777 * locale/programs/localedef.h (show_archive_content): Add noreturn
25778 attribute.
25779
257802012-01-09 Ulrich Drepper <drepper@gmail.com>
25781
25782 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25783
257842012-01-08 Ulrich Drepper <drepper@gmail.com>
25785
25786 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25787
25788 * io/Makefile (headers): Add bits/poll2.h.
25789
257902011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25791
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25793 typo #include statement.
25794
257952012-01-08 Ulrich Drepper <drepper@gmail.com>
25796
25797 * include/sys/cdefs.h: Define __attribute_alloc_size.
25798 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25799 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25800 * elf/pldd.c: Likewise.
25801 * iconv/iconv_charmap.c: Likewise.
25802 * iconv/iconvconfig.c: Likewise.
25803 * iconv/strtab.c: Likewise.
25804 * locale/programs/locale.c: Likewise.
25805 * locale/programs/localedef.h: Likewise.
25806 * locale/programs/simple-hash.c: Likewise.
25807 * nscd/nscd.h: Likewise.
25808 * nss/makedb.c: Likewise.
25809 * sysdeps/generic/ldconfig.h: Likewise.
25810 * locale/programs/localedef.c: Remove xmalloc prototype.
25811 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25812
258132012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25814
25815 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25816 appropriate.
25817
258182012-01-08 Ulrich Drepper <drepper@gmail.com>
25819
25820 * math/Makefile (tests): Add tst-CMPLX.
25821 * math/tst-CMPLX.c: New file.
25822
25823 * math/complex.h (CMPLXL): Fix typo.
25824
25825 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25826 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25827 GLIBC_2.16.
25828 * debug/tst-chk1.c: Add poll and ppoll tests.
25829 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25830 * include/sys/poll.h: Add hidden proto for ppoll.
25831 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25832 * sysdeps/mach/hurd/ppoll.c: Likewise.
25833 * io/ppoll.c: Likewise.
25834 * debug/poll_chk.c: New file.
25835 * debug/ppoll_chk.c: New file.
25836 * include/bits/poll2.h: New file.
25837 * io/bits/poll2.h: New file.
25838
25839 [BZ #1350]
25840 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25841
25842 * configure.in: static is always set to yes. Remove.
25843 * config.make.in: Don't set build-static.
25844 * Makeconfig: Remove use of build-static.
25845 * dlfcn/Makefile: Likewise.
25846 * elf/Makefile: Likewise.
25847 * math/Makefile: Likewise.
25848 * misc/Makefile: Likewise.
25849 * nptl/Makefile: Likewise.
25850 * sysdeps/mach/hurd/Makefile: Likewise.
25851
25852 * configure.in: PWD_P is not used anymore.
25853 * config.make.in: Remove PWD_P entry.
25854
25855 * configure.in: Remove last remnants of RANLIB.
25856 No need to check for signed size_t anymore.
25857 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25858 and IA-64.
25859 Remove __builtin_expect test because we require at least gcc 3.4.
25860 * aclocal.m4: Likewise.
25861
25862 * wcsmbs/mbrtoc16.c: Implement using towc function.
25863 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25864 * wcsmbs/wcsmbsload.c: Likewise.
25865 * iconv/gconv_simple.c: Likewise.
25866 * iconv/gconv_int.h: Likewise.
25867 * iconv/gconv_builtin.h: Likewise.
25868 * iconv/iconv_prog.c: Remove CHAR16 handling.
25869
25870 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25871
25872 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25873
25874 * configure.in: Remove --with-elf and --enable-bounded options.
25875 Dont set base_machine for ia64. More non-ELF conditions removed.
25876 Remove testing and setting of leading underscore information.
25877 * config.make.in (build-bounded): Set to no.
25878 * config.h.in: Remove NO_UNDERSCORES entry.
25879 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25880 them.
25881 * csu/start.c: Remove !NO_UNDERSCORE code.
25882 * locale/localeinfo.h: Likewise.
25883 * sysdeps/generic/machine-gmon.h: Likewise.
25884 * sysdeps/generic/sysdep.h: Likewise.
25885 * sysdeps/i386/sysdep.h: Likewise.
25886 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25887 * sysdeps/mach/sysdep.h: Likewise.
25888 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25890 * sysdeps/sh/sysdep.h: Likewise.
25891 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25892 * sysdeps/unix/i386/sysdep.S: Likewise.
25893 * sysdeps/unix/sparc/start.c: Likewise.
25894 * sysdeps/unix/sparc/sysdep.S: Likewise.
25895 * sysdeps/unix/sparc/sysdep.h: Likewise.
25896 * sysdeps/unix/start.c: Likewise.
25897 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25898 * sysdeps/x86_64/sysdep.h: Likewise.
25899
259002012-01-07 Ulrich Drepper <drepper@gmail.com>
25901
25902 [BZ #13553]
25903 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25904 for non-gcc.
25905 * argp/argp-fmtstream.h: Use const instead __const.
25906 * argp/argp.h: Likewise.
25907 * assert/assert.h: Likewise.
25908 * bits/fenv.h: Likewise.
25909 * bits/sched.h: Likewise.
25910 * bits/sigset.h: Likewise.
25911 * bits/sigthread.h: Likewise.
25912 * catgets/nl_types.h: Likewise.
25913 * conform/data/pthread.h-data: Likewise.
25914 * crypt/crypt-private.h: Likewise.
25915 * crypt/crypt.h: Likewise.
25916 * crypt/crypt_util.c: Likewise.
25917 * ctype/ctype.h: Likewise.
25918 * debug/execinfo.h: Likewise.
25919 * debug/mbsnrtowcs_chk.c: Likewise.
25920 * debug/mbsrtowcs_chk.c: Likewise.
25921 * debug/wcsnrtombs_chk.c: Likewise.
25922 * debug/wcsrtombs_chk.c: Likewise.
25923 * debug/wcstombs_chk.c: Likewise.
25924 * dirent/dirent.h: Likewise.
25925 * dlfcn/dlfcn.h: Likewise.
25926 * elf/neededtest4.c: Likewise.
25927 * grp/grp.h: Likewise.
25928 * gshadow/gshadow.h: Likewise.
25929 * iconv/gconv.h: Likewise.
25930 * iconv/gconv_int.h: Likewise.
25931 * iconv/gconv_simple.c: Likewise.
25932 * iconv/iconv.h: Likewise.
25933 * iconv/loop.c: Likewise.
25934 * iconv/skeleton.c: Likewise.
25935 * include/aio.h: Likewise.
25936 * include/aliases.h: Likewise.
25937 * include/argz.h: Likewise.
25938 * include/arpa/inet.h: Likewise.
25939 * include/assert.h: Likewise.
25940 * include/dirent.h: Likewise.
25941 * include/dlfcn.h: Likewise.
25942 * include/execinfo.h: Likewise.
25943 * include/fcntl.h: Likewise.
25944 * include/fenv.h: Likewise.
25945 * include/glob.h: Likewise.
25946 * include/grp.h: Likewise.
25947 * include/libintl.h: Likewise.
25948 * include/mntent.h: Likewise.
25949 * include/netdb.h: Likewise.
25950 * include/pwd.h: Likewise.
25951 * include/rpc/netdb.h: Likewise.
25952 * include/sched.h: Likewise.
25953 * include/search.h: Likewise.
25954 * include/shadow.h: Likewise.
25955 * include/signal.h: Likewise.
25956 * include/stdio.h: Likewise.
25957 * include/stdlib.h: Likewise.
25958 * include/string.h: Likewise.
25959 * include/sys/socket.h: Likewise.
25960 * include/sys/stat.h: Likewise.
25961 * include/sys/statfs.h: Likewise.
25962 * include/sys/statvfs.h: Likewise.
25963 * include/sys/syslog.h: Likewise.
25964 * include/sys/time.h: Likewise.
25965 * include/sys/uio.h: Likewise.
25966 * include/time.h: Likewise.
25967 * include/unistd.h: Likewise.
25968 * include/utmp.h: Likewise.
25969 * include/wchar.h: Likewise.
25970 * include/wctype.h: Likewise.
25971 * inet/aliases.h: Likewise.
25972 * inet/arpa/inet.h: Likewise.
25973 * inet/netinet/ether.h: Likewise.
25974 * inet/netinet/in.h: Likewise.
25975 * intl/libintl.h: Likewise.
25976 * io/bits/fcntl2.h: Likewise.
25977 * io/fcntl.h: Likewise.
25978 * io/ftw.h: Likewise.
25979 * io/sys/poll.h: Likewise.
25980 * io/sys/stat.h: Likewise.
25981 * io/sys/statfs.h: Likewise.
25982 * io/sys/statvfs.h: Likewise.
25983 * io/utime.h: Likewise.
25984 * libio/bits/stdio.h: Likewise.
25985 * libio/bits/stdio2.h: Likewise.
25986 * libio/libio.h: Likewise.
25987 * libio/libioP.h: Likewise.
25988 * libio/stdio.h: Likewise.
25989 * locale/lc-ctype.c: Likewise.
25990 * locale/locale.h: Likewise.
25991 * login/utmp.h: Likewise.
25992 * malloc/arena.c: Likewise.
25993 * malloc/malloc.c: Likewise.
25994 * malloc/malloc.h: Likewise.
25995 * malloc/mcheck.c: Likewise.
25996 * malloc/mtrace.c: Likewise.
25997 * math/bits/mathcalls.h: Likewise.
25998 * math/fenv.h: Likewise.
25999 * math/math_private.h: Likewise.
26000 * misc/bits/error.h: Likewise.
26001 * misc/bits/syslog.h: Likewise.
26002 * misc/err.h: Likewise.
26003 * misc/error.h: Likewise.
26004 * misc/fstab.h: Likewise.
26005 * misc/mntent.h: Likewise.
26006 * misc/regexp.h: Likewise.
26007 * misc/search.h: Likewise.
26008 * misc/sgtty.h: Likewise.
26009 * misc/sys/mman.h: Likewise.
26010 * misc/sys/syslog.h: Likewise.
26011 * misc/sys/uio.h: Likewise.
26012 * misc/sys/xattr.h: Likewise.
26013 * misc/ttyent.h: Likewise.
26014 * nis/rpcsvc/ypclnt.h: Likewise.
26015 * nss/nss.h: Likewise.
26016 * posix/bits/unistd.h: Likewise.
26017 * posix/fnmatch.h: Likewise.
26018 * posix/glob.h: Likewise.
26019 * posix/sched.h: Likewise.
26020 * posix/spawn.h: Likewise.
26021 * posix/sys/wait.h: Likewise.
26022 * posix/unistd.h: Likewise.
26023 * posix/wordexp.h: Likewise.
26024 * pwd/pwd.h: Likewise.
26025 * resolv/netdb.h: Likewise.
26026 * resource/sys/resource.h: Likewise.
26027 * rt/aio.h: Likewise.
26028 * rt/bits/mqueue2.h: Likewise.
26029 * rt/mqueue.h: Likewise.
26030 * shadow/shadow.h: Likewise.
26031 * signal/signal.h: Likewise.
26032 * socket/send.c: Likewise.
26033 * socket/sendto.c: Likewise.
26034 * socket/sys/socket.h: Likewise.
26035 * stdio-common/printf.h: Likewise.
26036 * stdlib/bits/stdlib.h: Likewise.
26037 * stdlib/fmtmsg.h: Likewise.
26038 * stdlib/monetary.h: Likewise.
26039 * stdlib/stdlib.h: Likewise.
26040 * stdlib/ucontext.h: Likewise.
26041 * streams/stropts.h: Likewise.
26042 * string/argz.h: Likewise.
26043 * string/bits/string2.h: Likewise.
26044 * string/string.h: Likewise.
26045 * string/strings.h: Likewise.
26046 * sunrpc/rpc/auth.h: Likewise.
26047 * sunrpc/rpc/auth_des.h: Likewise.
26048 * sunrpc/rpc/clnt.h: Likewise.
26049 * sunrpc/rpc/netdb.h: Likewise.
26050 * sunrpc/rpc/pmap_clnt.h: Likewise.
26051 * sunrpc/rpc/xdr.h: Likewise.
26052 * sysdeps/generic/inttypes.h: Likewise.
26053 * sysdeps/generic/net/if.h: Likewise.
26054 * sysdeps/generic/sys/swap.h: Likewise.
26055 * sysdeps/gnu/net/if.h: Likewise.
26056 * sysdeps/gnu/utmpx.h: Likewise.
26057 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26058 * sysdeps/i386/i486/bits/string.h: Likewise.
26059 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26060 * sysdeps/s390/bits/string.h: Likewise.
26061 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26062 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26063 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26064 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26065 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26066 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26067 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26068 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26069 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26070 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26071 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26072 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26073 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26074 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26075 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26076 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26077 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26078 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26079 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26080 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26082 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26083 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26084 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26085 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26086 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26087 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26088 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26089 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26090 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26091 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26092 * sysvipc/sys/ipc.h: Likewise.
26093 * sysvipc/sys/msg.h: Likewise.
26094 * sysvipc/sys/sem.h: Likewise.
26095 * sysvipc/sys/shm.h: Likewise.
26096 * termios/termios.h: Likewise.
26097 * time/sys/time.h: Likewise.
26098 * time/time.h: Likewise.
26099 * wcsmbs/bits/wchar2.h: Likewise.
26100 * wcsmbs/uchar.h: Likewise.
26101 * wcsmbs/wchar.h: Likewise.
26102 * wctype/wctype.h: Likewise.
26103
26104 [BZ #13551]
26105 * Makeconfig: Remove all but ELF support including AIX support.
26106 * Makerules: Likewise.
26107 * config.h.in: Likewise.
26108 * config.make.in: Likewise.
26109 * configure: Likewise.
26110 * configure.in: Likewise.
26111 * csu/Makefile: Likewise.
26112 * csu/version.c: Likewise.
26113 * debug/Makefile: Likewise.
26114 * dlfcn/Makefile: Likewise.
26115 * elf/Makefile: Likewise.
26116 * extra-lib.mk: Likewise.
26117 * iconv/Makefile: Likewise.
26118 * include/libc-symbols.h: Likewise.
26119 * include/shlib-compat.h: Likewise.
26120 * resolv/Makefile: Likewise.
26121 * resolv/res_libc.c: Likewise.
26122 * rt/Makefile: Likewise.
26123 * sysdeps/i386/asm-syntax.h: Likewise.
26124 * sysdeps/i386/sysdep.h: Likewise.
26125 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26126 * sysdeps/mach/sysdep.h: Likewise.
26127 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26128 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26129 * sysdeps/s390/asm-syntax.h: Likewise.
26130 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26131 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26132 * sysdeps/sh/sysdep.h: Likewise.
26133 * sysdeps/unix/sparc/sysdep.h: Likewise.
26134 * sysdeps/wordsize-32/divdi3.c: Likewise.
26135 * sysdeps/x86_64/sysdep.h: Likewise.
26136
26137 * argp/Versions: Remove _argp_unlock_xxx.
26138
26139 [BZ #13559]
26140 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26141 * abilist/libBrokenLocale.abilist: Likewise.
26142 * abilist/libanl.abilist: Likewise.
26143 * abilist/libc.abilist: Likewise.
26144 * abilist/libcrypt.abilist: Likewise.
26145 * abilist/libdl.abilist: Likewise.
26146 * abilist/libm.abilist: Likewise.
26147 * abilist/libnsl.abilist: Likewise.
26148 * abilist/libpthread.abilist: Likewise.
26149 * abilist/libresolv.abilist: Likewise.
26150 * abilist/librt.abilist: Likewise.
26151 * abilist/libthread_db.abilist: Likewise.
26152 * abilist/libutil.abilist: Likewise.
26153 * abilist/libnss_db.abilist: New file.
26154
26155 * scripts/abilist.awk: Add support for indirect functions.
26156
26157 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26158
26159 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26160
26161 * shlib-versions: Remove entries for ports architectures.
26162
26163 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26164 files in ports.
26165 * elf/stackguard-macros.h: Remove support for IA-64.
26166 * elf/tst-auditmod1.c: Likewise.
26167 * sysdeps/generic/ldsodefs.h: Likewise.
26168
26169 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26170 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26171 configure files.
26172
26173 [BZ #13552]
26174 * configure.in: Remove --enable-omitfp support.
26175 * FAQ.in: Adjust.
26176 * config.make.in: Likewise.
26177 * Makeconfig: Likewise.
26178 * manual/install.texi: Likewise.
26179
26180 In case anyone cares, the IA-64 architecture could move to ports.
26181 * sysdeps/ia64/*: Removed.
26182 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26183 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26184
26185 [BZ #13555]
26186 * configure.in: Remove entries for unsupported architectures.
26187
26188 [BZ #13533]
26189 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26190 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26191 routines.
26192 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26193 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26194 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26195 fall back to using wcrtomb.
26196 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26197 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26198 renaming.
26199 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26200 * wcsmbs/tst-c16c32-1.c: New file.
26201
26202 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26203 local variable.
26204
26205 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26206
26207 * elf/tst-unique3.cc: Add explicit declaration of gets.
26208 * elf/tst-unique3lib.cc: Likewise.
26209 * elf/tst-unique3lib2.cc: Likewise.
26210 * elf/tst-unique4.cc: Likewise.
26211
26212 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26213
262142012-01-06 Joseph Myers <joseph@codesourcery.com>
26215
26216 [BZ #13566]
26217 * assert/assert.h (static_assert): Don't define for C++.
26218 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26219 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26220
262212012-01-03 Ulrich Drepper <drepper@gmail.com>
26222
26223 * iconv/loop.c (single loop): Fix assertion in storing of
26224 remaining bytes.
26225
26226 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26227
262282012-01-01 Ulrich Drepper <drepper@gmail.com>
26229
26230 * posix/getconf.c: Update copyright year.
26231 * nss/getent.c: Likewise.
26232 * nss/makedb.c: Likewise.
26233 * iconv/iconvconfig.c: Likewise.
26234 * iconv/iconv_prog.c: Likewise.
26235 * elf/ldconfig.c: Likewise.
26236 * elf/pldd.c: Likewise.
26237 * elf/sotruss.ksh: Likewise.
26238 * catgets/gencat.c: Likewise.
26239 * csu/version.c: Likewise.
26240 * elf/ldd.bash.in: Likewise.
26241 * elf/sprof.c (print_version): Likewise.
26242 * locale/programs/locale.c: Likewise.
26243 * locale/programs/localedef.c: Likewise.
26244 * login/programs/pt_chown.c: Likewise.
26245 * nscd/nscd.c (print_version): Likewise.
26246 * debug/xtrace.sh: Likewise.
26247 * malloc/memusage.sh: Likewise.
26248 * malloc/mtrace.pl: Likewise.
26249 * debug/catchsegv.sh: Likewise.
26250
262512011-12-30 Jakub Jelinek <jakub@redhat.com>
26252
26253 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26254 pure attribute.
26255
262562011-12-24 Ulrich Drepper <drepper@gmail.com>
26257
26258 [BZ #13533]
26259 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26260 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26261 transformations.
26262 * iconv/gconv_int.h: Likewise.
26263 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26264 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26265 from libc for GLIBC_2.16.
26266 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26267 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26268 * wcsmbs/uchar.h: Really define mbstate_t.
26269 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26270 * wcsmbs/c16rtomb.c: New file.
26271 * wcsmbs/mbrtoc16.c: New file.
26272 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26273 for C/POSIX locale.
26274 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26275 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26276
26277 * wcsmbs/wchar.h: Add missing __restrict.
26278
262792011-12-23 Ulrich Drepper <drepper@gmail.com>
26280
26281 [BZ #13532]
26282 * time/Makefile (routines): Add timespec_get.
26283 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26284 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26285 timespec for ISO C11.
26286 * time/timespec_get.c: New file.
26287 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26288 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26289
26290 [BZ #13531]
26291 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26292 * stdlib/stdlib.h: Declare aligned_alloc.
26293 * Versions.def: Add GLIBC_2.16 for libc.
26294 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26295
26296 [BZ 13527]
26297 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26298 ISO C11.
26299
26300 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26301 code.
26302
26303 [BZ #13528]
26304 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26305
26306 [BZ #13529]
26307 * assert/assert.h (static_assert): Define.
26308
26309 * version.h: Update for 2.16 development version.
26310
26311 [BZ #13526]
26312 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26313 _ISOC11_SOURCE.
26314
26315 * version.h (RELEASE): Bump for 2.15 release.
26316 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26317
26318 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26319 Patch by Marek Polacek <mpolacek@redhat.com>.
26320
26321 * bits/byteswap.h: Protect long long constants with __extension__.
26322 * sysdeps/i386/bits/byteswap.h: Likewise.
26323 * sysdeps/ia64/bits/byteswap.h: Likewise.
26324 * sysdeps/s390/bits/byteswap.h: Likewise.
26325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26326
263272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26328
26329 [BZ #13540]
26330 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26331 destination buffer.
26332 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26333
263342011-12-23 Marek Polacek <polacek@redhat.com>
26335
26336 * elf/dl-addr.c (determine_info): Add inline keyword.
26337 * elf/tst-auditmod4b.c (check_avx): Likewise.
26338 * elf/tst-auditmod6b.c (check_avx): Likewise.
26339 * elf/tst-auditmod6c.c (check_avx): Likewise.
26340 * elf/tst-auditmod7b.c (check_avx): Likewise.
26341
263422011-12-23 Ulrich Drepper <drepper@gmail.com>
26343
26344 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26345 !__SSE_MATH__.
26346
263472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26348
26349 [BZ #13540]
26350 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26351 processing for last bytes.
26352
263532011-08-06 Bruno Haible <bruno@clisp.org>
26354
26355 [BZ #13061]
26356 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26357 U+0385, not to U+1FEE.
26358
26359 [BZ #13062]
26360 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26361 entry for U+00A5 U+0301.
26362
263632011-12-22 Ulrich Drepper <drepper@gmail.com>
26364
26365 [BZ #13166]
26366 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26367 buffer for the output is too small.
26368
26369 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26370 optimization.
26371
26372 [BZ #13185]
26373 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26374 SSE flags if possible.
26375
263762011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26377
26378 [BZ #13540]
26379 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26380 processing for last bytes.
26381
263822011-12-22 Joseph Myers <joseph@codesourcery.com>
26383
26384 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26385 (syscall-list-default-options, syscall-list-default-condition)
26386 (syscall-list-includes): Define.
26387 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26388 list of ABIs and options and #if conditions for each ABI. Do not
26389 handle common syscalls between ABIs specially.
26390 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26391 Remove.
26392 (syscall-list-variants, syscall-list-32bit-options)
26393 (syscall-list-32bit-condition, syscall-list-64bit-options)
26394 (syscall-list-64bit-condition): Define.
26395 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26396 (syscall-list-variants, syscall-list-32bit-options)
26397 (syscall-list-32bit-condition, syscall-list-64bit-options)
26398 (syscall-list-64bit-condition): Define.
26399 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26400 Remove.
26401 (syscall-list-variants, syscall-list-32bit-options)
26402 (syscall-list-32bit-condition, syscall-list-64bit-options)
26403 (syscall-list-64bit-condition): Define.
26404 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26405 Remove.
26406 (syscall-list-variants, syscall-list-32bit-options)
26407 (syscall-list-32bit-condition, syscall-list-64bit-options)
26408 (syscall-list-64bit-condition): Define.
26409
264102011-12-22 Ulrich Drepper <drepper@gmail.com>
26411
26412 * locale/iso-639.def: Add brx entry.
26413
26414 [BZ #13328]
26415 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26416 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26417
26418 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26419 __feraiseexcept_renamed.
26420
264212011-12-21 Ulrich Drepper <drepper@gmail.com>
26422
26423 [BZ #13538]
26424 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26425 EPOLLET with unsigned values.
26426 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26428
26429 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26430 to large cancellation.
26431 * math/s_cacoshf.c: Likewise.
26432 * math/s_cacoshl.c: Likewise.
26433
264342011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26435
26436 [BZ #13305]
26437 [BZ #12786]
26438 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26439 * math/s_cacoshf.c: Likewise.
26440 * math/s_cacoshl.c: Likewise.
26441
264422011-12-21 Ulrich Drepper <drepper@gmail.com>
26443
26444 [BZ #13439]
26445 * iconv/gconv.h: Define __GCONV_SWAP.
26446 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26447 * iconvdata/utf-16.c: Likewise.
26448 * iconvdata/utf-32.c: Likewise.
26449
264502011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26451
26452 [BZ #13524]
26453 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26454 numerator after shifting it by one limb.
26455
264562011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26457
26458 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26459 under [__USE_EXTERN_INLINES].
26460
264612011-12-17 Ulrich Drepper <drepper@gmail.com>
26462
26463 [BZ #13446]
26464 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26465
264662011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26467
26468 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26469 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26470 optimized code.
26471 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26472 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26473 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26474 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26475 for strncasecmp/strncasecmp_l compilation.
26476 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26477 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26478
264792011-12-08 Marek Polacek <mpolacek@redhat.com>
26480
26481 [BZ #13484]
26482 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26483 of __asm__.
26484
264852011-12-17 Ulrich Drepper <drepper@gmail.com>
26486
26487 [BZ #13506]
26488 * time/tzfile.c (__tzfile_read): Check values from file header.
26489
264902011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26491
26492 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26493 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26494 * powerpc/powerpc32/dl-start.S: Likewise.
26495 * powerpc/powerpc32/elf/start.S: Likewise.
26496 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26497 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26498 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26499 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26500 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26501 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26502 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26503 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26504 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26505 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26506 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26507 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26508 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26509 * powerpc/powerpc32/memset.S: Likewise.
26510 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26511 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26512 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26513 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26514 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26515 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26516 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26517 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26518 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26519 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26520 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26521 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26522 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26523
265242011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26525
26526 * math/libm-test.inc: Added more nearbyint tests.
26527 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26528 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26529 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26530 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26531
265322011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26533
26534 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26535 FD_CLOEXEC.
26536
265372011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26538
26539 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26540 Add wcscpy-ssse3 wcscpy-c.
26541 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26542 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26543 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26544 * sysdeps/x86_64/wcschr.S: New file.
26545 * sysdeps/x86_64/wcsrchr.S: New file.
26546 * string/test-strcmp.c: Remove checking of wcscmp function for
26547 wrong alignments.
26548 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26549 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26550 wcsrchr-sse2 wcsrchr-c.
26551 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26552 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26553 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26554 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26555 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26556 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26557 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26558 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26559 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26560 * wcsmbc/wcschr.c (WCSCHR): New macro.
26561
265622011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26563
26564 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26565 * wcsmbs/test-wcsrchr.c: New file.
26566 * string/test-strrchr.c: Add wcsrchr support.
26567 (WIDE): New macro.
26568 * wcsmbs/test-wcscpy.c: New file.
26569 * string/test-strcpy.c: Add wcscpy support.
26570 (WIDE): New macro.
26571
265722011-12-10 Ulrich Drepper <drepper@gmail.com>
26573
26574 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26575 the inner loop.
26576
265772011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26578
26579 [BZ #13472]
26580 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26581
265822011-12-04 Ulrich Drepper <drepper@gmail.com>
26583
26584 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26585 Minor optimizations.
26586
26587 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26588 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26589 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26590
265912011-12-03 Ulrich Drepper <drepper@gmail.com>
26592
26593 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26594 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26595 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26596 for gcc to avoid warnings.
26597 * inet/Makefile (tests): Add tst-checks.
26598 * inet/tst-checks.c: New file.
26599
26600 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26601 warning.
26602
26603 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26604 __wmemcmp_sse2.
26605
26606 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26607 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26608
26609 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26610
266112011-12-02 Ulrich Drepper <drepper@gmail.com>
26612
26613 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26614 problem.
26615
26616 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26617
266182011-11-29 Joseph Myers <joseph@codesourcery.com>
26619
26620 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26621 conditional on GCC version.
26622 (__arch_compare_and_exchange_val_8_acq)
26623 (__arch_compare_and_exchange_val_16_acq)
26624 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26625 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26626 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26627
266282011-12-02 Joseph Myers <joseph@codesourcery.com>
26629
26630 * sysdeps/sh/backtrace.c: New file.
26631
266322011-12-02 Andreas Schwab <schwab@redhat.com>
26633
26634 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26635 parenthesis.
26636
266372011-12-01 Andreas Schwab <schwab@redhat.com>
26638
26639 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26640 falling back to utime.
26641
266422011-11-30 Andreas Schwab <schwab@redhat.com>
26643
26644 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26645 expectations for float.
26646
266472011-11-29 Andreas Schwab <schwab@redhat.com>
26648
26649 * locale/weight.h (findidx): Add parameter len.
26650 * locale/weightwc.h (findidx): Likewise.
26651 * posix/fnmatch_loop.c (FCT): Adjust caller.
26652 * posix/regcomp.c (build_equiv_class): Likewise.
26653 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26654 * posix/regexec.c (check_node_accept_bytes): Likewise.
26655 * string/strcoll_l.c (STRCOLL): Likewise.
26656 * string/strxfrm_l.c (STRXFRM): Likewise.
26657
266582011-11-17 Ulrich Drepper <drepper@gmail.com>
26659
26660 * Makefile.in: Remove CVSOPT handling.
26661 * configure.in: Remove use of AC_REVISION.
26662 * iconvdata/Makefile (distribute): No need to filter out CVS.
26663 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26664 handling.
26665
266662011-11-16 Andreas Schwab <schwab@redhat.com>
26667
26668 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26669 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26670 [USE_AS_STRNCASECMP_L]: Likewise.
26671 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26672 NO_TLS_DIRECT_SEG_REFS.
26673 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26674 Fix argument offsets for non-PIC.
26675 [USE_AS_STRNCASECMP_L]: Likewise.
26676 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26677 NO_TLS_DIRECT_SEG_REFS.
26678
266792011-11-15 Ulrich Drepper <drepper@gmail.com>
26680
26681 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26682 O_CLOEXEC.
26683 * locale/loadlocale.c (_nl_load_locale): Likewise.
26684
266852011-11-15 Andreas Schwab <schwab@redhat.com>
26686
26687 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26688 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26689 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26690 (SYSCALL_GETTIME): Set errno on error.
26691
26692 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26693 count references to noai6ai_cached.
26694
266952011-11-15 Ulrich Drepper <drepper@gmail.com>
26696
26697 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26698
26699 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26700 FD_CLOEXEC for /proc/self/maps.
26701
26702 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26703 FD_CLOEXEC for /proc/meminfo.
26704
26705 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26706 gai.conf.
26707
26708 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26709 FD_CLOEXEC for given file.
26710
26711 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26712
26713 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26714 FD_CLOEXEC for /etc/hosts.
26715 (_gethtent): Likewise.
26716
26717 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26718
26719 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26720 cancellation and set FD_CLOEXEC for /etc/netgroup.
26721
26722 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26723 reading /etc/publickey.
26724
26725 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26726 allow cancellation when reading /etc/group.
26727
26728 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26729 cancellation.
26730 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26731
26732 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26733 when using data file.
26734
26735 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26736
26737 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26738 (write_nis_obj): Use "c" and "e" in fopen.
26739
26740 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26741
26742 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26743
26744 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26745
26746 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26747
26748 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26749 locale.alias.
26750
26751 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26752
26753 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26754
26755 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26756
26757 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26758 file parsing and set FD_CLOEXEC.
26759
267602011-11-14 Ulrich Drepper <drepper@gmail.com>
26761
26762 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26763
267642011-11-14 Andreas Schwab <schwab@redhat.com>
26765
26766 * malloc/arena.c (arena_get2): Don't call reused_arena when
26767 _int_new_arena failed.
26768
267692011-11-14 Ulrich Drepper <drepper@gmail.com>
26770
26771 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26772 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26773 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26774 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26775 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26776 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26777 to compile strcasecmp and strncasecmp.
26778 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26779 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26780
26781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26782
267832011-11-13 Ulrich Drepper <drepper@gmail.com>
26784
26785 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26786 locale-defines.sym to gen-as-const-headers.
26787 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26788 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26790 to compile strcasecmp and strncasecmp.
26791 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26792 strcasecmp_l and strncasecmp_l.
26793 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26794 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26795 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26796 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26797 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26798 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26799 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26800 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26801 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26802 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26803 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26804
268052011-11-12 Ulrich Drepper <drepper@gmail.com>
26806
26807 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26808 result of SYSDEP_GETTIME_CPU to retval.
26809 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26810 parameter list to macro. Remove trailing semicolon. Adjust users.
26811
26812 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26813 variable.
26814
26815 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26816 mantissa words.
26817 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26818
26819 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26820 from unused variable.
26821
26822 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26823 DWARF definitions.
26824 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26825 for assembling.
26826
26827 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26828 over namespaces.
26829
26830 * sunrpc/rpc_prot.c (rejected): Fix case value.
26831
26832 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26833 unsigned long long int to avoid warnings in shift.
26834
26835 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26836 of use of trans.
26837 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26838 variable tmp.
26839
26840 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26841 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26842 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26843
26844 * nis/nis_table.c (nis_list): Use variable of correct type for
26845 result of __follow_path call.
26846
268472011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26848
26849 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26850 of math functions ceil, trunc, floor, round, and sqrt, when
26851 avaliable on the platform.
26852 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26853 name clash.
26854 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26855 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26856 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26857
268582011-10-30 Marek Polacek <mpolacek@redhat.com>
26859
26860 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26861 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26862
268632011-11-11 Roland McGrath <roland@hack.frob.com>
26864
26865 * include/unistd.h: Fix __readlink return type.
26866 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26867
268682011-11-11 Ulrich Drepper <drepper@gmail.com>
26869
26870 * stdlib/ucontext.h: Undo last change for makecontext.
26871
268722011-11-11 Andreas Schwab <schwab@redhat.com>
26873
26874 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26875
26876 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26877 * setjmp/setjmp.h: Mark functions as non-leaf.
26878 * setjmp/bits/setjmp2.h: Likewise.
26879 * stdlib/ucontext.h: Likewise.
26880
268812011-11-10 Andreas Schwab <schwab@redhat.com>
26882
26883 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26884 (reused_arena): Don't check arena limit.
26885 (arena_get2): Atomically check arena limit.
26886
268872011-11-08 Ulrich Drepper <drepper@gmail.com>
26888
26889 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26890 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26891
26892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26893 instructions.
26894
268952011-11-07 Andreas Schwab <schwab@redhat.com>
26896
26897 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26898 handler when locking.
26899
26900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26901 Fix size of allocated buffer.
26902
269032011-11-04 Andreas Schwab <schwab@redhat.com>
26904
26905 [BZ #10103]
26906 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26907 declarations for long double functions.
26908 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26909
26910 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26911
269122011-11-03 Andreas Schwab <schwab@redhat.com>
26913
26914 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26915 installed.
26916
26917 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26918 is disabled.
26919
269202011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26921
26922 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26923
269242011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26925
26926 * include/alloca.h (stackinfo_alloca_round): Define.
26927 (extend_alloca): Use it.
26928 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26929 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26930 here.
26931
26932 * scripts/check-local-headers.sh: Ignore libaudit.h.
26933
26934 * nscd/Makefile (extra-objs): Make recursively expanded.
26935
269362011-11-01 Ulrich Drepper <drepper@gmail.com>
26937
26938 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26940
26941 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26942 * posix/tst-rfc3484-2.c: Likewise.
26943 * posix/tst-rfc3484-3.c: Likewise.
26944
26945 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26946 process_vm_writev.
26947 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26948 process_vm_writev.
26949 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26950 process_vm_writev from libc using GLIBC_2.15 version.
26951
26952 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26953
269542011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26955
26956 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26957 stack usage.
26958
269592011-10-31 Ulrich Drepper <drepper@gmail.com>
26960
26961 [BZ #13367]
26962 * nss/getent.c (initgroups_keys): Show error message in case no group
26963 names are given.
26964
26965 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26966 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26967 __bump_nl_timestamp.
26968 * nscd/connections (nscd_init): When host database is served open
26969 netlink socket and request notification about configuration changes.
26970 (main_loop_poll): Track netlink file descriptor and bump timestamp
26971 in case data becomes available.
26972 (main_loop_epoll): Likewise.
26973 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26974 (database_pers_head): Add extra_data fileds.
26975 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26976 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26977 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26978 Adjust caller.
26979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26980 in6ai data, call __free_in6ai.
26981 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26982 Add -DHAVE_NETLINK.
26983 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26984 interface information. Reuse previous data if netlink timestamp
26985 is not changed.
26986 (__bump_nl_timestamp): New function.
26987 (__free_in6ai): New function.
26988
269892011-10-30 Ulrich Drepper <drepper@gmail.com>
26990
26991 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26992 close_not_cancel_no_status here.
26993 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26994
269952011-10-29 Ulrich Drepper <drepper@gmail.com>
26996
26997 [BZ #13276]
26998 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26999 return value.
27000
27001 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27002 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27003 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27004
270052011-07-03 Andreas Jaeger <aj@suse.de>
27006
27007 [BZ #10709]
27008 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27009 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27010 * math/libm-test.inc (sin_test): Add test case.
27011
270122011-10-29 Ulrich Drepper <drepper@gmail.com>
27013
27014 [BZ #13337]
27015 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27016 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27017
27018 * elf/chroot_canon.c (chroot_canon): Cleanups.
27019
27020 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27021
27022 [BZ #13335]
27023 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27024 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27025
27026 * string/test-strchr.c: Make usable for strchrnul testing.
27027 * string/test-strchrnul.c: New file.
27028 * string/Makefile (strop-tests): Add strchrnul.
27029
27030 * po/it.po: Update from translation team.
27031 * po/es.po: Likewise.
27032
270332011-10-28 Ulrich Drepper <drepper@gmail.com>
27034
27035 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27036 the three constants needed as parameters. Drop the others.
27037 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27038 __m128i_strloadu_tolower.
27039 Create and initialize variable zero and use it in all the places
27040 where _mm_setzero_si128 was used.
27041
27042 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27043 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27044 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27045 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27046 anymore.
27047 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27048 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27049 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27050 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27051 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27052 __mpranred, __mptan.
27053 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27054 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27055 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27056 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27057 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27058 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27059 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27060 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27061 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27062
270632011-10-28 Andreas Schwab <schwab@redhat.com>
27064
27065 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27066 redefine if SHARED.
27067 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27068
27069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27070 wide char related routines to wcsmbs subdir.
27071
270722011-10-27 Andreas Schwab <schwab@redhat.com>
27073
27074 [BZ #13344]
27075 * misc/sys/cdefs.h (__THROWNL): Define.
27076 * posix/unistd.h: Use __THREADNL instead of __THREAD
27077 for memory synchronization functions.
27078
270792011-10-26 Roland McGrath <roland@hack.frob.com>
27080
27081 [BZ #13349]
27082 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27083 doesn't exist.
27084 * manual/stdio.texi (Obstack Streams): Node removed.
27085
270862011-10-26 Andreas Schwab <schwab@redhat.com>
27087
27088 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27089 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27090 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27091
27092 * math/math_private.h (math_force_eval): Allow non-addressable
27093 arguments.
27094 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27095
270962011-10-25 Ulrich Drepper <drepper@gmail.com>
27097
27098 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27099 file is not needed.
27100
27101 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27102 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27103 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27104 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27105 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27106 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27107 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27108 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27109 Add AVX variants.
27110 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27111 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27112 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27113 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27114 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27115 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27116 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27117 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27118 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27119 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27120 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27121 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27122 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27123 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27124 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27125 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27126 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27127 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27128 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27129
27130 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27131 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27132
27133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27134 place. Use VEX encoding when compiling for AVX.
27135
271362011-10-25 Andreas Schwab <schwab@redhat.com>
27137
27138 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27139 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27140
27141 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27142
271432011-10-25 Ulrich Drepper <drepper@gmail.com>
27144
27145 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27146 useless if() expression.
27147 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27148 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27149 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27150 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27151 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27152 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27153 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27154 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27155 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27156 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27157 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27158 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27159 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27160 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27161 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27162 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27163 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27164 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27165 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27166
27167 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27168
271692011-10-25 Andreas Schwab <schwab@redhat.com>
27170
27171 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27172 condition.
27173 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27174
271752011-10-25 Ulrich Drepper <drepper@gmail.com>
27176
27177 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27178 .text section. Avoid duplicate constants.
27179 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27187 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27188 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27189 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27190 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27191 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27192 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27193 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27194 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27195 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27196 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27198 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27199 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27200 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27201 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27202 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27203 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27204 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27205 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27206 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27207 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27208 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27209 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27210 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27211 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27212 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27213 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27214 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27215 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27216 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27217 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27218 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27219 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27220 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27221 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27222 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27223 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27224
272252011-10-24 Ulrich Drepper <drepper@gmail.com>
27226
27227 * sysdeps/x86_64/dla.h: Move to ...
27228 * sysdeps/x86_64/fpu/dla.h: ...here.
27229 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27230 situations. Use __builtin_fma only for gcc 4.6 and up.
27231
27232 * config.make.in: Add have-mfma4 entry.
27233 * configure.in: Substitute libc_cv_cc_fma4.
27234 * math/Makefile (dbl-only-routines): Add sincostab.
27235 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27236 Use __sincostab not sincos.
27237 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27238 name is a macro.
27239 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27243 using __copysign.
27244 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27245 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27246 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27247 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27248 and __inv.
27249 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27250 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27251 __copysign.
27252 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27253 define aliases when function name is a macro.
27254 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27255 sysdeps/ieee754/dbl-64/sincos.tbl.
27256 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27257 fma4-enabled routines.
27258 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27259 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27260 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27261 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27263 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27264 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27265 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27266 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27267 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27268 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27269 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27270 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27271 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27272 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27273 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27274 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27275 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27276 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27277 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27278 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27279 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27280 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27281 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27282 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27283 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27285 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27286 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27287 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27288
27289 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27290 rename.
27291 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27293 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27294 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27295 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27298 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27299
273002011-10-24 Andreas Schwab <schwab@redhat.com>
27301
27302 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27303
273042011-10-23 Ulrich Drepper <drepper@gmail.com>
27305
27306 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27307
27308 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27309 prediction.
27310 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27311
27312 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27313 Remove unused variable magic_bits.
27314 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27315
27316 * string/strnlen.c: Define and use STRNLEN macro.
27317 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27318 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27320 * wcsmbs/wcslen.c: Define and use WCSLEN.
27321 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27322 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27323 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27324 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27325 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27326 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27327 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27328
273292011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27330
27331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27332 strnlen-sse2-no-bsf.
27333 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27334 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27335 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27336 Add strnlen support.
27337 (USE_AS_STRNLEN): New macro.
27338 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27339 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27340 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27341 * sysdeps/x86_64/wcslen.S: New file.
27342
273432011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27344
27345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27346 XMM-moves are used for copying on small sizes.
27347
273482011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27349
27350 * wcsmbs/Makefile (strop-tests): Add wcschr.
27351 * wcsmbs/test-wcschr.c: New file.
27352 * string/test-strchr.c: Update.
27353 Add wcschr support.
27354 (WIDE): New macro.
27355
273562011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27357
27358 * wcsmbs/Makefile (strop-tests): Add wcslen.
27359 * wcsmbs/test-wcslen.c: New file.
27360 * string/test-strlen.c: Update.
27361 Add wcslen support.
27362 (WIDE): New macro.
27363
273642011-10-23 Ulrich Drepper <drepper@gmail.com>
27365
27366 * po/it.po: Update from translation team.
27367
273682011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27369
27370 * sysdeps/x86_64/wcscmp.S: Update.
27371 Fix wrong comparison semantics.
27372 wcscmp shall use signed comparison not unsigned.
27373 Don't use substraction to avoid overflow bug.
27374 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27375 * wcsmbc/wcscmp.c: Likewise.
27376 * string/test-strcmp.c: Likewise.
27377 Add new tests to check cases with negative values.
27378
273792011-10-23 Ulrich Drepper <drepper@gmail.com>
27380
27381 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27382 * sysdeps/x86_64/dla.h: ...here. New file.
27383 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27392
273932011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27394
27395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27396 __ynl_finite aliases.
27397
273982011-10-22 Ulrich Drepper <drepper@gmail.com>
27399
27400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27401
27402 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27403 define DLA_FMA.
27404 [DLA_FMA] (EMULV): Use DLA_FMA.
27405 [DLA_FMA] (MUL12): Use EMULV.
27406 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27407 that are not needed.
27408 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27411 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27415
274162011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27417
27418 * math/s_nan.c: Undef __nan.
27419 * math/s_nanf.c: Undef __nanf.
27420 * math/s_nanl.c: Undef __nanl.
27421 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27422 "math_private.h".
27423
274242011-10-22 Ulrich Drepper <drepper@gmail.com>
27425
27426 * math/s_catan.c: Add branch predictions.
27427 * math/s_catanf.c: Likewise.
27428 * math/s_catanh.c: Likewise.
27429 * math/s_catanhf.c: Likewise.
27430 * math/s_catanhl.c: Likewise.
27431 * math/s_catanl.c: Likewise.
27432 * math/s_cexp.c: Likewise.
27433 * math/s_cexpf.c: Likewise.
27434 * math/s_cexpl.c: Likewise.
27435 * math/s_clog.c: Likewise.
27436 * math/s_clog10.c: Likewise.
27437 * math/s_clog10f.c: Likewise.
27438 * math/s_clog10l.c: Likewise.
27439 * math/s_clogf.c: Likewise.
27440 * math/s_clogl.c: Likewise.
27441 * math/s_csqrt.c: Likewise.
27442 * math/s_csqrtf.c: Likewise.
27443 * math/s_csqrtl.c: Likewise.
27444 * math/s_ctanf.c: Likewise.
27445 * math/s_ctanh.c: Likewise.
27446 * math/s_ctanhf.c: Likewise.
27447 * math/s_ctanhl.c: Likewise.
27448 * math/s_ctanl.c: Likewise.
27449
27450 * math/math_private.h: Define __nan, __nanf, __nanl.
27451 * math/s_cacosh.c: Include <math_private.h>.
27452 * math/s_cacoshl.c: Likewise.
27453 * math/s_casinh.c: Likewise.
27454 * math/s_casinhf.c: Likewise.
27455 * math/s_casinhl.c: Likewise.
27456 * math/s_ccos.c: Rely entire on ccosh.
27457 * math/s_ccosf.c: Rely entire on ccoshf.
27458 * math/s_ccosl.c: Rely entirely on ccoshl.
27459 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27460 Remove tests for FE_INVALID.
27461 * math/s_ccoshf.c: Likewise.
27462 * math/s_ccoshl.c: Likewise.
27463 * math/s_csin.c: Likewise.
27464 * math/s_csinf.c: Likewise.
27465 * math/s_csinh.c Likewise.
27466 * math/s_csinhf.c: Likewise.
27467 * math/s_csinhl.c: Likewise.
27468 * math/s_csinl.c: Likewise.
27469 * math/s_ctan.c: Likewise.
27470 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27471 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27472 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27473
274742011-10-21 Ulrich Drepper <drepper@gmail.com>
27475
27476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27477 compilation problems.
27478
27479 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27480 __builtin_expect.
27481
274822011-10-20 Ulrich Drepper <drepper@gmail.com>
27483
27484 * sysdeps/i386/configure.in: Test for -mfma4 option.
27485 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27486 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27487 COMMON_CPUID_INDEX_80000001.
27488 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27489 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27490 use it if FMA3 is not supported.
27491 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27492
27493 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27494 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27495
274962011-10-20 Andreas Schwab <schwab@redhat.com>
27497
27498 [BZ #12892]
27499 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27500 it would create a cycle with a link time dependency.
27501
275022011-10-19 Ulrich Drepper <drepper@gmail.com>
27503
27504 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27505 instruction.
27506 * string/Makefile (strop-tests): Add rawmemchr.
27507 * string/test-rawmemchr.c: New file.
27508
27509 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27511 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27512 when compiling str{,n}casecmp and when AVX is available. Hook up
27513 new optimized code in initializers.
27514
275152011-10-19 Andreas Schwab <schwab@redhat.com>
27516
27517 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27518 __feraiseexcept instead of feraiseexcept.
27519
275202011-10-18 Ulrich Drepper <drepper@gmail.com>
27521
27522 * math/math_private.h: Define defaults for libc_fetestexcept and
27523 libc_feupdateenv.
27524 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27525 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27526 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27527 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27528 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27529 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27530 libc_fetestexcept and libc_feupdateenv.
27531
27532 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27533 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27534 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27535 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27536 libc_feholdexcept_setround.
27537
27538 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27539 Add s_nearbyint-c and s_nearbyintf-c.
27540 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27541 nearbyintf inlines.
27542 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27543 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27544 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27545 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27546
27547 * math/math_private.h: Define defaults for libc_fegetround,
27548 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27549 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27550 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27551 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27552 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27553 standard functions.
27554 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27555 Remove comments and hacks for old compiler versions.
27556 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27557 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27558 libc_feholdexceptl.
27559
275602011-10-18 Andreas Schwab <schwab@redhat.com>
27561
27562 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27563 (__feraiseexcept_renamed): Add __NTH.
27564 (feraiseexcept): Add __NTH. Rename local variables to fix
27565 namespace violations.
27566
275672011-10-17 Ulrich Drepper <drepper@gmail.com>
27568
27569 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27570
27571 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27572
27573 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27574 recently added interfaces.
27575 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27576
27577 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27578 about macro parameter expansion.
27579
27580 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27581 __NO_MATH_INLINES is defined. Cleanups.
27582
27583 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27584 and __floorf is target has SSE4.1.
27585 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27586 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27587 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27588 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27589
27590 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27591 name.
27592 (floorf): Likewise.
27593
27594 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27595
275962011-10-17 Andreas Schwab <schwab@redhat.com>
27597
27598 * misc/sys/cdefs.h: Fix last change.
27599
27600 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27601 database lookup.
27602
276032011-10-16 Ulrich Drepper <drepper@gmail.com>
27604
27605 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27606
27607 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27613 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27614 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27615 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27616 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27617 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27618 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27619 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27620 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27621 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27622 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27623 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27624 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27625 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27626 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27627 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27628 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27629
27630 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27631 ceil, ceilf, floor, floorf.
27632
27633 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27634 Perform IRELATIVE relocations last.
27635
27636 * elf/do-rel.h: Add another parameter nrelative, replacing the
27637 local variable with the same name. Change name of the function
27638 to end in Rel or Rela (uppercase).
27639 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27640 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27641 elf_dynamic_do_##reloc function.
27642
276432011-10-15 Ulrich Drepper <drepper@gmail.com>
27644
27645 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27646 is sufficient, at least on modern CPUs.
27647
27648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27649
27650 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27652
27653 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27654 __expl_finite.
27655 * math/bits/math-finite.h: Add entries for exp.
27656 * math/e_expl.c: Add __*_finite alias.
27657 * sysdeps/i386/fpu/e_exp.S: Likewise.
27658 * sysdeps/i386/fpu/e_expf.S: Likewise.
27659 * sysdeps/i386/fpu/e_expl.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27661 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27662 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27665 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27666 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27667
27668 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27669 is sufficient, at least on modern CPUs.
27670
27671 * ctype/ctype-info.c (__ctype_init): Define.
27672 * include/ctype.h (__ctype_init): Declare.
27673 (__ctype_b_loc): The variable is always initialized.
27674 (__ctype_toupper_loc): Likewise.
27675 (__ctype_tolower_loc): Likewise.
27676 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27677 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27678
276792011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27680
27681 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27682
27683 * configure.in: Also look in $cxxmachine/include for C++ system
27684 headers.
27685
276862011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27687
27688 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27689 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27690 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27691 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27692 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27693 (USE_AS_WMEMCMP): New macro.
27694 Fixing indents.
27695 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27696 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27697 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27698 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27700 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27701 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27702 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27703 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27704 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27705 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27706 (USE_AS_WMEMCMP): New macro.
27707 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27708 * sysdeps/string/test-memcmp.c: Update.
27709 Fix simple_wmemcmp.
27710 Add new tests.
27711 * wcsmbs/wmemcmp.c: Update.
27712 (WMEMCMP): New macro.
27713 Fix overflow bug.
27714
277152011-10-12 Andreas Jaeger <aj@suse.de>
27716
27717 [BZ #13268]
27718 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27719
277202011-10-15 Ulrich Drepper <drepper@gmail.com>
27721
27722 * libio/iofwide.c (do_length): Avoid warning.
27723
27724 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27725
277262011-10-14 Ulrich Drepper <drepper@gmail.com>
27727
27728 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27729
27730 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27731 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27732 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27733 * sysdeps/i386/i686/fpu/e_log.S: New file.
27734 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27735 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27736
27737 * ctype/ctype.h: Add support for inlined isXXX functions when
27738 compiling C++ code.
27739
277402011-10-14 Andreas Schwab <schwab@redhat.com>
27741
27742 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27743
27744 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27745
277462011-10-13 Roland McGrath <roland@hack.frob.com>
27747
27748 [BZ #13291]
27749 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27750
277512011-10-13 Andreas Schwab <schwab@redhat.com>
27752
27753 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27754 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27755 feraiseexcept.
27756
27757 * sysdeps/x86_64/memrchr.S: Check for zero size.
27758
27759 * string/stratcliff.c: Add memrchr tests.
27760
277612011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27762
27763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27764 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27765 rawmemchr-sse2 rawmemchr-sse2-bsf.
27766 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27767 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27768 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27769 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27770 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27771 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27772 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27773 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27774 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27775 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27776 * string/memrchr.c (MEMRCHR): New macro.
27777
277782011-10-12 Ulrich Drepper <drepper@gmail.com>
27779
27780 Add integration with gcc's -ffinite-math-only and optimize wrapper
27781 functions in libm.
27782 * Versions.def: Define GLIBC_2.15 version for libm.
27783 * math/Makefile (headers): Add bits/math-finite.h.
27784 * math/bits/math-finite.h: New file.
27785 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27786 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27787 * math/e_acoshl.c: Add __*_finite alias.
27788 * math/e_acosl.c: Likewise.
27789 * math/e_asinl.c: Likewise.
27790 * math/e_atan2l.c: Likewise.
27791 * math/e_atanhl.c: Likewise.
27792 * math/e_coshl.c: Likewise.
27793 * math/e_exp10.c: Likewise.
27794 * math/e_exp10f.c: Likewise.
27795 * math/e_exp10l.c: Likewise.
27796 * math/e_exp2l.c: Likewise.
27797 * math/e_fmodl.c: Likewise.
27798 * math/e_gammal_r.c: Likewise.
27799 * math/e_hypotl.c: Likewise.
27800 * math/e_j0l.c: Likewise.
27801 * math/e_j1l.c: Likewise.
27802 * math/e_jnl.c: Likewise.
27803 * math/e_lgammal_r.c: Likewise.
27804 * math/e_log10l.c: Likewise.
27805 * math/e_log2l.c: Likewise.
27806 * math/e_logl.c: Likewise.
27807 * math/e_powl.c: Likewise.
27808 * math/e_sinhl.c: Likewise.
27809 * math/e_sqrtl.c: Likewise.
27810 * math/e_scalb.c: Completely rewritten and optimized.
27811 * math/e_scalbf.c: Likewise.
27812 * math/e_scalbl.c: Likewise.
27813 * math/w_acos.c: Likewise.
27814 * math/w_acosf.c: Likewise.
27815 * math/w_acosl.c: Likewise.
27816 * math/w_acosh.c: Likewise.
27817 * math/w_acoshf.c: Likewise.
27818 * math/w_acoshl.c: Likewise.
27819 * math/w_asin.c: Likewise.
27820 * math/w_asinf.c: Likewise.
27821 * math/w_asinl.c: Likewise.
27822 * math/w_atan2.c: Likewise.
27823 * math/w_atan2f.c: Likewise.
27824 * math/w_atan2l.c: Likewise.
27825 * math/w_atanh.c: Likewise.
27826 * math/w_atanhf.c: Likewise.
27827 * math/w_atanhl.c: Likewise.
27828 * math/w_exp10.c: Likewise.
27829 * math/w_exp10f.c: Likewise.
27830 * math/w_exp10l.c: Likewise.
27831 * math/w_fmod.c: Likewise.
27832 * math/w_fmodf.c: Likewise.
27833 * math/w_fmodl.c: Likewise.
27834 * math/w_j0.c: Likewise.
27835 * math/w_j0f.c: Likewise.
27836 * math/w_j0l.c: Likewise.
27837 * math/w_j1.c: Likewise.
27838 * math/w_j1f.c: Likewise.
27839 * math/w_j1l.c: Likewise.
27840 * math/w_jn.c: Likewise.
27841 * math/w_jnf.c: Likewise.
27842 * math/w_log.c: Likewise.
27843 * math/w_logf.c: Likewise.
27844 * math/w_logl.c: Likewise.
27845 * math/w_log10.c: Likewise.
27846 * math/w_log10f.c: Likewise.
27847 * math/w_log10l.c: Likewise.
27848 * math/w_log2.c: Likewise.
27849 * math/w_log2f.c: Likewise.
27850 * math/w_log2l.c: Likewise.
27851 * math/w_pow.c: Likewise.
27852 * math/w_powf.c: Likewise.
27853 * math/w_powl.c: Likewise.
27854 * math/w_remainder.c: Likewise.
27855 * math/w_remainderf.c: Likewise.
27856 * math/w_remainderl.c: Likewise.
27857 * math/w_scalb.c: Likewise.
27858 * math/w_scalbf.c: Likewise.
27859 * math/w_scalbl.c: Likewise.
27860 * math/w_sqrt.c: Likewise.
27861 * math/w_sqrtf.c: Likewise.
27862 * math/w_sqrtl.c: Likewise.
27863 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27864 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27865 used.
27866 * math/math_private.h: Declare __kernel_standard_f.
27867 * math/w_cosh.c: Remove cruft and optimize a bit.
27868 * math/w_coshf.c: Likewise.
27869 * math/w_coshl.c: Likewise.
27870 * math/w_exp2.c: Likewise.
27871 * math/w_exp2f.c: Likewise.
27872 * math/w_exp2l.c: Likewise.
27873 * math/w_hypot.c: Likewise.
27874 * math/w_hypotf.c: Likewise.
27875 * math/w_hypotl.c: Likewise.
27876 * math/w_lgamma.c: Likewise.
27877 * math/w_lgamma_r.c: Likewise.
27878 * math/w_lgammaf.c: Likewise.
27879 * math/w_lgammaf_r.c: Likewise.
27880 * math/w_lgammal.c: Likewise.
27881 * math/w_lgammal_r.c: Likewise.
27882 * math/w_sinh.c: Likewise.
27883 * math/w_sinhf.c: Likewise.
27884 * math/w_sinhl.c: Likewise.
27885 * math/w_tgamma.c: Likewise.
27886 * math/w_tgammaf.c: Likewise.
27887 * math/w_tgammal.c: Likewise.
27888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27889 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27890 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27891 Minor optimizations. Pretty printing. Remove cruft.
27892 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27893 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27894 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27895 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27896 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27897 * sysdeps/i386/fpu/e_asin.S: Likewise.
27898 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27899 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27900 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27901 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27902 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27903 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27904 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27905 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27906 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27907 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27908 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27909 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27910 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27911 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27912 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27913 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27914 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27915 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27916 * sysdeps/i386/fpu/e_log.S: Likewise.
27917 * sysdeps/i386/fpu/e_log10.S: Likewise.
27918 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27919 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27920 * sysdeps/i386/fpu/e_log2.S: Likewise.
27921 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27922 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27923 * sysdeps/i386/fpu/e_logf.S: Likewise.
27924 * sysdeps/i386/fpu/e_logl.S: Likewise.
27925 * sysdeps/i386/fpu/e_pow.S: Likewise.
27926 * sysdeps/i386/fpu/e_powf.S: Likewise.
27927 * sysdeps/i386/fpu/e_powl.S: Likewise.
27928 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27929 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27930 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27931 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27932 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27933 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27934 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27935 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27936 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27937 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27938 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27939 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27940 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27941 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27942 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27943 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27944 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27945 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27946 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27947 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27958 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27959 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27960 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27961 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27962 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27963 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27964 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27965 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27966 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27967 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27968 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27969 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27970 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27971 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27972 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27973 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27974 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27975 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27976 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27977 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27978 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27979 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27980 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27981 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27983 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27984 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27985 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27986 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27987 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27988 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27990 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27991 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27992 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27993 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27994 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27996 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27997 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28002 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28003 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28004 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28005 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28006 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28007 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28008 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28009 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28010 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28013 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28014 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28015 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28016 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28017 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28018 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28020 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28021 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28022 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28023 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28024 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28025 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28028 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28029 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28030 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28031 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28032 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28033 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28034 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28035 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28036 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28037 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28038 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28039 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28040 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28041 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28042 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28043 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28044 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28045 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28046 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28047 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28048 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28049 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28050 (__isnanf): Likewise.
28051 (__isinf_ns): Likewise.
28052 (__isinf_nsf): Likewise.
28053 (__finite): Likewise.
28054 (__finitef): Likewise.
28055 (__ieee754_sqrt): Define as macro.
28056 (__ieee754_sqrtf): Define as macro.
28057 (__ieee754_sqrtl): Define as macro.
28058 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28059 inlined copy.
28060 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28061 __FINITE_MATH_ONLY__ consistent.
28062 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28063
280642011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28065
28066 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28067 of rawmemchr.
28068
28069 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28070
280712011-10-09 Ulrich Drepper <drepper@gmail.com>
28072
28073 * po/ja.po: Update from translation team.
28074
280752011-10-08 Roland McGrath <roland@hack.frob.com>
28076
28077 * locale/programs/locarchive.c (prepare_address_space): New function.
28078 (create_archive, enlarge_archive, open_archive): Use it.
28079
28080 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28081 inside [SHARED], where it is used.
28082
28083 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28084
28085 * nss/getent.c (netgroup_keys): Remove unused variable.
28086 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28087
280882011-10-08 Ulrich Drepper <drepper@gmail.com>
28089
28090 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28091 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28093 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28094 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28095 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28096 * math/Makefile (libm-calls): Add s_isinf_ns.
28097 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28098 * math/multc3.c: Likewise.
28099 * math/s_casin.c: Likewise.
28100 * math/s_casinf.c: Likewise.
28101 * math/s_casinl.c: Likewise.
28102 * math/s_ccos.c: Likewise.
28103 * math/s_ccosf.c: Likewise.
28104 * math/s_ccosl.c: Likewise.
28105 * math/s_ctan.c: Likewise.
28106 * math/s_ctanf.c: Likewise.
28107 * math/s_ctanh.c: Likewise.
28108 * math/s_ctanhf.c: Likewise.
28109 * math/s_ctanhl.c: Likewise.
28110 * math/s_ctanl.c: Likewise.
28111 * math/w_fmod.c: Likewise.
28112 * math/w_fmodf.c: Likewise.
28113 * math/w_fmodl.c: Likewise.
28114 * math/w_remainder.c: Likewise.
28115 * math/w_remainderf.c: Likewise.
28116 * math/w_remainderl.c: Likewise.
28117 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28118 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28119 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28120 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28121 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28122 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28123 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28124 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28125
28126 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28127 of the number.
28128 * stdio-common/printf_fphex.c: Likewise.
28129 * stdio-common/printf_size.c: Likewise.
28130
28131 * math/e_exp10.c: Include math_private.h using <...> not "...".
28132 * math/e_exp10f.c: Likewise.
28133 * math/e_exp10l.c: Likewise.
28134 * math/e_exp2l.c: Likewise.
28135 * math/e_j0l.c: Likewise.
28136 * math/e_j1l.c: Likewise.
28137 * math/e_jnl.c: Likewise.
28138 * math/e_lgammal_r.c: Likewise.
28139 * math/e_rem_pio2l.c: Likewise.
28140 * math/e_scalb.c: Likewise.
28141 * math/e_scalbf.c: Likewise.
28142 * math/e_scalbl.c: Likewise.
28143 * math/k_cosl.c: Likewise.
28144 * math/k_sinl.c: Likewise.
28145 * math/k_tanl.c: Likewise.
28146 * math/s_cacoshf.c: Likewise.
28147 * math/s_catan.c: Likewise.
28148 * math/s_catanf.c: Likewise.
28149 * math/s_catanh.c: Likewise.
28150 * math/s_catanhf.c: Likewise.
28151 * math/s_catanhl.c: Likewise.
28152 * math/s_catanl.c: Likewise.
28153 * math/s_ccosh.c: Likewise.
28154 * math/s_ccoshf.c: Likewise.
28155 * math/s_ccoshl.c: Likewise.
28156 * math/s_cexp.c: Likewise.
28157 * math/s_cexpf.c: Likewise.
28158 * math/s_cexpl.c: Likewise.
28159 * math/s_clog.c: Likewise.
28160 * math/s_clog10.c: Likewise.
28161 * math/s_clog10f.c: Likewise.
28162 * math/s_clog10l.c: Likewise.
28163 * math/s_clogf.c: Likewise.
28164 * math/s_clogl.c: Likewise.
28165 * math/s_csin.c: Likewise.
28166 * math/s_csinf.c: Likewise.
28167 * math/s_csinh.c: Likewise.
28168 * math/s_csinhf.c: Likewise.
28169 * math/s_csinhl.c: Likewise.
28170 * math/s_csinl.c: Likewise.
28171 * math/s_csqrt.c: Likewise.
28172 * math/s_csqrtf.c: Likewise.
28173 * math/s_csqrtl.c: Likewise.
28174 * math/s_ctan.c: Likewise.
28175 * math/s_ctanf.c: Likewise.
28176 * math/s_ctanh.c: Likewise.
28177 * math/s_ctanhf.c: Likewise.
28178 * math/s_ctanhl.c: Likewise.
28179 * math/s_ctanl.c: Likewise.
28180 * math/s_ldexp.c: Likewise.
28181 * math/s_ldexpf.c: Likewise.
28182 * math/s_ldexpl.c: Likewise.
28183 * math/s_significand.c: Likewise.
28184 * math/s_significandf.c: Likewise.
28185 * math/s_significandl.c: Likewise.
28186 * math/w_acos.c: Likewise.
28187 * math/w_acosf.c: Likewise.
28188 * math/w_acosh.c: Likewise.
28189 * math/w_acoshf.c: Likewise.
28190 * math/w_acoshl.c: Likewise.
28191 * math/w_acosl.c: Likewise.
28192 * math/w_asin.c: Likewise.
28193 * math/w_asinf.c: Likewise.
28194 * math/w_asinl.c: Likewise.
28195 * math/w_atan2.c: Likewise.
28196 * math/w_atan2f.c: Likewise.
28197 * math/w_atan2l.c: Likewise.
28198 * math/w_atanh.c: Likewise.
28199 * math/w_atanhf.c: Likewise.
28200 * math/w_atanhl.c: Likewise.
28201 * math/w_cosh.c: Likewise.
28202 * math/w_coshf.c: Likewise.
28203 * math/w_coshl.c: Likewise.
28204 * math/w_dremf.c: Likewise.
28205 * math/w_exp10.c: Likewise.
28206 * math/w_exp10f.c: Likewise.
28207 * math/w_exp10l.c: Likewise.
28208 * math/w_exp2.c: Likewise.
28209 * math/w_exp2f.c: Likewise.
28210 * math/w_fmod.c: Likewise.
28211 * math/w_fmodf.c: Likewise.
28212 * math/w_fmodl.c: Likewise.
28213 * math/w_hypot.c: Likewise.
28214 * math/w_hypotf.c: Likewise.
28215 * math/w_hypotl.c: Likewise.
28216 * math/w_j0.c: Likewise.
28217 * math/w_j0f.c: Likewise.
28218 * math/w_j0l.c: Likewise.
28219 * math/w_j1.c: Likewise.
28220 * math/w_j1f.c: Likewise.
28221 * math/w_j1l.c: Likewise.
28222 * math/w_jn.c: Likewise.
28223 * math/w_jnf.c: Likewise.
28224 * math/w_jnl.c: Likewise.
28225 * math/w_lgamma.c: Likewise.
28226 * math/w_lgamma_r.c: Likewise.
28227 * math/w_lgammaf.c: Likewise.
28228 * math/w_lgammaf_r.c: Likewise.
28229 * math/w_lgammal.c: Likewise.
28230 * math/w_lgammal_r.c: Likewise.
28231 * math/w_log.c: Likewise.
28232 * math/w_log10.c: Likewise.
28233 * math/w_log10f.c: Likewise.
28234 * math/w_log10l.c: Likewise.
28235 * math/w_log2.c: Likewise.
28236 * math/w_log2f.c: Likewise.
28237 * math/w_log2l.c: Likewise.
28238 * math/w_logf.c: Likewise.
28239 * math/w_logl.c: Likewise.
28240 * math/w_pow.c: Likewise.
28241 * math/w_powf.c: Likewise.
28242 * math/w_powl.c: Likewise.
28243 * math/w_remainder.c: Likewise.
28244 * math/w_remainderf.c: Likewise.
28245 * math/w_remainderl.c: Likewise.
28246 * math/w_scalb.c: Likewise.
28247 * math/w_scalbf.c: Likewise.
28248 * math/w_scalbl.c: Likewise.
28249 * math/w_sinh.c: Likewise.
28250 * math/w_sinhf.c: Likewise.
28251 * math/w_sinhl.c: Likewise.
28252 * math/w_sqrt.c: Likewise.
28253 * math/w_sqrtf.c: Likewise.
28254 * math/w_sqrtl.c: Likewise.
28255 * math/w_tgamma.c: Likewise.
28256 * math/w_tgammaf.c: Likewise.
28257 * math/w_tgammal.c: Likewise.
28258
28259 * po/ja.po: Update from translation team.
28260
282612011-09-29 Andreas Jaeger <aj@suse.de>
28262
28263 [BZ #13179]
28264 * sunrpc/netname.c (netname2host): Fix logic.
28265
28266 [BZ #6779]
28267 [BZ #6783]
28268 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28269 correctly.
28270 * math/w_remainder.c (__remainder): Likewise.
28271 * math/w_remainderf.c (__remainderf): Likewise.
28272 * math/libm-test.inc (remainder_test): Add test cases.
28273
282742011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28275
28276 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28277 sdiv_qrnnd.
28278
282792011-10-07 Ulrich Drepper <drepper@gmail.com>
28280
28281 * string/test-memcmp.c: Avoid unncessary #defines.
28282 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28283
282842011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28285
28286 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28287 Use new sse2 version for core i3 - i7 as it's faster
28288 than sse42 version.
28289 (bit_Prefer_PMINUB_for_stringop): New.
28290 * sysdeps/x86_64/rawmemchr.S: Update.
28291 Replace with faster SSE2 version.
28292 * sysdeps/x86_64/memrchr.S: New file.
28293 * sysdeps/x86_64/memchr.S: Update.
28294 Replace with faster SSE2 version.
28295
282962011-09-12 Marek Polacek <mpolacek@redhat.com>
28297
28298 * elf/dl-load.c (lose): Add cast to avoid warning.
28299
283002011-10-07 Ulrich Drepper <drepper@gmail.com>
28301
28302 * po/ca.po: Update from translation team.
28303
28304 * inet/getnetgrent_r.c: Hook up nscd.
28305 * nscd/Makefile (routines): Add nscd_netgroup.
28306 (nscd-modules): Add netgroupcache.
28307 (CFLAGS-netgroupcache.c): Define.
28308 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28309 (cache_search): Add const to second parameter.
28310 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28311 INNETGR.
28312 (dbs): Add netgrdb entry.
28313 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28314 (verify_persistent_db): Handle netgrdb.
28315 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28316 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28317 GETFDNETGR.
28318 (netgroup_response_header): Define.
28319 (innetgroup_response_header): Define.
28320 (datahead): Add netgroup_response_header and innetgroup_response_header
28321 elements.
28322 * nscd/nscd.conf: Add entries for netgroup cache.
28323 * nscd/nscd.h (dbtype): Add netgrdb.
28324 (_PATH_NSCD_NETGROUP_DB): Define.
28325 (netgroup_iov_disabled): Declare.
28326 (xmalloc, xcalloc, xrealloc): Move declarations here.
28327 (cache_search): Adjust prototype.
28328 Add netgroup-related prototypes.
28329 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28330 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28331 (__nscd_innetgr): Declare.
28332 * nscd/selinux.c (perms): Use access_vector_t as element type and
28333 add netgroup-related initializers.
28334 * nscd/netgroupcache.c: New file.
28335 * nscd/nscd_netgroup.c: New file.
28336 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28337 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28338 For four parameters use innetgr.
28339 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28340 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28341 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28342 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28343
28344 * nscd/connections.c (register_traced_file): Don't register file
28345 for disabled databases.
28346
283472011-10-06 Ulrich Drepper <drepper@gmail.com>
28348
28349 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28350
28351 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28352 from tree and freeing node.
28353
283542011-09-25 Jiri Olsa <jolsa@redhat.com>
28355
28356 * nss/nsswitch.c (__nss_database_lookup): Handle
28357 nss_parse_service_list out of memory case.
28358
283592011-09-15 Jiri Olsa <jolsa@redhat.com>
28360
28361 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28362 out of memory case.
28363
283642011-10-04 Andreas Schwab <schwab@redhat.com>
28365
28366 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28367 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28368 pass it down.
28369 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28370 elf_machine_rela, elf_machine_lazy_rel.
28371 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28372 (ELF_DYNAMIC_DO_REL): Likewise.
28373 (ELF_DYNAMIC_DO_RELA): Likewise.
28374 (ELF_DYNAMIC_RELOCATE): Likewise.
28375 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28376 to ELF_DYNAMIC_DO_REL.
28377 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28378 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28379 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28380 elf_machine_rela.
28381 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28382 skip_ifunc, don't call ifunc function if non-zero.
28383 (elf_machine_rela): Likewise.
28384 (elf_machine_lazy_rel): Likewise.
28385 (elf_machine_lazy_rela): Likewise.
28386 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28387 (elf_machine_lazy_rel): Likewise.
28388 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28389 Likewise.
28390 (elf_machine_lazy_rel): Likewise.
28391 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28392 Likewise.
28393 (elf_machine_lazy_rel): Likewise.
28394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28395 (elf_machine_lazy_rel): Likewise.
28396 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28397 (elf_machine_lazy_rel): Likewise.
28398 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28399 (elf_machine_lazy_rel): Likewise.
28400 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28401 (elf_machine_lazy_rel): Likewise.
28402 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28403 (elf_machine_lazy_rel): Likewise.
28404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28405 (elf_machine_lazy_rel): Likewise.
28406
284072011-09-28 Ulrich Drepper <drepper@gmail.com>
28408
28409 * nss/nss_files/files-init.c (_nss_files_init): Use static
28410 initialization for all the *_traced_file variables.
28411
284122011-09-28 Andreas Schwab <schwab@redhat.com>
28413
28414 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28415
284162011-09-27 Roland McGrath <roland@hack.frob.com>
28417
28418 [BZ #13226]
28419 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28420
284212011-09-27 Andreas Schwab <schwab@redhat.com>
28422
28423 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28424 Reread the line before reparsing it.
28425
284262011-09-26 Andreas Schwab <schwab@redhat.com>
28427
28428 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28429
284302011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28431 Maxim Kuvyrkov <maxim@codesourcery.com>
28432 Joseph Myers <joseph@codesourcery.com>
28433
28434 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28435 if needed for __stack_chk_guard.
28436
284372011-09-19 Roland McGrath <roland@hack.frob.com>
28438
28439 * sysdeps/posix/spawni.c (script_execute): Always define it.
28440 It will be optimized away if unused.
28441 (maybe_script_execute): New function.
28442 (__spawni): Call it.
28443
28444 * Makerules: Don't include tls.make.
28445 (config-tls): Always set to thread.
28446 * tls.make.c: File removed.
28447
284482011-09-19 Mike Frysinger <vapier@gentoo.org>
28449
28450 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28451 * config.make.in (CPPFLAGS-config): New substituted variable.
28452
284532011-09-15 Ulrich Drepper <drepper@gmail.com>
28454
28455 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28456
28457 [BZ #13192]
28458 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28459 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28460
284612011-09-15 Roland McGrath <roland@hack.frob.com>
28462
28463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28464 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28465 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28466 (CALL_FAIL): Likewise.
28467 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28468 (CALL_FAIL): Macro removed.
28469 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28470
284712011-09-15 Ulrich Drepper <drepper@gmail.com>
28472
28473 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28474 for __FINITE_MATH_ONLY__ == 1.
28475
284762011-09-15 Andreas Schwab <schwab@redhat.com>
28477
28478 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28479 __ieee754_sqrt instead of sqrt.
28480 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28481 __ieee754_sqrtf instead of sqrtf.
28482 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28483 __floorf instead of floorf.
28484 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28485 __floorf, __truncf instead of floorf, truncf.
28486
284872011-09-14 Ulrich Drepper <drepper@gmail.com>
28488
28489 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28490
28491 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28492 __extern_always_inline.
28493 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28494 32-bit.
28495
284962011-09-14 Andreas Schwab <schwab@redhat.com>
28497
28498 * elf/rtld.c (dl_main): Also relocate in dependency order when
28499 doing symbol dependency testing.
28500
285012011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28502
28503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28504 Always define `refsym'.
28505
285062011-09-13 Andreas Schwab <schwab@redhat.com>
28507
28508 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28509 (__FD_ELT): Renamed from __FDELT.
28510 * misc/bits/select2.h (__FD_ELT): Likewise.
28511 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28512 __FD_MASK instead of __FDELT, __FDMASK.
28513 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28514 Likewise.
28515 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28516 Likewise.
28517
28518 * elf/Makefile (gen-ldd): Fix pattern.
28519
28520 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28521 (init_tls): Likewise.
28522
285232011-09-12 Ulrich Drepper <drepper@gmail.com>
28524
28525 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28526
285272011-09-12 Andreas Schwab <schwab@redhat.com>
28528
28529 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28530 `struct cmsghdr *' instead of `void *'.
28531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28532 Likewise.
28533
285342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28535
28536 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28537 if non-absolute.
28538 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28539 ldd_rewrite_script.
28540
285412011-09-11 Ulrich Drepper <drepper@gmail.com>
28542
28543 * configure.in: Remove --with-tls option.
28544 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28545 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28546 out in case it is missing.
28547 * sysdeps/ia64/elf/configure.in: Likewise.
28548 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28549 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28550 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28551 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28552 * sysdeps/sh/elf/configure.in: Likewise.
28553 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28554 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28555 * sysdeps/x86_64/elf/configure.in: Likewise.
28556 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28557 * sysdeps/mach/hurd/tls.h: Likewise.
28558
28559 [BZ #13067]
28560 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28561
28562 [BZ #13090]
28563 * configure.in: Fix use of AC_INIT.
28564
28565 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28566
285672011-09-10 Ulrich Drepper <drepper@gmail.com>
28568
28569 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28570 __set_errno.
28571 * malloc/hooks.c: Likewise.
28572
28573 [BZ #11929]
28574 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28575 variables statically.
28576 (narenas): Initialize.
28577 (list_lock): Initialize.
28578 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28579 initializtion of main_arena and list_lock. Small cleanups.
28580 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28581 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28582 Add initializers to main_arena and mp_.
28583 (malloc_state): Remove pagesize member. Change all users to use
28584 GLRO(dl_pagesize).
28585
28586 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28587 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28588 is always initialized.
28589
28590 * malloc/malloc.c: Removed unused configurations and dead code.
28591 * malloc/arena.c: Likewise.
28592 * malloc/hooks.c: Likewise.
28593 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28594
28595 * include/tls.h: Removed. USE___THREAD must always be defined.
28596 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28597 * elf/dl-libc.c: Likewise.
28598 * elf/dl-tsd.c: Likewise.
28599 * include/errno.h: Likewise.
28600 * include/netdb.h: Likewise.
28601 * include/resolv.h: Likewise.
28602 * inet/herrno-loc.c: Likewise.
28603 * inet/herrno.c: Likewise.
28604 * malloc/arena.c: Likewise.
28605 * malloc/hooks.c: Likewise.
28606 * malloc/malloc.c: Likewise.
28607 * resolv/res-state.c: Likewise.
28608 * resolv/res_libc.c: Likewise.
28609 * sysdeps/i386/dl-machine.h: Likewise.
28610 * sysdeps/ia64/dl-machine.h: Likewise.
28611 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28612 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28613 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28614 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28615 * sysdeps/sh/dl-machine.h: Likewise.
28616 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28617 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28618 * sysdeps/unix/i386/sysdep.S: Likewise.
28619 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28620 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28621 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28623 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28624 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28625 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28626 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28627 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28629 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28630 * sysdeps/x86_64/dl-machine.h: Likewise.
28631 * tls.make.c: Likewise.
28632
28633 * configure.in: Remove --with-__thread option. Make tests for
28634 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28635 tls_model attribute fail if no support is available. Remove
28636 USE_IN_LIBIO.
28637 * Makeconfig: Adjust for dropped configure option. All features are
28638 now mandatory.
28639 * Makerules: Likewise.
28640 * Versions.def: Likewise.
28641 * argp/argp-fmtstream.c: Likewise.
28642 * argp/argp-fmtstream.h: Likewise.
28643 * argp/argp-help.c: Likewise.
28644 * assert/assert.c: Likewise.
28645 * config.h.in: Likewise.
28646 * config.make.in: Likewise.
28647 * configure: Likewise.
28648 * configure.in: Likewise.
28649 * csu/Versions: Likewise.
28650 * csu/init.c: Likewise.
28651 * elf/tst-audit2.c: Likewise.
28652 * elf/tst-tls10.c: Likewise.
28653 * elf/tst-tls10.h: Likewise.
28654 * elf/tst-tls11.c: Likewise.
28655 * elf/tst-tls12.c: Likewise.
28656 * elf/tst-tls14.c: Likewise.
28657 * elf/tst-tlsmod11.c: Likewise.
28658 * elf/tst-tlsmod12.c: Likewise.
28659 * elf/tst-tlsmod13.c: Likewise.
28660 * elf/tst-tlsmod13a.c: Likewise.
28661 * elf/tst-tlsmod14a.c: Likewise.
28662 * elf/tst-tlsmod15b.c: Likewise.
28663 * elf/tst-tlsmod16a.c: Likewise.
28664 * elf/tst-tlsmod16b.c: Likewise.
28665 * elf/tst-tlsmod7.c: Likewise.
28666 * elf/tst-tlsmod8.c: Likewise.
28667 * elf/tst-tlsmod9.c: Likewise.
28668 * gmon/gmon.c: Likewise.
28669 * grp/fgetgrent_r.c: Likewise.
28670 * grp/putgrent.c: Likewise.
28671 * hurd/fopenport.c: Likewise.
28672 * include/libc-symbols.h: Likewise.
28673 * include/tls.h: Likewise.
28674 * intl/gettextP.h: Likewise.
28675 * intl/loadinfo.h: Likewise.
28676 * locale/global-locale.c: Likewise.
28677 * locale/localeinfo.h: Likewise.
28678 * mach/devstream.c: Likewise.
28679 * malloc/arena.c: Likewise.
28680 * malloc/set-freeres.c: Likewise.
28681 * misc/err.c: Likewise.
28682 * misc/getttyent.c: Likewise.
28683 * misc/mntent_r.c: Likewise.
28684 * posix/getopt.c: Likewise.
28685 * posix/wordexp.c: Likewise.
28686 * pwd/fgetpwent_r.c: Likewise.
28687 * resolv/Versions: Likewise.
28688 * resolv/res_hconf.c: Likewise.
28689 * shadow/fgetspent_r.c: Likewise.
28690 * shadow/putspent.c: Likewise.
28691 * stdio-common/printf_fphex.c: Likewise.
28692 * stdio-common/tmpfile.c: Likewise.
28693 * stdlib/abort.c: Likewise.
28694 * stdlib/fmtmsg.c: Likewise.
28695 * sunrpc/auth_unix.c: Likewise.
28696 * sunrpc/clnt_perr.c: Likewise.
28697 * sunrpc/clnt_tcp.c: Likewise.
28698 * sunrpc/clnt_udp.c: Likewise.
28699 * sunrpc/clnt_unix.c: Likewise.
28700 * sunrpc/openchild.c: Likewise.
28701 * sunrpc/svc_simple.c: Likewise.
28702 * sunrpc/svc_tcp.c: Likewise.
28703 * sunrpc/svc_udp.c: Likewise.
28704 * sunrpc/svc_unix.c: Likewise.
28705 * sunrpc/xdr.c: Likewise.
28706 * sunrpc/xdr_array.c: Likewise.
28707 * sunrpc/xdr_rec.c: Likewise.
28708 * sunrpc/xdr_ref.c: Likewise.
28709 * sunrpc/xdr_stdio.c: Likewise.
28710
287112011-09-09 Ulrich Drepper <drepper@gmail.com>
28712
28713 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28714
287152011-07-03 Andreas Jaeger <aj@suse.de>
28716
28717 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28718 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28719 regenerate with gen-libm-tests.pl.
28720
287212010-05-12 Petr Baudis <pasky@suse.cz>
28722
28723 [BZ #11589]
28724 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28725 around j0() zero points by switching to j1().
28726 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28730
287312011-09-09 Ulrich Drepper <drepper@gmail.com>
28732
28733 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28734 instead of 0.
28735 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28736 instead of 0.
28737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28738 Patch in part by Pavel Roskin <proski@gnu.org>.
28739
28740 [BZ #13138]
28741 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28742 realloc.
28743 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28744 Free memory block if necessary.
28745
28746 [BZ #12847]
28747 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28748 be NULL. Don't lock in this case.
28749
287502011-09-09 Roland McGrath <roland@hack.frob.com>
28751
28752 * elf/elf.h (ELFOSABI_GNU): New macro.
28753 (ELFOSABI_LINUX): Define to that.
28754
287552011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28756
28757 * string/strncat.c (strncat): Undef the symbol in case it has been
28758 defined in bits/string.h.
28759
287602011-09-09 Ulrich Drepper <drepper@gmail.com>
28761
28762 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28763
28764 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28765 link map.
28766
287672011-08-17 Andreas Jaeger <aj@suse.de>
28768
28769 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28770
287712011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28772 Ian Lance Taylor <iant@google.com>
28773
28774 * math/libm-test.inc (lround_test): New testcase.
28775 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28776
287772011-09-08 Ulrich Drepper <drepper@gmail.com>
28778
28779 * Makefile: Remove support for automatic cvs check-ins.
28780 * Makerules: Likewise.
28781 * config.make.in: Likewise.
28782 * configure.in: Likewise.
28783 * intl/Makefile: Likewise.
28784 * locale/Makefile: Likewise.
28785 * po/Makefile: Likewise.
28786 * posix/Makefile: Likewise.
28787 * sysdeps/gnu/Makefile: Likewise.
28788 * sysdeps/mach/hurd/Makefile: Likewise.
28789 * sysdeps/sparc/sparc32/Makefile: Likewise.
28790
28791 [BZ #13118]
28792 * posix/Makefile (bug-regex32-ENV): Define.
28793 Patch by John Stanley <jpsinthemix@verizon.net>.
28794
28795 * misc/Makefile (headers): Add bits/select2.h.
28796 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28797 * misc/bits/select2.h: New file.
28798 * include/bits/select2.h: New file.
28799 * debug/Makefile (routines): Add fdelt_chk.
28800 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28801 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28802 FD_ISSET.
28803 * debug/fdelt_chk.c: New file.
28804
28805 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28806 * wcsmbs/test-wmemcmp.c: Likewise.
28807 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28808 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28809
288102011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28811
28812 * string/Makefile (strop-tests): Add memcmp.
28813 * string/test-wmemcmp.c: New file.
28814 * string/test-memcmp.c: Add wmemcmp support.
28815
288162011-09-08 Roland McGrath <roland@hack.frob.com>
28817
28818 [BZ #13153]
28819 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28820 2011-07-19 change.
28821
28822 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28823 garbage value in a __mach_port_mod_refs call in the cases of the
28824 task-self and thread-self ports.
28825
288262011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28827
28828 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28829
288302011-09-08 Andreas Schwab <schwab@redhat.com>
28831
28832 * elf/dl-load.c (lose): Check for non-null L.
28833
288342011-09-07 Ulrich Drepper <drepper@gmail.com>
28835
28836 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28837
28838 * elf/dl-libc.c (dlerror_run): Pass back error code from
28839 dl_catch_error.
28840
28841 [BZ #13123]
28842 * elf/dl-load.c (lose): Free l_origin if it is valid.
28843
28844 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28845 names.
28846 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28847 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28849 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28850 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28851 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28852
288532011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28854
28855 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28856 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28857 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28858 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28859 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28860 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28861 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28862 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28863 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28864 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28865
288662011-08-15 Alan Modra <amodra@gmail.com>
28867
28868 [BZ #13092]
28869 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28870 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28871 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28872 ppc_mcount to static-only-routines.
28873 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28874 __mcount_internal.
28875 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28876 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28877
288782011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28879
28880 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28881 for finite and infinity parameters.
28882
288832011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28884
28885 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28886 and add nop instructions for throughput optimization.
28887 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28888
288892011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28890
28891 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28892 aligned copy for power7 with vector-scalar instructions.
28893 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28894
288952011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28898 AVX check.
28899
289002011-09-07 Andreas Schwab <schwab@redhat.com>
28901
28902 [BZ #13144]
28903 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28904 last change.
28905
289062011-09-07 Ulrich Drepper <drepper@gmail.com>
28907
28908 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28909 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28910 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28911 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28912 clock_gettime.
28913
289142011-09-06 Ulrich Drepper <drepper@gmail.com>
28915
28916 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28917 Forgot to demangle the pointer.
28918
28919 * sysdeps/i386/sysdep.h: Define atom_text_section.
28920 * sysdeps/x86_64/sysdep.h: Likewise.
28921 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28922 section with atom_text_section.
28923 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28924 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28925 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28926 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28927 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28928
28929 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28930 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28931 already be defined. Change to take two parameters and don't assign
28932 result to variable. Adjust all users.
28933 Define INTERNAL_GETTIME if not already defined.
28934 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28935 call.
28936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28937 HAVE_CLOCK_GETTIME_VSYSCALL.
28938 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28939
28940 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28941 gettimeofday vsyscall, just use time.
28942
289432011-09-06 Andreas Schwab <schwab@redhat.com>
28944
28945 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28946 <errno.h>.
28947
289482011-09-06 Ulrich Drepper <drepper@gmail.com>
28949
28950 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28951 syscall on x86-64.
28952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28953 syscall.
28954 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28956 syscall if possible.
28957
289582011-09-05 Ulrich Drepper <drepper@gmail.com>
28959
28960 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28961 e_ident. Don't pass to find_mapsXX.
28962 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28963
289642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28965
28966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28967 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28968 * sysdeps/x86_64/multiarch/strchr.S: Update.
28969 Check bit_slow_BSF bit.
28970 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28971 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28972 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28973
289742011-09-05 Ulrich Drepper <drepper@gmail.com>
28975
28976 [BZ #13134]
28977 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28978 before glibc 2.15.
28979 (tryshell): Define.
28980 (__spawni): Change last parameter to be flag. Test
28981 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28982 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28983 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28984 * posix/spawni.c: Likewise.
28985 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28986 * posix/spawnp.c: Likewise. Change normal version to use
28987 SPAWN_XFLAGS_USE_PATH.
28988 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28989 SPAWN_XFLAGS_TRY_SHELL.
28990
28991 [BZ #13150]
28992 * posix/glob.h: Remove gcc 1.x support.
28993
28994 [BZ #13068]
28995 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28996
289972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28998
28999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29000 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29001 strrchr-sse2-bsf
29002 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29003 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29004 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29005 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29006 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29007 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29008
290092011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29010
29011 * sysdeps/x86_64/wcscmp.S: New file.
29012
29013 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29014 wcscmp-c wcscmp-sse2
29015 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29016 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29017 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29018 * wcsmbs/wcscmp.c: Allow renaming.
29019
290202011-09-05 David S. Miller <davem@davemloft.net>
29021
29022 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29023 stack slot, rather than the struct return pointer slot.
29024 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29025 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29027 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29028
290292011-09-05 Ulrich Drepper <drepper@gmail.com>
29030
29031 * po/ja.po: Update from translation team.
29032
29033 [BZ #13144]
29034 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29035 kernel in 64-bit binaries.
29036
290372011-09-01 David S. Miller <davem@davemloft.net>
29038
29039 * elf/elf.h (HWCAP_SPARC_*): Move to..
29040 * sysdeps/sparc/sysdep.h: this new file and add new values.
29041 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29042 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29043 _DL_HWCAP_COUNT to 24.
29044 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29045 entries.
29046 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29047 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29048 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29050 instead of magic constants.
29051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29052
290532011-08-31 David S. Miller <davem@davemloft.net>
29054
29055 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29057 Reimplement to do errno handling inline.
29058 (SYSCALL_ERROR_HANDLER): New macro.
29059 (__SYSCALL_STRING): Do not do errno handling in asm.
29060 (__CLONE_SYSCALL_STRING): Delete.
29061 (__INTERNAL_SYSCALL_STRING): Delete.
29062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29063 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29064 (PSEUDO): Reimplement to do errno handling inline.
29065 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29066 (SYSCALL_ERROR_HANDLER): New macro.
29067 (__SYSCALL_STRING): Do not do errno handling in asm.
29068 (__CLONE_SYSCALL_STRING): Delete.
29069 (__INTERNAL_SYSCALL_STRING): Delete.
29070 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29071 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29072 i386.
29073 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29074 (inline_syscall*): Add 'err' argument.
29075 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29076 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29077 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29078 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29079
29080 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29081 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29082
290832011-08-30 Andreas Schwab <schwab@redhat.com>
29084
29085 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29086
290872011-08-29 Jiri Olsa <jolsa@redhat.com>
29088
29089 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29090 directive.
29091
290922011-08-24 David S. Miller <davem@davemloft.net>
29093
29094 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29095
290962011-08-24 Andreas Schwab <schwab@redhat.com>
29097
29098 * elf/Makefile: Add rules to build and run unload8 test.
29099 * elf/unload8.c: New file.
29100 * elf/unload8mod1.c: New file.
29101 * elf/unload8mod1x.c: New file.
29102 * elf/unload8mod2.c: New file.
29103 * elf/unload8mod3.c: New file.
29104
29105 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29106 it wasn't used.
29107
291082011-08-23 David S. Miller <davem@davemloft.net>
29109
29110 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29111 subtract stack bias.
29112 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29113 %sp not %fp in calculations.
29114 (_JMPBUF_UNWINDS_ADJ): Likewise.
29115
29116 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29117 (aio_suspend): Call it to force an exception region around the
29118 AIO_MISC_WAIT() invocation.
29119
291202011-08-23 Andreas Schwab <schwab@redhat.com>
29121
29122 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29123 backslash.
29124
291252011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29126
29127 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29128 protection macro.
29129 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29130 and <dl-machine.h>.
29131 (Elf64_FuncDesc): Remove.
29132
291332011-08-22 David S. Miller <davem@davemloft.net>
29134
29135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29136 sigaltstack check, add missing cfi directives.
29137 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29138 missing cfi directives, and sigaltstack handling.
29139
291402011-08-16 Andreas Schwab <schwab@redhat.com>
29141
29142 [BZ #11724]
29143 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29144 object is seen twice.
29145 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29146
29147 * elf/Makefile (distribute): Add tst-initorder2.c.
29148 (tests): Add tst-initorder2.
29149 (modules-names): Add tst-initorder2a tst-initorder2b
29150 tst-initorder2c tst-initorder2d. Add rules to build them.
29151 ($(objpfx)tst-initorder2.out): New rule.
29152 * elf/tst-initorder2.c: New file.
29153 * elf/tst-initorder2.exp: New file.
29154
291552011-08-22 Andreas Schwab <schwab@redhat.com>
29156
29157 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29158
29159 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29160 dependencies back to end of function.
29161
29162 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29163 $(elfobjdir)/ld.so.
29164
291652011-08-21 Ulrich Drepper <drepper@gmail.com>
29166
29167 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29168 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29170 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29171 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29172 of __vdso_gettimeofday.
29173 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29174 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29175 attribute_hidden.
29176 (_libc_vdso_platform_setup): Remove initialization of
29177 __vdso_gettimeofday and __vdso_time.
29178
291792011-08-20 Ulrich Drepper <drepper@gmail.com>
29180
29181 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29182 and fgetc_unlocked.
29183 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29184 getc_unlocked.
29185
29186 * elf/dl-open.c (add_to_global): Report additions to the global scope
29187 for LD_DEBUG=scopes.
29188 (dl_open_worker): Also print scope of newly loaded dependencies.
29189 (_dl_show_scope): Indicate if there is no scope.
29190
29191 [BZ #13114]
29192 * stdio-common/Makefile (tests): Add bug24.
29193 * stdio-common/bug24.c: New file.
29194
291952011-08-19 Andreas Jaeger <aj@suse.de>
29196
29197 [BZ #13114]
29198 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29199 non-existant file when using close-on-exec mode.
29200
292012011-08-20 Ulrich Drepper <drepper@gmail.com>
29202
29203 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29204 the very first instruction.
29205
29206 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29207 the CFI state in the end.
29208 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29209 inclusion of dl-trampoline.h.
29210 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29211
292122011-08-19 Andreas Schwab <schwab@redhat.com>
29213
29214 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29215 expectations for long double.
29216
29217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29218 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29219
292202011-08-14 David S. Miller <davem@davemloft.net>
29221
29222 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29223 artificual limit depends upon the system page size.
29224
292252011-08-17 Ulrich Drepper <drepper@gmail.com>
29226
29227 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29228 * resolv/Makefile: Define CFLAGS-libresolv.
29229
292302011-08-17 Andreas Schwab <schwab@redhat.com>
29231
29232 * nss/makedb.c (compute_tables): Make variables used in nested
29233 function static.
29234
292352011-08-17 Ulrich Drepper <drepper@gmail.com>
29236
29237 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29238 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29239 if buffer was too small.
29240
29241 * elf/pldd.c (main): Attach to all threads in the process.
29242 Rewrite /proc handling to use *at functions.
29243
292442011-08-16 Ulrich Drepper <drepper@gmail.com>
29245
29246 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29247 specifies first scope to show.
29248 (dl_open_worker): Update callers. Move printing scope of new
29249 object to before the relocation.
29250 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29251 * sysdeps/generic/ldsodefs.h: Update declaration.
29252
29253 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29254 string for the scope number.
29255
292562011-08-14 Ulrich Drepper <drepper@gmail.com>
29257
29258 * nscd/servicescache.c (cache_addserv): Make sure written is always
29259 initialized.
29260
292612011-08-14 Roland McGrath <roland@hack.frob.com>
29262
29263 * sysdeps/i386/i486/bits/atomic.h
29264 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29265 statement expression, so as to suppress "set but not used" warning.
29266 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29267
29268 * string/strncat.c (STRNCAT): Use prototype definition.
29269
29270 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29271 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29272 -Iprograms here.
29273 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29274 (localedef-modules): Add localedef.
29275 (locale-modules): Add locale.
29276
29277 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29278 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29279 to avoid a warning.
29280
292812011-08-14 David S. Miller <davem@davemloft.net>
29282
29283 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29284 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29285
292862011-08-13 Ulrich Drepper <drepper@gmail.com>
29287
29288 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29289 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29290 * elf/rtld.c (dl_main): Set l_name of vDSO.
29291 Call _dl_show_scope when DL_DEBUG_SCOPES.
29292 (process_dl_debug): Recognize scopes flag and also set it for all.
29293 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29294 Declare _dl_show_scope.
29295
29296 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29297 (do_dlopen): Pass caller_dlopen to dl_open.
29298 (__libc_dlopen_mode): Initialize caller_dlopen.
29299
29300 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29301 of libc. Make tolower call locale-independent. Optimize a bit by
29302 using isdigit instead of isalnum.
29303 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29304
293052011-08-12 Ulrich Drepper <drepper@gmail.com>
29306
29307 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29308 was a dependency or dynamically loaded.
29309
293102011-08-11 Ulrich Drepper <drepper@gmail.com>
29311
29312 * intl/l10nflist.c: Allow architecture-specific pop function.
29313 * sysdeps/x86_64/l10nflist.c: New file.
29314
29315 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29316 classification.
29317
293182011-08-10 Andreas Schwab <schwab@redhat.com>
29319
29320 * include/dirent.h: Add libc_hidden_proto for scandirat and
29321 scandirat64. Don't declare __scandirat64.
29322 * dirent/scandirat.c: Add libc_hidden_def.
29323 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29324 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29325
293262011-08-10 David S. Miller <davem@davemloft.net>
29327
29328 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29329 enum.
29330 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29333
293342011-08-09 Ulrich Drepper <drepper@gmail.com>
29335
29336 * Versions.def [libc]: Add GLIBC_2.15.
29337 * dirent/Makefile (routines): Add scandirat and scandirat64.
29338 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29339 GLIBC_2.15.
29340 * dirent/dirent.h: Declare scandirat and scandirat64.
29341 * dirent/scandirat.c: New file.
29342 * dirent/scandirat64.c: New file.
29343 * sysdeps/wordsize-64/scandirat.c: New file.
29344 * sysdeps/wordsize-64/scandirat64.c: New file.
29345 * dirent/opendir.c: Define opendirat.
29346 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29347 using scandirat.
29348 * dirent/scandir64.c: Adjust for scandir.c change.
29349 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29350 __scandirat64, and __scandir_cancel_handler.
29351 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29352 additional parameter and use openat instead of open (outside of ld.so).
29353 Add new __opendir as wrapper around __opendirat.
29354 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29355 here without requiring old scandirat implementation.
29356
293572011-08-08 Ulrich Drepper <drepper@gmail.com>
29358
29359 * dirent/scandir.c (cancel_handler): Renamed to
29360 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29361 defined. Adjust users.
29362 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29363 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29364
293652011-08-04 Ulrich Drepper <drepper@gmail.com>
29366
29367 * string/test-string.h (IMPL): Use __STRING to expand name and then
29368 stringify it.
29369
29370 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29371 of cleanups.
29372
293732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29374
29375 * string/Makefile: Update.
29376 (strop-tests): Append strncat.
29377 * string/test-wcscmp.c: New file.
29378 New comprehensive test for wcscmp.
29379 * string/test-strcmp.c: Update.
29380 (WIDE): New define.
29381
293822011-07-22 Andreas Schwab <schwab@redhat.com>
29383
29384 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29385 line.
29386
293872011-07-26 Andreas Schwab <schwab@redhat.com>
29388
29389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29390 encoding to ACE if AI_IDN.
29391
293922011-08-01 Jakub Jelinek <jakub@redhat.com>
29393
29394 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29395 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29396
293972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29398
29399 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29400 Fix overflow bug in strncat.
29401 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29402
29403 * string/test-strncat.c: Update.
29404 Add new tests for checking overflow bugs.
29405
294062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29407
29408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29409 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29410 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29411 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29412 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29413 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29414 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29415 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29416 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29417
29418 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29419 (USE_AS_STRCAT): Define.
29420 Add strcat and strncat support.
29421 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29422
294232011-07-25 Andreas Schwab <schwab@redhat.com>
29424
29425 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29426 __n bigger than INT_MAX+1.
29427 (__strncmp_g): Likewise.
29428
294292011-07-23 Ulrich Drepper <drepper@gmail.com>
29430
29431 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29432 * libio/stido.h: Likewise.
29433
29434 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29435 (AF_NFC): Define.
29436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29437 (AF_NFC): Define.
29438
29439 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29440 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29441 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29442 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29444
29445 [BZ #13021]
29446 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29447 installed.
29448
29449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29450 typo.
29451 (_dl_x86_64_save_sse): Likewise.
29452
294532011-07-22 Ulrich Drepper <drepper@gmail.com>
29454
29455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29456 OSXSAVE.
29457 (_dl_x86_64_save_sse): Likewise.
29458
29459 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29460
29461 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29462
294632011-07-21 Andreas Schwab <schwab@redhat.com>
29464
29465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29466 change.
29467 (_dl_x86_64_save_sse): Use correct AVX check.
29468
294692011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29470
29471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29472 bug in strncpy/strncat.
29473 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29474
294752011-07-21 Ulrich Drepper <drepper@gmail.com>
29476
29477 * string/tester.c (test_strcat): Add tests for different alignments
29478 of source and destination.
29479 (test_strncat): Likewise.
29480
294812011-07-20 Ulrich Drepper <drepper@gmail.com>
29482
29483 [BZ #12852]
29484 * posix/glob.c (glob): Check passed in values before using them in
29485 expressions to avoid some overflows.
29486 (glob_in_dir): Likewise.
29487
29488 [BZ #13007]
29489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29490 check for AVX enablement so that we don't crash with old kernels and
29491 new hardware.
29492 * elf/tst-audit4.c: Add same checks here.
29493 * elf/tst-audit6.c: Likewise.
29494
29495 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29496
294972011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29498
29499 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29500
295012011-07-20 Ulrich Drepper <drepper@gmail.com>
29502
29503 * po/cs.po: Update from translation team.
29504 * po/bg.po: Likewise.
29505
295062011-07-12 Marek Polacek <mpolacek@redhat.com>
29507
29508 * misc/sys/cdefs.h: Add support for const attribute.
29509 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29510 to gnu_dev_{major,minor,makedev} functions.
29511
295122011-07-20 Marek Polacek <mpolacek@redhat.com>
29513
29514 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29515
295162011-07-20 Andreas Schwab <schwab@redhat.com>
29517
29518 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29519 strlen results.
29520
295212011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29522
29523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29524 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29525 register in order to avoid conflicts with the soft frame pointer
29526 being held in r11 when necessary.
29527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29528 (INTERNAL_VSYSCALL_NCS): Likewise.
29529
295302011-07-14 Marek Polacek <mpolacek@redhat.com>
29531
29532 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29533 * elf/dl-fini.c (_dl_fini): Adjust caller.
29534 * elf/dl-close.c (_dl_close_worker): Likewise.
29535 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29536
295372011-07-15 Marek Polacek <mpolacek@redhat.com>
29538
29539 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29540 "aux_cache->nlibs < 0".
29541
29542 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29543 in the reload-count case.
29544
295452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29546
29547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29548 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29549 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29550 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29551 * sysdeps/x86_64/multiarch/strcat.S: New file.
29552 * sysdeps/x86_64/multiarch/strncat.S: New file.
29553 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29554 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29555 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29556 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29557 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29558 (USE_AS_STRCAT): Define.
29559 Add strcat and strncat support.
29560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29561 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29562 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29563 * string/strncat.c: Update.
29564 (USE_AS_STRNCAT): Define.
29565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29566 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29567 and i7.
29568 * sysdeps/x86_64/multiarch/init-arch.h
29569 (bit_Prefer_PMINUB_for_stringop): New.
29570 (index_Prefer_PMINUB_for_stringop): Likewise.
29571 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29572 bit_Prefer_PMINUB_for_stringop.
29573
295742011-07-19 Ulrich Drepper <drepper@gmail.com>
29575
29576 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29577 buffer64.
29578 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29579 of casting of buffer.
29580 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29581 buffer32 and buffer64.
29582 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29583 writes instead of casting of buffer.
29584 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29585 buffer32.
29586 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29587 casting of buffer.
29588
295892011-07-19 Andreas Schwab <schwab@redhat.com>
29590
29591 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29592
295932011-07-19 Ulrich Drepper <drepper@gmail.com>
29594
29595 * nscd/nscd.c (termination_handler): Don't do anything for a database
29596 if it has not yet been initialized.
29597
295982011-07-18 Ulrich Drepper <drepper@gmail.com>
29599
29600 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29601
296022011-07-15 Marek Polacek <mpolacek@redhat.com>
29603
29604 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29605
296062011-07-18 Ulrich Drepper <drepper@gmail.com>
29607
29608 * po/nl.po: Update from translation team.
29609 * po/sv.po: Likewise.
29610
296112011-07-16 Roland McGrath <roland@hack.frob.com>
29612
29613 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29614 now disallowed by GCC.
29615
29616 * configure.in (use-default-link): Default to yes if a test -shared
29617 link meets our qualifications.
29618 * configure: Regenerated.
29619
29620 * config.make.in (output-format): New variable.
29621 * configure.in: Check for ld --print-output-format support.
29622 * configure: Regenerated.
29623 * Makerules ($(common-objpfx)format.lds)
29624 [$(output-format) != unknown]: Just use $(output-format),
29625 instead of the linker-script munging.
29626
296272011-07-14 Roland McGrath <roland@hack.frob.com>
29628
29629 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29630 of $(common-objpfx)shlib.lds.
29631 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29632
29633 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29634 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29635
29636 * configure.in (-z relro check): Adjust test code to add a large
29637 writable data section after it.
29638 * configure: Regenerated.
29639
296402011-07-11 Roland McGrath <roland@hack.frob.com>
29641
29642 * configure.in (-z relro check): Fix test code to make the variable
29643 truly const.
29644 * configure: Regenerated.
29645
296462011-07-11 Ulrich Drepper <drepper@gmail.com>
29647
29648 * nscd/nscd.h (struct traced_file): Define.
29649 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29650 elements. Add traced_files.
29651 (inotify_fd): Declare.
29652 (register_traced_file): Declare.
29653 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29654 (inotify_fd): Export.
29655 (resolv_conf_descr): Remove.
29656 (nscd_init): Move inotify descriptor creation to main.
29657 Don't register files for notification here.
29658 (register_traced_file): New function.
29659 (invalidate_cache): Don't use reset_res to determine whether to call
29660 res_init, go through the list of registered files.
29661 (main_loop_poll): The inotify descriptors are now stored in the
29662 structures for the traced files.
29663 (main_loop_epoll): Likewise
29664 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29665 to __nss_disable_nscd.
29666 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29667 for a database anymore. Check the records for all the registered
29668 files instead.
29669 * nss/Makefile (libnss_files-routines): Add files-init.
29670 (libnss_db-routines): Add db-init.
29671 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29672 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29673 * nss/nss_db/db-init.c: New file.
29674 * nss/nss_files/files-init.c: New file.
29675 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29676 __nss_lookup_function.
29677 (__nss_lookup_function): Call nss_load_library.
29678 (nss_load_all_libraries): New function.
29679 (__nss_disable_nscd): Take parameter with callback function for files
29680 to register. Set is_nscd. Load all the DSOs for the NSS modules
29681 used for the cached services.
29682 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29683 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29684 options for features to all the files in nscd.
29685
29686 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29687
296882011-07-10 Roland McGrath <roland@hack.frob.com>
29689
29690 * csu/elf-init.c (__libc_csu_init): Comment typo.
29691
296922011-07-09 Ulrich Drepper <drepper@gmail.com>
29693
29694 * po/pl.po: Update from translation team.
29695 * po/ja.po: Likewise.
29696 * po/ru.po: Likewise.
29697 * po/ko.po: Likewise.
29698 * po/fr.po: Likewise.
29699
297002011-07-09 Roland McGrath <roland@hack.frob.com>
29701
29702 * configure.in (.ctors/.dtors header and trailer check):
29703 Use an empirical test on a built program.
29704 * configure: Regenerated.
29705
29706 * configure.in (-z relro check): Use an empirical test on a built DSO.
29707 Detect, but do not require, on ia64.
29708 * configure: Regenerated.
29709
29710 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29711 Update tests that use readelf to use $READELF instead.
29712 * configure: Regenerated.
29713
297142011-07-08 Ulrich Drepper <drepper@gmail.com>
29715
29716 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29717 if the result is not used.
29718
297192011-07-05 Andreas Jaeger <aj@suse.de>
29720
29721 [BZ#9696]
29722 * stdlib/tst-strtod.c: Add testcase.
29723
297242011-07-07 Ulrich Drepper <drepper@gmail.com>
29725
29726 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29727 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29728 The latter has a higher limit. Take additional parameter to pass to
29729 the new function.
29730 (__pathconf): Pass file to __statfs_link_max.
29731 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29732 __statfs_link_max.
29733 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29734 __statfs_link_max.
29735
29736 [BZ #12868]
29737 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29739 Handle Lustre.
29740 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29741 (__statfs_filesize_max): Likewise.
29742 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29743
297442011-07-05 Andreas Jaeger <aj@suse.de>
29745
29746 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29747
297482011-07-06 Marek Polacek <mpolacek@redhat.com>
29749
29750 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29751 `status' variable.
29752 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29753 Likewise.
29754
297552011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29756
29757 * Makefile (strop-tests): Add strncat.
29758 * string/test-strncat.c: New file.
29759
297602011-06-30 Marek Polacek <mpolacek@redhat.com>
29761
29762 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29763
297642011-06-21 Andreas Jaeger <aj@suse.de>
29765
29766 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29767 Copy rule from iconvdata/Makefile.
29768
297692011-07-06 Ulrich Drepper <drepper@gmail.com>
29770
29771 [BZ #12922]
29772 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29773 but no long options are defined, just return 'W'.
29774
297752011-06-22 Marek Polacek <mpolacek@redhat.com>
29776
29777 [BZ #9696]
29778 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29779
297802011-07-06 Ulrich Drepper <drepper@gmail.com>
29781
29782 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29783 netgroups to read.
29784 (innetgr): Likewise.
29785
297862011-07-05 Roland McGrath <roland@hack.frob.com>
29787
29788 * config.make.in (install_root): Default to $(DESTDIR).
29789
297902011-07-05 Ulrich Drepper <drepper@gmail.com>
29791
29792 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29793
297942011-07-02 Roland McGrath <roland@hack.frob.com>
29795
29796 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29797
29798 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29799 containing directory rather than embedding absolute directory names.
29800
29801 * scripts/check-local-headers.sh: Rewritten using awk.
29802 Match by word, not by line. Print error messages for matches.
29803 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29804
29805 * Makerules [shlib-lds-flags empty]:
29806 ($(common-objpfx)libc_pic.opts): New target.
29807 ($(common-objpfx)libc_pic.os.clean): New target.
29808 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29809
29810 * config.make.in (OBJCOPY): New variable.
29811 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29812 * configure: Regenerated.
29813
29814 * config.make.in (use-default-link): New variable.
29815 * configure.in (use_default_link): Grok --with-default-link to set it.
29816 * configure: Regenerated.
29817 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29818 (shlib-lds, shlib-lds-flags): Define to empty.
29819
29820 * Makerules (shlib-lds): New variable.
29821 (shlib-lds-flags): New variable.
29822 (build-shlib, build-moduile, build-module-asneeded): Use it.
29823 ($(common-objpfx)libc.so): Use $(shlib-lds).
29824 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29825 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29826
29827 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29828 DT_FLAGS/DT_FLAGS_1 with zero flags.
29829
29830 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29831 linker script munging.
29832
298332011-07-02 Ulrich Drepper <drepper@gmail.com>
29834
29835 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29836 as 128-bit value.
29837 * crypt/sha512.c (sha512_process_block): Perform total addition using
29838 128-bit if possible.
29839 (__sha512_finish_ctx): Likewise.
29840 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29841 as 64-bit value.
29842 * crypt/sha256.c (SWAP64): Define.
29843 (sha256_process_block): Perform total addition using 64-bit if
29844 possible.
29845 (__sha256_finish_ctx): Likewise.
29846
298472011-07-01 Ulrich Drepper <drepper@gmail.com>
29848
29849 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29850 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29851 * nscd/hstcache.c (cache_addhst): Likewise.
29852 * nscd/grpcache.c (cache_addgr): Likewise.
29853 * nscd/aicache.c (addhstaiX): Likewise
29854 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29855
298562011-07-01 Thorsten Kukuk <kukuk@suse.de>
29857
29858 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29859 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29860 * nscd/hstcache.c (cache_addhst): Likewise.
29861 * nscd/grpcache.c (cache_addgr): Likewise.
29862 * nscd/aicache.c (addhstaiX): Likewise
29863
298642011-07-01 Andreas Schwab <schwab@redhat.com>
29865
29866 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29867 domain only when needed.
29868
298692011-06-30 Andreas Schwab <schwab@redhat.com>
29870
29871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29872 is always restored.
29873
298742011-06-29 Ulrich Drepper <drepper@gmail.com>
29875
29876 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29877 are re-adding the entry.
29878 * nscd/servicescache.c (cache_addserv): Likewise.
29879
298802011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29881
29882 * sysdeps/generic/dl-irel.h: fix protection against multiple
29883 inclusions.
29884 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29885
298862011-06-28 Ulrich Drepper <drepper@gmail.com>
29887
29888 [BZ #12935]
29889 * malloc/memusage.sh: Fix quoting in message.
29890 * debug/xtrace.sh: Likewise.
29891
29892 * configure.in: Remove support for --experimental-malloc option, make
29893 it the default.
29894 * config.make.in: Likewise.
29895 * malloc/Makefile: Likewise.
29896
298972011-06-27 Andreas Schwab <schwab@redhat.com>
29898
29899 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29900 two-byte characters.
29901
299022011-06-27 Roland McGrath <roland@hack.frob.com>
29903
29904 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29905 AC_CACHE_CHECK invocation.
29906 * configure: Regenerated.
29907
29908 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29909
299102011-06-27 Ulrich Drepper <drepper@gmail.com>
29911
29912 [BZ #12350]
29913 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29914 bit from old_res_options.
29915
29916 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29917
29918 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29919 value type for setfct.
29920
299212011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29922
29923 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29924 __gettimeofday instead of gettimeofday.
29925
299262011-06-26 Ulrich Drepper <drepper@gmail.com>
29927
29928 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29929
299302011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29931
29932 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29933
29934 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29935 info.
29936
299372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29938
29939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29940 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29941 strcpy-sse2-unaligned strncpy-sse2-unaligned
29942 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29943 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29944 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29945 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29946 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29947 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29948 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29949 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29950 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29951 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29952 (STRCPY): Support SSE2 and SSSE3 versions.
29953
299542011-06-24 Ulrich Drepper <drepper@gmail.com>
29955
29956 [BZ #12874]
29957 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29958 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29959 kernels which artificially limit size of requests.
29960
299612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29962
29963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29964 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29965 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29966 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29967 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29968 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29969 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29970 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29972 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29973 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29974 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29975 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29976 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29977 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29979 Enable unaligned load optimization for Intel Core i3, i5 and i7
29980 processors.
29981 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29982 Define.
29983 (index_Fast_Unaligned_Load): Define.
29984 (HAS_FAST_UNALIGNED_LOAD): Define.
29985
299862011-06-23 Marek Polacek <mpolacek@redhat.com>
29987
29988 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29989
299902011-06-22 Ulrich Drepper <drepper@gmail.com>
29991
29992 [BZ #12907]
29993 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29994 until it is clear that the information is realy needed.
29995 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29996
299972011-06-22 Andreas Schwab <schwab@redhat.com>
29998
29999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30000
300012011-06-22 Ulrich Drepper <drepper@gmail.com>
30002
30003 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30004 /sys/devices/system/cpu/online if it is usable.
30005
30006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30007 reading the information from the /proc filesystem to once a second.
30008
300092011-06-21 Andreas Jaeger <aj@suse.de>
30010
30011 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30012 NULL after inclusion of kernel headers.
30013
300142011-06-21 Ulrich Drepper <drepper@gmail.com>
30015
30016 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30017 calls to internal_setent.
30018
30019 [BZ #12885]
30020 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30021 addresses using gethostbyname4_r ignore IPv4 addresses.
30022
30023 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30024 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30025
30026 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30027
300282011-06-20 David S. Miller <davem@davemloft.net>
30029
30030 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30031 inclusions.
30032 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30033
30034 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30035 (elf_irel): Use it.
30036 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30037 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30038 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30039 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30040 * sysdeps/x86_64/dl-irel.h: Likewise.
30041
30042 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30043 * elf/dl-sym.c: Likewise.
30044
300452011-06-15 Ulrich Drepper <drepper@gmail.com>
30046
30047 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30048 need to dereference resplen2.
30049
300502011-06-14 Andreas Schwab <schwab@redhat.com>
30051
30052 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30053
300542011-06-15 Ulrich Drepper <drepper@gmail.com>
30055
30056 * Makeconfig: Define vardbdir and inst_vardbdir.
30057 * nss/Makefile: Add rules to install db-Makefile.
30058
30059 * nss/nss_db/db-XXX.c: Cleanup.
30060
30061 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30062 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30063 GLIBC_PRIVATE.
30064 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30065 * nss/makedb.c: Implement -g option to specify that value strings
30066 are generated and should not be added to table iterated over for
30067 get*ent calls.
30068 * nss/nss_db/db-initgroups.c: New file.
30069
30070 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30071 interface.
30072
30073 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30074 (internal_getgrouplist): Adjust to name change.
30075 Update use_initgroups_entry if this is not the first call.
30076 * nss/databases.def: Add initgroups entry.
30077
30078 * nss/makedb.c (compute_tables): Check result of multiple hash table
30079 sizes to minimize maximum chain length.
30080
300812011-06-14 Ulrich Drepper <drepper@gmail.com>
30082
30083 * Versions.def: Add entry for libnss_db.
30084 * shlib-versions: Likewise.
30085 * nss/Makefile: Add rules to build libnss_db.
30086 * nss/Versions: Add libnss_db information. Organize libnss_files
30087 entries better.
30088 * nss/db-Makefile: Add gshadow support. Change rules for the new
30089 makedb progra. Some minor improvements to generate smaller files.
30090 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30091 here from...
30092 * nss/makedb.c: ...here.
30093 Improve database format to be smaller and require less memory at
30094 runtime.
30095 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30096 db anymore.
30097 * nss/nss_db/db-netgrp.c: Likewise.
30098 * nss/nss_db/db-open.c: Likewise.
30099 * nss/nss_files/flies-XXX.x: Adjust comments.
30100 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30101 * nss/nss_files/files-grp.c: Likewise.
30102 * nss/nss_files/files-hosts.c: Likewise.
30103 * nss/nss_files/files-network.c: Likewise.
30104 * nss/nss_files/files-proto.c: Likewise.
30105 * nss/nss_files/files-pwd.c: Likewise.
30106 * nss/nss_files/files-rpc.c: Likewise.
30107 * nss/nss_files/files-service.c: Likewise.
30108 * nss/nss_files/files-sgrp.c: Likewise.
30109 * nss/nss_files/files-spwd.c: Likewise.
30110 * nss/nss_db/db-alias.c: Removed.
30111 * nss/nss_db/dummy-db.h: Removed.
30112
301132011-06-02 Ulrich Drepper <drepper@gmail.com>
30114
30115 * nss/makedb.c: Rewritten to not use database library.
30116 * nss/Makefile: Update to build new makedb program.
30117
301182011-06-14 Andreas Jaeger <aj@suse.de>
30119
30120 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30121 memset declaration.
30122
301232011-06-10 Andreas Schwab <schwab@redhat.com>
30124
30125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30126 tmpbuf.
30127
301282011-06-10 Roland McGrath <roland@hack.frob.com>
30129
30130 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30131 * elf/Makefile ($(objpfx)ld.so): Likewise.
30132
30133 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30134 Don't list ld.so twice in dependencies.
30135
30136 * posix/bug-regex31.c: Include <stdlib.h>.
30137
30138 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30139
30140 * nis/nss_compat/compat-spwd.c
30141 (getspent_next_nss_netgr): Remove unused variable.
30142 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30143
30144 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30145 nonmembers" output to use the right array.
30146
30147 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30148
30149 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30150
30151 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30152 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30153 * catgets/gencat.c (read_input_file): Likewise.
30154 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30155
30156 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30157 variable definition inside #if's controlling its use.
30158
30159 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30160
30161 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30162
30163 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30164
30165 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30166 unreachable code.
30167
30168 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30169
30170 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30171 * configure: Regenerated.
30172
30173 * Makerules: Revert last change.
30174 * elf/Makefile: Likewise.
30175
301762011-06-09 Roland McGrath <roland@hack.frob.com>
30177
30178 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30179 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30180 (reloc-link): Likewise.
30181
301822011-06-09 Ulrich Drepper <drepper@gmail.com>
30183
30184 * elf/Makefile: Add rules to build pldd.
30185 * elf/pldd.c: New file.
30186 * elf/pldd-xx.c: New file.
30187
301882011-06-07 Ulrich Drepper <drepper@gmail.com>
30189
30190 * version.h: Update for 2.15 development version.
30191
301922011-06-07 David S. Miller <davem@davemloft.net>
30193
30194 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30195 ifuncs.
30196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30197 elf_machine_lazy_rel): Likewise.
30198 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30199 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30200 elf_machine_lazy_rel): Likewise.
30201 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30202 dl_hwcap via passed in argument.
30203 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30204 Likewise.
30205
302062011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30207
30208 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30209
302102011-06-06 Roland McGrath <roland@hack.frob.com>
30211
30212 [BZ #12849]
30213 * manual/fdl-1.1.texi: New file, verbatim from:
30214 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30215 * manual/lgpl-2.1.texi: New file, verbatim from:
30216 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30217 * manual/Makefile (licenses): New variable, list those new file names.
30218 (texis): Use it.
30219 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30220
30221 * manual/fdl.texi: File removed.
30222 * manual/lesser.texi: File removed.
30223 * manual/libc.texinfo (Copying, Documentation License):
30224 Use new @include file names, put @appendix directive before @include.
30225
302262011-06-04 Jakub Jelinek <jakub@redhat.com>
30227
30228 [BZ #12841]
30229 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30230 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30231 (mq_open): Add __NTH.
30232
302332011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30234
30235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30236 Assume Intel Core i3/i5/i7 processor if AVX is available.
30237
302382011-05-31 Ulrich Drepper <drepper@gmail.com>
30239
30240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30241 typo.
30242
302432011-05-31 Andreas Schwab <schwab@redhat.com>
30244
30245 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30246 memory. Use alloca_account. Fix memory leak when retrying.
30247
302482011-05-31 Ulrich Drepper <drepper@gmail.com>
30249
30250 * version.h (RELEASE): Bump for 2.14 release.
30251 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30252
30253 * config.make.in (RANLIB): Remove entry.
30254
302552011-05-30 Ulrich Drepper <drepper@gmail.com>
30256
30257 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30258 (libc.pot): Work around missing support for .ksh extension in xgettext.
30259
30260 [BZ #12684]
30261 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30262 if both request failed.
30263 (send_dg): In case of server errors clear resplen or *resplen2.
30264
30265 [BZ #12454]
30266 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30267 when there are multiple maps.
30268 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30269 (_dl_fini): Remove test here.
30270
30271 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30272
302732011-05-29 Ulrich Drepper <drepper@gmail.com>
30274
30275 [BZ #12350]
30276 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30277 bit from old_res_options.
30278 (gaih_inet): Likewise.
30279
30280 [BZ #11099]
30281 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30282 as signed.
30283
30284 * resolv/res_init.c (res_setoptions): Make the code more compact.
30285
30286 [BZ #11558]
30287 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30288 set RES_USEVC.
30289
30290 [BZ #11634]
30291 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30292
30293 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30294
30295 [BZ #11781]
30296 * malloc/malloc.h: Declare malloc hook variables as volatile.
30297
30298 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30299 in last patch.
30300
30301 [BZ #11799]
30302 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30303 raise in the comment.
30304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30305 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30306 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30307
303082011-05-28 Ulrich Drepper <drepper@gmail.com>
30309
30310 [BZ #12811]
30311 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30312 grow the buffers more if it already has to be sufficient.
30313 (build_wcs_upper_buffer): Likewise.
30314 * posix/regexec.c (check_matching): Likewise.
30315 (clean_state_log_if_needed): Likewise.
30316 (extend_buffers): Don't enlarge buffers beyond size of the input
30317 buffer.
30318 Patches mostly by Emil Wojak <emil@wojak.eu>.
30319 * posix/bug-regex32.c: New file.
30320 * posix/Makefile (tests): Add bug-regex32.
30321
30322 * locale/findlocale.c (_nl_find_locale): Return right away if
30323 _nl_explode_name failed.
30324 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30325
30326 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30327
30328 * debug/xtrace.sh: Unify messages.
30329 * malloc/memusage.sh: Likewise.
30330
30331 [BZ #12813]
30332 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30333 time symbol from vDSO. Substitute with vsyscall if not available.
30334 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30335 __vdso_time.
30336
30337 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30338 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30339 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30340 Add sendmmsg and internal_sendmmsg.
30341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30342 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30343 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30344
30345 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30346 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30348
303492011-05-27 Ulrich Drepper <drepper@gmail.com>
30350
30351 [BZ #12813]
30352 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30353 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30354 available.
30355 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30356 __vdso_getcpu.
30357
30358 [BZ #12814]
30359 * iconvdata/Makefile (tests): Add bug-iconv9.
30360 * iconvdata/bug-iconv9.c: New file.
30361
303622011-05-27 Andreas Schwab <schwab@redhat.com>
30363
30364 [BZ #12814]
30365 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30366
303672011-05-25 Jakub Jelinek <jakub@redhat.com>
30368
30369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30370 (struct user_regs_struct): Change intcs field back to cs.
30371
303722011-05-25 Ulrich Drepper <drepper@gmail.com>
30373
30374 * po/ja.po: Update from translation team.
30375
303762011-05-23 Ulrich Drepper <drepper@gmail.com>
30377
30378 [BZ #12795]
30379 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30380 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30381
303822011-05-20 Andreas Schwab <schwab@redhat.com>
30383
30384 * stdlib/longlong.h: Update from GCC.
30385
303862011-05-23 Andreas Schwab <schwab@redhat.com>
30387
30388 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30389 parameter name.
30390 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30391 Add parameter name.
30392 (__sysconf): Pass it down.
30393
303942011-05-22 Ulrich Drepper <drepper@gmail.com>
30395
30396 [BZ #12671]
30397 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30398 some situations.
30399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30400 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30401 add in in __libc_use_alloca calls. Adjust callers.
30402 (glob): Use malloc in some situations.
30403
30404 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30405 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30406 pltexit.
30407
304082011-05-21 Ulrich Drepper <drepper@gmail.com>
30409
30410 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30411 and CLOCK_BOOTTIME_ALARM.
30412
30413 [BZ #12782]
30414 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30415 is returned.
30416
30417 * string/_strerror.c (__strerror_r): Print negative errors as signed
30418 numbers.
30419
30420 [BZ #12777]
30421 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30422 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30423 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30424
30425 * configure.in: Fix typo in redirection and correct removal of test
30426 files in two cases.
30427
30428 [BZ #12788]
30429 * locale/setlocale.c (new_composite_name): Fix test to check for
30430 identical name of all categories.
30431
30432 [BZ #12792]
30433 * libio/filedoalloc.c (local_isatty): New function.
30434 (_IO_file_doallocate): Use local_isatty.
30435 * stdio-common/perror.c (perror): In case a new stream is used
30436 forward the stream error.
30437 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30438 error flag.
30439
304402011-05-20 Ulrich Drepper <drepper@gmail.com>
30441
30442 [BZ #11869]
30443 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30444 alloca.
30445 * include/alloca.h (extend_alloca_account): Define.
30446
30447 [BZ #11857]
30448 * posix/regex.h: Fix comments with documentation of user-accessible
30449 fields after compilation and describe correct free'ing of pattern
30450 after re_compile_pattern.
30451 Patch by Reuben Thomas <rrt@sc3d.org>.
30452
304532011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30454
30455 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30456 and -mno-altivec to prevent the compiler from using Altivec and/or
30457 VSX instructions when the corresponding registers are not available.
30458
304592011-05-19 Andreas Schwab <schwab@redhat.com>
30460
30461 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30462
304632011-05-19 Ulrich Drepper <drepper@gmail.com>
30464
30465 * libio/freopen.c (freopen): Use __dup2, not dup2.
30466 * libio/freopen64.c (freopen64): Likewise.
30467
304682011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30469
30470 [BZ #12775]
30471 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30472 * math/Makefile (tests): Add test-powl.
30473 (CFLAGS-test-powl.c): Define.
30474 * math/test-powl.c: New file.
30475
304762011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30477
30478 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30479
304802011-05-17 Ulrich Drepper <drepper@gmail.com>
30481
30482 [BZ #11837]
30483 * iconvdata/gb18030.c: Update to GB18020-2005.
30484
304852011-05-16 Ulrich Drepper <drepper@gmail.com>
30486
30487 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30488 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30489 Patch by Aharon Robbins <arnold@skeeve.com>.
30490
30491 [BZ #11892]
30492 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30493 on the stack.
30494
30495 [BZ #11895]
30496 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30497 through underflows.
30498
30499 [BZ #12766]
30500 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30501 point to strings before performing equality test for error_one_per_line
30502 mode.
30503
30504 [BZ #11697]
30505 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30506
30507 [BZ #11820]
30508 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30509 (struct user_fpregs_struct): Avoid __uint*_t types.
30510
30511 [BZ #6420]
30512 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30513 symbol info. Use it instead of calling _dl_addr locally.
30514 (lock_and_info): New function.
30515 (tr_freehook): Call lock_and_info and pass symbol info as additional
30516 parameter to tr_where.
30517 (tr_mallochook): Likewise.
30518 (tr_reallochook): Likewise.
30519 (tr_memalignhook): Likewise.
30520
30521 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30522 used and couldn't be at all thread-safe.
30523
305242011-05-15 Ulrich Drepper <drepper@gmail.com>
30525
30526 * libio/freopen.c (freopen): Don't close old file descriptor
30527 before the new one is opened. Instead dup the new file descriptor
30528 to the old one after the new stream is created.
30529 * libio/freopen64.c (freopen64): Likewise.
30530 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30531 * libio/fileops.c (_IO_new_file_close_it): Handle new
30532 _IO_FLAGS2_NOCLOSE flag.
30533 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30534 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30535 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30536 _IO_FLAGS2_NOCLOSE flag.
30537 * include/unistd.h: Add hidden_proto for dup3.
30538 Define __have_dup3.
30539 * io/dup3.c: Define hidden symbol.
30540 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30541
30542 [BZ #7101]
30543 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30544 when an incomplete long option is used.
30545 * posix/tst-getopt_long1.c: New file.
30546 * posix/Makefile (tests): Add tst-getopt_long1.
30547
30548 [BZ #10138]
30549 * scripts/config.guess: Update from autoconf-2.68.
30550 * scripts/config.sub: Likewise.
30551
30552 [BZ #10157]
30553 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30554 tests into ...
30555 (has_cpuclock): ...this. New function.
30556 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30557 macro here based on has_cpuclock code.
30558
30559 [BZ #10149]
30560 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30561 First byte (not low byte) is now always NUL.
30562 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30563
30564 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30565 Use non-cancelable interfaces.
30566
30567 [BZ #9809]
30568 * locale/iso-639.def: Add entry for Sorani.
30569
30570 [BZ #11901]
30571 * include/stdlib.h: Move include protection to the right place.
30572 Define abort_msg_s. Declare __abort_msg with it.
30573 * stdlib/abort.c (__abort_msg): Adjust type.
30574 * assert/assert.c (__assert_fail_base): New function. Majority
30575 of code from __assert_fail. Allocate memory for __abort_msg with
30576 mmap.
30577 (__assert_fail): Now call __assert_fail_base.
30578 * assert/assert-perr.c: Remove bulk of implementation. Use
30579 __assert_fail_base.
30580 * include/assert.hL Declare __assert_fail_base.
30581 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30582 mmap.
30583 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30584
305852011-05-14 Ulrich Drepper <drepper@gmail.com>
30586
30587 [BZ #11952]
30588 [BZ #12453]
30589 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30590 until all modules are registered in the DTV.
30591 * elf/Makefile: Add rules to build and run tst-tls19.
30592 * elf/tst-tls19.c: New file.
30593 * elf/tst-tls19mod1.c: New file.
30594 * elf/tst-tls19mod2.c: New file.
30595 * elf/tst-tls19mod3.c: New file.
30596 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30597
30598 [BZ #12083]
30599 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30600 correctly.
30601
30602 [BZ #12601]
30603 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30604 two-byte sequence errors.
30605 * iconvdata/Makefile (tests): Add bug-iconv8.
30606 * iconvdata/bug-iconv8.c: New file.
30607
30608 [BZ #12626]
30609 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30610 buf2 definition.
30611
30612 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30613
30614 [BZ #12432]
30615 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30616 (dummy_getcfa): New function.
30617 (init): Get _Unwind_GetCFA address, use dummy if not found.
30618 (backtrace_helper): In recursion check, also check whether CFA changes.
30619 (__backtrace): Completely initialize arg.
30620
30621 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30622 storing incomplete byte sequence in state object. Avoid testing for
30623 guaranteed too small input if we know there is enough data available.
30624
306252011-05-11 Andreas Schwab <schwab@redhat.com>
30626
30627 * Makeconfig (+link-pie): Indent.
30628 * Rules (binaries-pie): Define if $(have-fpie) and
30629 $(build-shared).
30630 (binaries-shared): Also filter out $(binaries-pie).
30631 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30632 * nscd/Makefile (others-pie): Add nscd.
30633 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30634 ($(objpfx)nscd): Remove command override.
30635 * login/Makefile (others-pie): Add pt_chown.
30636 ($(objpfx)pt_chown): Remove command override.
30637 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30638 remove command overrides.
30639
306402011-05-13 Ulrich Drepper <drepper@gmail.com>
30641
30642 * libio/tst_putwc.c: Fix error messages.
30643
30644 [BZ #12724]
30645 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30646 currently writing and seek to current position when not.
30647 * libio/Makefile (tests): Add bug-fclose1.
30648 * libio/bug-fclose1.c: New file.
30649
306502011-05-12 Ulrich Drepper <drepper@gmail.com>
30651
30652 [BZ #12511]
30653 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30654 don't set DF_1_NODELETE here.
30655 (do_lookup_x): When entering new entry test for copy relocation
30656 and if necessary set DF_1_NODELETE flag.
30657 * elf/tst-unique4.cc: New file.
30658 * elf/tst-unique4.h: New file.
30659 * elf/tst-unique4lib.cc: New file.
30660 * elf/Makefile: Add rules to build and run tst-unique4.
30661 Patch by Piotr Bury <pbury@goahead.com>.
30662
306632011-05-11 Ulrich Drepper <drepper@gmail.com>
30664
30665 [BZ #12052]
30666 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30667
30668 [BZ #12625]
30669 * misc/mntent_r.c (addmntent): Flush the stream after the output
30670
30671 [BZ #12393]
30672 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30673 (is_trusted_path_normalize): Skip initial colon. Append slash
30674 to empty buffer. Duplicate is_trusted_path code but allow
30675 constructed patch to be prefix.
30676 (is_dst): Allow $ORIGIN followed by /.
30677 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30678 Correct testing of result of is_trusted_path_normalize
30679 (decompose_rpath): Fix warning.
30680
306812011-05-10 Ulrich Drepper <drepper@gmail.com>
30682
30683 [BZ #11257]
30684 * grp/initgroups.c (internal_getgrouplist): When we found the service
30685 list through the initgroups entry in nsswitch.conf do not always
30686 continue on a successful lookup. Don't always use the
30687 __nss_group_database value if it is set.
30688 * nss/nsswitch.conf (initgroups): Change action for successful db
30689 lookup to continue for compatibility.
30690
306912011-05-09 Ulrich Drepper <drepper@gmail.com>
30692
30693 [BZ #11532]
30694 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30695 and CP774 modules.
30696 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30697 and CP774 modules.
30698 * iconvdata/tst-tables.sh: Likewise.
30699 * iconvdata/cp770.c: New file.
30700 * iconvdata/cp771.c: New file.
30701 * iconvdata/cp772.c: New file.
30702 * iconvdata/cp773.c: New file.
30703 * iconvdata/cp774.c: New file.
30704 * iconvdata/testdata/CP770: New file.
30705 * iconvdata/testdata/CP770..UTF8: New file.
30706 * iconvdata/testdata/CP771: New file.
30707 * iconvdata/testdata/CP771..UTF8: New file.
30708 * iconvdata/testdata/CP772: New file.
30709 * iconvdata/testdata/CP772..UTF8: New file.
30710 * iconvdata/testdata/CP773: New file.
30711 * iconvdata/testdata/CP773..UTF8: New file.
30712 * iconvdata/testdata/CP774: New file.
30713 * iconvdata/testdata/CP774..UTF8: New file.
30714
30715 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30716 END CHARMAP line.
30717 * iconvdata/gen-8bit-gap.sh: Likewise.
30718 * iconvdata/gen-8bit.sh: Likewise.
30719
30720 * locale/iso-639.def: Add ary entry.
30721
30722 [BZ #11258]
30723 * locale/C-translit.h.in: Add U20A1 transliteration.
30724
30725 [BZ #12178]
30726 * locale/iso-639.def: Add wae entry.
30727 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30728
30729 [BZ #12545]
30730 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30731 for n.
30732
30733 [BZ #12711]
30734 * locale/C-translit.h.in: Add entry for U20B9.
30735 Patch by pravin.d.s@gmail.com.
30736
307372011-05-08 Ulrich Drepper <drepper@gmail.com>
30738
30739 [BZ #12713]
30740 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30741 ENAMETOOLONG use generic getcwd.
30742 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30743 in rtld. Use *stat64.
30744 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30745 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30746 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30747 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30748 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30749 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30750 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30751 __fstatat64 macros.
30752 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30753 * dirent/rewinddir.c: Add libc_hidden_def.
30754 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30755 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30756
30757 * include/dirent.h (__alloc_dir): Add flags parameter.
30758 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30759 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30760 __alloc_dir.
30761 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30762 from fdopendir if O_CLOEXEC is already set.
30763
307642011-03-15 Alan Modra <amodra@gmail.com>
30765
30766 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30767 l_tls_firstbyte_offset non-zero. Save padding offset in
30768 l_tls_firstbyte_offset for later use.
30769 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30770 freeing static tls block.
30771
307722011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30773
30774 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30775 where #ifdef was intended. The intent is to prevent ARG_MAX from
30776 being defined by the kernel headers.
30777
307782011-05-07 Ulrich Drepper <drepper@gmail.com>
30779
30780 [BZ #12734]
30781 * resolv/resolv.h: Define RES_NOTLDQUERY.
30782 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30783 no-tld-query and set RES_NOTLDQUERY.
30784 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30785 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30786 modern BIND to search name as TLD unless forbidden.
30787
307882011-05-07 Petr Baudis <pasky@suse.cz>
30789 Ulrich Drepper <drepper@gmail.com>
30790
30791 [BZ #12393]
30792 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30793 (is_trusted_path): ...to here.
30794 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30795 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30796 using is_trusted_path_normalize() in setuid scripts.
30797
307982011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30799
30800 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30801 __BEGIN/__END_DECLS.
30802
308032011-05-06 Ulrich Drepper <drepper@gmail.com>
30804
30805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30806 NSS_STATUS_NOTFOUND if no record was found.
30807
308082011-05-05 Andreas Schwab <schwab@redhat.com>
30809
30810 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30811 (headers-not-in-tirpc): Remove rpc/netdb.h
30812 * resolv/netdb.h: Revert last change.
30813
308142011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30815
30816 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30817 circular dependency between libgcc.a and libc.a.
30818
308192011-05-05 Andreas Schwab <schwab@redhat.com>
30820
30821 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30822 * nis/Makefile: Don't install rpcsvc/*.
30823 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30824 instead of <rpc/types.h>.
30825 (MAXHOSTNAMELEN): Define.
30826
308272011-05-03 Andreas Schwab <schwab@redhat.com>
30828
30829 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30830
308312011-04-28 Maciej Babinski <mbabinski@google.com>
30832
30833 [BZ #12714]
30834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30835 gethostbyname4_r when IPv6 results are possible.
30836
308372011-05-02 Ulrich Drepper <drepper@gmail.com>
30838
30839 [BZ #12723]
30840 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30841 _PC_PIPE_BUF handling.
30842
308432011-04-30 Bruno Haible <bruno@clisp.org>
30844
30845 [BZ #12717]
30846 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30847 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30848 to 'int'.
30849 * inet/getnameinfo.c (getnameinfo): Likewise.
30850
308512011-04-29 Ulrich Drepper <drepper@gmail.com>
30852
30853 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30854 to groups setting in database lookup.
30855 * nss/nsswitch.conf: Add initgroups entry.
30856
308572011-04-22 Ulrich Drepper <drepper@gmail.com>
30858
30859 [BZ #12685]
30860 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30861 mode string.
30862 Patch by Eric Blake <eblake@redhat.com>.
30863
308642011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30865
30866 * sunrpc/Makefile (need-export-routines): Add svc_run.
30867 (routines): Remove svc_run.
30868 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30869 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30870 * sunrpc/svc_run.c (svc_run): Likewise.
30871 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30872
308732011-04-21 Ulrich Drepper <drepper@gmail.com>
30874
30875 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30876 problem in reallocation in last patch.
30877
308782011-04-20 Ulrich Drepper <drepper@gmail.com>
30879
30880 * sunrpc/Makefile: Move inclusion of Rules.
30881
308822011-04-19 Ulrich Drepper <drepper@gmail.com>
30883
30884 * nss/nss_files/files-initgroups.c: New file.
30885 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30886 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30887 _nss_files_initgroups_dyn.
30888
308892011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30890
30891 * elf/elf.h (R_ARM_IRELATIVE): Define.
30892
308932011-04-19 Ulrich Drepper <drepper@gmail.com>
30894
30895 * po/ru.po: Update from translation team.
30896
308972011-04-17 Ulrich Drepper <drepper@gmail.com>
30898
30899 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30900 dependencies.
30901
309022011-02-06 Mike Frysinger <vapier@gentoo.org>
30903
30904 [BZ #12653]
30905 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30906 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30907 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30908 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30909 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30910
309112011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30912
30913 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30914 differing bytes.
30915 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30918
309192011-04-17 Ulrich Drepper <drepper@gmail.com>
30920
30921 [BZ #12420]
30922 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30923 storing it.
30924 * stdlib/bug-getcontext.c: New file.
30925 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30926
309272011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30928
30929 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30930 instructions into .machine "z9-109".
30931 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30932 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30933
309342011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30935
30936 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30937 between environment variables and auxiliary vector.
30938
309392011-04-16 Ulrich Drepper <drepper@gmail.com>
30940
30941 * Makefile: Add rules to build linkobj/libc.so.
30942 * include/libc-symbols.h: Define libc_hidden_nolink.
30943 * include/rpc/auth.h: Mark functions which are to be hidden.
30944 * include/rpc/auth_des.h: Likewise.
30945 * include/rpc/auth_unix.h: Likewise.
30946 * include/rpc/clnt.h: Likewise.
30947 * include/rpc/des_crypt.h: Likewise.
30948 * include/rpc/key_prot.h: Likewise.
30949 * include/rpc/pmap_clnt.h: Likewise.
30950 * include/rpc/pmap_prot.h: Likewise.
30951 * include/rpc/pmap_rmt.h: Likewise.
30952 * include/rpc/rpc_msg.h: Likewise.
30953 * include/rpc/svc.h: Likewise.
30954 * include/rpc/svc_auth.h: Likewise.
30955 * include/rpc/xdr.h: Likewise.
30956 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30957 * nss/Makefile: Likewise.
30958 * sunrpc/Makefile: Don't install headers. Build library with normal
30959 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30960 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30961 for the compat linking library. Remove use of INTDEF/INTUSE.
30962 * sunrpc/auth_none.c: Likewise.
30963 * sunrpc/auth_unix.c: Likewise.
30964 * sunrpc/authdes_prot.c: Likewise.
30965 * sunrpc/authuxprot.c: Likewise.
30966 * sunrpc/clnt_gen.c: Likewise.
30967 * sunrpc/clnt_perr.c: Likewise.
30968 * sunrpc/clnt_raw.c: Likewise.
30969 * sunrpc/clnt_simp.c: Likewise.
30970 * sunrpc/clnt_tcp.c: Likewise.
30971 * sunrpc/clnt_udp.c: Likewise.
30972 * sunrpc/clnt_unix.c: Likewise.
30973 * sunrpc/des_crypt.c: Likewise.
30974 * sunrpc/des_soft.c: Likewise.
30975 * sunrpc/get_myaddr.c: Likewise.
30976 * sunrpc/key_call.c: Likewise.
30977 * sunrpc/key_prot.c: Likewise.
30978 * sunrpc/netname.c: Likewise.
30979 * sunrpc/pm_getmaps.c: Likewise.
30980 * sunrpc/pm_getport.c: Likewise.
30981 * sunrpc/pmap_clnt.c: Likewise.
30982 * sunrpc/pmap_prot.c: Likewise.
30983 * sunrpc/pmap_prot2.c: Likewise.
30984 * sunrpc/pmap_rmt.c: Likewise.
30985 * sunrpc/publickey.c: Likewise.
30986 * sunrpc/rpc_cmsg.c: Likewise.
30987 * sunrpc/rpc_common.c: Likewise.
30988 * sunrpc/rpc_dtable.c: Likewise.
30989 * sunrpc/rpc_prot.c: Likewise.
30990 * sunrpc/rpc_thread.c: Likewise.
30991 * sunrpc/rtime.c: Likewise.
30992 * sunrpc/svc.c: Likewise.
30993 * sunrpc/svc_auth.c: Likewise.
30994 * sunrpc/svc_authux.c: Likewise.
30995 * sunrpc/svc_raw.c: Likewise.
30996 * sunrpc/svc_run.c: Likewise.
30997 * sunrpc/svc_simple.c: Likewise.
30998 * sunrpc/svc_tcp.c: Likewise.
30999 * sunrpc/svc_udp.c: Likewise.
31000 * sunrpc/svc_unix.c: Likewise.
31001 * sunrpc/svcauth_des.c: Likewise.
31002 * sunrpc/xcrypt.c: Likewise.
31003 * sunrpc/xdr.c: Likewise.
31004 * sunrpc/xdr_array.c: Likewise.
31005 * sunrpc/xdr_float.c: Likewise.
31006 * sunrpc/xdr_intXX_t.c: Likewise.
31007 * sunrpc/xdr_mem.c: Likewise.
31008 * sunrpc/xdr_rec.c: Likewise.
31009 * sunrpc/xdr_ref.c: Likewise.
31010 * sunrpc/xdr_sizeof.c: Likewise.
31011 * sunrpc/xdr_stdio.c: Likewise.
31012
310132011-04-10 Ulrich Drepper <drepper@gmail.com>
31014
31015 [BZ #12650]
31016 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31017 * sysdeps/ia64/dl-tls.h: Likewise.
31018 * sysdeps/powerpc/dl-tls.h: Likewise.
31019 * sysdeps/s390/dl-tls.h: Likewise.
31020 * sysdeps/sh/dl-tls.h: Likewise.
31021 * sysdeps/sparc/dl-tls.h: Likewise.
31022 * sysdeps/x86_64/dl-tls.h: Likewise.
31023 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31024
310252011-03-14 Andreas Schwab <schwab@redhat.com>
31026
31027 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31028 rpath element also skip the following colon.
31029 (expand_dynamic_string_token): Add is_path parameter and pass
31030 down to DL_DST_REQUIRED and _dl_dst_substitute.
31031 (decompose_rpath): Call expand_dynamic_string_token with
31032 non-zero is_path. Ignore empty rpaths.
31033 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31034 with zero is_path.
31035
310362011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31037
31038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31039 Make cancelable.
31040
310412011-04-09 Ulrich Drepper <drepper@gmail.com>
31042
31043 [BZ #12655]
31044 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31045 Patch by Filipe David Manana <fdmanana@apache.org>.
31046
310472011-04-07 Andreas Schwab <schwab@redhat.com>
31048
31049 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31050 Maintain aligned stack.
31051 (CHECK_RSP): Remove unused macro.
31052
310532011-04-03 Ulrich Drepper <drepper@gmail.com>
31054
31055 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31056 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31057
310582011-04-02 Ulrich Drepper <drepper@gmail.com>
31059
31060 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31061
31062 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31063
310642011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31065
31066 [BZ #12518]
31067 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31068 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31069 * sysdeps/x86_64/memmove.c: New file.
31070 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31071 (memcpy): Renamed to ...
31072 (__new_memcpy): This.
31073 (memcpy): Provide GLIBC_2_14 memcpy.
31074 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31075 (memcpy): Provide GLIBC_2_2_5 memcpy.
31076
310772011-04-01 Ulrich Drepper <drepper@gmail.com>
31078
31079 [BZ #12631]
31080 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31081
310822011-03-30 Andreas Schwab <schwab@redhat.com>
31083
31084 * misc/syncfs.c: New file.
31085 * misc/Makefile (routines): Add syncfs.
31086 * posix/unistd.h: Declare syncfs.
31087 * sysdeps/unix/syscalls.list: Add syncfs.
31088
310892011-04-01 Andreas Schwab <schwab@redhat.com>
31090
31091 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31092 open_by_handle_at.
31093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31096 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31098 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31099 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31100
311012011-04-01 Ulrich Drepper <drepper@gmail.com>
31102
31103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31104 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31105 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31110
31111 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31112 sync_file_range.c with -fexceptions.
31113 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31114 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31115 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31116 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31117 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31118 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31120 sync_file_range as cancellation point
31121 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31122 now a wrapper around __call_sync_file_range with cancellation handling.
31123 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31124 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31125 function name to __call_sync_file_range.
31126 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31127 Add call_sync_file_range.
31128
311292011-04-01 Andreas Schwab <schwab@redhat.com>
31130
31131 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31132 bits/timex.h.
31133
311342011-04-01 Ulrich Drepper <drepper@gmail.com>
31135
31136 * iconv/iconv.h: Fix typo in comment.
31137 * io/fcntl.h: Likewise.
31138 * libio/stdio.h: Likewise.
31139 * posix/spawn.h: Likewise.
31140 * posix/unistd.h: Likewise.
31141 * stdlib/stdlib.h: Likewise.
31142 * time/time.h: Likewise.
31143 * wcsmbs/wchar.h: Likewise.
31144
31145 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31146 open_by_handle): Add.
31147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31148 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31149 Augment a few comments.
31150 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31152 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31155 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31156 open_by_handle.
31157
31158 * io/fcntl.h (AT_EMPTY_PATH): Define.
31159
311602011-03-30 Ulrich Drepper <drepper@gmail.com>
31161
31162 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31163 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31164 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31165 to...
31166 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31167 * Versions.def: Add GLIBC_2.14.
31168 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31169 Export.
31170
311712011-03-22 Ulrich Drepper <drepper@gmail.com>
31172
31173 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31174 round counter.
31175 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31176
311772011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31178
31179 [BZ #12597]
31180 * string/test-strncmp.c (do_page_test): New function.
31181 (check2): Likewise.
31182 (test_main): Call check2.
31183 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31184
311852011-03-20 Ulrich Drepper <drepper@gmail.com>
31186
31187 [BZ #12587]
31188 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31189 Handle cache information in CPU leaf 4.
31190 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31191
311922011-03-18 Ulrich Drepper <drepper@gmail.com>
31193
31194 [BZ #12583]
31195 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31196 character representation.
31197 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31198
311992011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31200
31201 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31202 END(__isnan) to END(__isnanf) to match function entry point/label
31203 EALIGN(__isnanf,...).
31204
312052011-03-10 Jakub Jelinek <jakub@redhat.com>
31206
31207 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31208
312092011-03-10 Ulrich Drepper <drepper@gmail.com>
31210
31211 [BZ #12510]
31212 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31213 copy from the symbol referenced in the relocation to initialize the
31214 used variable.
31215 Patch by Piotr Bury <pbury@goahead.com>.
31216 * elf/Makefile: Add rules to build and tst-unique3.
31217 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31218 * elf/tst-unique3.cc: New file.
31219 * elf/tst-unique3.h: New file.
31220 * elf/tst-unique3lib.cc: New file.
31221 * elf/tst-unique3lib2.cc: New file.
31222
31223 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31224
312252011-03-10 Mike Frysinger <vapier@gentoo.org>
31226
31227 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31228 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31229 to _start.
31230
312312011-03-06 Ulrich Drepper <drepper@gmail.com>
31232
31233 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31234 to-be-loaded object along a path to loader is ld.so.
31235
312362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31237 Ulrich Drepper <drepper@gmail.com>
31238
31239 * sysdeps/x86_64/memset.S: After aligning destination, code
31240 branches to different locations depending on the value of
31241 misalignment, when multiarch is enabled. Fix this.
31242
312432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31244
31245 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31246 Set _x86_64_preferred_memory_instruction for AMD processsors.
31247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31248 Set bit_Prefer_SSE_for_memop for AMD processors.
31249
312502011-03-04 Ulrich Drepper <drepper@gmail.com>
31251
31252 * libio/fmemopen.c (fmemopen): Optimize a bit.
31253
312542011-03-03 Andreas Schwab <schwab@redhat.com>
31255
31256 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31257
312582011-03-03 Roland McGrath <roland@redhat.com>
31259
31260 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31261
312622011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31263
31264 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31265 __bzero_ultra1 instead of __memset_ultra1.
31266
312672011-02-23 Andreas Schwab <schwab@redhat.com>
31268 Ulrich Drepper <drepper@gmail.com>
31269
31270 [BZ #12509]
31271 * include/link.h (struct link_map): Add l_orig_initfini.
31272 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31273 returning unsuccessfully.
31274 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31275 close of a file loaded at startup, restore the original l_initfini
31276 list.
31277 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31278 list, store the pointer.
31279 * elf/Makefile ($(objpfx)noload-mem): New rule.
31280 (noload-ENV): Define.
31281 (tests): Add $(objpfx)noload-mem.
31282 * elf/noload.c: Include <memcheck.h>.
31283 (main): Call mtrace. Close all opened handles.
31284
312852011-02-17 Andreas Schwab <schwab@redhat.com>
31286
31287 [BZ #12454]
31288 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31289 dependencies are missing.
31290
312912011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31292
31293 Fix __if_freereq crash: Unlike the generic version which uses free,
31294 Hurd needs munmap.
31295 * sysdeps/mach/hurd/ifreq.h: New file.
31296
312972011-01-27 Petr Baudis <pasky@suse.cz>
31298 Ulrich Drepper <drepper@gmail.com>
31299
31300 [BZ 12445]#
31301 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31302 to extend_alloca().
31303 * stdio-common/bug23.c: New file.
31304 * stdio-common/Makefile (tests): Add bug23.
31305
313062010-09-28 Andreas Schwab <schwab@redhat.com>
31307 Ulrich Drepper <drepper@gmail.com>
31308
31309 [BZ #12489]
31310 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31311 before performing relro protection. At old place add assertion
31312 to make sure nothing changed.
31313
313142011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31315 Glauber de Oliveira Costa <glommer@gmail.com>
31316
31317 * elf/elf.h: Add new ARM TLS relocs.
31318
313192011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31320
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31322 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31323 cast from r3.
31324 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31325 'tests' variable.
31326 * sysdeps/wordsize-64/tst-writev.c: New file.
31327
313282011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31329
31330 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31331 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31332 insns in _dl_start to prevent a TOC reference before relocs are
31333 resolved.
31334
313352011-02-15 Ulrich Drepper <drepper@gmail.com>
31336
31337 [BZ #12469]
31338 * Makeconfig: Remove RANLIB definition.
31339 * Makerules: Don't use RANLIB.
31340 * aclocal.m4: Remove ranlib test.
31341 * configure.in: No need to check for ranlib.
31342 * elf/rtld-Rules: Don't use RANLIB.
31343
313442011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31345
31346 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31347 protection macro.
31348 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31349 inclusion protection macro.
31350
31351 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31352 SIGRTMIN and SIGRTMAX and print information in that case only when
31353 SIGRTMIN is defined.
31354
313552011-02-11 Jakub Jelinek <jakub@redhat.com>
31356
31357 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31358 arginfo fn returning -1.
31359
31360 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31361 and thousands string is zero terminated.
31362
313632011-02-03 Andreas Schwab <schwab@redhat.com>
31364
31365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31366 sysdeps/unix/sysv/linux/bits/socket.h.
31367
313682011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31369
31370 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31371 (__CPU_COUNT): Remove old macros.
31372 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31373 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31374 (__CPU_ALLOC, __CPU_FREE): Add macros.
31375 (__sched_cpualloc, __sched_cpufree): Add declarations.
31376
313772011-02-05 Ulrich Drepper <drepper@gmail.com>
31378
31379 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31380 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31381 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31382 (readdhstai): Return value of addhstaiX call.
31383 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31384 (addgrbyX): Return value returned by cache_addgr.
31385 (readdgrbyname): Return value returned by addgrbyX.
31386 (readdgrbygid): Likewise.
31387 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31388 (addpwbyX): Return value returned by cache_addpw.
31389 (readdpwbyname): Return value returned by addhstbyX.
31390 (readdpwbyuid): Likewise.
31391 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31392 (addservbyX): Return value returned by cache_addserv.
31393 (readdservbyname): Return value returned by addservbyX:
31394 (readdservbyport): Likewise.
31395 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31396 (addhstbyX): Return value returned by cache_addhst.
31397 (readdhstbyname): Return value returned by addhstbyX.
31398 (readdhstbyaddr): Likewise.
31399 (readdhstbynamev6): Likewise.
31400 (readdhstbyaddrv6): Likewise.
31401 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31402 (readdinitgroups): Return value returned by addinitgroupsX.
31403 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31404 (prune_cache): Keep track of timeout value of re-added entries.
31405 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31406 * nscd/nscd.h: Adjust prototypes of readd* functions.
31407
314082011-02-04 Roland McGrath <roland@redhat.com>
31409
31410 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31411 (nis_stats): Likewise.
31412 * nis/nis_modify.c (nis_modify): Likewise.
31413 * nis/nis_remove.c (nis_remove): Likewise.
31414 * nis/nis_add.c (nis_add): Likewise.
31415
31416 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31417
31418 * posix/fnmatch_loop.c: Add some consts.
31419
31420 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31421
314222011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31423
31424 [BZ #12460]
31425 * config.make.in (config-cflags-novzeroupper): Define.
31426 * configure.in: Substitute libc_cv_cc_novzeroupper.
31427 * elf/Makefile (AVX-CFLAGS): Define.
31428 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31429 (CFLAGS-tst-auditmod4a.c): Likewise.
31430 (CFLAGS-tst-auditmod4b.c): Likewise.
31431 (CFLAGS-tst-auditmod6b.c): Likewise.
31432 (CFLAGS-tst-auditmod6c.c): Likewise.
31433 (CFLAGS-tst-auditmod7b.c): Likewise.
31434 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31435
314362011-02-02 Ulrich Drepper <drepper@gmail.com>
31437
31438 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31439 function to the callback.
31440 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31441
314422011-02-02 Andreas Schwab <schwab@redhat.com>
31443
31444 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31445 of errno.
31446
314472011-01-19 Ulrich Drepper <drepper@gmail.com>
31448
31449 [BZ #11724]
31450 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31451 of constructors.
31452 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31453 of destructors.
31454 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31455
31456 [BZ #11724]
31457 * elf/Makefile: Add rules to build and run new test.
31458 * elf/tst-initorder.c: New file.
31459 * elf/tst-initorder.exp: New file.
31460 * elf/tst-initordera1.c: New file.
31461 * elf/tst-initordera2.c: New file.
31462 * elf/tst-initordera3.c: New file.
31463 * elf/tst-initordera4.c: New file.
31464 * elf/tst-initorderb1.c: New file.
31465 * elf/tst-initorderb2.c: New file.
31466 * elf/tst-order-a1.c: New file.
31467 * elf/tst-order-a2.c: New file.
31468 * elf/tst-order-a3.c: New file.
31469 * elf/tst-order-a4.c: New file.
31470 * elf/tst-order-b1.c: New file.
31471 * elf/tst-order-b2.c: New file.
31472 * elf/tst-order-main.c: New file.
31473 New test case by George Gensure <werkt0@gmail.com>.
31474
314752010-10-01 Andreas Schwab <schwab@redhat.com>
31476
31477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31478 decoding ACE if AI_CANONIDN.
31479
314802011-01-18 Ulrich Drepper <drepper@gmail.com>
31481
31482 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31483
314842011-01-17 Ulrich Drepper <drepper@gmail.com>
31485
31486 * version.h (RELEASE): Bump for 2.13 release.
31487 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31488
31489 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31490
31491 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31492 MADV_NOHUGEPAGE.
31493 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31494 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31495 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31496 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31497 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31498 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31499
31500 * posix/getconf.c: Update copyright year.
31501 * catgets/gencat.c: Likewise.
31502 * csu/version.c: Likewise.
31503 * debug/catchsegv.sh: Likewise.
31504 * debug/xtrace.sh: Likewise.
31505 * elf/ldconfig.c: Likewise.
31506 * elf/ldd.bash.in: Likewise.
31507 * elf/sprof.c (print_version): Likewise.
31508 * iconv/iconv_prog.c: Likewise.
31509 * iconv/iconvconfig.c: Likewise.
31510 * locale/programs/locale.c: Likewise.
31511 * locale/programs/localedef.c: Likewise.
31512 * malloc/memusage.sh: Likewise.
31513 * malloc/mtrace.pl: Likewise.
31514 * nscd/nscd.c (print_version): Likewise.
31515 * nss/getent.c: Likewise.
31516
31517 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31518 PF_CAIF, and PF_ALG.
31519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31520
315212011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31522
31523 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31524 (modules-names): Use them.
31525 (ifunc-test-modules, ifunc-pie-tests): Define.
31526 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31527 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31528 (test-extras): Likewise.
31529 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31530 $(compile-command.c).
31531 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31532 (all-built-dso): Define.
31533 (check-textrel.out, check-execstack.out): Depend on it.
31534
31535 * configure.in: Don't override --enable-multi-arch.
31536
315372011-01-15 Ulrich Drepper <drepper@gmail.com>
31538
31539 [BZ #6812]
31540 * nscd/hstcache.c (tryagain): Define.
31541 (cache_addhst): Return tryagain not notfound for temporary errors.
31542 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31543 failed.
31544
315452011-01-14 Ulrich Drepper <drepper@gmail.com>
31546
31547 [BZ #10563]
31548 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31549 to make the syscall.
31550 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31551
31552 [BZ #12378]
31553 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31554 and fall back to matching as normal character if the string ends before
31555 the matching ']' is found. This is what POSIX requires.
31556 * posix/testfnm.c: Adjust test result.
31557 * posix/globtest.sh: Adjust test result. Add new test.
31558 * posix/tst-fnmatch.input: Likewise.
31559 * posix/tst-fnmatch2.c: Add new test.
31560
315612010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31562
31563 * elf/Makefile (check-execstack): Revert last change. Depend on
31564 check-execstack.h.
31565 (check-execstack.h): New target.
31566 (generated): Add check-execstack.h.
31567 * elf/check-execstack.c: Include "check-execstack.h".
31568 (main): Revert last change.
31569 (handle_file): Return zero if GNU_STACK is absent and
31570 DEFAULT_STACK_PERMS doesn't include PF_X.
31571
315722011-01-13 Ulrich Drepper <drepper@gmail.com>
31573
31574 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31575 in child fails because the descriptor is already closed.
31576 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31577 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31578 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31579
31580 [BZ #12397]
31581 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31582 syscall.
31583
31584 [BZ #10484]
31585 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31586 temporary buffer used to handle multi lookups locally.
31587 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31588
315892011-01-12 Ulrich Drepper <drepper@gmail.com>
31590
31591 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31592 loader is ld.so.
31593
315942011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31595
31596 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31597 alignment for SSE2.
31598
315992011-01-12 Ulrich Drepper <drepper@gmail.com>
31600
31601 [BZ #12394]
31602 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31603 characters. When rounding increased number of integer digits recompute
31604 number of groups.
31605 * stdio-common/tst-grouping.c: New file.
31606 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31607
316082011-01-09 Ulrich Drepper <drepper@gmail.com>
31609
31610 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31611 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31612
31613 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31614 void.
31615 * bits/select.h: Likewise.
31616
316172011-01-08 Ulrich Drepper <drepper@gmail.com>
31618
31619 * po/ja.po: Update from translation team.
31620
316212011-01-04 David S. Miller <davem@sunset.davemloft.net>
31622
31623 [BZ #11155]
31624 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31625 implementation just like for lxstat, fxstatat, et al.
31626
316272010-12-27 Jim Meyering <meyering@redhat.com>
31628
31629 [BZ #12348]
31630 * posix/regexec.c (build_trtable): Return failure indication upon
31631 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31632
316332010-12-25 Ulrich Drepper <drepper@gmail.com>
31634
31635 [BZ #12201]
31636 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31637 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31638 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31639 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31640
31641 [BZ #12207]
31642 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31643
31644 [BZ #12204]
31645 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31646 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31647
316482010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31649
31650 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31651 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31652 script has SORT_BY_INIT_PRIORITY.
31653 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31654 NO_CTORS_DTORS_SECTIONS is defined.
31655 * elf/soinit.c: Likewise.
31656 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31657 NO_CTORS_DTORS_SECTIONS is defined.
31658 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31659 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31660 * sysdeps/sh/init-first.c: Likewise.
31661 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31662
316632010-12-24 Ulrich Drepper <drepper@gmail.com>
31664
31665 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31666 always use the slow path.
31667
316682010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31669
31670 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31671 similar rule which adds the sysdep directories to the header search in
31672 order to pick up the correct platform stackinfo.h.
31673 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31674 perform test if it is, otherwise return successfully without testing.
31675 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31676 DEFAULT_STACK_PERMS define in stackinfo.h.
31677 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31678 defined in stackinfo.h.
31679 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31680 DEFAULT_STACK_PERMS defined in stackinfo.h.
31681 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31682 * sysdeps/ia64/stackinfo.h: Likewise.
31683 * sysdeps/s390/stackinfo.h: Likewise.
31684 * sysdeps/sh/stackinfo.h: Likewise.
31685 * sysdeps/sparc/stackinfo.h: Likewise.
31686 * sysdeps/x86_64/stackinfo.h: Likewise.
31687 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31688 PF_X for powerpc64. Retain PF_X for powerpc32.
31689
316902010-12-19 Ulrich Drepper <drepper@gmail.com>
31691
31692 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31693 accurately.
31694 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31695 GETDENTS_64BIT_ALIGNED.
31696
316972010-12-14 Ulrich Drepper <dreper@gmail.com>
31698
31699 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31700
317012010-12-10 Andreas Schwab <schwab@redhat.com>
31702
31703 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31704 _GNU_SOURCE.
31705
31706 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31707 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31708 Remove __restrict.
31709 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31710 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31711
317122010-12-09 Ulrich Drepper <drepper@gmail.com>
31713
31714 [BZ #11655]
31715 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31716 are initialized.
31717
317182010-12-09 Jakub Jelinek <jakub@redhat.com>
31719
31720 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31721
317222010-12-03 Ulrich Drepper <drepper@gmail.com>
31723
31724 * po/it.po: Update from translation team.
31725
317262010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31727
31728 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31729 unused codes.
31730
317312010-11-30 Ulrich Drepper <drepper@gmail.com>
31732
31733 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31734
317352010-11-24 Andreas Schwab <schwab@redhat.com>
31736
31737 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31738 specially.
31739 (gaih_getanswer_slice): Likewise.
31740
317412010-10-20 Jakub Jelinek <jakub@redhat.com>
31742
31743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31744
317452010-05-31 Petr Baudis <pasky@suse.cz>
31746
31747 [BZ #11149]
31748 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31749 silently even in the chroot mode.
31750
317512010-11-22 Ulrich Drepper <drepper@gmail.com>
31752
31753 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31754 last patch a bit. Pretty printing
31755
317562010-05-31 Petr Baudis <pasky@suse.cz>
31757
31758 [BZ #10085]
31759 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31760 initialization of skip_initgroups_dyn.
31761
317622010-11-19 Ulrich Drepper <drepper@gmail.com>
31763
31764 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31765 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31766
317672010-11-16 Ulrich Drepper <drepper@gmail.com>
31768
31769 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31770
317712010-11-11 Andreas Schwab <schwab@redhat.com>
31772
31773 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31774 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31775 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31776 ($(objpfx)tst-fnmatch-mem): New rule.
31777 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31778 * posix/tst-fnmatch.c (main): Call mtrace.
31779
317802010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31783 Support Intel processor model 6 and model 0x2c.
31784
317852010-11-10 Luis Machado <luisgpm@br.ibm.com>
31786
31787 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31788 signed comparison.
31789
317902010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31791
31792 [BZ #12205]
31793 * string/test-strncasecmp.c (check_result): New function.
31794 (do_one_test): Use it.
31795 (check1): New function.
31796 (test_main): Use it.
31797 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31798 Support strcasecmp and strncasecmp.
31799
318002010-11-08 Ulrich Drepper <drepper@gmail.com>
31801
31802 [BZ #12194]
31803 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31804 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31805
318062010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31807
31808 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31809 IFUNC support.
31810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31811 memset-x86-64.
31812 * sysdeps/x86_64/multiarch/bzero.S: New file.
31813 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31814 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31815 * sysdeps/x86_64/multiarch/memset.S: New file.
31816 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31818 Set bit_Prefer_SSE_for_memop for Intel processors.
31819 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31820 Define.
31821 (index_Prefer_SSE_for_memop): Define.
31822 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31823
318242010-11-04 Luis Machado <luisgpm@br.ibm.com>
31825
31826 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31827 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31828
318292010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31830
31831 [BZ #12191]
31832 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31833 (__x86_64_raw_data_cache_size_half): Likewise.
31834 (__x86_64_raw_shared_cache_size): Likewise.
31835 (__x86_64_raw_shared_cache_size_half): Likewise.
31836
31837 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31838 (__x86_64_raw_data_cache_size_half): Likewise.
31839 (__x86_64_raw_shared_cache_size): Likewise.
31840 (__x86_64_raw_shared_cache_size_half): Likewise.
31841 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31842 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31843 and __x86_64_raw_shared_cache_size_half. Round
31844 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31845 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31846 to multiple of 256 bytes.
31847
318482010-11-03 Ulrich Drepper <drepper@gmail.com>
31849
31850 [BZ #12167]
31851 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31852 of inacessible symlinks. Verify result of symlink before returning it.
31853 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31854 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31855
318562010-10-28 Erich Ritz <erichritz@gmail.com>
31857
31858 * math/math.h (isinf): Fix typo in comment.
31859
318602010-11-01 Ulrich Drepper <drepper@gmail.com>
31861
31862 * po/da.po: Update from translation team.
31863
318642010-10-26 Ulrich Drepper <drepper@gmail.com>
31865
31866 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31867 is added to the list.
31868
318692010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31870 Ulrich Drepper <drepper@gmail.com>
31871
31872 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31873 the global list here. Move code to...
31874 (_dl_add_to_namespace_list): ...here. New function.
31875 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31876 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31877 * elf/dl-load.c (lose): Don't remove the element from the list.
31878 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31879 (_dl_map_object): Likewise.
31880
318812010-10-25 Ulrich Drepper <drepper@gmail.com>
31882
31883 [BZ #12159]
31884 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31885 into all bytes of SSE register.
31886 Patch by Richard Li <richardpku@gmail.com>.
31887
318882010-10-24 Ulrich Drepper <drepper@gmail.com>
31889
31890 [BZ #12140]
31891 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31892 perturbing.
31893
318942010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31895
31896 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31897 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31898 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31899 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31901 submachine.
31902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31903
319042010-10-22 Andreas Schwab <schwab@redhat.com>
31905
31906 * include/dlfcn.h (__RTLD_SECURE): Define.
31907 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31908 mode & __RTLD_SECURE instead.
31909 (open_path): Rename preloaded parameter to secure.
31910 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31911 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31912 * elf/dl-deps.c (openaux): Likewise.
31913 * elf/rtld.c (struct map_args): Remove is_preloaded.
31914 (map_doit): Don't use it.
31915 (dl_main): Likewise.
31916 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31917 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31918
319192010-09-09 Andreas Schwab <schwab@redhat.com>
31920
31921 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31922 (sysd-rules-targets): Remove duplicates.
31923 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31924 rtld-%.$o dependency.
31925
319262010-10-18 Andreas Schwab <schwab@redhat.com>
31927
31928 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31929 _dl_map_object do it.
31930
319312010-10-19 Ulrich Drepper <drepper@gmail.com>
31932
31933 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31934 fast fma builtins, define the macros in the C99 standard.
31935 (FP_FAST_FMAF): Likewise.
31936 (FP_FAST_FMAL): Likewise.
31937 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31938
31939 * bits/mathdef.h: Update copyright year.
31940 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31941
319422010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31943
31944 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31945 builtins, define the macros in the C99 standard.
31946 (FP_FAST_FMAF): Likewise.
31947 (FP_FAST_FMAL): Likewise.
31948 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31949 multiply/add.
31950 (FP_FAST_FMAF): Likewise.
31951
319522010-10-15 Jakub Jelinek <jakub@redhat.com>
31953
31954 [BZ #3268]
31955 * math/libm-test.inc (fma_test): Some new testcases.
31956 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31957 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31958 y and infinite z. Do multiplication by C already in long double.
31959 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31961 y and infinite z. Do bitwise or of inexact bit into u.d.
31962 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31963 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31964 * sysdeps/i386/fpu/s_fma.S: Removed.
31965 * sysdeps/i386/fpu/s_fmal.S: Removed.
31966
319672010-10-16 Jakub Jelinek <jakub@redhat.com>
31968
31969 [BZ #3268]
31970 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31972 computation is not scheduled after fetestexcept. Fix value
31973 of minimum denormal long double.
31974
319752010-10-14 Jakub Jelinek <jakub@redhat.com>
31976
31977 [BZ #3268]
31978 * math/libm-test.inc (fma_test): Add some more tests.
31979 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31980 correctly.
31981
319822010-10-15 Andreas Schwab <schwab@redhat.com>
31983
31984 * scripts/data/localplt-s390-linux-gnu.data: New file.
31985 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31986
319872010-10-13 Jakub Jelinek <jakub@redhat.com>
31988
31989 [BZ #3268]
31990 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31991 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31992 instead of dbl-64.
31993 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31994 inlines.
31995 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31997 if one of x and y is very large and the other is subnormal.
31998 * sysdeps/s390/fpu/s_fmaf.c: New file.
31999 * sysdeps/s390/fpu/s_fma.c: New file.
32000 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32001 * sysdeps/powerpc/fpu/s_fma.S: New file.
32002 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32003 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32004 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32005
320062010-10-12 Jakub Jelinek <jakub@redhat.com>
32007
32008 [BZ #3268]
32009 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32010 fma tests.
32011 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32012 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32013 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32014 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32015 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32016 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32017 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32018
320192010-10-12 Ulrich Drepper <drepper@redhat.com>
32020
32021 [BZ #12078]
32022 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32023 * posix/bug-regex31.input: Add test case.
32024
320252010-10-11 Ulrich Drepper <drepper@gmail.com>
32026
32027 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32028 * posix/bug-regex31.input: New file.
32029
32030 [BZ #12078]
32031 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32032 (parse_sub_exp): Fix last change, use postorder.
32033
32034 * posix/bug-regex31.c: New file.
32035 * posix/Makefile: Add rules to build and run bug-regex31.
32036
32037 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32038
32039 [BZ #12078]
32040 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32041
32042 [BZ #12108]
32043 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32044 to have entries in sys_siglist.
32045
32046 [BZ #12093]
32047 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32048 be NULL.
32049
320502010-10-07 Jakub Jelinek <jakub@redhat.com>
32051
32052 [BZ #3268]
32053 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32054 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32055 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32056 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32057 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32058 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32059 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32060 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32061 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32062 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32063 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32064 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32065 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32066 * math/ftestexcept.c (fetestexcept): Likewise.
32067 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32068 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32069 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32070 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32071 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32072 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32073 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32074
320752010-10-11 Ulrich Drepper <drepper@gmail.com>
32076
32077 [BZ #12107]
32078 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32079 newline.
32080
320812010-10-06 Ulrich Drepper <drepper@gmail.com>
32082
32083 * string/bug-strstr1.c: New file.
32084 * string/Makefile: Add rules to build and run bug-strstr1.
32085
320862010-10-05 Eric Blake <eblake@redhat.com>
32087
32088 [BZ #12092]
32089 * string/str-two-way.h (two_way_long_needle): Always clear memory
32090 when skipping input due to the shift table.
32091
320922010-10-03 Ulrich Drepper <drepper@gmail.com>
32093
32094 [BZ #12005]
32095 * malloc/mcheck.c: Handle large requests.
32096
32097 [BZ #12077]
32098 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32099 for strncmp and strncasecmp.
32100 * string/stratcliff.c: Add tests for strcmp and strncmp.
32101 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32102
321032010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32104
32105 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32106 __set_fpscr.
32107
321082010-09-30 Andreas Jaeger <aj@suse.de>
32109
32110 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32111 (CGROUP_SUPER_MAGIC): Define.
32112 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32113 Handle btrfs and cgroup file systems.
32114 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32115 Likewise.
32116
321172010-09-27 Luis Machado <luisgpm@br.ibm.com>
32118
32119 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32120 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32121
321222010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32123
32124 [BZ #12067]
32125 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32126 trying to locate the ELF header.
32127
321282010-09-27 Andreas Schwab <schwab@redhat.com>
32129
32130 [BZ #11611]
32131 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32132 Mask out sign-bit copies when constructing f_fsid.
32133
321342010-09-24 Petr Baudis <pasky@suse.cz>
32135
32136 * debug/stack_chk_fail_local.c: Add missing licence exception.
32137 * debug/warning-nop.c: Likewise.
32138
321392010-09-15 Joseph Myers <joseph@codesourcery.com>
32140
32141 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32142 implementing getdents64 using getdents syscall, set d_type if
32143 __ASSUME_GETDENTS32_D_TYPE.
32144
321452010-09-16 Andreas Schwab <schwab@redhat.com>
32146
32147 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32148 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32149
321502010-09-21 Ulrich Drepper <drepper@redhat.com>
32151
32152 [BZ #12037]
32153 * posix/unistd.h: Undo change of feature selection for ftruncate from
32154 2010-01-11.
32155
321562010-09-20 Ulrich Drepper <drepper@redhat.com>
32157
32158 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32159 detection.
32160
321612010-09-20 Andreas Schwab <schwab@redhat.com>
32162
32163 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32164 fanotify_mark.
32165 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32166
321672010-09-14 Andreas Schwab <schwab@redhat.com>
32168
32169 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32170 variables after CHECK_SP call.
32171 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32172
321732010-09-13 Andreas Schwab <schwab@redhat.com>
32174 Ulrich Drepper <drepper@redhat.com>
32175
32176 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32177 re-relocationg ld.so.
32178 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32179 _dl_init_paths call.
32180 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32181 here anymore.
32182
321832010-09-14 Ulrich Drepper <drepper@redhat.com>
32184
32185 * resolv/res_init.c (__res_vinit): Count the default server we added.
32186
321872010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32188 Ulrich Drepper <drepper@redhat.com>
32189
32190 [BZ #11968]
32191 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32192 (____longjmp_chk): Use %ebx for saving value across system call.
32193 Add unwind info.
32194
321952010-09-06 Andreas Schwab <schwab@redhat.com>
32196
32197 * manual/Makefile: Don't mix pattern rules with normal rules.
32198
321992010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32200
32201 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32202 operation.
32203 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32204 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32205 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32206 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32207 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32208 Likewise.
32209
322102010-09-04 Ulrich Drepper <drepper@redhat.com>
32211
32212 [BZ #11979]
32213 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32214 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32215
322162010-09-02 Ulrich Drepper <drepper@redhat.com>
32217
32218 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32219 * sysdeps/x86_64/addmul_1.S: Likewise.
32220 * sysdeps/x86_64/lshift.S: Likewise.
32221 * sysdeps/x86_64/mul_1.S: Likewise.
32222 * sysdeps/x86_64/rshift.S: Likewise.
32223 * sysdeps/x86_64/sub_n.S: Likewise.
32224 * sysdeps/x86_64/submul_1.S: Likewise.
32225
322262010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32227
32228 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32229 Define __sched_param instead of SCHED_* and sched_param when
32230 <bits/sched.h> is included with __need_schedparam defined.
32231 * bits/sched.h [__need_schedparam]
32232 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32233 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32234 (__defined_schedparam): Define to 1.
32235 (__sched_param): New structure, identical to sched_param.
32236 (__need_schedparam): Undefine.
32237
322382010-08-31 Mike Frysinger <vapier@gentoo.org>
32239
32240 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32241 (epoll_create1): Declare.
32242
32243 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32244
322452010-08-31 Andreas Schwab <schwab@redhat.com>
32246
32247 [BZ #7066]
32248 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32249 shifting retval into place.
32250
322512010-09-01 Ulrich Drepper <drepper@redhat.com>
32252
32253 * nis/rpcsvc/nis.h: Update copyright notice.
32254 * nis/rpcsvc/nis.x: Likewise.
32255 * nis/rpcsvc/nis_callback.h: Likewise.
32256 * nis/rpcsvc/nis_callback.x: Likewise.
32257 * nis/rpcsvc/nis_object.x: Likewise.
32258 * nis/rpcsvc/nis_tags.h: Likewise.
32259 * nis/rpcsvc/yp.h: Likewise.
32260 * nis/rpcsvc/yp.x: Likewise.
32261 * nis/rpcsvc/ypupd.h: Likewise.
32262 * nis/yp_xdr.c: Likewise.
32263 * nis/ypupdate_xdr.c: Likewise.
32264
32265 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32266 mainly the body of pmap_getport. Add parameters to specify timeouts.
32267 (pmap_getport): Use __libc_rpc_getport.
32268 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32269 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32270 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32271
322722010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32273
32274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32275 fanotify_mark.
32276
322772010-08-27 Roland McGrath <roland@redhat.com>
32278
32279 * sysdeps/i386/i686/multiarch/Makefile
32280 (CFLAGS-varshift.c): New variable.
32281
322822010-08-27 Ulrich Drepper <drepper@redhat.com>
32283
32284 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32285 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32286
32287 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32288
32289 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32290
322912010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32292
32293 * sysdeps/x86_64/strlen.S: Unroll the loop.
32294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32295 strlen-sse2 strlen-sse2-bsf.
32296 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32297 __strlen_no_bsf if bit_Slow_BSF is set.
32298 (__strlen_sse42): Removed.
32299 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32300 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32301
323022010-08-25 Roland McGrath <roland@redhat.com>
32303
32304 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32305 * sysdeps/x86_64/multiarch/varshift.c: New file.
32306 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32307 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32308 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32309 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32310
323112010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32312
32313 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32314 strlen-sse2 strlen-sse2-bsf.
32315 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32316 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32317 (__strlen_sse2): Removed.
32318 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32319 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32321 bit_Slow_BSF for Atom.
32322 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32323 (index_Slow_BSF): Define.
32324 (HAS_SLOW_BSF): Define.
32325
323262010-08-25 Ulrich Drepper <drepper@redhat.com>
32327
32328 [BZ #10851]
32329 * resolv/res_init.c (__res_vinit): When no server address at all
32330 is given default to loopback.
32331
323322010-08-24 Roland McGrath <roland@redhat.com>
32333
32334 * configure.in: Remove config-name.h generation.
32335 * configure: Regenerated.
32336 * config-name.in: File removed.
32337 * scripts/config-uname.sh: New file.
32338 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32339 ($(objdir)config-name.h): New target.
32340
32341 * sunrpc/rpc_parse.h: Avoid nested comment.
32342
323432010-08-24 Richard Henderson <rth@redhat.com>
32344 Ulrich Drepper <drepper@redhat.com>
32345 H.J. Lu <hongjiu.lu@intel.com>
32346
32347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32348 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32349 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32350 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32351 _mm_alignr_epi8 with _mm_loadu_si128.
32352 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32353 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32354 (__m128i_shift_right): Removed.
32355 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32356 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32357 * sysdeps/x86_64/multiarch/varshift.h: New file.
32358 * sysdeps/x86_64/multiarch/varshift.S: New file.
32359
323602010-08-21 Mike Frysinger <vapier@gentoo.org>
32361
32362 * configure.in: Move assembler checks to before sysdep dir checking.
32363
323642010-08-20 Petr Baudis <pasky@suse.cz>
32365
32366 * LICENSES: Sync the sunrpc license.
32367
323682010-08-19 Ulrich Drepper <drepper@redhat.com>
32369
32370 * sunrpc/auth_des.c: Update copyright notice once again.
32371 * sunrpc/auth_none.c: Likewise.
32372 * sunrpc/auth_unix.c: Likewise.
32373 * sunrpc/authdes_prot.c: Likewise.
32374 * sunrpc/authuxprot.c: Likewise.
32375 * sunrpc/bindrsvprt.c: Likewise.
32376 * sunrpc/clnt_gen.c: Likewise.
32377 * sunrpc/clnt_perr.c: Likewise.
32378 * sunrpc/clnt_raw.c: Likewise.
32379 * sunrpc/clnt_simp.c: Likewise.
32380 * sunrpc/clnt_tcp.c: Likewise.
32381 * sunrpc/clnt_udp.c: Likewise.
32382 * sunrpc/clnt_unix.c: Likewise.
32383 * sunrpc/des_crypt.c: Likewise.
32384 * sunrpc/des_soft.c: Likewise.
32385 * sunrpc/get_myaddr.c: Likewise.
32386 * sunrpc/getrpcport.c: Likewise.
32387 * sunrpc/key_call.c: Likewise.
32388 * sunrpc/key_prot.c: Likewise.
32389 * sunrpc/openchild.c: Likewise.
32390 * sunrpc/pm_getmaps.c: Likewise.
32391 * sunrpc/pm_getport.c: Likewise.
32392 * sunrpc/pmap_clnt.c: Likewise.
32393 * sunrpc/pmap_prot.c: Likewise.
32394 * sunrpc/pmap_prot2.c: Likewise.
32395 * sunrpc/pmap_rmt.c: Likewise.
32396 * sunrpc/rpc/auth.h: Likewise.
32397 * sunrpc/rpc/auth_unix.h: Likewise.
32398 * sunrpc/rpc/clnt.h: Likewise.
32399 * sunrpc/rpc/des_crypt.h: Likewise.
32400 * sunrpc/rpc/key_prot.h: Likewise.
32401 * sunrpc/rpc/netdb.h: Likewise.
32402 * sunrpc/rpc/pmap_clnt.h: Likewise.
32403 * sunrpc/rpc/pmap_prot.h: Likewise.
32404 * sunrpc/rpc/pmap_rmt.h: Likewise.
32405 * sunrpc/rpc/rpc.h: Likewise.
32406 * sunrpc/rpc/rpc_des.h: Likewise.
32407 * sunrpc/rpc/rpc_msg.h: Likewise.
32408 * sunrpc/rpc/svc.h: Likewise.
32409 * sunrpc/rpc/svc_auth.h: Likewise.
32410 * sunrpc/rpc/types.h: Likewise.
32411 * sunrpc/rpc/xdr.h: Likewise.
32412 * sunrpc/rpc_clntout.c: Likewise.
32413 * sunrpc/rpc_cmsg.c: Likewise.
32414 * sunrpc/rpc_common.c: Likewise.
32415 * sunrpc/rpc_cout.c: Likewise.
32416 * sunrpc/rpc_dtable.c: Likewise.
32417 * sunrpc/rpc_hout.c: Likewise.
32418 * sunrpc/rpc_main.c: Likewise.
32419 * sunrpc/rpc_parse.c: Likewise.
32420 * sunrpc/rpc_parse.h: Likewise.
32421 * sunrpc/rpc_prot.c: Likewise.
32422 * sunrpc/rpc_sample.c: Likewise.
32423 * sunrpc/rpc_scan.c: Likewise.
32424 * sunrpc/rpc_scan.h: Likewise.
32425 * sunrpc/rpc_svcout.c: Likewise.
32426 * sunrpc/rpc_tblout.c: Likewise.
32427 * sunrpc/rpc_util.c: Likewise.
32428 * sunrpc/rpc_util.h: Likewise.
32429 * sunrpc/rpcinfo.c: Likewise.
32430 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32431 * sunrpc/rpcsvc/key_prot.x: Likewise.
32432 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32433 * sunrpc/rpcsvc/mount.x: Likewise.
32434 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32435 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32436 * sunrpc/rpcsvc/rex.x: Likewise.
32437 * sunrpc/rpcsvc/rstat.x: Likewise.
32438 * sunrpc/rpcsvc/rusers.x: Likewise.
32439 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32440 * sunrpc/rpcsvc/spray.x: Likewise.
32441 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32442 * sunrpc/rtime.c: Likewise.
32443 * sunrpc/svc.c: Likewise.
32444 * sunrpc/svc_auth.c: Likewise.
32445 * sunrpc/svc_authux.c: Likewise.
32446 * sunrpc/svc_raw.c: Likewise.
32447 * sunrpc/svc_run.c: Likewise.
32448 * sunrpc/svc_simple.c: Likewise.
32449 * sunrpc/svc_tcp.c: Likewise.
32450 * sunrpc/svc_udp.c: Likewise.
32451 * sunrpc/svc_unix.c: Likewise.
32452 * sunrpc/svcauth_des.c: Likewise.
32453 * sunrpc/xcrypt.c: Likewise.
32454 * sunrpc/xdr.c: Likewise.
32455 * sunrpc/xdr_array.c: Likewise.
32456 * sunrpc/xdr_float.c: Likewise.
32457 * sunrpc/xdr_mem.c: Likewise.
32458 * sunrpc/xdr_rec.c: Likewise.
32459 * sunrpc/xdr_ref.c: Likewise.
32460 * sunrpc/xdr_sizeof.c: Likewise.
32461 * sunrpc/xdr_stdio.c: Likewise.
32462
32463 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32464 handling.
32465
324662010-08-19 Andreas Schwab <schwab@redhat.com>
32467
32468 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32469
324702010-08-19 Luis Machado <luisgpm@br.ibm.com>
32471
32472 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32473 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32474 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32475 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32476 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32477 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32478 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32479 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32480 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32481 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32482 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32483 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32484 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32485 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32486
324872010-07-26 Anton Blanchard <anton@samba.org>
32488
32489 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32490 * malloc/arena.c (heap_trim): Likewise.
32491
324922010-08-16 Ulrich Drepper <drepper@redhat.com>
32493
32494 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32495 here. Not...
32496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32497 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32498
324992010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32500
32501 * sysdeps/i386/elf/Makefile: New file.
32502
325032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32504
32505 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32506 from fanotify_init.
32507 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32509
325102010-08-15 Ulrich Drepper <drepper@redhat.com>
32511
32512 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32513 of strncasecmp_l.
32514 * sysdeps/multiarch/strcmp.S: Likewise.
32515
325162010-08-14 Ulrich Drepper <drepper@redhat.com>
32517
32518 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32519 strncase_l-nonascii.
32520 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32521 Add strncase_l-ssse3.
32522 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32523 * sysdeps/x86_64/strcmp.S: Likewise.
32524 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32525 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32526 * sysdeps/x86_64/strncase.S: New file.
32527 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32528 * sysdeps/x86_64/strncase_l.S: New file.
32529 * string/Makefile (strop-tests): Add strncasecmp.
32530 * string/test-strncasecmp.c: New file.
32531
32532 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32533 warning.
32534
32535 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32536 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32537
325382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32539
32540 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32541
325422010-08-12 Ulrich Drepper <drepper@redhat.com>
32543
32544 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32545 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32546 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32547
325482010-05-01 Alan Modra <amodra@gmail.com>
32549
32550 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32551 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32552 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32553 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32554 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32555 tidying. Don't tail-call __sigjmp_save for static lib.
32556 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32557 save location.
32558 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32559 (CALL_MCOUNT): Add eh info, and nop after bl.
32560 (TAIL_CALL_SYSCALL_ERROR): New macro.
32561 (PSEUDO_RET): Use it.
32562 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32563 Correct save location of integer regs and cr.
32564 (_dl_profile_resolve): Correct cr save location. Delete nops
32565 after bl when SHARED. Reduce cfi size a little by better
32566 placement of cfi directives.
32567 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32568 make a stack frame. Instead use parm save area as a temp.
32569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32570 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32572 Don't make a stack frame for parent, use parm save area.
32573 Increase child stack frame to 112 bytes. Don't save unused reg,
32574 and adjust reg usage. Set up cfi on error recovery and
32575 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32577 (__makecontext): Add dummy nop after jump to exit.
32578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32579 Use correct parm save area and cr save, reduce stack frame.
32580 Correct cfi for possible PSEUDO_RET frame setup.
32581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32582 Branch to local label emitted by PSEUDO_RET rather than
32583 __syscall_error.
32584
325852010-08-12 Andreas Schwab <schwab@redhat.com>
32586
32587 [BZ #11904]
32588 * locale/programs/locale.c (print_assignment): New function.
32589 (show_locale_vars): Use it.
32590
325912010-08-11 Ulrich Drepper <drepper@redhat.com>
32592
32593 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32594 field.
32595 (struct statfs64): Likewise.
32596 (_STATFS_F_FLAGS): Define.
32597 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32598 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32599 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32600 (ST_VALID): Define locally.
32601 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32602 __statvfs_getflags, use the provided value.
32603 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32604 __ASSUME_STATFS_F_FLAGS.
32605
32606 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32607
32608 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32609 Add sys/fanotify.h.
32610 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32611 fanotify_mask for GLIBC_2.13.
32612 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32613 fanotify_init and fanotify_mark.
32614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32615 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32616
32617 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32618 Add prlimit.
32619 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32620 prlimit64 for GLIBC_2.13.
32621 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32622 prlimit64.
32623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32624 syscall.
32625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32627 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32628 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32629 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32630 add prlimit alias.
32631 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32632
32633 [BZ #11903]
32634 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32635 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32636
32637 * nss/Makefile: Add rules to build and run tst-nss-test1.
32638 * shlib-versions: Add entry for libnss_test1.
32639 * nss/nss_test1.c: New file.
32640 * nss/tst-nss-test1.c: New file.
32641
32642 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32643 (__nss_configure_lookup): Set appropriate entry in
32644 __nss_configure_lookup to true.
32645 * nss/nsswitch.h: Define enum with indeces of databases in
32646 databases and __nss_database_custom arrays. Declare
32647 __nss_database_custom.
32648 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32649 to avoid using nscd when custom rules are installed.
32650 * nss/getXXbyYY_r.c: Likewise.
32651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32652
32653 * nss/nss_files/files-parse.c: Whitespace fixes.
32654
326552010-08-09 Ulrich Drepper <drepper@redhat.com>
32656
32657 [BZ #11883]
32658 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32659 * posix/fnmatch_loop.c: Likewise.
32660
326612010-07-17 Andi Kleen <ak@linux.intel.com>
32662
32663 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32664 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32665 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32666 * Versions.def [GLIBC_2.13]: Add.
32667
326682010-08-06 Ulrich Drepper <drepper@redhat.com>
32669
32670 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32671 Also fail if tpwd after pwuid call is NULL.
32672
326732010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32674
32675 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32676 when converting to ms.
32677
326782010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32679
32680 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32681 EOPNOTSUPP errors with ENOTTY.
32682 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32683 EOPNOTSUPP errors with ENOTTY.
32684
326852010-07-31 Ulrich Drepper <drepper@redhat.com>
32686
32687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32688 Add strcasecmp_l-ssse3.
32689 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32690 strcasecmp.
32691 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32692 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32693 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32694
326952010-07-30 Ulrich Drepper <drepper@redhat.com>
32696
32697 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32698
32699 * string/Makefile (strop-tests): Add strcasecmp.
32700 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32701 strcasecmp_l-nonascii.
32702 (gen-as-const-headers): Add locale-defines.sym.
32703 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32704 * sysdeps/x86_64/strcasecmp.S: New file.
32705 * sysdeps/x86_64/strcasecmp_l.S: New file.
32706 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32707 * sysdeps/x86_64/locale-defines.sym: New file.
32708 * string/test-strcasecmp.c: New file.
32709
32710 * string/test-strcasestr.c: Test both ends of the range of characters.
32711 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32712
327132010-07-29 Roland McGrath <roland@redhat.com>
32714
32715 [BZ #11856]
32716 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32717
327182010-07-27 Ulrich Drepper <drepper@redhat.com>
32719
32720 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32721 for ld.so.
32722
327232010-07-27 Andreas Schwab <schwab@redhat.com>
32724
32725 * manual/memory.texi (Malloc Tunable Parameters): Document
32726 M_PERTURB.
32727
327282010-07-26 Roland McGrath <roland@redhat.com>
32729
32730 [BZ #11840]
32731 * configure.in (-fgnu89-inline check): Set and substitute
32732 gnu89_inline, not libc_cv_gnu89_inline.
32733 * configure: Regenerated.
32734 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32735
327362010-07-26 Ulrich Drepper <drepper@redhat.com>
32737
32738 * string/test-strnlen.c: New file.
32739 * string/Makefile (strop-tests): Add strnlen.
32740 * string/tester.c (test_strnlen): Add a few more test cases.
32741 * string/tst-strlen.c: Better error reporting.
32742
32743 * sysdeps/x86_64/strnlen.S: New file.
32744
327452010-07-24 Ulrich Drepper <drepper@redhat.com>
32746
32747 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32748 lower-latency instructions.
32749
327502010-07-23 Ulrich Drepper <drepper@redhat.com>
32751
32752 * string/test-strcasestr.c: New file.
32753 * string/test-strstr.c: New file.
32754 * string/Makefile (strop-tests): Add strstr and strcasestr.
32755 * string/str-two-way.h: Don't undefine MAX.
32756 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32757
327582010-07-21 Andreas Schwab <schwab@redhat.com>
32759
32760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32761 strcasestr-nonascii.
32762 (CFLAGS-strcasestr-nonascii.c): Define.
32763 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32764 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32765 Remove unused attribute.
32766
327672010-07-20 Roland McGrath <roland@redhat.com>
32768
32769 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32770 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32771 ld.so.cache was broken. With it, there is no way to disable dsocaps
32772 like LD_HWCAP_MASK can disable hwcaps.
32773
327742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32775
32776 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32777
327782010-07-16 Ulrich Drepper <drepper@redhat.com>
32779
32780 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32781 call in strcasestr.
32782 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32783 __strcasestr_sse42_nonascii.
32784 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32785 strcasestr-nonascii.c.
32786 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32787
327882010-06-15 Luis Machado <luisgpm@br.ibm.com>
32789
32790 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32791 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32792 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32793 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32794
327952010-07-09 Ulrich Drepper <drepper@redhat.com>
32796
32797 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32798 fcntl.
32799
328002010-07-06 Andreas Schwab <schwab@redhat.com>
32801
32802 [BZ #11577]
32803 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32804 dl_signal_cerror.
32805
328062010-07-06 Ulrich Drepper <drepper@redhat.com>
32807
32808 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32809 _PC_PIPE_BUF using F_GETPIPE_SZ.
32810
328112010-07-05 Roland McGrath <roland@redhat.com>
32812
32813 * manual/arith.texi (Rounding Functions): Fix rint description
32814 implicit in round description.
32815
328162010-07-02 Ulrich Drepper <drepper@redhat.com>
32817
32818 * elf/Makefile: Fix linking for a few tests to make recent linker
32819 happy.
32820
328212010-06-30 Andreas Schwab <schwab@redhat.com>
32822
32823 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32824 $(common-objpfx)libc_nonshared.a.
32825
328262010-06-21 Luis Machado <luisgpm@br.ibm.com>
32827
32828 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32829 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32830 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32831 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32832 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32833 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32834 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32835 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32850 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32851 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32852 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32853 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32854 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32855 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32856 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32857 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32858 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32859 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32860 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32861 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32876
328772010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32878
32879 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32880 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32881 * string/memmove.c (memmove): Renamed to ...
32882 (MEMMOVE): ...this. Default to memmove.
32883 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32884 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32885 (END_CHK): Define.
32886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32887 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32888 mempcpy-ssse3-back memmove-ssse3-back.
32889 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32890 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32892 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32893 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32894 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32895 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32896 * sysdeps/x86_64/multiarch/memmove.c: New file.
32897 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32898 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32899 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32900 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32901 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32902 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32903 Define.
32904 (index_Fast_Copy_Backward): Define.
32905 (HAS_ARCH_FEATURE): Define.
32906 (HAS_FAST_REP_STRING): Define.
32907 (HAS_FAST_COPY_BACKWARD): Define.
32908
329092010-06-21 Andreas Schwab <schwab@redhat.com>
32910
32911 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32912 Restore proper fallback handling.
32913
329142010-06-19 Ulrich Drepper <drepper@redhat.com>
32915
32916 [BZ #11701]
32917 * posix/group_member.c (__group_member): Correct checking loop.
32918
32919 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32920 OOM in getpwuid_r correctly. Return error number when the caller
32921 should return, otherwise -1.
32922 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32923 call returning > 0 value.
32924 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32925
329262010-06-07 Andreas Schwab <schwab@redhat.com>
32927
32928 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32929 libc_nonshared.a from targets in modules-names.
32930
329312010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32932
32933 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32934 requires it.
32935
329362010-06-10 Luis Machado <luisgpm@br.ibm.com>
32937
32938 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32939 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32941 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32942
329432010-06-02 Andreas Schwab <schwab@redhat.com>
32944
32945 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32946
329472010-06-14 Ulrich Drepper <drepper@redhat.com>
32948
32949 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32950 and F_GETPIPE_SZ.
32951 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32952 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32953 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32955 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32956 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32957
329582010-06-14 Roland McGrath <roland@redhat.com>
32959
32960 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32961
329622010-06-07 Jakub Jelinek <jakub@redhat.com>
32963
32964 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32965 __REDIRECT followed by __THROW.
32966 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32967 * posix/getopt.h (getopt): Likewise.
32968
329692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32970
32971 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32972 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32973 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32974 in AT_FLAGS.
32975 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32976 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32977
329782010-05-28 Luis Machado <luisgpm@br.ibm.com>
32979
32980 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32981
329822010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32983
32984 [BZ #11640]
32985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32986 Properly check family and model.
32987
329882010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32989
32990 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32991
329922010-05-24 Luis Machado <luisgpm@br.ibm.com>
32993
32994 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32995
329962010-05-21 Ulrich Drepper <drepper@redhat.com>
32997
32998 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32999 symbol reference.
33000
330012010-05-19 Andreas Schwab <schwab@redhat.com>
33002
33003 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33004 symbol reference.
33005
330062010-05-21 Andreas Schwab <schwab@redhat.com>
33007
33008 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33009 and internal_recvmmsg.
33010 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33011 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33012 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33013 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33014
33015 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33016 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33017 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33018
330192010-05-20 Andreas Schwab <schwab@redhat.com>
33020
33021 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33022
330232010-05-17 Luis Machado <luisgpm@br.ibm.com>
33024
33025 POWER7 optimizations.
33026 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33027 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33028
330292010-05-19 Ulrich Drepper <drepper@redhat.com>
33030
33031 * version.h: Update for 2.13 development version.
33032
330332010-05-12 Andrew Stubbs <ams@codesourcery.com>
33034
33035 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33036 exceptions. Return 0.
33037
330382010-05-07 Roland McGrath <roland@redhat.com>
33039
33040 * elf/ldconfig.c (main): Add a const.
33041
330422010-05-06 Ulrich Drepper <drepper@redhat.com>
33043
33044 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33045 (args_options): Add no-idn option.
33046 (ahosts_keys_int): Add idn_flags to ai_flags.
33047 (parse_option): Handle 'i' option to clear idn_flags.
33048
33049 * malloc/malloc.c (_int_free): Possible race in the most recently
33050 added check. Only act on the data if no current modification
33051 happened.
33052
33053See ChangeLog.17 for earlier changes.