]> sourceware.org Git - glibc.git/blame - ChangeLog
Make __ffs hidden
[glibc.git] / ChangeLog
CommitLineData
5bb43a43
AS
12013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2
3 * include/string.h (__ffs): Declare as hidden.
4 * string/ffs.c (__ffs): Define as hidden.
5 * sysdeps/i386/ffs.c (__ffs): Likewise.
6 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8 * sysdeps/s390/ffs.c (__ffs): Likewise.
9 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10
3ea5be54
AO
112013-09-20 Alexandre Oliva <aoliva@redhat.com>
12
ffb89e53
AO
13 * NEWS: Mention malloc probes.
14
322dea08
AO
15 * malloc/arena.c (new_heap): New memory_heap_new probe.
16 (grow_heap): New memory_heap_more probe.
17 (shrink_heap): New memory_heap_less probe.
18 (heap_trim): New memory_heap_free probe.
19 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20 (systrim): New memory_sbrk_less probe.
21 * manual/probes.texi: Document them.
22
655673f3
AO
23 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24 * manual/probes.texi: Document it.
25
35fed6f1
AO
26 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27 (__libc_realloc): Add memory_realloc_retry probe.
28 (__libc_memalign): Add memory_memalign_retry probe.
29 (__libc_valloc): Add memory_valloc_retry probe.
30 (__libc_pvalloc): Add memory_pvalloc_retry probe.
31 (__libc_calloc): Add memory_calloc_retry probe.
32 * manual/probes.texi: Document them.
33
6999d38c
AO
34 * malloc/arena.c (get_free_list): Add probe
35 memory_arena_reuse_free_list.
36 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
37 and memory_arena_reuse.
38 (arena_get2) [!PER_THREAD]: Likewise.
39 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40 memory_arena_reuse_realloc.
41 * manual/probes.texi: Document them.
42
0653427f
AO
43 * malloc/malloc.c (__libc_free): Add
44 memory_mallopt_free_dyn_thresholds probe.
45 (__libc_mallopt): Add multiple memory_mallopt probes.
46 * manual/probes.texi: Document them.
47
3ea5be54
AO
48 * malloc/malloc.c: Include stap-probe.h.
49 (__libc_mallopt): Add memory_mallopt probe.
50 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
51 * manual/probes.texi: New.
52 * manual/Makefile (chapters): Add probes.
53 * manual/threads.texi: Set next node.
54
e35696c3 552013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 56
e35696c3
CL
57 [BZ #15963, #13985]
58 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
59 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60 Add `Chinese' to `nan' entry name.
61
4aafb73c
SP
622013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63
64 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
65 (POLYNOMIAL): Likewise.
66 (TAYLOR_SINCOS): Likewise.
67 (TAYLOR_SLOW): Likewise.
68 (__sin): Use TAYLOR_SINCOS.
69 (__cos): Likewise.
70 (slow): Use TAYLOR_SLOW.
71 (sloww): Likewise.
72 (bsloww): Likewise.
73 (csloww): Likewise.
74
d84f25c7
LD
752013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
76
77 * stdlib/strtod_l.c: Fix buffer overrun.
78
5eea0404
SP
792013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
80
7849ff93
SP
81 * benchtests/Makefile (bench): Add sincos.
82 * benchtests/bench-sincos.c: New file.
83
cfa3c886
SP
84 * math/libm-test.inc (cos_test_data): New test inputs.
85 (sin_test_data): Likewise.
86
b348e1e3
SP
87 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
88 macro.
89 (__sin): Use it.
90 (__cos): Likewise.
91 (slow1): Likewise.
92 (slow2): Likewise.
93 (sloww1): Likewise.
94 (sloww2): Likewise.
95 (bsloww1): Likewise.
96 (bsloww2): Likewise.
97 (cslow2): Likewise.
98 (csloww1): Likewise.
99 (csloww2): Likewise.
100
6cce25f8
SP
101 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
102 function.
103 (__sin): Use it.
104 (__cos): Likewise.
105
5eea0404
SP
106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
107 gotos.
108 (__cos): Likewise.
109
9c21573c
MR
1102013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
111
112 * config.h.in (HAVE_MIPS_NAN2008): New macro.
113 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
114 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
115 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
116 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
117 * elf/cache.c (print_entry): Handle the new cache flags.
118
24d22e65
JM
1192013-09-18 Joseph Myers <joseph@codesourcery.com>
120 Aldy Hernandez <aldyh@redhat.com>
121
122 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
123 Change condition to [_SOFT_FLOAT].
124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
128 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
134 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
136 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
139 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
140 declaration.
141
d13ef066
JM
1422013-09-18 Joseph Myers <joseph@codesourcery.com>
143
2e071de0
JM
144 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
145 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
146 (__longjmp): Use LOAD_GP to load saved GPRs.
147 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
148 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
149 (__sigsetjmp): Use SAVE_GP to save GPRs.
150
d13ef066
JM
151 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
152 Do not append -msoft-float.
153 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
154
97a0650b
SP
1552013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
156
157 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
158
11ca09e9
JM
1592013-09-17 Joseph Myers <joseph@codesourcery.com>
160
161 [BZ #15966]
162 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
163 (_FPU_GETCW): Use initial "__" on variable and field names but not
164 on macro parameter name.
165 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
166 parentheses around reference to macro parameter.
167
08ffcf34
RS
1682013-09-13 Richard Sandiford <richard@codesourcery.com>
169
170 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
171 prototype.
172 (ctype_startup): Use uint32_t in cast and sizeof for
173 ctype->charnames.
174
ae7080d3
JL
1752013-09-11 Jia Liu <proljc@gmail.com>
176
177 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
178 __daddr_t_defined.
179 [__FreeBSD__]: Likewise.
180
5905e7b3
OB
1812013-09-11 Ondřej Bílka <neleai@seznam.cz>
182
183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
184 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
185 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
186 (strchr): Remove __strchr_sse42 ifunc selection.
187 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
188 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
189
b987c776
WN
1902013-09-11 Will Newton <will.newton@linaro.org>
191
192 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
193 parameter to RES. Remove hardcoded 1000 value.
194 * benchtests/bench-skeleton.c (main): Pass RES parameter
195 to TIMING_INIT and multiply result by 1000.
196
ddf985af
AZ
1972013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
198
199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
200
ffdd3181
AS
2012013-09-11 Andreas Schwab <schwab@suse.de>
202
203 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
204 if not defined.
205 (O_TMPFILE) [__USE_GNU]: Define.
206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
207 Define.
208
b73ed247
WN
2092013-09-11 Will Newton <will.newton@linaro.org>
210
211 [BZ #15857]
212 * malloc/malloc.c (__libc_memalign): Check the value of bytes
213 does not overflow.
214
55e17aad
WN
2152013-09-11 Will Newton <will.newton@linaro.org>
216
217 [BZ #15856]
218 * malloc/malloc.c (__libc_valloc): Check the value of bytes
219 does not overflow.
220
1159a193
WN
2212013-09-11 Will Newton <will.newton@linaro.org>
222
223 [BZ #15855]
224 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
225 does not overflow.
226
5905e7b3 2272013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
228
229 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
231 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
233 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
234
cdfc721b
AM
2352013-09-10 Allan McRae <allan@archlinux.org>
236
aa04af00
AM
237 [BZ #15748]
238 * manual/arith.texi (Parsing of Floats): Clarify
239 cross-reference.
240
cdfc721b
AM
241 [BZ #15849]
242 * manual/install.texi (Running make install): Mention
243 --enable-pt-chown.
244 * INSTALL: Regenerated.
245
95e7cf29
MR
2462013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
247
248 * csu/init-first.c (_init): Remove the !SHARED condition around
249 FPU control word initialization.
250 * elf/dl-support.c (_dl_fpu_control): New variable.
251 (_dl_aux_init) <AT_FPUCW>: Initialize it.
252 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
253 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
254 * math/test-fpucw-static.c: New file.
255 * math/test-fpucw-ieee.c: New file.
256 * math/test-fpucw-ieee-static.c: New file.
257 * math/Makefile (tests): Add `test-fpucw-ieee' and
258 `$(tests-static)'.
259 (tests-static): New variable.
260 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
261 dependency to...
262 [($(build-shared),yes)]
263 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
264 ... this.
265 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
266 New dependency.
267
83e43bf0
AM
2682013-09-09 Allan McRae <allan@archlinux.org>
269
a9f5ce09
AM
270 [BZ #15939]
271 * manual/string.texi (Collation Functions): Fix typo in
272 strcoll example.
273 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
274
34829bc2
AM
275 [BZ #15893]
276 * stdlib/isomac.c (get_null_defines): Fix memory leak.
277
3932737d
AM
278 [BZ #15892]
279 * libio/memstream.c (open_memstream): Fix memory leak.
280 * libio/wmemstream.c (open_wmemstream): Likewise.
281
83e43bf0
AM
282 [BZ #15895]
283 * nscd/netgroupcache.c: Fix nesting of ifdefs.
284
0c66b8e9
WN
2852013-09-09 Will Newton <will.newton@linaro.org>
286
287 * malloc/Makefile: Add tst-realloc to tests.
288 * malloc/tst-realloc.c: New file.
289
f6b00fd1
AM
2902013-09-09 Allan McRae <allan@archlinux.org>
291
292 [BZ #15844]
293 * COPYING: Update from GNU website to fix FSF address.
294 * COPYING.LIB: Likewise.
295
eec55e16
DM
2962013-09-06 David S. Miller <davem@davemloft.net>
297
298 * po/zh_TW.po: Update Chinese (traditional) translation from
299 translation project.
300
1ecbb381
RS
3012013-09-06 Richard Sandiford <richard@codesourcery.com>
302 Joseph Myers <joseph@codesourcery.com>
303
304 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
305 "localeinfo.h".
306 (obstack_chunk_alloc): New macro.
307 (obstack_chunk_free): Likewise.
308 (record_offset): New function.
309 (init_locale_data): Likewise.
310 (align_locale_data): Likewise.
311 (add_locale_empty): Likewise.
312 (add_locale_raw_data): Likewise.
313 (add_locale_raw_obstack): Likewise.
314 (add_locale_string): Likewise.
315 (add_locale_wstring): Likewise.
316 (add_locale_uint32): Likewise.
317 (add_locale_uint32_array): Likewise.
318 (add_locale_char): Likewise.
319 (start_locale_structure): Likewise.
320 (end_locale_structure): Likewise.
321 (start_locale_prelude): Likewise.
322 (end_locale_prelude): Likewise.
323 (write_locale_data): Take locale_file structure rather than an
324 iovec.
325 * locale/programs/locfile.h: Include "obstack.h".
326 (struct locale_file): Change to store locale file contents instead
327 of header.
328 (init_locale_data): New prototype.
329 (align_locale_data): Likewise.
330 (add_locale_empty): Likewise.
331 (add_locale_raw_data): Likewise.
332 (add_locale_raw_obstack): Likewise.
333 (add_locale_string): Likewise.
334 (add_locale_wstring): Likewise.
335 (add_locale_uint32): Likewise.
336 (add_locale_uint32_array): Likewise.
337 (add_locale_char): Likewise.
338 (start_locale_structure): Likewise.
339 (end_locale_structure): Likewise.
340 (start_locale_prelude): Likewise.
341 (end_locale_prelude): Likewise.
342 (write_locale_data): Update prototype.
343 * locale/programs/3level.h (struct TABLE): Remove result field.
344 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
345 Use new locale_file interface.
346 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
347 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
348 * locale/programs/ld-address.c (address_output): Use new
349 locale_file interface.
350 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
351 NO_ADD_LOCALE.
352 (collate_finish): Don't call collseq_table_finalize.
353 (collate_output): Use new locale_file interface.
354 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
355 in file.
356 (NO_FINALIZE): Change to NO_ADD_LOCALE.
357 (TABLE): Move defines earlier in file.
358 (ELEMENT): Likewise.
359 (DEFAULT): Likewise.
360 (wctrans_table_add): Move macro and inline function earlier in
361 file.
362 (struct wctype_table): Move type earlier in file.
363 (add_locale_wctype_table): New static prototype.
364 (struct locale_ctype_t): Use logical types instead of struct iovec
365 pointers for members.
366 (ctype_output): Use new locale_file interface.
367 (wctype_table_finalize): Change to add_locale_wctype_table. Use
368 new locale_file interface.
369 (allocate_arrays): Update for use of new locale_file interface.
370 * locale/programs/ld-identification.c (identification_output): Use
371 new locale_file interface.
372 * locale/programs/ld-measurement.c (measurement_output): Likewise.
373 * locale/programs/ld-messages.c (messages_output): Likewise.
374 * locale/programs/ld-monetary.c (monetary_output): Likewise.
375 * locale/programs/ld-name.c (name_output): Likewise.
376 * locale/programs/ld-numeric.c (numeric_output): Likewise.
377 * locale/programs/ld-paper.c (paper_output): Likewise.
378 * locale/programs/ld-telephone.c (telephone_output): Likewise.
379 * locale/programs/ld-time.c (time_output): Likewise.
380
e029e2e5
AZ
3812013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
382
383 * benchtests/Makefile: Add memrchr benchmark.
384 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
385 benchmark as memrchr.
386 * benchtests/bench-memrchr-ifunc.c: New file.
387 * benchtests/bench-memrchr.c: New file.
388
bbf6e8e4
WN
3892013-09-06 Will Newton <will.newton@linaro.org>
390
391 * benchtests/Makefile (string-bench): Add memcpy.
392
6c82a2f8
CD
3932013-09-05 Carlos O'Donell <carlos@redhat.com>
394 Cong Wang <amwang@redhat.com>
395
396 * sysdeps/unix/sysv/linux/bits/in.h
397 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
398 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
399 before __USE_KERNEL_IPV6_DEFS uses.
400 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
401 IPPROTO_BEETPH.
402 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
403 sockaddr_in6, or ipv6_mreq.
404
5430fc65
AZ
4052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
406
407 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
408 memory access for final bytes in some large inputs.
409 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
410
4660856c
AZ
4112013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
412
413 * string/test-memrchr.c: New file.
414 * string/test-memrchr-ifunc.c: New file.
415 * string/Makefile: Add new memrchr testcase.
416
bb8ea713
MF
4172013-09-05 Mike Frysinger <vapier@gentoo.org>
418
419 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
420 fanotify_init returns EPERM.
421
b92a20b5
JM
4222013-09-04 Joseph Myers <joseph@codesourcery.com>
423
424 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
425 errors.
426 (top level): Treat second token from macro or constant entries for
427 allowed headers as allowed.
428 * include/complex.h: Condition internal declarations on
429 [!_ISOMAC].
430 * include/fenv.h: Condition include of <stdbool.h> and internal
431 declarations on [!_ISOMAC].
7447ccd9
CL
432
4332013-09-04 Chris Leonard <cjl@sugarlabs,.org>
434
3e181dda 435 [BZ #15923]
7447ccd9
CL
436 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
437
3f2e46a4
JM
4382013-09-04 Joseph Myers <joseph@codesourcery.com>
439
440 * configure.in (--enable-versioning): Remove configure option.
441 (libc_cv_asm_symver_directive): Remove configure test.
442 (libc_cv_ld_version_script_option): Likewise.
443 (VERSIONING): Remove variable and AC_SUBST.
444 (DO_VERSIONING): Remove AC_DEFINE.
445 * configure: Regenerated.
446 * config.h.in (DO_VERSIONING): Remove macro.
447 * Makerules [$(versioning) = yes]: Change conditionals to
448 [$(build-shared) = yes].
449 * config.make.in (versioning): Remove variable.
450 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
451 [$(build-shared) = yes].
452 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
453 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
454 * elf/Makefile [$(versioning) = yes]: Change conditionals to
455 [$(build-shared) = yes].
456 * extra-lib.mk [$(versioning) = yes]: Likewise.
457 * hurd/Makefile [$(versioning) = yes]: Likewise.
458 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
459 [SHARED].
460 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
461 [SHARED].
462 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
463 [SHARED && !NO_HIDDEN].
464 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
465 [SHARED].
466 [SHARED && DO_VERSIONING]: Likewise..
467 * libio/Makefile [$(versioning) = yes]: Change conditionals to
468 [$(build-shared) = yes].
469 * manual/install.texi (--disable-versioning): Remove
470 documentation.
471 * INSTALL: Regenerated.
472 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
473 to [SHARED].
474 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
475 [$(build-shared) = yes].
476 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
477 * sysdeps/i386/i686/multiarch/strstr-c.c
478 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
479 [SHARED && !NO_HIDDEN].
480 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
481 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
482 * sysdeps/powerpc/powerpc32/dl-machine.c
483 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
484 * sysdeps/powerpc/powerpc32/sysdep.h
485 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
486 to [SHARED && PIC && !NO_HIDDEN].
487 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
488 conditional to [SHARED].
489
44558701
WN
4902013-09-04 Will Newton <will.newton@linaro.org>
491
492 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
493 * benchtests/bench-string.h: Include bench-timing.h instead
494 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
495 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
496 call to HP_TIMING_DIFF_INIT.
497 * benchtests/bench-memccpy.c: Use bench-timing.h macros
498 instead of hp-timing.h macros.
499 * benchtests/bench-memchr.c: Likewise.
500 * benchtests/bench-memcmp.c: Likewise.
501 * benchtests/bench-memcpy.c: Likewise.
502 * benchtests/bench-memmem.c: Likewise.
503 * benchtests/bench-memmove.c: Likewise.
504 * benchtests/bench-memset.c: Likewise.
505 * benchtests/bench-rawmemchr.c: Likewise.
506 * benchtests/bench-strcasecmp.c: Likewise.
507 * benchtests/bench-strcasestr.c: Likewise.
508 * benchtests/bench-strcat.c: Likewise.
509 * benchtests/bench-strchr.c: Likewise.
510 * benchtests/bench-strcmp.c: Likewise.
511 * benchtests/bench-strcpy.c: Likewise.
512 * benchtests/bench-strcpy_chk.c: Likewise.
513 * benchtests/bench-strlen.c: Likewise.
514 * benchtests/bench-strncasecmp.c: Likewise.
515 * benchtests/bench-strncat.c: Likewise.
516 * benchtests/bench-strncmp.c: Likewise.
517 * benchtests/bench-strncpy.c: Likewise.
518 * benchtests/bench-strnlen.c: Likewise.
519 * benchtests/bench-strpbrk.c: Likewise.
520 * benchtests/bench-strrchr.c: Likewise.
521 * benchtests/bench-strspn.c: Likewise.
522 * benchtests/bench-strstr.c: Likewise.
523
cae16d66
WN
5242013-09-04 Will Newton <will.newton@linaro.org>
525
526 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
527
ffa3cd7f
JM
5282013-09-03 Joseph Myers <joseph@codesourcery.com>
529
530 [BZ #15427]
531 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
532 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
533 * math/libm-test.inc (lgamma_test_data): Add more tests.
534 * sysdeps/i386/fpu/libm-test-ulps: Update.
535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
536
8f02859f
OB
5372013-09-03 Ondřej Bílka <neleai@seznam.cz>
538
539 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
541 Add ifunc.
542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
543 Add strcmp-sse2-unaligned
544 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
545
18d43716
MF
5462013-09-02 Mike Frysinger <vapier@gentoo.org>
547
548 * Versions.def (libc): Add GLIBC_2.19.
549
ac444012
MF
5502013-09-02 Mike Frysinger <vapier@gentoo.org>
551
552 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
553 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
554
b7835e32
JM
5552013-09-02 Joseph Myers <joseph@codesourcery.com>
556
557 [BZ #14155]
558 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
559 intermediate calculations in recurrence.
560 (__ieee754_ynf): Likewise.
561 * math/libm-test.inc (jn_test_data): Do not allow spurious
562 underflow exception. Add more tests.
563 (yn_test_data): Add more tests.
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
566
8220f4f0
OB
5672013-09-02 Ondřej Bílka <neleai@seznam.cz>
568
569 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
570
f24a6d08
OB
5712013-08-30 Ondřej Bílka <neleai@seznam.cz>
572
573 * csu/init-first.c: Fix then/than typos.
574 * locale/programs/ld-collate.c: Likewise.
575 * locale/programs/linereader.h: Likewise.
576 * manual/charset.texi: Likewise.
577 * manual/filesys.texi: Likewise.
578 * manual/stdio.texi: Likewise.
579 * manual/string.texi: Likewise.
580 * stdlib/fmtmsg.c: Likewise.
581 * sysdeps/i386/stpncpy.S: Likewise.
582 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
583 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
584 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
585 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
586
382466e0
OB
5872013-08-30 Ondřej Bílka <neleai@seznam.cz>
588
589 * elf/dl-open.c: Fix typos.
590 * iconvdata/gbbig5.c: Likewise.
591 * iconvdata/iso-2022-jp.c: Likewise.
592 * iconv/gconv_int.h: Likewise.
593 * iconv/loop.c: Likewise.
594 * nis/rpcsvc/nis.h: Likewise.
595 * resolv/ns_name.c: Likewise.
596 * stdio-common/vfscanf.c: Likewise.
597 * streams/stropts.h: Likewise.
598 * sunrpc/rpc_thread.c: Likewise.
599 * sysdeps/i386/strpbrk.S: Likewise.
600 * sysdeps/ieee754/k_standard.c: Likewise.
601 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
602 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
603 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
604 * sysdeps/mach/hurd/profil.c: Likewise.
605 * sysdeps/s390/dl-procinfo.h: Likewise.
606 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
607 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
608 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
609 * sysdeps/x86_64/dl-trampoline.S: Likewise.
610 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
611
0186c6e9
OB
6122013-08-30 Ondřej Bílka <neleai@seznam.cz>
613
614 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
616
d4e16af1
OB
6172013-08-29 Ondřej Bílka <neleai@seznam.cz>
618
619 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
620 aix specific files.
621 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
622 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
623 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
624 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
625 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
626 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
627 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
628 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
629
88335980
TS
6302013-08-29 Thomas Schwinge <thomas@codesourcery.com>
631 Roland McGrath <roland@hack.frob.com>
632
633 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
634 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
635
ed479b02
ST
6362013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
637
638 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
639 __executable_start symbol instead of _start.
640
f1cc4c86
TS
6412013-08-29 Thomas Schwinge <thomas@codesourcery.com>
642
d821f07c
TS
643 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
644 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
645 Move macros to...
646 * sysdeps/gnu/ldsodefs.h: ... this new file.
647
c54290cf
TS
648 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
649 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
650 instead of ELFOSABI_LINUX.
651
0007fc9b 652 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
653 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
654 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
655 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
656 Likewise.
657 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
658 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
659 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
660 Likewise.
661 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
662 (ibm_extended_long_double): Add ieee_nan member.
663 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
664 (do_test): New function.
665
f1cc4c86
TS
666 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
667 TEST_TRUNC.
668 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
669 functions, renamed from truncdfsf_test, trunctfsf_test,
670 trunctfdf_test.
671 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
672 functions.
673 (do_test): Run all these.
674
6f65e668
OB
6752013-08-29 Ondřej Bílka <neleai@seznam.cz>
676
677 * argp/argp-help.c: Fix typos.
678 * argp/argp-parse.c: Likewise.
679 * debug/backtracesyms.c: Likewise.
680 * elf/elf.h: Likewise.
681 * malloc/malloc.c: Likewise.
682 * nis/nis_print.c: Likewise.
683 * resolv/res_comp.c: Likewise.
684 * stdlib/stdlib.h: Likewise.
685 * sunrpc/clnt_tcp.c: Likewise.
686 * sunrpc/clnt_udp.c: Likewise.
687 * sunrpc/clnt_unix.c: Likewise.
688 * sysdeps/unix/bsd/ptsname.c: Likewise.
689 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
690 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
692 Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
694 Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
696 Likewise.
6f65e668
OB
697 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
698
3a309239
SP
6992013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
700
701 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
703
3b813b29
MF
7042013-08-27 Mike Frysinger <vapier@gentoo.org>
705
706 [BZ #15897]
707 * dlfcn/Makefile (tests): Add bug-dl-leaf.
708 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
709 ($(objpfx)bug-dl-leaf): New rule.
710 ($(objpfx)bug-dl-leaf.so): Likewise.
711 ($(objpfx)bug-dl-leaf.out): Likewise.
712 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
713 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
714 * dlfcn/bug-dl-leaf.c: New test.
715 * dlfcn/bug-dl-leaf-lib.c: Likewise.
716 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
717 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
718 (dlclose): Likewise.
719 (dlmopen): Likewise.
720
8cc3269f
RM
7212013-08-27 Roland McGrath <roland@hack.frob.com>
722
7f9d0034
RM
723 * include/netdb.h [!_ISOMAC]:
724 Don't include <tls.h>.
725 (h_errno, __libc_h_errno): Move declaration and macros out of
726 [_LIBC_REENTRANT].
727
fb431262
RM
728 * include/resolv.h [_RESOLV_H_]:
729 Don't include <tls.h>.
730 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
731 * resolv/res_libc.c: Don't include <tls.h>.
732 (_res): Use __attribute__ ((nocommon)) in place of
733 __attribute__ ((section (".bss"))).
734
bd81123a
RM
735 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
736 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
737
c4e42566
RM
738 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
739
f890a59b
RM
740 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
741 only under [SIOCGIFCONF && SIOCGIFNETMASK].
742
743 * resolv/res_mkquery.c: Include <sys/time.h>.
744
5d1f0a09
RM
745 * inet/ifreq.c: Moved to ...
746 * sysdeps/unix/ifreq.c: ... here.
747 * inet/ifreq.c: New file, true stub version.
748
6fcf28b3
RM
749 * socket/sa_len.c: New file.
750 * socket/Makefile (aux): Add it.
751 * sysdeps/unix/sysv/linux/Makefile
752 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
753 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
754 and #include <socket/sa_len.c>.
755 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
756 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
757
e041fb8b
RM
758 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
759 * bits/socket.h: ... here.
760
8cc3269f
RM
761 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
762 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
763 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
764
5d228a43
AS
7652013-08-27 Andreas Schwab <schwab@suse.de>
766
45b8accc
AS
767 [BZ #15736]
768 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
769 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
770 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
771 * string/test-strcasecmp.c (test_main): Run tests in several
772 locales.
773 * string/test-strncasecmp.c (test_main): Likewise.
774
5d228a43
AS
775 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
776 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
777 to __strcasecmp_nonascii and __strncasecmp_nonascii.
778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
779 (__strncasecmp_ssse3) [PIC]: Likewise.
780
59d112a4
RM
7812013-08-26 Roland McGrath <roland@hack.frob.com>
782
53234cc3
RM
783 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
784
59d112a4
RM
785 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
786 instead of explicitly declaring xdecrypt.
787 * nis/nss_nis/nis-publickey.c: Likewise.
788
595aba70
SP
7892013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
790
791 [BZ #15890]
792 * nscd/aicache.c: Include res_hconf.h.
793 (addhstaiX): Initialize res_hconf.
794
ffabd393
AS
7952013-08-26 Andreas Schwab <schwab@suse.de>
796
797 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
798 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
799
e0a69f5c
SP
8002013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
801
802 * nscd/aicache.c (addhstaiX): Fix indentation.
803
8c12f01d
MF
8042013-08-25 Mike Frysinger <vapier@gentoo.org>
805
806 * configure.ac: Quote $build_pt_chown test.
807 * configure: Regenerated.
808
8fe89494
JM
8092013-08-23 Joseph Myers <joseph@codesourcery.com>
810
811 [BZ #15532]
812 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
813 * math/s_cexpf.c (__cexpf): Likewise.
814 * math/s_cexpl.c (__cexpl): Likewise.
815 * math/libm-test.inc (cexp_test_data): Correct expected return
816 value for NaN + i0. Add another test.
817
75b181d6
DM
8182013-08-22 David S. Miller <davem@davemloft.net>
819
820 * po/ca.po: Update Catalan translation from translation project.
936241e4 821 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 822
acd06bb1
JM
8232013-08-21 Joseph Myers <joseph@codesourcery.com>
824
825 [BZ #15797]
826 * math/s_fdim.c (__fdim): Check for infinite arguments if result
827 is infinite, not alongside NaN test.
828 * math/s_fdimf.c (__fdimf): Likewise.
829 * math/s_fdiml.c (__fdiml): Likewise.
830 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
831 errno is unchanged.
832
c0c3f78a
OB
8332013-08-21 Ondřej Bílka <neleai@seznam.cz>
834
835 * argp/argp-help.c: Fix typos.
836 * crypt/speeds.c: Likewise.
837 * csu/check_fds.c: Likewise.
838 * elf/dl-load.c: Likewise.
839 * elf/dl-open.c: Likewise.
840 * elf/reldep3.c: Likewise.
841 * elf/reldep.c: Likewise.
842 * elf/sprof.c: Likewise.
843 * iconv/iconv_charmap.c: Likewise.
844 * iconv/skeleton.c: Likewise.
845 * iconv/strtab.c: Likewise.
846 * io/lockf64.c: Likewise.
847 * libio/libioP.h: Likewise.
848 * resolv/gai_notify.c: Likewise.
849 * resolv/ns_name.c: Likewise.
850 * resolv/ns_samedomain.c: Likewise.
851 * resolv/res_send.c: Likewise.
852 * stdlib/random.c: Likewise.
853 * sunrpc/rpc/xdr.h: Likewise.
854 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
855 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
856 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
857 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
858 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
859 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
861 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
862 * sysdeps/mach/hurd/check_fds.c: Likewise.
863 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
864 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
865 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
866 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
867 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
868 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
869 * sysdeps/pthread/aio_notify.c: Likewise.
870 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
871 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
872 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
873 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
874 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
875
46ed1038
LD
8762013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
877
878 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
879 version if bit_Slow_SSE4_2 is set.
880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
881 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
882
d400dcac
AZ
8832013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
884
885 [BZ #15867]
886 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
887 trampoline stack frame information.
888 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
889 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
890 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
891 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
892 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
893 * sysdeps/unix/sysv/linux/powerpc/init-first.c
894 (_libc_vdso_platform_setup): Initialize the signal trampolines.
895 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
896 sa_flags value.
897 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
898 interrupting a syscall and set with option SA_SIGINFO.
899
42c8fdd8
JM
9002013-08-20 Joseph Myers <joseph@codesourcery.com>
901
c980f2f4
JM
902 [BZ #15531]
903 * math/s_cproj.c (__cproj): Only return an infinity if one part of
904 argument is infinite.
905 * math/s_cprojf.c (__cprojf): Likewise.
906 * math/s_cprojl.c (__cprojl): Likewise.
907 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
908 * math/libm-test.inc (cproj_test_data): Add more tests.
909
0716c4fc
JM
910 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
911
42c8fdd8
JM
912 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
913 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
914 size. Use __ffs to determine corresponding shift.
915
b31469d0
JM
9162013-08-20 Joseph Myers <joseph@codesourcery.com>
917 Roland McGrath <roland@hack.frob.com>
918
919 * Makefile (INSTALL): Remove trailing blank lines from output of
920 makeinfo.
921
4e39af6e
AK
9222013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
923
924 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
925 Align 32 bit compat elf_greg to 8 bytes.
926
f315524e
AA
9272013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
928
929 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
930
1326ba1a
SP
9312013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
932
933 * string/strcoll_l.c (coll_seq): New structure.
934 (get_next_seq_cached): New function.
935 (get_next_seq): New function.
936 (do_compare): New function.
937 (STRCOLL): Use GNU style definition. Simplify implementation
938 by using get_next_seq, get_next_seq_cached and do_compare.
939
91ce4085
FW
9402013-08-16 Florian Weimer <fweimer@redhat.com>
941
942 [BZ #14699]
943 CVE-2013-4237
944 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
945 member.
946 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
947 member.
948 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
949 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
950 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
951 conditional.
952 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
953 GETDENTS_64BIT_ALIGNED.
954 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
955 * manual/filesys.texi (Reading/Closing Directory): Document
956 ENAMETOOLONG return value of readdir_r. Recommend readdir more
957 strongly.
958 * manual/conf.texi (Limits for Files): Add portability note to
959 NAME_MAX, PATH_MAX.
960 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
961
ca0a6bc4
AS
9622013-08-13 Andreas Schwab <schwab@suse.de>
963
964 [BZ #15749]
965 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
966 of fabs.
967 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
968 LDBL_MAX_EXP >= 16384]: Add tests for it.
969
6c1fd795
DM
9702013-08-12 David S. Miller <davem@davemloft.net>
971
972 * version.h (RELEASE): Set to "development".
973 (VERSION): Set to "2.18.90".
974 * NEWS: Add 2.19 section.
975
31ad488d
DM
9762013-08-03 David S. Miller <davem@davemloft.net>
977
978 * po/ko.po: Update Korean translation from translation project.
979
db24e684
DM
9802013-08-01 David S. Miller <davem@davemloft.net>
981
982 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
983 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
984 Bilka.
985
f723285b
DM
9862013-07-30 David S. Miller <davem@davemloft.net>
987
988 * po/fr.po: Update French translation from translation project.
989
3cbc52db
DM
9902013-07-28 David S. Miller <davem@davemloft.net>
991
30bbc0cc
DM
992 * po/cs.po: Update Czech translation from translation project.
993
3cbc52db
DM
994 * po/sv.po: Update Swedish translation from translation project.
995
d492e6d0
DM
9962013-07-27 David S. Miller <davem@davemloft.net>
997
f1a7f492
DM
998 * po/eo.po: Update Esperanto translation from translation project.
999
90e62a4a
DM
1000 * po/vi.po: Update Vietnamese translation from translation project.
1001
d492e6d0
DM
1002 * po/de.po: Update German translation from translation project.
1003
d4baa62d
DM
10042013-07-26 David S. Miller <davem@davemloft.net>
1005
641aa7b4
DM
1006 * po/bg.po: Update Bulgarian translation from translation project.
1007
d4baa62d
DM
1008 * po/nl.po: Update Dutch translation from translation project.
1009 * po/pl.po: Update Polish translation from translation project.
1010 * po/ru.po: Update Russian translation from translation project.
1011
61a9dcb9
DM
10122013-07-24 David S. Miller <davem@davemloft.net>
1013
1014 * po/libc.pot: Update.
1015
7b1f8b58
AZ
10162013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1017
1018 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1019 variable page size.
1020 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1022 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1023
a8fc7a03
AK
10242013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1025
1026 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1027
e4608715
CD
10282013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1029 Andreas Schwab <schwab@suse.de>
1030 Roland McGrath <roland@hack.frob.com>
1031 Joseph Myers <joseph@codesourcery.com>
1032 Carlos O'Donell <carlos@redhat.com>
1033
1034 [BZ #15755]
1035 * config.h.in: Define HAVE_PT_CHOWN.
1036 * config.make.in (build-pt-chown): New variable.
1037 * configure.in (--enable-pt_chown): New configure option.
1038 * configure: Regenerate.
1039 * login/Makefile: Include Makeconfig. Build pt_chown only if
1040 build-pt-chown is enabled.
1041 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1042 pt_chown to fix pty ownership.
1043 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1044 CLOSE_ALL_FDS.
1045 * manual/install.texi (Configuring and compiling): Mention
1046 --enable-pt_chown. Add @findex for grantpt.
1047 * INSTALL: Regenerate.
1048
da2d62df
DM
10492013-07-20 David S. Miller <davem@davemloft.net>
1050
1051 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1052 difference between 32-bit and 64-bit.
1053
d7e06450
CD
10542013-07-15 Carlos O'Donell <carlos@redhat.com>
1055
1056 [BZ #15711]
1057 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1058 Avoid system header dependency with -ffreestanding.
1059 ($(objpfx)bits/syscall%d): Likewise.
1060
f959cfd7
DM
10612013-07-13 David S. Miller <davem@davemloft.net>
1062
1063 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1064 underflows from atanl/atan2l due to bug 15319.
1065 (casinh_test_data): Likewise.
1066
c61f8513
DM
10672013-07-07 David S. Miller <davem@davemloft.net>
1068
1069 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1070
72c90ed0
JA
10712013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1072
1073 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1075
52dfbe13
SP
10762013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
1078 * configure.in (--enable-lock-elision): Fix message text.
1079 * INSTALL: Regenerate.
1080 * configure: Regenerate.
1081
3f169543
AZ
10822013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083
1084 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1085
521c6785
AJ
10862013-07-03 Andreas Jaeger <aj@suse.de>
1087
1088 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1089 define.
1090 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1091 (ptrace_peeksiginfo_args): Add.
1092 (__ptrace_peeksiginfo_flags): Add.
1093 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1096
d2cc15cb
AM
10972013-07-03 Allan McRae <allan@archlinux.org>
1098
1099 * sysdeps/i386/fpu/libm-test-ulps: Update.
1100
3aaeeca7
DM
11012013-07-02 David S. Miller <davem@davemloft.net>
1102
1103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1104
5314ed1a
MT
11052013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1106
1107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1108
67338156
JM
11092013-07-02 Joseph Myers <joseph@codesourcery.com>
1110
1111 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1113
1717da59
AK
11142013-07-02 Andi Kleen <ak@linux.intel.com>
1115
1116 * config.h.in (ENABLE_LOCK_ELISION): Add.
1117 * configure.in (--enable-lock-elision): Add option.
1118 * manual/install.texi: Document --enable lock elision.
1119 * configure: Regenerate
1120 * INSTALL: Regenerate.
1121
1c81621c
L
11222013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1125 SSE4.2 strcasecmp for libc.a.
1126 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1127
77f01ab5
JM
11282013-07-02 Joseph Myers <joseph@codesourcery.com>
1129
1130 [BZ #13304]
1131 * soft-fp/op-common.h (_FP_FMA): New macro.
1132 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1133 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1134 (_FP_MUL_MEAT_1_imm): ... here.
1135 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1136 (_FP_MUL_MEAT_1_wide): ... here.
1137 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1138 (_FP_MUL_MEAT_1_hard): ... here.
1139 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1140 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1141 (_FP_MUL_MEAT_2_wide): ... here.
1142 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1143 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1144 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1145 (_FP_MUL_MEAT_2_gmp): ... here.
1146 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1147 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1148 (_FP_MUL_MEAT_4_wide): ... here.
1149 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1150 (_FP_MUL_MEAT_4_gmp): ... here.
1151 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1152 (_FP_WFRACBITS_DW_S): Likewise.
1153 (_FP_WFRACXBITS_DW_S): Likewise.
1154 (_FP_HIGHBIT_DW_S): Likewise.
1155 (FP_FMA_S): Likewise.
1156 (_FP_FRAC_HIGH_DW_S): Likewise.
1157 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1158 (_FP_WFRACBITS_DW_D): Likewise.
1159 (_FP_WFRACXBITS_DW_D): Likewise.
1160 (_FP_HIGHBIT_DW_D): Likewise.
1161 (FP_FMA_D): Likewise.
1162 (_FP_FRAC_HIGH_DW_D): Likewise.
1163 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1164 (_FP_WFRACBITS_DW_E): Likewise.
1165 (_FP_WFRACXBITS_DW_E): Likewise.
1166 (_FP_HIGHBIT_DW_E): Likewise.
1167 (FP_FMA_E): Likewise.
1168 (_FP_FRAC_HIGH_DW_E): Likewise.
1169 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1170 (_FP_WFRACBITS_DW_Q): Likewise.
1171 (_FP_WFRACXBITS_DW_Q): Likewise.
1172 (_FP_HIGHBIT_DW_Q): Likewise.
1173 (FP_FMA_Q): Likewise.
1174 (_FP_FRAC_HIGH_DW_Q): Likewise.
1175 * soft-fp/fmasf4.c: New file.
1176 * soft-fp/fmadf4.c: Likewise.
1177 * soft-fp/fmatf4.c: Likewise.
1178
6308fd9a
LD
11792013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1180
1181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1182 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1183 Silvermont.
1184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1185 macro.
1186 (index_Slow_SSE4_2): Likewise.
1187 (index_Prefer_PMINUB_for_stringop): Likewise.
1188 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1189 bit_Slow_SSE4_2 is set.
1190 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1191 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1192
89cd9569
RA
11932013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1194
1195 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1196 rtld_global._dl_hwcap2.
1197 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1198 POWER8.
1199 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1200 POWER8 feature descriptions defined in _dl_hwcap2.
1201 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1202 string handling for POWER8 feature bits.
1203 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1204 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1205 _dl_powerpc_cap_flags.
1206 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1207 * sysdeps/powerpc/rtld-global-offsets.sym
1208 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1209 _dl_hwcap2 in the rtld_global_ro structure.
1210
1ae8bfe0
RA
12112013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1212
1213 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1214 hardware capabilities in support of AT_HWCAP2.
1215 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1216 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1217 GLRO(dl_hwcap2).
1218 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1219 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1220 explicitly the unknown a_type display mechanism is used.
1221 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1222 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1223 struct member.
1224 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1225 to macro prototype for AT_HWCAP2 support.
1226 * sysdeps/i386/dl-procinfo.h: Likewise.
1227 * sysdeps/s390/dl-procinfo.h: Likewise.
1228 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1229 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1230 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1231 return -1 for unknown a_type display fallback.
1232 * sysdeps/sparc/dl-procinfo.h: Likewise.
1233 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1234 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1235
8fbec010
JM
12362013-06-28 Joseph Myers <joseph@codesourcery.com>
1237
1238 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1239 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1240
0432680e
PY
12412013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1242
1243 [BZ #12492]
1244 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1245 mprotect making __stack_prot writable.
1246
ce61a2ad
NF
12472013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1248 Joseph Myers <joseph@codesourcery.com>
1249
1250 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1251 as being properly aligned.
1252
f91f1c0f
MR
12532013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1254
3d0f5d0c
MR
1255 * dlfcn/modstatic5.c: New file.
1256 * dlfcn/tststatic5.c: New file.
1257 * dlfcn/Makefile (tests): Add tststatic5.
1258 (tests-static): Likewise.
1259 (modules-names): Add modstatic5.
1260 (tststatic5-ENV): New variable.
1261 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1262
f91f1c0f
MR
1263 [BZ #15022]
1264 * elf/dl-support.c (_dl_main_map): New variable.
1265 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1266 (_dl_nns, _dl_load_adds): Set to 1.
1267 (_dl_initial_searchlist): Refer to _dl_main_map.
1268 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1269 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1270 call to _dl_get_origin.
1271 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1272 around call_map.
1273 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1274 * dlfcn/modstatic3.c: New file.
1275 * dlfcn/tststatic3.c: New file.
1276 * dlfcn/tststatic4.c: New file.
1277 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1278 (tests-static): Likewise.
1279 (modules-names): Add modstatic3.
1280 (tststatic3-ENV, tststatic4-ENV): New variables.
1281 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1282 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1283
cbe7d24b
JM
12842013-06-26 Joseph Myers <joseph@codesourcery.com>
1285
1286 * configure.in (CC): Require GCC version 4.4 or later.
1287 * configure: Regenerated.
1288 * manual/install.texi (Tools for Compilation): Update GCC version
1289 requirement.
1290 * INSTALL: Regenerated.
1291
11b8a0e1
LD
12922013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1293
1294 [BZ #15674]
bb5bb87c
L
1295 * string/test-memcmp.c (check2): New.
1296 (main): Call check2.
1297
11b8a0e1
LD
1298 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1299
b0037103
MR
13002013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1301
1302 [BZ #15022]
1303 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1304 over to...
1305 (dl_open_worker) [!SHARED]: ... here.
1306
c18c701d
RA
13072013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1308
1309 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1310
1d17fa5f
RH
13112013-06-25 Richard Henderson <rth@redhat.com>
1312
1313 * locale/programs/locarchive.c: Include <libc-internal.h>
1314
8fcb833a
JM
13152013-06-25 Joseph Myers <joseph@codesourcery.com>
1316
1317 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1318 trailing whitespace removed.
1319
17db6e8d
MF
13202013-06-24 Mike Frysinger <vapier@gentoo.org>
1321
1322 [BZ #10283]
17db6e8d
MF
1323 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1324 * locale/programs/locarchive.c: Include libc-mmap.h.
1325 (prepare_address_space): Take two new outputs (the mmap base and len).
1326 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1327 values.
1328 (create_archive): Declare new mmap base and len values for
1329 prepare_address_space, and store the result in ah.
1330 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1331 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1332 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1333 Declare new mmap base and len values for
1334 prepare_address_space, and store the result in new_ah.
1335 (open_archive): Declare new mmap base and len values for
1336 prepare_address_space, and store the result in ah.
1337 (close_archive): If ah->mmap_base is not NULL, use that and
1338 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1339 * sysdeps/generic/libc-mmap.h: New file.
1340
d605071e
MF
13412013-06-24 Mike Frysinger <vapier@gentoo.org>
1342
1343 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1344 (ALIGN_UP): Likewise.
1345 (PTR_ALIGN_DOWN): Likewise.
1346 (PTR_ALIGN_UP): Likewise.
1347
2f063a6e
RA
13482013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1349
1350 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1351 entry mapped to PPC_PLATFORM_POWER8.
1352 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1353 POWER8.
1354 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1355 (_dl_string_platform): Add case for exporting platform position for
1356 POWER8.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1358 search path to sysdeps/powerpc/powerpc32/power8 directory.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1360 search path to sysdeps/powerpc/powerpc64/power8 directory.
1361 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1362 power7 directories.
1363 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1364 power7 directories.
1365
a31ee4b3
SP
13662013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1367
a74ca98f
SP
1368 * INSTALL: Regenerate.
1369
a31ee4b3
SP
1370 * nscd/connections.c (nscd_init): Fix comment.
1371
695c378f
JM
13722013-06-22 Joseph Myers <joseph@codesourcery.com>
1373
d8412221
JM
1374 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1375
695c378f
JM
1376 [BZ #15667]
1377 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1378 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1379
d1d54715
MR
13802013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1381
1382 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1383 DL_DST_REQ_STATIC.
1384 (DL_DST_REQ_STATIC): Remove macro.
1385
8fdda7af
JM
13862013-06-21 Joseph Myers <joseph@codesourcery.com>
1387
1388 [BZ #7006]
1389 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1390 with a shift of 0 bits.
1391
f3bc5e5a
MR
13922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1393
1394 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1395 $(tststatic-ENV).
1396
be09e8c9
KK
13972013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1398
1399 [BZ #15655]
1400 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1401
85c2e611
AZ
14022013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1403
1404 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1405 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1406 accepts -fno-tree-loop-distribute-patterns.
1407 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1408 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1409 recursive call.
1410 * string/memset.c (memset): Likewise.
1411 * string/test-memmove.c (simple_memmove): Disable loop transformation
1412 to library calls.
1413 * string/test-memset.c (simple_memset): Likewise.
1414 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1415 * benchtests/bench-memset.c (simple_memset): Likewise.
1416 * configure: Regenerated.
1417
c91e0825
JM
14182013-06-20 Joseph Myers <joseph@codesourcery.com>
1419
b8c792af
JM
1420 * math/test-misc.c (main): Ignore fesetround failure when failures
1421 of subsequent rounding tests would be ignored.
1422
c91e0825
JM
1423 [BZ #15654]
1424 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1425 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1426 * math/fegetenv.c (__fegetenv): Return 0.
1427 * math/fegetexcept.c (fegetexcept): Return 0.
1428 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1429 FE_TONEAREST.
1430 * math/feholdexcpt.c (feholdexcept): Return 0.
1431 * math/fesetenv.c (__fesetenv): Return 0.
1432 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1433 argument FE_TONEAREST.
1434 * math/feupdateenv.c (__feupdateenv): Return 0.
1435 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1436
bfcacbde
RM
14372013-06-18 Roland McGrath <roland@hack.frob.com>
1438
1439 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1440 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1441 ($(objpfx)rtld-%.os rules): Use them.
1442
e55a9b25
AZ
14432013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1444
1445 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1446 fields.
1447
346d65b3
RM
14482013-06-17 Roland McGrath <roland@hack.frob.com>
1449
12086fb4
RM
1450 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1451 length of target pattern, then descending length of dependency pattern.
1452 * configure.in (AWK): Require gawk 3.1.2 or newer.
1453 * manual/install.texi (Tools for Compilation): Say that we do.
1454 * configure: Regenerated.
1455
346d65b3
RM
1456 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1457 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1458 * scripts/sysd-rules.awk: ... this new script.
1459 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1460 than a glob-style pattern.
1461
1a846317
JM
14622013-06-17 Joseph Myers <joseph@codesourcery.com>
1463
1464 * math/test-misc.c (main): Do not treat incorrectly rounded
1465 conversions as failure unless ROUNDING_TESTS passes.
1466
8fc75e6f
JM
14672013-06-15 Joseph Myers <joseph@codesourcery.com>
1468
3711a167
JM
1469 [BZ #15631]
1470 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1471 restore exception state around main square root computation, then
1472 check for inexactness explicitly.
1473
8fc75e6f
JM
1474 * math/libm-test.inc (fma_test_data): Add another test.
1475
61dd6208
SP
14762013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1477
adf23d2c
SP
1478 * manual/threads.texi (Non-POSIX Extensions): New document
1479 node. Document pthread_getattr_default_np and
1480 pthread_setattr_default_np.
1481
61dd6208
SP
1482 * Versions.def (libpthread): Add GLIBC_2.18.
1483 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1485 Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1487 Likewise.
1488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1489 Likewise.
1490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1491 Likewise.
1492 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1493 Likewise.
1494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1495 Likewise.
1496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1497 Likewise.
1498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1499 Likewise.
1500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1501 Likewise.
1502
d086fc7b
LD
15032013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1504
1505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1506 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1507
747ef469
SP
15082013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1509 H.J. Lu <hjl.tools@gmail.com>
1510
1511 [BZ #15627]
1512 * sysdeps/x86_64/rtld-memset.c: Remove file.
1513 * sysdeps/x86_64/rtld-memset.S: New file.
1514
1b2feed2
JM
15152013-06-14 Joseph Myers <joseph@codesourcery.com>
1516
1517 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1518 (test_in_one_mode): Take arguments for whether the rounding mode
1519 is supported for each floating-point type.
1520 (do_test): Pass new arguments to test_in_one_mode using
1521 ROUNDING_TESTS.
1522
a58ad3f8
RM
15232013-06-13 Roland McGrath <roland@hack.frob.com>
1524
1525 * posix/tst-waitid.c (do_test): Distinguish different instances of
1526 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1527 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1528 before entering the kernel for waitpid.
1529
c204ab28
SP
15302013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1531
1532 * NEWS: Fix note on clock function precision. Text by Roland
1533 McGrath.
1534
f4a29fba
RM
15352013-06-13 Roland McGrath <roland@hack.frob.com>
1536
1537 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1538 it into place only when and if the sanity check passes.
1539
1f24b9ad
JM
15402013-06-13 Joseph Myers <joseph@codesourcery.com>
1541
1542 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1543 output for whether conversion result is exact. Take argument
1544 indicating whether type is IBM long double.
1545 (round_for_all): Change need_exact field to ibm_ld.
1546 * stdlib/tst-strtod-round.c (struct exactness): New type.
1547 (struct test): Change bool ld_ok field to struct exactness exact.
1548 (TEST): Update all definitions for change to field.
1549 (tests): Regenerate array contents.
1550 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1551 field value. Check for IBM long double here.
1552 (do_test): Update calls to test_in_one_mode.
1553
58206c68
SP
15542013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1555
1556 [BZ #12515]
1557 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1558 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1559
2d6f4c5b 15602013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
1561
1562 [BZ #15605]
1563 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1564 generated by the compiler on loop optimizations.
1565 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1566 general definitions.
1567
94f2c076
JM
15682013-06-12 Joseph Myers <joseph@codesourcery.com>
1569
1570 * math/bug-nextafter.c: Include <math-tests.h>.
1571 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1572 the relevant type.
1573 * math/bug-nexttoward.c: Include <math-tests.h>.
1574 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1575 the relevant type.
1576 * math/test-misc.c: Include <math-tests.h>.
1577 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1578 the relevant type.
1579
e0e50a0a
AJ
15802013-06-12 Andreas Jaeger <aj@suse.de>
1581
1582 * po/ia.po: Update Interlingua translation from translation
1583 project.
1584
25061094
SP
15852013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1586
1587 * include/fenv.h: Include stdbool.h.
1588 (struct rm_ctx): New structure.
1589 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1590 Define macro.
1591 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1592 (SET_RESTORE_ROUNDF): Likewise.
1593 (SET_RESTORE_ROUNDL): Likewise.
1594 (SET_RESTORE_ROUND_NOEX): Likewise.
1595 (SET_RESTORE_ROUND_NOEXF): Likewise.
1596 (SET_RESTORE_ROUND_NOEXL): Likewise.
1597 (SET_RESTORE_ROUND_53BIT): Likewise.
1598 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1599 (libc_feresetround_noexf_ctx): Likewise.
1600 (libc_feresetround_noexl_ctx): Likewise.
1601 (libc_feholdsetround_53bit_ctx): Likewise.
1602 (libc_feresetround_53bit_ctx): Likewise.
1603 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1604 (libc_feholdexcept_setround_sse_ctx): New function.
1605 (libc_fesetenv_sse_ctx): Likewise.
1606 (libc_feupdateenv_sse_ctx): Likewise.
1607 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1608 (libc_feholdexcept_setround_387_ctx): Likewise.
1609 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1610 (libc_feholdsetround_387_prec_ctx): Likewise.
1611 (libc_feholdsetround_387_ctx): Likewise.
1612 (libc_feholdsetround_387_53bit_ctx): Likewise.
1613 (libc_feholdsetround_sse_ctx): Likewise.
1614 (libc_feresetround_sse_ctx): Likewise.
1615 (libc_feresetround_387_ctx): Likewise.
1616 (libc_feupdateenv_387_ctx): Likewise.
1617 (libc_feholdexcept_setroundf_ctx): Define macro.
1618 (libc_fesetenvf_ctx): Likewise.
1619 (libc_feupdateenvf_ctx): Likewise.
1620 (libc_feholdsetroundf_ctx): Likewise.
1621 (libc_feresetroundf_ctx): Likewise.
1622 (libc_feholdexcept_setround_ctx): Likewise.
1623 (libc_fesetenv_ctx): Likewise.
1624 (libc_feupdateenv_ctx): Likewise.
1625 (libc_feholdsetround_ctx): Likewise.
1626 (libc_feresetround_ctx): Likewise.
1627 (libc_feholdexcept_setroundl_ctx): Likewise.
1628 (libc_feupdateenvl_ctx): Likewise.
1629 (libc_feholdsetroundl_ctx): Likewise.
1630 (libc_feresetroundl_ctx): Likewise.
1631 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1632 (libc_feresetround_53bit_ctx): Likewise.
1633
59b30555
SP
16342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1635
1636 * locale/iso-639.def: Convert to UTF-8.
1637
f1d73d30
JM
16382013-06-11 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1641 (EXCEPTION_TESTS_double): Likewise.
1642 (EXCEPTION_TESTS_long_double): Likewise.
1643 (EXCEPTION_TESTS): Likewise.
1644 * math/libm-test.inc (test_exceptions): Only test exceptions if
1645 EXCEPTION_TESTS (FLOAT).
1646
94aca5e7
SP
16472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1648
1649 * benchtests/Makefile (string-bench): Add strcpy_chk and
1650 stpcpy_chk.
1651 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1652 * benchtests/bench-stpcpy_chk.c: New file.
1653 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1654 * benchtests/bench-strcpy_chk.c: New file.
1655 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1656 code.
1657 (do_test): Likewise.
1658
fac0c5f2
RA
16592013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1660
1661 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1662 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1663 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1664 with tabs where appropriate.
1665 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1666 dl-procinfo.h.
1667 [PPC_PLATFORM_PPC440]: Likewise.
1668 [PPC_PLATFORM_PPC464]: Likewise.
1669 [PPC_PLATFORM_PPC476]: Likewise.
1670 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1671 ppc464, and ppc476 platform strings merging from ports/
1672 dl-procinfo.h.
1673
f22bc486
AS
16742013-06-11 Andreas Schwab <schwab@suse.de>
1675
1676 [BZ #14991]
1677 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1678 (from_ucs4_idx): Regenerate.
1679 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1680 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1681 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1682 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1683 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1684 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1685 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1686 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1687 from FROM_LOOP and TO_LOOP specific macros.
1688 (BODY): Handle combining characters.
1689 * iconvdata/BIG5HKSCS.irreversible: Update.
1690 * iconvdata/BIG5HKSCS.precomposed: New file.
1691 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1692 characters.
1693 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1694
c1f75dc3
SP
16952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1696
4eacded2
SP
1697 * include/sys/time.h: Fix indentation and add copyright header.
1698
fec799f8
SP
1699 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1700 (do_test): Likewise.
1701 * string/test-memchr.c (do_one_test): Likewise.
1702 (do_test): Likewise.
1703 * string/test-memcmp.c (do_one_test): Likewise.
1704 (do_test): Likewise.
1705 * string/test-memcpy.c (do_one_test): Likewise.
1706 (do_test): Likewise.
1707 * string/test-memmem.c (do_one_test): Likewise.
1708 (do_test): Likewise.
1709 (do_random_tests): Likewise.
1710 * string/test-memmove.c (do_one_test): Likewise.
1711 (do_test): Likewise.
1712 * string/test-memset.c (do_one_test): Likewise.
1713 (do_test): Likewise.
1714 * string/test-rawmemchr.c (do_one_test): Likewise.
1715 (do_test): Likewise.
1716 * string/test-strcasecmp.c (do_one_test): Likewise.
1717 (do_test): Likewise.
1718 * string/test-strcasestr.c (do_one_test): Likewise.
1719 (do_test): Likewise.
1720 * string/test-strcat.c (do_one_test): Likewise.
1721 (do_test): Likewise.
1722 * string/test-strchr.c (do_one_test): Likewise.
1723 (do_test): Likewise.
1724 * string/test-strcmp.c (do_one_test): Likewise.
1725 (do_test): Likewise.
1726 * string/test-strcpy.c (do_one_test): Likewise.
1727 (do_test): Likewise.
1728 * string/test-string.h: Likewise.
1729 (test_init): Likewise.
1730 * string/test-strlen.c (do_one_test): Likewise.
1731 (do_test): Likewise.
1732 * string/test-strncasecmp.c (do_one_test): Likewise.
1733 (do_test): Likewise.
1734 * string/test-strncat.c (do_one_test): Likewise.
1735 (do_test): Likewise.
1736 * string/test-strncmp.c (do_one_test): Likewise.
1737 (do_test_limit): Likewise.
1738 (do_test): Likewise.
1739 * string/test-strncpy.c (do_one_test): Likewise.
1740 (do_test): Likewise.
1741 * string/test-strnlen.c (do_one_test): Likewise.
1742 (do_test): Likewise.
1743 * string/test-strpbrk.c (do_one_test): Likewise.
1744 (do_test): Likewise.
1745 * string/test-strrchr.c (do_one_test): Likewise.
1746 (do_test): Likewise.
1747 * string/test-strspn.c (do_one_test): Likewise.
1748 (do_test): Likewise.
1749 * string/test-strstr.c (do_one_test): Likewise.
1750 (do_test): Likewise.
1751
97020474
SP
1752 * benchtests/Makefile (string-bench): Add string benchmarks.
1753 * benchtests/bench-bcopy-ifunc.c: New file.
1754 * benchtests/bench-bcopy.c: New file.
1755 * benchtests/bench-bzero-ifunc.c: New file.
1756 * benchtests/bench-bzero.c: New file.
1757 * benchtests/bench-memccpy-ifunc.c: New file.
1758 * benchtests/bench-memccpy.c: New file.
1759 * benchtests/bench-memchr-ifunc.c: New file.
1760 * benchtests/bench-memchr.c: New file.
1761 * benchtests/bench-memcmp-ifunc.c: New file.
1762 * benchtests/bench-memcmp.c: New file.
1763 * benchtests/bench-memmem-ifunc.c: New file.
1764 * benchtests/bench-memmem.c: New file.
1765 * benchtests/bench-memmove-ifunc.c: New file.
1766 * benchtests/bench-memmove.c: New file.
1767 * benchtests/bench-mempcpy-ifunc.c: New file.
1768 * benchtests/bench-mempcpy.c: New file.
1769 * benchtests/bench-memset-ifunc.c: New file.
1770 * benchtests/bench-memset.c: New file.
1771 * benchtests/bench-rawmemchr-ifunc.c: New file.
1772 * benchtests/bench-rawmemchr.c: New file.
1773 * benchtests/bench-stpcpy-ifunc.c: New file.
1774 * benchtests/bench-stpcpy.c: New file.
1775 * benchtests/bench-stpncpy-ifunc.c: New file.
1776 * benchtests/bench-stpncpy.c: New file.
1777 * benchtests/bench-strcasecmp-ifunc.c: New file.
1778 * benchtests/bench-strcasecmp.c: New file.
1779 * benchtests/bench-strcasestr-ifunc.c: New file.
1780 * benchtests/bench-strcasestr.c: New file.
1781 * benchtests/bench-strcat-ifunc.c: New file.
1782 * benchtests/bench-strcat.c: New file.
1783 * benchtests/bench-strchr-ifunc.c: New file.
1784 * benchtests/bench-strchr.c: New file.
1785 * benchtests/bench-strchrnul-ifunc.c: New file.
1786 * benchtests/bench-strchrnul.c: New file.
1787 * benchtests/bench-strcmp-ifunc.c: New file.
1788 * benchtests/bench-strcmp.c: New file.
1789 * benchtests/bench-strcpy-ifunc.c: New file.
1790 * benchtests/bench-strcpy.c: New file.
1791 * benchtests/bench-strcspn-ifunc.c: New file.
1792 * benchtests/bench-strcspn.c: New file.
1793 * benchtests/bench-strlen-ifunc.c: New file.
1794 * benchtests/bench-strlen.c: New file.
1795 * benchtests/bench-strncasecmp-ifunc.c: New file.
1796 * benchtests/bench-strncasecmp.c: New file.
1797 * benchtests/bench-strncat-ifunc.c: New file.
1798 * benchtests/bench-strncat.c: New file.
1799 * benchtests/bench-strncmp-ifunc.c: New file.
1800 * benchtests/bench-strncmp.c: New file.
1801 * benchtests/bench-strncpy-ifunc.c: New file.
1802 * benchtests/bench-strncpy.c: New file.
1803 * benchtests/bench-strnlen-ifunc.c: New file.
1804 * benchtests/bench-strnlen.c: New file.
1805 * benchtests/bench-strpbrk-ifunc.c: New file.
1806 * benchtests/bench-strpbrk.c: New file.
1807 * benchtests/bench-strrchr-ifunc.c: New file.
1808 * benchtests/bench-strrchr.c: New file.
1809 * benchtests/bench-strspn-ifunc.c: New file.
1810 * benchtests/bench-strspn.c: New file.
1811 * benchtests/bench-strstr-ifunc.c: New file.
1812 * benchtests/bench-strstr.c: New file.
1813
c1f75dc3
SP
1814 * benchtests/Makefile: Disable parallel execution of targets.
1815 (string-bench): Add memcpy.
1816 (benchset): New variable to store a list of benchmark sets.
1817 (bench-func): Renamed from bench.
1818 (bench-set): New target.
1819 (bench): Depend on bench-func and bench-set.
1820 * benchtests/README: Add section on benchmark sets.
1821 * benchtests/bench-memcpy-ifunc.c: New file.
1822 * benchtests/bench-memcpy.c: New file.
1823 * benchtests/bench-string.h: New file.
1824
50fd745b
AS
18252013-06-11 Andreas Schwab <schwab@suse.de>
1826
1827 [BZ #15577]
1828 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1829 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1830 values in the triple.
1831 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1832 terminator in the group key.
1833
3ee7e9fe
AJ
18342013-06-11 Andreas Jaeger <aj@suse.de>
1835
1836 * po/zh_TW.po: Update Chinese (traditional) translation from
1837 translation project.
1838
89fb6835
SP
18392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1840
1841 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1842 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1843 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1844 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1845 (clock_getcpuclockid): Likewise.
1846 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1847 Add weak_alias and libc_hidden_def.
1848 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1849 * rt/clock_gettime.c (clock_gettime): Rename to
1850 __clock_gettime. Add weak_alias and libc_hidden_def.
1851 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1852 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1853 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1854 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1855 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1856 Likewise.
1857 * rt/clock_settime.c (clock_settime): Rename to
1858 __clock_settime. Add weak_alias and libc_hidden_def.
1859 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1860
0efa6f8b
JM
18612013-06-10 Joseph Myers <joseph@codesourcery.com>
1862
b8c61b4b
JM
1863 * mach/err_boot.sub: Remove trailing whitespace.
1864 * mach/err_ipc.sub: Likewise.
1865 * mach/err_mach.sub: Likewise.
1866
0efa6f8b
JM
1867 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1868 (ROUNDING_TESTS_double): Likewise.
1869 (ROUNDING_TESTS_long_double): Likewise.
1870 (ROUNDING_TESTS): Likewise.
1871 * math/libm-test.inc: Include <math-tests.h>.
1872 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1873 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1874 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1875 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1876
50b818bf
SP
18772013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1878
1879 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1880 of assigning.
1881
60d2f8f3
JM
18822013-06-08 Joseph Myers <joseph@codesourcery.com>
1883
4902d2c3
JM
1884 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1885 otherwise empty TRANS lines.
1886 * sysdeps/gnu/errlist.c: Regenerated.
1887
60d2f8f3
JM
1888 * catgets/gencat.c (error_print): Use (void) in function
1889 definition.
1890 * crypt/crypt_util.c (__init_des): Likewise.
1891 * crypt/speeds.c (Stop): Likewise.
1892 (main): Likewise.
1893 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1894 * inet/ruserpass.c (token): Likewise.
1895 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1896 * intl/localealias.c (extend_alias_table): Likewise.
1897 * intl/plural-exp.c (init_germanic_plural): Likewise.
1898 * libio/fcloseall.c (__fcloseall): Likewise.
1899 * libio/genops.c (_IO_flush_all): Likewise.
1900 (_IO_flush_all_linebuffered): Likewise.
1901 (_IO_cleanup): Likewise.
1902 (_IO_iter_begin): Likewise.
1903 (_IO_iter_end): Likewise.
1904 (_IO_list_lock): Likewise.
1905 (_IO_list_unlock): Likewise.
1906 (_IO_list_resetlock): Likewise.
1907 * libio/getchar.c (getchar): Likewise.
1908 * libio/getchar_u.c (getchar_unlocked): Likewise.
1909 * libio/getwchar.c (getwchar): Likewise.
1910 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1911 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1912 * login/getpt.c (__getpt): Likewise.
1913 * login/tst-utmp.c (main): Likewise.
1914 * malloc/hooks.c (__malloc_check_init): Likewise.
1915 * malloc/malloc.c (__malloc_stats): Likewise.
1916 * malloc/mtrace.c (tr_break): Likewise.
1917 (mtrace): Likewise.
1918 (muntrace): Likewise.
1919 * misc/fstab.c (endfsent): Likewise.
1920 * misc/getclktck.c (__getclktck): Likewise.
1921 * misc/getdtsz.c (__getdtablesize): Likewise.
1922 * misc/gethostid.c (gethostid): Likewise.
1923 * misc/getpagesize.c (__getpagesize): Likewise.
1924 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1925 (__get_nprocs): Likewise.
1926 (__get_phys_pages): Likewise.
1927 (__get_avphys_pages): Likewise.
1928 * misc/getttyent.c (getttyent): Likewise.
1929 (setttyent): Likewise.
1930 (endttyent): Likewise.
1931 * misc/getusershell.c (getusershell): Likewise.
1932 (endusershell): Likewise.
1933 (setusershell): Likewise.
1934 (initshells): Likewise.
1935 * misc/hsearch.c (__hdestroy): Likewise.
1936 * misc/sync.c (sync): Likewise.
1937 * misc/syslog.c (closelog_internal): Likewise.
1938 (closelog): Likewise.
1939 * misc/ttyslot.c (ttyslot): Likewise.
1940 * misc/vhangup.c (vhangup): Likewise.
1941 * posix/fork.c (__fork): Likewise.
1942 * posix/getegid.c (__getegid): Likewise.
1943 * posix/geteuid.c (__geteuid): Likewise.
1944 * posix/getgid.c (__getgid): Likewise.
1945 * posix/getpid.c (__getpid): Likewise.
1946 * posix/getppid.c (__getppid): Likewise.
1947 * posix/getuid.c (__getuid): Likewise.
1948 * posix/pause.c (pause): Likewise.
1949 * posix/setpgrp.c (setpgrp): Likewise.
1950 * posix/setsid.c (__setsid): Likewise.
1951 * posix/test-vfork.c (noop): Likewise.
1952 * resolv/gethnamaddr.c (_endhtent): Likewise.
1953 (_gethtent): Likewise.
1954 (ht_endhostent): Likewise.
1955 (gethostent): Likewise.
1956 (dns_service): Likewise.
1957 * stdlib/drand48.c (drand48): Likewise.
1958 * stdlib/lrand48.c (lrand48): Likewise.
1959 * stdlib/mrand48.c (mrand48): Likewise.
1960 * stdlib/rand.c (rand): Likewise.
1961 * stdlib/random.c (__random): Likewise.
1962 * stdlib/setenv.c (clearenv): Likewise.
1963 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1964 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1965 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1966 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1967 (__get_nprocs): Likewise.
1968 (__get_phys_pages): Likewise.
1969 (__get_avphys_pages): Likewise.
1970 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1971 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1972 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1973 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1974 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1975 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1976 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1977 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1978 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1979 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1980 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1981 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1982 * sysdeps/posix/clock.c (clock): Likewise.
1983 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1984 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1985 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1986 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1987 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1989 (__get_nprocs_conf): Likewise.
1990 (__get_phys_pages): Likewise.
1991 (__get_avphys_pages): Likewise.
1992 * time/clock.c (clock): Likewise.
1993 * time/tzset.c (__tzname_max): Likewise.
1994
2e09a79a
JM
19952013-06-07 Joseph Myers <joseph@codesourcery.com>
1996
1997 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1998 (__bswap_32): Do not use "register".
1999 * crypt/crypt.c (_ufc_doit_r): Likewise.
2000 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2001 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2002 * gmon/gmon.c (__monstartup): Likewise.
2003 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2004 * hurd/hurdmalloc.c (more_memory): Likewise.
2005 (malloc): Likewise.
2006 (free): Likewise.
2007 (realloc): Likewise.
2008 (malloc_fork_prepare): Likewise.
2009 (malloc_fork_parent): Likewise.
2010 (malloc_fork_child): Likewise.
2011 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2012 (_svcauth_des): Likewise.
2013 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2014 * inet/inet_net.c (inet_network): Likewise.
2015 * inet/inet_netof.c (inet_netof): Likewise.
2016 * inet/rcmd.c (__validuser2_sa): Likewise.
2017 * io/fts.c (fts_open): Likewise.
2018 (fts_load): Likewise.
2019 (fts_close): Likewise.
2020 (fts_read): Likewise.
2021 (fts_children): Likewise.
2022 (fts_build): Likewise.
2023 (fts_stat): Likewise.
2024 (fts_sort): Likewise.
2025 (fts_alloc): Likewise.
2026 (fts_lfree): Likewise.
2027 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2028 (_IO_file_xsgetn): Likewise.
2029 (_IO_file_xsgetn_mmap): Likewise.
2030 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2031 (_IO_cookie_write): Likewise.
2032 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2033 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2034 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2035 * malloc/obstack.c (_obstack_begin): Likewise.
2036 (_obstack_begin_1): Likewise.
2037 (_obstack_newchunk): Likewise.
2038 (_obstack_allocated_p): Likewise.
2039 (obstack_free): Likewise.
2040 (_obstack_memory_used): Likewise.
2041 * misc/getttyent.c (getttynam): Likewise.
2042 (getttyent): Likewise.
2043 (skip): Likewise.
2044 (value): Likewise.
2045 * misc/getusershell.c (initshells): Likewise.
2046 * misc/syslog.c (__vsyslog_chk): Likewise.
2047 * misc/ttyslot.c (ttyslot): Likewise.
2048 * nis/nis_hash.c (__nis_hash): Likewise.
2049 * posix/fnmatch_loop.c (FCT): Likewise.
2050 * posix/getconf.c (print_all): Likewise.
2051 (main): Likewise.
2052 * posix/getopt.c (exchange): Likewise.
2053 * posix/glob.c (globfree): Likewise.
2054 (prefix_array): Likewise.
2055 (__glob_pattern_type): Likewise.
2056 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2057 (NS_GET32): Likewise.
2058 (NS_PUT16): Likewise.
2059 (NS_PUT32): Likewise.
2060 * resolv/gethnamaddr.c (getanswer): Likewise.
2061 (gethostbyname2): Likewise.
2062 (gethostbyaddr): Likewise.
2063 (_gethtent): Likewise.
2064 (_gethtbyname2): Likewise.
2065 (_gethtbyaddr): Likewise.
2066 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2067 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2068 * resolv/res_init.c (__res_vinit): Likewise.
2069 (net_mask): Likewise.
2070 * resolv/res_mkquery.c (outchar): Likewise.
2071 (PRINT): Likewise.
2072 * stdio-common/printf_fp.c (outchar): Likewise.
2073 (PRINT): Likewise.
2074 * stdio-common/printf_fphex.c (outchar): Likewise.
2075 (PRINT): Likewise.
2076 * stdio-common/printf_size.c (outchar): Likewise.
2077 (PRINT): Likewise.
2078 * stdio-common/test_rdwr.c (main): Likewise.
2079 * stdio-common/tfformat.c (matches): Likewise.
2080 * stdio-common/vfprintf.c (outchar): Likewise.
2081 (printf_unknown): Likewise.
2082 (buffered_vfprintf): Likewise.
2083 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2084 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2085 (ReadFile): Likewise.
2086 * stdlib/qsort.c (SWAP): Likewise.
2087 (_quicksort): Likewise.
2088 * stdlib/setenv.c (__add_to_environ): Likewise.
2089 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2090 * stdlib/strtol_l.c (__strtol_l): Likewise.
2091 * stdlib/tst-strtod.c (main): Likewise.
2092 * stdlib/tst-strtol.c (main): Likewise.
2093 * stdlib/tst-strtoll.c (main): Likewise.
2094 * string/bits/string2.h (__strcmp_cc): Likewise.
2095 (__strcmp_cg): Likewise.
2096 (__strcspn_c1): Likewise.
2097 (__strcspn_c2): Likewise.
2098 (__strcspn_c3): Likewise.
2099 (__strspn_c1): Likewise.
2100 (__strspn_c2): Likewise.
2101 (__strspn_c3): Likewise.
2102 (__strsep_1c): Likewise.
2103 (__strsep_2c): Likewise.
2104 (__strsep_3c): Likewise.
2105 * string/memccpy.c (__memccpy): Likewise.
2106 * string/stpcpy.c (__stpcpy): Likewise.
2107 * string/strcmp.c (strcmp): Likewise.
2108 * string/strrchr.c (strrchr): Likewise.
2109 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2110 Likewise.
2111 * sysdeps/mach/hurd/getcwd.c
2112 (_hurd_canonicalize_directory_name_internal): Likewise.
2113 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2114 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2115 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2116 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2117 Likewise, in both definitions.
2118 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2119 definitions.
2120 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2121 64] (__bswap_64): Likewise.
2122 * time/test_time.c (main): Likewise.
2123 * time/tzfile.c (__tzfile_read): Likewise.
2124 (__tzfile_compute): Likewise.
2125 * time/tzset.c (__tzset_parse_tz): Likewise.
2126 (tzset_internal): Likewise.
2127 (compute_change): Likewise.
2128 * wcsmbs/wcscat.c (__wcscat): Likewise.
2129 * wcsmbs/wcschr.c (wcschr): Likewise.
2130 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2131 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2132 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2133 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2134 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2135 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2136 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2137 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2138 * wcsmbs/wmemset.c (wmemset): Likewise.
2139
9e54314b
JM
21402013-06-06 Joseph Myers <joseph@codesourcery.com>
2141
2142 * scripts/config.guess: Update to version 2013-05-16.
2143 * scripts/config.sub: Update to version 2013-04-24.
2144 * scripts/install-sh: Update to version 2011-11-20.07.
2145 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2146 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2147
350635a5
OB
21482013-06-06 Ondřej Bílka <neleai@seznam.cz>
2149
2150 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2151 * elf/sln.c: Likewise.
2152 * hurd/hurd/ioctl.h: Likewise.
2153 * hurd/hurdmalloc.c: Likewise.
2154 * hurd/xattr.c: Likewise.
2155 * include/shlib-compat.h: Likewise.
2156 * inet/ruserpass.c: Likewise.
2157 * libio/iofgets_u.c: Likewise.
2158 * libio/iofgetws_u.c: Likewise.
2159 * locale/programs/ld-identification.c: Likewise.
2160 * locale/programs/ld-time.c: Likewise.
2161 * mach/msg-destroy.c: Likewise.
2162 * nss/nss_files/files-netgrp.c: Likewise.
2163 * resolv/res_data.c: Likewise.
2164 * soft-fp/op-1.h: Likewise.
2165 * soft-fp/op-2.h: Likewise.
2166 * soft-fp/op-4.h: Likewise.
2167 * soft-fp/op-common.h: Likewise.
2168 * stdio-common/printf_fphex.c: Likewise.
2169 * stdlib/strtod_l.c: Likewise.
2170 * sunrpc/rpc/clnt.h: Likewise.
2171 * sysdeps/generic/framestate.c: Likewise.
2172 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2173 * sysdeps/i386/bsd-setjmp.S: Likewise.
2174 * sysdeps/i386/__longjmp.S: Likewise.
2175 * sysdeps/i386/setjmp.S: Likewise.
2176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2177 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2194 * sysdeps/ieee754/support.c: Likewise.
2195 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2196 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2197 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2198 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2199 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2200 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2201 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2202 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2203 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2204 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2205 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2206 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2207 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2208 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2209 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2210 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2211 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2213
44a988af
OB
22142013-06-05 Ondřej Bílka <neleai@seznam.cz>
2215
25506f09 2216 * posix/transbug.c: Remove executable mode.
44a988af 2217
9c84384c
JM
22182013-06-05 Joseph Myers <joseph@codesourcery.com>
2219
2220 * crypt/speeds.c: Remove trailing whitespace.
2221 * dlfcn/default.c: Likewise.
2222 * elf/ifuncdep2.c: Likewise.
2223 * elf/ifuncmain1.c: Likewise.
2224 * elf/ifuncmain1vis.c: Likewise.
2225 * elf/testobj.h: Likewise.
2226 * elf/tst-stackguard1.c: Likewise.
2227 * gmon/sys/gmon.h: Likewise.
2228 * hurd/hurdmsg.c: Likewise.
2229 * hurd/new-fd.c: Likewise.
2230 * hurd/ports-get.c: Likewise.
2231 * iconvdata/ibm1008_420.c: Likewise.
2232 * inet/tst-getni1.c: Likewise.
2233 * inet/tst-getni2.c: Likewise.
2234 * libio/ioungetc.c: Likewise.
2235 * libio/wfiledoalloc.c: Likewise.
2236 * manual/libm-err-tab.pl: Likewise.
2237 * math/w_dremf.c: Likewise.
2238 * misc/ftruncate.c: Likewise.
2239 * posix/bug-glob2.c: Likewise.
2240 * posix/tst-pcre.c: Likewise.
2241 * posix/wait4.c: Likewise.
2242 * resolv/README: Likewise.
2243 * resolv/res_debug.h: Likewise.
2244 * resolv/tst-inet_ntop.c: Likewise.
2245 * setjmp/bug269-setjmp.c: Likewise.
2246 * soft-fp/extended.h: Likewise.
2247 * soft-fp/op-1.h: Likewise.
2248 * soft-fp/op-2.h: Likewise.
2249 * soft-fp/op-4.h: Likewise.
2250 * soft-fp/op-8.h: Likewise.
2251 * soft-fp/testit.c: Likewise.
2252 * stdio-common/bug16.c: Likewise.
2253 * stdlib/random.c: Likewise.
2254 * sunrpc/rpcsvc/rquota.x: Likewise.
2255 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2256 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2257 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2258 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2259 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2260 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2261 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2262 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2263 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2264 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2265 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2284 * sysdeps/ieee754/s_lib_version.c: Likewise.
2285 * sysdeps/mach/hurd/check_fds.c: Likewise.
2286 * sysdeps/mach/hurd/getsockname.c: Likewise.
2287 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2288 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2289 * sysdeps/powerpc/bits/link.h: Likewise.
2290 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2291 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2292 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2293 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2294 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2295 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2296 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2297 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2298 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2299 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2300 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2301 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2302 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2303 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2304 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2305 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2306 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2307 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2308 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2309 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2310 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2311 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2313 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2314 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2315 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2316 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2317 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2318 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2319 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2320 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2321 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2322 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2323 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2324 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2325 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2326 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2327 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2328 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2329 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2330 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2331 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2332 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2333 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2335 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2336 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2337 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2338 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2339 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2341 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2342 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2343 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2344 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2345 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2346 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2347 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2348 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2349 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2350 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2351 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2352 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2353 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2354 * sysdeps/powerpc/sysdep.h: Likewise.
2355 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2356 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2357 * sysdeps/sh/dl-trampoline.S: Likewise.
2358 * sysdeps/sh/memset.S: Likewise.
2359 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2360 * sysdeps/sh/strlen.S: Likewise.
2361 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2362 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2363 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2364 * sysdeps/sparc/sparc32/rem.S: Likewise.
2365 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2366 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2367 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2368 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2369 * sysdeps/sparc/sparc32/urem.S: Likewise.
2370 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2371 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2372 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2373 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2374 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2375 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2376 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2377 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2378 * sysdeps/unix/bsd/times.c: Likewise.
2379 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2380 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2384 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2387 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2388 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2389 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2390 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2391 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2392 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2393 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2394 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2395 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2396 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2397 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2398 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2399 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2400 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2401 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2402 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2403 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2404 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2405 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2406 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2407 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2408 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2409 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2410 * sysdeps/x86_64/strcspn.S: Likewise.
2411
869378a5
RA
24122013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2413
2414 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2415 generated file. Regenerate properly from gen-translit.pl.
2416 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2417 locale/C-translit.h.
2418
840e2943
AS
24192013-06-05 Andreas Schwab <schwab@suse.de>
2420
2421 [BZ #15100]
2422 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2423 week as 6 instead of -1.
2424 * time/tst-strptime.c (day_tests): Add test case.
2425
4c60cb0c
SP
24262013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2427
2428 * sysdeps/generic/math_private.h
2429 (libc_feholdexcept_setround_53bit): Replace with
2430 libc_feholdsetround_53bit.
2431 (libc_feupdateenv_53bit): Replace with
2432 libc_feresetround_53bit.
2433 (SET_RESTORE_ROUND_53BIT): Adjust.
2434
d180203e
SP
24352013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2436
96df079a
SP
2437 * string/test-strchrnul.c: Add copyright header.
2438
d180203e
SP
2439 * posix/tst-getaddrinfo4.c: Increase test timeout.
2440
8b0ccb2d
CD
24412013-06-03 Carlos O'Donell <carlos@redhat.com>
2442
2443 [BZ #15536]
2444 * math/libm-test.inc (MAX_EXP): Remove
2445 (MIN_EXP): Define.
2446 (ulp): Use MIN_EXP - MANT_DIG.
2447 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2448
3b3c4d40
CD
24492013-05-31 Carlos O'Donell <carlos@redhat.com>
2450
2451 * po/be.po: Revert last change.
2452 * po/zh_CN.po: Likewise.
2453 * po/header.pot: Likewise.
2454
fab7ce3f
JM
24552013-05-31 Joseph Myers <joseph@codesourcery.com>
2456
2457 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2458 link-libc-deps to empty as target-specific variable.
2459 * Makerules (link-libc-args): New variable.
2460 (libc-for-link): Likewise.
2461 (link-libc-deps): Likewise.
2462 (lib%.so): Depend on $(link-libc-deps). Link with
2463 $(link-libc-args).
2464 (build-module): Link with $(link-libc-args).
2465 (build-module-asneeded): Likewise.
2466 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2467 list of objects.
2468 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2469 target-specific variable.
2470 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2471 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2472 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2473 libc.
2474 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2475 libc and ld.so.
2476 ($(objpfx)libpcprofile.so): Likewise.
2477 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2478 libc_nonshared.a.
2479 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2480 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2481 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2482 $(link-libc-deps).
2483 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2484 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2485 * login/Makefile ($(objpfx)libutil.so): Likewise.
2486 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2487 * math/Makefile ($(objpfx)libm.so): Likewise.
2488 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2489 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2490 variable instead of depending directly on libc.
2491 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2492 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2493 $(link-libc-deps).
2494 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2495 libc.
2496 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2497 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2498 ($(objpfx)libanl.so): Likewise.
2499 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2500 ld.so.
2501 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2502 $(link-libc-deps).
2503 * sysdeps/i386/fpu/Makefile: Remove file.
2504 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2505 ($(objpfx)libm.so): Remove dependency on ld.so.
2506
eca5920c
PF
25072013-05-30 Patsy Franklin <pfrankli@redhat.com>
2508
2509 [BZ # 15553]
2510 * nis/yp_xdr.c (XDRMAXNAME): Define.
2511 (XDRMAXRECORD): Define.
2512 (xdr_domainname): Use XDRMAXNAME.
2513 (xdr_mapname): Likewise.
2514 (xdr_peername): Likewise.
2515 (xdr_keydat): Use XDRMAXRECORD.
2516 (xdr_valdat): Likewise.
2517
25182013-05-30 Jeff Law <law@redhat.com>
96945714
JL
2519
2520 [BZ #14256]
2521 * manual/errno.texi (ESTALE): Update to account for more than
2522 just NFS file systems.
2523 * sysdeps/gnu/errlist.c: Regenerated.
2524
b9375348
SP
25252013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2526
2527 [BZ #15465]
2528 * elf/Makefile (tests): Add tst-null-argv.
2529 (modules-names): Add tst-null-argv-lib.
2530 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2531 (tst-null-argv-ENV): Set environment for tst-null-argv.
2532 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2533 (RTLD_PROGNAME): New macro.
2534 * elf/tst-null-argv.c: New test case.
2535 * elf/tst-null-argv-lib.c: Library for test case.
2536 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2537 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2538 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2539 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2540 * elf/dl-init.c (call_init): Likewise.
2541 (_dl_init): Likewise.
2542 * elf/dl-load.c (print_search_path): Likewise.
2543 (_dl_map_object): Likewise.
2544 * elf/dl-lookup.c (do_lookup_x): Likewise.
2545 (add_dependency): Likewise.
2546 (_dl_lookup_symbol_x): Likewise.
2547 (_dl_debug_bindings): Likewise.
2548 * elf/dl-open.c (_dl_show_scope): Likewise.
2549 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2550 * elf/dl-version.c (match_symbol): Likewise.
2551 (_dl_check_map_versions): Likewise.
2552 * elf/rtld.c (dl_main): Likewise.
2553 (print_unresolved): Use RTLD_PROGNAME.
2554 (print_missing_version): Likewise.
2555 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2556 (elf_machine_rela): Likewise.
2557 * sysdeps/powerpc/powerpc32/dl-machine.c
2558 (__process_machine_rela): Likewise.
2559 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2560 Likewise.
2561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2562 Likewise.
2563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2564 Likewise.
2565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2566 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2567 Likewise.
2568 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2569 Likewise.
2570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2571
8a9f20c8
CD
25722013-05-28 Carlos O'Donell <carlos@redhat.com>
2573
2574 * po/be.po: Add descriptive title.
2575 * po/zh_CN.po: Likewise.
2576 * po/header.pot: Likewise.
2577
0e60d68e
MF
25782013-05-28 Mike Frysinger <vapier@gentoo.org>
2579
2580 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2581 error message.
2582 (enlarge_archive): Likewise.
2583
56b672e9
BN
25842013-05-28 Ben North <ben@redfrontdoor.org>
2585
2586 * manual/arith.texi (frexp): It is the magnitude of the return
2587 value which lies in [0.5, 1), not the return value itself.
2588
5e056687
AZ
25892013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2590
2591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2592
2b66ef5d
TS
25932013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2594
528c2405
TS
2595 * stdio-common/bug26.c (main): Correct fscanf template.
2596
07b4c13d
TS
2597 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2598 declare _dl_skip_args.
2599
ec9dd97c
TS
2600 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2601 Don't declare.
2602
2b66ef5d
TS
2603 * manual/platform.texi: Add missing @end deftypefun.
2604
4f8dfe27
JM
26052013-05-24 Joseph Myers <joseph@codesourcery.com>
2606
0323d086
JM
2607 [BZ #15529]
2608 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2609 bit of mantissa of 2^16382.
2610 * math/libm-test.inc (hypot_test_data): Add more tests.
2611
dd4259b9
JM
2612 * math/libm-test.inc: Add drem and pow10 to list of tested
2613 functions.
2614 (pow10_test): New function.
2615 (drem_test): Likewise.
2616 (drem_test_tonearest): Likewise.
2617 (drem_test_towardzero): Likewise.
2618 (drem_test_downward): Likewise.
2619 (drem_test_upward): Likewise.
2620 (main): Call the new functions.
2621
4f8dfe27
JM
2622 * math/libm-test.inc (finite_test_data): Remove.
2623 (finite_test): Run tests from isfinite_test_data.
2624 (gamma_test_data): Remove.
2625 (gamma_test): Run tests from lgamma_test_data.
2626 * sysdeps/i386/fpu/libm-test-ulps: Update.
2627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2628
d116b7c4
AZ
26292013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2630
2631 * manual/platform.texi: Add PowerPC PPR function set documentation.
2632 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2633 implementation.
2634
e96e3767
CD
26352013-05-24 Carlos O'Donell <carlos@redhat.com>
2636
2637 * math/libm-test.inc (MAX_EXP): Define.
2638 (ULPDIFF): Define.
2639 (ulp): New function.
2640 (check_float_internal): Use ULPDIFF.
2641 (cpow_test): Disable failing test.
2642 (check_ulp): Test ulp() implemetnation.
2643 (main): Call check_ulp before starting tests.
2644
b679a606
JM
26452013-05-24 Joseph Myers <joseph@codesourcery.com>
2646
e8bdba36
JM
2647 * math/gen-libm-test.pl (generate_testfile): Do not handle
2648 START_DATA and END_DATA.
2649 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2650 END_DATA.
2651 (acos_tonearest_test_data): Likewise.
2652 (acos_towardzero_test_data): Likewise.
2653 (acos_downward_test_data): Likewise.
2654 (acos_upward_test_data): Likewise.
2655 (acosh_test_data): Likewise.
2656 (asin_test_data): Likewise.
2657 (asin_tonearest_test_data): Likewise.
2658 (asin_towardzero_test_data): Likewise.
2659 (asin_downward_test_data): Likewise.
2660 (asin_upward_test_data): Likewise.
2661 (asinh_test_data): Likewise.
2662 (atan_test_data): Likewise.
2663 (atanh_test_data): Likewise.
2664 (atan2_test_data): Likewise.
2665 (cabs_test_data): Likewise.
2666 (cacos_test_data): Likewise.
2667 (cacosh_test_data): Likewise.
2668 (carg_test_data): Likewise.
2669 (casin_test_data): Likewise.
2670 (casinh_test_data): Likewise.
2671 (catan_test_data): Likewise.
2672 (catanh_test_data): Likewise.
2673 (cbrt_test_data): Likewise.
2674 (ccos_test_data): Likewise.
2675 (ccosh_test_data): Likewise.
2676 (ceil_test_data): Likewise.
2677 (cexp_test_data): Likewise.
2678 (cimag_test_data): Likewise.
2679 (clog_test_data): Likewise.
2680 (clog10_test_data): Likewise.
2681 (conj_test_data): Likewise.
2682 (copysign_test_data): Likewise.
2683 (cos_test_data): Likewise.
2684 (cos_tonearest_test_data): Likewise.
2685 (cos_towardzero_test_data): Likewise.
2686 (cos_downward_test_data): Likewise.
2687 (cos_upward_test_data): Likewise.
2688 (cosh_test_data): Likewise.
2689 (cosh_tonearest_test_data): Likewise.
2690 (cosh_towardzero_test_data): Likewise.
2691 (cosh_downward_test_data): Likewise.
2692 (cosh_upward_test_data): Likewise.
2693 (cpow_test_data): Likewise.
2694 (cproj_test_data): Likewise.
2695 (creal_test_data): Likewise.
2696 (csin_test_data): Likewise.
2697 (csinh_test_data): Likewise.
2698 (csqrt_test_data): Likewise.
2699 (ctan_test_data): Likewise.
2700 (ctan_tonearest_test_data): Likewise.
2701 (ctan_towardzero_test_data): Likewise.
2702 (ctan_downward_test_data): Likewise.
2703 (ctan_upward_test_data): Likewise.
2704 (ctanh_test_data): Likewise.
2705 (ctanh_tonearest_test_data): Likewise.
2706 (ctanh_towardzero_test_data): Likewise.
2707 (ctanh_downward_test_data): Likewise.
2708 (ctanh_upward_test_data): Likewise.
2709 (erf_test_data): Likewise.
2710 (erfc_test_data): Likewise.
2711 (exp_test_data): Likewise.
2712 (exp_tonearest_test_data): Likewise.
2713 (exp_towardzero_test_data): Likewise.
2714 (exp_downward_test_data): Likewise.
2715 (exp_upward_test_data): Likewise.
2716 (exp10_test_data): Likewise.
2717 (exp2_test_data): Likewise.
2718 (expm1_test_data): Likewise.
2719 (fabs_test_data): Likewise.
2720 (fdim_test_data): Likewise.
2721 (finite_test_data): Likewise.
2722 (floor_test_data): Likewise.
2723 (fma_test_data): Likewise.
2724 (fma_towardzero_test_data): Likewise.
2725 (fma_downward_test_data): Likewise.
2726 (fma_upward_test_data): Likewise.
2727 (fmax_test_data): Likewise.
2728 (fmin_test_data): Likewise.
2729 (fmod_test_data): Likewise.
2730 (fpclassify_test_data): Likewise.
2731 (frexp_test_data): Likewise.
2732 (gamma_test_data): Likewise.
2733 (hypot_test_data): Likewise.
2734 (ilogb_test_data): Likewise.
2735 (isfinite_test_data): Likewise.
2736 (isgreater_test_data): Likewise.
2737 (isgreaterequal_test_data): Likewise.
2738 (isinf_test_data): Likewise.
2739 (isless_test_data): Likewise.
2740 (islessequal_test_data): Likewise.
2741 (islessgreater_test_data): Likewise.
2742 (isnan_test_data): Likewise.
2743 (isnormal_test_data): Likewise.
2744 (issignaling_test_data): Likewise.
2745 (isunordered_test_data): Likewise.
2746 (j0_test_data): Likewise.
2747 (j1_test_data): Likewise.
2748 (jn_test_data): Likewise.
2749 (ldexp_test_data): Likewise.
2750 (lgamma_test_data): Likewise.
2751 (lrint_test_data): Likewise.
2752 (lrint_tonearest_test_data): Likewise.
2753 (lrint_towardzero_test_data): Likewise.
2754 (lrint_downward_test_data): Likewise.
2755 (lrint_upward_test_data): Likewise.
2756 (llrint_test_data): Likewise.
2757 (llrint_tonearest_test_data): Likewise.
2758 (llrint_towardzero_test_data): Likewise.
2759 (llrint_downward_test_data): Likewise.
2760 (llrint_upward_test_data): Likewise.
2761 (log_test_data): Likewise.
2762 (log10_test_data): Likewise.
2763 (log1p_test_data): Likewise.
2764 (log2_test_data): Likewise.
2765 (logb_test_data): Likewise.
2766 (logb_downward_test_data): Likewise.
2767 (lround_test_data): Likewise.
2768 (llround_test_data): Likewise.
2769 (modf_test_data): Likewise.
2770 (nearbyint_test_data): Likewise.
2771 (nextafter_test_data): Likewise.
2772 (nexttoward_test_data): Likewise.
2773 (pow_test_data): Likewise.
2774 (pow_tonearest_test_data): Likewise.
2775 (pow_towardzero_test_data): Likewise.
2776 (pow_downward_test_data): Likewise.
2777 (pow_upward_test_data): Likewise.
2778 (remainder_test_data): Likewise.
2779 (remainder_tonearest_test_data): Likewise.
2780 (remainder_towardzero_test_data): Likewise.
2781 (remainder_downward_test_data): Likewise.
2782 (remainder_upward_test_data): Likewise.
2783 (remquo_test_data): Likewise.
2784 (rint_test_data): Likewise.
2785 (rint_tonearest_test_data): Likewise.
2786 (rint_towardzero_test_data): Likewise.
2787 (rint_downward_test_data): Likewise.
2788 (rint_upward_test_data): Likewise.
2789 (round_test_data): Likewise.
2790 (scalb_test_data): Likewise.
2791 (scalbn_test_data): Likewise.
2792 (scalbln_test_data): Likewise.
2793 (signbit_test_data): Likewise.
2794 (sin_test_data): Likewise.
2795 (sin_tonearest_test_data): Likewise.
2796 (sin_towardzero_test_data): Likewise.
2797 (sin_downward_test_data): Likewise.
2798 (sin_upward_test_data): Likewise.
2799 (sincos_test_data): Likewise.
2800 (sinh_test_data): Likewise.
2801 (sinh_tonearest_test_data): Likewise.
2802 (sinh_towardzero_test_data): Likewise.
2803 (sinh_downward_test_data): Likewise.
2804 (sinh_upward_test_data): Likewise.
2805 (sqrt_test_data): Likewise.
2806 (tan_test_data): Likewise.
2807 (tan_tonearest_test_data): Likewise.
2808 (tan_towardzero_test_data): Likewise.
2809 (tan_downward_test_data): Likewise.
2810 (tan_upward_test_data): Likewise.
2811 (tanh_test_data): Likewise.
2812 (tgamma_test_data): Likewise.
2813 (trunc_test_data): Likewise.
2814 (y0_test_data): Likewise.
2815 (y1_test_data): Likewise.
2816 (yn_test_data): Likewise.
2817 (significand_test_data): Likewise.
2818
b679a606
JM
2819 * math/gen-libm-test.pl (@functions): Remove variable.
2820 (generate_testfile): Don't handle START and END lines.
2821 * math/libm-test.inc (START): New macro.
2822 (END): Likewise.
2823 (END_COMPLEX): Likewise.
2824 (acos_test): Use END macro without arguments.
2825 (acos_test_tonearest): Likewise.
2826 (acos_test_towardzero): Likewise.
2827 (acos_test_downward): Likewise.
2828 (acos_test_upward): Likewise.
2829 (acosh_test): Likewise.
2830 (asin_test): Likewise.
2831 (asin_test_tonearest): Likewise.
2832 (asin_test_towardzero): Likewise.
2833 (asin_test_downward): Likewise.
2834 (asin_test_upward): Likewise.
2835 (asinh_test): Likewise.
2836 (atan_test): Likewise.
2837 (atanh_test): Likewise.
2838 (atan2_test): Likewise.
2839 (cabs_test): Likewise.
2840 (cacos_test): Use END_COMPLEX macro without arguments.
2841 (cacosh_test): Likewise.
2842 (carg_test): Use END macro without arguments.
2843 (casin_test): Use END_COMPLEX macro without arguments.
2844 (casinh_test): Likewise.
2845 (catan_test): Likewise.
2846 (catanh_test): Likewise.
2847 (cbrt_test): Use END macro without arguments.
2848 (ccos_test): Use END_COMPLEX macro without arguments.
2849 (ccosh_test): Likewise.
2850 (ceil_test): Use END macro without arguments.
2851 (cexp_test): Use END_COMPLEX macro without arguments.
2852 (cimag_test): Use END macro without arguments.
2853 (clog_test): Use END_COMPLEX macro without arguments.
2854 (clog10_test): Likewise.
2855 (conj_test): Likewise.
2856 (copysign_test): Use END macro without arguments.
2857 (cos_test): Likewise.
2858 (cos_test_tonearest): Likewise.
2859 (cos_test_towardzero): Likewise.
2860 (cos_test_downward): Likewise.
2861 (cos_test_upward): Likewise.
2862 (cosh_test): Likewise.
2863 (cosh_test_tonearest): Likewise.
2864 (cosh_test_towardzero): Likewise.
2865 (cosh_test_downward): Likewise.
2866 (cosh_test_upward): Likewise.
2867 (cpow_test): Use END_COMPLEX macro without arguments.
2868 (cproj_test): Likewise.
2869 (creal_test): Use END macro without arguments.
2870 (csin_test): Use END_COMPLEX macro without arguments.
2871 (csinh_test): Likewise.
2872 (csqrt_test): Likewise.
2873 (ctan_test): Likewise.
2874 (ctan_test_tonearest): Likewise.
2875 (ctan_test_towardzero): Likewise.
2876 (ctan_test_downward): Likewise.
2877 (ctan_test_upward): Likewise.
2878 (ctanh_test): Likewise.
2879 (ctanh_test_tonearest): Likewise.
2880 (ctanh_test_towardzero): Likewise.
2881 (ctanh_test_downward): Likewise.
2882 (ctanh_test_upward): Likewise.
2883 (erf_test): Use END macro without arguments.
2884 (erfc_test): Likewise.
2885 (exp_test): Likewise.
2886 (exp_test_tonearest): Likewise.
2887 (exp_test_towardzero): Likewise.
2888 (exp_test_downward): Likewise.
2889 (exp_test_upward): Likewise.
2890 (exp10_test): Likewise.
2891 (exp2_test): Likewise.
2892 (expm1_test): Likewise.
2893 (fabs_test): Likewise.
2894 (fdim_test): Likewise.
2895 (finite_test): Likewise.
2896 (floor_test): Likewise.
2897 (fma_test): Likewise.
2898 (fma_test_towardzero): Likewise.
2899 (fma_test_downward): Likewise.
2900 (fma_test_upward): Likewise.
2901 (fmax_test): Likewise.
2902 (fmin_test): Likewise.
2903 (fmod_test): Likewise.
2904 (fpclassify_test): Likewise.
2905 (frexp_test): Likewise.
2906 (gamma_test): Likewise.
2907 (hypot_test): Likewise.
2908 (ilogb_test): Likewise.
2909 (isfinite_test): Likewise.
2910 (isgreater_test): Likewise.
2911 (isgreaterequal_test): Likewise.
2912 (isinf_test): Likewise.
2913 (isless_test): Likewise.
2914 (islessequal_test): Likewise.
2915 (islessgreater_test): Likewise.
2916 (isnan_test): Likewise.
2917 (isnormal_test): Likewise.
2918 (issignaling_test): Likewise.
2919 (isunordered_test): Likewise.
2920 (j0_test): Likewise.
2921 (j1_test): Likewise.
2922 (jn_test): Likewise.
2923 (ldexp_test): Likewise.
2924 (lgamma_test): Likewise.
2925 (lrint_test): Likewise.
2926 (lrint_test_tonearest): Likewise.
2927 (lrint_test_towardzero): Likewise.
2928 (lrint_test_downward): Likewise.
2929 (lrint_test_upward): Likewise.
2930 (llrint_test): Likewise.
2931 (llrint_test_tonearest): Likewise.
2932 (llrint_test_towardzero): Likewise.
2933 (llrint_test_downward): Likewise.
2934 (llrint_test_upward): Likewise.
2935 (log_test): Likewise.
2936 (log10_test): Likewise.
2937 (log1p_test): Likewise.
2938 (log2_test): Likewise.
2939 (logb_test): Likewise.
2940 (logb_test_downward): Likewise.
2941 (lround_test): Likewise.
2942 (llround_test): Likewise.
2943 (modf_test): Likewise.
2944 (nearbyint_test): Likewise.
2945 (nextafter_test): Likewise.
2946 (nexttoward_test): Likewise.
2947 (pow_test): Likewise.
2948 (pow_test_tonearest): Likewise.
2949 (pow_test_towardzero): Likewise.
2950 (pow_test_downward): Likewise.
2951 (pow_test_upward): Likewise.
2952 (remainder_test): Likewise.
2953 (remainder_test_tonearest): Likewise.
2954 (remainder_test_towardzero): Likewise.
2955 (remainder_test_downward): Likewise.
2956 (remainder_test_upward): Likewise.
2957 (remquo_test): Likewise.
2958 (rint_test): Likewise.
2959 (rint_test_tonearest): Likewise.
2960 (rint_test_towardzero): Likewise.
2961 (rint_test_downward): Likewise.
2962 (rint_test_upward): Likewise.
2963 (round_test): Likewise.
2964 (scalb_test): Likewise.
2965 (scalbn_test): Likewise.
2966 (scalbln_test): Likewise.
2967 (signbit_test): Likewise.
2968 (sin_test): Likewise.
2969 (sin_test_tonearest): Likewise.
2970 (sin_test_towardzero): Likewise.
2971 (sin_test_downward): Likewise.
2972 (sin_test_upward): Likewise.
2973 (sincos_test): Likewise.
2974 (sinh_test): Likewise.
2975 (sinh_test_tonearest): Likewise.
2976 (sinh_test_towardzero): Likewise.
2977 (sinh_test_downward): Likewise.
2978 (sinh_test_upward): Likewise.
2979 (sqrt_test): Likewise.
2980 (tan_test): Likewise.
2981 (tan_test_tonearest): Likewise.
2982 (tan_test_towardzero): Likewise.
2983 (tan_test_downward): Likewise.
2984 (tan_test_upward): Likewise.
2985 (tanh_test): Likewise.
2986 (tgamma_test): Likewise.
2987 (trunc_test): Likewise.
2988 (y0_test): Likewise.
2989 (y1_test): Likewise.
2990 (yn_test): Likewise.
2991 (significand_test): Likewise.
2992
bae143d2
OB
29932013-05-24 Ondřej Bílka <neleai@seznam.cz>
2994
2995 [BZ #15381]
2996 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2997
9323d39b
EM
29982013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2999
d4ea44a0 3000 [BZ #14894]
9323d39b
EM
3001 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3002 __ppc_mdoio and __ppc_mdoom.
3003 * manual/platform.texi: Document new functions __ppc_yield,
3004 __ppc_mdoio and __ppc_mdoom.
3005
13e23af7
CD
30062013-05-22 Carlos O'Donell <carlos@redhat.com>
3007
3008 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3009 (main): Mention "tls" pseudo-hwcap is legacy.
3010 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3011
351fe550
JM
30122013-05-22 Joseph Myers <joseph@codesourcery.com>
3013
3014 * math/gen-libm-test.pl (parse_args): Output only string of
3015 arguments as text for test name, not full call or descriptions of
3016 tests for extra outputs.
3017 (generate_testfile): Do not pass function name to parse_args.
3018 Generate this_func variable from START.
3019 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3020 field to arg_str.
3021 (struct test_ff_f_data): Likewise.
3022 (test_ff_f_data_nexttoward): Likewise.
3023 (struct test_fi_f_data): Likewise.
3024 (struct test_fl_f_data): Likewise.
3025 (struct test_if_f_data): Likewise.
3026 (struct test_fff_f_data): Likewise.
3027 (struct test_c_f_data): Likewise.
3028 (struct test_f_f1_data): Likewise. Remove field extra_name.
3029 (struct test_fF_f1_data): Likewise.
3030 (struct test_ffI_f1_data): Likewise.
3031 (struct test_c_c_data): Rename test_name field to arg_str.
3032 (struct test_cc_c_data): Likewise.
3033 (struct test_f_i_data): Likewise.
3034 (struct test_ff_i_data): Likewise.
3035 (struct test_f_l_data): Likewise.
3036 (struct test_f_L_data): Likewise.
3037 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3038 and extra2_name.
3039 (COMMON_TEST_SETUP): New macro.
3040 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3041 (COMMON_TEST_CLEANUP): Likewise.
3042 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3043 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3044 macros.
3045 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3046 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3047 macros.
3048 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3049 (RUN_TEST_fff_f): Take argument string. Call new setup and
3050 cleanup macros.
3051 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3052 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3053 macros.
3054 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3055 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3056 macros.
3057 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3058 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3059 cleanup macros.
3060 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3061 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3062 cleanup macros.
3063 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3064 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3065 cleanup macros.
3066 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3067 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3068 macros.
3069 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3070 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3071 macros.
3072 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3073 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3074 macros.
3075 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3076 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3077 cleanup macros.
3078 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3079 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3080 cleanup macros.
3081 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3082 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3083 macros.
3084 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3085 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3086 cleanup macros.
3087 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3088 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3089 macros.
3090 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3091 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3092 macros.
3093 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3094 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3095 cleanup macros.
3096 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3097
85118d4d
EBM
30982013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3099
3100 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3101 to _sifields.sigfault.
3102 (si_addr_lsb): Define new macro.
3103 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3104 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3105 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3106
7a44c18f
CD
31072013-05-03 Carlos O'Donell <carlos at redhat.com>
3108
3109 [BZ #15441]
3110 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3111 returns -1.
3112 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3113 null return -1.
3114 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3115 loading the domain.
3116
b50a7181
JM
31172013-05-22 Joseph Myers <joseph@codesourcery.com>
3118
3119 * math/gen-libm-test.pl (parse_args): Do not include expected
3120 result in test name.
3121 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3122 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3123 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3124 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3125 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3127
051063c8
SP
31282013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3129
3ce9e010
SP
3130 * benchtests/Makefile: Sort function entries.
3131
051063c8
SP
3132 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3133 tanh, asinh, acosh, atanh.
3134 * benchtests/acos-inputs: New file.
3135 * benchtests/acosh-inputs: New file.
3136 * benchtests/asin-inputs: New file.
3137 * benchtests/asinh-inputs: New file.
3138 * benchtests/atanh-inputs: New file.
3139 * benchtests/cosh-inputs: New file.
3140 * benchtests/log-inputs: New file.
3141 * benchtests/sinh-inputs: New file.
3142 * benchtests/tanh-inputs: New file.
3143
47c22455
DL
31442013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3145
3146 [BZ #15339]
3147 * posix/tst-getaddrinfo4.c: New test.
3148 * posix/Makefile (tests): Add it.
3149
3d04f5db
SP
31502013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3151
3152 [BZ #15339]
3153 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3154 when no services were used.
3155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3156 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3157
d5dd6189
AS
31582013-05-21 Andreas Schwab <schwab@suse.de>
3159
3160 [BZ #15014]
3161 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3162 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3163 successful.
3164 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3165 redundant variable declarations and reallocation of buffer when
3166 parsing as IPv6 address. Always set NSS status when called from
3167 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3168 buffer too small. Correct computation of needed size.
3169 * nss/Makefile (tests): Add test-digits-dots.
3170 * nss/test-digits-dots.c: New test.
3171
fef94eab
SP
31722013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3173
3174 * benchtests/Makefile: Remove instructions for adding
3175 benchmark tests.
3176 * benchtests/README: New file to explain how to execute and
3177 enhance the benchmark tests.
3178
e39adf43
AS
31792013-05-21 Andreas Schwab <schwab@suse.de>
3180
3181 [BZ #15493]
3182 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3183 * setjmp/tst-sigsetjmp.c: New test.
3184
b2b671b6
OB
31852013-05-20 Ondřej Bílka <neleai@seznam.cz>
3186
3187 * sysdeps/x86_64/memset.S (memset): New implementation.
3188 (__bzero): Likewise.
3189 (__memset_tail): New function.
3190
2d48b41c
OB
31912013-05-20 Ondřej Bílka <neleai@seznam.cz>
3192
3193 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3194 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3195 __memcpy_sse2_unaligned ifunc selection.
3196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3197 Add memcpy-sse2-unaligned.S.
3198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3199 Add: __memcpy_sse2_unaligned.
3200
f16cc3eb
JM
32012013-05-19 Joseph Myers <joseph@codesourcery.com>
3202
3e694268
JM
3203 [BZ #15490]
3204 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3205 math_force_eval before restoring floating-point envrionment.
3206 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3207 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3208 Likewise.
3209 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3210 <math_private.h>.
3211 (__nearbyintl): Use math_force_eval before restoring
3212 floating-point environment.
3213 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3214
db62a907
JM
3215 * math/gen-libm-test.pl (special_functions): Remove.
3216 (parse_args): Don't handle TEST_extra. Handle functions with no
3217 return value.
3218 * math/libm-test.inc (struct test_sincos_data): Replace with
3219 struct test_fFF_11_data.
3220 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3221 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3222 (sincos_test_data): Change element type to struct
3223 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3224 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3225 RUN_TEST_LOOP_sincos.
3226 * math/README.libm-test: Don't mention special handling of
3227 individual functions.
3228 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3229 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3230 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3231 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3232 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3234
f16cc3eb
JM
3235 * math/gen-libm-test.pl (get_variable): Remove function.
3236 (parse_args): Don't show pointer parameters to call in test
3237 names. Use "extra output N" in test names for extra outputs
3238 rather than naming variables.
3239
3779b5b6
JM
32402013-05-18 Joseph Myers <joseph@codesourcery.com>
3241
2ee094ff
JM
3242 [BZ #15488]
3243 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3244 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3245 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3246 double tests.
3247 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3248 disable.
3249 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3250 check_long_double.
3251
3779b5b6
JM
3252 * math/gen-libm-test.pl (@tests): Remove variable.
3253 ($count): Likewise.
3254 (new_test): Remove function.
3255 (show_exceptions): New function.
3256 (special_functions): Use show_exceptions instead of new_test.
3257 (parse_args): Likewise.
3258 (generate_testfile): Pass only function name in generated call to
3259 print_max_error or print_complex_max_error.
3260 (get_ulps): Do not handle complex tests specially.
3261 (output_test): Rename to ...
3262 (get_all_ulps_for_test): ... this. Return a string rather than
3263 printing to a file. Require ulps to be present.
3264 (output_ulps): Generate arrays rather than #defines.
3265 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3266 (struct ulp_data): New type.
3267 (BUILD_COMPLEX_ULP): Remove macro.
3268 (compare_ulp_data): New function.
3269 (find_ulps): Likewise.
3270 (find_test_ulps): Likewise.
3271 (find_function_ulps): Likewise.
3272 (find_complex_function_ulps): Likewise.
3273 (print_max_error): Determine allowed ulps using
3274 find_function_ulps.
3275 (print_complex_max_error): Determine allowed ulps using
3276 find_complex_function_ulps.
3277 (check_float_internal): Determine max ulps using find_test_ulps.
3278 (check_float): Do not take max_ulp parameter. Update call to
3279 check_float_internal.
3280 (check_complex): Likewise.
3281 (check_int): Do not take max_ulp parameter.
3282 (check_long): Likewise.
3283 (check_bool): Likewise.
3284 (check_longlong): Likewise.
3285 (struct test_f_f_data): Remove max_ulp field.
3286 (struct test_ff_f_data): Likewise.
3287 (struct test_ff_f_data_nexttoward): Likewise.
3288 (struct test_fi_f_data): Likewise.
3289 (struct test_fl_f_data): Likewise.
3290 (struct test_if_f_data): Likewise.
3291 (struct test_fff_f_data): Likewise.
3292 (struct test_c_f_data): Likewise.
3293 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3294 (struct test_fF_f1_data): Likewise.
3295 (struct test_ffI_f1_data): Likewise.
3296 (struct test_c_c_data): Remove max_ulp field.
3297 (struct test_cc_c_data): Likewise.
3298 (struct test_f_i_data): Likewise.
3299 (struct test_ff_i_data): Likewise.
3300 (struct test_f_l_data): Likewise.
3301 (struct test_f_L_data): Likewise.
3302 (struct test_sincos_data): Likewise.
3303 (RUN_TEST_f_f): Do not handle ulps.
3304 (RUN_TEST_LOOP_f_f): Likewise.
3305 (RUN_TEST_2_f): Likewise.
3306 (RUN_TEST_LOOP_2_f): Likewise.
3307 (RUN_TEST_fff_f): Likewise.
3308 (RUN_TEST_LOOP_fff_f): Likewise.
3309 (RUN_TEST_c_f): Likewise.
3310 (RUN_TEST_LOOP_c_f): Likewise.
3311 (RUN_TEST_f_f1): Likewise.
3312 (RUN_TEST_LOOP_f_f1): Likewise.
3313 (RUN_TEST_fF_f1): Likewise.
3314 (RUN_TEST_LOOP_fF_f1): Likewise.
3315 (RUN_TEST_fI_f1): Likewise.
3316 (RUN_TEST_LOOP_fI_f1): Likewise.
3317 (RUN_TEST_ffI_f1): Likewise.
3318 (RUN_TEST_LOOP_ffI_f1): Likewise.
3319 (RUN_TEST_c_c): Likewise.
3320 (RUN_TEST_LOOP_c_c): Likewise.
3321 (RUN_TEST_cc_c): Likewise.
3322 (RUN_TEST_LOOP_cc_c): Likewise.
3323 (RUN_TEST_f_i): Likewise.
3324 (RUN_TEST_LOOP_f_i): Likewise.
3325 (RUN_TEST_f_i_tg): Likewise.
3326 (RUN_TEST_LOOP_f_i_tg): Likewise.
3327 (RUN_TEST_ff_i_tg): Likewise.
3328 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3329 (RUN_TEST_f_b): Likewise.
3330 (RUN_TEST_LOOP_f_b): Likewise.
3331 (RUN_TEST_f_b_tg): Likewise.
3332 (RUN_TEST_LOOP_f_b_tg): Likewise.
3333 (RUN_TEST_f_l): Likewise.
3334 (RUN_TEST_LOOP_f_l): Likewise.
3335 (RUN_TEST_f_L): Likewise.
3336 (RUN_TEST_LOOP_f_L): Likewise.
3337 (RUN_TEST_sincos): Likewise.
3338 (RUN_TEST_LOOP_sincos): Likewise.
3339
8269107f
JM
33402013-05-17 Joseph Myers <joseph@codesourcery.com>
3341
bb38759d
JM
3342 [BZ #15480]
3343 [BZ #15485]
3344 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3345 main case of finite arguments, set rounding mode to FE_TONEAREST
3346 and discard exceptions.
3347 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3348 exceptions.
3349 (remainder_tonearest_test_data): New variable.
3350 (remainder_test_tonearest): New function.
3351 (remainder_towardzero_test_data): New variable.
3352 (remainder_test_towardzero): New function.
3353 (remainder_downward_test_data): New variable.
3354 (remainder_test_downward): New function.
3355 (remainder_upward_test_data): New variable.
3356 (remainder_test_upward): New function.
3357 (main): Call the new test functions.
3358
a00bdcf0
JM
3359 * math/libm-test.inc (struct test_f_f1_data): Remove field
3360 extra_init.
3361 (struct test_fF_f1_data): Likewise.
3362 (struct test_ffI_f1_data): Likewise.
3363 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3364 based on value of EXTRA_EXPECTED.
3365 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3366 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3367 EXTRA_VAR based on value of EXTRA_EXPECTED.
3368 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3369 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3370 EXTRA_VAR based on value of EXTRA_EXPECTED.
3371 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3372 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3373 EXTRA_VAR based on value of EXTRA_EXPECTED.
3374 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3375 * math/gen-libm-test.pl (parse_args): Don't output initializers
3376 for extra output values.
3377
de407f79
JM
3378 * math/libm-test.inc (check_int): Expect result to be exactly
3379 equal to expected value and do not handle ulps.
3380 (check_long): Likewise.
3381 (check_longlong): Likewise.
3382
8269107f
JM
3383 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3384 exceptions.
3385 (cimag_test_data): Likewise.
3386 (conj_test_data): Likewise.
3387 (copysign_test_data): Likewise.
3388 (cproj_test_data): Likewise.
3389 (creal_test_data): Likewise.
3390 (fabs_test_data): Likewise.
3391 (fdim_test_data): Likewise.
3392 (finite_test_data): Likewise.
3393 (floor_test_data): Likewise.
3394 (fmax_test_data): Likewise.
3395 (fmin_test_data): Likewise.
3396 (fmod_test_data): Likewise.
3397 (fpclassify_test_data): Likewise.
3398 (frexp_test_data): Likewise.
3399 (ilogb_test_data): Likewise.
3400 (isfinite_test_data): Likewise.
3401 (isgreater_test_data): Likewise.
3402 (isgreaterequal_test_data): Likewise.
3403 (isinf_test_data): Likewise.
3404 (isless_test_data): Likewise.
3405 (islessequal_test_data): Likewise.
3406 (islessgreater_test_data): Likewise.
3407 (isnan_test_data): Likewise.
3408 (isnormal_test_data): Likewise.
3409 (issignaling_test_data): Likewise.
3410 (isunordered_test_data): Likewise.
3411 (ldexp_test_data): Likewise.
3412 (lrint_test_data): Likewise.
3413 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3414 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3415 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3416 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3417 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3418 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3419 test input.
3420 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3421 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3422 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3423 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3424 that test input.
3425 (lrint_downward_test_data): Test for "inexact" exceptions.
3426 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3427 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3428 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3429 test input.
3430 (lrint_upward_test_data): Test for "inexact" exceptions.
3431 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3432 test input.
3433 (llrint_test_data): Test for "inexact" exceptions.
3434 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3435 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3436 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3437 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3438 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3439 (llrint_downward_test_data): Test for "inexact" exceptions.
3440 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3441 (llrint_upward_test_data): Test for "inexact" exceptions.
3442 (logb_test_data): Likewise.
3443 (logb_downward_test_data): Likewise.
3444 (nextafter_test_data): Likewise.
3445 (nexttoward_test_data): Likewise.
3446 (remainder_test_data): Likewise.
3447 (remquo_test_data): Likewise.
3448 (scalbn_test_data): Likewise.
3449 (scalbln_test_data): Likewise.
3450 (signbit_test_data): Likewise.
3451 (sqrt_test_data): Likewise.
3452 (significand_test_data): Likewise.
3453
48a18de1
SP
34542013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3455
3456 [BZ #15424]
3457 * benchtests/bench-modf.c (struct args): Mark arg0 as
3458 volatile.
3459 * scripts/bench.pl: Mark members of struct args as volatile.
3460
13d3b41a
AZ
34612013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462
68191c1d 3463 [BZ # 15497]
13d3b41a
AZ
3464 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3465 negative infinity on POWER6 or lower.
3466 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3467
2848b105
MR
34682013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3469
3470 [BZ #15442]
3471 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3472 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3473 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3474 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3475 (_FP_SETQNAN): New macro.
3476 (_FP_SETQNAN_SEMIRAW): Likewise.
3477 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3478 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3479 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3480 (FP_EXTEND): Use _FP_FRAC_SNANP.
3481 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3482 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3483 into account.
3484 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3485 New macro.
3486 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3487 Likewise.
3488
323e5cb7
JM
34892013-05-16 Joseph Myers <joseph@codesourcery.com>
3490
c58b274f
JM
3491 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3492 with DIVIDE_BY_ZERO_EXCEPTION.
3493 (gamma_test_data): Likewise.
3494 (lgamma_test_data): Likewise.
3495 (log_test_data): Likewise.
3496 (log10_test_data): Likewise.
3497 (log2_test_data): Likewise.
3498 (tgamma_test_data): Likewise.
3499
0ab34904
JM
3500 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3501 (acos_test_tonearest): Likewise.
3502 (acos_test_towardzero): Likewise.
3503 (acos_test_downward): Likewise.
3504 (acos_test_upward): Likewise.
3505 (acosh_test): Likewise.
3506 (asin_test): Likewise.
3507 (asin_test_tonearest): Likewise.
3508 (asin_test_towardzero): Likewise.
3509 (asin_test_downward): Likewise.
3510 (asin_test_upward): Likewise.
3511 (asinh_test): Likewise.
3512 (atan_test): Likewise.
3513 (atanh_test): Likewise.
3514 (atan2_test): Likewise.
3515 (cabs_test): Likewise.
3516 (cacos_test): Likewise.
3517 (cacosh_test): Likewise.
3518 (casin_test): Likewise.
3519 (casinh_test): Likewise.
3520 (catan_test): Likewise.
3521 (catanh_test): Likewise.
3522 (cbrt_test): Likewise.
3523 (ccos_test): Likewise.
3524 (ccosh_test): Likewise.
3525 (cexp_test): Likewise.
3526 (clog_test): Likewise.
3527 (clog10_test): Likewise.
3528 (cos_test): Likewise.
3529 (cos_test_tonearest): Likewise.
3530 (cos_test_towardzero): Likewise.
3531 (cos_test_downward): Likewise.
3532 (cos_test_upward): Likewise.
3533 (cosh_test): Likewise.
3534 (cosh_test_tonearest): Likewise.
3535 (cosh_test_towardzero): Likewise.
3536 (cosh_test_downward): Likewise.
3537 (cosh_test_upward): Likewise.
3538 (cpow_test): Likewise.
3539 (csin_test): Likewise.
3540 (csinh_test): Likewise.
3541 (csqrt_test): Likewise.
3542 (ctan_test): Likewise.
3543 (ctan_test_tonearest): Likewise.
3544 (ctan_test_towardzero): Likewise.
3545 (ctan_test_downward): Likewise.
3546 (ctan_test_upward): Likewise.
3547 (ctanh_test): Likewise.
3548 (ctanh_test_tonearest): Likewise.
3549 (ctanh_test_towardzero): Likewise.
3550 (ctanh_test_downward): Likewise.
3551 (ctanh_test_upward): Likewise.
3552 (erf_test): Likewise.
3553 (erfc_test): Likewise.
3554 (exp_test): Likewise.
3555 (exp_test_tonearest): Likewise.
3556 (exp_test_towardzero): Likewise.
3557 (exp_test_downward): Likewise.
3558 (exp_test_upward): Likewise.
3559 (exp10_test): Likewise.
3560 (exp2_test): Likewise.
3561 (expm1_test): Likewise.
3562 (fmod_test): Likewise.
3563 (gamma_test): Likewise.
3564 (hypot_test): Likewise.
3565 (j0_test): Likewise.
3566 (j1_test): Likewise.
3567 (jn_test): Likewise.
3568 (lgamma_test): Likewise.
3569 (log_test): Likewise.
3570 (log10_test): Likewise.
3571 (log1p_test): Likewise.
3572 (log2_test): Likewise.
3573 (logb_test_downward): Likewise.
3574 (pow_test): Likewise.
3575 (pow_test_tonearest): Likewise.
3576 (pow_test_towardzero): Likewise.
3577 (pow_test_downward): Likewise.
3578 (pow_test_upward): Likewise.
3579 (remainder_test): Likewise.
3580 (remquo_test): Likewise.
3581 (sin_test): Likewise.
3582 (sin_test_tonearest): Likewise.
3583 (sin_test_towardzero): Likewise.
3584 (sin_test_downward): Likewise.
3585 (sin_test_upward): Likewise.
3586 (sincos_test): Likewise.
3587 (sinh_test): Likewise.
3588 (sinh_test_tonearest): Likewise.
3589 (sinh_test_towardzero): Likewise.
3590 (sinh_test_downward): Likewise.
3591 (sinh_test_upward): Likewise.
3592 (sqrt_test): Likewise.
3593 (tan_test): Likewise.
3594 (tan_test_tonearest): Likewise.
3595 (tan_test_towardzero): Likewise.
3596 (tan_test_downward): Likewise.
3597 (tan_test_upward): Likewise.
3598 (tanh_test): Likewise.
3599 (tgamma_test): Likewise.
3600 (y0_test): Likewise.
3601 (y1_test): Likewise.
3602 (yn_test): Likewise.
3603
323e5cb7
JM
3604 * math/gen-libm-test.pl (adjust_arg): Remove function.
3605 (special_function): Remove argument $in_func. Only handle
3606 generating output for tables of tests, not inside functions.
3607 (parse_args): Likewise.
3608 (generate_testfile): Remove variable $in_func. Update call to
3609 parse_args.
3610 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3611 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3612 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3613 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3614 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3615 (MAX_VALUE_INIT): Rename macro to max_value.
3616 (MIN_VALUE_INIT): Rename macro to min_value.
3617 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3618 (plus_zero): Remove variable.
3619 (minus_zero): Likewise.
3620 (plus_infty): Likewise.
3621 (minus_infty): Likewise.
3622 (qnan_value): Likewise.
3623 (max_value): Likewise.
3624 (min_value): Likewise.
3625 (min_subnorm_value): Likewise.
3626
e054f494
RA
36272013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3628
3629 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3630 uint64_t or uint32_t usage.
3631 * crypt/sha256-block.c: Likewise.
3632 * crypt/sha256-crypt.c: Likewise.
3633 * crypt/sha256.c: Likewise.
3634 * crypt/sha512-block.c: Likewise.
3635 * crypt/sha512-crypt.c: Likewise.
3636 * crypt/sha512.c: Likewise.
3637 * debug/backtrace-tst.c: Likewise.
3638 * debug/pcprofiledump.c: Likewise.
3639 * elf/cache.c: Likewise.
3640 * elf/dl-cache.c: Likewise.
3641 * elf/dl-misc.c: Likewise.
3642 * elf/dl-profile.c: Likewise.
3643 * elf/dl-support.c: Likewise.
3644 * elf/ldconfig.c: Likewise.
3645 * elf/sprof.c: Likewise.
3646 * iconv/dummy-repertoire.c: Likewise.
3647 * iconv/iconv_charmap.c: Likewise.
3648 * iconv/skeleton.c: Likewise.
3649 * iconvdata/8bit-generic.c: Likewise.
3650 * iconvdata/cp737.h: Likewise.
3651 * iconvdata/cp775.h: Likewise.
3652 * iconvdata/ibm1008.h: Likewise.
3653 * iconvdata/ibm1025.h: Likewise.
3654 * iconvdata/ibm1046.h: Likewise.
3655 * iconvdata/ibm1097.h: Likewise.
3656 * iconvdata/ibm1112.h: Likewise.
3657 * iconvdata/ibm1122.h: Likewise.
3658 * iconvdata/ibm1123.h: Likewise.
3659 * iconvdata/ibm1124.h: Likewise.
3660 * iconvdata/ibm1129.h: Likewise.
3661 * iconvdata/ibm1130.h: Likewise.
3662 * iconvdata/ibm1132.h: Likewise.
3663 * iconvdata/ibm1133.h: Likewise.
3664 * iconvdata/ibm1137.h: Likewise.
3665 * iconvdata/ibm1140.h: Likewise.
3666 * iconvdata/ibm1141.h: Likewise.
3667 * iconvdata/ibm1142.h: Likewise.
3668 * iconvdata/ibm1143.h: Likewise.
3669 * iconvdata/ibm1144.h: Likewise.
3670 * iconvdata/ibm1145.h: Likewise.
3671 * iconvdata/ibm1146.h: Likewise.
3672 * iconvdata/ibm1147.h: Likewise.
3673 * iconvdata/ibm1148.h: Likewise.
3674 * iconvdata/ibm1149.h: Likewise.
3675 * iconvdata/ibm1153.h: Likewise.
3676 * iconvdata/ibm1154.h: Likewise.
3677 * iconvdata/ibm1155.h: Likewise.
3678 * iconvdata/ibm1156.h: Likewise.
3679 * iconvdata/ibm1157.h: Likewise.
3680 * iconvdata/ibm1158.h: Likewise.
3681 * iconvdata/ibm1160.h: Likewise.
3682 * iconvdata/ibm1161.h: Likewise.
3683 * iconvdata/ibm1162.h: Likewise.
3684 * iconvdata/ibm1163.h: Likewise.
3685 * iconvdata/ibm1164.h: Likewise.
3686 * iconvdata/ibm1166.h: Likewise.
3687 * iconvdata/ibm1167.h: Likewise.
3688 * iconvdata/ibm12712.h: Likewise.
3689 * iconvdata/ibm1390.h: Likewise.
3690 * iconvdata/ibm1399.h: Likewise.
3691 * iconvdata/ibm16804.h: Likewise.
3692 * iconvdata/ibm4517.h: Likewise.
3693 * iconvdata/ibm4899.h: Likewise.
3694 * iconvdata/ibm4909.h: Likewise.
3695 * iconvdata/ibm4971.h: Likewise.
3696 * iconvdata/ibm5347.h: Likewise.
3697 * iconvdata/ibm803.h: Likewise.
3698 * iconvdata/ibm856.h: Likewise.
3699 * iconvdata/ibm901.h: Likewise.
3700 * iconvdata/ibm902.h: Likewise.
3701 * iconvdata/ibm9030.h: Likewise.
3702 * iconvdata/ibm9066.h: Likewise.
3703 * iconvdata/ibm921.h: Likewise.
3704 * iconvdata/ibm922.h: Likewise.
3705 * iconvdata/ibm9448.h: Likewise.
3706 * iconvdata/isiri-3342.h: Likewise.
3707 * iconvdata/jis0201.h: Likewise.
3708 * include/link.h: Likewise.
3709 * include/netdb.h: Likewise.
3710 * inet/check_native.c: Likewise.
3711 * inet/check_pf.c: Likewise.
3712 * inet/getipv4sourcefilter.c: Likewise.
3713 * inet/getnameinfo.c: Likewise.
3714 * inet/getsourcefilter.c: Likewise.
3715 * inet/htonl.c: Likewise.
3716 * inet/setipv4sourcefilter.c: Likewise.
3717 * inet/setsourcefilter.c: Likewise.
3718 * inet/test-inet6_opt.c: Likewise.
3719 * inet/tst-network.c: Likewise.
3720 * locale/C-collate.c: Likewise.
3721 * locale/C-ctype.c: Likewise.
3722 * locale/C-time.c: Likewise.
3723 * locale/C-translit.h: Likewise.
3724 * locale/loadarchive.c: Likewise.
3725 * locale/programs/3level.h: Likewise.
3726 * locale/programs/charmap.c: Likewise.
3727 * locale/programs/charmap.h: Likewise.
3728 * locale/programs/ld-address.c: Likewise.
3729 * locale/programs/ld-collate.c: Likewise.
3730 * locale/programs/ld-ctype.c: Likewise.
3731 * locale/programs/ld-identification.c: Likewise.
3732 * locale/programs/ld-measurement.c: Likewise.
3733 * locale/programs/ld-messages.c: Likewise.
3734 * locale/programs/ld-monetary.c: Likewise.
3735 * locale/programs/ld-name.c: Likewise.
3736 * locale/programs/ld-numeric.c: Likewise.
3737 * locale/programs/ld-paper.c: Likewise.
3738 * locale/programs/ld-telephone.c: Likewise.
3739 * locale/programs/ld-time.c: Likewise.
3740 * locale/programs/linereader.c: Likewise.
3741 * locale/programs/locale.c: Likewise.
3742 * locale/programs/locarchive.c: Likewise.
3743 * locale/programs/locfile.h: Likewise.
3744 * locale/programs/repertoire.c: Likewise.
3745 * locale/programs/simple-hash.c: Likewise.
3746 * locale/programs/simple-hash.h: Likewise.
3747 * malloc/memusage.c: Likewise.
3748 * malloc/memusagestat.c: Likewise.
3749 * nis/nis_defaults.c: Likewise.
3750 * nis/nis_hash.c: Likewise.
3751 * nis/nis_print.c: Likewise.
3752 * nis/nis_xdr.c: Likewise.
3753 * nscd/connections.c: Likewise.
3754 * nscd/hstcache.c: Likewise.
3755 * nscd/nscd_gethst_r.c: Likewise.
3756 * nscd/nscd_getserv_r.c: Likewise.
3757 * nscd/nscd_helper.c: Likewise.
3758 * nscd/servicescache.c: Likewise.
3759 * nss/makedb.c: Likewise.
3760 * nss/nss_db/db-XXX.c: Likewise.
3761 * nss/nss_db/db-initgroups.c: Likewise.
3762 * nss/nss_db/db-netgrp.c: Likewise.
3763 * nss/nss_files/files-network.c: Likewise.
3764 * nss/nss_files/files-parse.c: Likewise.
3765 * posix/bug-regex5.c: Likewise.
3766 * posix/fnmatch_loop.c: Likewise.
3767 * posix/regcomp.c: Likewise.
3768 * posix/regexec.c: Likewise.
3769 * posix/tst-rfc3484-2.c: Likewise.
3770 * posix/tst-rfc3484-3.c: Likewise.
3771 * posix/tst-rfc3484.c: Likewise.
3772 * resolv/nss_dns/dns-canon.c: Likewise.
3773 * resolv/nss_dns/dns-network.c: Likewise.
3774 * resolv/res_init.c: Likewise.
3775 * resolv/res_mkquery.c: Likewise.
3776 * resolv/tst-aton.c: Likewise.
3777 * stdlib/cxa_atexit.c: Likewise.
3778 * stdlib/cxa_finalize.c: Likewise.
3779 * stdlib/gen-fpioconst.c: Likewise.
3780 * stdlib/strtol_l.c: Likewise.
3781 * string/tst-endian.c: Likewise.
3782 * sunrpc/auth_des.c: Likewise.
3783 * sunrpc/clnt_udp.c: Likewise.
3784 * sunrpc/rtime.c: Likewise.
3785 * sunrpc/svcauth_des.c: Likewise.
3786 * sunrpc/xdr.c: Likewise.
3787 * sunrpc/xdr_intXX_t.c: Likewise.
3788 * sunrpc/xdr_rec.c: Likewise.
3789 * sysdeps/generic/ldconfig.h: Likewise.
3790 * sysdeps/generic/ldsodefs.h: Likewise.
3791 * sysdeps/generic/memusage.h: Likewise.
3792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3802 * sysdeps/posix/getaddrinfo.c: Likewise.
3803 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3804 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3805 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3806 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3807 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3808 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3809 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3810 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3811 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3812 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3813 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3814 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3815 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3816 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3817 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3818 * sysdeps/x86_64/dl-tls.h: Likewise.
3819 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3820 * time/alt_digit.c: Likewise.
3821 * time/era.c: Likewise.
3822 * wcsmbs/tst-c16c32-1.c: Likewise.
3823
8c75f674
JM
38242013-05-16 Joseph Myers <joseph@codesourcery.com>
3825
3826 * math/libm-test.inc (struct test_sincos_data): New type.
3827 (RUN_TEST_LOOP_sincos): New macro.
3828 (sincos_test_data): New variable.
3829 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3830
e6e49e59
RH
38312013-05-16 Richard Henderson <rth@redhat.com>
3832
3833 * math/atest-exp2.c (LIMB64): New macro.
3834 (CONSTSZ): New macro.
3835 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3836 (hexdig): Move ...
3837 (print_mpn_fp): ... to function scope.
3838 (read_mpn_hex): Remove.
3839 (get_log2): Remove.
3840 (exp2_mpn): Use mp_log2.
3841 (main): Use mp_exp1.
3842
15c7c18d
JM
38432013-05-16 Joseph Myers <joseph@codesourcery.com>
3844
105a07df
JM
3845 * math/libm-test.inc: Remove comment about not testing "inexact"
3846 exceptions.
3847 (INEXACT_EXCEPTION): New macro.
3848 (NO_INEXACT_EXCEPTION): Likewise.
3849 (INVALID_EXCEPTION_OK): Update value.
3850 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3851 (OVERFLOW_EXCEPTION_OK): Likewise.
3852 (UNDERFLOW_EXCEPTION_OK): Likewise.
3853 (IGNORE_ZERO_INF_SIGN): Likewise.
3854 (ERRNO_UNCHANGED): Likewise.
3855 (ERRNO_EDOM): Likewise.
3856 (ERRNO_ERANGE): Likewise.
3857 (test_exceptions): Handle testing "inexact" exceptions.
3858 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3859 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3860 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3861 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3862 INEXACT_EXCEPTION.
3863 (rint_towardzero_test_data): Likewise.
3864 (rint_downward_test_data): Likewise.
3865 (rint_upward_test_data): Likewise.
3866
e9eee333
JM
3867 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3868 with OVERFLOW_EXCEPTION.
3869 (exp10_test_data): Likewise.
3870 (exp2_test_data): Likewise.
3871 (expm1_test_data): Likewise.
3872 (lgamma_test_data): Likewise.
3873 (pow_test_data): Likewise.
3874 (tgamma_test_data): Likewise.
3875 (yn_test_data): Remove duplicate test of overflow.
3876
1c38ff73
JM
3877 * math/libm-test.inc (struct test_cc_c_data): New type.
3878 (RUN_TEST_LOOP_cc_c): New macro.
3879 (cpow_test_data): New variable.
3880 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3881
15c7c18d
JM
3882 * math/libm-test.inc (struct test_f_L_data): New type.
3883 (RUN_TEST_LOOP_f_L): New macro.
3884 (llrint_test_data): New variable.
3885 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3886 (llrint_tonearest_test_data): New variable.
3887 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3888 (llrint_towardzero_test_data): New variable.
3889 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3890 (llrint_downward_test_data): New variable.
3891 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3892 (llrint_upward_test_data): New variable.
3893 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3894 (llround_test_data): New variable.
3895 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3896
f137ff13
PC
38972013-05-13 Peter Collingbourne <pcc@google.com>
3898
3899 * math/atest-exp2.c (get_log2): Remove const attribute.
3900
3608cb24
JM
39012013-05-15 Joseph Myers <joseph@codesourcery.com>
3902
3903 * math/libm-test.inc (struct test_f_l_data): New type.
3904 (RUN_TEST_LOOP_f_l): New macro.
3905 (lrint_test_data): New variable.
3906 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3907 (lrint_tonearest_test_data): New variable.
3908 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3909 (lrint_towardzero_test_data): New variable.
3910 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3911 (lrint_downward_test_data): New variable.
3912 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3913 (lrint_upward_test_data): New variable.
3914 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3915 (lround_test_data): New variable.
3916 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3917
39b1f617
PC
39182013-05-15 Peter Collingbourne <pcc@google.com>
3919
1deff3dc
PC
3920 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3921 (EXTRACT_WORDS64) Use where appropriate.
3922 (INSERT_WORDS64) Likewise.
3923
791f3ba0
PC
3924 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3925 constraints with x constraints.
3926 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3927
39b1f617
PC
3928 * malloc/obstack.c (_obstack_compat): Add initializer.
3929
12fba011
EM
39302013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3931
3932 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3933 si_trapno and add si_addr_lsb to _sifields.sigfault.
3934 (si_trapno): Remove macro.
3935 (si_addr_lsb): Define new macro.
3936 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3937
d369f531
JM
39382013-05-15 Joseph Myers <joseph@codesourcery.com>
3939
b861c6c4
JM
3940 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3941 instead of TEST_f_l.
3942 (llrint_test_tonearest): Likewise.
3943 (llrint_test_towardzero): Likewise.
3944 (llrint_test_downward): Likewise.
3945 (llrint_test_upward): Likewise.
3946 (llround_test): Likewise.
3947
7abeee12
JM
3948 * math/libm-test.inc (struct test_f_i_data): Add comment.
3949 (RUN_TEST_LOOP_f_b): New macro.
3950 (RUN_TEST_LOOP_f_b_tg): Likewise.
3951 (finite_test_data): New variable.
3952 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3953 (isfinite_test_data): New variable.
3954 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3955 (isinf_test_data): New variable.
3956 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3957 (isnan_test_data): New variable.
3958 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3959 (isnormal_test_data): New variable.
3960 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3961 (issignaling_test_data): New variable.
3962 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3963 (signbit_test_data): New variable.
3964 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3965
cbe8c4d3
JM
3966 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3967 with INVALID_EXCEPTION.
3968 (acosh_test_data): Likewise.
3969 (asin_test_data): Likewise.
3970 (atanh_test_data): Likewise.
3971 (fmod_test_data): Likewise.
3972 (log_test_data): Likewise.
3973 (log10_test_data): Likewise.
3974 (log2_test_data): Likewise.
3975 (pow_test_data): Likewise.
3976 (sqrt_test_data): Likewise.
3977 (y0_test_data): Likewise.
3978 (y1_test_data): Likewise.
3979 (yn_test_data): Likewise.
3980
5575c0e5
JM
3981 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3982 function contents.
3983
d369f531
JM
3984 * math/libm-test.inc (struct test_ff_i_data): New type.
3985 (RUN_TEST_LOOP_ff_i_tg): New macro.
3986 (isgreater_test_data): New variable.
3987 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3988 (isgreaterequal_test_data): New variable.
3989 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3990 (isless_test_data): New variable.
3991 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3992 (islessequal_test_data): New variable.
3993 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3994 (islessgreater_test_data): New variable.
3995 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3996 (isunordered_test_data): New variable.
3997 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3998
781fd748
DM
39992013-05-14 David S. Miller <davem@davemloft.net>
4000
4001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4002
87aa21df
JM
40032013-05-14 Joseph Myers <joseph@codesourcery.com>
4004
5e908270
JM
4005 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4006
f71172e5
JM
4007 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4008 extra_test to int.
4009 (struct test_f_i_data): Change type of max_ulp to int.
4010
8cfa635a
JM
4011 * math/libm-test.inc (test_ffI_f1_data): New type.
4012 (RUN_TEST_LOOP_ffI_f1): New macro.
4013 (remquo_test_data): New variable.
4014 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4015
2bcb36b2
JM
4016 * setjmp/tst-setjmp-fp.c: New file.
4017 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4018 (link-libm): New variable.
4019 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4020
acbd839a
JM
4021 * math/libm-test.inc (struct test_f_i_data): New type.
4022 (RUN_TEST_LOOP_f_i): New macro.
4023 (RUN_TEST_LOOP_f_i_tg): Likewise.
4024 (fpclassify_test_data): New variable.
4025 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4026 (ilogb_test_data): New variable.
4027 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4028
e414d745
JM
4029 * math/libm-test.inc (scalbln_test): Correct function name in END
4030 call.
4031
d9c2a0fd
JM
4032 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4033 (RUN_TEST_LOOP_fI_f1): New macro.
4034 (frexp_test_data): New variable.
4035 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4036
9dc9095d
JM
4037 * math/libm-test.inc (struct test_fF_f1_data): New type.
4038 (RUN_TEST_LOOP_fF_f1): New macro.
4039 (modf_test_data): New variable.
4040 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4041
87aa21df
JM
4042 * math/libm-test.inc (struct test_f_f1_data): New type.
4043 (RUN_TEST_LOOP_f_f1): New macro.
4044 (gamma_test_data): New variable.
4045 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4046 (lgamma_test_data): New variable.
4047 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4048
141af660
CD
40492013-05-13 Carlos O'Donell <carlos@redhat.com>
4050
4051 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4052 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4053 (main): Comment "tls" pseudo-hwcap.
4054
6d33265c
JM
40552013-05-13 Joseph Myers <joseph@codesourcery.com>
4056
68fc074c
JM
4057 * math/libm-test.inc (struct test_fl_f_data): New type.
4058 (RUN_TEST_LOOP_fl_f): New variable.
4059 (scalbln_test_data): New variable.
4060 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4061
243216e1
JM
4062 * math/libm-test.inc (struct test_fi_f_data): New type.
4063 (RUN_TEST_LOOP_fi_f): New macro.
4064 (ldexp_test_data): New variable.
4065 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4066 (scalbn_test_data): New variable.
4067 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4068
6a1992e2
JM
4069 * math/libm-test.inc (struct test_c_f_data): New type.
4070 (RUN_TEST_LOOP_c_f): New macro.
4071 (cabs_test_data): New variable.
4072 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4073 (carg_test_data): New variable.
4074 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4075 (cimag_test_data): New variable.
4076 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4077 (creal_test_data): New variable.
4078 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4079
0e400df5
JM
4080 * math/libm-test.inc (struct test_if_f_data): New type.
4081 (RUN_TEST_LOOP_if_f): New macro.
4082 (jn_test_data): New variable.
4083 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4084 (yn_test_data): New variable.
4085 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4086
6d33265c
JM
4087 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4088
f98ece5f
AZ
40892013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4090
4091 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4092 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4093
0f7d347b
SP
40942013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4095
43fe811b
SP
4096 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4097 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4098 (bench-deps): Add bench-timing.h.
4099 * benchtests-bench-skeleton.c: Include bench-timing.h.
4100 (main): Use TIMING_* macros instead of clock_gettime.
4101 * benchtests/bench-timing.h: New file.
4102
0f7d347b
SP
4103 [BZ #14582]
4104 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4105 Renamed from _LIB_VERSION.
4106 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4107
601a3a5f
JM
41082013-05-12 Joseph Myers <joseph@codesourcery.com>
4109
4f184d30
JM
4110 * math/libm-test.inc (struct test_fff_f_data): New type.
4111 (RUN_TEST_LOOP_fff_f): New macro.
4112 (fma_test_data): New variable.
4113 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4114 (fma_towardzero_test_data): New variable.
4115 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4116 (fma_downward_test_data): New variable.
4117 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4118 (fma_upward_test_data): New variable.
4119 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4120
08198877
JM
4121 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4122 (struct test_c_c_data): New type.
4123 (RUN_TEST_LOOP_c_c): New macro.
4124 (cacos_test_data): New variable.
4125 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4126 (cacosh_test_data): New variable.
4127 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4128 (casin_test_data): New variable.
4129 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4130 (casinh_test_data): New variable.
4131 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4132 (catan_test_data): New variable.
4133 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4134 (catanh_test_data): New variable.
4135 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4136 (ccos_test_data): New variable.
4137 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4138 (ccosh_test_data): New variable.
4139 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4140 (cexp_test_data): New variable.
4141 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4142 (clog_test_data): New variable.
4143 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4144 (clog10_test_data): New variable.
4145 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4146 (conj_test_data): New variable.
4147 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4148 (cproj_test_data): New variable.
4149 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4150 (csin_test_data): New variable.
4151 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4152 (csinh_test_data): New variable.
4153 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4154 (csqrt_test_data): New variable.
4155 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4156 (ctan_test_data): New variable.
4157 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4158 (ctan_tonearest_test_data): New variable.
4159 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4160 (ctan_towardzero_test_data): New variable.
4161 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4162 (ctan_downward_test_data): New variable.
4163 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4164 (ctan_upward_test_data): New variable.
4165 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4166 (ctanh_test_data): New variable.
4167 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4168 (ctanh_tonearest_test_data): New variable.
4169 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4170 (ctanh_towardzero_test_data): New variable.
4171 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4172 (ctanh_downward_test_data): New variable.
4173 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4174 (ctanh_upward_test_data): New variable.
4175 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4176 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4177 of BUILD_COMPLEX.
4178
601a3a5f
JM
4179 * math/libm-test.inc (struct test_ff_f_data): New type.
4180 (struct test_ff_f_data_nexttoward): Likewise.
4181 (RUN_TEST_LOOP_2_f): New macro.
4182 (RUN_TEST_LOOP_ff_f): Likewise.
4183 (atan2_test_data): New variable.
4184 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4185 (copysign_test_data): New variable.
4186 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4187 (fdim_test_data): New variable.
4188 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4189 (fmax_test_data): New variable.
4190 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4191 (fmin_test_data): New variable.
4192 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4193 (fmod_test_data): New variable.
4194 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4195 (hypot_test_data): New variable.
4196 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4197 (nextafter_test_data): New variable.
4198 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4199 (nexttoward_test_data): New variable.
4200 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4201 (pow_test_data): New variable.
4202 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4203 (pow_tonearest_test_data): New variable.
4204 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4205 (pow_towardzero_test_data): New variable.
4206 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4207 (pow_downward_test_data): New variable.
4208 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4209 (pow_upward_test_data): New variable.
4210 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4211 (remainder_test_data): New variable.
4212 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4213 (scalb_test_data): New variable.
4214 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4215 * sysdeps/i386/fpu/libm-test-ulps: Update.
4216
74c57478
JM
42172013-05-11 Joseph Myers <joseph@codesourcery.com>
4218
8329e4da
JM
4219 * math/libm-test.inc (fma_test): Use max_value instead of local
4220 variable fltmax.
4221 (nextafter_test): Likewise.
4222
74c57478
JM
4223 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4224 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4225 (acos_downward_test_data): New variable.
4226 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4227 (acos_upward_test_data): New variable.
4228 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4229 (acosh_test_data): New variable.
4230 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4231 (asin_test_data): New variable.
4232 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4233 (asin_tonearest_test_data): New variable.
4234 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4235 (asin_towardzero_test_data): New variable.
4236 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4237 (asin_downward_test_data): New variable.
4238 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4239 (asin_upward_test_data): New variable.
4240 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4241 (asinh_test_data): New variable.
4242 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4243 (atan_test_data): New variable.
4244 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4245 (atanh_test_data): New variable.
4246 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4247 (cbrt_test_data): New variable.
4248 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4249 (ceil_test_data): New variable.
4250 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4251 (cos_test_data): New variable.
4252 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4253 (cos_tonearest_test_data): New variable.
4254 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4255 (cos_towardzero_test_data): New variable.
4256 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4257 (cos_downward_test_data): New variable.
4258 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4259 (cos_upward_test_data): New variable.
4260 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4261 (cosh_test_data): New variable.
4262 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4263 (cosh_tonearest_test_data): New variable.
4264 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4265 (cosh_towardzero_test_data): New variable.
4266 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4267 (cosh_downward_test_data): New variable.
4268 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4269 (cosh_upward_test_data): New variable.
4270 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4271 (erf_test_data): New variable.
4272 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4273 (erfc_test_data): New variable.
4274 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4275 (exp_test_data): New variable.
4276 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4277 (exp_tonearest_test_data): New variable.
4278 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4279 (exp_towardzero_test_data): New variable.
4280 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4281 (exp_downward_test_data): New variable.
4282 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4283 (exp_upward_test_data): New variable.
4284 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4285 (exp10_test_data): New variable.
4286 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4287 (exp2_test_data): New variable.
4288 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4289 (expm1_test_data): New variable.
4290 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4291 (fabs_test_data): New variable.
4292 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4293 (floor_test_data): New variable.
4294 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4295 (j0_test_data): New variable.
4296 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4297 (j1_test_data): New variable.
4298 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4299 (log_test_data): New variable.
4300 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4301 (log10_test_data): New variable.
4302 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4303 (log1p_test_data): New variable.
4304 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4305 (log2_test_data): New variable.
4306 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4307 (logb_test_data): New variable.
4308 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4309 (logb_downward_test_data): New variable.
4310 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4311 (nearbyint_test_data): New variable.
4312 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4313 (rint_test_data): New variable.
4314 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4315 (rint_tonearest_test_data): New variable.
4316 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4317 (rint_towardzero_test_data): New variable.
4318 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4319 (rint_downward_test_data): New variable.
4320 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4321 (rint_upward_test_data): New variable.
4322 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4323 (round_test_data): New variable.
4324 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4325 (sin_test_data): New variable.
4326 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4327 (sin_tonearest_test_data): New variable.
4328 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4329 (sin_towardzero_test_data): New variable.
4330 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4331 (sin_downward_test_data): New variable.
4332 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4333 (sin_upward_test_data): New variable.
4334 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4335 (sinh_test_data): New variable.
4336 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4337 (sinh_tonearest_test_data): New variable.
4338 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4339 (sinh_towardzero_test_data): New variable.
4340 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4341 (sinh_downward_test_data): New variable.
4342 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4343 (sinh_upward_test_data): New variable.
4344 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4345 (sqrt_test_data): New variable.
4346 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4347 (tan_test_data): New variable.
4348 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4349 (tan_tonearest_test_data): New variable.
4350 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4351 (tan_towardzero_test_data): New variable.
4352 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4353 (tan_downward_test_data): New variable.
4354 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4355 (tan_upward_test_data): New variable.
4356 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4357 (tanh_test_data): New variable.
4358 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4359 (tgamma_test_data): New variable.
4360 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4361 (trunc_test_data): New variable.
4362 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4363 (y0_test_data): New variable.
4364 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4365 (y1_test_data): New variable.
4366 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4367 (significand_test_data): New variable.
4368 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4369
7187d844
CG
43702013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4371
4372 [BZ #12387]
4373 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4374
f63fae73
PT
43752013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4376
4377 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4378
8a67a4b3
AJ
43792013-05-10 Andreas Jaeger <aj@suse.de>
4380
4381 [BZ #15448]
4382 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4383 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4384
51df539d
JM
43852013-05-10 Joseph Myers <joseph@codesourcery.com>
4386
4387 * math/gen-libm-test.pl (adjust_arg): New function.
4388 (special_functions): Handle generating output in both functions
4389 and arrays.
4390 (parse_args): Likewise.
4391 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4392 $in_func argument to parse_args.
4393 * math/libm-test.inc (struct test_f_f_data): New type.
4394 (IF_ROUND_INIT_): New macro.
4395 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4396 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4397 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4398 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4399 (ROUND_RESTORE_): Likewise.
4400 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4401 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4402 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4403 (ROUND_RESTORE_FE_UPWARD): Likewise.
4404 (RUN_TEST_LOOP_f_f): New macro.
4405 (acos_test_data): New variable.
4406 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4407 (acos_tonearest_test_data): New variable.
4408 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4409
5c637fe5
SP
44102013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4411
4412 * benchtests/bench-skeleton.c (startup): Fix coding style.
4413
ab2b9461
JM
44142013-05-10 Joseph Myers <joseph@codesourcery.com>
4415
4416 [BZ #6809]
4417 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4418 negative infinity argument.
4419 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4420 negative infinity argument.
4421 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4422 negative infinity argument.
4423 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4424 domain errors.
4425
4c0fe6fe
FW
44262013-05-10 Florian Weimer <fweimer@redhat.com>
4427
4428 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4429 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4430 * iconv/iconv_prog.c (main): Likewise.
4431 * locale/programs/charmap-dir.c (charmap_readdir)
4432 (fopen_uncompressed): Likewise.
4433 * locale/programs/locfile.c (siblings_uncached)
4434 (write_locale_data): Use lstat64 instead of lstat.
4435 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4436 stat.
4437
a3375d29
AJ
44382013-05-10 Andreas Jaeger <aj@suse.de>
4439
4440 [BZ #15395]
4441 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4442 localization.
4443 Include <locale.h>.
4444
36129722
CD
44452013-05-09 Carlos O'Donell <carlos@redhat.com>
4446
4447 * elf/dl-close.c (_dl_close_worker): Add comments.
4448
faa7f811
JM
44492013-05-09 Joseph Myers <joseph@codesourcery.com>
4450
ed41ffef
JM
4451 [BZ #15359]
4452 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4453 high part of pi/2.
4454 (__ieee754_rem_pio2l): Update comments.
4455
d0213cd0
JM
4456 [BZ #15429]
4457 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4458 high part of pi/2.
4459 (__ieee754_rem_pio2l): Update comments.
4460
0d3e777a
JM
4461 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4462 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4463
24f56066
JM
4464 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4465 M_PI_4l.
4466
faa7f811
JM
4467 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4468 (M_PI_34_LOG10El): Likewise.
4469 (M_PI2_LOG10El): Likewise.
4470 (M_PI4_LOG10El): Likewise.
4471 (M_PI_LOG10El): Likewise.
4472
e9a5e0fd
AZ
44732013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4474
4475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4476
d8cd06db
JM
44772013-05-08 Joseph Myers <joseph@codesourcery.com>
4478
a0d9f9d7
JM
4479 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4480 (MINUS_ZERO_INIT): Likewise.
4481 (PLUS_INFTY_INIT): Likewise.
4482 (MINUS_INFTY_INIT): Likewise.
4483 (QNAN_VALUE_INIT): Likewise.
4484 (MAX_VALUE_INIT): Likewise.
4485 (MIN_VALUE_INIT): Likewise.
4486 (MIN_SUBNORM_VALUE_INIT): Likewise.
4487 (plus_zero): Initialize with PLUS_ZERO_INIT.
4488 (minus_zero): Initialize with MINUS_ZERO_INIT.
4489 (plus_infty): Initialize with PLUS_INFTY_INIT.
4490 (minus_infty): Initialize with MINUS_INFTY_INIT.
4491 (qnan_value): Initialize with QNAN_VALUE_INIT.
4492 (max_value): Initialize with MAX_VALUE_INIT.
4493 (min_value): Initialize with MIN_VALUE_INIT.
4494 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4495
ae08db3b
JM
4496 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4497 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4498 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4499 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4500
f44bf14a
JM
4501 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4502 (RUN_TEST_2_f): Likewise.
4503 (RUN_TEST_ff_f): Likewise.
4504 (RUN_TEST_fi_f): Likewise.
4505 (RUN_TEST_fl_f): Likewise.
4506 (RUN_TEST_fff_f): Likewise.
4507 (RUN_TEST_c_f): Likewise.
4508 (RUN_TEST_f_f1): Likewise.
4509 (RUN_TEST_fF_f1): Likewise.
4510 (RUN_TEST_fI_f1): Likewise.
4511 (RUN_TEST_ffI_f1): Likewise.
4512 (RUN_TEST_c_c): Likewise.
4513 (RUN_TEST_cc_c): Likewise.
4514 (RUN_TEST_f_i): Likewise.
4515 (RUN_TEST_f_i_tg): Likewise.
4516 (RUN_TEST_ff_i_tg): Likewise.
4517 (RUN_TEST_f_b): Likewise.
4518 (RUN_TEST_f_b_tg): Likewise.
4519 (RUN_TEST_f_l): Likewise.
4520 (RUN_TEST_f_L): Likewise.
4521 (RUN_TEST_sincos): Likewise.
4522 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4523 whether to show exceptions. Do not include ");\n" in return
4524 value.
4525 (special_functions): Output call to RUN_TEST_sincos instead of
4526 check_float calls. Update calls to new_test.
4527 (parse_args): Output call to single RUN_TEST_* macro instead of
4528 check_* calls and other assignments. Update calls to new_test.
4529
d8cd06db
JM
4530 [BZ #2546]
4531 [BZ #2560]
4532 [BZ #5159]
4533 [BZ #15426]
4534 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4535 input to result for tgamma overflow.
4536 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4537 (gamma_coeff): New variable.
4538 (NCOEFF): New macro.
4539 (gamma_positive): New function.
4540 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4541 underflow here. Use gamma_positive instead of exp (lgamma) for
4542 other arguments.
4543 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4544 (gamma_coeff): New variable.
4545 (NCOEFF): New macro.
4546 (gammaf_positive): New function.
4547 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4548 underflow here. Use gamma_positive instead of exp (lgamma) for
4549 other arguments.
4550 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4551 (gamma_coeff): New variable.
4552 (NCOEFF): New macro.
4553 (gammal_positive): New function.
4554 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4555 underflow here. Use gamma_positive instead of exp (lgamma) for
4556 other arguments.
4557 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4558 (gamma_coeff): New variable.
4559 (NCOEFF): New macro.
4560 (gammal_positive): New function.
4561 (__ieee754_gammal_r): Handle positive infinity, overflow and
4562 underflow here. Handle NaN the same as positive infinity. Remove
4563 check x < 0xffffffff for negative integers. Use gamma_positive
4564 instead of exp (lgamma) for other arguments.
4565 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4566 (gamma_coeff): New variable.
4567 (NCOEFF): New macro.
4568 (gammal_positive): New function.
4569 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4570 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4571 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4572 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4573 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4574 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4575 * sysdeps/generic/math_private.h (__gamma_productf): New
4576 prototype.
4577 (__gamma_product): Likewise.
4578 (__gamma_productl): Likewise.
4579 * math/Makefile (libm-calls): Add gamma_product.
4580 * math/libm-test.inc (tgamma_test): Add more tests.
4581 * sysdeps/i386/fpu/libm-test-ulps: Update.
4582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4583
bb7cf681
OB
45842013-05-08 Ondřej Bílka <neleai@seznam.cz>
4585
4586 * benchtests/bench-skeleton.c (main): Preheat CPU.
4587
ba853947
AJ
45882013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4589
4590 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4591
8347c74c
RM
45922013-05-07 Roland McGrath <roland@hack.frob.com>
4593
4594 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4595 and _dl_skip_args_internal.
4596
e8dd4791
CD
45972013-05-07 Carlos O'Donell <carlos@redhat.com>
4598
4599 * manual/message.texi (Message Translation): Talk about users.
4600 Message to key mapping impacts design.
4601
c7405830
RM
46022013-05-06 Roland McGrath <roland@hack.frob.com>
4603
a9173057
RM
4604 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4605
976e2f03
RM
4606 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4607
9723ffc5
RM
4608 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4609 * sysdeps/wordsize-64/glob64.c: ... here.
4610
962e6658
RM
4611 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4612 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4613 New macros.
4614
ee586a6d
RM
4615 * debug/getlogin_r_chk.c: Moved to ...
4616 * login/getlogin_r_chk.c: ... here.
4617 * debug/Makefile (routines): Move getlogin_r_chk to ...
4618 * login/Makefile (routines): ... here.
4619 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4620 * login/Versions (libc: GLIBC_2.4): ... here.
4621
355f9165
RM
4622 * io/poll.c (__poll): Renamed from poll.
4623 Add libc_hidden_def.
4624 (poll): Define as weak alias.
4625
bd9ffde6
RM
4626 * debug/ptsname_r_chk.c: Moved to ...
4627 * login/ptsname_r_chk.c: ... here.
4628 * debug/Makefile (routines): Move ptsname_r_chk to ...
4629 * login/Makefile (routines): ... here.
4630 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4631 * login/Versions (libc: GLIBC_2.4): ... here.
4632
8fb16a04
RM
4633 * posix/getlogin.c: Moved to ...
4634 * login/getlogin.c: ... here.
4635 * posix/getlogin_r.c: Moved to ...
4636 * login/getlogin_r.c: ... here.
4637 * posix/getlogin_r.c: Moved to ...
4638 * login/getlogin_r.c: ... here.
4639 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4640 * login/Makefile (routines): ... here.
4641 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4642 * login/Versions (libc: GLIBC_2.0): ... here.
4643
b99b892f
RM
4644 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4645 (setrlimit): Define as weak alias.
4646
c7405830
RM
4647 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4648 Call __ names for open, ftruncate, and close.
4649 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4650 (truncate): Define as weak alias.
4651
5bf96de5
JM
46522013-05-06 Joseph Myers <joseph@codesourcery.com>
4653
9ea3513c
JM
4654 * math/gen-libm-test.pl (parse_args): Initialize x before each
4655 test of frexp, modf and remquo.
4656
5bf96de5
JM
4657 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4658 test signgam value.
4659
16e616a7
AZ
46602013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4661
4662 [BZ #15418]
4663 [BZ #15419]
4664 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4665 internal tests.
4666 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4667
d5e82754
RM
46682013-05-06 Roland McGrath <roland@hack.frob.com>
4669
4670 * elf/dl-writev.h: New file.
4671 * elf/dl-misc.c: Include it.
4672 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4673 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4674
a7548d41
JM
46752013-05-04 Joseph Myers <joseph@codesourcery.com>
4676
b7dab1e4
JM
4677 * math/libm-test.inc (noXFails): Remove variable.
4678 (noXPasses): Likewise.
4679 (BUILD_COMPLEX_INT): Remove macro.
4680 (print_screen): Remove xfail argument.
4681 (print_screen_max_error): Likewise.
4682 (update_stats): Likewise.
4683 (print_max_error): Likewise. Update calls to other affected
4684 functions.
4685 (print_complex_max_error): Likewise.
4686 (test_single_exception): Update calls to print_screen.
4687 (test_single_errno): Likewise.
4688 (check_float_internal): Remove xfail argument. Update calls to
4689 other affected functions.
4690 (check_float): Likewise.
4691 (check_complex): Likewise.
4692 (check_int): Likewise.
4693 (check_long): Likewise.
4694 (check_bool): Likewise.
4695 (check_longlong): Likewise.
4696 (main): Don't print noXFails and noXPasses.
4697 * math/gen-libm-test.pl (top level): Don't mention expected
4698 failure handling in comment.
4699 (new_test): Don't handle expected failures.
4700 (parse_args): Don't mention expected failure handling in comment.
4701 (generate_testfile): Don't handle expected failures.
4702 (parse_ulps): Likewise.
4703 (print_ulps_file): Likewise.
4704 (get_failure): Remove function.
4705 (output_test): Don't handle expected failures.
4706 * make/README.libm-test: Don't mention expected failure handling.
4707
a7548d41
JM
4708 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4709 (minus_zero): Likewise.
4710 (plus_infty): Likewise.
4711 (minus_infty): Likewise.
4712 (qnan_value): Likewise.
4713 (max_value): Likewise.
4714 (min_value): Likewise.
4715 (min_subnorm_value): Likewise.
4716 (initialize): Do not initialize those variables dynamically.
4717
60bfd54c
RM
47182013-05-03 Roland McGrath <roland@hack.frob.com>
4719
cc0e6ed8
RM
4720 * io/open.c (__open_2): Moved to ...
4721 * io/open_2.c: ... this new file.
4722 * io/open64.c (__open64_2): Moved to ...
4723 * io/open64_2.c: ... this new file.
4724 * io/openat.c (__openat_2): Moved to ...
4725 * io/openat_2.c: ... this new file.
4726 * io/openat64.c (__openat64_2): Moved to ...
4727 * io/openat64_2.c: ... this new file.
4728 * io/Makefile (routines): Add them.
4729 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4730 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4731 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4732 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4733 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4734 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4735 (__openat64): Add hidden_ver.
4736 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4737 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4738
60bfd54c
RM
4739 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4740 Separately conditionalize setting of GLRO(dl_sysinfo) so
4741 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4742 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4743
83e7640f
AZ
47442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4745
4746 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4747 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4748 definition.
4749 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4750 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4751 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4752 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4753 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4754
d5dc2af3
JM
47552013-05-03 Joseph Myers <joseph@codesourcery.com>
4756
c31a5b1e
JM
4757 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4758 test signgam value.
4759
d5dc2af3
JM
4760 * math/libm-test.inc (hypot_test): Do not use
4761 IGNORE_ZERO_INF_SIGN.
4762
164fd39d
AJ
47632013-05-03 Andreas Jaeger <aj@suse.de>
4764
4765 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4766 Linux 3.9.
4767 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4768 (PF_MAX): Adjust for VSOCK change.
4769
8237f48c
AZ
47702013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4771
4772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4773
9df02941
CD
47742013-05-02 Carlos O'Donell <carlos@redhat.com>
4775
4776 [BZ #15264]
4777 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4778 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4779 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4780
d422395e
DM
47812013-05-02 David S. Miller <davem@davemloft.net>
4782
4783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4784
a07c5731
OB
47852013-05-01 Ondřej Bílka <neleai@seznam.cz>
4786
4787 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4788
1324e37f
RM
47892013-05-01 Roland McGrath <roland@hack.frob.com>
4790
4791 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4792
0695940b
RS
47932013-05-01 Richard Smith <richard@metafoo.co.uk>
4794
bb5f27ad 4795 [BZ #14952]
0695940b
RS
4796 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4797 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4798 Use __attribute__ ((__gnu_inline__)).
4799 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4800 Don't use __attribute__ ((__gnu_inline__)).
4801
10de07f5
JM
48022013-05-01 Joseph Myers <joseph@codesourcery.com>
4803
4804 [BZ #15423]
4805 * math/s_catan.c (__catan): Handle small real or imaginary part of
4806 input specially to avoid spurious underflow.
4807 * math/s_catanf.c (__catanf): Likewise.
4808 * math/s_catanh.c (__catanh): Likewise.
4809 * math/s_catanhf.c (__catanhf): Likewise.
4810 * math/s_catanhl.c (__catanhl): Likewise.
4811 * math/s_catanl.c (__catanl): Likewise.
4812 * math/libm-test.inc (catan_test): Add more tests.
4813 (catanh_test): Likewise.
4814 * sysdeps/i386/fpu/libm-test-ulps: Update.
4815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4816
cb4d5414
AZ
48172013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818
4819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4820
caf84319
JM
48212013-04-30 Joseph Myers <joseph@codesourcery.com>
4822
4823 [BZ #15416]
4824 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4825 accurately for denominator in atan2.
4826 * math/s_catanf.c (__catanf): Likewise.
4827 * math/s_catanh.c (__catanh): Likewise.
4828 * math/s_catanhf.c (__catanhf): Likewise.
4829 * math/s_catanhl.c (__catanhl): Likewise.
4830 * math/s_catanl.c (__catanl): Likewise.
4831 * math/libm-test.inc (catan_test): Add more tests.
4832 (catanh_test): Likewise.
4833 * sysdeps/i386/fpu/libm-test-ulps: Update.
4834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4835
d569c6ee
SP
48362013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4837
6dbe713d
SP
4838 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4839
f0ee064b
SP
4840 * benchtests/Makefile (bench): Remove slow benchmarks.
4841 * benchtests/atan-inputs: Add slow benchmark inputs.
4842 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4843 (BENCH_FUNC): Accept variant offset.
4844 (VARIANT): Define.
4845 * benchtests/bench-skeleton.c (main): Run benchmark for each
4846 variant.
4847 * benchtests/cos-inputs: Add slow benchmark inputs.
4848 * benchtests/exp-inputs: Likewise.
4849 * benchtests/pow-inputs: Likewise.
4850 * benchtests/sin-inputs: Likewise.
4851 * benchtests/slowatan-inputs: Remove.
4852 * benchtests/slowatan.c: Remove.
4853 * benchtests/slowcos-inputs: Remove.
4854 * benchtests/slowcos.c: Remove.
4855 * benchtests/slowexp-inputs: Remove.
4856 * benchtests/slowexp.c: Remove.
4857 * benchtests/slowpow-inputs: Remove.
4858 * benchtests/slowpow.c: Remove.
4859 * benchtests/slowsin-inputs: Remove.
4860 * benchtests/slowsin.c: Remove.
4861 * benchtests/slowtan-inputs: Remove.
4862 * benchtests/slowtan.c: Remove.
4863 * benchtests/tan-inputs: Add slow benchmark inputs.
4864 * scripts/bench.pl: Parse comments and directives.
4865
d569c6ee
SP
4866 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4867 in CPPFLAGS.
4868 ($(objpfx)bench-%.c): Remove *-ITER.
4869 * benchtests/bench-modf.c: Remove definition of ITER.
4870 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4871 (main): Loop for DURATION seconds instead of fixed number of
4872 iterations.
4873 * scripts/bench.pl: Don't expect iterations in parameters.
4874
a6a242fe
RM
48752013-04-29 Roland McGrath <roland@hack.frob.com>
4876
4877 * io/fchdir.c (__fchdir): Renamed from fchdir.
4878 (fchdir): Define as weak alias.
4879
f2da7793
JM
48802013-04-29 Joseph Myers <joseph@codesourcery.com>
4881
4882 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4883 (ERRNO_EDOM): Likewise.
4884 (ERRNO_ERANGE): Likewise.
4885 (noErrnoTests): New variable.
4886 (init_max_error): Set errno to 0.
4887 (test_single_errno): New function.
4888 (test_errno): Likewise.
4889 (check_float_internal): Call test_errno. Set errno to 0.
4890 (check_complex): Refer to errno tests in comment.
4891 (check_int): Call test_errno. Set errno to 0.
4892 (check_long): Likewise.
4893 (check_bool): Likewise.
4894 (check_longlong): Likewise.
4895 (cos_test): Use ERRNO_* flags for errno tests instead of
4896 check_int.
4897 (expm1_test): Likewise.
4898 (fmod_test): Likewise.
4899 (ilogb_test): Likewise.
4900 (lgamma_test): Likewise.
4901 (pow_test): Likewise.
4902 (remainder_test): Likewise.
4903 (sin_test): Likewise.
4904 (tan_test): Likewise.
4905 (yn_test): Likewise.
4906 (initialize): Set errno to 0.
4907 (main): Print number of errno tests.
4908 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4909
b1a36ceb
AJ
49102013-04-29 Andreas Jaeger <aj@suse.de>
4911
c3ed8088
AJ
4912 [BZ #15084]
4913 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4914 and RES_USEVC.
4915
f1a24198
AJ
4916 [BZ #15085]
4917 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4918 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4919 unimplemented.
4920
9ce3b2cb
AJ
4921 [BZ #15380]
4922 * stdlib/random.c (__initstate): Return NULL if
4923 __initstate fails.
4924
f1a24198 4925 [BZ #15086]
b1a36ceb
AJ
4926 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4927 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4928 RES_SNGLKUPREOP.
4929
7e7b6f36
AZ
49302013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4931
4932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4933
4d14f449
JM
49342013-04-29 Joseph Myers <joseph@codesourcery.com>
4935
4936 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4937 of individual tests.
4938 (casin_test): Likewise.
4939 (casinh_test): Likewise.
4940
5b4217d7
JM
49412013-04-27 Joseph Myers <joseph@codesourcery.com>
4942
4943 [BZ #15409]
4944 * math/s_catan.c (__catan): Handle arguments with large real or
4945 imaginary part separately without squaring.
4946 * math/s_catanf.c (__catanf): Likewise.
4947 * math/s_catanh.c (__catanh): Likewise.
4948 * math/s_catanhf.c (__catanhf): Likewise.
4949 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4950 and redefine.
4951 (__catanhl): Handle arguments with large real or imaginary part
4952 separately without squaring.
4953 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4954 and redefine.
4955 (__catanl): Handle arguments with large real or imaginary part
4956 separately without squaring.
4957 * math/libm-test.inc (catan_test): Add more tests.
4958 (catanh_test): Likewise.
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4961
4220c3ef
AJ
49622013-04-27 Andreas Jaeger <aj@suse.de>
4963
4964 [BZ #15007]
4965 * stdlib/stdlib.h: Update guards for qecvt.
4966 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4967 <stdlib.h>.
4968
4721b2d1
AM
49692013-04-27 Allan McRae <allan@archlinux.org>
4970
4971 * sysdeps/i386/fpu/libm-test-ulps: Update.
4972
f0302940
JM
49732013-04-26 Joseph Myers <joseph@codesourcery.com>
4974
9457fd95
JM
4975 [BZ #15406]
4976 * math/s_catan.c: Include <float.h>.
4977 (__catan): Ensure underflow exception occurs for underflowed
4978 result.
4979 * math/s_catanf.c: Include <float.h>.
4980 (__catanf): Ensure underflow exception occurs for underflowed
4981 result.
4982 * math/s_catanh.c: Include <float.h>.
4983 (__catanh): Ensure underflow exception occurs for underflowed
4984 result.
4985 * math/s_catanhf.c: Include <float.h>.
4986 (__catanhf): Ensure underflow exception occurs for underflowed
4987 result.
4988 * math/s_catanhl.c: Include <float.h>.
4989 (__catanhl): Ensure underflow exception occurs for underflowed
4990 result.
4991 * math/s_catanl.c: Include <float.h>.
4992 (__catanl): Ensure underflow exception occurs for underflowed
4993 result.
4994 * math/libm-test.inc (catan_test): Add more tests.
4995 (catanh_test): Likewise.
4996
f0302940
JM
4997 [BZ #15405]
4998 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4999 underflowed result.
5000 * math/s_ccoshf.c (__ccoshf): Likewise.
5001 * math/s_ccoshl.c (__ccoshl): Likewise.
5002 * math/s_csin.c (__csin): Likewise.
5003 * math/s_csinf.c (__csinf): Likewise.
5004 * math/s_csinh.c (__csinh): Likewise.
5005 * math/s_csinhf.c (__csinhf): Likewise.
5006 * math/s_csinhl.c (__csinhl): Likewise.
5007 * math/s_csinl.c (__csinl): Likewise.
5008 * math/libm-test.inc (ccos_test): Add more tests.
5009 (ccosh_test): Likewise.
5010 (csin_test): Likewise.
5011 (csinh_test): Likewise.
5012
aa630f59
AZ
50132013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5014
5015 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5016 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5017 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5018 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5019 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5020 powerpc/power5+/fpu folders.
5021 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5022
5023
1b835983
MT
50242013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5025
5026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5027
73709b26
JM
50282013-04-25 Joseph Myers <joseph@codesourcery.com>
5029
5030 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5031 additions to variable.
5032 [$(config-machine) = x86_64] (modules-names): Likewise.
5033 ($(objpfx)tst-audit3): Remove dependency.
5034 ($(objpfx)tst-audit3.out): Likewise.
5035 ($(objpfx)tst-audit4): Likewise.
5036 ($(objpfx)tst-audit4.out): Likewise.
5037 ($(objpfx)tst-audit5): Likewise.
5038 ($(objpfx)tst-audit5.out): Likewise.
5039 ($(objpfx)tst-audit6): Likewise.
5040 ($(objpfx)tst-audit6.out): Likewise.
5041 ($(objpfx)tst-audit7): Likewise.
5042 ($(objpfx)tst-audit7.out): Likewise.
5043 (tst-audit3-ENV): Remove variable.
5044 (tst-audit4-ENV): Likewise.
5045 (tst-audit5-ENV): Likewise.
5046 (tst-audit6-ENV): Likewise.
5047 (tst-audit7-ENV): Likewise.
5048 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5049 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5050 addition to variable.
5051 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5052 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5053 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5054 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5055 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5056 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5057 tst-audit3, tst-audit4 and tst-audit5.
5058 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5059 tst-audit6 and tst-audit7.
5060 [$(subdir) = elf] (modules-names): Add audit modules for those
5061 tests.
5062 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5063 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5064 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5065 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5066 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5067 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5068 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5069 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5070 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5071 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5072 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5073 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5074 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5075 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5076 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5077 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5078 Likewise.
5079 [$(subdir) = elf && $(config-cflags-avx) = yes]
5080 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5081 [$(subdir) = elf && $(config-cflags-avx) = yes]
5082 (CFLAGS-tst-auditmod4a.c): Likewise.
5083 [$(subdir) = elf && $(config-cflags-avx) = yes]
5084 (CFLAGS-tst-auditmod4b.c): Likewise.
5085 [$(subdir) = elf && $(config-cflags-avx) = yes]
5086 (CFLAGS-tst-auditmod6b.c): Likewise.
5087 [$(subdir) = elf && $(config-cflags-avx) = yes]
5088 (CFLAGS-tst-auditmod6c.c): Likewise.
5089 [$(subdir) = elf && $(config-cflags-avx) = yes]
5090 (CFLAGS-tst-auditmod7b.c): Likewise.
5091 * elf/tst-audit3.c: Move to ...
5092 * sysdeps/x86_64/tst-audit3.c: ... here.
5093 * elf/tst-audit4.c: Move to ...
5094 * sysdeps/x86_64/tst-audit4.c: ... here.
5095 * elf/tst-audit5.c: Move to ...
5096 * sysdeps/x86_64/tst-audit5.c: ... here.
5097 * elf/tst-audit6.c: Move to ...
5098 * sysdeps/x86_64/tst-audit6.c: ... here.
5099 * elf/tst-audit7.c: Move to ...
5100 * sysdeps/x86_64/tst-audit7.c: ... here.
5101 * elf/tst-auditmod3a.c: Move to ...
5102 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5103 * elf/tst-auditmod3b.c: Move to ...
5104 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5105 * elf/tst-auditmod4a.c: Move to ...
5106 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5107 * elf/tst-auditmod4b.c: Move to ...
5108 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5109 * elf/tst-auditmod5a.c: Move to ...
5110 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5111 * elf/tst-auditmod5b.c: Move to ...
5112 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5113 * elf/tst-auditmod6a.c: Move to ...
5114 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5115 * elf/tst-auditmod6b.c: Move to ...
5116 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5117 * elf/tst-auditmod6c.c: Move to ...
5118 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5119 * elf/tst-auditmod7a.c: Move to ...
5120 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5121 * elf/tst-auditmod7b.c: Move to ...
5122 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5123
1ef74943
PP
51242013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5125
5126 [BZ #15366]
5127 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5128 define unconditionally.
5129 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5130 define unconditionally.
5131 (INT8_C, INT16_C, etc.): Likewise.
5132
93fd48c5
MR
51332013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5134
ae9552cf
MR
5135 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5136 __ehdr_start with hidden visibility.
5137
93fd48c5
MR
5138 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5139
418601aa
CD
51402013-04-24 Carlos O'Donell <carlos@redhat.com>
5141
5142 * math/libm-test.inc (cos_test): Use accurate hex constants.
5143 (sincost_test): Likewise.
5144
2f38fbfe
JM
51452013-04-24 Joseph Myers <joseph@codesourcery.com>
5146
5e221800
JM
5147 * math/libm-test.inc (catan_test): Add more tests.
5148 (catanh_test): Likewise.
5149
77f143fd
JM
5150 * math/s_catanf.c (__catanf): Use suffixed floating-point
5151 constants.
5152 * math/s_catanhf.c (__catanhf): Likewise.
5153 * math/s_catanhl.c (__catanhl): Likewise.
5154 * math/s_catanl.c (__catanl): Likewise.
5155
2f38fbfe
JM
5156 [BZ #15394]
5157 * math/s_catan.c (__catan): Calculate imaginary part of result
5158 with log1p not log unless computing log of number close to 0.
5159 * math/s_catanf.c (__catanf): Likewise.
5160 * math/s_catanl.c (__catanl): Likewise.
5161 * math/s_catanh.c (__catanh): Calculate real part of result with
5162 log1p not log unless computing log of number close to 0.
5163 * math/s_catanhf.c (__catanhf): Likewise.
5164 * math/s_catanhl.c (__catanhl): Likewise.
5165 * math/libm-test.inc (catan_test): Add more tests.
5166 (catanh_test): Likewise.
5167 * sysdeps/i386/fpu/libm-test-ulps: Update.
5168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5169
45d69176
SP
51702013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5171
5172 * benchtests/Makefile: Mention files in which fast and slow
5173 paths of math functions are implemented.
5174
87f51853
RM
51752013-04-23 Roland McGrath <roland@hack.frob.com>
5176
5177 * sysdeps/posix/timespec_get.c: New file.
5178
3c026539
AZ
51792013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5180
5181 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5182 POWER.
5183 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5184 for POWER.
5185 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5186 powerpc/power5/fpu folders.
5187 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5188 * benchtests/Makefile: Add modf testcase.
5189 * benchtests/bench-modf.c: New file: Benchmark test for mo
5190
ff491d14
SP
51912013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5192
5193 [BZ #14888]
5194 * time/Makefile (tests): Add tst-strptime-whitespace.
5195 * time/strptime_l.c (get_number): Use ISSPACE.
5196 (__strptime_internal): Likewise.
5197 * time/tst-strptime-whitespace.c: New test case.
5198
7ed3f4e8
AS
51992013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5200
5201 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5202 member.
5203 (_nss_files_init): Set it here.
5204
5c95f7b6
HC
52052013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5206
5207 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5208 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5209 unsigned.
5210
d34c9158
JBG
52112013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5212
5213 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5214
2169712d
SP
52152013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5216
5217 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5218 size just once.
5219
29c5de99
DM
52202013-04-21 David S. Miller <davem@davemloft.net>
5221
5222 * po/ru.po: Update Russion translation from translation project.
5223
ccdad15d
AC
52242013-04-17 Adam Conrad <adconrad@0c3.net>
5225
5226 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5227 and setfsgid.
5228
0f122b8d
CD
52292013-04-17 Carlos O'Donell <carlos@redhat.com>
5230
5c5b07da 5231 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5232 * configure: Regenerate.
5c5b07da 5233 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5234 Add example to error message.
5235 * sysdeps/i386/configure: Regenerate.
5236
037714dd
SP
52372013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5238
5239 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5240 slowtan.
5241 * benchtests/cos-inputs: New file.
5242 * benchtests/slowcos-inputs: New file.
5243 * benchtests/slowcos.c: New file.
5244 * benchtests/slowtan-inputs: New file.
5245 * benchtests/slowtan.c: New file.
5246 * benchtests/tan-inputs: New file.
5247
e913141d
RM
52482013-04-16 Roland McGrath <roland@hack.frob.com>
5249
5250 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5251 considered kosher.
5252
a2964074
SP
52532013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5254
4856bcd2
SP
5255 * benchtests/Makefile: Include cppflags-iterator.mk to add
5256 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5257
a2964074
SP
5258 * Makefile.in (bench-clean): New target.
5259 * benchtests/Makefile (bench-clean): Likewise.
5260
9fbf9aca
DH
52612013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5262
5263 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5264
207d1e2a
TS
52652013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5266
5267 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5268
306dfba9
AS
52692013-04-15 Andreas Schwab <schwab@suse.de>
5270
5271 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5272 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5273 * nscd/pwdcache.c (cache_addpw): Likewise.
5274 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5275 more than recsize.
5276
206a6699
SP
52772013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5278
5279 * benchtests/Makefile (bench): Write all output to
5280 bench-out.tmp together.
5281
0582f6b3
AS
52822013-04-15 Andreas Schwab <schwab@suse.de>
5283
5284 * nscd/nscd.c (main): Don't fork again after closing files.
5285
acb4325f
SP
52862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5287
5cb26d0a
SP
5288 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5289
acb4325f
SP
5290 * benchtests/Rules (bench-deps): Collect dependencies into a
5291 single variable. Add Makefile to dependencies.
5292 ($(objpfx)bench-%.c): Depend on bench-deps.
5293
47792506
RM
52942013-04-12 Roland McGrath <roland@hack.frob.com>
5295 Xavier Roche <roche+kml2@exalead.com>
5296
5297 [BZ #15361]
5298 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5299 just that it's a file descriptor.
5300 * manual/llio.texi (Synchronizing AIO Operations): Update description
5301 for EBADF error from aio_fsync.
5302
8fc1bee5
SP
53032013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5304
5305 * Rules (bench): Move target definition...
5306 * benchtests/Makefile: ... here.
5307
aba5e333
CD
53082013-04-11 Carlos O'Donell <carlos@redhat.com>
5309
5310 * math/libm-test.inc (cos_test): Fix PI/2 test.
5311 (sincos_test): Likewise.
5312 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5313 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5314
273cdee8
AS
53152013-04-11 Andreas Schwab <schwab@suse.de>
5316
6ecec3b6
AS
5317 [BZ #13988]
5318 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5319 accept exponent character only when digits were seen.
5320 * stdio-common/Makefile (tests): Add bug26.
5321 * stdio-common/bug26.c: New file.
5322
273cdee8
AS
5323 [BZ #14293]
5324 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5325 non-freeable.
5326
8da491f5
SP
53272013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5328
01dc6df9
SP
5329 * Makeconfig (rtld-prefix): Define built linker prefix.
5330 * Rules (run-bench): Use it.
5331 * math/Makefile (run-regen-ulps): Likewise.
5332
8da491f5
SP
5333 * Rules (bench): Remove eval.
5334
abe7f530
SP
53352013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5336 Roland McGrath <roland@hack.frob.com>
5337 Ondrej Bilka <neleai@seznam.cz>
5338
5339 [BZ #15346]
5340 * time/getdate.c: Include ctype.h and alloca.h.
5341 (__getdate_r): Trim leading and trailing spaces of input.
5342 * time/tst-getdate.c (tests): Add tests with leading and
5343 trailing spaces.
5344
61c23e62
RM
53452013-04-08 Roland McGrath <roland@hack.frob.com>
5346
5347 [BZ #14280]
5348 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5349 when computing value.
5350
7208a313
CD
53512013-04-06 Carlos O'Donell <carlos@redhat.com>
5352
085b2d41
CD
5353 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5354 Use testrun.sh to run libm tests.
5355
7208a313
CD
5356 [BZ #15309]
5357 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5358
872c0acd
MM
53592013-04-06 Marko Myllynen <myllynen@redhat.com>
5360
5361 [BZ #15264]
5362 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5363
26510bdd
CD
53642013-04-06 Carlos O'Donell <carlos@redhat.com>
5365
5366 * Makefile.in (regen-ulps): New target.
5367 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5368 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5369 [ifneq (no,$(PERL)] (regen-ulps): New target.
5370 [ifeq (no,$(PERL)] (regen-ulps): New target.
5371 * math/libm-test.inc (ulps_file_name): Define.
5372 (output_dir): New variable.
5373 (options): Add "output-dir" option.
5374 (parse_opt): Handle 'o' case.
5375 (main): If output_dir is non-NULL use it as a prefix
5376 otherwise use "".
5377 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5378
a01f19c8
CD
53792013-04-06 Carlos O'Donell <carlos@redhat.com>
5380
5381 [BZ #10060, #10062]
5382 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5383 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5384 fail configure if __sync_val_compare_and_swap is not inlined.
5385 * sysdeps/i386/configure: Regenerate.
5386 * configure.in: Build for i686 when configured for i386.
5387 * configure: Regenerate.
5388 * README: Remove i386 reference.
5389
b7a329a5
CD
53902013-04-06 Carlos O'Donell <carlos@redhat.com>
5391
5392 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5393 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5394
bf0f50df
TS
53952013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5396
ee091edf
TS
5397 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5398 (lmsnanval): New variables.
5399 (F): Add conversion tests.
5400 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5401 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5402
a8b792d6
TS
5403 * stdio-common/tstdiomisc.c (F): Properly collect individual
5404 tests' results.
5405
a1cbf437
TS
5406 [BZ #14686, #15336]
5407 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5408 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5409 Instead, use input NaN values or generate a qNaN by arithmetic
5410 operation. Also fix bugs to comply with the standard.
5411 * math/libm-test.inc (remainder_test): Add more tests.
5412
8b43a0c9
TS
5413 [BZ #15335, #15342]
5414 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5416 input NaN values or generate a qNaN by arithmetic operation.
5417
d91da4ce
TS
5418 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5419 unreachable code.
5420
bf0f50df
TS
5421 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5422 definitions.
5423
05e166c8
JM
54242013-04-03 Joseph Myers <joseph@codesourcery.com>
5425
5426 [BZ #14478]
5427 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5428 underflowed result.
5429 * math/s_cexpf.c (__cexpf): Likewise.
5430 * math/s_cexpl.c (__cexpl): Likewise.
5431 * math/libm-test.inc (cexp_test): Add more tests.
5432
1cef1b19
AS
54332013-04-03 Andreas Schwab <schwab@suse.de>
5434
5435 [BZ #15330]
5436 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5437 order arrays from heap if bigger than alloca cutoff.
5438
74d87055
TS
54392013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5440
5441 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5442 (SNAN_TESTS_double): Refer to GCC PR56831.
5443 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5444 GCC PR56828.
5445
d755bba4
SP
54462013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5447
90d5d5bb
SP
5448 * Rules (bench): Move bench.out after the run is complete.
5449
73e0cd5d
SP
5450 * Rules (bench): Echo currently running benchmark.
5451
64aabd4b
SP
5452 * benchtests/Makefile (bench): Add atan and slowatan.
5453 * benchtests/atan-inputs: New file.
5454 * benchtests/slowatan-inputs: New file.
5455 * benchtests/slowatan.c: New file.
5456
c871eccd
SP
5457 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5458 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5459 its value.
5460
d755bba4
SP
5461 [BZ #15305]
5462 * sysdeps/unix/sysv/linux/kernel-features.h
5463 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5464 __ASSUME_XFS_RESTRICTED_CHOWN.
5465 * sysdeps/unix/sysv/linux/pathconf.c
5466 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5467 Save and restore errno.
5468
52ce4860
JM
54692013-04-02 Joseph Myers <joseph@codesourcery.com>
5470
5471 [BZ #15327]
5472 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5473 arguments using __kernel_casinh.
5474 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5475 arguments using __kernel_casinhf.
5476 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5477 arguments using __kernel_casinhl.
5478 * math/libm-test.inc (cacosh_test): Add more tests.
5479 * sysdeps/i386/fpu/libm-test-ulps: Update.
5480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5481
81f311c2
SP
54822013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5483
e7906a47
SP
5484 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5486
92e3664b
SP
5487 * bench/Makefile (bench): Add sin and slowsin.
5488 * benchtests/sin-inputs: New file.
5489 * benchtests/slowsin-inputs: New file.
5490 * benchtests/slowsin.c: New file.
5491
81f311c2
SP
5492 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5493 (bench): Add slowexp and slowpow.
5494 (exp-ITER): Increase iterations.
5495 (pow-ITER): Likewise.
5496 * benchtests/exp-inputs: Change input.
5497 * benchtests/pow-inputs: Likewise.
5498 * benchtests/slowexp-inputs: New file.
5499 * benchtests/slowexp.c: New file.
5500 * benchtests/slowpow-inputs: New file.
5501 * benchtests/slowpow.c: New file.
5502
ab0f1aa9
AZ
55032013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5504
5505 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5506 instructions.
5507 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5508 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5509 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5510 * benchtests/Makefile: Add rint benchtest.
5511 * benchtests/rint-inputs: Input for rint benchtest.
5512
57267616
TS
55132013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5514
5515 * Versions.def (libm): Add GLIBC_2.18.
5516 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5517 hidden libm prototypes.
5518 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5519 * math/Makefile (libm-calls): Add s_issignaling.
5520 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5521 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5522 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5523 declaration.
5524 * math/math.h [__USE_GNU] (issignaling): New macro.
5525 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5526 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5528 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5531 * manual/arith.texi (issignaling): New section.
5532 * manual/libm-err-tab.pl (@all_functions): Update comment.
5533 * math/gen-libm-test.pl (parse_args): Apply special handling for
5534 issignaling.
5535 * math/libm-test.inc (print_float, issignaling_test): New
5536 functions.
5537 (check_float_internal): Add issignaling checks.
5538 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5539 default definition.
5540 * sysdeps/powerpc/math-tests.h: New file.
5541 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5542 tests.
5543 * math/test-snan.c (TEST_FUNC): Likewise.
5544
6142896d
DM
55452013-03-30 David S. Miller <davem@davemloft.net>
5546
5547 * po/de.po: Update from translation team.
5548
ccc8cadf
JM
55492013-03-30 Joseph Myers <joseph@codesourcery.com>
5550
5551 [BZ #10357]
5552 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5553 imaginary part less than 1.0 and real part less than 0.5
5554 specially.
5555 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5556 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5557 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5558 (cacos_test): Add more tests.
5559 (casin_test): Likewise.
5560 (casinh_test): Likewise.
5561 * sysdeps/i386/fpu/libm-test-ulps: Update.
5562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5563
0f6a8d4b
SP
55642013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
0d1029de
SP
5566 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5567 ONE with its value.
5568
c2d94018
SP
5569 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5570 (__pow_mp): Replace ONE and MONE with their values.
5571 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5572 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5573 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5574 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5575 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5576 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5577
27ec37f1
SP
5578 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5579
a64d7e0e
SP
5580 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5581 (__pow_mp): Replace ZERO and MZERO with their values.
5582 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5583 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5584 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5585 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5586 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5587 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5588 (__sqr): Likewise.
5589
d26dd3eb
SP
5590 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5591
0f6a8d4b
SP
5592 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5593
e57b0c61
RM
55942013-03-28 Roland McGrath <roland@hack.frob.com>
5595
5596 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5597 Declare with __attribute__ ((weak)).
5598 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5599 Call __call_tls_dtors only if it's not NULL.
5600
356b3480
RM
56012013-03-28 Roland McGrath <roland@hack.frob.com>
5602
288f7d79
RM
5603 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5604 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5605 magic __ehdr_start linker symbol if it's defined.
5606 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5607 them up here if it was already done.
5608
dc0a0263
RM
5609 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5610 (_dl_aux_init): Use const in cast when setting it.
5611 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5612 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5613 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5614
3d3436ae
RM
5615 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5616 Declare them here.
5617 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5618 * csu/libc-tls.c: Nor here.
5619 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5620
356b3480
RM
5621 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5622 (__libc_message): Never call vsyslog.
5623
b0f1246a
AM
56242013-03-28 Alan Modra <amodra@gmail.com>
5625
5626 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5627 Define as empty.
5628 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5629 Likewise.
5630
fbbe2b9a
AZ
56312013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 [BZ #15214]
5634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5635 underflow.
5636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5637
1728ab37
SP
56382013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5639
7a86be6e
SP
5640 [BZ #15304]
5641 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5642 Don't add gid passed as argument.
5643
1728ab37
SP
5644 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5645
3a7182a1
JM
56462013-03-27 Joseph Myers <joseph@codesourcery.com>
5647
5648 [BZ #15307]
5649 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5650 imaginary part between 1.0 and 1.5 and real part less than 0.5
5651 specially.
5652 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5653 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5654 * math/libm-test.inc (cacos_test): Add more tests.
5655 (casin_test): Likewise.
5656 (casinh_test): Likewise.
5657 * sysdeps/i386/fpu/libm-test-ulps: Update.
5658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5659
6f2e90e7
SP
56602013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5661
5739f705
SP
5662 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5663 constants.
5664 (norm): Likewise.
5665 (denorm): Likewise.
5666 (__dbl_mp): Likewise.
5667 (add_magnitudes): Likewise.
5668 (sub_magnitudes): Likewise.
5669 (__add): Likewise.
5670 (__sub): Likewise.
5671 (__mul): Likewise.
5672 (__sqr): Likewise.
5673 (__inv): Likewise.
5674 (__dvd): Likewise.
5675
e375e83d
SP
5676 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5677 commented code.
5678 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5679 (__dubcos): Likewise.
5680 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5681 (__ieee754_acos): Likewise.
5682 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5683 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5684 (__exp1): Likewise.
5685 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5686 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5687 (log1): Likewise.
5688 (my_log2): Likewise.
5689 (checkint): Likewise.
5690 * sysdeps/ieee754/dbl-64/e_remainder.c
5691 (__ieee754_remainder): Likewise.
5692 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5694 (bsloww): Likewise.
5695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5696
6f2e90e7
SP
5697 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5698 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5699 MANTISSA_STORE_T to store computations on mantissa. Use
5700 macros for rounding and division.
5701 (denorm): Likewise.
5702 (__dbl_mp): Likewise.
5703 (add_magnitudes): Likewise.
5704 (sub_magnitudes): Likewise.
5705 (__mul): Likewise.
5706 (__sqr): Likewise.
5707 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5708 powers of two in terms of TWOPOW macro.
5709 (mp_no): Make type of mantissa as MANTISSA_T.
5710 [!RADIXI]: Define RADIXI.
5711 [!TWO52]: Define TWO52.
5712 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5713
fce14d4e
AZ
57142013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5715
5716 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5717 llroundl symbol when building for PPC32.
5718
9ad027fb
MW
57192013-03-24 Mark H Weaver <mhw@netris.org>
5720
5721 * manual/arith.texi (Normalization Functions): Fix prototypes for
5722 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5723
e42a38dd
AZ
57242013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725
5726 [BZ #13889]
5727 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5728 high value to check if expl overflow.
5729 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5730 to check for underflow and overflow.
5731 * math/libm-test.inc: Add exp test.
5732
2e0fb521
DL
57332013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5734
5735 [BZ #11120]
5736 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5737 with NOT_IN_libc.
5738
b5784d95
AZ
57392013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5740
5741 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5742 symbol.
5743
5aa4a1a1
TS
57442013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5745
bdef0be7
TS
5746 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5747 wrap blocks consisting of several statements.
5748
5aa4a1a1
TS
5749 * sysdeps/generic/math-tests.h: New file.
5750 * sysdeps/i386/fpu/math-tests.h: Likewise.
5751 * math/test-snan.c: Include it.
5752 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5753
98c48fe5
JM
57542013-03-21 Joseph Myers <joseph@codesourcery.com>
5755
5756 [BZ #15285]
5757 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5758 (__ieee754_j0l): Do not improve calculations using cos of twice
5759 input for inputs above LDBL_MAX / 2.0L.
5760 (__ieee754_y0l): Likewise.
5761 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5762 (__ieee754_j1l): Do not improve calculations using cos of twice
5763 input for inputs above LDBL_MAX / 2.0L.
5764 (__ieee754_y1l): Likewise.
5765 * math/libm-test.inc (j0_test): Add another test.
5766 (j1_test): Likewise.
5767 (y0_test): Likewise.
5768 (y1_test): Likewise.
5769 * sysdeps/i386/fpu/libm-test-ulps: Update.
5770
3775a8bc
SP
57712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5772
5773 * Rules ($(objpfx)bench-%.c): Include code from a C source
5774 file.
5775
0a1b2ae6
JM
57762013-03-21 Joseph Myers <joseph@codesourcery.com>
5777
5778 [BZ #15287]
5779 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5780 imaginary part 1.0 and real part less than 0.5 specially.
5781 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5782 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5783 * math/libm-test.inc (cacos_test): Add more tests.
5784 (casin_test): Likewise.
5785 (casinh_test): Likewise.
5786 * sysdeps/i386/fpu/libm-test-ulps: Update.
5787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5788
b33d4ce4
SP
57892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5790
5791 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5792 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5793
bef0b507
JM
57942013-03-20 Joseph Myers <joseph@codesourcery.com>
5795
5796 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5797 * config.make.in (config-cflags-sse4): Remove variable.
5798 (config-cflags-avx): Likewise.
5799 (config-cflags-sse2avx): Likewise.
5800 (config-cflags-novzeroupper): Likewise.
5801 (config-asflags-i686): Likewise.
5802 (have-mfma4): Likewise.
5803 (have-as-vis3): Likewise.
5804 (MIG): Likewise.
5805 * configure.in (MIG): Do not AC_SUBST.
5806 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5807 (libc_cv_cc_sse4): Do not AC_SUBST.
5808 (libc_cv_cc_avx): Likewise.
5809 (libc_cv_cc_sse2avx): Likewise.
5810 (libc_cv_cc_novzeroupper): Likewise.
5811 (libc_cv_cc_fma4): Likewise.
5812 (libc_cv_as_i686): Likewise.
5813 (libc_cv_sparc_as_vis3): Likewise.
5814 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5815 LIBC_CONFIG_VAR.
5816 (config-asflags-i686): Likewise.
5817 (config-cflags-avx): Likewise.
5818 (config-cflags-sse2avx): Likewise.
5819 (have-mfma4): Likewise.
5820 (config-cflags-novzeroupper): Likewise.
5821 * sysdeps/mach/configure.in (MIG): Likewise.
5822 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5823 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5824 LIBC_CONFIG_VAR.
5825 (config-cflags-avx): Likewise.
5826 (config-cflags-sse2avx): Likewise.
5827 (have-mfma4): Likewise.
5828 (config-cflags-novzeroupper): Likewise.
5829 * configure: Regenerated.
5830 * sysdeps/i386/configure: Likewise.
5831 * sysdeps/mach/configure: Likewise.
5832 * sysdeps/sparc/configure: Likewise.
5833 * sysdeps/x86_64/configure: Likewise.
5834
912cc4b3
RM
58352013-03-20 Roland McGrath <roland@hack.frob.com>
5836
5837 [BZ #14812]
5838 * locale/programs/localedef.c (options): Put N_ translation marker
5839 on argument names, not just descriptions.
5840
04eed2b0
MS
58412013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5842
5843 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5844
a065ceff
OB
58452013-03-20 Ondřej Bílka <neleai@seznam.cz>
5846
9bb2a810 5847 [BZ #14176]
a065ceff
OB
5848 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5849
a600e5ce
RM
58502013-03-19 Roland McGrath <roland@hack.frob.com>
5851
5852 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5853 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5854 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5855 [!BEFORE_ABORT] (before_abort): New function.
5856 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5857 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5858 (writev_for_fatal): New function.
5859 (WRITEV_FOR_FATAL): New macro; call that.
5860 (backtrace_and_maps): New function.
5861 (BEFORE_ABORT): New macro; call that.
5862 (struct str_list): Type removed.
5863 (__libc_message, __libc_fatal): Functions removed.
5864 Include <sysdeps/posix/libc_fatal.c> instead.
5865
6b18bea6
JM
58662013-03-19 Joseph Myers <joseph@codesourcery.com>
5867
5868 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5869 constants.
5870 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5871 double constants.
5872
aaa8cb4b
AS
58732013-03-19 Andreas Schwab <schwab@suse.de>
5874
44673770
AS
5875 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5876 * sysdeps/gnu/configure: Regenerate.
5877
aaa8cb4b
AS
5878 * configure.in: Substitute libc_cv_rtlddir.
5879 * configure: Regenerate.
5880 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5881 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5882 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5883 * elf/Makefile (install-others, CFLAGS-interp.c)
5884 (ldso_install, common-ldd-rewrite): Likewise.
5885 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5886 $(inst_slibdir)/$(rtld-installed-name).
5887 * scripts/rellns-sh: Add -p option.
5888 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5889 for source.
5890
d3cfc668
SP
58912013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5892
5893 * manual/nptl.texi: Renamed to ...
5894 * manual/threads.texi: ... this.
5895 * manual/Makefile (chapters): Update.
5896
0e2b9cdd
RM
58972013-03-18 Roland McGrath <roland@hack.frob.com>
5898
5899 [BZ #14812]
5900 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5901 on argument names, not just descriptions.
0e2b9cdd
RM
5902 * malloc/memusagestat.c (options): Likewise.
5903 * nss/getent.c (options): Likewise.
63270c24
RM
5904
59052013-03-18 Benno Schulenberg <bensberg@justemail.net>
5906
5907 [BZ #14812]
5908 * iconv/iconv_prog.c (options): Put N_ translation marker
5909 on argument names, not just descriptions.
5910 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5911
b2e1393c
OB
59122013-03-18 Ondrej Bilka <neleai@seznam.cz>
5913
5914 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5915 implementation which is faster on all x86_64 architectures.
5916 Tested on AMD, Intel Nehalem, SNB, IVB.
5917 * sysdeps/x86_64/strnlen.S: Likewise.
5918
5919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5920 Remove all multiarch strlen and strnlen versions.
5921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5922 Remove strlen and strnlen related parts.
5923
5924 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5925 Inline strlen part.
5926 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5927
5928 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5929 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5930 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5931 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5932 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5933 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5934
ec4ff04d
CD
59352013-03-17 Carlos O'Donell <carlos@redhat.com>
5936
5937 * manual/memory.texi (Malloc Tunable Parameters):
5938 Sort parameters alphabetically. Add comments for missing entries.
5939
cd18e90a
DM
59402013-03-17 David S. Miller <davem@davemloft.net>
5941
5942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5943
2a185d32
JM
59442013-03-16 Joseph Myers <joseph@codesourcery.com>
5945
d2f9799e
JM
5946 [BZ #15283]
5947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5948 for arguments at most half maximum finite value.
5949 * math/libm-test.inc (j0_test): Add more tests.
5950 (j1_test): Likewise.
5951 (y0_test): Likewise.
5952 (y1_test): Likewise.
5953 * sysdeps/i386/fpu/libm-test-ulps: Update.
5954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5955
2a185d32
JM
5956 [BZ #14155]
5957 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5958 1 / x and functions P and Q for arguments above 0x1p256L.
5959 (__ieee754_y0l): Likewise.
5960 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5961 (__ieee754_y1l): Likewise.
5962 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5963 (j1_test): Likewise.
5964 (y0_test): Likewise.
5965 (y1_test): Likewise.
5966
6cbec759
TS
59672013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5968
5969 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5970 variable.
5971
bc16e260
RM
59722013-03-15 Roland McGrath <roland@hack.frob.com>
5973
aefc9b8c
RM
5974 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5975 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5976 zero since it's initialized to EXEC_PAGESIZE.
5977
bc16e260
RM
5978 * sysdeps/unix/sysv/linux/ldsodefs.h
5979 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5980 * sysdeps/generic/ldsodefs.h: ... here.
5981
a57da955
TS
59822013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5983
af00a34d
TS
5984 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5985
495ded2c
TS
5986 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5987 math/test-snan.c.
5988 * math/test-snan.c: Renamed from
5989 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5990 * math/Makefile (tests): Add test-snan.
5991 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5992 test-powerpc-snan.
5993
777b0332
TS
5994 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5995 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5996 functions.
5997 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5998 __builtin_nan family of functions.
5999 * math/libm-test.inc (initialize): Initialize qnan_value with
6000 __builtin_nan family of functions.
6001 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6002 Remove variables.
6003 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6004 Remove functions.
6005 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6006 storage class. Initialize qNaN_var and sNaN_var with
6007 __builtin_nan and __builtin_nans families of functions,
6008 respectively.
6009
64d063b8
TS
6010 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6011 (sqrt_test): Remove duplicate test with qNaN input.
6012 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6013 (round_test, signbit_test, significand_test): Note missing +/-Inf
6014 as well as qNaN tests.
6015
67e971f1
TS
6016 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6017 qNaN_var. Fix a few strings, too.
6018 * math/libm-test.inc (nan_value): Rename to qnan_value.
6019 * math/gen-libm-test.pl (%beautify): Adjust to that.
6020 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6021 * math/test-misc.c (main): Likewise.
6022 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6023 to __qnan_bytes, and __qnan_union, respectively.
6024 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6025 Likewise.
6026 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6027 and lqnanval, respectively.
6028 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6029 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6030 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6031 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6032
64487e12
TS
6033 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6034 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6035 doubles.
6036
e015e27b
TS
6037 * math/test-misc.c (main): Fix copy'n'pastos.
6038 * misc/tst-efgcvt.c (special): Likewise.
6039
a57da955
TS
6040 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6041 Remove declarations.
6042
1e380345
SP
60432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6044
6045 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6046 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6047 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6048 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6049
ef26eece
AZ
60502013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6051
6052 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6053 macro to return vdso values correctly in IFUNC implementations.
6054 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6055 Optimization by using IFUNC.
6056
8cfdb7e0
SP
60572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6058 Richard Henderson <rth@redhat.com>
6059 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6060
6061 * Makefile.in (bench): New target.
6062 * NEWS: Mention the benchmark framework.
6063 * Rules (bench): Likewise.
6064 (binaries-bench): Generate binaries for functions to
6065 benchmark.
6066 * benchtests/Makefile: New makefile for benchmark tests.
6067 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6068 programs.
6069 * benchtests/exp-inputs: New input file for EXP function.
6070 * benchtests/pow-inputs: New input file for POW function.
6071 * scripts/bench.pl: New script to generate source files for
6072 benchmark programs.
6073
bcda9880
SP
60742013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6075
d22ca8cd
SP
6076 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6077 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6078 computations on mantissa. Use macros for rounding and
6079 division.
6080 (denorm): Likewise.
6081 (__dbl_mp): Likewise.
6082 (add_magnitudes): Likewise.
6083 (sub_magnitudes): Likewise.
6084 (__mul): Likewise.
6085 (__sqr): Likewise.
6086 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6087 powers of two in terms of TWOPOW macro.
6088 (mp_no): Make type of mantissa as MANTISSA_T.
6089 [!RADIXI]: Define RADIXI.
6090 [!TWO52]: Define TWO52.
6091 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6092
bcda9880
SP
6093 * manual/nptl.texi (cindex): Modify threads to pthreads.
6094
06d5adfb
JM
60952013-03-15 Joseph Myers <joseph@codesourcery.com>
6096
6097 * sysdeps/x86_64/preconfigure: Regenerated.
6098
41c7328e
JM
60992013-03-14 Joseph Myers <joseph@codesourcery.com>
6100
6101 [BZ #14155]
6102 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6103 0x1p28 and above.
6104 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6105 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6106 0x1p28 and above.
6107 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6108 * math/libm-test.inc (j0_test): Do not allow one spurious
6109 underflow exception.
6110 (y1_test): Likewise.
6111
e25cfa60
SP
61122013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6113
0409959c
SP
6114 * manual/Makefile (chapters): Add nptl.
6115 * manual/debug.texi (Debugging Support): Add link to Threads
6116 chapter.
6117 * manual/nptl.texi: New file.
6118
e25cfa60
SP
6119 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6120
58a1335e
PB
61212013-03-14 Petr Baudis <pasky@ucw.cz>
6122
6123 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6124 for non-NULL pointer before the memory validity test. Pointed
6125 out by Holger Brunck <holger.brunck@keymile.com>.
6126
9dc7c64f
AS
61272013-03-13 Andreas Schwab <schwab@suse.de>
6128
6129 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6130 instead of .os.
6131
54206aa6
JM
61322013-03-13 Joseph Myers <joseph@codesourcery.com>
6133
6134 * timezone/zic.c: Update from tzcode 2013b.
6135
e98cdb38
CD
61362013-03-12 Carlos O'Donell <carlos@redhat.com>
6137
6138 * manual/install.texi (Configuring and compiling):
6139 Mention i686 and i586.
6140 * INSTALL: Regenerate.
6141
9967e003
RM
61422013-03-12 Roland McGrath <roland@hack.frob.com>
6143
6144 * sysdeps/init_array/elf-init.c: New file.
6145 * csu/elf-init.c
6146 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6147 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6148
6149 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6150 __gmon_start__ as global, but as static with a .preinit_array pointer.
6151 * sysdeps/init_array/gmon-start.c: New file. Use that.
6152 * sysdeps/init_array/crti.S: New file, empty except for comments.
6153 * sysdeps/init_array/crtn.S: Likewise.
6154
e6b5a293 61552013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6156
6157 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6158 definining bcopy.
80f844c9
OB
6159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6160 Remove Prefer_SSE_for_memop.
6161 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6162 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6163 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6165 memset-x86-64.
80f844c9 6166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6167 Remove bzero, memset ifunc support.
80f844c9
OB
6168 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6169 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6170 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6171 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6172
fb6b0fcb
AS
61732013-03-11 Andreas Schwab <schwab@suse.de>
6174
6175 [BZ #15234]
6176 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6177 by SHLIB_COMPAT.
6178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6179 (GLIBC_2.16): Remove pthread_atfork.
6180
3e6bd4b1
PP
61812013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6182
6183 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6184 (ptestcases.h): Likewise.
6185
222d7f00
RM
61862013-03-08 Roland McGrath <roland@hack.frob.com>
6187
6188 * Makeconfig ($(common-objpfx)config.status): Depend on
6189 sysdeps/*/preconfigure{,.in} too.
6190
1ba4f030
JM
61912013-03-08 Joseph Myers <joseph@codesourcery.com>
6192
a222d91a
JM
6193 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6194 (__free_hook): Use void * instead of __malloc_ptr_t.
6195 (__malloc_hook): Likewise.
6196 (__realloc_hook): Likewise.
6197 (__memalign_hook): Likewise.
6198 (__after_morecore_hook): Likewise.
6199 * malloc/arena.c (save_malloc_hook): Likewise.
6200 (save_free_hook): Likewise.
6201 * malloc/hooks.c (malloc_hook_ini): Likewise.
6202 (realloc_hook_ini): Likewise.
6203 (memalign_hook_ini): Likewise.
6204 * malloc/malloc.c (malloc_hook_ini): Likewise.
6205 (realloc_hook_ini): Likewise.
6206 (memalign_hook_ini): Likewise.
6207 (__free_hook): Likewise.
6208 (__malloc_hook): Likewise.
6209 (__realloc_hook): Likewise.
6210 (__memalign_hook): Likewise.
6211 (__libc_malloc): Likewise.
6212 (__libc_free): Likewise.
6213 (__libc_realloc): Likewise.
6214 (__libc_memalign): Likewise.
6215 (__libc_valloc): Likewise.
6216 (__libc_pvalloc): Likewise.
6217 (__libc_calloc): Likewise.
6218 (__posix_memalign): Likewise.
6219 * malloc/morecore.c (__sbrk): Likewise.
6220 (__default_morecore): Likewise.
6221
5cc45e10
JM
6222 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6223
dd54b864
JM
6224 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6225 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6226 __malloc_ptrdiff_t.
6227
1ba4f030
JM
6228 * malloc/malloc.h (__malloc_size_t): Remove macro.
6229 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6230 __malloc_size_t.
6231 (old_memalign_hook): Likewise.
6232 (old_realloc_hook): Likewise.
6233 (struct hdr): Likewise.
6234 (flood): Likewise.
6235 (mallochook): Likewise.
6236 (memalignhook): Likewise.
6237 (reallochook): Likewise.
6238 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6239 (tr_old_realloc_hook): Likewise.
6240 (tr_old_memalign_hook): Likewise.
6241 (tr_mallochook): Likewise.
6242 (tr_reallochook): Likewise.
6243 (tr_memalignhook): Likewise.
6244
edf66e57
AZ
62452013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246
6247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6248 default_ldbl_pack and using as default implementation.
6249 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6250 implementation.
6251 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6252 redundant definition.
6253 (ldbl_insert_mantissa): Likewise.
6254 (ldbl_canonicalize): Likewise.
6255 (ldbl_nearbyint): Likewise.
6256 (ldbl_pack): Rename to ldbl_pack_ppc.
6257 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6258 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6259 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6260
6d9145d8
SP
62612013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6262
6263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6264 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6266 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6268 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6269 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6270 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6271
4dd4e157
AJ
62722013-03-07 Andreas Jaeger <aj@suse.de>
6273
6274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6275 bits/mman-linux.h.
6276
adbb8027
SP
62772013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6278
ce544b5b
SP
6279 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6280 Include mpa.h and declare __MPEXP.
6281 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6282 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6283 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6284 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6285 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6286 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6287 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6288
4cc149fd
SP
6289 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6290 (__slowpow): Use long double EXPL and LOGL functions to
6291 compute POW.
6292 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6293 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6294 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6295 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6296 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6298
e6ebd4a7
SP
6299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6300 intermediate variable to calculate exponent.
6301 (__sqr): Likewise.
6302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6303 Likewise.
6304 (__sqr): Likewise.
6305
82a9811d
SP
6306 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6307 [!NO__SQR]: Define __sqr.
6308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6309 and NO__SQR. Remove all code except __mul and __sqr. Include
6310 sysdeps/ieee754/dbl-64/mpa.c.
6311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6312
adbb8027
SP
6313 [BZ #12723]
6314 * posix/Makefile (tests): Add tst-pathconf.
6315 * posix/tst-pathconf.c: New test case.
6316 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6317 _PC_PIPE_BUF.
6318 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6319
39120df9
PF
63202013-03-06 Patsy Franklin <pfrankli@redhat.com>
6321
6322 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6323
67525cb8
AJ
63242013-03-06 Andreas Jaeger <aj@suse.de>
6325
664a9ce4
AJ
6326 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6327 definition via __MAP_ANONYMOUS.
6328
8e39047d
AJ
6329 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6330 it's not part of Linux headers.
6331
67525cb8
AJ
6332 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6333 (MAP_HUGE_MASK): Define.
6334
6335 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6336 Define.
6337 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6339 Define.
6340 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6341 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6342 Define.
6343 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6344 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6345 Define.
6346 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6347
6348 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6349 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6350 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6351 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6352 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6353 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6354
6355 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6356 Handle f2fs.
6357
6358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6359 Handle f2fs and efivarfs.
6360
6361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6362 f2fs.
6363
6364 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6365 (EFIVARFS_MAGIC): Add.
6366 (F2FS_LINK_MAX): Add.
6367
e1b42695
PP
63682013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6369
6370 * stdio-common/vfprintf.c: Replace __builtin_expect with
6371 __glibc_unlikely.
6372
2d67d91a
JM
63732013-03-06 Joseph Myers <joseph@codesourcery.com>
6374
6375 [BZ #13550]
6376 * sysdeps/generic/bp-sym.h: Remove file.
6377 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6378 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6379 <bp-sym.h> and <bp-asm.h>.
6380 (__longjmp): Don't use BP_SYM.
6381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6382 and <bp-asm.h>.
6383 (memcpy): Don't use BP_SYM.
6384 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6385 <bp-sym.h> and <bp-asm.h>.
6386 (memcpy): Don't use BP_SYM.
6387 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6388 <bp-asm.h>.
6389 (memcpy): Don't use BP_SYM.
6390 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6391 <bp-asm.h>.
6392 (memset): Don't use BP_SYM.
6393 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6394 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6395 (__bzero): Don't use BP_SYM.
6396 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6397 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6398 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6399 <bp-sym.h> and <bp-asm.h>.
6400 (memcmp): Don't use BP_SYM. Remove comment about bounded
6401 pointers.
6402 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6403 <bp-sym.h> and <bp-asm.h>.
6404 (memcpy): Don't use BP_SYM.
6405 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6406 <bp-sym.h> and <bp-asm.h>.
6407 (memset): Don't use BP_SYM.
6408 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6409 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6410 (__bzero): Don't use BP_SYM.
6411 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6412 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6413 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6414 <bp-sym.h> and <bp-asm.h>.
6415 (strncmp): Don't use BP_SYM. Remove comment about bounded
6416 pointers.
6417 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6418 <bp-sym.h> and <bp-asm.h>.
6419 (memcpy): Don't use BP_SYM.
6420 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6421 <bp-sym.h> and <bp-asm.h>.
6422 (memset): Don't use BP_SYM.
6423 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6424 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6425 (__bzero): Don't use BP_SYM.
6426 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6427 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6429 <bp-sym.h> and <bp-asm.h>.
6430 (__memchr): Don't use BP_SYM.
6431 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6432 <bp-sym.h> and <bp-asm.h>.
6433 (memcmp): Don't use BP_SYM. Remove comment about bounded
6434 pointers.
6435 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6436 <bp-sym.h> and <bp-asm.h>.
6437 (memcpy): Don't use BP_SYM.
6438 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6439 <bp-sym.h> and <bp-asm.h>.
6440 (__mempcpy): Don't use BP_SYM.
6441 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6442 <bp-sym.h> and <bp-asm.h>.
6443 (__memrchr): Don't use BP_SYM.
6444 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (memset): Don't use BP_SYM.
6447 (__bzero): Likewise.
6448 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6449 <bp-sym.h> and <bp-asm.h>.
6450 (__rawmemchr): Don't use BP_SYM.
6451 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6452 <bp-sym.h> and <bp-asm.h>.
6453 (__STRCMP): Don't use BP_SYM.
6454 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6455 <bp-sym.h> and <bp-asm.h>.
6456 (strchr): Don't use BP_SYM.
6457 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6458 <bp-sym.h> and <bp-asm.h>.
6459 (__strchrnul): Don't use BP_SYM.
6460 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6461 <bp-sym.h> and <bp-asm.h>.
6462 (strlen): Don't use BP_SYM.
6463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6464 <bp-sym.h> and <bp-asm.h>.
6465 (strncmp): Don't use BP_SYM. Remove comment about bounded
6466 pointers.
6467 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6468 <bp-sym.h> and <bp-asm.h>.
6469 (__strnlen): Don't use BP_SYM.
6470 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6471 <bp-sym.h> and <bp-asm.h>.
6472 (__GI__setjmp): Don't use BP_SYM.
6473 (_setjmp): Likewise.
6474 (__sigsetjmp): Likewise.
6475 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6476 (L(start_addresses)): Don't use BP_SYM.
6477 (_start): Likewise.
6478 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6479 <bp-asm.h>.
6480 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6481 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6482 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6483 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6484 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6485 <bp-asm.h>.
6486 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6487 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6488 about bounded pointers.
6489 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6490 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6491 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6492 <bp-asm.h>.
6493 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6494 about bounded pointers. Remove GKM FIXME comments.
6495 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6496 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6497 <bp-asm.h>.
6498 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6499 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6500 Remove GKM FIXME comments.
6501 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6502 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6503 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6504 <bp-asm.h>.
6505 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6506 about bounded pointers. Remove GKM FIXME comment.
6507 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6508 and <bp-asm.h>.
6509 (strncmp): Don't use BP_SYM. Remove comment about bounded
6510 pointers.
6511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6512 <bp-sym.h> and <bp-asm.h>.
6513 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6515 <bp-sym.h> and <bp-asm.h>.
6516 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6517 comment.
6518
cdcf361f
PP
65192013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6520
6521 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6522 call free(NULL).
6523
3c4a2b15
DM
65242013-03-05 David S. Miller <davem@davemloft.net>
6525
6526 * po/es.po: Update from translation team.
6527
cdcf361f 65282013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
6529
6530 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6531 <bits/mman-linux.h>.
6532 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6533 is fine.
6534 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6535 <bits/mman-linux.h> to end of file.
6536 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6537 is fine.
6538 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6539 <bits/mman-linux.h> to end of file.
6540 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6541 is fine.
6542 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6543 <bits/mman-linux.h> to end of file.
6544
6545 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6546 (MCL_CURRENT, MCL_FUTURE): Define here.
6547
5f67c04f
AK
65482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6549
8a4473cc 6550 [BZ #15232]
5f67c04f
AK
6551 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6552 attribute_hidden.
6553 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6554
c3e94a95
AK
65552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6556
6557 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6558 fourth parameter needed for rt_sigprocmask syscall.
6559 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6560 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6561 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6562 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6563 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6564 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6565
cfb6382a
JM
65662013-03-04 Joseph Myers <joseph@codesourcery.com>
6567
6568 [BZ #13550]
6569 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6570 comment about bounded pointers.
6571 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6572 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6573
539d8e01
AJ
65742013-03-04 Andreas Jaeger <aj@suse.de>
6575
6576 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6577 common definitions.
6578
6579 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6580 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6581 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6582 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
6584 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6585
2e167a70 65862013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
6587
6588 [BZ #15055]
6589 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6590 __ieee754_sqrl instead of __sqrl.
6591
68508633
JM
65922013-03-01 Joseph Myers <joseph@codesourcery.com>
6593
6594 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6595 * sysdeps/powerpc/fpu_control.h: ... here.
6596 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6597 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6598 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6599 * sysdeps/powerpc/bits/mathinline.h: ... here.
6600
7775448e
RM
66012013-03-01 Roland McGrath <roland@hack.frob.com>
6602
6603 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6604 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6605 to just [NEED_DL_SYSINFO_DSO].
6606 * elf/dl-support.c: Likewise.
6607 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6608 * elf/rtld.c (dl_main): Likewise.
6609 * elf/setup-vdso.h (setup_vdso): Likewise.
6610 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6611 * sysdeps/unix/sysv/linux/dl-sysdep.c
6612 (_dl_discover_osversion): Likewise.
6613
4e9b5995
CD
66142013-03-01 Carlos O'Donell <carlos@redhat.com>
6615
6616 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6617 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6618
e23872c8
SP
66192013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6620
e5c74c63
SP
6621 * NEWS: Mention libm performance improvements and non-x86 PI
6622 futex support.
6623
e23872c8
SP
6624 * csu/libc-start.c (__pthread_initialize_minimal): Change
6625 function arguments.
6626 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6627
b5510883
JM
66282013-02-28 Joseph Myers <joseph@codesourcery.com>
6629
6630 [BZ #13550]
6631 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6632 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6633 <bp-sym.h> and <bp-asm.h>.
6634 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6635 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6636 and <bp-asm.h>.
6637 (memcpy): Don't use BP_SYM.
6638 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6639 <bp-asm.h>.
6640 (__mpn_add_n): Don't use BP_SYM.
6641 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6642 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6643 and <bp-asm.h>.
6644 (__mpn_addmul_1): Don't use BP_SYM.
6645 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6646 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6647 <bp-sym.h>.
6648 (_setjmp): Don't use BP_SYM.
6649 (__novmx_setjmp): Likewise.
6650 (__GI__setjmp): Likewise.
6651 (__vmx_setjmp): Likewise.
6652 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6653 <bp-sym.h>.
6654 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6655 (__bzero): Don't use BP_SYM.
6656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6658 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6659 <bp-sym.h> and <bp-asm.h>.
6660 (memcpy): Don't use BP_SYM.
6661 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6662 <bp-sym.h> and <bp-asm.h>.
6663 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6664 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6665 <bp-sym.h> and <bp-asm.h>.
6666 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6667 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6668 <bp-asm.h>.
6669 (__mpn_lshift): Don't use BP_SYM.
6670 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6671 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6672 <bp-asm.h>.
6673 (memset): Don't use BP_SYM.
6674 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6675 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6676 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6677 <bp-asm.h>.
6678 (__mpn_mul_1): Don't use BP_SYM.
6679 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6681 <bp-sym.h> and <bp-asm.h>.
6682 (memcmp): Don't use BP_SYM.
6683 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6684 <bp-sym.h> and <bp-asm.h>.
6685 (memcpy): Don't use BP_SYM.
6686 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6687 <bp-sym.h> and <bp-asm.h>.
6688 (memset): Don't use BP_SYM.
6689 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6690 <bp-sym.h> and <bp-asm.h>.
6691 (strncmp): Don't use BP_SYM.
6692 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6693 <bp-sym.h> and <bp-asm.h>.
6694 (memcpy): Don't use BP_SYM.
6695 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6696 <bp-sym.h> and <bp-asm.h>.
6697 (memset): Don't use BP_SYM.
6698 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6699 <bp-sym.h> and <bp-asm.h>.
6700 (__memchr): Don't use BP_SYM.
6701 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6702 <bp-sym.h> and <bp-asm.h>.
6703 (memcmp): Don't use BP_SYM.
6704 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6705 <bp-sym.h> and <bp-asm.h>.
6706 (memcpy): Don't use BP_SYM.
6707 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6708 <bp-sym.h> and <bp-asm.h>.
6709 (__mempcpy): Don't use BP_SYM.
6710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6711 <bp-sym.h> and <bp-asm.h>.
6712 (__memrchr): Don't use BP_SYM.
6713 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6714 <bp-sym.h> and <bp-asm.h>.
6715 (memset): Don't use BP_SYM.
6716 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6717 <bp-sym.h> and <bp-asm.h>.
6718 (__rawmemchr): Don't use BP_SYM.
6719 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6720 <bp-sym.h> and <bp-asm.h>.
6721 (__STRCMP): Don't use BP_SYM.
6722 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6723 <bp-sym.h> and <bp-asm.h>.
6724 (strchr): Don't use BP_SYM.
6725 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6726 <bp-sym.h> and <bp-asm.h>.
6727 (__strchrnul): Don't use BP_SYM.
6728 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6729 <bp-sym.h> and <bp-asm.h>.
6730 (strlen): Don't use BP_SYM.
6731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6732 <bp-sym.h> and <bp-asm.h>.
6733 (strncmp): Don't use BP_SYM.
6734 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6735 <bp-sym.h> and <bp-asm.h>.
6736 (__strnlen): Don't use BP_SYM.
6737 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6738 <bp-asm.h>.
6739 (__mpn_rshift): Don't use BP_SYM.
6740 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6741 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6742 <bp-sym.h> and <bp-asm.h>.
6743 (__sigsetjmp): Don't use BP_SYM.
6744 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6745 (L(start_addresses)): Don't use BP_SYM.
6746 (_start): Likewise.
6747 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6748 <bp-asm.h>.
6749 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6750 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6751 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6752 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6753 <bp-asm.h>.
6754 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6755 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6756 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6757 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6758 <bp-asm.h>.
6759 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6760 comments.
6761 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6762 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6763 <bp-asm.h>.
6764 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6765 FIXME comments.
6766 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6767 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6768 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6769 <bp-asm.h>.
6770 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6771 comment.
6772 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6773 and <bp-asm.h>.
6774 (strncmp): Don't use BP_SYM,
6775 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6776 <bp-asm.h>.
6777 (__mpn_sub_n): Don't use BP_SYM.
6778 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6779 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6780 and <bp-asm.h>.
6781 (__mpn_submul_1): Don't use BP_SYM.
6782 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6784 <bp-sym.h> and <bp-asm.h>.
6785 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6787 <bp-sym.h> and <bp-asm.h>.
6788 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6789 comment.
6790
8d19fe64
SP
67912013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6792
6793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6794 Use ZK to minimize writes to Z.
6795 (sub_magnitudes): Simplify code a bit.
6796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6797 Use ZK to minimize writes to Z.
6798 (sub_magnitudes): Simplify code a bit.
6799
85bd816a
RM
68002013-02-27 Roland McGrath <roland@hack.frob.com>
6801
6802 * csu/gmon-start.c: Add special exception to license text.
6803
b5977bf2
RH
68042013-02-27 Richard Henderson <rth@redhat.com>
6805
6806 * scripts/config.guess: Update from config.git.
6807 * scripts/config.sub: Likewise.
6808
11d6e2f2
SP
68092013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6810
09c14ed2
SP
6811 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6812
a688864e
SP
6813 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6814
6295157a
SP
6815 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6816
b8de2202
SP
6817 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6818
11d6e2f2
SP
6819 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6820
7e80ddb8
RM
68212013-02-26 Roland McGrath <roland@hack.frob.com>
6822
6823 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6824 [$(build-shared = yes].
7e80ddb8 6825
7da6d9ed
SP
68262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6827
45f05884
SP
6828 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6829 (__mul): Reduce iterations for calculating mantissa.
6830
2236d359
SP
6831 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6832 MPTWO.
6833 (__mpranred): Likewise.
6834
7da6d9ed
SP
6835 [BZ #15160]
6836 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6837 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6838
b7688c42
PE
68392013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6840
6841 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6842 Define __attribute__.
6843
53a5c423
SP
68442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6845
6846 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6847 unused.
6848 * posix/regex_internal.h (__attribute): Remove.
6849 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6850 (re_string_context_at): Likewise.
6851 (bitset_not): Use __attribute__ and mark function as possibly
6852 unused.
6853 (bitset_merge): Likewise.
6854 (bitset_mask): Likewise.
6855 (re_string_char_size_at): Likewise.
6856 (re_string_wchar_at): Likewise.
6857 (re_string_elem_size_at): Likewise.
6858
60f5a8b5
SP
68592013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6860
2a983a2e
SP
6861 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6862 code.
6863 (cc32): Likewise.
6864
e69804d1
SP
6865 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6866 (__acr): Likewise.
6867 (__cpy): Likewise.
6868 (norm): Likewise.
6869 (denorm): Likewise.
6870 (__dbl_mp): Likewise.
6871 (add_magnitudes): Likewise.
6872 (sub_magnitudes): Likewise.
6873 (__mul): Likewise.
6874 (__inv): Likewise.
6875
2f22a1e8
SP
6876 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6877 style.
6878
8930ddc7
SP
6879 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6880 style.
6881
dc60cb11
SP
6882 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6883 code.
6884
60f5a8b5
SP
6885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6886 up changes with default code.
6887 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6888 Likewise.
6889
b4d1fd33
AM
68902013-02-24 Allan McRae <allan@archlinux.org>
6891
faf6f8bc
AM
6892 * manual/socket.texi (The Internet Namespace): Order menu items
6893 to match that in the file.
6894
b4d1fd33
AM
6895 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6896 node listing of the info page menu.
6897
2366713d
JM
68982013-02-21 Joseph Myers <joseph@codesourcery.com>
6899
6900 [BZ #13550]
6901 * sysdeps/i386/bp-asm.h: Remove file.
6902 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6903 (PARMS): Do not use macros from bp-asm.h.
6904 (S1): Likewise.
6905 (S2): Likewise.
6906 (SIZE): Likewise.
6907 (__mpn_add_n): Do not use BP_SYM
6908 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6909 "bp-asm.h".
6910 (PARMS): Do not use macros from bp-asm.h.
6911 (S1): Likewise.
6912 (SIZE): Likewise.
6913 (__mpn_addmul_1): Do not use BP_SYM
6914 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6915 "bp-asm.h".
6916 (PARMS): Do not use macros from bp-asm.h.
6917 (SIGMSK): Likewise.
6918 (_setjmp): Likewise. Do not use BP_SYM.
6919 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6920 "bp-asm.h".
6921 (PARMS): Do not use macros from bp-asm.h.
6922 (SIGMSK): Likewise.
6923 (setjmp): Likewise. Do not use BP_SYM.
6924 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6925 "bp-asm.h".
6926 (PARMS): Do not use macros from bp-asm.h.
6927 (__frexp): Do not use BP_SYM.
6928 (frexp): Likewise.
6929 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6930 "bp-asm.h".
6931 (PARMS): Do not use macros from bp-asm.h.
6932 (__frexpf): Do not use BP_SYM.
6933 (frexpf): Likewise.
6934 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6935 "bp-asm.h".
6936 (PARMS): Do not use macros from bp-asm.h.
6937 (__frexpl): Do not use BP_SYM.
6938 (frexpl): Likewise.
6939 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6940 "bp-asm.h".
6941 (PARMS): Do not use macros from bp-asm.h.
6942 (__remquo): Do not use BP_SYM.
6943 (remquo): Likewise.
6944 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6945 "bp-asm.h".
6946 (PARMS): Do not use macros from bp-asm.h.
6947 (__remquof): Do not use BP_SYM.
6948 (remquof): Likewise.
6949 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6950 "bp-asm.h".
6951 (PARMS): Do not use macros from bp-asm.h.
6952 (__remquol): Do not use BP_SYM.
6953 (remquol): Likewise.
6954 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6955 "bp-asm.h".
6956 (PARMS): Do not use macros from bp-asm.h.
6957 (DEST): Likewise.
6958 (SRC): Likewise.
6959 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6960 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6961 "bp-asm.h".
6962 (PARMS): Do not use macros from bp-asm.h.
6963 (strlen): Do not use BP_SYM.
6964 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6965 "bp-asm.h".
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (S1): Likewise.
6968 (S2): Likewise.
6969 (SIZE): Likewise.
6970 (__mpn_add_n): Do not use BP_SYM.
6971 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6972 "bp-asm.h".
6973 (PARMS): Do not use macros from bp-asm.h.
6974 (S1): Likewise.
6975 (SIZE): Likewise.
6976 (__mpn_addmul_1): Do not use BP_SYM.
6977 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6978 weak_alias.
6979 (bzero): Likewise.
6980 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6981 "bp-asm.h".
6982 (PARMS): Do not use macros from bp-asm.h.
6983 (S): Likewise.
6984 (SIZE): Likewise.
6985 (__mpn_lshift): Do not use BP_SYM.
6986 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6987 "bp-asm.h".
6988 (PARMS): Do not use macros from bp-asm.h.
6989 (DEST): Likewise.
6990 (SRC): Likewise.
6991 (LEN): Likewise.
6992 (memcpy): Likewise. Do not use BP_SYM.
6993 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6994 libc_hidden_def and weak_alias.
6995 (mempcpy): Do not use BP_SYM in weak_alias.
6996 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6997 "bp-asm.h".
6998 (PARMS): Do not use macros from bp-asm.h.
6999 (DEST): Likewise.
7000 (LEN): Likewise.
7001 [!BZERO_P] (CHR): Likewise.
7002 (memset): Likewise. Do not use BP_SYM.
7003 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7004 "bp-asm.h".
7005 (PARMS): Do not use macros from bp-asm.h.
7006 (S1): Likewise.
7007 (SIZE): Likewise.
7008 (__mpn_mul_1): Do not use BP_SYM.
7009 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7010 "bp-asm.h".
7011 (PARMS): Do not use macros from bp-asm.h.
7012 (S): Likewise.
7013 (SIZE): Likewise.
7014 (__mpn_rshift): Do not use BP_SYM.
7015 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7016 "bp-asm.h".
7017 (PARMS): Do not use macros from bp-asm.h.
7018 (STR): Likewise.
7019 (CHR): Likewise.
7020 (strchr): Likewise. Do not use BP_SYM.
7021 (index): Do not use BP_SYM in weak_alias.
7022 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7023 "bp-asm.h".
7024 (PARMS): Do not use macros from bp-asm.h.
7025 (DEST): Likewise.
7026 (SRC): Likewise.
7027 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7028 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7029 "bp-asm.h".
7030 (PARMS): Do not use macros from bp-asm.h.
7031 (strlen): Do not use BP_SYM.
7032 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7033 "bp-asm.h".
7034 (PARMS): Do not use macros from bp-asm.h.
7035 (S1): Likewise.
7036 (S2): Likewise.
7037 (SIZE): Likewise.
7038 (__mpn_sub_n): Do not use BP_SYM.
7039 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7040 "bp-asm.h".
7041 (PARMS): Do not use macros from bp-asm.h.
7042 (S1): Likewise.
7043 (SIZE): Likewise.
7044 (__mpn_submul_1): Do not use BP_SYM.
7045 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7046 "bp-asm.h".
7047 (PARMS): Do not use macros from bp-asm.h.
7048 (S1): Likewise.
7049 (S2): Likewise.
7050 (SIZE): Likewise.
7051 (__mpn_add_n): Do not use BP_SYM.
7052 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7053 weak_alias.
7054 (bzero): Likewise.
7055 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7056 "bp-asm.h".
7057 (PARMS): Do not use macros from bp-asm.h.
7058 (BLK2): Likewise.
7059 (LEN): Likewise.
7060 (memcmp): Do not use BP_SYM.
7061 (bcmp): Do not use BP_SYM in weak_alias.
7062 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7063 "bp-asm.h".
7064 (PARMS): Do not use macros from bp-asm.h.
7065 (DEST): Likewise.
7066 (SRC): Likewise.
7067 (LEN): Likewise.
7068 (memcpy): Likewise. Do not use BP_SYM.
7069 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7070 "bp-asm.h".
7071 (PARMS): Do not use macros from bp-asm.h.
7072 (DEST): Likewise.
7073 (SRC): Likewise.
7074 (LEN): Likewise.
7075 (memmove): Likewise. Do not use BP_SYM.
7076 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7077 "bp-asm.h".
7078 (PARMS): Do not use macros from bp-asm.h.
7079 (DEST): Likewise.
7080 (SRC): Likewise.
7081 (LEN): Likewise.
7082 (__mempcpy): Likewise. Do not use BP_SYM.
7083 (mempcpy): Do not use BP_SYM in weak_alias.
7084 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7085 "bp-asm.h".
7086 (PARMS): Do not use macros from bp-asm.h.
7087 (DEST): Likewise.
7088 (LEN): Likewise.
7089 [!BZERO_P] (CHR): Likewise.
7090 (memset): Likewise. Do not use BP_SYM.
7091 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7092 "bp-asm.h".
7093 (PARMS): Do not use macros from bp-asm.h.
7094 (STR2): Likewise.
7095 (strcmp): Do not use BP_SYM.
7096 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7097 "bp-asm.h".
7098 (PARMS): Do not use macros from bp-asm.h.
7099 (STR): Likewise.
7100 (DELIM): Likewise.
7101 [USE_AS_STRTOK_R] (SAVE): Likewise.
7102 (FUNCTION): Likewise. Do not use BP_SYM.
7103 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7104 aliases.
7105 (strtok_r): Likewise.
7106 (__GI___strtok_r): Likewise.
7107 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7108 (PARMS): Do not use macros from bp-asm.h.
7109 (S): Likewise.
7110 (SIZE): Likewise.
7111 (__mpn_lshift): Do not use BP_SYM.
7112 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7113 (PARMS): Do not use macros from bp-asm.h.
7114 (STR): Likewise.
7115 (CHR): Likewise.
7116 (__memchr): Do not use BP_SYM.
7117 (memchr): Do not use BP_SYM in weak_alias.
7118 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7119 (PARMS): Do not use macros from bp-asm.h.
7120 (BLK2): Likewise.
7121 (LEN): Likewise.
7122 (memcmp): Do not use BP_SYM.
7123 (bcmp): Do not use BP_SYM in weak_alias.
7124 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7125 (PARMS): Do not use macros from bp-asm.h.
7126 (S1): Likewise.
7127 (SIZE): Likewise.
7128 (__mpn_mul_1): Do not use BP_SYM.
7129 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7130 "bp-asm.h".
7131 (PARMS): Do not use macros from bp-asm.h.
7132 (STR): Likewise.
7133 (CHR): Likewise.
7134 (__rawmemchr): Do not use BP_SYM.
7135 (rawmemchr): Do not use BP_SYM in weak_alias.
7136 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7137 (PARMS): Do not use macros from bp-asm.h.
7138 (S): Likewise.
7139 (SIZE): Likewise.
7140 (__mpn_rshift): Do not use BP_SYM.
7141 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7142 (PARMS): Do not use macros from bp-asm.h.
7143 (SIGMSK): Likewise.
7144 (__sigsetjmp): Likewise. Do not use BP_SYM.
7145 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7146 (_start): Do not use BP_SYM.
7147 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7148 (PARMS): Do not use macros from bp-asm.h.
7149 (DEST): Likewise.
7150 (SRC): Likewise.
7151 (__stpcpy): Likewise. Do not use BP_SYM.
7152 (stpcpy): Do not use BP_SYM in weak_alias.
7153 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7154 "bp-asm.h".
7155 (PARMS): Do not use macros from bp-asm.h.
7156 (DEST): Likewise.
7157 (SRC): Likewise.
7158 (LEN): Likewise.
7159 (__stpncpy): Likewise. Do not use BP_SYM.
7160 (stpncpy): Do not use BP_SYM in weak_alias.
7161 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7162 (PARMS): Do not use macros from bp-asm.h.
7163 (STR): Likewise.
7164 (CHR): Likewise.
7165 (strchr): Likewise. Do not use BP_SYM.
7166 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7167 "bp-asm.h".
7168 (PARMS): Do not use macros from bp-asm.h.
7169 (STR): Likewise.
7170 (CHR): Likewise.
7171 (__strchrnul): Likewise. Do not use BP_SYM.
7172 (strchrnul): Do not use BP_SYM in weak_alias.
7173 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7174 "bp-asm.h".
7175 (PARMS): Do not use macros from bp-asm.h.
7176 (STOP): Likewise.
7177 (strcspn): Do not use BP_SYM.
7178 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7179 "bp-asm.h".
7180 (PARMS): Do not use macros from bp-asm.h.
7181 (STR): Likewise.
7182 (STOP): Likewise.
7183 (strpbrk): Likewise. Do not use BP_SYM.
7184 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7185 "bp-asm.h".
7186 (PARMS): Do not use macros from bp-asm.h.
7187 (STR): Likewise.
7188 (CHR): Likewise.
7189 (strrchr): Likewise. Do not use BP_SYM.
7190 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7191 (PARMS): Do not use macros from bp-asm.h.
7192 (SKIP): Likewise.
7193 (strspn): Do not use BP_SYM.
7194 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7195 (PARMS): Do not use macros from bp-asm.h.
7196 (STR): Likewise.
7197 (DELIM): Likewise.
7198 (SAVE): Likewise.
7199 (FUNCTION): Likewise. Do not use BP_SYM.
7200 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7201 aliases.
7202 (strtok_r): Likewise.
7203 (__GI___strtok_r): Likewise.
7204 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7205 (PARMS): Do not use macros from bp-asm.h.
7206 (S1): Likewise.
7207 (S2): Likewise.
7208 (SIZE): Likewise.
7209 (__mpn_sub_n): Do not use BP_SYM.
7210 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7211 "bp-asm.h".
7212 (PARMS): Do not use macros from bp-asm.h.
7213 (S1): Likewise.
7214 (SIZE): Likewise.
7215 (__mpn_submul_1): Do not use BP_SYM.
7216 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7217 <bp-sym.h>.
7218 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7219 and <bp-asm.h>.
7220 (PARMS): Do not use macros from bp-asm.h.
7221 (FLAGS): Likewise.
7222 (PTID): Likewise.
7223 (TLS): Likewise.
7224 (CTID): Likewise.
7225 (__clone): Do not use BP_SYM.
7226 (clone): Do not use BP_SYM in weak_alias.
7227 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7228 and <bp-asm.h>.
7229 (PARMS): Do not use macros from bp-asm.h.
7230 (LEN): Likewise.
7231 (__mmap64): Do not use BP_SYM.
7232 (mmap64): Do not use BP_SYM in weak_alias.
7233 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7234 <bp-sym.h> and <bp-asm.h>.
7235 (PARMS): Do not use macros from bp-asm.h.
7236 (__posix_fadvise64_l64): Do not use BP_SYM.
7237 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7238 (PARMS): Do not use macros from bp-asm.h.
7239 (NSOPS): Likewise.
7240 (semtimedop): Do not use BP_SYM.
7241 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7242 and <bp-asm.h>.
7243
582a3cff
AM
72442013-02-21 Allan McRae <allan@archlinux.org>
7245
7246 * manual/message.texi (Charset conversion in gettext):
7247 Move @end statement to beginning of line.
7248
bab8a695
SP
72492013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7250
80945231
SP
7251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7252 static.
7253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7254 Likewise.
7255
bab8a695
SP
7256 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7257 (denorm): Likewise.
7258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7260
e21d7aa7
AK
72612013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7262
7263 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7264 tail-call to the resolved function if pltexit isn't needed.
7265
4c7a4263
SP
72662013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7267
7268 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7269 or Y being zero as being unlikely.
7270 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7271 Likewise.
7272
41f49342
CD
72732013-02-20 Carlos O'Donell <carlos@redhat.com>
7274
7275 * manual/nss.texi (System Databases and Name Service Switch):
7276 Remove frobnicate @pxref.
7277
50022a93
TS
72782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7279
7280 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7281 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7282
08cbd996
PM
72832013-02-20 Petr Machata <pmachata@redhat.com>
7284
7285 * elf/elf.h (R_ARM_TARGET1): New macro.
7286 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7287 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7288 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7289 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7290 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7291 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7292 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7293 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7294 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7295 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7296 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7297 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7298 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7299 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7300 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7301 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7302 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7303 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7304 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7305 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7306 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7307 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7308 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7309 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7310 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7311 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7312 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7313 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7314 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7315 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7316 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7317 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7318 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7319 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7320 (R_ARM_THM_GOT_BREL12): Likewise.
7321 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7322 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7323 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7324 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7325 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7326 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7327 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7328 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7329 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7330
c7b275d6
TS
73312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7332
7333 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7334 __attribute_used__ to __attribute__ ((unused)).
7335
20cd7fb3
SP
73362013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7337
7338 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7339 powerpc mpa.c.
7340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7341 comment formatting.
7342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7343
92945b52
JM
73442013-02-19 Joseph Myers <joseph@codesourcery.com>
7345
7346 [BZ #13550]
7347 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7348 Remove macro.
7349 (ENTER): Remove both macro definitions.
7350 (LEAVE): Likewise.
7351 (CHECK_BOUNDS_LOW): Likewise.
7352 (CHECK_BOUNDS_HIGH): Likewise.
7353 (CHECK_BOUNDS_BOTH): Likewise.
7354 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7355 (RETURN_BOUNDED_POINTER): Likewise.
7356 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7357 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7358 (POP_ERRNO_LOCATION_RETURN): Likewise.
7359 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7360 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7361 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7362 macros.
7363 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7364 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7365 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7366 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7367 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7368 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7369 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7370 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7371 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7372 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7373 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7374 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7375 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7376 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7377 removed macros.
7378 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7379 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7380 macros.
7381 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7382 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7383 * sysdeps/i386/i586/memset.S (memset): Likewise.
7384 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7385 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7386 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7387 macros.
7388 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7389 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7390 Change uses of L(2) to L(out).
7391 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7392 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7393 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7394 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7395 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7396 removed macros.
7397 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7398 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7399 macros.
7400 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7401 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7402 (RETURN): Do not use macro LEAVE.
7403 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7404 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7405 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7406 * sysdeps/i386/i686/memset.S (memset): Likewise.
7407 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7408 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7409 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7410 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7411 Likewise.
7412 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7413 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7414 L(1_2) and L(1_3) into L(1).
7415 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7416 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7417 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7418 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7419 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7420 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7421 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7422 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7423 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7424 macros.
7425 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7426 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7427 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7428 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7429 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7430 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7431 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7432 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7433 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7434 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7435 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7436 * sysdeps/i386/strspn.S (strspn): Likewise.
7437 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7438 conditional code.
7439 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7440 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7441 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7442 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7443 L(1_3) into L(1_1).
7444 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7445 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7446 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7447 macros.
7448 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7449
2389741a
JJ
74502013-02-19 Jakub Jelinek <jakub@redhat.com>
7451
7452 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7453 macro.
7454
2016b3cd
SP
74552013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7456
e4f22324
SP
7457 * math/atest-exp.c (exp_mpn): Remove ROUND.
7458 * math/atest-exp2.c (exp_mpn): Likewise.
7459 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7460
2016b3cd
SP
7461 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7462 * stdlib/tst-tls-atexit-lib.c: Likewise.
7463 * stdlib/tst-tls-atexit.c: Likewise.
7464
4be9b544
MF
74652013-02-18 Mike Frysinger <vapier@gentoo.org>
7466
7467 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7468 and __attribute_alloc_size__.
7469
2f62b9ee
MF
74702013-02-18 Mike Frysinger <vapier@gentoo.org>
7471
7472 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7473 __attribute_alloc_size__.
7474 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7475 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7476
6ff444c4
MF
74772013-02-18 Mike Frysinger <vapier@gentoo.org>
7478
7479 * include/programs/xmalloc.h: New file.
7480 * catgets/gencat.c: Include it.
7481 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7482 * elf/pldd.c: Likewise.
7483 * iconv/iconv_charmap.c: Likewise.
7484 * iconv/iconvconfig.c: Likewise.
7485 * iconv/strtab.c: Likewise.
7486 * locale/programs/locale.c: Likewise.
7487 * locale/programs/localedef.h: Likewise.
7488 * locale/programs/simple-hash.c: Likewise.
7489 * nscd/nscd.h: Likewise.
7490 * nss/makedb.c: Likewise.
7491 * sysdeps/generic/ldconfig.h: Likewise.
7492
be179c8a
SP
74932013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7494
ba384f6e
SP
7495 * Versions.def: Add GLIBC_2.18.
7496 * include/link.h (struct link_map): New member l_tls_dtor_count.
7497 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7498 (__call_tls_dtors): Likewise.
7499 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7500 __cxa_thread_atexit_impl.
7501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7502 Likewise.
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7504 Likewise.
7505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7506 Likewise.
7507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7508 Likewise.
7509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7511 Likewise.
7512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7513 Likewise.
7514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7516 Likewise.
7517 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7518 (tests): Add test case tst-tls-atexit.
7519 (modules-names): Add shared library for tst-tls-atexit.
85891aca 7520 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
7521 (GLIBC_PRIVATE): Add __call_tls_dtors.
7522 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7523 for libstdc++.
7524 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7525 * stdlib/tst-tls-atexit.c: New test case.
7526 * stdlib/tst-tls-atexit-lib.c: New test case.
7527
ffaa74cf 7528 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 7529
be179c8a
SP
7530 * elf/Versions (ld): Add _dl_find_dso_for_object.
7531 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7532 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7533 (dl_open_worker): Use _dl_find_dso_for_object.
7534 * elf/dl-sym.c (do_sym): Likewise.
7535 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7536
f78b5caa
AK
75372013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7538
7539 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7540 Syntactic changes only.
7541 (_dl_runtime_profile): Do a tail-call to the resolved function.
7542
29691210
JM
75432013-02-17 Joseph Myers <joseph@codesourcery.com>
7544
7545 [BZ #13550]
7546 * sysdeps/x86_64/bp-asm.h: Remove file.
7547 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7548 <bp-sym.h> and <bp-asm.h>.
7549 (__clone): Do not use BP_SYM.
7550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7551 <bp-sym.h> and <bp-asm.h>.
7552 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7553 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7554 "bp-asm.h".
7555 (_setjmp): Do not use BP_SYM.
7556 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7557 "bp-asm.h".
7558 (setjmp): Do not use BP_SYM.
7559 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7560 libc_hidden_def.
7561 (mempcpy): Do not use BP_SYM in weak_alias.
7562 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7563 "bp-asm.h".
7564 (strchr): Do not use BP_SYM.
7565 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7566 "bp-asm.h".
7567 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7568 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7569 (_start): Do not use BP_SYM.
7570 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7571 "bp-asm.h".
7572 (strcat): Do not use BP_SYM.
7573 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7574 "bp-asm.h".
7575 (STRCMP): Do not use BP_SYM.
7576 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7577 "bp-asm.h".
7578 (STRCPY): Do not use BP_SYM.
7579 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7580 "bp-asm.h".
7581 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7582 "bp-asm.h".
7583 (FUNCTION): Do not use BP_SYM.
7584 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7585 weak_alias.
7586 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7587
f238fd19
AJ
75882013-02-17 Andreas Jaeger <aj@suse.de>
7589
7590 * time/Versions: Sort entries.
7591 * string/Versions: Likewise.
7592 * resolv/Versions: Likewise.
7593 * posix/Versions: Likewise.
7594 * iconv/Versions: Likewise.
7595 * elf/Versions: Likewise.
7596 * wcsmbs/Versions: Likewise.
7597
bd07f23c 75982013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 7599
22af19f9
SP
7600 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7601 loop termination condition.
7602
4709fe76
SP
7603 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7604 variable to calculate EZ.
7605 (__sqr): Likewise.
2d0e0f29
SP
7606
7607 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7608 the lower precision input.
7609
daaa7713
JM
76102013-02-15 Joseph Myers <joseph@codesourcery.com>
7611
7612 [BZ #13550]
7613 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7614 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7615 (run-via-rtld-prefix): Do not handle %-bp tests.
7616 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7617 (all-object-suffixes): Remove .ob.
7618 (bppfx): Remove variable.
7619 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7620 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7621 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7622 [$(build-bounded) = yes] (libtype.ob): Likewise.
7623 * Makerules (elide-routines.ob): Remove variable.
7624 (do-tests-clean): Do not handle *-bp.out.
7625 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7626 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7627 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7628 (tests): Do not include $(tests-bp.out).
7629 (xtests): Do not include $(xtests-bp.out).
7630 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7631 [$(build-bounded) = yes] ($(addprefix
7632 $(objpfx),$(binaries-bounded))): Remove rule.
7633 ($(objpfx)%-bp.out): Remove rule.
7634 * config.make.in (build-bounded): Remove variable.
7635 * crypt/Makefile [$(build-bounded) = yes]
7636 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7637 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7638 append to variable.
7639 [$(build-bounded) = yes] (install-lib): Likewise.
7640 [$(build-bounded) = yes] (generated): Likewise.
7641 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7642 Remove rule.
7643 * intl/Makefile [$(build-bounded) = yes]
7644 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7645 * math/Makefile [$(build-bounded) = yes]
7646 ($(tests:%=$(objpfx)%-bp): Likewise.
7647 * misc/Makefile [$(build-bounded) = yes]
7648 ($(objpfx)tst-tsearch-bp): Likewise.
7649 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7650 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7651 Remove dependency.
7652 * string/Makefile (o-objects.ob): Remove variable.
7653 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7654 (CFLAGS-.ob): Remove variable.
7655 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7656 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7657 both definitions of variable.
7658 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7659 (ASFLAGS-.ob): Remove variable.
7660
e97ed6dd
JM
76612013-02-14 Joseph Myers <joseph@codesourcery.com>
7662
2bdd4ca6
JM
7663 [BZ #13550]
7664 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7665 Remove __BOUNDED_POINTERS__ from condition.
7666 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7667 * string/bits/string2.h [!__NO_STRING_INLINES &&
7668 !__BOUNDED_POINTERS__]: Likewise.
7669 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7670 Likewise.
7671 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7672 Remove conditional code.
7673 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7674 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7675 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7676 condition.
7677
e97ed6dd
JM
7678 [BZ #13550]
7679 * csu/libc-start.c: Do not include <bp-sym.h>.
7680 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7681 * elf/dl-open.c: Do not include <bp-sym.h>.
7682 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7683 * math/fegetenv.c: Do not include <bp-sym.h>.
7684 (fegetenv): Do not use BP_SYM in versioned symbols.
7685 * nptl/sysdeps/pthread/bits/libc-lockP.h
7686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7687 <bp-sym.h>.
7688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7689 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7691 (__pthread_mutex_destroy): Likewise.
7692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7693 (__pthread_mutex_lock): Likewise.
7694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7695 (__pthread_mutex_trylock): Likewise.
7696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7697 (__pthread_mutex_unlock): Likewise.
7698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7699 (__pthread_mutexattr_init): Likewise.
7700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7701 (__pthread_mutexattr_destroy): Likewise.
7702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7703 (__pthread_mutexattr_settype): Likewise.
7704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7705 (__pthread_rwlock_init): Likewise.
7706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7707 (__pthread_rwlock_destroy): Likewise.
7708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7709 (__pthread_rwlock_rdlock): Likewise.
7710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7711 (__pthread_rwlock_tryrdlock): Likewise.
7712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7713 (__pthread_rwlock_wrlock): Likewise.
7714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7715 (__pthread_rwlock_trywrlock): Likewise.
7716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7717 (__pthread_rwlock_unlock): Likewise.
7718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7719 (__pthread_key_create): Likewise.
7720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7721 (__pthread_setspecific): Likewise.
7722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7723 (__pthread_getspecific): Likewise.
7724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7725 Likewise.
7726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7727 (_pthread_cleanup_push_defer): Likewise.
7728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7729 (_pthread_cleanup_pop_restore): Likewise.
7730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7731 (pthread_setcancelstate): Likewise.
7732 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7733 <bp-sym.h>.
7734 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7735 (memchr): Do not use BP_SYM in weak_alias.
7736 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7737 (fegetenv): Do not use BP_SYM in versioned symbols.
7738 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7739 (fesetenv): Do not use BP_SYM in versioned symbols.
7740 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7741 (feupdateenv): Do not use BP_SYM in versioned symbols.
7742 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7743 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7744 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7745 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7746 (open64): Do not use BP_SYM in weak_alias.
7747 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7748 (fegetenv): Do not use BP_SYM in versioned symbols.
7749 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7750 (fesetenv): Do not use BP_SYM in versioned symbols.
7751 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7752 (feupdateenv): Do not use BP_SYM in versioned symbols.
7753 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7754 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7755 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7756 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7757 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7758 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7759 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7760 <bp-sym.h>.
7761 (__libc_start_main): Do not use BP_SYM.
7762
d6752ccd
SP
77632013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7764
cb57ce60
SP
7765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7766 redundant return line.
7767 (norm): Likewise.
7768 (denorm): Likewise.
7769 (dbl_mp): Likewise.
7770 (sub_magnitudes): Likewise.
7771 (__add): Likewise.
7772 (__sub): Likewise.
7773 (__mul): Likewise.
7774 (__inv): Likewise.
7775 (__dvd): Likewise.
7776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7777 (norm): Likewise.
7778 (denorm): Likewise.
7779 (dbl_mp): Likewise.
7780 (sub_magnitudes): Likewise.
7781 (__add): Likewise.
7782 (__sub): Likewise.
7783 (__mul): Likewise.
7784 (__inv): Likewise.
7785 (__dvd): Likewise.
7786
f414520d
SP
7787 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7788 instead of __mul.
7789 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7790 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7791 (cc32): Likewise.
7792
d6752ccd
SP
7793 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7794 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7796 of __mul for squares.
7797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7798 function
7799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7800 Likewise.
7801 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7802 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7803
70d9946a
JM
78042013-02-13 Joseph Myers <joseph@codesourcery.com>
7805
7806 [BZ #13550]
7807 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7808 code.
7809 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7810 prototype or function definition. Rename ubp_* variables and
7811 parameters. Remove argv definitions conditional on
7812 [__BOUNDED_POINTERS__].
7813 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7814 * elf/dl-runtime.c (_dl_fixup): Likewise.
7815 * include/set-hooks.h (RUN_HOOK): Likewise.
7816 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7817 definition.
7818 * string/strcpy.c (strcpy): Do not use __unbounded.
7819 * sysdeps/generic/frame.h (struct layout): Likewise.
7820 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7821 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7822 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7823 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7824 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7825 (__backtrace): Likewise.
7826 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7827 use __ptrvalue.
7828 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7829 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7830 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7831 Likewise.
7832 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7833 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7834 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7835 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7836 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7837 Do not use __unbounded.
7838 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7839 Rename __unboundedrlimits parameter to rlimits in prototype.
7840 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7841 Do not use __unbounded.
7842 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7843 not use __ptrvalue.
7844 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7845 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7846 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7847 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7848 __ptrvalue or __unbounded.
7849 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7850 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7851 use __unbounded.
7852 (__new_msgctl): Do not use __ptrvalue.
7853 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7854 __unbounded.
7855 (__libc_msgrcv): Do not use __ptrvalue.
7856 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7857 startup_info): Do not use __unbounded.
7858 (__libc_start_main): Likewise. Rename ubp_* variables and
7859 parameters. Remove argv definitions conditional on
7860 [__BOUNDED_POINTERS__].
7861 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7862 __ptrvalue.
7863 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7864 use __unbounded.
7865 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7866 or __ptrvalue.
7867 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7868 use __unbounded.
7869 (__new_shmctl): Do not use __ptrvalue.
7870 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7871 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7872 Likewise.
7873 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7875 (__libc_sigaction): Likewise.
7876 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7877 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7878 Likewise.
7879 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7880
cc7834d6
OB
78812013-02-13 Ondřej Bílka <neleai@seznam.cz>
7882
ffb1ec7b 7883 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7884
7885 * string/mempcpy.c: Implement by calling memcpy.
7886
bdf02814
SP
78872013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7888
c2af38aa
SP
7889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7890
4e92d59e
SP
7891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7892 evaluation.
7893
909279a5
SP
7894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7895 values in the mantissa.
7896
bdf02814
SP
7897 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7898 minimize writes to Z.
7899 (sub_magnitudes): Simplify code a bit.
7900
cd525923
RM
79012013-02-12 Roland McGrath <roland@hack.frob.com>
7902
7903 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7904 from the message. The linker prefixes all warnings with that already.
7905
7e2f0d2d
AS
79062013-02-12 Andreas Schwab <schwab@suse.de>
7907
a445af0b
AS
7908 [BZ #15078]
7909 * posix/regexec.c (extend_buffers): Add parameter min_len.
7910 (check_matching): Pass minimum needed length.
7911 (clean_state_log_if_needed): Likewise.
7912 (get_subexp): Likewise.
7913 * posix/Makefile (tests): Add bug-regex34.
7914 (bug-regex34-ENV): Define.
7915 * posix/bug-regex34.c: New file.
7916
7e2f0d2d
AS
7917 [BZ #11561]
7918 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7919 elements compare against the byte sequence of it, not its name.
7920 * posix/Makefile (tests): Add bug-regex35.
7921 (bug-regex35-ENV): Define.
7922 * posix/bug-regex35.c: New file.
7923
a175b684
TV
79242013-02-11 Tom de Vries <tom@codesourcery.com>
7925
7926 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7927 comment.
7928 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7929 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7930 (CHECK_EOL): Add undef.
7931
310998fe 79322013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7933
7934 * bits/stdlib-bsearch.h: New file.
7935 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7936 * stdlib/stdlib.h: Likewise.
41eda41d 7937
8ded91fb
RM
79382013-02-11 Roland McGrath <roland@hack.frob.com>
7939
7940 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7941 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7942 declaration.
7943 * manual/search.texi (Array Search Function): Add missing const in
7944 lfind prototype.
7945 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7946 declaration to use rlim_t.
7947 (Basic Scheduling Functions): Remove erroneous const from
7948 sched_getparam prototype. Remove erroneous * from
7949 sched_get_priority_max and sched_get_priority_min prototypes.
7950 (Resource Usage): Fix summary @comment on vtimes to refer to
7951 sys/vtimes.h rather than vtimes.h.
7952 Add missing *s in vtimes prototype.
7953 (Limits on Resources): Fix ulimit prototype to return long int.
7954 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7955 prototypes to use long int rather than double.
7956 (BSD Random): Fix initstate and setstate to use char *, not void *.
7957 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7958 prototype to make second argument 'struct aiocb64 *const[]'.
7959 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7960 (Status of AIO Operations): Remove erroneous const in aio_return and
7961 aio_return64 prototypes.
7962 (Synchronizing I/O): Fix sync prototype to return void.
7963 * manual/startup.texi (Suboptions): Remove an erroneous const in
7964 getsubopt prototype.
7965 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7966 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7967 use size_t rather than int.
7968 (Scanning All Users): Likewise for getpwent_r.
7969 (Setting Groups): Add missing const to setgroups prototype.
7970 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7971 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7972 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7973 'const void *' rather than 'const char *'.
7974 (Host Address Functions): Likewise for inet_ntop.
7975 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7976 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7977 ssize_t for return value.
7978 (Sending Data): Likewise for send, sendto, sendmsg.
7979 (Socket Option Functions): Add a missing const in setsockopt prototype.
7980 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7981 use wchar_t for the argument.
7982 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7983 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7984 take no arguments.
7985 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7986 double/float/long double for second argument.
7987 Fix return types of significand, significandf, significandl.
7988 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7989 argument in fchmod prototype.
7990 (File Owner): Use uid_t and gid_t in fchown prototype.
7991 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7992 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7993 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7994 use 'const struct dirent **' as argument types to CMP function pointer
7995 argument.
7996 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7997 (File Times): Fix summary magic @comment for struct utimbuf and utime
7998 to refer to utime.h, not time.h.
7999 * manual/string.texi (Argz Functions): Add missing const in
8000 argz_extract and argz_next prototypes.
8001 (Finding Tokens in a String): Likewise for basename.
8002 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8003 (Copying and Concatenation): Fix typo in wmemmove prototype.
8004 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8005 (Signal Stack): Remove erroneous const in sigstack prototype.
8006 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8007 prototype.
8008 (Simple Calendar Time): Likewise for stime.
8009 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8010 prototype.
8011 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8012 say sys/sysctl.h instead.
8013 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8014 and vsyslog prototypes.
8015
fe77fe6d
TV
80162013-02-11 Tom de Vries <tom@codesourcery.com>
8017
8018 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8019 Remove.
8020
3a09b620
RM
80212013-02-11 Roland McGrath <roland@hack.frob.com>
8022
8023 * misc/sys/mman.h: Fix typo in mremap comment.
8024
550a0b89
RM
80252013-02-08 Roland McGrath <roland@hack.frob.com>
8026
8027 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8028 the '\0' terminator.
8029
a2da1673
JM
80302013-02-08 Joseph Myers <joseph@codesourcery.com>
8031
8032 [BZ #13550]
8033 * debug/segfault.c: Don't include <bp-checks.h>.
8034 * sysdeps/generic/bp-checks.h: Remove file.
8035 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8036 (__GETDENTS): Don't use CHECK_N.
8037 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8038 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8039 (__getgroups): Don't use CHECK_N.
8040 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8041 (setgroups): Don't use CHECK_N.
8042 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8043 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8044 (__libc_msgrcv): Don't use CHECK_N.
8045 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8046 (__libc_msgsnd): Don't use CHECK_N.
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8048 <bp-checks.h>.
8049 (__libc_pread): Don't use CHECK_N.
8050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8051 include <bp-checks.h>.
8052 (__libc_pread64): Don't use CHECK_N.
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8054 include <bp-checks.h>.
8055 (__libc_pwrite): Don't use CHECK_N.
8056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8057 include <bp-checks.h>.
8058 (__libc_pwrite64): Don't use CHECK_N.
8059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8060 <bp-checks.h>.
8061 (__libc_pread): Don't use CHECK_N.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8063 include <bp-checks.h>.
8064 (__libc_pread64): Don't use CHECK_N.
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8066 include <bp-checks.h>.
8067 (__libc_pwrite): Don't use CHECK_N.
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8069 include <bp-checks.h>.
8070 (__libc_pwrite64): Don't use CHECK_N.
8071 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8072 (do_pread): Don't use CHECK_N.
8073 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8074 (do_pread64): Don't use CHECK_N.
8075 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8076 (do_pwrite): Don't use CHECK_N.
8077 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8078 (do_pwrite64): Don't use CHECK_N.
8079 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8080 (__libc_readv): Don't use CHECK_N.
8081 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8082 (semop): Don't use CHECK_N.
8083 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8084 <bp-checks.h>.
8085 (semtimedop): Don't use CHECK_N.
8086 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8087 (__libc_pread): Don't use CHECK_N.
8088 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8089 <bp-checks.h>.
8090 (__libc_pread64): Don't use CHECK_N.
8091 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8092 <bp-checks.h>.
8093 (__libc_pwrite): Don't use CHECK_N.
8094 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8095 <bp-checks.h>.
8096 (__libc_pwrite64): Don't use CHECK_N.
8097 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8098 <bp-checks.h>.
8099 (__libc_msgrcv): Don't use CHECK_N.
8100 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8101 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8102 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8103 (__libc_writev): Don't use CHECK_N.
8104
b84660a8
RM
81052013-02-08 Roland McGrath <roland@hack.frob.com>
8106
7f3e75f8
RM
8107 * string/strcpy.c: Removed unused variable.
8108
b84660a8
RM
8109 * Makeconfig (+sysdep-includes): Define with := rather than =.
8110 Use an existing include/ subdir of each sysdeps dir before it.
8111
471514d3
CD
81122013-02-08 Carlos O'Donell <carlos@redhat.com>
8113
8114 * nscd/connection.c (register_traced_file): Comment function.
8115 [HAVE_INOTIFY] (union __inev): Define.
8116 [HAVE_INOTIFY] (inotify_check_files): New function.
8117 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8118 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8119 clear_db_cache.
8120 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8121
b2d3c3be
CD
81222013-02-08 Carlos O'Donell <carlos@redhat.com>
8123
8124 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8125 loaded if not already and that a failure is permanent.
8126
b39949d2
CD
81272013-02-08 Carlos O'Donell <carlos@redhat.com>
8128
ddacd1db 8129 [BZ #15006]
b39949d2
CD
8130 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8131 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8132
b2c9eff4
JM
81332013-02-08 Joseph Myers <joseph@codesourcery.com>
8134
f3aae3f3
JM
8135 [BZ #13550]
8136 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8137 (CHECK_1_NULL_OK): Likewise.
8138 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8139 (__fxstat): Do not use CHECK_1.
8140 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8141 <bp-checks.h>.
8142 (___fxstat64): Do not use CHECK_1.
8143 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8144 <bp-checks.h>.
8145 (__fxstatat): Do not use CHECK_1.
8146 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8147 <bp-checks.h>.
8148 (__fxstatat64): Do not use CHECK_1.
8149 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8150 <bp-checks.h>.
8151 (__fxstat): Do not use CHECK_1.
8152 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8153 <bp-checks.h>.
8154 (__fxstatat): Do not use CHECK_1.
8155 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8156 <bp-checks.h>.
8157 (__getresgid): Do not use CHECK_1.
8158 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8159 <bp-checks.h>.
8160 (__getresuid): Do not use CHECK_1.
8161 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8162 <bp-checks.h>.
8163 (__lxstat): Do not use CHECK_1.
8164 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8165 <bp-checks.h>.
8166 (__old_msgctl): Do not use CHECK_1.
8167 (__new_msgctl): Likewise.
8168 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8169 <bp-checks.h>.
8170 (__new_setrlimit): Do not use CHECK_1.
8171 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8172 <bp-checks.h>.
8173 (__old_shmctl): Do not use CHECK_1.
8174 (__new_shmctl): Likewise.
8175 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8176 <bp-checks.h>.
8177 (__xstat): Do not use CHECK_1.
8178 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8179 (__lxstat): Do not use CHECK_1.
8180 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8181 <bp-checks.h>.
8182 (___lxstat64): Do not use CHECK_1.
8183 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8184 (__old_msgctl): Do not use CHECK_1.
8185 (__new_msgctl): Likewise.
8186 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8187 <bp-checks.h>.
8188 (__gettimeofday): Do not use CHECK_1.
8189 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8190 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8191 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8192 <bp-checks.h>.
8193 (__gettimeofday): Do not use CHECK_1.
8194 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8195 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8196 (__new_shmctl): Do not use CHECK_1.
8197 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8198 <bp-checks.h>.
8199 (do_sigtimedwait): Do not use CHECK_1.
8200 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8201 <bp-checks.h>.
8202 (do_sigwaitinfo): Do not use CHECK_1.
8203 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8204 <bp-checks.h>.
8205 (msgctl): Do not use CHECK_1.
8206 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8207 <bp-checks.h>.
8208 (shmctl): Do not use CHECK_1.
8209 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8210 (ustat): Do not use CHECK_1.
8211 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8212 <bp-checks.h>.
8213 (__fxstat): Do not use CHECK_1.
8214 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8215 <bp-checks.h>.
8216 (__fxstatat): Do not use CHECK_1.
8217 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8218 <bp-checks.h>.
8219 (__lxstat): Do not use CHECK_1.
8220 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8221 <bp-checks.h>.
8222 (__xstat): Do not use CHECK_1.
8223 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8224 (__xstat): Do not use CHECK_1.
8225 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8226 (___xstat64): Do not use CHECK_1.
8227
b2c9eff4
JM
8228 [BZ #13550]
8229 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8230 definitions.
8231 (CHECK_BOUNDS_HIGH): Likewise.
8232 * string/strcpy.c: Do not include <bp-checks.h>.
8233 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8234
f1d70dad
RM
82352013-02-07 Roland McGrath <roland@hack.frob.com>
8236
8237 * nscd/nscd-client.h (__nscd_drop_map_ref):
8238 Add __attribute__ ((unused)).
8239 * nis/nss-nisplus.h (niserr2nss): Likewise.
8240
8241 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8242 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8243
8244 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8245 Remove inline keyword.
8246 * include/rounding-mode.h (round_away): Likewise.
8247 * libio/wfileops.c (adjust_wide_data): Likewise.
8248 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8249 (__m128i_strloadu_tolower): Likewise.
8250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8251 (__m128i_strloadu_tolower): Likewise.
8252 * time/mktime.c (ydhms_diff): Likewise.
8253 * locale/elem-hash.h (elem_hash): Likewise.
8254 * locale/setlocale.c (setdata): Likewise.
8255 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8256 (re_string_wchar_at): Likewise.
8257 (bitset_not, bitset_merge, bitset_mask): Likewise.
8258 [!(__GNUC__ > 3)] (inline): Remove macro.
8259 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8260 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8261 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8262 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8263 * string/memcmp.c (memcmp_bytes): Likewise.
8264 * locale/programs/locarchive.c (compute_hashval): Likewise.
8265 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8266 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8267 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8268 * nss/getent.c (print_rpc, print_protocols): Likewise.
8269 (print_passwd, print_group, print_aliases): Likewise.
8270 * nis/nss-nisplus.h (niserr2nss): Likewise.
8271 * nscd/connections.c (restart_p): Likewise.
8272 Change return type to bool.
8273
eab55bfb
RM
82742013-02-05 Roland McGrath <roland@hack.frob.com>
8275
7bd642f5
RM
8276 * Makeconfig (all-Depend-files): Add existing
8277 $(sorted-subdirs:=/Depend) files.
8278 (all-subdirs): Remove nss.
8279 * sysdeps/unix/inet/Subdirs: Add it here instead.
8280 * hesiod/Depend: New file.
8281
573c29b2
RM
8282 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8283 instead of calling alloca.
8284
b2e25af0
RM
8285 * io/lseek.c (__lseek): Rename to __libc_lseek.
8286 Define __lseek as an alias.
8287
eab55bfb
RM
8288 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8289
9a0d1941
CD
82902013-02-04 Carlos O'Donell <carlos@redhat.com>
8291
8292 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8293 else clause and remove check for non-standard endianness.
8294
b83bbec4
DM
82952013-02-04 David S. Miller <davem@davemloft.net>
8296
8297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8298
6277fdab
JM
82992013-02-04 Joseph Myers <joseph@codesourcery.com>
8300
8301 [BZ #13550]
8302 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8303 (__ubp_memchr): Remove prototype.
8304 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8305 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8306 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8307 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8308 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8309 Remove alias.
8310 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8311 (__ubp_memchr): Likewise.
8312 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8313 (__ubp_memchr): Likewise.
8314 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8315 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8316 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8317 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8318 CHECK_STRING.
8319 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8320 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8321 (__getcwd): Do not use CHECK_STRING.
8322 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8323 <bp-checks.h>.
8324 (__real_chown): Do not use CHECK_STRING.
8325 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8326 <bp-checks.h>.
8327 (fchownat): Do not use CHECK_STRING.
8328 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8329 CHECK_STRING.
8330 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8331 <bp-checks.h>.
8332 (__lchown): Do not use CHECK_STRING.
8333 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8334 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8335 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8336 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8338 include <bp-checks.h>.
8339 (truncate64): Do not use CHECK_STRING.
8340 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8341 <bp-checks.h>.
8342 (__real_chown): Do not use CHECK_STRING.
8343 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8344 <bp-checks.h>.
8345 (__lchown): Do not use CHECK_STRING.
8346 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8347 <bp-checks.h>.
8348 (__chown): Do not use CHECK_STRING.
8349 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8350 <bp-checks.h>.
8351 (truncate64): Do not use CHECK_STRING.
8352 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8353 Likewise.
8354 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8355 (__xmknod): Do not use CHECK_STRING.
8356 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8357 <bp-checks.h>.
8358 (__xmknodat): Do not use CHECK_STRING.
8359 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8360 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8361
903ae060
AS
83622013-02-04 Andreas Schwab <schwab@suse.de>
8363
8364 [BZ #14142]
8365 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8366 * include/netdb.h: Likewise for h_errno.
8367 * elf/tst-stackguard1.c: Include <tls.h>.
8368
542f9466
JK
83692013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8370
8371 * elf/link.h (struct link_map): Extend the l_addr comment.
8372 * include/link.h (struct link_map): Likewise.
8373
e782a927
JM
83742013-02-01 Joseph Myers <joseph@codesourcery.com>
8375
8376 [BZ #13550]
8377 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8378 (BOUNDED_1): Remove macro.
8379 * debug/backtrace.c: Don't include <bp-checks.h>.
8380 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8381 (__backtrace): Likewise.
8382 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8383 <bp-checks.h>.
8384 (__backtrace): Don't use BOUNDED_1.
8385 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8386 <bp-checks.h>.
8387 (__backtrace): Don't use BOUNDED_1.
8388 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8389 (__backtrace): Don't use BOUNDED_1.
8390 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8391 (shmat): Don't use BOUNDED_N.
8392
8cf28c5e
JM
83932013-01-31 Joseph Myers <joseph@codesourcery.com>
8394
3a7ac8a0
JM
8395 [BZ #13550]
8396 * sysdeps/generic/bp-start.h: Remove file.
8397 * csu/libc-start.c: Don't include <bp-start.h>.
8398 (LIBC_START_MAIN): Set up __environ directly instead of using
8399 INIT_ARGV_and_ENVIRON.
8400 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8401 <bp-start.h>.
8402
f3499f95
JM
8403 [BZ #13550]
8404 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8405 definitions.
8406 (CHECK_FCNTL): Likewise.
8407 (CHECK_N_PAGES): Likewise.
8408
32a45bea
JM
8409 [BZ #13550]
8410 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8411 definitions.
8412 (CHECK_SIGSET_NULL_OK): Likewise.
8413 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8414 <bp-checks.h>.
8415 (sigpending): Don't use CHECK_SIGSET.
8416 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8417 <bp-checks.h>.
8418 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8419 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8420 <bp-checks.h>.
8421 (do_sigsuspend): Don't use CHECK_SIGSET.
8422 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8423 use CHECK_SIGSET.
8424 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8425 (do_sigwait): Don't use CHECK_SIGSET.
8426 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8427 use CHECK_SIGSET.
8428 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8429 include <bp-checks.h>.
8430 (sigpending): Don't use CHECK_SIGSET.
8431 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8432 include <bp-checks.h>.
8433 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8434 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8435 <bp-checks.h>.
8436 (sigpending): Don't use CHECK_SIGSET.
8437 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8438 <bp-checks.h>.
8439 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8440
2e8a5c8c
JM
8441 [BZ #13550]
8442 * sysdeps/generic/bp-semctl.h: Remove file.
8443 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8444 <bp-checks.h> and <bp-semctl.h>.
8445 (__old_semctl): Don't use CHECK_SEMCTL.
8446 (__new_semctl): Likewise.
8447 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8448 and <bp-semctl.h>.
8449 (__old_semctl): Don't use CHECK_SEMCTL.
8450 (__new_semctl): Likewise.
8451 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8452 <bp-checks.h> and <bp-semctl.h>.
8453 (__old_semctl): Don't use CHECK_SEMCTL.
8454 (__new_semctl): Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8456 <bp-checks.h> and <bp-semctl.h>.
8457 (semctl): Don't use CHECK_SEMCTL.
8458
c2d54929
JM
8459 [BZ #13550]
8460 * Makerules (elide-bp-thunks): Remove variable.
8461 (elide-routines.oS): Don't use $(elide-bp-thunks).
8462 (elide-routines.os): Likewise.
8463 (elide-routines.o): Likewise.
8464 (elide-routines.op): Likewise.
8465 (elide-routines.og): Likewise.
8466 (objects): Don't use $(bp-thunks).
8467 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8468 include.
8469 (common-generated): Do not add s-proto-bp.d.
8470 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8471 (int): Likewise.
8472 (typ): Likewise.
8473 Do not generate makefile rules for bounded-pointer thunks.
8474 * sysdeps/generic/bp-thunks.h: Remove file.
8475 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8476 * sysdeps/unix/s-proto-bp.S: Likewise.
8477
8cf28c5e
JM
8478 [BZ #15062]
8479 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8480 parts of result separately when argument is not close to line from
8481 -i to i and one part of argument is small.
8482 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8483 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8484 * math/libm-test.inc (cacos_test): Add more tests.
8485 (casin_test): Likewise.
8486 (casinh_test): Likewise.
8487 * sysdeps/i386/fpu/libm-test-ulps: Update.
8488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8489
c4e33b8d
DM
84902013-01-31 David S. Miller <davem@davemloft.net>
8491
8492 * po/de.po: Update from translation team.
8493
3b60b421
MK
84942013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8495
8496 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8497
bb931195
TS
84982013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8499
b5a5da23
TS
8500 * configure.in (_AC_PROG_CC_C89): New definition.
8501 * configure: Regenerate.
8502
bb931195
TS
8503 * configure.in (AC_PROG_CPP): New definition.
8504 * configure: Regenerate.
8505
8c53a12c
JM
85062013-01-23 Joseph Myers <joseph@codesourcery.com>
8507
8508 * debug/tst-backtrace.h: New file.
8509 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8510 (ret): Remove variable.
8511 (x): Likewise.
8512 (FAIL): Remove macro.
8513 (NO_INLINE): Likewise.
8514 (fn1): Use match function instead of strstr.
8515 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8516 (ret): Remove variable.
8517 (x): Likewise.
8518 (FAIL): Remove macro.
8519 (NO_INLINE): Likewise.
8520 (fn): Use match function instead of strstr.
8521 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8522 (ret): Remove variable.
8523 (x): Likewise.
8524 (FAIL): Remove macro.
8525 (NO_INLINE): Likewise.
8526 (handle_signal): Use match function instead of strstr.
8527 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8528 (ret): Remove variable.
8529 (x): Likewise.
8530 (FAIL): Remove macro.
8531 (NO_INLINE): Likewise.
8532 (handle_signal): Use match function instead of strstr.
8533
4858fa2a
RM
85342013-01-23 Roland McGrath <roland@hack.frob.com>
8535
8536 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8537
bae8e7f5
DM
85382013-01-23 David S. Miller <davem@davemloft.net>
8539
8540 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8541 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8542 argument of CAS if possible.
8543 * sysdeps/sparc/sparc64/bits/atomic.h
8544 (__arch_compare_and_exchange_val_32_acq): Likewise.
8545 (__arch_compare_and_exchange_val_64_acq): Likewise.
8546
9cbbc4ae
PT
85472013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8548
8549 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8550 * sysdeps/posix/ulimit.c: ... this.
92a601b8 8551 Include <limits.h>.
67b3f58c 8552 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 8553
5655a0b5
AC
85542013-01-23 Adam Conrad <adconrad@0c3.net>
8555
8556 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8557 (LDFLAGS-tst-array5): Likewise.
8558
052aff95
JM
85592013-01-23 Joseph Myers <joseph@codesourcery.com>
8560
8561 [BZ #15036]
8562 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8563 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8564 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8565 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8566
7c1e01aa
DM
85672013-01-21 David S. Miller <davem@davemloft.net>
8568
8569 * sysdeps/sparc/backtrace.c: New file.
8570 * sysdeps/sparc/sparc32/backtrace.h: New file.
8571 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8572 * sysdeps/sparc/sparc64/backtrace.h: New file.
8573 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8574 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8575 -funwind-tables.
8576
ab087e0a
AS
85772013-01-21 Andreas Schwab <schwab@suse.de>
8578
8579 [BZ #15020]
8580 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8581 closed its stdout.
8582
ed689c2f
AS
85832013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8584
8585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8586 "mpa2.h".
8587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8588
31d470ac
JM
85892013-01-18 Joseph Myers <joseph@codesourcery.com>
8590 Mark Mitchell <mark@codesourcery.com>
8591 Tom de Vries <tom@codesourcery.com>
8592 Paul Pluzhnikov <ppluzhnikov@google.com>
8593
8594 * debug/tst-backtrace2.c: New file.
8595 * debug/tst-backtrace3.c: Likewise.
8596 * debug/tst-backtrace4.c: Likewise.
8597 * debug/tst-backtrace5.c: Likewise.
8598 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8599 (CFLAGS-tst-backtrace3.c): Likewise.
8600 (CFLAGS-tst-backtrace4.c): Likewise.
8601 (CFLAGS-tst-backtrace5.c): Likewise.
8602 (LDFLAGS-tst-backtrace2): Likewise.
8603 (LDFLAGS-tst-backtrace3): Likewise.
8604 (LDFLAGS-tst-backtrace4): Likewise.
8605 (LDFLAGS-tst-backtrace5): Likewise.
8606 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8607 tst-backtrace4 and tst-backtrace5.
8608
90567f30 86092013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
8610 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8611
8612 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8613 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8614 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8615 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8617 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8618 "+r" and remove output regs list as redundant. Add explicit inline
8619 asm to specify register of return val to work around compiler codegen
8620 bug. Remove (int) cast on return value. Add return type parameter to
8621 use in macro so that this macro does not truncate return value for
8622 64-bit values.
8623 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8624 pass to INTERNAL_VSYSCALL_NCS.
8625 (INLINE_VSYSCALL): Add 'long int' as return type to
8626 INTERNAL_VSYSCALL_NCS macro invocation.
8627 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8628 INTERNAL_VSYSCALL_NCS macro invocation.
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8630
d3b9ea61
SP
86312013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8632
0b57daeb
SP
8633 [BZ #14496]
8634 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8635 Fix application of SIMD FP exception mask.
8636
caa99d06
SP
8637 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8638 mp_no from a power of two.
8639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8640 __mpexp_twomm1. Use __pow_mp.
8641
d3b9ea61
SP
8642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8643 multiplication.
8644
1dbaee3c
DM
86452013-01-17 David S. Miller <davem@davemloft.net>
8646
8647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8648
728d7b43
JM
86492013-01-17 Joseph Myers <joseph@codesourcery.com>
8650
8651 [BZ #15023]
8652 * include/complex.h: Condition contents on [!_COMPLEX_H].
8653 (__kernel_casinhf): New prototype.
8654 (__kernel_casinh): Likewise.
8655 (__kernel_casinhl): Likewise.
8656 * math/Makefile (libm_calls): Add k_casinh.
8657 * math/k_casinh.c: New file.
8658 * math/k_casinhf.c: Likewise.
8659 * math/k_casinhl.c: Likewise.
8660 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8661 finite nonzero arguments.
8662 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8663 finite nonzero arguments.
8664 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8665 finite nonzero arguments.
8666 * math/s_casinh.c: Do not include <float.h>.
8667 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8668 * math/s_casinhf.c: Do not include <float.h>.
8669 (__casinhf): Move code for finite nonzero arguments to
8670 k_casinhf.c.
8671 * math/s_casinhl.c: Do not include <float.h>.
8672 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8673 redefine.
8674 (__casinhl): Move code for finite nonzero arguments to
8675 k_casinhl.c.
8676 * math/libm-test.inc (cacos_test): Add more tests.
8677 * sysdeps/i386/fpu/libm-test-ulps: Update.
8678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8679
2a26ef3a
PT
86802013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8681
8682 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8683 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8684 [!HAVE_MREMAP]: Remove [defined linux] case.
8685 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8686
a897655d
SP
86872013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8688
8689 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8690
881ebe89 86912013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
8692
8693 * elf/elf.h (R_386_SIZE32): New relocation.
8694 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8695 R_386_SIZE32.
8696 (elf_machine_rela): Likewise.
8697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8698 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8699
59981e9b
JM
87002013-01-17 Joseph Myers <joseph@codesourcery.com>
8701
8702 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8703 (FP_FAST_FMA): Do not define.
8704 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8705 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8706 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8707 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8708 !_SOFT_FLOAT]: Likewise.
8709 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8710 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8711 value.
8712 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8713 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8714 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8715 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8716 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8717 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8718 file.
8719
cfa8054f
AS
87202013-01-16 Andreas Schwab <schwab@suse.de>
8721
8722 [BZ #14327]
8723 * include/stdlib.h (__mktemp): Add declaration.
8724 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8725 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8726
dd930cc5
SP
87272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8728
881ebe89
SP
8729 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8730 definitions.
8731 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8732 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8733 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8734 definitions here.
8735 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8736 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8737 definitions.
8738 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8739 and ONE.
8740 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8741 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8742 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8743 definitions.
8744 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8745 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8746 definitions.
8747 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 8748
dd930cc5
SP
8749 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8750
c19a9f89
DM
87512013-01-15 David S. Miller <davem@davemloft.net>
8752
1aa61767
DM
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8754 trunc{,f} to libm-sysdep_routes.
8755 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8757 file.
8758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8760 file.
8761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8762 file.
8763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8765 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8766 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8767 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8768 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8769 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8770 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8771
c42d5e98
DM
8772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8773 nearbyint{,f} to libm-sysdep_routes.
8774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8776 New file.
8777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8778 file.
8779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8780 New file.
8781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8782 file.
8783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8785 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8786 file.
8787 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8788 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8789 file.
8790 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8791 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8792 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8793
c19a9f89
DM
8794 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8795 libc_feholdexcept and libc_fesetenv.
8796
357679d2
MF
87972013-01-15 Mike Frysinger <vapier@gentoo.org>
8798
8799 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8800
65a82e3d
DM
88012013-01-14 David S. Miller <davem@davemloft.net>
8802
8b954ab9
DM
8803 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8804 (SPARC_ASM_VIS2_IFUNC): Likewise.
8805 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8807 use of 'siam' instruction.
8808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8809 Likewise.
8810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8811 Likewise.
8812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8813 Likewise.
8814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8815 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8819 file.
8820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8821 file.
8822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8823 file.
8824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8825 file.
8826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8831 new VIS2 routines.
8832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8835 Likewise.
8836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8838 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8839 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8841 routines to libm-sysdep_routines.
8842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8843
65a82e3d
DM
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8845 fdim/fdimf to libm-sysdep_routines.
8846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8847 file.
8848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8850 file.
8851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8854 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8855 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8856 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8857 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8858
e34ab705
SP
88592013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8860
2a91b573
SP
8861 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8862 to optimize copies.
8863
1066a534
SP
8864 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8867
e34ab705
SP
8868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8869 local variable MPTWO.
8870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8871 Likewise.
8872
aba5e596
MF
88732013-01-13 Mike Frysinger <vapier@gentoo.org>
8874
8875 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8876 GLOB_NOESCAPE.
8877
e557e9e5
MF
88782013-01-13 Mike Frysinger <vapier@gentoo.org>
8879
8880 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8881
0428cec9
MF
88822013-01-13 Mike Frysinger <vapier@gentoo.org>
8883
8884 * manual/pattern.texi (glob_t): Document gl_flags.
8885 (glob64_t): Likewise.
8886
8794a964
DM
88872013-01-11 David S. Miller <davem@davemloft.net>
8888
66438c3f
RM
8889 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8890 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8891 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8892 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8893 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8894 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8895 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8896 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8897 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8898 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8899 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8900 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8901 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8902
4ae4244d
DM
8903 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8904 sparc V9 rather than using V8 code.
8905 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8906 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8907
8794a964
DM
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8909 Move to...
8910 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8911 Here.
8912
6270516e
RM
89132013-01-11 Roland McGrath <roland@hack.frob.com>
8914
8915 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8916 not in the main loop.
8917 * configure: Regenerated.
8918
6a57d931
JM
89192013-01-11 Joseph Myers <joseph@codesourcery.com>
8920
8921 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8922 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8923 to just #else.
8924 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8925 [!__GLIBC_HAVE_LONG_LONG] case.
8926 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8927 condition to just #else.
8928 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8929 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8930 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8931 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8932 unconditional.
8933 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8934 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8935 #elif condition to just #else.
8936 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8937 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8938 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8939 #elif condition to just #else.
8940
0e8529e9
SE
89412013-01-11 Steve Ellcey <sellcey@mips.com>
8942
8943 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8944 (EF_MIPS_ARCH_64): Fix value.
8945 (EF_MIPS_ARCH_32R2): New.
8946 (EF_MIPS_ARCH_64R2): New.
8947
740b3dbe
L
89482013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8949
8950 * Makeconfig (+link-pie-before-libc): New.
8951 (+link-pie-after-libc): Likewise.
8952 (+link-pie-tests): Likewise.
8953 (+link-pie): Rewritten.
8954 (link-before-libc): Remove $(config-LDFLAGS).
8955 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8956 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8957 (config-LDFLAGS): Renamed to ...
8958 (rtld-LDFLAGS): This.
8959 (rtld-tests-LDFLAGS): New macro.
8960 (link-libc-rpath-link): Likewise.
8961 (link-libc-tests-rpath-link): Likewise.
8962 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8963 (link-libc): Prepand $(link-libc-rpath-link).
8964 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8965 (test-program-prefix): New macro.
8966 (test-via-rtld-prefix): Likewise.
8967 (test-program-cmd): Likewise.
8968 (host-test-program-cmd): Likewise.
8969 * Makefile ($(common-objpfx)testrun.sh): Replace
8970 $(run-program-prefix) with $(test-program-prefix).
8971 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8972 $(rtld-LDFLAGS).
8973 ($(common-objpfx)shlib.lds): Likewise.
8974 (build-module-helper): Likewise.
8975 ($(common-objpfx)format.lds): Likewise.
8976 * Rules (binaries-pie-tests): New.
8977 (binaries-pie-notests): Likewise.
8978 (binaries-pie): Rewritten.
8979 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8980 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8981 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8982 (make-test-out): Replace $(host-built-program-cmd) with
8983 $(host-test-program-cmd).
8984 * config.make.in (build-hardcoded-path-in-tests): New variable.
8985 * configure.in (--enable-hardcoded-path-in-tests): New configure
8986 option.
8987 (hardcoded_path_in_tests): New AC_SUBST.
8988 * configure: Regenerated.
8989 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8990 $(built-program-cmd) with $(test-program-cmd).
8991 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8992 (test_program_cmd): This.
8993 * elf/Makefile ($(objpfx)order.out): Run test with
8994 $(test-program-prefix).
8995 ($(objpfx)order2.out): Likewise.
8996 ($(objpfx)tst-initorder.out): Likewise.
8997 ($(objpfx)tst-initorder2.out): Likewise.
8998 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8999 $(test-program-cmd).
9000 ($(objpfx)tst-array1-static.out): Likewise.
9001 ($(objpfx)tst-array2.out): Likewise.
9002 ($(objpfx)tst-array3.out): Likewise.
9003 ($(objpfx)tst-array4.out): Likewise.
9004 ($(objpfx)tst-array5.out): Likewise.
9005 ($(objpfx)tst-array5-static.out): Likewise.
9006 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9007 $(test-program-cmd).
9008 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9009 $(run-program-prefix) with $(test-program-prefix).
9010 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9011 (test_program_prefix): This.
9012 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9013 $(run-program-prefix) with $(test-program-prefix).
9014 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9015 (test_program_prefix): This.
9016 * iconvdata/tst-tables.sh: Likewise.
9017 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9018 $(run-program-prefix) with $(test-program-prefix).
9019 ($(objpfx)tst-translit.out): Likewise.
9020 ($(objpfx)tst-gettext2.out): Likewise.
9021 ($(objpfx)tst-gettext4.out): Likewise.
9022 ($(objpfx)tst-gettext6.out): Likewise.
9023 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9024 (test_program_prefix): This.
9025 * intl/tst-gettext2.sh: Likewise.
9026 * intl/tst-gettext4.sh Likewise.
9027 * intl/tst-gettext6.sh: Likewise.
9028 * intl/tst-translit.sh: Likewise.
9029 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9030 with $(test-program-cmd).
9031 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9032 $(run-program-prefix) with $(test-program-prefix).
9033 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9034 (test_program_prefix): This.
9035 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9036 $(run-program-prefix) with $(test-program-prefix).
9037 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9038 (test_program_prefix): This.
9039 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9040 * posix/Makefile ($(objpfx)globtest.out): Replace
9041 $(run-via-rtld-prefix) and $(test-wrapper) with
9042 $(test-program-prefix) and $(test-via-rtld-prefix).
9043 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9044 $(test-program-prefix).
9045 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9046 $(host-test-program-cmd).
9047 (tst-spawn-ARGS): Likewise.
9048 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9049 $(test-program-prefix).
9050 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9051 (test_via_rtld_prefix): This.
9052 (test_wrapper): Renamed to ...
9053 (test_program_prefix): This.
9054 (run_program_prefix): Replaced by test_program_prefix.
9055 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9056 (test_program_prefix): This.
9057 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9058 with $(host-test-program-cmd).
9059 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9060 $(run-program-prefix) with $(test-program-prefix).
9061 ($(objpfx)tst-printf.out): Likewise.
9062 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9063 $(test-program-cmd).
9064 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9065 (test_program_prefix): This.
9066 * stdio-common/tst-unbputc.sh: Likewise.
9067 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9068 $(run-program-prefix) with $(test-program-prefix).
9069 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9070 (test_program_prefix): This.
9071 * string/Makefile ($(objpfx)tst-svc.out): Replace
9072 $(built-program-cmd) with $(test-program-cmd).
9073
c6fe55cf
AJ
90742013-01-11 Andreas Jaeger <aj@suse.de>
9075
9076 [BZ #15003]
9077 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9078 value. Sync with Linux 3.7.
9079
9e6919c8
DM
90802013-01-10 David S. Miller <davem@davemloft.net>
9081
9082 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9083 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9084 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9085
1c9f1a02
RM
90862013-01-10 Roland McGrath <roland@hack.frob.com>
9087
9088 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9089 never set.
9090 * configure: Regenerated.
9091
b9de2dde
DM
90922013-01-10 David S. Miller <davem@davemloft.net>
9093
9094 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9095 sparc V9 rather than using V8 code.
9096 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9097 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9098
e7f68ef4
RM
90992013-01-10 Roland McGrath <roland@hack.frob.com>
9100
9101 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9102 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9103 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9104 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9105 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9106 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9107 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9108 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9109 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9110 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9111 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9112 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9113 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9114 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9115 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9116 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9117 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9118 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9119 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9120 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9121 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9122 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9123 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9124 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9125 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9126 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9127 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9128
5a47cc9c
DM
91292013-01-10 David S. Miller <davem@davemloft.net>
9130
9131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9132
4cf8f209
L
91332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9134
9135 * posix/Makefile (tests-static): New variable.
9136 (tests): Add $(tests-static).
9137 (tst-exec-static-ARGS): New variable.
9138 (tst-spawn-static-ARGS): Likewise.
9139 * posix/tst-exec-static.c: New file.
9140 * posix/tst-spawn-static.c: Likewise.
9141 * posix/tst-exec.c: Support run directly.
9142 * posix/tst-spawn.c: Likewise.
9143
fed0faa1
JM
91442013-01-10 Joseph Myers <joseph@codesourcery.com>
9145
828beb13
JM
9146 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9147 long.
9148 * math/bits/mathcalls.h (llrint): Likewise.
9149 (llround): Likewise.
9150 * stdlib/stdlib.h (struct drand48_data): Likewise.
9151 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9152 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9154 Likewise.
9155 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9156 Likewise.
9157 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9158 (elf_greg_t): Likewise.
9159 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9160 (__jmp_buf): Likewise.
9161 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9162 definitions.
9163 (llrint): Likewise, for all definitions.
9164 (llrintl): Likewise.
9165
fed0faa1
JM
9166 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9167 Remove [__GNUC__] condition.
9168 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9169 condition to just [__USE_ISOC99].
9170 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9171
1a20cb20
L
91722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 [BZ #14200]
9175 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9176 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9177 defined.
9178 (_POSIX_V6_ILP32_OFF32): Likewise.
9179 (_XBS5_ILP32_OFF32): Likewise.
9180 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9181 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9182
751b85f7
SP
91832013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9184
7490eb81
SP
9185 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9186
751b85f7
SP
9187 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9188 doubles __mpexp_twomm1. Adjust usage.
9189 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9190 Remove.
9191
988197f0
AS
91922013-01-10 Andreas Schwab <schwab@suse.de>
9193
9194 [BZ #14964]
9195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9196 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9197
e83d7298
DM
91982013-01-09 David S. Miller <davem@davemloft.net>
9199
034ed64b 9200 [BZ #15003]
e83d7298
DM
9201 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9202 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9203 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9204 TCP_FASTOPEN): Define.
9205 (tcp_repair_opt): New structure.
9206 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9207 enum values.
9208 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9209 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9210 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9211 (tcp_cookie_transactions): New structure.
9212
d5e0b9bd
AB
92132013-01-09 Anton Blanchard <anton@samba.org>
9214
9215 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9216 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9218 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9219
0c07e3ea
JM
92202013-01-09 Joseph Myers <joseph@codesourcery.com>
9221
9222 * include/features.h (__USE_ANSI): Remove.
9223
232f7002
RM
92242013-01-09 Roland McGrath <roland@hack.frob.com>
9225
ad98e30c
RM
9226 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9227
232f7002
RM
9228 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9229
950c99ca
SP
92302013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9231
b5792741
SP
9232 * sysdeps/s390/fpu/libm-test-ulps: Update.
9233
47cf2278
SP
9234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9235
950c99ca
SP
9236 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9237 (__acr): Likewise.
9238 (__cpy): Likewise.
9239 (norm): Likewise.
9240 (denorm): Likewise.
9241 (__mp_dbl): Likewise.
9242 (__dbl_mp): Likewise.
9243 (add_magnitudes): Likewise.
9244 (sub_magnitudes): Likewise.
9245 (__add): Likewise.
9246 (__sub): Likewise.
9247 (__mul): Likewise.
9248 (__inv): Likewise.
9249 (__dvd): Likewise.
9250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9251 (__acr): Likewise.
9252 (__cpy): Likewise.
9253 (norm): Likewise.
9254 (denorm): Likewise.
9255 (__mp_dbl): Likewise.
9256 (__dbl_mp): Likewise.
9257 (add_magnitudes): Likewise.
9258 (sub_magnitudes): Likewise.
9259 (__add): Likewise.
9260 (__sub): Likewise.
9261 (__mul): Likewise.
9262 (__inv): Likewise.
9263 (__dvd): Likewise.
9264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9265 (__acr): Likewise.
9266 (__cpy): Likewise.
9267 (norm): Likewise.
9268 (denorm): Likewise.
9269 (__mp_dbl): Likewise.
9270 (__dbl_mp): Likewise.
9271 (add_magnitudes): Likewise.
9272 (sub_magnitudes): Likewise.
9273 (__add): Likewise.
9274 (__sub): Likewise.
9275 (__mul): Likewise.
9276 (__inv): Likewise.
9277 (__dvd): Likewise.
9278
eede9df9
JM
92792013-01-08 Joseph Myers <joseph@codesourcery.com>
9280
9281 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9282 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9283 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9284 2 && __USE_EXTERN_INLINES]: Likewise.
9285
c40ea3d9
AJ
92862013-01-08 Andreas Jaeger <aj@suse.de>
9287
9288 [BZ# 14985]
9289 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9290 Remove.
9291 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9292 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9293
2ccdea26
AB
92942013-01-07 Anton Blanchard <anton@samba.org>
9295
9296 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9297 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9298 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9299 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9300 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9301 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9302 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9303 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9304 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9305 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9306 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9307 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9308 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9312 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9313 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9314 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9315 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9318 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9319 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9320 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9321 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9322 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9323 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9324 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9325 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9326 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9328 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9329 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9330 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9331 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9332 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9333 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9334 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9335 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9336 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9337 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9338 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9339
a9708fed
JM
93402013-01-07 Joseph Myers <joseph@codesourcery.com>
9341
375607b9
JM
9342 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9343 (__MALLOC_PMT): Likewise.
9344 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9345 [__GNUC__], only on [_LIBC].
9346 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9347 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9348 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9349 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9350 forward declaration.
9351 (realloc_hook_ini): Likewise.
9352 (memalign_hook_ini): Likewise.
9353 (__libc_memalign): Do not use __MALLOC_PMT in variable
9354 declaration.
9355 (__libc_valloc): Likewise.
9356 (__libc_pvalloc): Likewise.
9357 (__libc_calloc): Likewise.
9358 (__posix_memalign): Likewise.
9359
a9708fed
JM
9360 [BZ #14996]
9361 * math/s_casinh.c: Include <float.h>.
9362 (__casinh): Do not do computation with squaring and square root
9363 for large arguments.
9364 * math/s_casinhf.c: Include <float.h>.
9365 (__casinhf): Do not do computation with squaring and square root
9366 for large arguments.
9367 * math/s_casinhl.c: Include <float.h>.
9368 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9369 (__casinhl): Do not do computation with squaring and square root
9370 for large arguments.
9371 * math/libm-test.inc (casin_test): Add more tests.
9372 (casinh_test): Likewise.
9373 * sysdeps/i386/fpu/libm-test-ulps: Update.
9374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9375
afec409a
L
93762013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9377
9378 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9379 (__x86_64_raw_data_cache_size): Likewise.
9380 (__x86_64_data_cache_size_half): Likewise.
9381 (__x86_64_raw_data_cache_size_half): Likewise.
9382 (__x86_64_shared_cache_size): Likewise.
9383 (__x86_64_raw_shared_cache_size): Likewise.
9384 (__x86_64_shared_cache_size_half): Likewise.
9385 (__x86_64_raw_shared_cache_size_half): Likewise.
9386 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9387 to ...
9388 (__x86_data_cache_size): This.
9389 (__x86_64_raw_data_cache_size): Renamed to ...
9390 (__x86_raw_data_cache_size): This.
9391 (__x86_64_data_cache_size_half): Renamed to ...
9392 (__x86_data_cache_size_half): This.
9393 (__x86_64_raw_data_cache_size_half): Renamed to ...
9394 (__x86_raw_data_cache_size_half): This.
9395 (__x86_64_shared_cache_size): Renamed to ...
9396 (__x86_shared_cache_size): This.
9397 (__x86_64_raw_shared_cache_size): Renamed to ...
9398 (__x86_raw_shared_cache_size): This.
9399 (__x86_64_shared_cache_size_half): Renamed to ...
9400 (__x86_shared_cache_size_half): This.
9401 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9402 (__x86_raw_shared_cache_size_half): This.
9403 * sysdeps/x86_64/memcpy.S: Updated.
9404 * sysdeps/x86_64/memset.S: Likewise.
9405 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9408
0b3986d0
DM
94092013-01-04 David S. Miller <davem@davemloft.net>
9410
9411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9412
e47686e9
AS
94132013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9414
d643bac1
AS
9415 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9416 1 to avoid redefinition warning.
9417 (__USE_GNU): Don't define.
9418 (init_signaling_nan): Protoize.
9419
e47686e9
AS
9420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9421
b18decba
SP
94222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9423
fffb407f
SP
9424 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9426 (__cpymn): Likewise.
9427 (norm): Remove commented code.
9428 (denorm): Likewise.
9429 (__mp_dbl): Likewise.
9430 (__inv): Likewise.
9431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9432 (__cpymn): Likewise.
9433 (norm): Remove commented code.
9434 (denorm): Likewise.
9435 (__mp_dbl): Likewise.
9436 (__inv): Likewise.
9437
b18decba
SP
9438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9439 mp_no value for 1.0 and 2.0.
9440 (norm): Use RADIXI instead of radixi.d.
9441 (denorm): Likewise.
9442 (__mul): Use 0.0 instead of zero.d.
9443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9444 mp_no value for 1.0 and 2.0.
9445 (norm): Use RADIXI instead of radixi.d.
9446 (denorm): Likewise.
9447 (__mul): Use 0.0 instead of zero.d.
9448
cdc1c96f
JM
94492013-01-04 Joseph Myers <joseph@codesourcery.com>
9450
9451 [BZ #14994]
9452 * math/s_casinh.c (__casinh): Reduce finite argument to first
9453 quadrant then set signs of results at the end.
9454 * math/s_casinhf.c (__casinhf): Likewise.
9455 * math/s_casinhl.c (__casinhl): Likewise.
9456 * math/libm-test.inc (casin_test): Add more tests.
9457 (casinh_test): Likewise.
9458 * sysdeps/i386/fpu/libm-test-ulps: Update.
9459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9460
302913e1
SP
94612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9462
6420d207
SP
9463 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9464
a9e48ab4
SP
9465 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9466
b7837264
SP
9467 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9468 declarations.
9469 (denorm): Likewise.
9470 (__mp_dbl): Likewise.
9471 (__inv): Likewise.
9472
f8af25d2
SP
9473 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9474 and adjust the header comment.
9475
302913e1
SP
9476 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9477 variable name from declaration.
9478
5d7dd1ca
L
94792013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9480
9481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9482 Initialize COMMON_CPUID_INDEX_7 element.
9483 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9484 (CPUID_RTM): Likewise.
9485 (HAS_RTM): Likewise.
9486 (COMMON_CPUID_INDEX_7): New enum.
9487
2f5f40f4
AS
94882013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9489
9490 [BZ #14981]
9491 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9492 size is zero, record memory as freed.
9493
4056f4a0
AJ
94942013-01-03 Andreas Jaeger <aj@suse.de>
9495
9496 * po/ia.po: Add new Interlingua translation.
9497
ab15736f 94982012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
9499
9500 * locale/programs/localedef.c: Fix description of '--posix' flag.
9501
568035b7
JM
95022013-01-02 Joseph Myers <joseph@codesourcery.com>
9503
e6898b8d
JM
9504 * NEWS: Update dates in second copyright notice.
9505 * README: Update copyright dates in example.
9506 * manual/libc.texinfo: Update copyright dates.
9507 * scripts/test-installation.pl: Update copyright date in --version
9508 output.
9509
0e2f9562
JM
9510 * hurd/ctty-input.c: Fix copyright notice formatting.
9511 * hurd/ctty-output.c: Likewise.
9512 * hurd/dtable.c: Likewise.
9513 * hurd/hurd-raise.c: Likewise.
9514 * hurd/hurdprio.c: Likewise.
9515 * hurd/msgportdemux.c: Likewise.
9516 * misc/sys/file.h: Likewise.
9517 * misc/sys/ioctl.h: Likewise.
9518 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9519 * sysdeps/mach/hurd/chdir.c: Likewise.
9520 * sysdeps/mach/hurd/fchdir.c: Likewise.
9521 * sysdeps/mach/hurd/rename.c: Likewise.
9522 * sysdeps/mach/hurd/rmdir.c: Likewise.
9523 * sysdeps/mach/hurd/seekdir.c: Likewise.
9524 * sysdeps/mach/hurd/setsid.c: Likewise.
9525 * sysdeps/posix/wait3.c: Likewise.
9526
568035b7
JM
9527 * All files with FSF copyright notices: Update copyright dates
9528 using scripts/update-copyrights.
9529 * intl/plural.c: Regenerated.
9530 * locale/programs/charmap-kw.h: Likewise.
9531 * locale/programs/locfile-kw.h: Likewise.
9532
da08f647
SP
95332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9534
0f5477af
SP
9535 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9536 four values.
9537
44e0d4c2
SP
9538 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9539 calculation loop and add branch prediction.
9540
4d55b4e5
SP
9541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9542 check access beyond bounds of m1np.
9543
da08f647
SP
9544 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9545 MPTWO.
9546 (__inv): Remove local variable MPTWO to use the global
9547 constant.
9548 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9549 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9550 variable MPTWO.
9551 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9552 MP3HALFS static const.
9553
8e051029
DM
95542013-01-01 David S. Miller <davem@davemloft.net>
9555
9556 * po/ca.po: Update from translation team.
9557
f4cf5f2d
JM
95582013-01-01 Joseph Myers <joseph@codesourcery.com>
9559
9560 * scripts/update-copyrights: New file.
9561 * Makeconfig: Reformat copyright notice.
9562 * ctype/ctype.h: Likewise.
9563 * debug/swprintf_chk.c: Likewise.
9564 * elf/dl-cache.c: Likewise.
9565 * elf/dl-debug.c: Likewise.
9566 * elf/dl-object.c: Likewise.
9567 * grp/initgroups.c: Likewise.
9568 * hurd/Makefile: Likewise.
9569 * hurd/hurd/signal.h: Likewise.
9570 * hurd/hurdfault.c: Likewise.
9571 * hurd/hurdioctl.c: Likewise.
9572 * hurd/hurdlookup.c: Likewise.
9573 * hurd/intr-msg.c: Likewise.
9574 * iconv/gconv_open.c: Likewise.
9575 * libio/swprintf.c: Likewise.
9576 * locale/lc-ctype.c: Likewise.
9577 * locale/nl_langinfo.c: Likewise.
9578 * mach/Machrules: Likewise.
9579 * mach/Makefile: Likewise.
9580 * malloc/obstack.h: Likewise.
9581 * manual/Makefile: Likewise.
9582 * manual/tsort.awk: Likewise.
9583 * misc/bits/stab.def: Likewise.
9584 * nis/nis_print_group_entry.c: Likewise.
9585 * nis/nis_table.c: Likewise.
9586 * nis/nss_compat/compat-pwd.c: Likewise.
9587 * nis/nss_compat/compat-spwd.c: Likewise.
9588 * po/Makefile: Likewise.
9589 * posix/fnmatch.c: Likewise.
9590 * posix/regex.h: Likewise.
9591 * resolv/Makefile: Likewise.
9592 * resolv/nss_dns/dns-network.c: Likewise.
9593 * resolv/res_hconf.c: Likewise.
9594 * scripts/gen-sorted.awk: Likewise.
9595 * soft-fp/soft-fp.h: Likewise.
9596 * stdio-common/printf.h: Likewise.
9597 * stdlib/monetary.h: Likewise.
9598 * stdlib/random.c: Likewise.
9599 * stdlib/random_r.c: Likewise.
9600 * sysdeps/generic/Makefile: Likewise.
9601 * sysdeps/gnu/Makefile: Likewise.
9602 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9606 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9609 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9612 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9613 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9616 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9617 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9618 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9619 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9622 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9623 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9624 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9630 * sysdeps/mach/hurd/errnos.awk: Likewise.
9631 * sysdeps/mach/hurd/fork.c: Likewise.
9632 * sysdeps/mach/hurd/getcwd.c: Likewise.
9633 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9634 * sysdeps/mach/hurd/mmap.c: Likewise.
9635 * sysdeps/mach/hurd/utimes.c: Likewise.
9636 * sysdeps/mach/hurd/xmknod.c: Likewise.
9637 * sysdeps/posix/profil.c: Likewise.
9638 * sysdeps/posix/readdir_r.c: Likewise.
9639 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9640 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9641 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9642 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9644 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9646 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9648 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9649 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9650 * sysdeps/pthread/lio_listio.c: Likewise.
9651 * sysdeps/sparc/dl-procinfo.h: Likewise.
9652 * sysdeps/unix/i386/sysdep.S: Likewise.
9653 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9654 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9655 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9656 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9658 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9659 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9660 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9661 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9662 * sysdeps/wordsize-32/divdi3.c: Likewise.
9663 * time/sys/time.h: Likewise.
9664 * wcsmbs/Makefile: Likewise.
9665
0549fbba
DM
96662013-01-01 David S. Miller <davem@davemloft.net>
9667
a141f1a7
DM
9668 * po/fr.po: Update from translation team.
9669
0549fbba
DM
9670 * catgets/gencat.c: Update copyright year.
9671 * csu/version.c: Likewise.
9672 * debug/catchsegv.sh: Likewise.
9673 * debug/pcprofiledump.c: Likewise.
9674 * debug/xtrace.sh: Likewise.
9675 * elf/ldconfig.c: Likewise.
9676 * elf/ldd.bash.in: Likewise.
9677 * elf/pldd.c: Likewise.
9678 * elf/sotruss.ksh: Likewise.
9679 * elf/sprof.c: Likewise.
9680 * iconv/iconv_prog.c: Likewise.
9681 * iconv/iconvconfig.c: Likewise.
9682 * locale/programs/locale.c: Likewise.
9683 * locale/programs/localedef.c: Likewise.
9684 * login/programs/pt_chown.c: Likewise.
9685 * malloc/memusage.sh: Likewise.
9686 * malloc/memusagestat.c: Likewise.
9687 * malloc/mtrace.pl: Likewise.
9688 * nscd/nscd.c: Likewise.
9689 * nss/getent.c: Likewise.
9690 * nss/makedb.c: Likewise.
9691 * posix/getconf.c: Likewise.
9692
18ea052c
SP
96932012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9694
9695 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9696 numbers.
9697
9c89fca6
MF
96982012-12-30 Mike Frysinger <vapier@gentoo.org>
9699
9700 * math/bits/mathcalls.h (modf): Use __nonnull.
9701
085ec079
SP
97022012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9703
9704 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9705 (split): Use macro CN instead of the bare value.
9706 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9707 could be used.
9708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9709 instead of the bare value.
9710 (power1): Likewise.
9711
6d9f97e1
SP
97122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9713
d63f73be
SP
9714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9715 __ATAN_TWOM.
9716 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9717
6d9f97e1
SP
9718 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9719 their values.
9720 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9721 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9722 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9723 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9724
4c4febf5
AJ
97252012-12-28 Andreas Jaeger <aj@suse.de>
9726
af5843ef
AJ
9727 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9728 values are from Linux 3.7.
9729
4c4febf5
AJ
9730 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9731 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9732
99136f82
SP
97332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
2f216c3c 9735 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
9736 TRUE case.
9737
99136f82
SP
9738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9739 (norm): Likewise.
9740 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9741 variables with preprocessor constants.
9742 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9743 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9744 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9745
7fffbdff
BH
97462012-12-27 Bruno Haible <bruno@clisp.org>
9747
9748 [BZ #14317]
9749 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9750 only if needed.
9751
b76eb5f0
SP
97522012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9753
31a7fe5c
SP
9754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9755 and use variable directly.
9756 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9757
b76eb5f0
SP
9758 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9759 MPONE.
9760 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9761 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9762 variable MPONE.
9763 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9765 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9766 include directive. Remove local variable MPONE.
9767 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9768 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9769 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9770
2c8bfe7d
DM
97712012-12-25 David S. Miller <davem@davemloft.net>
9772
9773 * version.h (RELEASE): Set to "development".
9774 (VERSION): Set to "2.17.90".
9775 * NEWS: Add 2.18 section.
9776
147d03b0
DM
97772012-12-21 David S. Miller <davem@davemloft.net>
9778
9779 * po/hr.po: Update from translation team.
9780
a8ebb2b9
AK
97812012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9782
9783 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9784
95b4f1b6
SE
97852012-12-19 Steve Ellcey <sellcey@mips.com>
9786
b2d94007 9787 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 9788
cedb2a90
MS
97892012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9790
9791 * manual/contrib.texi (Contributors): Spelling correction.
9792
bbf527d6
DM
97932012-12-15 David S. Miller <davem@davemloft.net>
9794
9795 * po/ru.po: Update from translation team.
9796
bc38c906
DM
97972012-12-13 David S. Miller <davem@davemloft.net>
9798
85429b1a
DM
9799 * NEWS: Mention IFUNC testsuite enhancements.
9800
d283e353
DM
9801 * po/pl.po: Update from translation team.
9802 * po/bg.po: Likewise.
9803
bc38c906
DM
9804 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9805 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9806
a181b0d7
DM
98072012-12-11 David S. Miller <davem@davemloft.net>
9808
4641d57e
DM
9809 * po/sv.po: Update from translation team.
9810
f7bc6495
DM
9811 * po/vi.po: Update from translation team.
9812
6fc9048f
DM
9813 * po/cs.po: Update from translation team.
9814
a181b0d7
DM
9815 * po/de.po: Update from translation team.
9816 * po/eo.po: Likewise.
9817 * po/nl.po: Likewise.
9818
f70bfe80
SP
98192012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9820
3c8b4190
SP
9821 [BZ #14246]
9822 * manual/argp.texi (Argp Helper Functions): Move node to follow
9823 Argp Parsing State.
9824
f70bfe80
SP
9825 [BZ #14872]
9826 * manual/conf.texi (Limits on File System Capacity): Mention if
9827 terminating null is included in the max size.
9828
188f0adf
AJ
98292012-12-10 Andreas Jaeger <aj@suse.de>
9830
9831 * po/cs.po: Update from translation team.
9832
56e7d3ad
SP
98332012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9834
9835 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9836 void pointer and cast to uintptr_t.
9837 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9838 path.
9839 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9840 * sysdeps/s390/s390-64/memset.S: Likewise.
9841
76f2d2ea 98422012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
9843
9844 [BZ #14833]
9845 * menual/message.texi (Message Translation): Fix typos.
9846 (Helper programs for gettext): Likewise.
9847
67cbf9a2
AS
98482012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9849
9850 [BZ #14898]
9851 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9852 Change to -1.
9853
682d0e9a
DM
98542012-12-07 David S. Miller <davem@davemloft.net>
9855
9856 * po/libc.pot: Update.
9857
573cd484
RH
98582012-12-07 Richard Henderson <rth@redhat.com>
9859
7e9da188 9860 [BZ #10114]
573cd484
RH
9861 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9862 normal/normal case to before the switch.
9863 (_FP_DIV): Likewise.
9864
e933a943
MF
98652012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9866 Mike Frysinger <vapier@gentoo.org>
9867
9868 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9869 check for __NR_fadvise64_64.
9870
82123268
CM
98712012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9872
9873 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9874 0, not just to plain "0" as a statement.
9875 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9876 with cw.
9877
d9814526
JM
98782012-12-06 Joseph Myers <joseph@codesourcery.com>
9879
9880 * NEWS: Use sourceware.org in Bugzilla URL.
9881
7728c574
SP
98822012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9883
f16946dd
SP
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9885 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9886
5704bbcb
SP
9887 * stdio-common/tst-put-error.c (do_test): Add newline to the
9888 padded test to ensure flush.
9889
17aa0516
JL
98902012-12-05 Jeff Law <law@redhat.com>
9891
9892 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9893
363313b5
JM
98942012-12-05 Joseph Myers <joseph@codesourcery.com>
9895
effbd42a
JM
9896 * README: Don't refer to ports add-on as distributed separately.
9897 Mention AArch64 in list of systems supported in the ports add-on.
9898
87600365
JM
9899 * LICENSES: Add more non-FSF copyright and license notices.
9900
a0d7066a
JM
9901 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9902 ((unused)).
9903
66ca5a5b
JM
9904 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9905
363313b5
JM
9906 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9907 10000 as width of padded output.
9908
b37984ad
JM
99092012-12-04 Joseph Myers <joseph@codesourcery.com>
9910
9003570a
JM
9911 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9912
b37984ad
JM
9913 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9914 variable LX with __attribute__ ((unused)).
9915 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9916 Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9919 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9920 with __attribute__ ((unused)).
9921
c8df52ec
DM
99222012-12-04 David S. Miller <davem@abraco.davemloft.net>
9923
9924 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9925
b3b099af
JM
99262012-12-04 Joseph Myers <joseph@codesourcery.com>
9927
c33aa6e3
JM
9928 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9929 (CFLAGS-nldbl-acos.c): New variable.
9930 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9931 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9932 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9933 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9934 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9935 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9936 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9937 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9938 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9939 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9940 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9941 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9942 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9943 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9944 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9945 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9946 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9947 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9948 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9949 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9950 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9951 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9952 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9953 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9954 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9955 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9956 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9957 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9958 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9959 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9960 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9961 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9962 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9963 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9964 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9965 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9966 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9967 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9968 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9969 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9970 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9971 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9972 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9973 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9974 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9975 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9976 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9977 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9978 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9979 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9980 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9981 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9982 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9983 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9984 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9985 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9986 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9987 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9988 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9989 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9990 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9991 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9992 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9993 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9994 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9995 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9996 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9997 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9998 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9999 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10000 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10001 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10002 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10003 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10004 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10005 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10006 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10007 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10008 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10009 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10010 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10011 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10012 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10013 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10014 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10015 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10016 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10017 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10018 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10019 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10020 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10021 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10022 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10023 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10024 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10025 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10026 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10027
20f0018d
JM
10028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10029 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10030
b3b099af
JM
10031 [BZ #14914]
10032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10033 whole low double instead of just low 47 bits when splitting values
10034 into two parts.
10035
029264d1
AM
100362012-12-03 Allan McRae <allan@archlinux.org>
10037
10038 * manual/stdio.texi (Predefined Printf Handlers): Remove
10039 @hsep and @vsep usage.
10040
c9d6789e
MF
100412012-12-03 Mike Frysinger <vapier@gentoo.org>
10042
10043 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10044 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10045
4b7634a5
JL
100462012-12-03 Jeff Law <law@redhat.com>
10047
10048 * time/sys/time.h (settimeofday): Do not mark TV argument
10049 as __nonnull.
10050
eb6cbd24
MF
100512012-12-01 Mike Frysinger <vapier@gentoo.org>
10052
10053 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10054 when currently writing and seek to current position when not.
10055 * libio/Makefile (tests): Remove bug-fclose1.
10056 * libio/bug-fclose1.c: Delete.
10057
f638872a
JM
100582012-12-01 Joseph Myers <joseph@codesourcery.com>
10059
10060 * manual/arith.texi (feenableexcept): Fix typo.
10061 (fedisableexcept): Likewise.
10062
48085d14
RM
100632012-11-30 Roland McGrath <roland@hack.frob.com>
10064
10065 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10066 second, differently-typed declaration, rather than a cast.
10067
1a538b9f
SP
100682012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10069
10070 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10071 * include/rpc/svc.h: ... here.
10072
d07f2ff1 100732012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10074
10075 [BZ #13013]
10076 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10077 depending n and resplen2 to catch cases where answer
10078 equals answerp2.
10079
c93ec1f0
CD
100802012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10081
10082 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10083 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10084
37db69de
MF
100852012-11-29 Mike Frysinger <vapier@gentoo.org>
10086
10087 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10088
e10c4e4f
RM
100892012-11-29 Roland McGrath <roland@hack.frob.com>
10090
10091 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10092
2af1b328
JL
100932012-11-28 Jeff Law <law@redhat.com>
10094
10095 [BZ #13761]
10096 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10097 dataset_temporary. Track alloca usage into alloca_used.
10098 If dataset is large allocate and release it via malloc/free.
10099
111db5b1
FW
101002012-06-04 Florian Weimer <fweimer@redhat.com>
10101
f06cc227 10102 [BZ #14197]
111db5b1
FW
10103 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10104
dd694abd
DM
101052012-11-28 David S. Miller <davem@davemloft.net>
10106
10107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10108
9984dd01
JM
101092012-11-28 Joseph Myers <joseph@codesourcery.com>
10110
10111 [BZ #14803]
10112 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10113 of pi/2 rounded to nearest to 64 bits.
10114 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10115 nearest to 64 bits.
10116 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10117 bits.
10118
14bc93a9
JL
101192012-11-28 Jeff Law <law@redhat.com>
10120 Martin Osvald <mosvald@redhat.com>
10121
10122 [BZ #14889]
10123 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10124 * sunrpc/svc.c: Include time.h.
10125 (__svc_accept_failed): New function.
10126 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10127 any reason other than EINTR, call __svc_accept_failed.
10128 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10129 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10130
e3c6aa3a
AS
101312012-11-28 Andreas Schwab <schwab@suse.de>
10132
10133 * scripts/abilist.awk: Also handle indirect functions in .opd
10134 section.
10135
1bead169
JM
101362012-11-28 Joseph Myers <joseph@codesourcery.com>
10137
10138 [BZ #13881]
10139 * sysdeps/x86/fpu/powl_helper.c: New file.
10140 * sysdeps/x86/fpu/Makefile: Likewise.
10141 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10142 (p3): New object.
10143 (__ieee754_powl): Use __powl_helper for finite arguments except
10144 integer exponents below 8.
10145 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10146 (p3): New object.
10147 (__ieee754_powl): Use __powl_helper for finite arguments except
10148 integer exponents below 8.
10149 * math/libm-test.inc (pow_test): Add more tests and enable some
10150 previously disabled tests.
10151 * sysdeps/i386/fpu/libm-test-ulps: Update.
10152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10153
0817d63d
SP
101542012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10155 Carlos O'Donell <carlos_odonell@mentor.com>
10156
10157 * nss/makedb.c (is_prime): Assert that input is odd and greater
10158 than 4. Note that fact in a comment too.
10159 (next_prime): Add 4 to input.
10160
de2fd463
SP
101612012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10162
10163 [BZ #11741]
10164 * libio/Makefile (tests): Add test case tst-fwrite-error.
10165 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10166 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10167 * libio/tst-fwrite-error.c: New test case.
10168
c515fb51
L
101692012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10170
10171 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10172 before casting to void *.
10173 * include/libc-internal.h (__pointer_type): New macro.
10174 (__integer_if_pointer_type_sub): Likewise.
10175 (__integer_if_pointer_type): Likewise.
10176 (cast_to_integer): Likewise.
10177 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10178 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10179 before casting to atomic64_t.
10180 (atomic_exchange_acq): Likewise.
10181 (__arch_exchange_and_add_body): Likewise.
10182 (__arch_add_body): Likewise.
10183 (atomic_add_negative): Likewise.
10184 (atomic_add_zero): Likewise.
10185
4cf77aa9
JM
101862012-11-26 Joseph Myers <joseph@codesourcery.com>
10187
10188 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10189 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10190 (add_fdes): Likewise.
10191 (linear_search_fdes): Likewise.
10192 (binary_search_unencoded_fdes): Likewise.
10193
d260b3b4
AS
101942012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10195
10196 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10197
67060746
AC
101982012-11-24 Adam Conrad <adconrad@0c3.net>
10199
10200 * configure.in: Autodetect C++ header directories.
10201 * configure: Regenerated.
10202
800938a1
MF
102032012-11-23 Mike Frysinger <vapier@gentoo.org>
10204
10205 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10206
4e6e34e6
AS
102072012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10208
10209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10210
7c7feb47
JM
102112012-11-22 Joseph Myers <joseph@codesourcery.com>
10212
7184dcdf
JM
10213 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10214 LDBL_MANT_DIG == 106]: Disable some tests.
10215 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10216 Likewise.
10217 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10218 Likewise.
10219
0a42601f
JM
10220 [BZ #14871]
10221 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10222 input for small inputs. Return +/- pi/2 for large inputs.
10223 * math/libm-test.inc (atan_test): Add more tests.
10224
79c9b9fe
JM
10225 * sysdeps/generic/unwind-dw2-fde-glibc.c
10226 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10227 __attribute__ ((unused)).
10228
c60d3bf2
JM
10229 [BZ #14645]
10230 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10231 x * y if x and y are nonzero and z is zero.
10232
ef1e0867
JM
10233 [BZ #14811]
10234 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10235 nonzero exponents with absolute value below 0x1p-117 to +/-
10236 0x1p-117.
10237
1468ded3
JM
10238 [BZ #14869]
10239 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10240 up arguments below 2**-450, not just those below 2**-500.
10241 * math/libm-test.inc (hypot_test): Add another test.
10242
8e27e3cc
JM
10243 [BZ #14868]
10244 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10245 Return a+b for ratio over 2**120, not 2**60.
10246 * math/libm-test.inc (hypot_test): Add another test.
10247
c9c0279b
JM
10248 * math/libm-test.inc (clog_test): Use
10249 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10250 (clog10_test): Likewise.
10251
7c7feb47
JM
10252 [BZ #6778]
10253 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10254
fff1530e
AS
102552012-11-22 Andreas Schwab <schwab@suse.de>
10256
10257 * sysdeps/i386/fpu/libm-test-ulps: Update.
10258
94558d30
PT
102592012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10260
10261 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10262 printf output with newline.
10263
7e1be741
L
102642012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10265
6bfea974
L
10266 [BZ #14865]
10267 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10268 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10269 -z nodlopen, -z initfirst and -z execstack support.
10270 * configure: Regenerated.
10271
7e1be741
L
10272 * elf/elf.h (DF_1_NODIRECT): New macro.
10273 (DF_1_IGNMULDEF): Likewise.
10274 (DF_1_NOKSYMS): Likewise.
10275 (DF_1_NOHDR): Likewise.
10276 (DF_1_EDITED): Likewise.
10277 (DF_1_NORELOC): Likewise.
10278 (DF_1_SYMINTPOSE): Likewise.
10279 (DF_1_GLOBAUDIT): Likewise.
10280 (DF_1_SINGLETON): Likewise.
10281 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10282 DT_1_SUPPORTED_MASK bits.
10283 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10284
105ce2ce
CD
102852012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10286
10287 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10288
123be9de
TS
102892012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10290
d072f3f7
TS
10291 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10292 macro.
10293
123be9de
TS
10294 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10295 (sendmmsg): Move declarations...
10296 * socket/sys/socket.h: ... here.
10297 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10298 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10299 include it from...
10300 * socket/recvmmsg.c: ... this new file.
10301 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10302 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10303 definition of __sendmmsg hidden.
10304 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10305 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10306 Move ENOSYS stub into and include it from...
10307 * socket/sendmmsg.c: ... this new file.
10308 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10309 (sysdep_routines): Move recvmmsg and sendmmsg...
10310 * socket/Makefile (routines): ... here.
10311 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10312 (GLIBC_PRIVATE): Add __sendmmsg.
10313 * include/sys/socket.h (__sendmmsg): Add declarations.
10314 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10315 sendmmsg.
10316
cf9a5d18
JM
103172012-11-20 Joseph Myers <joseph@codesourcery.com>
10318
10319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10320 variable I1 with __attribute__ ((unused)).
10321 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10322
ecd4caf9
JM
103232012-11-19 Joseph Myers <joseph@codesourcery.com>
10324
be14d48f
JM
10325 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10326 DUMMY variables with __attribute__ ((unused)).
10327
ecd4caf9
JM
10328 * bits/byteswap.h: Include <bits/types.h>.
10329 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10330
986cab95
PT
103312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10332
10333 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10334 string_t. Do not manually set errno.
10335 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10336 length with __strnlen. Make sure to both set errno and return it on
10337 failure.
10338
6d33cc9d
DM
103392012-11-19 David S. Miller <davem@davemloft.net>
10340
10341 With help from Joseph Myers.
10342 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10343 very large arguments properly.
10344 * math/libm-test.inc (atan_test): New tests.
10345 (atan2_test): New tests.
10346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10348
ee663277
JM
103492012-11-19 Joseph Myers <joseph@codesourcery.com>
10350
877f2d8e
JM
10351 [BZ #14856]
10352 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10353 Define to 3.
10354
116fc08a
JM
10355 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10356 [POSIX] (EADDRNOTAVAIL): Likewise.
10357 [POSIX] (EAFNOSUPPORT): Likewise.
10358 [POSIX] (EALREADY): Likewise.
10359 [POSIX] (ECONNABORTED): Likewise.
10360 [POSIX] (ECONNREFUSED): Likewise.
10361 [POSIX] (ECONNRESET): Likewise.
10362 [POSIX] (EDESTADDRREQ): Likewise.
10363 [POSIX] (EDQUOT): Likewise.
10364 [POSIX] (EHOSTUNREACH): Likewise.
10365 [POSIX] (EIDRM): Likewise.
10366 [POSIX] (EISCONN): Likewise.
10367 [POSIX] (ELOOP): Likewise.
10368 [POSIX] (EMULTIHOP): Likewise.
10369 [POSIX] (ENETDOWN): Likewise.
10370 [POSIX] (ENETUNREACH): Likewise.
10371 [POSIX] (ENOBUFS): Likewise.
10372 [POSIX] (ENODATA): Likewise.
10373 [POSIX] (ENOLINK): Likewise.
10374 [POSIX] (ENOMSG): Likewise.
10375 [POSIX] (ENOPROTOOPT): Likewise.
10376 [POSIX] (ENOSR): Likewise.
10377 [POSIX] (ENOSTR): Likewise.
10378 [POSIX] (ENOTCONN): Likewise.
10379 [POSIX] (ENOTSOCK): Likewise.
10380 [POSIX] (EOPNOTSUPP): Likewise.
10381 [POSIX] (EOVERFLOW): Likewise.
10382 [POSIX] (EPROTO): Likewise.
10383 [POSIX] (EPROTONOSUPPORT): Likewise.
10384 [POSIX] (EPROTOTYPE): Likewise.
10385 [POSIX] (ESTALE): Likewise.
10386 [POSIX] (ETIME): Likewise.
10387 [POSIX] (ETXTBSY): Likewise.
10388 [POSIX] (EWOULDBLOCK): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10390 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10391 [POSIX] (SEEK_CUR): Likewise.
10392 [POSIX] (SEEK_END): Likewise.
10393 [POSIX || UNIX98] (mode_t): Do not require.
10394 [POSIX] (off_t): Likewise.
10395 [POSIX] (pid_t): Likewise.
10396 [POSIX] (sys/stat.h): Do not allow header.
10397 [POSIX] (unistd.h): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10399 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10401 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10402 require.
10403 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10404 sigevent): Specify elements.
10405 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10406 entry.
10407 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10408 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10409
a483863f
JM
10410 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10411 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10412 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10413 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10414 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10415 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10416 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10417 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10419 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10420 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10421 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10422 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10423 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10424 Likewise.
10425 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10426 Likewise.
10427 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10428 Likewise.
10429 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10430 Likewise.
10431 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10432 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10433 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10434 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10436 Specify lower bound on value.
10437 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10442 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10443 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10444 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10445 value.
10446 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10447 as optional.
10448 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10450 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10451 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10455 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10456 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10457 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10459 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10464 entry.
10465 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10466 optional.
10467 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10473 Likewise.
10474 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10475 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10476 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10477 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10478 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10479 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10480 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10481 as optional.
10482 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10483 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10484 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10485 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10486 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10487 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10488 specify as optional.
10489 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10490 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10491 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10492 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10493 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10494 [XPG3] (NL_LANGMAX): Likewise.
10495 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10496 [POSIX || XPG3] (NL_NMAX): Likewise.
10497 [POSIX || XPG3] (NL_SETMAX): Likewise.
10498 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10499 [XPG3] (NZERO): Likewise.
10500 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10501 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10502 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10503 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10504 (REG_ERANGE): Expect.
10505 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10506 optional-constant.
10507 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10508 Use (void) in prototype.
10509 [POSIX] (*_t): Allow.
10510 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10511 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10512 (WRDE_BADVAL): Expect.
10513
5ba924e3
JM
10514 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10515 expect.
10516 [XPG3 || XPG4] (O_RSYNC): Likewise.
10517 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10518 Likewise.
10519 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10520 [XPG3 || XPG4] (sigqueue): Likewise.
10521 [XPG3 || XPG4] (sigtimedwait): Likewise.
10522 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10523 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10524 [XPG3 || XPG4] (vsnprintf): Likewise.
10525 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10526 Likewise.
10527 [XPG3 || XPG4] (blksize_t): Likewise.
10528 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10529 Likewise.
10530 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10531 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10532 [XPG3 || XPG4] (struct itimerspec): Likewise.
10533 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10534 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10535 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10536 [XPG3 || XPG4] (clockid_t): Likewise.
10537 [XPG3 || XPG4] (timer_t): Likewise.
10538 [XPG3 || XPG4] (clock_getres): Likewise.
10539 [XPG3 || XPG4] (clock_gettime): Likewise.
10540 [XPG3 || XPG4] (clock_settime): Likewise.
10541 [XPG3 || XPG4] (nanosleep): Likewise.
10542 [XPG3 || XPG4] (timer_create): Likewise.
10543 [XPG3 || XPG4] (timer_delete): Likewise.
10544 [XPG3 || XPG4] (timer_gettime): Likewise.
10545 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10546 [XPG3 || XPG4] (timer_settime): Likewise.
10547 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10548 [XPG3 || XPG4] (getlogin_r): Likewise.
10549 [XPG3 || XPG4] (pread): Likewise.
10550 [XPG3 || XPG4] (pthread_atfork): Likewise.
10551 [XPG3 || XPG4] (pwrite): Likewise.
10552
ee663277
JM
10553 [BZ #14835]
10554 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10555 <bits/siginfo.h>.
10556
942caa16
PT
105572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10558
e19af380
PT
10559 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10560 finalizing MALLSTREAM.
10561
942caa16
PT
10562 * sysdeps/mach/hurd/syncfs.c: New file.
10563
cfde9b46
SP
105642012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10565
10566 [BZ #14719]
10567 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10568 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10569 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10570 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10571 (_nss_dns_gethostbyname4_r): Likewise.
10572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10573 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10574
f6da27e5
PH
105752012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10576
10577 [BZ #13763]
10578 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10579
6665d4a2
SM
105802012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10581
1f51ee92
SM
10582 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10583 * elf/cache.c (print_entry): Print ",AArch64" for
10584 FLAG_AARCH64_LIB64
10585
6665d4a2
SM
10586 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10587 * elf/cache.c (print_entry): Print ",hard-float" for
10588 FLAG_ARM_LIBHF.
10589
05b227bd
DM
105902012-11-18 David S. Miller <davem@davemloft.net>
10591
10592 With help from Joseph Myers.
10593 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10594 cutoff to 2**-13.
10595 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10596 cutoff to 2**-25.
10597 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10598 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10599 small.
10600 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10601 * math/libm-test.inc (y0_test): New tests.
10602 (y1_test): New tests.
10603 * sysdeps/i386/fpu/libm-test-ulps: Update.
10604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10606
786b0b67
AS
106072012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10608
10609 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10610 64-bit targets.
10611 * configure: Regenerated.
10612
8e18b86d
DM
106132012-11-17 David S. Miller <davem@davemloft.net>
10614
10615 [BZ #14811]
10616 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10617 nonzero exponents with absolute value below 0x1p-128 to +/-
10618 0x1p-128.
10619
531f1ae0
JM
106202012-11-17 Joseph Myers <joseph@codesourcery.com>
10621
12df29e2
JM
10622 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10623
150dc1a0
JM
10624 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10625
531f1ae0
JM
10626 * posix/getconf-speclist.c: New file.
10627 * posix/posix-envs.def: Likewise.
10628 * posix/confstr.c (START_ENV_GROUP): New macro.
10629 (END_ENV_GROUP): Likewise.
10630 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10631 (KNOWN_PRESENT_ENV_STRING): Likewise.
10632 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10633 (UNKNOWN_ENVIRONMENT): Likewise.
10634 (confstr): Include posix-envs.def instead of handling
10635 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10636 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10637 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10638 (END_ENV_GROUP): Likewise.
10639 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10640 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10641 (UNKNOWN_ENVIRONMENT): Likewise.
10642 (__sysconf): Include posix-envs.def instead of handling associated
10643 cases directly here.
10644 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10645 preprocessing getconf-speclist.c rather than running getconf or
10646 generating empty file.
10647
a93f9cbc
PT
106482012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10649
10650 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10651
d64d9f87
AL
106522012-11-16 Andrej Lajovic <natrij@gmail.com>
10653
10654 [BZ #14672]
10655 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10656
447885eb
DM
106572012-11-16 David S. Miller <davem@davemloft.net>
10658
10659 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10660 smaller than LDBL_EPSILON/2.0L, just return xm1.
10661
bcbf9830
L
106622012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 * elf/tst-array1.c (init): Set constructor priority to 1000.
10665 (fini): Set destructor priority to 1000.
10666 * elf/tst-array2dep.c: Likewise.
10667
2b766585
SP
106682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10669
10670 [BZ #11741]
10671 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10672 (_IO_new_file_xsputn): Also return EOF if none of the input
10673 data was written when overflow failed.
10674 * libio/iopadn.c (_IO_padn): Likewise.
10675 * libio/iowpadn.c (_IO_wpadn): Likewise.
10676 * stdio-common/tst-put-error.c: Add copyright notice.
10677 (do_test): Add case for printing padded string.
10678 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10679 _IO_padn returned error.
10680 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10681 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10682 return EOF.
10683
b1848fde
SP
106842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10685
10686 * libio/libioP.h: Add comment note that the references to C++
10687 bits are now obsolete.
10688
2fd89785
MS
106892012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10690
10691 * math/libm-test.inc (check_complex): Use asprintf.
10692
e3ea5409
JM
106932012-11-14 Joseph Myers <joseph@codesourcery.com>
10694
10695 * debug/pcprofiledump.c (print_version): Update copyright year.
10696 * malloc/memusagestat.c (print_version): Likewise.
10697
2e64d265
L
106982012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10699
10700 [BZ #14831]
10701 * elf/Makefile (tests): Add tst-audit8.
10702 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10703 ($(objpfx)tst-audit8.out): New target.
10704 (tst-audit8-ENV): New variable.
10705 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10706 audit if l_reloc_result is NULL.
10707 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10708 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10709 * elf/tst-audit8.c: New file.
10710
c485e4d2
MS
107112012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10712
10713 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10714 * misc/Makefile (CFLAGS-select.c): Define.
10715 * posix/Makefile (CFLAGS-pause.c): Define.
10716
3a0d900a
DM
107172012-11-13 David S. Miller <davem@davemloft.net>
10718
10719 * crypt/Makefile: Move test targets after toplevel Rules
10720 inclusion. Grab any necessary sysdep routines when linking.
10721 * crypt/md5.c (md5_process_block): Remove define, we will always
10722 name it __md5_process_block.
10723 (md5_finish_ctx): Update md5_process_block call.
10724 (md5_stream): Likewise.
10725 (md5_process_bytes): Likewise.
10726 (md5_process_block): Rename to __md5_process_block and move to ...
10727 * crypt/md5-block.c: ... here.
10728 * crypt/sha256.c (sha256_process_block): Move to ...
10729 * crypt/sha256-block.c: ... here.
10730 * crypt/sha512.c (sha512_process_block): Move to ...
10731 * crypt/sha512-block.c: ... here.
10732 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10733 path.
10734 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10735 * sysdeps/sparc/sparc64/multiarch/Makefile
10736 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10737 crypt subdir.
10738 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10739 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10740 multiarch changes.
10741 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10742 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10743 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10744 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10745 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10746 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10747 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10748 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10749 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10750 file.
10751 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10752 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10753 file.
10754 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10755
8ca89318
JM
107562012-11-13 Joseph Myers <joseph@codesourcery.com>
10757
e27d476a
JM
10758 * timezone/tzselect.ksh: Update from tzcode git revision
10759 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10760 * timezone/zdump.c: Likewise.
10761 * timezone/zic.c: Likewise.
10762 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10763 in TZVERSION setting, not $(PKGVERSION).
10764 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10765 REPORT_BUGS_TO settings.
10766
8ca89318
JM
10767 [BZ #14838]
10768 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10769 macro.
10770
47594329
MS
107712012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10772
10773 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10774 detection to immediately after _FP_ROUND().
10775 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10776 bits are 0.
10777
640ac3f1
DM
107782012-11-11 David S. Miller <davem@davemloft.net>
10779
10780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10781 inttypes.h
10782 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10783 __close rather than their public counterparts.
10784
3d2577bb
JM
107852012-11-10 Joseph Myers <joseph@codesourcery.com>
10786
10787 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10788 file.
10789 [UNIX98] (sem_timedwait): Do not expect.
10790 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10791 [XPG4 || UNIX98] (sockatmark): Do not expect.
10792 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10793 (clock_getcpuclockid): Do not expect.
10794 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10795 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10796 Do not expect.
10797 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10798 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10799 [UNIX98] (vwscanf): Likewise.
10800 [UNIX98] (vswscanf): Likewise.
10801
fb1ae1ee
JM
108022012-11-09 Joseph Myers <joseph@codesourcery.com>
10803
9ec6f8bd
JM
10804 * timezone/version.h: Remove file.
10805 * timezone/README: Do not refer to version.h.
10806 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10807 $(objpfx)version.h.
10808 ($(objpfx)zdump.o): Likewise.
c3f81911 10809 ($(objpfx)version.h): New target.
9ec6f8bd 10810
0aa8f8a1
JM
10811 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10812 2012i.
10813 * timezone/README: Don't mention modification to tzselect.ksh.
10814 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10815 work on unmodified tzselect.ksh. Substitute version numbers in
10816 tzselect.ksh.
10817
4e87147f
JM
10818 * Makefile (format-me): Remove.
10819 (INSTALL): Adjust indentation. Use commands directly instead of
10820 using $(format-me).
10821
8b748aed
JM
10822 * aclocal.m4 (ACX_PKGVERSION): New macro.
10823 (ACX_BUGURL): Likewise.
10824 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10825 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10826 (REPORT_BUGS_TO): Likewise.
10827 * configure: Regenerated.
10828 * config.h.in (PKGVERSION): New macro.
10829 (REPORT_BUGS_TO): Likewise.
10830 * config.make.in (PKGVERSION): New variable.
10831 (PKGVERSION_TEXI): Likewise.
10832 (REPORT_BUGS_TO): Likewise.
10833 (REPORT_BUGS_TEXI): Likewise.
10834 * Makefile (format-me): Use -I$(common-objpfx)manual.
10835 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10836 ($(common-objpfx)manual/%): New target.
10837 (manual/%): Remove target.
10838 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10839 (print_version): Use PKGVERSION.
10840 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10841 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10842 and REPORT_BUGS_TO.
10843 ($(objpfx)xtrace): Likewise.
10844 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10845 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10846 (print_version): Use PKGVERSION.
10847 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10848 (do_version): Use PKGVERSION.
10849 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10850 REPORT_BUGS_TO.
10851 (common-ldd-rewrite): Likewise.
10852 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10853 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10854 (print_version): Use PKGVERSION.
10855 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10856 * elf/pldd.c (argp_program_bug_address): Remove variable.
10857 (more_help): New function.
10858 (argp): Use more_help.
10859 (print_version): Use PKGVERSION.
10860 * elf/sln.c (main): Use PKGVERSION.
10861 (usage): Use REPORT_BUGS_TO.
10862 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10863 (top level): Use PKGVERSION.
10864 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10865 (print_version): Use PKGVERSION.
10866 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10867 (print_version): Use PKGVERSION.
10868 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10869 (print_version): Use PKGVERSION.
10870 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10871 (print_version): Use PKGVERSION.
10872 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10873 (print_version): Use PKGVERSION.
10874 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10875 (print_version): Use PKGVERSION.
10876 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10877 and BUGURL.
10878 ($(objpfx)memusage): Likewise.
10879 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10880 (do_version): Use PKGVERSION.
10881 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10882 (print_version): Use PKGVERSION.
10883 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10884 ($PKGVERSION): New variable.
10885 ($REPORT_BUGS_TO): Likewise.
10886 (usage): Use $REPORT_BUGS_TO.
10887 (top level): Use $PKGVERSION.
10888 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10889 ($(objpfx)pkgvers.texi): New rule.
10890 ($(objpfx)stamp-pkgvers): Likewise.
10891 * manual/install.texi: Include pkgvers.texi.
10892 (--with-pkgversion): Document new configure option.
10893 (--with-bugurl): Likewise.
10894 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10895 than necessarily for this particular distribution. Use
10896 REPORT_BUGS_TO for where to report bugs.
10897 * INSTALL: Regenerated.
10898 * manual/libc.texinfo: Include pkgvers.texi.
10899 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10900 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10901 (print_version): Use PKGVERSION.
10902 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10903 (print_version): Use PKGVERSION.
10904 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10905 (print_version): Use PKGVERSION.
10906 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10907 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10908 macro.
10909 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10910 (print_version): Use PKGVERSION.
10911 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10912 (print_version): Use PKGVERSION.
10913 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10914 and PKGVERSION.
10915
92e4b6a9
JM
10916 * timezone/checktab.awk: Update from tzcode 2012i.
10917 * timezone/ialloc.c: Likewise.
10918 * timezone/private.h: Likewise.
10919 * timezone/scheck.c: Likewise.
10920 * timezone/tzfile.h: Likewise.
10921 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10922 (TZVERSION): Hardcode tzcode version number.
10923 * timezone/zdump.c: Update from tzcode 2012i.
10924 * timezone/zic.c: Likewise.
10925 * timezone/version.h: New file.
10926 * timezone/README: Describe version.h. Update upstream location.
10927
9bde902c
JM
10928 [BZ #14824]
10929 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10930 (mktemp): Enable declaration.
10931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10933 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10935 Likewise.
10936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10937 Likewise.
10938 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10939 Likewise.
10940 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10941 Likewise.
10942 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10943 Likewise.
10944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10945 Likewise.
10946
fb1ae1ee
JM
10947 [BZ #14821]
10948 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10949 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10950 for copies of such integer values.
10951 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10952 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10953
2c1adbcb
AJ
109542012-11-09 Andreas Jaeger <aj@suse.de>
10955
10956 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10957 definitions and declarations that are provided by
10958 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10959
d0f8457e
AK
109602012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10961
3a235abb 10962 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10963 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10964 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10965 definition.
10966
57241e26
MS
109672012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10968
10969 * elf/elf.h: Update comment before AArch64 relocations.
10970
60e8270d
DM
109712012-11-07 David S. Miller <davem@davemloft.net>
10972
10973 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10974 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10975 (__start_context): Declare.
10976 (__makecontext_ret): Delete.
10977 (__makecontext): Hook up __start_context instead of
10978 __makecontext_ret.
10979 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10980 (sysdep_routines): Add __start_context when in stdlib.
10981
0fbb0fbc
JM
109822012-11-07 Joseph Myers <joseph@codesourcery.com>
10983
10984 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10985 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10986 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10987 hardcoded "nm".
10988 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10989 (READELF): New variable. Use it instead of hardcoded "readelf".
10990
eb48db7e
L
109912012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10992
10993 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10994 * sysdeps/x86/Makefile: Here.
10995 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10996 * sysdeps/x86/tst-xmmymm.sh: This.
10997
05bcf62a
JM
109982012-11-07 Joseph Myers <joseph@codesourcery.com>
10999
c4b6cf53
JM
11000 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11001 expectations.
11002 [UNIX98] (pthread_barrier_t): Do not expect.
11003 [UNIX98] (pthread_barrierattr_t): Likewise.
11004 [UNIX98] (pthread_spinlock_t): Likewise.
11005 [UNIX98] (pthread_barrier_destroy): Likewise.
11006 [UNIX98] (pthread_barrier_init): Likewise.
11007 [UNIX98] (pthread_barrier_wait): Likewise.
11008 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11009 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11010 [UNIX98] (pthread_barrierattr_init): Likewise.
11011 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11012 [UNIX98] (pthread_getcpuclockid): Likewise.
11013 [UNIX98] (pthread_mutex_timedlock): Likewise.
11014 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11015 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11016 [UNIX98] (pthread_sigmask): Likewise.
11017 [UNIX98] (pthread_spin_destroy): Likewise.
11018 [UNIX98] (pthread_spin_init): Likewise.
11019 [UNIX98] (pthread_spin_lock): Likewise.
11020 [UNIX98] (pthread_spin_trylock): Likewise.
11021 [UNIX98] (pthread_spin_unlock): Likewise.
11022 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11023 Do not expect.
11024 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11025 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11026 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11027 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11028 [XPG3 || XPG4] (pthread_key_t): Likewise.
11029 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11030 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11031 [XPG3 || XPG4] (pthread_once_t): Likewise.
11032 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11033 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11034 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11035 [XPG3 || XPG4] (pthread_t): Likewise.
11036
cbe6e120
JM
11037 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11038 not expect.
11039 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11040
1b126443
JM
11041 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11042 Change function return type to int.
11043
b961a573
JM
11044 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11045 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11046 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11047 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11048 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11049 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11050 [!POSIX] (posix_madvise): Likewise.
11051 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11052 && !UNIX98].
11053 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11054 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11055 (mode_t): Likewise.
11056 (posix_mem_offset): Likewise.
11057 (posix_typed_mem_get_info): Likewise.
11058 (posix_typed_mem_open): Likewise.
11059
9e188909
JM
11060 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11061 Change condition to [XOPEN2K8].
11062
05bcf62a
JM
11063 * conform/conformtest.pl: Preprocess allow-header data with -x c
11064 instead of from stdin.
11065 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11066 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11067 [C99-based standards] (cerfc): Likewise.
11068 [C99-based standards] (cexp2): Likewise.
11069 [C99-based standards] (cexpm1): Likewise.
11070 [C99-based standards] (clog10): Likewise.
11071 [C99-based standards] (clog1p): Likewise.
11072 [C99-based standards] (clog2): Likewise.
11073 [C99-based standards] (clgamma): Likewise.
11074 [C99-based standards] (ctgamma): Likewise.
11075 [C99-based standards] (cerff): Likewise.
11076 [C99-based standards] (cerfcf): Likewise.
11077 [C99-based standards] (cexp2f): Likewise.
11078 [C99-based standards] (cexpm1f): Likewise.
11079 [C99-based standards] (clog10f): Likewise.
11080 [C99-based standards] (clog1pf): Likewise.
11081 [C99-based standards] (clog2f): Likewise.
11082 [C99-based standards] (clgammaf): Likewise.
11083 [C99-based standards] (ctgammaf): Likewise.
11084 [C99-based standards] (cerfl): Likewise.
11085 [C99-based standards] (cerfcl): Likewise.
11086 [C99-based standards] (cexp2l): Likewise.
11087 [C99-based standards] (cexpm1l): Likewise.
11088 [C99-based standards] (clog10l): Likewise.
11089 [C99-based standards] (clog1pl): Likewise.
11090 [C99-based standards] (clog2l): Likewise.
11091 [C99-based standards] (clgammal): Likewise.
11092 [C99-based standards] (ctgammal): Likewise.
11093 * conform/data/inttypes.h-data [C99-based standards]: Include
11094 stdint.h-data. Remove all expectations for stdint.h contents.
11095 [C99-based standards] (PRI*): Do not allow.
11096 [C99-based standards] (SCN*): Likewise.
11097 [C99-based standards] (*_t): Likewise.
11098 [C99-based-standards] (PRId8): Expect macro.
11099 [C99-based-standards] (PRIi8): Likewise.
11100 [C99-based-standards] (PRIo8): Likewise.
11101 [C99-based-standards] (PRIu8): Likewise.
11102 [C99-based-standards] (PRIx8): Likewise.
11103 [C99-based-standards] (PRIX8): Likewise.
11104 [C99-based-standards] (SCNd8): Likewise.
11105 [C99-based-standards] (SCNi8): Likewise.
11106 [C99-based-standards] (SCNo8): Likewise.
11107 [C99-based-standards] (SCNu8): Likewise.
11108 [C99-based-standards] (SCNx8): Likewise.
11109 [C99-based-standards] (PRIdLEAST8): Likewise.
11110 [C99-based-standards] (PRIiLEAST8): Likewise.
11111 [C99-based-standards] (PRIoLEAST8): Likewise.
11112 [C99-based-standards] (PRIuLEAST8): Likewise.
11113 [C99-based-standards] (PRIxLEAST8): Likewise.
11114 [C99-based-standards] (PRIXLEAST8): Likewise.
11115 [C99-based-standards] (SCNdLEAST8): Likewise.
11116 [C99-based-standards] (SCNiLEAST8): Likewise.
11117 [C99-based-standards] (SCNoLEAST8): Likewise.
11118 [C99-based-standards] (SCNuLEAST8): Likewise.
11119 [C99-based-standards] (SCNxLEAST8): Likewise.
11120 [C99-based-standards] (PRIdFAST8): Likewise.
11121 [C99-based-standards] (PRIiFAST8): Likewise.
11122 [C99-based-standards] (PRIoFAST8): Likewise.
11123 [C99-based-standards] (PRIuFAST8): Likewise.
11124 [C99-based-standards] (PRIxFAST8): Likewise.
11125 [C99-based-standards] (PRIXFAST8): Likewise.
11126 [C99-based-standards] (SCNdFAST8): Likewise.
11127 [C99-based-standards] (SCNiFAST8): Likewise.
11128 [C99-based-standards] (SCNoFAST8): Likewise.
11129 [C99-based-standards] (SCNuFAST8): Likewise.
11130 [C99-based-standards] (SCNxFAST8): Likewise.
11131 [C99-based-standards] (PRId16): Likewise.
11132 [C99-based-standards] (PRIi16): Likewise.
11133 [C99-based-standards] (PRIo16): Likewise.
11134 [C99-based-standards] (PRIu16): Likewise.
11135 [C99-based-standards] (PRIx16): Likewise.
11136 [C99-based-standards] (PRIX16): Likewise.
11137 [C99-based-standards] (SCNd16): Likewise.
11138 [C99-based-standards] (SCNi16): Likewise.
11139 [C99-based-standards] (SCNo16): Likewise.
11140 [C99-based-standards] (SCNu16): Likewise.
11141 [C99-based-standards] (SCNx16): Likewise.
11142 [C99-based-standards] (PRIdLEAST16): Likewise.
11143 [C99-based-standards] (PRIiLEAST16): Likewise.
11144 [C99-based-standards] (PRIoLEAST16): Likewise.
11145 [C99-based-standards] (PRIuLEAST16): Likewise.
11146 [C99-based-standards] (PRIxLEAST16): Likewise.
11147 [C99-based-standards] (PRIXLEAST16): Likewise.
11148 [C99-based-standards] (SCNdLEAST16): Likewise.
11149 [C99-based-standards] (SCNiLEAST16): Likewise.
11150 [C99-based-standards] (SCNoLEAST16): Likewise.
11151 [C99-based-standards] (SCNuLEAST16): Likewise.
11152 [C99-based-standards] (SCNxLEAST16): Likewise.
11153 [C99-based-standards] (PRIdFAST16): Likewise.
11154 [C99-based-standards] (PRIiFAST16): Likewise.
11155 [C99-based-standards] (PRIoFAST16): Likewise.
11156 [C99-based-standards] (PRIuFAST16): Likewise.
11157 [C99-based-standards] (PRIxFAST16): Likewise.
11158 [C99-based-standards] (PRIXFAST16): Likewise.
11159 [C99-based-standards] (SCNdFAST16): Likewise.
11160 [C99-based-standards] (SCNiFAST16): Likewise.
11161 [C99-based-standards] (SCNoFAST16): Likewise.
11162 [C99-based-standards] (SCNuFAST16): Likewise.
11163 [C99-based-standards] (SCNxFAST16): Likewise.
11164 [C99-based-standards] (PRId32): Likewise.
11165 [C99-based-standards] (PRIi32): Likewise.
11166 [C99-based-standards] (PRIo32): Likewise.
11167 [C99-based-standards] (PRIu32): Likewise.
11168 [C99-based-standards] (PRIx32): Likewise.
11169 [C99-based-standards] (PRIX32): Likewise.
11170 [C99-based-standards] (SCNd32): Likewise.
11171 [C99-based-standards] (SCNi32): Likewise.
11172 [C99-based-standards] (SCNo32): Likewise.
11173 [C99-based-standards] (SCNu32): Likewise.
11174 [C99-based-standards] (SCNx32): Likewise.
11175 [C99-based-standards] (PRIdLEAST32): Likewise.
11176 [C99-based-standards] (PRIiLEAST32): Likewise.
11177 [C99-based-standards] (PRIoLEAST32): Likewise.
11178 [C99-based-standards] (PRIuLEAST32): Likewise.
11179 [C99-based-standards] (PRIxLEAST32): Likewise.
11180 [C99-based-standards] (PRIXLEAST32): Likewise.
11181 [C99-based-standards] (SCNdLEAST32): Likewise.
11182 [C99-based-standards] (SCNiLEAST32): Likewise.
11183 [C99-based-standards] (SCNoLEAST32): Likewise.
11184 [C99-based-standards] (SCNuLEAST32): Likewise.
11185 [C99-based-standards] (SCNxLEAST32): Likewise.
11186 [C99-based-standards] (PRIdFAST32): Likewise.
11187 [C99-based-standards] (PRIiFAST32): Likewise.
11188 [C99-based-standards] (PRIoFAST32): Likewise.
11189 [C99-based-standards] (PRIuFAST32): Likewise.
11190 [C99-based-standards] (PRIxFAST32): Likewise.
11191 [C99-based-standards] (PRIXFAST32): Likewise.
11192 [C99-based-standards] (SCNdFAST32): Likewise.
11193 [C99-based-standards] (SCNiFAST32): Likewise.
11194 [C99-based-standards] (SCNoFAST32): Likewise.
11195 [C99-based-standards] (SCNuFAST32): Likewise.
11196 [C99-based-standards] (SCNxFAST32): Likewise.
11197 [C99-based-standards] (PRId64): Likewise.
11198 [C99-based-standards] (PRIi64): Likewise.
11199 [C99-based-standards] (PRIo64): Likewise.
11200 [C99-based-standards] (PRIu64): Likewise.
11201 [C99-based-standards] (PRIx64): Likewise.
11202 [C99-based-standards] (PRIX64): Likewise.
11203 [C99-based-standards] (SCNd64): Likewise.
11204 [C99-based-standards] (SCNi64): Likewise.
11205 [C99-based-standards] (SCNo64): Likewise.
11206 [C99-based-standards] (SCNu64): Likewise.
11207 [C99-based-standards] (SCNx64): Likewise.
11208 [C99-based-standards] (PRIdLEAST64): Likewise.
11209 [C99-based-standards] (PRIiLEAST64): Likewise.
11210 [C99-based-standards] (PRIoLEAST64): Likewise.
11211 [C99-based-standards] (PRIuLEAST64): Likewise.
11212 [C99-based-standards] (PRIxLEAST64): Likewise.
11213 [C99-based-standards] (PRIXLEAST64): Likewise.
11214 [C99-based-standards] (SCNdLEAST64): Likewise.
11215 [C99-based-standards] (SCNiLEAST64): Likewise.
11216 [C99-based-standards] (SCNoLEAST64): Likewise.
11217 [C99-based-standards] (SCNuLEAST64): Likewise.
11218 [C99-based-standards] (SCNxLEAST64): Likewise.
11219 [C99-based-standards] (PRIdFAST64): Likewise.
11220 [C99-based-standards] (PRIiFAST64): Likewise.
11221 [C99-based-standards] (PRIoFAST64): Likewise.
11222 [C99-based-standards] (PRIuFAST64): Likewise.
11223 [C99-based-standards] (PRIxFAST64): Likewise.
11224 [C99-based-standards] (PRIXFAST64): Likewise.
11225 [C99-based-standards] (SCNdFAST64): Likewise.
11226 [C99-based-standards] (SCNiFAST64): Likewise.
11227 [C99-based-standards] (SCNoFAST64): Likewise.
11228 [C99-based-standards] (SCNuFAST64): Likewise.
11229 [C99-based-standards] (SCNxFAST64): Likewise.
11230 [C99-based-standards] (PRIdMAX): Likewise.
11231 [C99-based-standards] (PRIiMAX): Likewise.
11232 [C99-based-standards] (PRIoMAX): Likewise.
11233 [C99-based-standards] (PRIuMAX): Likewise.
11234 [C99-based-standards] (PRIxMAX): Likewise.
11235 [C99-based-standards] (PRIXMAX): Likewise.
11236 [C99-based-standards] (SCNdMAX): Likewise.
11237 [C99-based-standards] (SCNiMAX): Likewise.
11238 [C99-based-standards] (SCNoMAX): Likewise.
11239 [C99-based-standards] (SCNuMAX): Likewise.
11240 [C99-based-standards] (SCNxMAX): Likewise.
11241 [C99-based-standards] (PRIdPTR): Likewise.
11242 [C99-based-standards] (PRIiPTR): Likewise.
11243 [C99-based-standards] (PRIoPTR): Likewise.
11244 [C99-based-standards] (PRIuPTR): Likewise.
11245 [C99-based-standards] (PRIxPTR): Likewise.
11246 [C99-based-standards] (PRIXPTR): Likewise.
11247 [C99-based-standards] (SCNdPTR): Likewise.
11248 [C99-based-standards] (SCNiPTR): Likewise.
11249 [C99-based-standards] (SCNoPTR): Likewise.
11250 [C99-based-standards] (SCNuPTR): Likewise.
11251 [C99-based-standards] (SCNxPTR): Likewise.
11252 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11253 allow.
11254 * conform/data/stdint.h-data: Update comments to clarify
11255 requirements.
11256 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11257 type.
11258 [C99-based standards] (INT8_MAX): Likewise.
11259 [C99-based standards] (INT16_MIN): Likewise.
11260 [C99-based standards] (INT16_MAX): Likewise.
11261 [C99-based standards] (INT32_MIN): Likewise.
11262 [C99-based standards] (INT32_MAX): Likewise.
11263 [C99-based standards] (INT64_MIN): Likewise.
11264 [C99-based standards] (INT64_MAX): Likewise.
11265 [C99-based standards] (UINT8_MAX): Likewise.
11266 [C99-based standards] (UINT16_MAX): Likewise.
11267 [C99-based standards] (UINT32_MAX): Likewise.
11268 [C99-based standards] (UINT64_MAX): Likewise.
11269 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11270 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11271 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11272 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11273 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11274 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11275 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11276 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11277 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11278 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11279 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11280 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11281 [C99-based standards] (INT_FAST8_MIN): Likewise.
11282 [C99-based standards] (INT_FAST8_MAX): Likewise.
11283 [C99-based standards] (INT_FAST16_MIN): Likewise.
11284 [C99-based standards] (INT_FAST16_MAX): Likewise.
11285 [C99-based standards] (INT_FAST32_MIN): Likewise.
11286 [C99-based standards] (INT_FAST32_MAX): Likewise.
11287 [C99-based standards] (INT_FAST64_MIN): Likewise.
11288 [C99-based standards] (INT_FAST64_MAX): Likewise.
11289 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11290 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11291 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11292 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11293 [C99-based standards] (INTPTR_MIN): Likewise.
11294 [C99-based standards] (INTPTR_MAX): Likewise.
11295 [C99-based standards] (UINTPTR_MAX): Likewise.
11296 [C99-based standards] (INTMAX_MIN): Likewise.
11297 [C99-based standards] (INTMAX_MAX): Likewise.
11298 [C99-based standards] (UINTMAX_MAX): Likewise.
11299 [C99-based standards] (PTRDIFF_MIN): Likewise.
11300 [C99-based standards] (PTRDIFF_MAX): Likewise.
11301 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11302 [C99-based standards] (SIZE_MAX): Likewise.
11303 [C99-based standards] (WCHAR_MAX): Likewise.
11304 [C99-based standards] (WINT_MAX): Likewise.
11305 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11306 constraint on value.
11307 [C99-based standards] (WCHAR_MIN): Likewise.
11308 [C99-based standards] (WINT_MIN): Likewise.
11309 [C99-based standards] (*_t): Allow.
11310 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11311 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11312 Include math.h-data and complex.h-data. Remove all expectations
11313 of math.h and complex.h contents.
11314 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11315 at end of line.
11316 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11317 (struct tm): Expect tag.
11318 [C99-based-standards] (wcstof): Expect function.
11319 [C99-based-standards] (wcstold): Likewise.
11320 [C99-based-standards] (wcstoll): Likewise.
11321 [C99-based-standards] (wcstoull): Likewise.
11322 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11323 macro-int-constant. Specify type.
11324 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11325 constraint on value.
11326 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11327 Specify type.
11328 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11329 Specify value.
11330 [ISO C standards]: Do not allow headers.
11331 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11332 wcs[abcdefghijklmnopqrstuvwxyz]*.
11333 [ISO C standards] (*_t): Do not allow.
11334 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11335 Expect function.
11336 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11337 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11338 Specify type.
11339 [ISO C standards]: Do not allow headers.
11340 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11341 is[abcdefghijklmnopqrstuvwxyz]*.
11342 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11343 to[abcdefghijklmnopqrstuvwxyz]*.
11344 [ISO C standards] (*_t): Do not allow.
11345 * conform/data/stdalign.h-data: New file.
11346 * conform/data/stdbool.h-data: Likewise.
11347 * conform/data/stdnoreturn.h-data: Likewise.
11348
7514feb8
RM
113492012-11-07 Roland McGrath <roland@hack.frob.com>
11350
11351 [BZ #14815]
11352 * manual/filesys.texi (Directory Entries): Typo fix.
11353 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11354
19b2ecfc
MS
113552012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11356
11357 * elf/elf.h (EM_AARCH64): New macro.
11358 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11359 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11360 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11361 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11362 (R_AARCH64_TLSDESC): Likewise.
11363 (NT_ARM_TLS): Likewise.
11364 (NT_ARM_HW_BREAK): Likewise.
11365 (NT_ARM_HW_WATCH): Likewise.
11366
60e235ee
JM
113672012-11-07 Joseph Myers <joseph@codesourcery.com>
11368
11369 [BZ #14811]
11370 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11371 (__ieee754_powl): Saturate nonzero exponents with absolute value
11372 below 0x1p-79 to +/- 0x1p-79.
11373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11374 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11375 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11376 nonzero exponents with absolute value below 0x1p-32 to +/-
11377 0x1p-32.
11378 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11379 (__ieee754_powl): Saturate nonzero exponents with absolute value
11380 below 0x1p-79 to +/- 0x1p-79.
11381 * math/libm-test.inc (pow_test): Add more tests.
11382
0ab234b7
AK
113832012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11384
11385 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11386 _dl_s390_cap_flags with kernel. Increase string length.
11387 (_dl_s390_platforms): Add z196 and zEC12.
11388
45832f74
JM
113892012-11-07 Joseph Myers <joseph@codesourcery.com>
11390
11391 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11392 Change XOPEN21K to XOPEN2K.
11393
19218757
MK
113942012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11395
11396 * string/memmove.c: Use memcpy when possible.
11397
c5f45721
AJ
113982012-11-06 Andreas Jaeger <aj@suse.de>
11399
11400 * po/eo.po: Update from translation team.
11401
82477c28
JM
114022012-11-06 Joseph Myers <joseph@codesourcery.com>
11403
11404 [BZ #14793]
11405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11406 exponent and small x and y exponents, scale x or y up. Increase
11407 by 2 the exponent used in scaling up.
11408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11410 * math/libm-test.inc (fma_test): Add more tests.
11411 (fma_test_towardzero): Likewise.
11412 (fma_test_downward): Likewise.
11413 (fma_test_upward): Likewise.
11414
99252c8c
JM
114152012-11-05 Joseph Myers <joseph@codesourcery.com>
11416
acfa885f
JM
11417 [BZ #14805]
11418 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11419 fenv_t *.
11420
99252c8c
JM
11421 [BZ #14801]
11422 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11423 namespace for names of struct fields.
11424 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11425 fenv_t fields.
11426 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11427 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11428
d6d98dea
ST
114292012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11430
11431 [BZ #3665]
11432 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11433
e10bb107
TS
114342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11435
11436 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11437 PTR_DEMANGLE.
11438
11439 [BZ #5246]
11440 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11441 PTR_DEMANGLE.
11442
a0c2940d
JM
114432012-11-04 Joseph Myers <joseph@codesourcery.com>
11444
11445 [BZ #14797]
11446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11447 definitely overflow as x * y not x * y + z.
11448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11450 * math/libm-test.inc (fma_test): Add more tests.
11451 (fma_test_towardzero): Likewise.
11452 (fma_test_downward): Likewise.
11453 (fma_test_upward): Likewise.
11454
b830319d
TS
114552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11456
11457 [BZ #157]
11458
11459 * include/stub-tag.h: Remove file.
11460 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11461 '#include' of it.
11462 * manual/maint.texi (Porting): Don't reference it.
11463 * Makerules ($(objpfx)stubs): Likewise.
11464 * dirent/closedir.c: Don't include <stub-tag.h>.
11465 * dirent/dirfd.c: Likewise.
11466 * dirent/fdopendir.c: Likewise.
11467 * dirent/getdents.c: Likewise.
11468 * dirent/getdents64.c: Likewise.
11469 * dirent/opendir.c: Likewise.
11470 * dirent/readdir.c: Likewise.
11471 * dirent/readdir64.c: Likewise.
11472 * dirent/readdir64_r.c: Likewise.
11473 * dirent/readdir_r.c: Likewise.
11474 * dirent/rewinddir.c: Likewise.
11475 * dirent/seekdir.c: Likewise.
11476 * dirent/telldir.c: Likewise.
11477 * gmon/profil.c: Likewise.
11478 * grp/setgroups.c: Likewise.
11479 * inet/if_index.c: Likewise.
11480 * io/access.c: Likewise.
11481 * io/chdir.c: Likewise.
11482 * io/chmod.c: Likewise.
11483 * io/chown.c: Likewise.
11484 * io/close.c: Likewise.
11485 * io/dup.c: Likewise.
11486 * io/dup2.c: Likewise.
11487 * io/dup3.c: Likewise.
11488 * io/euidaccess.c: Likewise.
11489 * io/faccessat.c: Likewise.
11490 * io/fchdir.c: Likewise.
11491 * io/fchmod.c: Likewise.
11492 * io/fchmodat.c: Likewise.
11493 * io/fchown.c: Likewise.
11494 * io/fchownat.c: Likewise.
11495 * io/fcntl.c: Likewise.
11496 * io/flock.c: Likewise.
11497 * io/fstatfs.c: Likewise.
11498 * io/fstatfs64.c: Likewise.
11499 * io/fstatvfs.c: Likewise.
11500 * io/fstatvfs64.c: Likewise.
11501 * io/futimens.c: Likewise.
11502 * io/fxstat.c: Likewise.
11503 * io/fxstat64.c: Likewise.
11504 * io/fxstatat.c: Likewise.
11505 * io/fxstatat64.c: Likewise.
11506 * io/getcwd.c: Likewise.
11507 * io/isatty.c: Likewise.
11508 * io/lchmod.c: Likewise.
11509 * io/lchown.c: Likewise.
11510 * io/link.c: Likewise.
11511 * io/linkat.c: Likewise.
11512 * io/lseek.c: Likewise.
11513 * io/lseek64.c: Likewise.
11514 * io/lxstat64.c: Likewise.
11515 * io/mkdir.c: Likewise.
11516 * io/mkdirat.c: Likewise.
11517 * io/mkfifo.c: Likewise.
11518 * io/mkfifoat.c: Likewise.
11519 * io/open.c: Likewise.
11520 * io/open64.c: Likewise.
11521 * io/openat.c: Likewise.
11522 * io/openat64.c: Likewise.
11523 * io/pipe.c: Likewise.
11524 * io/pipe2.c: Likewise.
11525 * io/poll.c: Likewise.
11526 * io/posix_fadvise.c: Likewise.
11527 * io/posix_fadvise64.c: Likewise.
11528 * io/posix_fallocate.c: Likewise.
11529 * io/posix_fallocate64.c: Likewise.
11530 * io/read.c: Likewise.
11531 * io/readlink.c: Likewise.
11532 * io/readlinkat.c: Likewise.
11533 * io/rmdir.c: Likewise.
11534 * io/sendfile.c: Likewise.
11535 * io/sendfile64.c: Likewise.
11536 * io/statfs.c: Likewise.
11537 * io/statfs64.c: Likewise.
11538 * io/statvfs.c: Likewise.
11539 * io/statvfs64.c: Likewise.
11540 * io/symlink.c: Likewise.
11541 * io/symlinkat.c: Likewise.
11542 * io/ttyname.c: Likewise.
11543 * io/ttyname_r.c: Likewise.
11544 * io/umask.c: Likewise.
11545 * io/unlink.c: Likewise.
11546 * io/unlinkat.c: Likewise.
11547 * io/utime.c: Likewise.
11548 * io/utimensat.c: Likewise.
11549 * io/write.c: Likewise.
11550 * io/xmknod.c: Likewise.
11551 * io/xmknodat.c: Likewise.
11552 * io/xstat.c: Likewise.
11553 * io/xstat64.c: Likewise.
11554 * login/getpt.c: Likewise.
11555 * login/grantpt.c: Likewise.
11556 * login/unlockpt.c: Likewise.
11557 * math/e_acoshl.c: Likewise.
11558 * math/e_acosl.c: Likewise.
11559 * math/e_asinl.c: Likewise.
11560 * math/e_atan2l.c: Likewise.
11561 * math/e_atanhl.c: Likewise.
11562 * math/e_coshl.c: Likewise.
11563 * math/e_expl.c: Likewise.
11564 * math/e_fmodl.c: Likewise.
11565 * math/e_gammal_r.c: Likewise.
11566 * math/e_hypotl.c: Likewise.
11567 * math/e_j0l.c: Likewise.
11568 * math/e_j1l.c: Likewise.
11569 * math/e_jnl.c: Likewise.
11570 * math/e_lgammal_r.c: Likewise.
11571 * math/e_log10l.c: Likewise.
11572 * math/e_log2l.c: Likewise.
11573 * math/e_logl.c: Likewise.
11574 * math/e_powl.c: Likewise.
11575 * math/e_rem_pio2l.c: Likewise.
11576 * math/e_sinhl.c: Likewise.
11577 * math/e_sqrtl.c: Likewise.
11578 * math/fclrexcpt.c: Likewise.
11579 * math/fedisblxcpt.c: Likewise.
11580 * math/feenablxcpt.c: Likewise.
11581 * math/fegetenv.c: Likewise.
11582 * math/fegetexcept.c: Likewise.
11583 * math/fegetround.c: Likewise.
11584 * math/feholdexcpt.c: Likewise.
11585 * math/fesetenv.c: Likewise.
11586 * math/fesetround.c: Likewise.
11587 * math/feupdateenv.c: Likewise.
11588 * math/fgetexcptflg.c: Likewise.
11589 * math/fraiseexcpt.c: Likewise.
11590 * math/fsetexcptflg.c: Likewise.
11591 * math/ftestexcept.c: Likewise.
11592 * math/k_cosl.c: Likewise.
11593 * math/k_rem_pio2l.c: Likewise.
11594 * math/k_sinl.c: Likewise.
11595 * math/k_tanl.c: Likewise.
11596 * math/s_asinhl.c: Likewise.
11597 * math/s_atanl.c: Likewise.
11598 * math/s_cbrtl.c: Likewise.
11599 * math/s_erfl.c: Likewise.
11600 * math/s_expm1l.c: Likewise.
11601 * math/s_log1pl.c: Likewise.
11602 * math/s_tanhl.c: Likewise.
11603 * misc/acct.c: Likewise.
11604 * misc/brk.c: Likewise.
11605 * misc/chflags.c: Likewise.
11606 * misc/chroot.c: Likewise.
11607 * misc/fchflags.c: Likewise.
11608 * misc/fgetxattr.c: Likewise.
11609 * misc/flistxattr.c: Likewise.
11610 * misc/fremovexattr.c: Likewise.
11611 * misc/fsetxattr.c: Likewise.
11612 * misc/fsync.c: Likewise.
11613 * misc/ftruncate.c: Likewise.
11614 * misc/futimes.c: Likewise.
11615 * misc/futimesat.c: Likewise.
11616 * misc/getdomain.c: Likewise.
11617 * misc/getdtsz.c: Likewise.
11618 * misc/gethostid.c: Likewise.
11619 * misc/gethostname.c: Likewise.
11620 * misc/getloadavg.c: Likewise.
11621 * misc/getpagesize.c: Likewise.
11622 * misc/getsysstats.c: Likewise.
11623 * misc/getxattr.c: Likewise.
11624 * misc/gtty.c: Likewise.
11625 * misc/ioctl.c: Likewise.
11626 * misc/lgetxattr.c: Likewise.
11627 * misc/listxattr.c: Likewise.
11628 * misc/llistxattr.c: Likewise.
11629 * misc/lremovexattr.c: Likewise.
11630 * misc/lsetxattr.c: Likewise.
11631 * misc/lutimes.c: Likewise.
11632 * misc/madvise.c: Likewise.
11633 * misc/mincore.c: Likewise.
11634 * misc/mlock.c: Likewise.
11635 * misc/mlockall.c: Likewise.
11636 * misc/mmap.c: Likewise.
11637 * misc/mprotect.c: Likewise.
11638 * misc/msync.c: Likewise.
11639 * misc/munlock.c: Likewise.
11640 * misc/munlockall.c: Likewise.
11641 * misc/munmap.c: Likewise.
11642 * misc/preadv.c: Likewise.
11643 * misc/preadv64.c: Likewise.
11644 * misc/ptrace.c: Likewise.
11645 * misc/pwritev.c: Likewise.
11646 * misc/pwritev64.c: Likewise.
11647 * misc/readv.c: Likewise.
11648 * misc/reboot.c: Likewise.
11649 * misc/remap_file_pages.c: Likewise.
11650 * misc/removexattr.c: Likewise.
11651 * misc/revoke.c: Likewise.
11652 * misc/select.c: Likewise.
11653 * misc/setdomain.c: Likewise.
11654 * misc/setegid.c: Likewise.
11655 * misc/seteuid.c: Likewise.
11656 * misc/sethostid.c: Likewise.
11657 * misc/sethostname.c: Likewise.
11658 * misc/setregid.c: Likewise.
11659 * misc/setreuid.c: Likewise.
11660 * misc/setxattr.c: Likewise.
11661 * misc/sstk.c: Likewise.
11662 * misc/stty.c: Likewise.
11663 * misc/swapoff.c: Likewise.
11664 * misc/swapon.c: Likewise.
11665 * misc/sync.c: Likewise.
11666 * misc/syncfs.c: Likewise.
11667 * misc/syscall.c: Likewise.
11668 * misc/truncate.c: Likewise.
11669 * misc/ualarm.c: Likewise.
11670 * misc/usleep.c: Likewise.
11671 * misc/ustat.c: Likewise.
11672 * misc/utimes.c: Likewise.
11673 * misc/vhangup.c: Likewise.
11674 * misc/writev.c: Likewise.
11675 * posix/_exit.c: Likewise.
11676 * posix/alarm.c: Likewise.
11677 * posix/execve.c: Likewise.
11678 * posix/fexecve.c: Likewise.
11679 * posix/fork.c: Likewise.
11680 * posix/fpathconf.c: Likewise.
11681 * posix/getaddrinfo.c: Likewise.
11682 * posix/getegid.c: Likewise.
11683 * posix/geteuid.c: Likewise.
11684 * posix/getgid.c: Likewise.
11685 * posix/getgroups.c: Likewise.
11686 * posix/getlogin.c: Likewise.
11687 * posix/getlogin_r.c: Likewise.
11688 * posix/getpgid.c: Likewise.
11689 * posix/getpid.c: Likewise.
11690 * posix/getppid.c: Likewise.
11691 * posix/getresgid.c: Likewise.
11692 * posix/getresuid.c: Likewise.
11693 * posix/getsid.c: Likewise.
11694 * posix/getuid.c: Likewise.
11695 * posix/glob64.c: Likewise.
11696 * posix/nanosleep.c: Likewise.
11697 * posix/pathconf.c: Likewise.
11698 * posix/pause.c: Likewise.
11699 * posix/posix_madvise.c: Likewise.
11700 * posix/pread.c: Likewise.
11701 * posix/pread64.c: Likewise.
11702 * posix/pwrite.c: Likewise.
11703 * posix/pwrite64.c: Likewise.
11704 * posix/sched_getaffinity.c: Likewise.
11705 * posix/sched_getp.c: Likewise.
11706 * posix/sched_gets.c: Likewise.
11707 * posix/sched_primax.c: Likewise.
11708 * posix/sched_primin.c: Likewise.
11709 * posix/sched_rr_gi.c: Likewise.
11710 * posix/sched_setaffinity.c: Likewise.
11711 * posix/sched_setp.c: Likewise.
11712 * posix/sched_sets.c: Likewise.
11713 * posix/sched_yield.c: Likewise.
11714 * posix/setgid.c: Likewise.
11715 * posix/setlogin.c: Likewise.
11716 * posix/setpgid.c: Likewise.
11717 * posix/setresgid.c: Likewise.
11718 * posix/setresuid.c: Likewise.
11719 * posix/setsid.c: Likewise.
11720 * posix/setuid.c: Likewise.
11721 * posix/sleep.c: Likewise.
11722 * posix/spawni.c: Likewise.
11723 * posix/sysconf.c: Likewise.
11724 * posix/times.c: Likewise.
11725 * posix/wait.c: Likewise.
11726 * posix/wait3.c: Likewise.
11727 * posix/wait4.c: Likewise.
11728 * posix/waitpid.c: Likewise.
11729 * resolv/gai_sigqueue.c: Likewise.
11730 * resource/getpriority.c: Likewise.
11731 * resource/getrlimit.c: Likewise.
11732 * resource/getrusage.c: Likewise.
11733 * resource/nice.c: Likewise.
11734 * resource/setpriority.c: Likewise.
11735 * resource/setrlimit.c: Likewise.
11736 * resource/ulimit.c: Likewise.
11737 * rt/aio_cancel.c: Likewise.
11738 * rt/aio_fsync.c: Likewise.
11739 * rt/aio_read.c: Likewise.
11740 * rt/aio_sigqueue.c: Likewise.
11741 * rt/aio_suspend.c: Likewise.
11742 * rt/aio_write.c: Likewise.
11743 * rt/clock_getres.c: Likewise.
11744 * rt/clock_gettime.c: Likewise.
11745 * rt/clock_nanosleep.c: Likewise.
11746 * rt/clock_settime.c: Likewise.
11747 * rt/lio_listio.c: Likewise.
11748 * rt/mq_close.c: Likewise.
11749 * rt/mq_getattr.c: Likewise.
11750 * rt/mq_notify.c: Likewise.
11751 * rt/mq_open.c: Likewise.
11752 * rt/mq_receive.c: Likewise.
11753 * rt/mq_send.c: Likewise.
11754 * rt/mq_setattr.c: Likewise.
11755 * rt/mq_timedreceive.c: Likewise.
11756 * rt/mq_timedsend.c: Likewise.
11757 * rt/mq_unlink.c: Likewise.
11758 * rt/shm_open.c: Likewise.
11759 * rt/shm_unlink.c: Likewise.
11760 * rt/timer_create.c: Likewise.
11761 * rt/timer_delete.c: Likewise.
11762 * rt/timer_getoverr.c: Likewise.
11763 * rt/timer_gettime.c: Likewise.
11764 * rt/timer_settime.c: Likewise.
11765 * setjmp/__longjmp.c: Likewise.
11766 * setjmp/setjmp.c: Likewise.
11767 * signal/kill.c: Likewise.
11768 * signal/killpg.c: Likewise.
11769 * signal/raise.c: Likewise.
11770 * signal/sigaction.c: Likewise.
11771 * signal/sigaltstack.c: Likewise.
11772 * signal/sigblock.c: Likewise.
11773 * signal/sigignore.c: Likewise.
11774 * signal/sigintr.c: Likewise.
11775 * signal/signal.c: Likewise.
11776 * signal/sigpause.c: Likewise.
11777 * signal/sigpending.c: Likewise.
11778 * signal/sigqueue.c: Likewise.
11779 * signal/sigreturn.c: Likewise.
11780 * signal/sigset.c: Likewise.
11781 * signal/sigsetmask.c: Likewise.
11782 * signal/sigstack.c: Likewise.
11783 * signal/sigsuspend.c: Likewise.
11784 * signal/sigtimedwait.c: Likewise.
11785 * signal/sigvec.c: Likewise.
11786 * signal/sigwait.c: Likewise.
11787 * signal/sigwaitinfo.c: Likewise.
11788 * signal/sysv_signal.c: Likewise.
11789 * socket/accept.c: Likewise.
11790 * socket/accept4.c: Likewise.
11791 * socket/bind.c: Likewise.
11792 * socket/connect.c: Likewise.
11793 * socket/getpeername.c: Likewise.
11794 * socket/getsockname.c: Likewise.
11795 * socket/getsockopt.c: Likewise.
11796 * socket/isfdtype.c: Likewise.
11797 * socket/listen.c: Likewise.
11798 * socket/recv.c: Likewise.
11799 * socket/recvfrom.c: Likewise.
11800 * socket/recvmsg.c: Likewise.
11801 * socket/send.c: Likewise.
11802 * socket/sendmsg.c: Likewise.
11803 * socket/sendto.c: Likewise.
11804 * socket/setsockopt.c: Likewise.
11805 * socket/shutdown.c: Likewise.
11806 * socket/sockatmark.c: Likewise.
11807 * socket/socket.c: Likewise.
11808 * socket/socketpair.c: Likewise.
11809 * stdio-common/ctermid.c: Likewise.
11810 * stdio-common/cuserid.c: Likewise.
11811 * stdio-common/remove.c: Likewise.
11812 * stdio-common/rename.c: Likewise.
11813 * stdio-common/renameat.c: Likewise.
11814 * stdio-common/tempname.c: Likewise.
11815 * stdlib/getcontext.c: Likewise.
11816 * stdlib/makecontext.c: Likewise.
11817 * stdlib/setcontext.c: Likewise.
11818 * stdlib/swapcontext.c: Likewise.
11819 * stdlib/system.c: Likewise.
11820 * streams/fattach.c: Likewise.
11821 * streams/fdetach.c: Likewise.
11822 * streams/getmsg.c: Likewise.
11823 * streams/getpmsg.c: Likewise.
11824 * streams/putmsg.c: Likewise.
11825 * streams/putpmsg.c: Likewise.
11826 * sysdeps/unix/bsd/getpt.c: Likewise.
11827 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11828 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11829 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11831 Likewise.
11832 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11833 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11834 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11835 * sysvipc/msgctl.c: Likewise.
11836 * sysvipc/msgget.c: Likewise.
11837 * sysvipc/msgrcv.c: Likewise.
11838 * sysvipc/msgsnd.c: Likewise.
11839 * sysvipc/semctl.c: Likewise.
11840 * sysvipc/semget.c: Likewise.
11841 * sysvipc/semop.c: Likewise.
11842 * sysvipc/semtimedop.c: Likewise.
11843 * sysvipc/shmat.c: Likewise.
11844 * sysvipc/shmctl.c: Likewise.
11845 * sysvipc/shmdt.c: Likewise.
11846 * sysvipc/shmget.c: Likewise.
11847 * termios/tcdrain.c: Likewise.
11848 * termios/tcflow.c: Likewise.
11849 * termios/tcflush.c: Likewise.
11850 * termios/tcgetattr.c: Likewise.
11851 * termios/tcgetpgrp.c: Likewise.
11852 * termios/tcsendbrk.c: Likewise.
11853 * termios/tcsetattr.c: Likewise.
11854 * termios/tcsetpgrp.c: Likewise.
11855 * time/adjtime.c: Likewise.
11856 * time/clock.c: Likewise.
11857 * time/getitimer.c: Likewise.
11858 * time/gettimeofday.c: Likewise.
11859 * time/setitimer.c: Likewise.
11860 * time/settimeofday.c: Likewise.
11861 * time/stime.c: Likewise.
11862 * time/time.c: Likewise.
11863
118642012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 11865
a20492cf
PT
11866 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11867 /usr/old/bin.
11868
72e182e3
PT
11869 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11870 instead of spaces.
11871 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11872
fbeafede
JM
118732012-11-03 Joseph Myers <joseph@codesourcery.com>
11874
5b5b04d6
JM
11875 [BZ #14796]
11876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11877 FE_TONEAREST before applying Dekker multiplication and Knuth
11878 addition. Clear inexact exceptions and check for exact zero
11879 results afterwards.
11880 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11881 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11883 * math/libm-test.inc (fma_test): Add more tests.
11884 (fma_test_towardzero): Likewise.
11885 (fma_test_downward): Likewise.
11886 (fma_test_upward): Likewise.
11887 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11888 function.
11889 (libc_fesetround): New macro.
11890 (libc_fesetroundf): Likewise.
11891 (libc_fesetroundl): Likewise.
11892 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11893 function.
11894 (libc_fesetround_387): Likewise.
11895 (libc_fesetroundf): New macro.
11896 (libc_fesetround): Likewise.
11897 (libc_fesetroundl): Likewise.
11898 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11899 function.
11900 (libc_fesetroundf): New macro.
11901 (libc_fesetround): Likewise.
11902 (libc_fesetroundl): Likewise.
11903 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11904 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11905 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11906 libm_hidden_ver.
11907 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11908 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11909 libm_hidden_def.
11910 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11911 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11912 libm_hidden_ver.
11913 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11914 libm_hidden_def.
11915
fbeafede
JM
11916 [BZ #3439]
11917 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11918 integer constant usable in #if and use that to give value to enum
11919 constant.
11920 (FE_DIVBYZERO): Likewise.
11921 (FE_UNDERFLOW): Likewise.
11922 (FE_OVERFLOW): Likewise.
11923 (FE_INVALID): Likewise.
11924 (FE_INVALID_SNAN): Likewise.
11925 (FE_INVALID_ISI): Likewise.
11926 (FE_INVALID_IDI): Likewise.
11927 (FE_INVALID_ZDZ): Likewise.
11928 (FE_INVALID_IMZ): Likewise.
11929 (FE_INVALID_COMPARE): Likewise.
11930 (FE_INVALID_SOFTWARE): Likewise.
11931 (FE_INVALID_SQRT): Likewise.
11932 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11933 (FE_TONEAREST): Likewise.
11934 (FE_TOWARDZERO): Likewise.
11935 (FE_UPWARD): Likewise.
11936 (FE_DOWNWARD): Likewise.
11937 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11938 (FE_DIVBYZERO): Likewise.
11939 (FE_OVERFLOW): Likewise.
11940 (FE_UNDERFLOW): Likewise.
11941 (FE_INEXACT): Likewise.
11942 (FE_TONEAREST): Likewise.
11943 (FE_DOWNWARD): Likewise.
11944 (FE_UPWARD): Likewise.
11945 (FE_TOWARDZERO): Likewise.
11946 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11947 (FE_UNDERFLOW): Likewise.
11948 (FE_OVERFLOW): Likewise.
11949 (FE_DIVBYZERO): Likewise.
11950 (FE_INVALID): Likewise.
11951 (FE_TONEAREST): Likewise.
11952 (FE_TOWARDZERO): Likewise.
11953 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11954 (FE_OVERFLOW): Likewise.
11955 (FE_UNDERFLOW): Likewise.
11956 (FE_DIVBYZERO): Likewise.
11957 (FE_INEXACT): Likewise.
11958 (FE_TONEAREST): Likewise.
11959 (FE_TOWARDZERO): Likewise.
11960 (FE_UPWARD): Likewise.
11961 (FE_DOWNWARD): Likewise.
11962 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11963 (FE_DIVBYZERO): Likewise.
11964 (FE_OVERFLOW): Likewise.
11965 (FE_UNDERFLOW): Likewise.
11966 (FE_INEXACT): Likewise.
11967 (FE_TONEAREST): Likewise.
11968 (FE_DOWNWARD): Likewise.
11969 (FE_UPWARD): Likewise.
11970 (FE_TOWARDZERO): Likewise.
11971
105ca950
CM
119722012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11973
11974 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11975
a542b389
AS
119762012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11977
11978 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11979 commands. Quote $PWD.
11980 (blacklist_exports): Don't use remove_newlines. Replace "declare
11981 -x" by "export".
11982 (remove_newlines): Remove.
11983
f62c8abc
L
119842012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11985
11986 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11987 * stdlib/stdlib.h (atof): Moved to ...
11988 * include/bits/stdlib-float.h: Here. New file.
11989 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11990 * stdlib/bits/stdlib-float.h: New file.
11991 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11992 -mno-sse -mno-mmx.
11993 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11994 <xmmintrin.h>.
11995
0155d5b2
JM
119962012-11-02 Joseph Myers <joseph@codesourcery.com>
11997
a68d0680
JM
11998 * conform/conformtest.pl (@headers): Add fenv.h.
11999 * conform/data/fenv.h-data: New file.
12000 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12001 include of <math/fenv.h>.
12002
caf7f573
JM
12003 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12004 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12005 && !UNIX98]. Enables tests for XOPEN2K8.
12006 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12007 POSIX2008]: Likewise.
12008
6c073ad6
JM
12009 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12010 (struct rusage): Do not expect type or its members.
12011
0155d5b2
JM
12012 [BZ #3439]
12013 * math/math.h (FP_NAN): Define macro to integer constant usable in
12014 #if and use that to give value to enum constant.
12015 (FP_INFINITE): Likewise.
12016 (FP_ZERO): Likewise.
12017 (FP_SUBNORMAL): Likewise.
12018 (FP_NORMAL): Likewise.
12019
b5dcacb4
AS
120202012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12021
12022 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12023 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12024 arguments.
12025
f7934be8
RM
120262012-11-02 Roland McGrath <roland@hack.frob.com>
12027
12028 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12029 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12030 autoconf-time if not.
12031 * configure.in: Remove AC_PREREQ.
12032
d7d08bde
TMQMF
120332012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12034
12035 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12036 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12037 of the internal implementation.
12038
dcdae19a
JM
120392012-11-02 Joseph Myers <joseph@codesourcery.com>
12040
12041 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12042 except include of <misc/sys/syslog.h>.
12043
d6cffd3e
AS
120442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12045
12046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12047 function returns with a NULL context exit with zero.
12048
b3563932
TMQMF
120492012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12050
12051 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12052
b288a93d
L
120532012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12054
12055 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12056 (run_program_cmd): This.
12057 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12058 (tst_langinfo): New variable. Use it.
12059
a2421a68
SAS
120602012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12061
12062 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12063 floating point opcodes.
12064
6f796e1b
TS
120652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12066
7402596b
TS
12067 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12068 variable.
12069
d0d4f868
TS
12070 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12071
6f796e1b
TS
12072 * sysdeps/mach/hurd/powerpc: Remove directory.
12073 * sysdeps/mach/powerpc: Likewise.
12074
4da224a2
AS
120752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12076
12077 * scripts/check-local-headers.sh: Ignore c++ headers.
12078
341dd673
TS
120792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12080
12081 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12082 __libc_cleanup_region_start argument.
12083
473611b2
JM
120842012-11-01 Joseph Myers <joseph@codesourcery.com>
12085
12086 [BZ #14784]
12087 [BZ #14785]
12088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12089 x * y using scaling, not as x * y + z.
12090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12091 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12092 * math/libm-test.inc (fma_test): Add more tests.
12093 (fma_test_towardzero): Likewise.
12094 (fma_test_downward): Likewise.
12095 (fma_test_upward): Likewise.
12096
4078da3d
TS
120972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12098
12099 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12100
903252aa
JM
121012012-10-31 Joseph Myers <joseph@codesourcery.com>
12102
12103 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12104 New variable.
12105
cbc818d0
TS
121062012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12107
12108 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12109
5a03cb1e
AS
121102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12111
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12113 Fix sort order.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12115 Likewise.
12116
90aff2ff
TMQMF
121172012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12118
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12120 Fix the order of the list for glibc 2.17.
12121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12122 Likewise.
12123
1818fcb7
AS
121242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12125
12126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12127
ef82f4da
JM
121282012-10-31 Joseph Myers <joseph@codesourcery.com>
12129
16a0e2ec
JM
12130 [BZ #14610]
12131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12132 for low part of x being zero before using __atanl (y).
12133 * math/libm-test.inc (atan2_test): Add another test.
12134
0eb69512
JM
12135 * manual/install.texi (Configuring and compiling): Document
12136 general use of test-wrapper and test-wrapper-env.
12137 * INSTALL: Regenerated.
12138
ef82f4da
JM
12139 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12140 (__fma): Do not extract and scale down low bits on after-rounding
12141 systems when result rounded to normal precision would have normal
12142 exponent.
12143 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12144 (__fmal): Do not extract and scale down low bits on after-rounding
12145 systems when result rounded to normal precision would have normal
12146 exponent.
12147 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12148 (__fmal): Do not extract and scale down low bits on after-rounding
12149 systems when result rounded to normal precision would have normal
12150 exponent.
12151 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12152 macro.
12153 (fma_test): Add more tests.
12154 (fma_test_towardzero): Likewise.
12155 (fma_test_downward): Likewise.
12156 (fma_test_upward): Likewise.
12157
954ef0d9
L
121582012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12159
12160 * sysdeps/i386/tininess.h: Renamed to ...
12161 * sysdeps/x86/tininess.h: This.
12162 * sysdeps/x86_64/tininess.h: Removed.
12163
df61ffb2
JM
121642012-10-30 Joseph Myers <joseph@codesourcery.com>
12165
12166 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12167 input. Use $(build-program-cmd).
12168 ($(objpfx)tst-array1-static.out): Likewise.
12169 ($(objpfx)tst-array2.out): Likewise.
12170 ($(objpfx)tst-array3.out): Likewise.
12171 ($(objpfx)tst-array4.out): Likewise.
12172 ($(objpfx)tst-array5.out): Likewise.
12173 ($(objpfx)tst-array5-static.out): Likewise.
12174
01767843
CM
121752012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12176
47cc1490
CM
12177 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12178 if defined.
12179
01767843
CM
12180 * nss/nsswitch.h (nss_interface_function): Provide new
12181 macro for use with NSS functions.
12182 * grp/initgroups.c: Use new macro.
12183 * nss/getXXbyYY.c: Likewise.
12184 * nss/getXXbyYY_r.c: Likewise.
12185 * nss/getXXent.c: Likewise.
12186 * nss/getXXent_r.c: Likewise.
12187 * sysdeps/posix/getaddrinfo.c: Likewise.
12188
8321aa97
AJ
121892012-10-30 Andreas Jaeger <aj@suse.de>
12190
12191 * po/ru.po: Update Russion translation from translation project.
12192
2a27fd6d
JM
121932012-10-30 Joseph Myers <joseph@codesourcery.com>
12194
8627a232
JM
12195 [BZ #14152]
12196 [BZ #14783]
12197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12198 result and shift together with sticky bit instead of replicating
12199 round-to-nearest rounding.
12200 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12202 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12203 missing underflow exceptions.
12204 (fma_test_towardzero): Add more tests.
12205 (fma_test_downward): Likewise.
12206 (fma_test_upward): Likewise.
12207
2a27fd6d
JM
12208 [BZ #14047]
12209 * sysdeps/generic/tininess.h: New file.
12210 * sysdeps/i386/tininess.h: Likewise.
12211 * sysdeps/sh/tininess.h: Likewise.
12212 * sysdeps/x86_64/tininess.h: Likewise.
12213 * stdlib/tst-strtod-underflow.c: Likewise.
12214 * stdlib/tst-tininess.c: Likewise.
12215 * stdlib/strtod_l.c: Include <tininess.h>.
12216 (round_and_return): Do not set errno for exact underflow cases.
12217 Force an underflow exception when setting errno for underflow.
12218 Determine underflow based on rounding to normal precision if
12219 TININESS_AFTER_ROUNDING.
12220 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12221 ERANGE for exact underflow cases.
12222 * stdlib/Makefile (tests): Add tst-tininess and
12223 tst-strtod-underflow.
12224 ($(objpfx)tst-tininess): Use $(link-libm).
12225 ($(objpfx)tst-strtod-underflow): Likewise.
12226
e7170363
AJ
122272012-10-30 Andreas Jaeger <aj@suse.de>
12228
e5088dc6
AJ
12229 [BZ#14767]
12230 * elf/Makefile (tests): Remove conditional for have-initfini-array
12231 since this is now always required and the variable does not exist
12232 anymore.
12233 (tests-static): Likewise.
12234 (modules-names): Likewise.
12235
e7170363 12236 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12237
12238 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12239 merged with constructor/destructor.
12240 (init_array): Likewise.
12241 * elf/tst-array2dep.c (fini_array): Likewise.
12242 (init_array): Likewise.
12243
60457d8a
MF
122442012-10-29 Mike Frysinger <vapier@gentoo.org>
12245
12246 * manual/message.texi: Delete @cartouche tags.
12247
8bece752
PT
122482012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12249
94ce799f
PT
12250 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12251 EOPNOTSUPP.
12252 * sysdeps/mach/hurd/fsync.c: Likewise.
12253
8bece752
PT
12254 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12255 [_POSIX_REALTIME_SIGNALS]: Change condition to
12256 [_POSIX_REALTIME_SIGNALS > 0].
12257
86ebe6b1
AJ
122582012-10-27 Andreas Jaeger <aj@suse.de>
12259
12260 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12261 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12263 [__WORDSIZE != 64]: Likewise.
12264
54399c08
L
122652012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 * iconvdata/tst-table.sh: Remove ${SHELL}.
12268 * iconvdata/tst-tables.sh: Likewise.
12269
e2211bed
DM
122702012-10-25 David S. Miller <davem@davemloft.net>
12271
12272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12273 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12274 of strtoull.
12275
f303f97c
DM
12276 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12277 ifunc-impl-list.c
12278 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12279 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12280 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12281 file.
12282
1e9d84cd
RM
122832012-10-25 Roland McGrath <roland@hack.frob.com>
12284
12285 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12286 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12287 __getdirentries.
12288
df381762
JM
122892012-10-25 Joseph Myers <joseph@codesourcery.com>
12290 Jim Blandy <jimb@codesourcery.com>
12291
12292 * scripts/cross-test-ssh.sh: New file.
12293 * manual/install.texi (Configuring and compiling): Document use of
12294 cross-test-ssh.sh.
12295 * INSTALL: Regenerated.
12296
bff64913
PT
122972012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12298
12299 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12300 EOPNOTSUPP.
12301
25fe8932
JM
123022012-10-25 Joseph Myers <joseph@codesourcery.com>
12303
12304 * Makeconfig (run-program-prefix): Fix comment.
12305
cc1290d0
JM
123062012-10-24 Joseph Myers <joseph@codesourcery.com>
12307 Jim Blandy <jimb@codesourcery.com>
12308
12309 * Makeconfig (test-wrapper): New variable,
12310 (test-wrapper-env): Likewise.
12311 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12312 (run-built-tests): Define to yes.
12313 (run-program-prefix): Use $(test-wrapper).
12314 (built-program-cmd): Likewise.
12315 * Rules (make-test-out): Use $(test-wrapper-env) and
12316 $(host-built-program-cmd).
12317 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12318 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12319 tst-pathopt.sh.
12320 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12321 $(test-wrapper-env) to tst-rtld-load-self.sh.
12322 ($(objpfx)order2.out): Use $(test-wrapper).
12323 ($(objpfx)tst-initorder.out): Likewise.
12324 ($(objpfx)tst-initorder2.out): Likewise.
12325 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12326 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12327 (test_wrapper_env): New variable. Use it to run ld.so.
12328 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12329 Use it to run ld.so.
12330 (test_wrapper_env): Likewise.
12331 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12332 $(test-wrapper) to run-iconv-test.sh.
12333 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12334 (ICONV): Use $test_wrapper.
12335 * posix/Makefile ($(objpfx)globtest.out): Pass
12336 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12337 globtest.sh, not $(run-program-prefix).
12338 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12339 (test_wrapper): Likewise.
12340 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12341 set together with run_via_rtld_prefix.
12342 (run_program_prefix): Define in terms of test_wrapper and
12343 run_via_rtld_prefix.
12344
6e6249d0
RM
123452012-10-24 Roland McGrath <roland@hack.frob.com>
12346
12347 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12348 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12349 Targets removed.
12350
12351 [BZ #14743]
12352 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12353 Declare __clock_getres, __clock_gettime, __clock_settime,
12354 __clock_nanosleep, and __clock_getcpuclockid.
12355 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12356 Remove librt_hidden_def (clock_gettime).
12357 * sysdeps/unix/clock_gettime.c: Likewise.
12358 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12359 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12360 * rt/clock_getres.c: Define __clock_getres as an alias.
12361 * sysdeps/posix/clock_getres.c: Likewise.
12362 * rt/clock_settime.c: Define __clock_settime as an alias.
12363 * sysdeps/unix/clock_settime.c: Likewise.
12364 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12365 * sysdeps/unix/clock_nanosleep.c: Likewise.
12366 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12367 * rt/clock-compat.c: New file.
12368 * rt/Makefile (librt-routines): Add clock-compat and move
12369 $(clock-routines) to ...
12370 (routines): ... here, new variable.
12371 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12372 Don't add get_clockfreq here.
12373 * rt/Versions (libc: GLIBC_2.17): New version set.
12374 Add clock_* symbols here.
12375 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12377 (GLIBC_2.17): Add clock_* symbols.
12378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12382 Likewise.
12383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12384 Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12389 * NEWS: Mention the move.
12390
12391 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12392 Use __open, __read, __close rather than their public counterparts.
12393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12394 (__get_clockfreq_via_cpuinfo): Likewise.
12395 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12396 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12397
12398 * config.h.in (HAVE_IFUNC): New #undef.
12399 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12400 was successful.
12401 * configure: Regenerated.
12402
0cae3f4b
MF
124032012-10-24 Mike Frysinger <vapier@gentoo.org>
12404
12405 * configure.in: Move READELF check to start of file.
12406 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12407 libc_cv_asm_gnu_indirect_function in the process.
12408 * configure: Regenerated.
12409
8175a253
MF
124102012-10-24 Mike Frysinger <vapier@gentoo.org>
12411
12412 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12413 send the output to /dev/null.
12414 (libc_cv_cc_with_libunwind): Likewise.
12415 (libc_cv_as_noexecstack): Likewise.
12416 * configure: Regenerate.
12417
0708a7d1
JM
124182012-10-24 Joseph Myers <joseph@codesourcery.com>
12419
10b40d85
JM
12420 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12421
0708a7d1
JM
12422 * posix/globtest.sh (TMPDIR): Do not set.
12423 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12424 (testout): Likewise.
12425
9fddec1a
AJ
124262012-10-24 Andreas Jaeger <aj@suse.de>
12427
3a8db22f
AJ
12428 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12429 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12430 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12431 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12432 posix_fadvise64, posix_fallocate64.
12433
9fddec1a
AJ
12434 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12435 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12436 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12437 Likewise.
12438 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12439 Likewise.
12440 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12441
12442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12443 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12444 <bits/fcntl-linux.h>.
12445 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12446
12447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12448 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12449 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12450 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12451 [__WORDSIZE != 64]: Likewise.
12452
ebfd1bbd
JM
124532012-10-23 Joseph Myers <joseph@codesourcery.com>
12454
03ac099f
JM
12455 * Makeconfig (run-built-tests): New variable.
12456 * Rules [$(cross-compiling) = yes]: Change condition to
12457 [$(run-built-tests) = no].
12458 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12459 to [$(run-built-tests) = yes].
12460 * elf/Makefile [$(cross-compiling) = no]: Likewise
12461 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12462 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12463 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12464 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12465 * io/Makefile [$(cross-compiling) = no]: Likewise.
12466 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12467 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12468 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12469 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12470 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12471 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12472 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12473 * string/Makefile [$(cross-compiling) = no]: Likewise.
12474
ebfd1bbd
JM
12475 * posix/Makefile ($(objpfx)globtest.out): Pass
12476 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12477 $(rtld-installed-name).
12478 * posix/globtest.sh (elf_objpfx): Remove variable.
12479 (rtld_installed_name): Likewise.
12480 (library_path): Likewise.
12481 (run_program_prefix): New variable. Use for running globtest
12482 binary.
12483
166bca24
JB
124842012-10-23 Jim Blandy <jimb@codesourcery.com>
12485 Joseph Myers <joseph@codesourcery.com>
12486
12487 * Makeconfig (host-built-program-cmd): New variable.
12488 * elf/Makefile (tst-stackguard1-ARGS): Use
12489 $(host-built-program-cmd).
12490 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12491 (tst-spawn-ARGS): Likewise.
12492 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12493
88866099
JM
124942012-10-23 Joseph Myers <joseph@codesourcery.com>
12495 Jim Blandy <jimb@codesourcery.com>
12496
12497 * Makeconfig (run-via-rtld-prefix): New variable.
12498 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12499 (built-program-cmd): Likewise.
12500
b4b4c296
AJ
125012012-10-22 Andreas Jaeger <aj@suse.de>
12502
12503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12504 __O_RSYNC if it exists, otherwise to O_SYNC.
12505
6fb54a22
JB
125062012-10-22 Jim Blandy <jimb@codesourcery.com>
12507 Joseph Myers <joseph@codesourcery.com>
12508
12509 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12510 /dev/null.
12511 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12512 from /dev/null
12513 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12514 /dev/null.
12515
481b90b9
AJ
125162012-10-22 Andreas Jaeger <aj@suse.de>
12517
2a0e2669
AJ
12518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12519 Define always.
12520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12521
76e38f9a
AJ
12522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12523 bits/fcntl-linux.h.
12524
7cd37b43
AJ
12525 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12526 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12527
481b90b9
AJ
12528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12529 to __O_LARGEFILE.
12530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12531 to __O_LARGEFILE.
12532
aba75984
JB
125332012-10-21 Jim Blandy <jimb@codesourcery.com>
12534 Joseph Myers <joseph@codesourcery.com>
12535
12536 * config.make.in (NM): New variable.
12537
88d4247f
AJ
125382012-10-21 Andreas Jaeger <aj@suse.de>
12539
12540 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12541 definitions and declarations that are provided by
12542 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12543
f2eed205
L
125442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12545
12546 [BZ #14683]
12547 * elf/Makefile (tests-static): Add tst-leaks1-static.
12548 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12549 ($(objpfx)tst-leaks1-static): New rule.
12550 ($(objpfx)tst-leaks1-static-mem): Likewise.
12551 (tst-leaks1-static-ENV): New macro.
12552 * elf/dl-open.c (dl_open_worker): Check the main application
12553 only if SHARED is defined.
12554 * elf/tst-leaks1-static.c: New file.
12555
335e6931
AJ
125562012-10-20 Andreas Jaeger <aj@suse.de>
12557
12558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12559 generic values for Linux.
12560 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12561 and declarations that are provided by <bits/fcntl-linux.h> and
12562 include <bits/fcntl-linux.h>.
12563 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12565
ac5c94d3
RM
125662012-10-20 Roland McGrath <roland@hack.frob.com>
12567
12568 * io/fcntl.h: Move include of <bits/types.h> to the top and
12569 include it unconditionally.
12570
de54b33a
L
125712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12572
228cfb01
L
12573 * wcsmbs/Makefile (tests-ifunc): New variable.
12574 (tests): Add $(tests-ifunc).
12575 * wcsmbs/test-wcschr-ifunc.c: New file.
12576 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12577 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12578 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12579 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12580 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12581
69f07e5f
L
12582 * string/Makefile (tests-ifunc): New variable.
12583 (tests): Add $(tests-ifunc).
12584 * string/test-memccpy.c (TEST_NAME): New macro.
12585 * string/test-memchr.c (TEST_NAME): Likewise.
12586 * string/test-memcmp.c (TEST_NAME): Likewise.
12587 * string/test-memcpy.c (TEST_NAME): Likewise.
12588 * string/test-memmem.c (TEST_NAME): Likewise.
12589 * string/test-memmove.c (TEST_NAME): Likewise.
12590 * string/test-memset.c (TEST_NAME): Likewise.
12591 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12592 * string/test-stpcpy.c (TEST_NAME): Likewise.
12593 * string/test-stpncpy.c (TEST_NAME): Likewise.
12594 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12595 * string/test-strcasestr.c (TEST_NAME): Likewise.
12596 * string/test-strcat.c (TEST_NAME): Likewise.
12597 * string/test-strchr.c (TEST_NAME): Likewise.
12598 * string/test-strcmp.c(TEST_NAME): Likewise.
12599 * string/test-strcpy.c (TEST_NAME): Likewise.
12600 * string/test-strcspn.c (TEST_NAME): Likewise.
12601 * string/test-strlen.c (TEST_NAME): Likewise.
12602 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12603 * string/test-strncmp.c (TEST_NAME): Likewise.
12604 * string/test-strncpy.c (TEST_NAME): Likewise.
12605 * string/test-strnlen.c (TEST_NAME): Likewise.
12606 * string/test-strpbrk.c (TEST_NAME): Likewise.
12607 * string/test-strrchr.c (TEST_NAME): Likewise.
12608 * string/test-strspn.c (TEST_NAME): Likewise.
12609 * string/test-strstr.c (TEST_NAME): Likewise.
12610 * string/test-bcopy-ifunc.c: New file.
12611 * string/test-bzero-ifunc.c: Likewise.
12612 * string/test-memccpy-ifunc.c: Likewise.
12613 * string/test-memchr-ifunc.c: Likewise.
12614 * string/test-memcmp-ifunc.c: Likewise.
12615 * string/test-memcpy-ifunc.c: Likewise.
12616 * string/test-memmem-ifunc.c: Likewise.
12617 * string/test-memmove-ifunc.c: Likewise.
12618 * string/test-mempcpy-ifunc.c: Likewise.
12619 * string/test-memset-ifunc.c: Likewise.
12620 * string/test-rawmemchr-ifunc.c: Likewise.
12621 * string/test-stpcpy-ifunc.c: Likewise.
12622 * string/test-stpncpy-ifunc.c: Likewise.
12623 * string/test-strcasecmp-ifunc.c: Likewise.
12624 * string/test-strcasestr-ifunc.c: Likewise.
12625 * string/test-strcat-ifunc.c: Likewise.
12626 * string/test-strchr-ifunc.c: Likewise.
12627 * string/test-strchrnul-ifunc.c: Likewise.
12628 * string/test-strcmp-ifunc.c: Likewise.
12629 * string/test-strcpy-ifunc.c: Likewise.
12630 * string/test-strcspn-ifunc.c: Likewise.
12631 * string/test-strlen-ifunc.c: Likewise.
12632 * string/test-strncasecmp-ifunc.c: Likewise.
12633 * string/test-strncat-ifunc.c: Likewise.
12634 * string/test-strncmp-ifunc.c: Likewise.
12635 * string/test-strncpy-ifunc.c: Likewise.
12636 * string/test-strnlen-ifunc.c: Likewise.
12637 * string/test-strpbrk-ifunc.c: Likewise.
12638 * string/test-strrchr-ifunc.c: Likewise.
12639 * string/test-strspn-ifunc.c: Likewise.
12640 * string/test-strstr-ifunc.c: Likewise.
12641
de54b33a
L
12642 * debug/Makefile (tests-ifunc): New variable.
12643 (tests): Add $(tests-ifunc).
12644 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12645 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12646 * debug/test-stpcpy_chk-ifunc.c: New file.
12647 * debug/test-strcpy_chk-ifunc.c: Likewise.
12648
88481c16
SP
126492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12650
12651 [BZ #13601]
12652 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12653 header is not read in.
12654
135948bd
JM
126552012-10-19 Joseph Myers <joseph@codesourcery.com>
12656
89f1c388
JM
12657 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12658 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12659 directly. Pass built executable to script as
12660 $(built-program-cmd).
12661 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12662 $testprogram without using LD_LIBRARY_PATH and $ldso.
12663
e40a0d21
JM
12664 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12665 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12666 $(rtld-installed-name).
12667 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12668 (rtld_installed_name): Likewise.
12669 (library_path): Likewise.
12670 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12671 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12672 $(run-program-prefix) to tst-tables.sh.
12673 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12674 it to run tst-table-from and tst-table-to.
12675 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12676 Pass it to tst-table.sh.
12677 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12678 $(run-program-prefix) to tst-gettext.sh.
12679 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12680 tst-translit.sh.
12681 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12682 tst-gettext2.sh.
12683 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12684 to run tst-gettext.
12685 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12686 to run tst-gettext2.
12687 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12688 to run tst-translit.
12689 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12690 $(run-program-prefix) to tst-mtrace.sh.
12691 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12692 to run tst-mtrace.
12693 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12694 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12695 $(rtld-installed-name).
12696 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12697 (rtld_installed_name): Likewise.
12698 (run_program_prefix): New variable. Use it to run wordexp-test.
12699
728e272a
JM
12700 * Makeconfig (ARCH): Remove all definitions.
12701 (machine): Likewise.
12702 [ARCH]: Remove conditional code.
12703 [!objdir]: Give error.
12704 [!objdir] (objpfx): Remove.
12705 [!objdir] (common-objpfx): Likewise.
12706 [!objdir] (common-objdir): Likewise.
12707 * configure.in (config_makefile): Remove. Hardcode Makefile in
12708 AC_CONFIG_FILES call.
12709 * configure: Regenerated.
12710
d528cdcf
JM
12711 [BZ #13888]
12712 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12713 or TMPDIR.
12714 (testout): Likewise.
12715
135948bd
JM
12716 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12717 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12718 $(rtld-installed-name).
12719 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12720 (rtld_installed_name): Likwise.
12721 (runit): Remove function.
12722 (run_getconf): New variable, Use it for running getconf binary.
12723
38c78296
L
127242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12725
12726 [BZ #14716]
12727 * string/test-memmem.c (check_result): New function.
12728 (do_one_test): Use it.
12729 (check1): New function.
12730 (test_main): Use it.
12731
d077f65f
MT
127322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12733
12734 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12735
ced52c71
JM
127362012-10-18 Joseph Myers <joseph@codesourcery.com>
12737
12738 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12739 (_G_LSEEK64): Likewise.
12740 (_G_MMAP64): Likewise.
12741 (_G_FSTAT64): Likewise.
12742 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12743 (_G_LSEEK64): Likewise.
12744 (_G_MMAP64): Likewise.
12745 (_G_FSTAT64): Likewise.
12746 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12747 unconditional. Call __mmap64 directly.
12748 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12749 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12750 __lseek64 directly.
12751 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12752 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12753 __mmap64 directly.
12754 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12755 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12756 __lseek64 directly.
12757 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12758 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12759 __lseek64 directly.
12760 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12761 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12762 __lseek64 directly.
12763 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12764 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12765 __fxstat64 directly.
12766 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12767 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12768 unconditional.
12769 (freopen64) [!_G_OPEN64]: Remove conditional code.
12770 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12771 unconditional.
12772 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12773 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12774 unconditional.
12775 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12776 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12777 unconditional.
12778 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12779 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12780 unconditional.
12781 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12782 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12783 unconditional.
12784 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12785 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12786 unconditional.
12787 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12788 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12789 unconditional.
12790 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12791
b741de23
SP
127922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12793
12794 [BZ #12140]
12795 * manual/memory.texi (Malloc Tunable Parameters): Add note
12796 about free list pointers overwriting some perturb bytes.
12797 Wording suggested by Roland McGrath.
12798
f9b9d9c9
JM
127992012-10-17 Joseph Myers <joseph@codesourcery.com>
12800
12801 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12802 (lgamma_test): Likewise.
12803 (tgamma_test): Likewise.
12804
172a631a
FW
128052012-10-16 Florian Weimer <fweimer@redhat.com>
12806
12807 [BZ #14700]
12808 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12809 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12810
e9f37252
MK
128112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12812
12813 * NEWS: Mention BZ #14716.
12814 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12815 when removing AVAILABLE1_USES_J macro.
12816
d394eb74
L
128172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12818
12819 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12820 (__bswap_64): __uint64_t for unsigned 64-bit int.
12821
ca38dc17
AS
128222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12823
12824 * include/string.h (memmem): Declare libc hidden alias.
12825 * string/memmem.c (memmem): Define libc hidden alias.
12826 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12827 __read, __close instead of open, read, close.
12828
9a387d1f
L
128292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12830
ac49ecaf
L
12831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12832 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12833 global and hidden.
12834 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12835 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12836 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12837 Likewise.
12838 (__rawmemchr_sse2): Likewise.
12839 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12840 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12841 (__strchr_sse2): Likewise.
12842 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12843 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12844 (__strcasecmp_sse2): Likewise.
12845 (__strncasecmp_sse2): Likewise.
12846 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12847 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12848 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12849 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12850 (__strrchr_sse2): Likewise.
12851 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12852 ifunc-impl-list.c.
12853 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12854 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12855 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12856 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12857 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12858 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12859 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12860 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12861 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12862 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12863 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12864 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12865 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12866 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12867 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12868 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12869 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12870 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12871 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12872 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12873 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12874 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12875 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12876 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12877 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12878 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12879 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12880 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12881 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12882 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12883
b090e8ea
L
12884 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12885 global and hidden.
12886 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12887 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12888 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12889 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12890 Likewise.
12891 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12892 Likewise.
12893 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12894 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12895 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12896 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12897 ifunc-impl-list.c.
12898 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12899 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12900 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12901 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12902 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12903 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12904 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12905 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12906 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12907 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12908 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12909 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12910 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12911 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12912 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12914 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12915 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12916 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12917 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12919 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12920 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12921 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12922 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12923 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12924 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12925 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12926 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12927 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12928 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12929 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12930 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12931 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12932 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12933 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12934 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12935 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12936 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12937 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12938 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12939
11dd4af6
L
12940 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12941 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12942 * include/ifunc-impl-list.h: New file.
12943 * misc/ifunc-impl-list.c: Likewise.
12944 * misc/Makefile (routines): Add ifunc-impl-list.
12945 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12946 * string/test-string.h: Include <ifunc-impl-list.h>.
12947 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12948 impl_array): New variables.
12949 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12950 are defined.
12951 (test_init): Call __libc_ifunc_impl_list to initialize
12952 func_list if TEST_IFUNC and TEST_NAME are defined.
12953
9a387d1f
L
12954 * string/Makefile (strop-tests): Add bcopy and bzero.
12955 * string/test-bcopy.c: New file.
12956 * string/test-bzero.c: Likewise.
12957 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12958 defined.
12959 * string/test-memset.c: Support bzero test if TEST_BZERO is
12960 defined.
12961 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12962 __libc_memmove.
12963 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12964 __libc_memset.
12965 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12966 of memset.
12967
472371b9
JM
129682012-10-10 Joseph Myers <joseph@codesourcery.com>
12969
1e4a9536
JM
12970 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12971 * configure: Regenerated.
12972
d173d12e
JM
12973 * Makeconfig (+link-static-before-libc): Don't include
12974 $(link-static-libc).
12975
472371b9
JM
12976 * libio/libio.h (_IO_pos_t): Remove.
12977
89a3ad0b
AO
129782012-10-10 Alexandre Oliva <aoliva@redhat.com>
12979
12980 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12981 McGrath.
12982
e7451425
AO
129832012-10-10 Alexandre Oliva <aoliva@redhat.com>
12984
12985 * crypt/crypt-entry.c: Include fips-private.h.
12986 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12987 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12988 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12989 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12990
4ba74a35
AO
129912012-10-10 Alexandre Oliva <aoliva@redhat.com>
12992
12993 * crypt/crypt-private.h: Include stdbool.h.
12994 (_ufc_setup_salt_r): Return bool.
12995 * crypt/crypt-entry.c: Include errno.h.
12996 (__crypt_r): Return NULL with EINVAL for bad salt.
12997 * crypt/crypt_util.c (bad_for_salt): New.
12998 (_ufc_setup_salt_r): Check that salt is long enough and within
12999 the specified alphabet.
13000 * crypt/badsalttest.c: New file.
13001 * crypt/Makefile (tests): Add it.
13002 ($(objpfx)badsalttest): New.
13003
f96f1242
MK
130042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13005
13006 * NEWS: Add entry for BZ #14602.
13007
0e8e0c1c
JM
130082012-10-09 Joseph Myers <joseph@codesourcery.com>
13009
13010 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13011 type-generic.
13012 * math/libm-test.inc: Update comment listing what functions and
13013 macros are tested.
13014 (isgreater_test): New function.
13015 (isgreaterequal_test): Likewise.
13016 (isless_test): Likewise.
13017 (islessequal_test): Likewise.
13018 (islessgreater_test): Likewise.
13019 (isunordered_test): Likewise.
13020 (main): Call the new functions.
13021
273edc5e
RM
130222012-10-09 Roland McGrath <roland@hack.frob.com>
13023
b8493de0
RM
13024 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13025 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13026 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13027 * sysdeps/i386/configure: Regenerated.
13028 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13029 * sysdeps/mach/configure: Regenerated.
13030 * sysdeps/mach/hurd/configure: Regenerated.
13031 * sysdeps/powerpc/configure: Regenerated.
13032 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13033 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13034 * sysdeps/s390/s390-32/configure: Regenerated.
13035 * sysdeps/s390/s390-64/configure: Regenerated.
13036 * sysdeps/sh/configure: Regenerated.
13037 * sysdeps/sparc/configure: Regenerated.
13038 * sysdeps/unix/sysv/linux/configure: Regenerated.
13039 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13040 * sysdeps/x86_64/configure: Regenerated.
13041
273edc5e
RM
13042 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13043 defined. Don't check if MAP is NULL.
13044
c8450f70
JM
130452012-10-09 Joseph Myers <joseph@codesourcery.com>
13046
13047 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13048 (_G_stat64): Likewise.
13049 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13050 (_G_stat64): Likewise.
13051 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13052 instead of struct _G_stat64.
13053 * libio/fileops.c (mmap_remap_check): Likewise.
13054 (decide_maybe_mmap): Likewise.
13055 (_IO_new_file_seekoff): Likewise.
13056 (_IO_file_stat): Likewise.
13057 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13058 _G_off64_t.
13059 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13060 instead of struct _G_stat64.
13061 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13062
57e605ba
MK
130632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13064
13065 [BZ #14602]
13066 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13067 Replace with ...
13068 (CHECK_EOL): New macro.
13069 (two_way_short_needle): Check beginning of haystack for EOL. Use
13070 CHECK_EOL.
13071 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13072 Replace with CHECK_EOL.
13073 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13074 Replace with CHECK_EOL.
13075
ef1bb361
JM
130762012-10-08 Joseph Myers <joseph@codesourcery.com>
13077
13078 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13079 type-generic.
13080 * math/libm-test.inc: Update comment listing what functions and
13081 macros are tested.
13082 (finite_test): New function.
13083 (isinf_test): Likewise.
13084 (isnan_test): Likewise.
13085 (fpclassify_test): Test subnormal input.
13086 (isfinite_test): Likewise.
13087 (isnormal_test): Likewise.
13088 (main): Call the new functions.
13089
55f11534
JN
130902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13091
13092 [BZ #14660]
13093 * Makerules (%.dynsym): Force C locale when running
13094 $(OBJDUMP) --dynamic-syms.
13095
1ab29350
AS
130962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13097
13098 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13099 <stdint.h>.
13100
f1ecb7ef
DM
131012012-10-06 David S. Miller <davem@davemloft.net>
13102
13103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13104 upper 32-bits of the length value in %o2 since we use branch-on-register
13105 tests which consider the entire 64-bit register.
13106
5d41d91a
L
131072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13108
13109 * string/test-strstr.c (check2): Add a test for page boundary.
13110
3baddb72
DM
131112012-10-05 David S. Miller <davem@davemloft.net>
13112
13113 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13114 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13115 file.
13116 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13117 sysdep_routines.
13118 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13119 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13120 and bzero when HWCAP_SPARC_CRYPTO is present.
13121
9cee5585
L
131222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13123
d7e0dab9
L
13124 [BZ #14602]
13125 * string/test-strstr.c (check2): New function.
13126 (test_main): Call check2.
13127
03759f47
L
13128 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13129 and bug-strchr1.
13130 * string/bug-strcasestr1.c (do_test): Moved to ...
13131 * string/test-strcasestr.c (check1): Here. New function.
13132 (do_one_test): Break out result checking code into ...
13133 (check_result): This. New function.
13134 (do_one_test): Call check_result.
13135 (test_main): Call check1.
13136 * string/bug-strchr1.c (do_test): Moved to ...
13137 * string/test-strchr.c (check1): Here. New function.
13138 (do_one_test): Break out result checking code into ...
13139 (check_result): This. New function.
13140 (do_one_test): Call check_result.
13141 (test_main): Call check1.
13142 * string/bug-strstr1.c (main): Moved to ...
046f153e 13143 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13144 (do_one_test): Break out result checking code into ...
13145 (check_result): This. New function.
13146 (do_one_test): Call check_result.
13147 (test_main): Call check1.
13148 * string/bug-strcasestr1.c: Removed.
13149 * string/bug-strchr1.c: Likewise.
13150 * string/bug-strstr1.c: Likewise.
13151
53cea63e
L
13152 * elf/Makefile (dl-routines): Add hwcaps.
13153 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13154 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13155 (_dl_important_hwcaps): Moved to ...
13156 * elf/dl-hwcaps.c: Here. New file.
13157 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13158
9cee5585 13159 [BZ #14557]
bb859b06
L
13160 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13161 if IS_IN_rtld isn't defined.
13162
9cee5585
L
13163 * elf/dl-support.c (_dl_sysinfo_map): New.
13164 Include "get-dynamic-info.h" and "setup-vdso.h".
13165 (_dl_non_dynamic_init): Call setup_vdso.
13166 * elf/dynamic-link.h: Don't include <assert.h>.
13167 (elf_get_dynamic_info): Moved to ...
13168 * elf/get-dynamic-info.h: Here. New file.
13169 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13170 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13171 * elf/setup-vdso.h: Here. New file.
13172 * elf/rtld.c: Include "setup-vdso.h".
13173 (dl_main): Call setup_vdso.
13174
23c31b76
JM
131752012-10-05 Joseph Myers <joseph@codesourcery.com>
13176
28234b07
JM
13177 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13178 creal in comment listing functions tested. List finite, isinf,
13179 isnan, isless, islessequal, isgreater, isgreaterequal,
13180 islessgreater, isunordered, lgamma_r and pow10 as functions and
13181 macros not tested. Mention which functions not tested are aliases
13182 for other functions. Fix typo. Note that signs of NaNs are not
13183 tested.
13184
23c31b76
JM
13185 * scripts/config.guess: Update from config.git.
13186 * scripts/config.sub: Likewise.
13187
9043e228
RM
131882012-10-04 Roland McGrath <roland@hack.frob.com>
13189
13190 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13191 * misc/madvise.c (madvise): Renamed to __madvise.
13192 Make madvise a weak alias.
13193 * include/sys/mman.h: Declare __madvise.
13194 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13195 * sysdeps/unix/syscalls.list
13196 (madvise): Make __madvise the strong name, and madvise a weak alias.
13197 * sysdeps/unix/sysv/linux/syscalls.list
13198 (madvise, mmap): Remove redundant entries.
13199 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13200 * malloc/malloc.c (mtrim): Likewise.
13201 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13202
f57f8055
RM
132032012-10-03 Roland McGrath <roland@hack.frob.com>
13204
13205 * sysdeps/mach/hurd/dl-cache.c: File removed.
13206 * config.h.in (USE_LDCONFIG): New #undef.
13207 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13208 * configure: Regenerated.
13209 * elf/Makefile (dl-routines): Add dl-cache only under
13210 [$(use-ldconfig) = yes].
13211 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13212 cache on [USE_LDCONFIG].
13213 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13214 [USE_LDCONFIG].
13215 * elf/rtld.c (dl_main): Likewise.
13216
5bb0c10a
PT
132172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13218
13219 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13220 _SC_LEVEL4_CACHE_LINESIZE.
13221
010188c6
RM
132222012-10-03 Roland McGrath <roland@hack.frob.com>
13223
13224 * sysdeps/unix/bsd/confstr.h: File removed.
13225
b6c5ec07
AO
132262012-10-02 Alexandre Oliva <aoliva@redhat.com>
13227
13228 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13229 sys/sdt-config.h.
13230
408223d4
RM
132312012-10-02 Roland McGrath <roland@hack.frob.com>
13232
13233 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13234 Make 'mapoff' field ElfW(Off) rather than off_t.
13235
bb9510dc
DL
132362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13237
fc997c6e
DL
13238 * nscd/Makefile: Remove nscd-cflags and all its users.
13239 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13240 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13241
bb9510dc
DL
13242 [BZ #10631]
13243 * malloc.c (malloc_printerr): Clarify error message.
13244
05699367
L
132452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13246
13247 [BZ #14648]
13248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13249 Set bit_FMA_Usable if FMA is supported.
13250 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13251 macro.
13252 (bit_FMA4_Usable): Updated.
13253 (index_FMA_Usable): New macro.
13254 (CPUID_FMA): Likewise
13255 (HAS_FMA): Defined with bit_FMA_Usable.
13256
51367701
RM
132572012-10-01 Roland McGrath <roland@hack.frob.com>
13258
13259 * bits/types.h (__swblk_t): Type removed.
13260 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13261 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13262 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13263 (__SWBLK_T_TYPE): Likewise.
13264 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13265 (__SWBLK_T_TYPE): Likewise.
13266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13267 (__SWBLK_T_TYPE): Likewise.
13268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13269 (__SWBLK_T_TYPE): Likewise.
13270
4d57bf63 132712012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13272 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13273
13274 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13275 (xdr_mapname): Use YPMAXMAP as maxsize.
13276 (xdr_peername): Use YPMAXPEER as maxsize.
13277 (xdr_keydat): Use YPAXRECORD as maxsize.
13278 (xdr_valdat): Use YPMAXRECORD as maxsize.
13279
93c65d43
RM
132802012-10-01 Roland McGrath <roland@hack.frob.com>
13281
497a03d6
RM
13282 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13283
93c65d43
RM
13284 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13285 * csu/init-first.c: ... here.
13286 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13287 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13288 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13290 * sysdeps/i386/init-first.c: File removed.
13291 * sysdeps/sh/init-first.c: File removed.
13292
bec749fd
JM
132932012-10-01 Joseph Myers <joseph@codesourcery.com>
13294
13295 [BZ #14645]
13296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13297 if x * y might underflow to zero and z is zero.
13298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13299 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13300 * math/libm-test.inc (min_subnorm_value): New variable.
13301 (fma_test): Add more tests.
13302 (fma_test_towardzero): Likewise.
13303 (fma_test_downward): Likewise
13304 (fma_test_upward): Likewise.
13305 (initialize): Set min_subnorm_value.
13306
8ec5b013
JM
133072012-09-29 Joseph Myers <joseph@codesourcery.com>
13308
13309 [BZ #14638]
13310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13311 0 + 0.
13312 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13313 mode for addition resulting in exact zero.
13314 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13315 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13316 exact 0 + 0.
13317 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13318 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13319 * math/libm-test.inc (fma_test): Add more tests.
13320 (fma_test_towardzero): New function.
13321 (fma_test_downward): Likewise.
13322 (fma_test_upward): Likewise.
13323 (main): Call the new functions.
13324
b1fa802e
DM
133252012-09-28 David S. Miller <davem@davemloft.net>
13326
13327 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13328
d3b9fd9e
RM
133292012-09-28 Roland McGrath <roland@hack.frob.com>
13330
ea4d37b3
RM
13331 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13332 instead of SIGALRM.
13333
ac51c949
RM
13334 * sysdeps/gnu/_G_config.h: Moved to ...
13335 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13336 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13337 * sysdeps/generic/_G_config.h: ... here.
13338
28c195f7
RM
13339 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13340
848917f9
RM
13341 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13342
6bacf05b
RM
13343 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13344 Conditionalize target on [libnss_test1.so-version].
13345
91363dbb
RM
13346 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13347
cc87f7d8
RM
13348 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13349 (elfobjdir): Move out of conditionals.
13350
b1c608fe
RM
13351 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13352 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13353 (__nss_lookup_function): Conditionalize label remove_from_tree on
13354 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13355
1d9a6d96
DM
133562012-09-28 David S. Miller <davem@davemloft.net>
13357
13358 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13360 file.
13361 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13362 sysdep_routines.
13363 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13365 when HWCAP_SPARC_CRYPTO is present.
13366
72581615
PT
133672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13368
13369 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13370
715a900c
JL
133712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13372
13373 [BZ #6530]
13374 * stdio-common/vfprintf.c (process_string_arg): Revert
13375 2000-07-22 change.
13376
133772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13378
13379 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13380 for testcase.
13381 * stdio-common/tst-sprintf.c: Include <locale.h>
13382 (main): Test sprintf's handling of incomplete multibyte
13383 characters.
13384
9bac1d86
L
133852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13386
13387 * elf/dl-runtime.c (VERSYMIDX): Removed.
13388 * elf/dl-version.c (VERSYMIDX): Likewise.
13389 * elf/do-rel.h (VERSYMIDX): Likewise.
13390 (VALIDX): Likewise.
13391 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13392 * elf/rtld.c (VALIDX): Likewise.
13393 (ADDRIDX): Likewise.
9bac1d86
L
13394 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13395 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13396 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13397 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13398 (VALIDX): Likewise.
13399 (ADDRIDX): Likewise.
9bac1d86 13400
b31606c0
PT
134012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13402
13403 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13404
11541177
JL
134052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13406
13407 [BZ #11438]
13408 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13409 to global scope.
13410 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13411 addresses are in the same scope as 192.0.2/24.
13412 * posix/gai.conf: Document new scope table defaults.
13413
adb26fae
SP
134142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13415
13416 [BZ #5298]
13417 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13418 for ftell. Compute offsets from write pointers instead.
13419 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13420
4573c6b0
SP
134212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13422
13423 [BZ #14543]
13424 * libio/Makefile (tests): New test case tst-fseek.
13425 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13426 combination works in wide mode.
13427 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13428 state when the external buffer state changes.
13429
aa9bbfe6
DM
134302012-09-27 David S. Miller <davem@davemloft.net>
13431
13432 [BZ #14376]
13433 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13434 pass reloc->r_addend in as the 'high' argument to
13435 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13436
784421e7
DM
13437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13438
c39bc8b8
PT
134392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13440
13441 * rt/tst-aio2.c: Include <pthread.h>.
13442 * rt/tst-aio3.c: Likewise.
13443
1ccc2399
SE
134442012-09-27 Steve Ellcey <sellcey@mips.com>
13445
13446 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13447
31ed4153
L
134482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13449
25f5f885
L
13450 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13451 contents on [SHARED].
31ed4153 13452
b7bfe116
MP
134532012-09-26 Marek Polacek <polacek@redhat.com>
13454
13455 [BZ #14530]
13456 [BZ #13741]
13457 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13458 for C++ and GCC <4.3 as well as for non GCC compilers.
13459
43c4edba
MT
134602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13461
13462 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13463
6a1bf82f
RM
134642012-09-25 Roland McGrath <roland@hack.frob.com>
13465
13466 * Makefile.in (all, install): Declare with .PHONY.
13467 Reported by Michael Hope <michael.hope@linaro.org>.
13468
8ad11b9a
TMQMF
134692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13470
13471 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13472 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13473 system header.
13474 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13475 Likewise.
13476 (sydep_routines): Add the new and the internal functions.
13477 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13478 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13480 (GLIBC_2.17): Add the new function.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13482 (GLIBC_2.17): Likewise.
13483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13484 (GLIBC_2.17): Likewise.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13486 (GLIBC_2.17): Likewise.
13487 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13488
7e2fca8d
AM
134892012-09-25 Alan Modra <amodra@gmail.com>
13490
13491 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13492 Add release barrier before setting once_control to say
13493 initialisation is done. Add hints on lwarx. Use macro in
13494 place of isync.
13495 (clear_once_control): Add release barrier.
13496
b87c4b24
JM
134972012-09-25 Joseph Myers <joseph@codesourcery.com>
13498
d032e0d2
JM
13499 [BZ #13629]
13500 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13501 specially.
13502 * math/s_clog10.c (__clog10): Likewise.
13503 * math/s_clog10f.c (__clog10f): Likewise.
13504 * math/s_clog10l.c (__clog10l): Likewise.
13505 * math/s_clogf.c (__clogf): Likewise.
13506 * math/s_clogl.c (__clogl): Likewise.
13507 * math/Makefile (libm-calls): Add x2y2m1.
13508 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13509 (__x2y2m1): Likewise.
13510 (__x2y2m1l): Likewise.
13511 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13512 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13515 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13516 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13517 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13518 * sysdeps/i386/fpu/libm-test-ulps: Update.
13519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13520
b87c4b24
JM
13521 [BZ #14621]
13522 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13523 int as type of variable DEPTH.
13524 (glob): Use size_t instead of int as type of variables NEWCOUNT
13525 and OLD_PATHC.
13526
6d3bf199
LD
135272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13528
22bf5c17
LD
13529 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13530 Add s_sincosf-sse2.
13531 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13532 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13533 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13534 macros for using routine as __sincosf_ia32.
13535 Use macro for function declaration and weak_alias.
13536 * sysdeps/i386/fpu/libm-test-ulps: Update.
13537
13538 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13540
13541 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
13542 subnormal argument.
13543 * math/s_cexpf.c (__cexpf): Likewise.
13544 * math/s_csinf.c (__csinf): Likewise.
13545 * math/s_csinhf.c (__csinhf): Likewise.
13546 * math/s_ctanf.c (__ctanf): Likewise.
13547 * math/s_ctanhf.c (__ctanhf): Likewise.
13548 * math/s_ccosh.c (__ccoshf): Likewise.
13549 * math/s_cexp.c (__cexpl): Likewise.
13550 * math/s_csin.c (__csin): Likewise.
13551 * math/s_csinh.c (__csinh): Likewise.
13552 * math/s_ctan.c (__ctan): Likewise.
13553 * math/s_ctanh.c (ctanh): Likewise.
13554 * math/s_ccoshl.c (__ccoshl): Likewise.
13555 * math/s_cexpl.c (__cexpl): Likewise.
13556 * math/s_csinl.c (__csinl): Likewise.
13557 * math/s_csinhl.c (__csinhl): Likewise.
13558 * math/s_ctanl.c (__ctanl): Likewise.
13559 * math/s_ctanhl.c (__ctanhl): Likewise.
13560
203e5603
JM
135612012-09-25 Joseph Myers <joseph@codesourcery.com>
13562
13563 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13564 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13565 (_IO_off_t): Define to __off_t, not _G_off_t.
13566 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13567 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13568 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13569 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13570 type of __dummy and __dummy2 fields.
13571 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13572 (_G_ssize_t): Likewise.
13573 (_G_off_t): Likewise.
13574 (_G_pid_t): Likewise.
13575 (_G_uid_t): Likewise.
13576 (_G_wchar_t): Likewise.
13577 (_G_wint_t): Likewise.
13578 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13579 (_G_ssize_t): Likewise.
13580 (_G_off_t): Likewise.
13581 (_G_pid_t): Likewise.
13582 (_G_uid_t): Likewise.
13583 (_G_wchar_t): Likewise.
13584 (_G_wint_t): Likewise.
13585 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13586 (_G_ssize_t): Likewise.
13587 (_G_off_t): Likewise.
13588 (_G_pid_t): Likewise.
13589 (_G_uid_t): Likewise.
13590 (_G_wchar_t): Likewise.
13591 (_G_wint_t): Likewise.
13592
9fab36eb
SP
135932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13594
13595 * malloc/arena.c: Include malloc-sysdep.h.
13596 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13597 is sufficient to shrink the heap or an unmap is needed.
13598 * sysdeps/generic/malloc-sysdep.h: New file. Define
13599 new function check_may_shrink_heap.
13600 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13601 new function check_may_shrink_heap.
13602
2b4f00d1
SP
136032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13604
13605 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13606 comments.
13607
9a9028b1
DL
136082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13609
57c69bef
DL
13610 * catgets/test-gencat.sh: Add "set -e".
13611 * elf/tst-pathopt.sh: Likewise.
13612 * grp/tst_fgetgrent.sh: Likewise.
13613 * iconvdata/run-iconv-test.sh: Likewise.
13614 * intl/tst-gettext.sh: Likewise.
13615 * intl/tst-gettext2.sh: Likewise.
13616 * intl/tst-gettext4.sh: Likewise.
13617 * intl/tst-gettext6.sh: Likewise.
13618 * intl/tst-translit.sh: Likewise.
13619 * io/ftwtest-sh: Likewise.
13620 * libio/test-freopen.sh: Likewise.
13621 * malloc/tst-mtrace.sh: Likewise.
13622 * posix/globtest.sh: Likewise.
13623 * posix/tst-getconf.sh: Likewise.
13624 * posix/wordexp-tst.sh: Likewise.
13625 * stdio-common/tst-printf.sh: Likewise.
13626 * stdio-common/tst-unbputc.sh: Likewise.
13627 * stdlib/tst-fmtmsg.sh: Likewise.
13628 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13629 * catgets/Makefile: Do not specify -e option when running
13630 testsuite shell scripts.
13631 * elf/Makefile: Likewise.
13632 * grp/Makefile: Likewise.
13633 * iconvdata/Makefile: Likewise.
13634 * intl/Makefile: Likewise.
13635 * io/Makefile: Likewise.
13636 * libio/Makefile: Likewise.
13637 * malloc/Makefile: Likewise.
13638 * posix/Makefile: Likewise.
13639 * stdio-common/Makefile: Likewise.
13640 * stdlib/Makefile: Likewise.
13641 * sysdeps/x86_64/Makefile: Likewise.
13642
9a9028b1
DL
13643 * io/ftwtest-sh: Add copyright header.
13644 * posix/globtest.sh: Likewise.
13645 * posix/tst-getconf.sh: Likewise.
13646 * posix/wordexp-tst.sh: Likewise.
13647 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13648
ced6f16e
L
136492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13650
94b32c39
L
13651 [BZ #13679]
13652 * Makeconfig (+link): Defined as $(+link-static) if
13653 $(build-shared) isn't yes.
13654 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13655 isn't yes.
13656 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13657
189e935b
L
13658 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13659
ced6f16e
L
13660 [BZ #14562]
13661 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13662 new chunk size with MALLOC_ALIGN_MASK.
13663
a9f8e53a
JM
136642012-09-24 Joseph Myers <joseph@codesourcery.com>
13665
13666 [BZ #5044]
13667 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13668 <rounding-mode.h>.
13669 (__printf_fphex): Determine rounding using get_rounding_mode and
13670 round_away.
13671 * stdio-common/tst-printf-round.c (struct hex_test): New
13672 structure.
13673 (hex_tests): New variable.
13674 (test_hex_in_one_mode): New function.
13675 (do_test): Also run tests for hex float output.
13676
43153109
JM
136772012-09-21 Joseph Myers <joseph@codesourcery.com>
13678
13679 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13680 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13681 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13682 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13683 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13684 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13685 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13686 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13687
8a26625d
JM
136882012-09-20 Joseph Myers <joseph@codesourcery.com>
13689
13690 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13691 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13692 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13693 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13694
f3fd569c
DL
136952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13696
13697 [BZ #14579]
13698 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13699 mode only.
13700 * elf/tst-rtld-load-self.sh: New test.
13701 * elf/Makefile: Run it.
13702
63bbedd4
JM
137032012-09-18 Joseph Myers <joseph@codesourcery.com>
13704
13705 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13706 (tst-writev-ENV): Remove.
13707 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13708
626f8b6a
CM
137092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13710
13711 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13712
b7aaa4d6
JM
137132012-09-17 Joseph Myers <joseph@codesourcery.com>
13714
13715 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13716 unconditional.
13717 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13718 Likewise.
13719 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13720 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13721 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13722 Likewise.
13723
65513990
L
137242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13725
13726 [BZ #14587]
13727 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13728 * config.make.in (have-cpp-asm-debuginfo): Removed.
13729 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13730 * configure: Regenerated.
13731
784761be
JM
137322012-09-14 Joseph Myers <joseph@codesourcery.com>
13733
13734 [BZ #5044]
13735 * stdio-common/printf_fp.c: Include <stdbool.h> and
13736 <rounding-mode.h>.
13737 (___printf_fp): Determine rounding using get_rounding_mode and
13738 round_away.
13739 * stdio-common/tst-printf-round.c: New file.
13740 * stdio-common/Makefile (tests): Add tst-printf-round.
13741 (link-libm): New variable.
13742 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13743
9503345f
L
137442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13745
13746 [BZ #14576]
13747 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13748 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13749 Likewise.
13750 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13751 Likewise.
13752
ad35fc00
JM
137532012-09-13 Joseph Myers <joseph@codesourcery.com>
13754
13755 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13756 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13757 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13758 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13759
6c9b0f68
JM
137602012-09-12 Joseph Myers <joseph@codesourcery.com>
13761
13762 [BZ #14518]
13763 * include/rounding-mode.h: New file.
13764 * sysdeps/generic/get-rounding-mode.h: Likewise.
13765 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13766 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13767 (MAX_VALUE): New macro.
13768 (MIN_VALUE): Likewise.
13769 (overflow_value): New function.
13770 (underflow_value): Likewise.
13771 (round_and_return): Use overflow_value and underflow_value to
13772 determine return values in overflow and underflow cases. Use
13773 round_away to determine rounding depending on rounding mode.
13774 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13775 determine return values in overflow and underflow cases.
13776 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13777 (struct test_results): New structure.
13778 (struct test): Use struct test_results to store expected results
13779 for all rounding modes.
13780 (TEST): Include expected results for all rounding modes.
13781 (test_in_one_mode): New function.
13782 (do_test): Use test_in_one_mode to compute and check results.
13783 Check results for all rounding modes.
13784 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13785 $(link-libm).
13786
19fcedd5
AM
137872012-12-09 Allan McRae <allan@archlinux.org>
13788
1e9d84cd 13789 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 13790
8bbfd2f1
JM
137912012-09-11 Joseph Myers <joseph@codesourcery.com>
13792
13793 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13794 (_G_int32_t): Likewise.
13795 (_G_uint16_t): Likewise.
13796 (_G_uint32_t): Likewise.
13797 (_G_HAVE_BOOL): Likewise.
13798 (_G_HAVE_ATEXIT): Likewise.
13799 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13800 (_G_HAVE_IO_FILE_OPEN): Likewise.
13801 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13802 (_G_int32_t): Likewise.
13803 (_G_uint16_t): Likewise.
13804 (_G_uint32_t): Likewise.
13805 (_G_HAVE_BOOL): Likewise.
13806 (_G_HAVE_ATEXIT): Likewise.
13807 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13808 (_G_HAVE_IO_FILE_OPEN): Likewise.
13809 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13810 (_G_int32_t): Likewise.
13811 (_G_uint16_t): Likewise.
13812 (_G_uint32_t): Likewise.
13813 (_G_HAVE_BOOL): Likewise.
13814 (_G_HAVE_ATEXIT): Likewise.
13815 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13816 (_G_HAVE_IO_FILE_OPEN): Likewise.
13817
b1dc5912
L
138182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13819
13820 * csu/libc-tls.c: Update copyright years.
13821
0e886ef9
JM
138222012-09-10 Joseph Myers <joseph@codesourcery.com>
13823
28361c5e
JM
13824 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13825 [!_G_USING_THUNKS]: Remove conditional code.
13826 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13827 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13828
0e886ef9
JM
13829 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13830 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13831 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13832 (_G_VTABLE_LABEL_PREFIX): Likewise.
13833 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13834 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13835 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13836 (_G_VTABLE_LABEL_PREFIX): Likewise.
13837 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13838 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13839 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13840 (_G_VTABLE_LABEL_PREFIX): Likewise.
13841 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13842
bcba7aa2
L
138432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13844
13845 * libio/Makefile: Include ../Makeconfig before tests.
13846 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13847 only if $(build-shared) is yes.
13848
06585ee8
L
13849 * iconv/gconv_db.c: Update copyright years.
13850
80ccd52c
LD
138512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13852
13853 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13854 unwind info if defined PIC. Fix special cases description.
13855 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13856
13857 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13858 DP_HI_MASK entry.
13859 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13860
691bc9c1
L
138612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13862
3d9b46b3
L
13863 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13864
de2139a9
L
13865 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13866 is NULL.
13867
5ca78dd0
L
13868 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13869 (LDLIBS-tst-chk4): This.
13870 (LDFLAGS-tst-chk5): Renamed to ...
13871 (LDLIBS-tst-chk5): This.
13872 (LDFLAGS-tst-chk6): Renamed to ...
13873 (LDLIBS-tst-chk6): This.
13874 (LDFLAGS-tst-lfschk4): Renamed to ...
13875 (LDLIBS-tst-lfschk4): This.
13876 (LDFLAGS-tst-lfschk5): Renamed to ...
13877 (LDLIBS-tst-lfschk5): This.
13878 (LDFLAGS-tst-lfschk6): Renamed to ...
13879 (LDLIBS-tst-lfschk6): This.
13880
691bc9c1
L
13881 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13882 on $(common-objpfx)soversions.mk.
13883
65cafb1c
JM
138842012-09-07 Joseph Myers <joseph@codesourcery.com>
13885
13886 [BZ #10014]
13887 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13888 example host name.
13889
c78ab094
SP
138902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13891
13892 * malloc/arena.c (arena_get_retry): New function that gets
13893 another arena for the caller to try its request on.
13894 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13895 current arena cannot fulfill the request.
13896 (__libc_memalign): Likewise.
13897 (__libc_memalign): Likewise.
13898 (__libc_pvalloc): Likewise.
13899 (__libc_calloc): Likewise.
13900
01f49f59
JT
139012012-09-05 John Tobey <john.tobey@gmail.com>
13902
13903 [BZ #13542]
13904 * manual/arith.texi (Operations on Complex): Fix description
13905 of carg branch cut.
13906
4c23fed5
JM
139072012-09-06 Joseph Myers <joseph@codesourcery.com>
13908
1d3c8572
JM
13909 [BZ #10014]
13910 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13911 host name.
13912
4c23fed5
JM
13913 [BZ #10038]
13914 * manual/memory.texi (Memory): Make order of menu items match
13915 order of sections.
13916
04570aaa
L
139172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13918
13919 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13920 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13921 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13922
b80af2f4
L
139232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13924
13925 * csu/libc-tls.c (static_dtv): Renamed to ...
13926 (_dl_static_dtv): This. Make it global.
13927 (_dl_initial_dtv): Removed.
13928 (__libc_setup_tls): Updated.
13929 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13930 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13931 DL_INITIAL_DTV.
13932
2abe9f15
PM
139332012-09-06 Petr Machata <pmachata@redhat.com>
13934
13935 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13936 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13937 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13938 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13939
0948c3af
L
139402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13941
13942 [BZ #14545]
13943 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13944 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13945 freeing dtv[-1].
13946
a5055ad1
L
139472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 [BZ #14544]
13950 * Makeconfig (link-static-before-libc): Replace $(+prector)
13951 with $(+prectorT).
13952 (link-static-after-libc): Replace $(+postctor) with
13953 $(+postctorT).
13954 (link-bounded): Replace $(+prector)/$(+postctor) with
13955 $(+prectorT)/$(+postctorT).
13956 (+prectorT): New macro.
13957 (+postctorT): Likewise.
13958
ed8c2ecd
JM
139592012-09-06 Joseph Myers <joseph@codesourcery.com>
13960
13961 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13962 (round_str): Handle values above the maximum for IBM long double
13963 as inexact.
13964 * stdlib/tst-strtod-round.c (tests): Regenerated.
13965
14c996c8
AK
139662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13967
13968 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13969 assembler flag.
13970 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13971 zarch_nohighgprs around the zarch optimized routines.
13972 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13973 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13974 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13975 for zarch.
13976
430d6ce6
DM
139772012-09-05 David S. Miller <davem@davemloft.net>
13978
13979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13980
ff04dda4
DM
13981 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13982 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13983 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13984 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13985 entries.
13986
24d4e01b
AO
139872012-09-05 Alexandre Oliva <aoliva@redhat.com>
13988
13989 * malloc/arena.c: Fold copyright years.
13990 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13991
61d58174
AO
139922012-09-05 Alexandre Oliva <aoliva@redhat.com>
13993
13994 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13995
20196a5e
AO
139962012-09-05 Alexandre Oliva <aoliva@redhat.com>
13997
13998 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13999
5c447383
AO
140002012-09-05 Alexandre Oliva <aoliva@redhat.com>
14001
14002 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14003 change internal state upon failure.
14004
fad64255
AO
140052012-09-05 Alexandre Oliva <aoliva@redhat.com>
14006
14007 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14008 * malloc/memusage.c (mmap): Likewise.
14009 (mmap64, mremap): Likewise. Adjust name in comment.
14010
1ffb8c90
SP
140112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14012
14013 * libio/fileops.c: Fix typos in comments.
14014 * libio/oldfileops.c: Likewise.
14015 * libio/wfileops.c: Likewise.
14016
6ef9cc37
SP
140172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14018
14019 [BZ #1349]
14020 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14021 (tst-malloc-usable-ENV): Set environment for test case.
14022 * malloc/hooks.c (malloc_check_get_size): New function to get
14023 requested size.
14024 * malloc/malloc.c (musable): Use malloc_check_get_size.
14025 * malloc/tst-malloc-usable.c: New test case.
14026
4d038ae3
AS
140272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14028
14029 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14030
c4e85184
AM
140312012-09-05 Allan McRae <allan@archlinux.org>
14032
b9dafc56 14033 [BZ #13966]
c4e85184
AM
14034 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14035 determine header location.
14036 * configure: Regenerated.
14037
e1343020
AS
140382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14039
14040 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14041 float format.
14042 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14043 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14044 format.
e1343020
AS
14045 (test): Regenerate.
14046
0a9f1987
DM
140472012-09-04 David S. Miller <davem@davemloft.net>
14048
14049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14051 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14052
29237804
FW
140532012-09-04 Florian Weimer <fweimer@redhat.com>
14054
14055 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14056 failures.
14057
edb3cb88
FW
14058 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14059
60160d83
JM
140602012-09-04 Joseph Myers <joseph@codesourcery.com>
14061
14062 [BZ #9914]
14063 * libio/iogetdelim.c: Include <limits.h>.
14064 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14065 + len + 1 would overflow.
14066
bcd6c8dc
AJ
140672012-09-03 Andreas Jaeger <aj@suse.de>
14068
14069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14070 * sysdeps/i386/fpu/libm-test-ulps: Update.
14071
4ffffbd2
LD
140722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14073
14074 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14075 Add s_sinf-sse2, s_conf-sse2.
14076
14077 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14078 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14079 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14080 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14081
14082 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14083 for using routine as __sinf_ia32.
14084 Use macro for function declaration and weak_alias.
14085 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14086 for using routine as __cosf_ia32.
14087 Use macro for function declaration and weak_alias.
14088
14089 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14090 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14091
14092 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14093 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14095
14096 * math/libm-test.inc (cos_test): Add more test cases.
14097 (sin_test): Likewise.
14098 (sincos_test): Likewise.
14099
511fa286
AK
141002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14101
14102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14103 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14104 hidden.
14105 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14106
5f30cfec
L
141072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14108
14109 [BZ #14538]
14110 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14111 first element of the GOT.
14112 (elf_machine_load_address): Return the difference between
14113 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14114
0786794f
AM
141152012-09-01 Allan McRae <allan@archlinux.org>
14116
5f30cfec
L
14117 [BZ #13412]
14118 * configure.in (AWK): Require gawk version 3.0 or later.
14119 * configure: Regenerated.
0786794f 14120
26889eac
JM
141212012-09-01 Joseph Myers <joseph@codesourcery.com>
14122
14123 * sysdeps/unix/sysv/linux/kernel-features.h
14124 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14125 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14126 [__NR_clock_getres]: Make code unconditional.
14127 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14128 (clock_getcpuclockid): Remove code left unreachable by removal of
14129 conditionals.
14130 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14131 code unconditional.
14132 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14133 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14134 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14135 Make code unconditional.
14136 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14137 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14138 * sysdeps/unix/sysv/linux/clock_settime.c
14139 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14140 conditional code.
14141 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14142 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14143
d22e28b0
L
141442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14145
14146 [BZ #14476]
14147 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14148 scripts/test-installation.pl.
14149
14150 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14151 and $ld_so_version if it is set.
14152
050af9c4
SP
141532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14154
14155 [BZ #14516]
14156 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14157 failure if reading from procfs failed.
14158 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14159
ad845c0b
JM
141602012-08-27 Joseph Myers <joseph@codesourcery.com>
14161
14162 * sysdeps/unix/sysv/linux/kernel-features.h
14163 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14164 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14165 Remove conditional code.
14166 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14167 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14168 Remove conditional code.
14169 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14170 * sysdeps/unix/sysv/linux/i386/fxstat.c
14171 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14172 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14173 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14174 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14175 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14176 * sysdeps/unix/sysv/linux/i386/lxstat.c
14177 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14179 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14180 Remove conditional code.
14181 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14182 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14183 Remove conditional code.
14184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14185 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14186 <kernel-features.h>.
14187 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14188 Remove.
14189 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14190 Remove conditional code.
14191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14192 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14193 Remove conditional.
14194
5dbf56af
MF
141952012-08-27 Mike Frysinger <vapier@gentoo.org>
14196
14197 [BZ #5400]
14198 * NEWS: Add fixed bug number.
14199
d6e70f43
JM
142002012-08-27 Joseph Myers <joseph@codesourcery.com>
14201
7efb4737
JM
14202 [BZ #14519]
14203 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14204 underflowing exponent in case of negative sign.
14205 * stdlib/tst-strtod-round-data: Add more tests.
14206 * stdlib/tst-strtod-round.c (tests): Regenerated.
14207
af92131a
JM
14208 [BZ #3479]
14209 * stdlib/strtod_l.c (NDIG): Remove.
14210 (HEXNDIG): Likewise.
14211 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14212 smallest representable value.
14213 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14214 lie within an exact representation of 1/2 ulp of the result.
14215 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14216 unconditionally.
14217 (TENS_P9_IDX): Define unconditionally.
14218 (TENS_P9_SIZE): Likewise.
14219 (TENS_P10_IDX): Likewise.
14220 (TENS_P10_SIZE): Likewise.
14221 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14222 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14223 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14224 entries for 10^2^13 and 10^2^14.
14225 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14226 (TENS_P13_IDX): Define.
14227 (TENS_P13_SIZE): Likewise.
14228 (TENS_P14_IDX): Likewise.
14229 (TENS_P14_SIZE): Likewise.
14230 (_fpioconst_pow10): Change array size to
14231 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14232 unconditional.
14233 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14234 1024]: Add entries for 10^2^13 and 10^2^14.
14235 [LAST_POW10 > _LAST_POW10]: Remove #error.
14236 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14237 (_fpioconst_pow10): Change array size to
14238 FPIOCONST_POW10_ARRAY_SIZE.
14239 * stdlib/gen-fpioconst.c: New file.
14240 * stdlib/gen-tst-strtod-round.c: Likewise.
14241 * stdlib/tst-strtod-round-data: Likewise.
14242 * stdlib/tst-strtod-round.c: Likewise.
14243 * stdlib/Makefile (tests): Add tst-strtod-round.
14244
d6e70f43
JM
14245 [BZ #14459]
14246 * stdlib/strtod_l.c: Include <stdint.h>.
14247 (NDEBUG): Do not define.
14248 (round_and_return): Change EXPONENT parameter to type intmax_t.
14249 Rearrange calculations to avoid internal overflow possibilities.
14250 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14251 Rearrange calculations to avoid internal overflow possibilities.
14252 Assert that number fits inside MPNSIZE limbs.
14253 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14254 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14255 calculations and add assertions to avoid internal overflow
14256 possibilities. Add casts to avoid signed/unsigned operations.
14257 * stdlib/tst-strtod-overflow.c: New file.
14258 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14259
1f529f7d
MP
142602012-08-25 Marek Polacek <polacek@redhat.com>
14261
14262 * time/time.h: Fix some typos in comments.
14263
59a629f1
RM
142642012-08-23 Roland McGrath <roland@hack.frob.com>
14265
14266 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14267 * posix/tst-rfc3484-2.c: Likewise.
14268 * posix/tst-rfc3484-3.c: Likewise.
14269
d3bafbc9
SM
142702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14271
14272 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14273 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14274
4efcc022
JM
142752012-08-23 Joseph Myers <joseph@codesourcery.com>
14276
14277 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14278 #include of fxstatat64.c.
14279
3cc3ef96
RM
142802012-08-22 Roland McGrath <roland@hack.frob.com>
14281
f04e2132
RM
14282 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14283 * shadow/getspent_r.c: Likewise.
14284 * shadow/getspnam.c: Likewise.
14285 * shadow/getspnam_r.c: Likewise.
14286 * gshadow/getsgent.c: Likewise.
14287 * gshadow/getsgent_r.c: Likewise.
14288 * gshadow/getsgnam.c: Likewise.
14289 * gshadow/getsgnam_r.c: Likewise.
14290 * inet/getnetbyad.c: Likewise.
14291 * inet/getnetbyad_r.c: Likewise.
14292 * inet/getnetbynm.c: Likewise.
14293 * inet/getnetbynm_r.c: Likewise.
14294 * inet/getnetent.c: Likewise.
14295 * inet/getnetent_r.c: Likewise.
14296 * inet/getproto.c: Likewise.
14297 * inet/getproto_r.c: Likewise.
14298 * inet/getprtent.c: Likewise.
14299 * inet/getprtent_r.c: Likewise.
14300 * inet/getprtname.c: Likewise.
14301 * inet/getprtname_r.c: Likewise.
14302 * inet/getrpcbyname.c: Likewise.
14303 * inet/getrpcbyname_r.c: Likewise.
14304 * inet/getrpcbynumber.c: Likewise.
14305 * inet/getrpcbynumber_r.c: Likewise.
14306 * inet/getrpcent.c: Likewise.
14307 * inet/getrpcent_r.c: Likewise.
14308 * inet/getaliasent.c: Likewise.
14309 * inet/getaliasent_r.c: Likewise.
14310 * inet/getaliasname.c: Likewise.
14311 * inet/getaliasname_r.c: Likewise.
14312 * nscd/getgrgid_r.c: Likewise.
14313 * nscd/getgrnam_r.c: Likewise.
14314 * nscd/gethstbyad_r.c: Likewise.
14315 * nscd/gethstbynm3_r.c: Likewise.
14316 * nscd/getpwnam_r.c: Likewise.
14317 * nscd/getpwuid_r.c: Likewise.
14318 * nscd/getsrvbynm_r.c: Likewise.
14319 * nscd/getsrvbypt_r.c: Likewise.
14320 * nscd/gai.c: Likewise.
14321
c53d909c
RM
14322 * configure.in (build_nscd): New substituted variable, set
14323 by --disable-build-nscd and defaults to $use_nscd.
14324 * configure: Regenerated.
14325 * config.make.in (build-nscd): New substituted variable.
14326 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14327 Change conditional to require [$(build-nscd) = yes] as well.
14328 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14329
3cc3ef96
RM
14330 [BZ# 13696]
14331 * configure.in (use_nscd): New substituted variable, set by
14332 --disable-nscd. If enabled, define USE_NSCD.
14333 * configure: Regenerated.
14334 * config.h.in: Add USE_NSCD.
14335 * config.make.in (use-nscd): New substituted variable.
14336 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14337 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14338 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14339 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14340 (CFLAGS-getgrnam_r.c): Likewise.
14341 (CFLAGS-initgroups.c): Likewise.
14342 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14343 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14344 Variables removed.
14345 * inet/getnetgrent_r.c
14346 (nscd_setnetgrent): New function, broken out of ...
14347 (setnetgrent): ... here. Call it.
14348 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14349 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14350 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14351 * nscd/Makefile (routines, aux): Move definitions after include of
14352 Makeconfig. Conditionalize on [$(use-nscd) != no].
14353 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14354 Conditionalize on [USE_NSCD].
14355 (is_nscd, nscd_init_cb): Likewise.
14356 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14357 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14358 * nss/nss_db/db-init.c: Likewise.
14359 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14360 [USE_NSCD].
14361 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14362 (make_request): Use it.
14363 (cache_valid_p): New function.
14364 (__check_pf): Use it.
14365 * NEWS: Add item for --disable-nscd.
14366
07e51550
DL
143672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14368
14369 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14370 to support sed >= 4.2.1-20-ga9bf076.
14371 * configure: Regenerated.
14372
35a5b08b
RM
143732012-08-22 Roland McGrath <roland@hack.frob.com>
14374
14375 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14376 Conditionalize whole body on [IREL].
14377
8479f23a
JL
143782012-08-22 Jeff Law <law@redhat.com>
14379
14380 [BZ #14505]
14381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14382 if the family is PF_UNSPEC.
14383
48da0b21
MF
143842012-08-22 Mike Frysinger <vapier@gentoo.org>
14385
14386 * Makerules (lib-version): Rename from V.
14387 (install-lib-nosubdir): Change V to lib-version.
14388
15d0da8c
WS
143892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14390
14391 [BZ #14252]
14392 * powerpc32/power6/wcschr.c: New file.
14393 * powerpc32/power6/wcscpy.c: New file.
14394 * powerpc32/power6/wcsrchr.c: New file.
14395 * powerpc64/power6/wcschr.c: New file.
14396 * powerpc64/power6/wcscpy.c: New file.
14397 * powerpc64/power6/wcsrchr.c: New file.
14398
bcca0895
MK
143992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14400
14401 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14402 (two_way_short_needle): Use it.
5a4aaa33
RM
14403 * string/strstr.c (AVAILABLE1_USES_J): Define.
14404 * string/strcasestr.c: Likewise.
99677e57
MK
14405
14406 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14407 array references.
14408 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14409
400726de
MK
14410 [BZ #11607]
14411 * NEWS: Add an entry.
14412 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14413 define their defaults.
14414 (two_way_short_needle): Detect end-of-string on-the-fly.
14415 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14416 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14417 * string/bug-strcasestr1.c: New test.
14418 * string/Makefile: Run it.
14419
20a71f2c
MK
144202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14421
14422 [BZ #11607]
14423 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14424 the first character.
14425
21ad0558
RM
144262012-08-21 Roland McGrath <roland@hack.frob.com>
14427
14428 * csu/elf-init.c (__libc_csu_irel): Function removed.
14429 * csu/libc-start.c (apply_irel): New function.
14430 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14431
0e1d9911
JM
144322012-08-21 Joseph Myers <joseph@codesourcery.com>
14433
14434 * sysdeps/unix/sysv/linux/kernel-features.h
14435 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14436 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14437 <kernel-features.h>.
14438 [__NR_fadvise64_64]: Make code unconditional.
14439 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14440 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14441 !__NR_fadvise64_64)]: Likewise.
14442 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14443 !__NR_fadvise64_64))]: Likewise.
14444 [__NR_fadvise64]: Make code unconditional.
14445 [!__NR_fadvise64]: Remove conditional code.
14446 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14447 <kernel-features.h>.
14448 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14449 unconditional.
14450 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14451 conditional code.
14452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14453 not include <kernel-features.h>.
14454 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14455 unconditional.
14456 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14457 conditional code.
14458 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14459 include <kernel-features.h>.
14460 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14461 unconditional.
14462 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14463 conditional code.
14464
14a50c9d
WS
144652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14466
14467 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14468 slight instruction rearrangements per scrollpipe analysis.
14469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14470
c0f4faf0
RM
144712012-08-20 Roland McGrath <roland@hack.frob.com>
14472
696da859
RM
14473 * manual/syslog.texi (syslog; vsyslog, closelog):
14474 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14475 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14476
c0f4faf0
RM
14477 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14478 DSOCAPS to match condition on defining it.
14479
348363b2
JM
144802012-08-20 Joseph Myers <joseph@codesourcery.com>
14481
a35cbf28
JM
14482 * sysdeps/unix/sysv/linux/kernel-features.h
14483 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14485 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14486 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14488 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14489 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14491 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14492 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14493
445f7ecd
JM
14494 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14495 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14496
348363b2
JM
14497 * sysdeps/unix/sysv/linux/kernel-features.h
14498 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14499 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14500 unconditional.
14501 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14502 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14503 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14504 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14505 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14506 Make code unconditional.
14507 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14508 (__mmap64) [!__NR_mmap2]: Likewise.
14509 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14510 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14511 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14512 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14513 [__NR_mmap2]: Make code unconditional.
14514 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14515 (__mmap64) [!__NR_mmap2]: Likewise.
14516
bc5bc0e5
AK
145172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14518
14519 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14520
88d506de
AJ
145212012-08-18 Andreas Jaeger <aj@suse.de>
14522
14523 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14524
493387d2
MF
145252012-08-18 Mike Frysinger <vapier@gentoo.org>
14526
14527 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14528 * include/unistd.h (__have_sock_cloexec): Likewise.
14529 (__have_pipe2): Likewise.
14530 (__have_dup3): Likewise.
14531
a277af22
MF
145322012-08-18 Mike Frysinger <vapier@gentoo.org>
14533
14534 [BZ #9685]
14535 * include/unistd.h (__have_pipe2): Change define into an extern int.
14536 (__have_dup3): Likewise.
14537 * socket/have_sock_cloexec.c: Include fcntl.h.
14538 (__have_pipe2): New variable.
14539 (__have_dup3): Likewise.
14540
fdab8fd3
MF
145412012-08-17 Mike Frysinger <vapier@gentoo.org>
14542
14543 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14544
31035e80
MP
145452012-08-17 Marek Polacek <polacek@redhat.com>
14546
14547 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14548 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14549
3bd9e993
RM
145502012-08-17 Roland McGrath <roland@hack.frob.com>
14551
c91c505f
RM
14552 * configure.in: Add AC_SUBST for sysheaders.
14553 * configure: Regenerated.
14554 * config.make.in (sysheaders): New substituted variable.
14555
7c6f9d53
RM
14556 * sysdeps/unix/mkfifo.c: Moved ...
14557 * sysdeps/posix/mkfifo.c: ... here.
14558 * sysdeps/unix/mkfifoat.c: Moved ...
14559 * sysdeps/posix/mkfifoat.c: ... here.
14560
14561 * sysdeps/unix/utime.c: Moved ...
14562 * sysdeps/posix/utime.c: ... here.
14563
14564 * sysdeps/unix/time.c: Moved ...
14565 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
14566 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14567 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
14568
14569 * sysdeps/unix/nice.c: Moved ...
14570 * sysdeps/posix/nice.c: ... here.
14571
14572 * sysdeps/unix/alarm.c: Moved ...
14573 * sysdeps/posix/alarm.c: ... here.
14574
3bd9e993
RM
14575 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14576
d1f09384
JL
145772012-08-17 Jeff Law <law@redhat.com>
14578
14579 * intl/Makefile (codeset_mo): New variable.
14580 ($(codeset_mo)): New target.
14581 (tst-codeset.out): Depend on that. Remove explicit rule.
14582 (tst-gettext3.out, tst-gettext5.out): Likewise.
14583 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14584 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14585 * intl/tst-codeset.sh: Remove.
14586 * intl/tst-gettext3.sh: Likewise.
14587 * intl/tst-gettext5.sh: Likewise.
14588
2ae1ae5c
RM
145892012-08-17 Roland McGrath <roland@hack.frob.com>
14590
c31fdb83
RM
14591 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14592 * sysdeps/unix/syscalls.list: ... here.
14593
a0844057
RM
14594 * sysdeps/posix/getaddrinfo.c
14595 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14596 (gaiconf_init, gaiconf_reload): Use them.
14597 [!_STATBUF_ST_NSEC]
14598 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14599 Define using time_t rather than struct timespec.
14600
750c1f2a
RM
14601 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14602 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14603 Macros removed.
14604 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14605 [!NO_THREADS].
14606 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14607 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14608 Likewise.
14609
2ae1ae5c
RM
14610 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14611 __libc_cleanup_push argument.
14612
e66a42f5
RM
14613 * bits/param.h: New file.
14614 * misc/sys/param.h: New file.
14615 * include/sys/param.h: New file.
14616 * misc/Makefile (headers): Add bits/param.h.
14617 * sysdeps/generic/sys/param.h: File removed.
14618 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14619 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14620 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 14621 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 14622
b7c08a66
RM
14623 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14624 last change.
14625
b2e1c562
RM
14626 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14627 [_IO_MTSAFE_IO].
14628 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14629 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14630 New macros.
14631
c75ccd4c
RM
14632 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14633 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14634 rather than -D_IO_MTSAFE_IO conditionally.
14635 * stdio-common/Makefile (CPPFLAGS): Likewise.
14636 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14637 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14638 Use $(libio-mtsafe).
14639 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14640 of -D_IO_MTSAFE_IO.
14641 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14642 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14643 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14644 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14645 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14646 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14647 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14648 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14649 (CFLAGS-fread_u_chk.c): Likewise.
14650 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14651 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14652 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14653 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14654 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14655 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14656 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14657 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14658 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14659
14660 * libio/Makefile: Test [$(libc-reentrant) = yes]
14661 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14662
14663 * Makeconfig
14664 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14665 * sysdeps/pthread/configure: File removed.
14666 * sysdeps/pthread/Makeconfig: New file.
14667 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14668 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14669
d9195db8
GB
146702012-08-16 Gary Benson <gbenson@redhat.com>
14671
14672 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14673 unmapping the first object in a namespace.
14674
86466cd9
RM
146752012-08-16 Roland McGrath <roland@hack.frob.com>
14676
14677 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14678 (__internal_setnetgrent): ... this. Add internal_function to
14679 definition. Add libc_hidden_def.
14680 (setnetgrent): Update caller.
14681 (internal_endnetgrent): Renamed to ...
14682 (__internal_endnetgrent): ... this. Add internal_function to
14683 definition. Add libc_hidden_def.
14684 (endnetgrent): Update caller.
14685 (internal_getnetgrent_r): Renamed to ...
14686 (__internal_getnetgrent_r): ... this. Add internal_function to
14687 definition. Add libc_hidden_def.
14688 (__getnetgrent_r): Update caller.
14689 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14690
c3c8283c
JM
146912012-08-16 Joseph Myers <joseph@codesourcery.com>
14692
14693 * stdlib/longlong.h: Update from GCC.
14694
db1ee0a8
RM
146952012-08-16 Roland McGrath <roland@hack.frob.com>
14696
14697 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14698 on _QL, which is set by umul_ppmm but never used.
14699 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14700 variables, which are set by GMP macros but never used.
14701 * stdio-common/_itowa.c (_itowa): Likewise.
14702 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14703 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14704
30f69637
CD
147052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14706
14707 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14708 struct La_sh_regs is not constant.
14709 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14710 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14711 and struct La_sparc64_regs are not constant.
14712
93a78ac4
JM
147132012-08-16 Joseph Myers <joseph@codesourcery.com>
14714
14715 * sysdeps/unix/sysv/linux/kernel-features.h
14716 (__ASSUME_POSIX_TIMERS): Remove.
14717 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14718 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14719 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14720 Make code unconditional.
14721 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14722 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14723 Make code unconditional.
14724 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14725 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14726 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14727 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14728 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14729 Make code unconditional.
14730 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14731 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14732 (__libc_missing_posix_timers): Remove.
14733
dd924cd7
RM
147342012-08-15 Roland McGrath <roland@hack.frob.com>
14735
4b4f2771
RM
14736 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14737 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14738
601c888b
RM
14739 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14740
176790a7
RM
14741 * elf/dl-sym.c: Include <stdlib.h>.
14742
329bc018
RM
14743 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14744 constants, which avoids warnings in 32-bit builds.
14745
e04e272d
RM
14746 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14747 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14748
952bf94a
RM
14749 * misc/lseek.c: File moved to ...
14750 * io/lseek.c: ... here.
14751
7c99b50a
RM
14752 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14753
dd924cd7
RM
14754 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14755 shifting LEN more than 31 bits at once.
14756
b3f479a8
LD
147572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14758
14759 [BZ #14195]
8c4ae0d4
RM
14760 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14761 segmentation fault for a case of two empty input strings.
b3f479a8
LD
14762 * string/test-strncasecmp.c (check1): Renamed to...
14763 (bz12205): ...this.
14764 (bz14195): Add new testcase for two empty input strings and N > 0.
14765 (test_main): Call new testcase, adapt for renamed function.
14766
9c55864e
AJ
147672012-08-15 Andreas Jaeger <aj@suse.de>
14768
14769 [BZ #14090]
14770 * crypt/md5test2.c: New test, based on test supplied by Serge
14771 Belyshev <belyshev@depni.sinp.msu.ru>.
14772 * crypt/Makefile (xtests): Add md5test-giant..
14773 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14774
02dcb6c5
PE
147752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14776
14777 [BZ #14090]
14778 * crypt/md5.c (md5_process_block): Don't assume the buffer
14779 length is less than 2**32.
14780 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14781 length is less than 2**64.
14782
a3f95dcc
RM
147832012-08-15 Roland McGrath <roland@hack.frob.com>
14784
be75d758
RM
14785 * string/str-two-way.h: Include <sys/param.h>.
14786 (MAX): Macro removed.
14787
7312ca90
RM
14788 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14789 Move #define and #undef of memmove to just before and after
14790 including <string.h>.
14791
9a0a5486
RM
14792 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14793 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14794 and after including <string.h>. Move declarations of
14795 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14796 to before #include "string/memmove.c".
14797
67cc348d
RM
14798 * include/dirent.h: Declare __getdirentries.
14799
a3f95dcc
RM
14800 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14801 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14802
ca98e171
MF
148032012-08-14 Mike Frysinger <vapier@gentoo.org>
14804
14805 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14806 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14807 * sysdeps/i386/configure: Regenerated.
14808 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14809 STABS_CURRENT_FILE, and STABS_FUN.
14810 (END): Remove call to STABS_FUN_END.
14811 (STABS_CURRENT_FILE1): Delete.
14812 (STABS_CURRENT_FILE): Likewise.
14813 (STABS_FUN): Likewise.
14814 (STABS_FUN_END): Likewise.
14815 (STABS_FUN2): Likewise.
14816 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14817 * sysdeps/x86_64/configure: Regenerated.
14818
5908bf46
RM
148192012-08-14 Roland McGrath <roland@hack.frob.com>
14820
14821 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 14822 * elf/dl-lookup.c: Likewise.
5908bf46 14823
f2c05b9e
JM
148242012-08-14 Joseph Myers <joseph@codesourcery.com>
14825
14826 * sysdeps/unix/sysv/linux/kernel-features.h
14827 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14828 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14829 unconditionally.
14830 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14831 unconditionally.
14832 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14833 condition on __ASSUME_CLONE_THREAD_FLAGS.
14834
e11f5155
AJ
148352012-08-14 Andreas Jaeger <aj@suse.de>
14836
14837 * sysdeps/i386/fpu/libm-test-ulps: Update.
14838
51a9ba86
MK
148392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14840
2fdd4f78
AJ
14841 * include/atomic.h (atomic_exchange_and_add): Split into ...
14842 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14843 New atomic macros.
51a9ba86 14844
ba6cba9e
MT
148452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14846
14847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14848
42443a47
JL
148492012-08-13 Jeff Law <law@redhat.com>
14850
14851 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14852 null byte in the output string.
14853
121dce05
JM
148542012-08-10 Joseph Myers <joseph@codesourcery.com>
14855
14856 * sysdeps/unix/sysv/linux/kernel-features.h
14857 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14858 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14859 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14860 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14861 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14862 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14863 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14864
bf51f568
JL
148652012-08-09 Jeff Law <law@redhat.com>
14866
14867 [BZ #13939]
14868 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14869 When avoid_arena is set, don't retry in the that arena. Pick the
14870 next one, whatever it might be.
14871 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14872 (arena_lock): Pass in new parameter to arena_get2.
14873 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14874 arena_get2.
14875 (__libc_malloc): Unify retrying after main arena failure with
14876 __libc_memalign version.
14877 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14878
f85fa270
L
148792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14880
14881 [BZ #14166]
14882 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14883 to __redirect_strstr.
14884 (__strstr_sse42): Use typeof __redirect_strstr.
14885 (__strstr_ia32): Likewise.
14886 (__libc_strstr): New prototype.
14887 (strstr): Renamed to ...
14888 (__libc_strstr): This.
14889 (strstr): New strong alias of __libc_strstr.
14890 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14891 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14892 __redirect_time.
14893 Include <time.h>.
14894 (__libc_time): New prototype.
14895 (time_ifunc): Replace time with __libc_time.
14896 (time): New strong alias and hidden definition of __libc_time.
14897 (__GI_time): Remove strong alias.
14898 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14899 Include <stddef.h>.
14900 (memmove): Redefined to __redirect_memmove.
14901 (__memmove_sse2): Use typeof __redirect_memmove.
14902 (__memmove_ssse3): Likewise.
14903 (__memmove_ssse3_back): Likewise.
14904 (__libc_memmove): New prototype.
14905 (memmove): Renamed to ...
14906 (__libc_memmove): This.
14907 (memmove): New strong alias of __libc_memmove.
14908
33b4a91e
MS
149092012-08-08 Mark Salter <msalter@redhat.com>
14910
14911 * elf/elf.h
14912 (R_MN10300_TLS_GD): Define.
14913 (R_MN10300_TLS_LD): Likewise.
14914 (R_MN10300_TLS_LDO): Likewise.
14915 (R_MN10300_TLS_GOTIE): Likewise.
14916 (R_MN10300_TLS_IE): Likewise.
14917 (R_MN10300_TLS_LE): Likewise.
14918 (R_MN10300_TLS_DTPMOD): Likewise.
14919 (R_MN10300_TLS_DTPOFF): Likewise.
14920 (R_MN10300_TLS_TPOFF): Likewise.
14921 (R_MN10300_SYM_DIFF): Likewise.
14922 (R_MN10300_ALIGN): Likewise.
14923 (R_MN10300_NUM): Update.
14924
b36137f1
JM
149252012-08-08 Joseph Myers <joseph@codesourcery.com>
14926
14927 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14928 Remove.
14929
cdd915fd
RM
149302012-08-08 Roland McGrath <roland@hack.frob.com>
14931
a2433aac
RM
14932 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14933
cdd915fd
RM
14934 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14935 sysdeps/unix -> sysdeps/posix move.
14936 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14937
bf9b740a
AM
149382012-08-07 Allan McRae <allan@archlinux.org>
14939
14940 [BZ #14303]
14941 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14942 (SUNOS_CPP): Likewise.
14943 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14944 not found.
14945 (open_input): Call CPP using execvp.
14946
93df14ee
JM
149472012-08-07 Joseph Myers <joseph@codesourcery.com>
14948
14949 * sysdeps/unix/sysv/linux/kernel-features.h
14950 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14951 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14952 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14953 (__ASSUME_WAITID_SYSCALL): Likewise.
14954 * sysdeps/unix/sysv/linux/dl-execstack.c
14955 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14956 code unconditional.
14957 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14958 conditional code.
14959 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14960 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14961 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14962 code.
14963 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14964 unconditional.
14965 [__ASSUME_WAITID_SYSCALL]: Likewise.
14966 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14967
d34689de
RM
149682012-08-07 Roland McGrath <roland@hack.frob.com>
14969
a281decc
RM
14970 * sysdeps/unix/closedir.c: Renamed to ...
14971 * sysdeps/posix/closedir.c: ... here.
14972 * sysdeps/unix/dirfd.c: Renamed to ...
14973 * sysdeps/posix/dirfd.c: ... here.
14974 * sysdeps/unix/dirstream.h: Renamed to ...
14975 * sysdeps/posix/dirstream.h: ... here.
14976 * sysdeps/unix/fdopendir.c: Renamed to ...
14977 * sysdeps/posix/fdopendir.c: ... here.
14978 * sysdeps/unix/opendir.c: Renamed to ...
14979 * sysdeps/posix/opendir.c: ... here.
14980 * sysdeps/unix/readdir.c: Renamed to ...
14981 * sysdeps/posix/readdir.c: ... here.
14982 * sysdeps/unix/readdir_r.c: Renamed to ...
14983 * sysdeps/posix/readdir_r.c: ... here.
14984 * sysdeps/unix/rewinddir.c: Renamed to ...
14985 * sysdeps/posix/rewinddir.c: ... here.
14986 * sysdeps/unix/seekdir.c: Renamed to ...
14987 * sysdeps/posix/seekdir.c: ... here.
14988 * sysdeps/unix/telldir.c: Renamed to ...
14989 * sysdeps/posix/telldir.c: ... here.
14990 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14991 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14992 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14993 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14994
22895b47
RM
14995 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14996 * bits/fcntl.h: ... here.
14997
707a53b6
RM
14998 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14999 not 0.
15000 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15001 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15002 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15003 (struct flock): Move l_start, l_len to the beginning.
15004 Use __pid_t for l_pid.
15005 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15006 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15007 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15008 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15009 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15010 [__USE_LARGEFILE64] (struct flock64): New type.
15011 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15012
f0bd3e25
RM
15013 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15014 * bits/dirent.h: ... here.
15015
d34689de
RM
15016 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15017 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15018
6dad2c06
JM
150192012-08-07 Joseph Myers <joseph@codesourcery.com>
15020
15021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15022 Change from 2.6.0 to 2.6.16.
15023 * sysdeps/unix/sysv/linux/configure: Regenerated.
15024 * sysdeps/unix/sysv/linux/kernel-features.h
15025 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15026 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15027 version.
15028 (__ASSUME_UTIMES): Likewise.
15029 (__ASSUME_CLONE_STOPPED): Remove.
15030 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15031 architectures, not kernel version.
15032 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15033 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15034 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15035 (__ASSUME_WAITID_SYSCALL): Likewise.
15036 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15037 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15038 * README: State 2.6.16 as minimum Linux kernel version. Do not
15039 refer to older versions.
15040
03af9520
RM
150412012-08-06 Roland McGrath <roland@hack.frob.com>
15042
8e49df1d
RM
15043 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15044 Define alphasort64 as an alias.
15045 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15046 Define versionsort64 as an alias.
15047 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15048 Define scandir64 as an alias.
15049 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15050 Define scandirat64 as an alias.
15051 * dirent/alphasort64.c (alphasort64):
15052 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15053 * dirent/versionsort64.c: Likewise.
15054 * dirent/scandir64.c: Likewise.
15055 * dirent/scandirat64.c: Likewise.
15056 * sysdeps/wordsize-64/alphasort.c: File removed.
15057 * sysdeps/wordsize-64/alphasort64.c: File removed.
15058 * sysdeps/wordsize-64/scandir.c: File removed.
15059 * sysdeps/wordsize-64/scandir64.c: File removed.
15060 * sysdeps/wordsize-64/scandirat.c: File removed.
15061 * sysdeps/wordsize-64/scandirat64.c: File removed.
15062 * sysdeps/wordsize-64/versionsort.c: File removed.
15063 * sysdeps/wordsize-64/versionsort64.c: File removed.
15064 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15065 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15066 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15067 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15068 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15069 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15070 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15071 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15072
15073 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15075 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15077 [defined __arch64__ || defined __sparcv9]
15078 (__INO_T_MATCHES_INO64_T): New macro.
15079 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15080 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15081 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15082 * sysdeps/unix/sysv/linux/bits/dirent.h
15083 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15084 (_DIRENT_MATCHES_DIRENT64): New macro.
15085
03af9520
RM
15086 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15087 Define lockf64 as an alias.
15088 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15089 Define fseeko64 as an alias.
15090 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15091 Define ftello64 as an alias.
15092 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15093 Define _IO_fgetpos64 and fgetpos64 as aliases.
15094 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15095 Define _IO_fsetpos64 and fsetpos64 as aliases.
15096 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15097 Conditionalize body on this.
15098 * libio/fseeko64.c: Likewise.
15099 * libio/ftello64.c: Likewise.
15100 * libio/iofgetpos64.c: Likewise.
15101 * libio/iofsetpos64.c: Likewise.
15102 * sysdeps/wordsize-64/lockf.c: File removed.
15103 * sysdeps/wordsize-64/lockf64.c: File removed.
15104 * sysdeps/wordsize-64/fseeko.c: File removed.
15105 * sysdeps/wordsize-64/fseeko64.c: File removed.
15106 * sysdeps/wordsize-64/ftello.c: File removed.
15107 * sysdeps/wordsize-64/ftello64.c: File removed.
15108 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15109 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15110 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15111 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15112 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15113 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15114 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15116 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15118 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15119 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15120 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15121 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15122
15123 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15125 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15126 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15127 [defined __arch64__ || defined __sparcv9]
15128 (__OFF_T_MATCHES_OFF64_T): New macro.
15129 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15130 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15131 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15132 (__OFF_T_MATCHES_OFF64_T): New macro.
15133
c5757acd
L
151342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15135
15136 * stdlib/secure-getenv.c (__secure_getenv): Replace
15137 GLIBC_2_16 with GLIBC_2_17.
15138
3a31811e
L
151392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15140
15141 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15142 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15143
faa2bccb
DM
151442012-08-03 David S. Miller <davem@davemloft.net>
15145
15146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15147
85fe1997
JM
151482012-08-03 Joseph Myers <joseph@codesourcery.com>
15149
15150 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15151 Remove.
15152 (__ASSUME_CORRECT_SI_PID): Likewise.
15153 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15154 (__ASSUME_TMPFS_NAME): Likewise.
15155 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15156 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15157 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15158 (HAVE_AUX_SECURE): Make definition unconditional.
15159 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15160 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15161
4f75b7a0
RM
151622012-08-03 Roland McGrath <roland@hack.frob.com>
15163
15164 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15165 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15166 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15167 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15168 __eloop_threshold instead of SYMLOOP_MAX.
15169
15170 * sysdeps/generic/eloop-threshold.h: New file.
15171 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15172 of MAXSYMLINKS.
15173 * elf/chroot_canon.c (chroot_canon): Likewise.
15174
7aab07e4
JM
151752012-08-03 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #13717]
15178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15179 Change to 2.6.0 everywhere.
15180 * sysdeps/unix/sysv/linux/configure: Regenerated.
15181 * sysdeps/unix/sysv/linux/kernel-features.h
15182 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15183 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15184 kernel versions.
15185 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15186 (__ASSUME_FUTEX_REQUEUE): Remove.
15187 (__ASSUME_STATFS64): Define unconditionally.
15188 (__ASSUME_AT_SECURE): Likewise.
15189 (__ASSUME_CORRECT_SI_PID): Likewise.
15190 (__ASSUME_TGKILL): Define without depending on kernel version for
15191 i386.
15192 (__ASSUME_UTIMES): Likewise.
15193 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15194 kernel version.
15195 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15196 (__ASSUME_TMPFS_NAME): Likewise.
15197 * README: Update reference to Linux kernel versions.
15198
b67e9372
MP
151992012-08-02 Marek Polacek <polacek@redhat.com>
15200
1f529f7d 15201 [BZ# 14150]
b67e9372
MP
15202 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15203 libc_cv_asm_type_prefix with %.
15204 * configure: Regenerated.
d2441631
RM
15205 * include/libc-symbols.h: Remove comment about
15206 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15207 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15208 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15209 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15210 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15211 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15212 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15213 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15214 * elf/tst-unique2mod1.c: Likewise.
15215 * elf/tst-unique1mod2.c: Likewise.
15216 * elf/tst-unique1mod1.c: Likewise.
15217 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15218 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15219 Replace ASM_TYPE_DIRECTIVE with .type.
15220 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15221 * sysdeps/i386/sysdep.h: Likewise.
15222 * sysdeps/x86_64/sysdep.h: Likewise.
15223 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15225 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15226 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15227 * sysdeps/powerpc/powerpc32/sysdep.h:
15228 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15229 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15230 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15231 * sysdeps/i386/fpu/e_powf.S: Likewise.
15232 * sysdeps/i386/fpu/e_expl.S: Likewise.
15233 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15234 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15235 * sysdeps/i386/fpu/e_pow.S: Likewise.
15236 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15237 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15238 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15239 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15240 * sysdeps/i386/fpu/e_log2.S: Likewise.
15241 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15242 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15243 * sysdeps/i386/fpu/e_powl.S: Likewise.
15244 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15245 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15246 * sysdeps/i386/fpu/e_logl.S: Likewise.
15247 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15248 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15249 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15250 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15251 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15252 * sysdeps/i386/fpu/e_log.S: Likewise.
15253 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15254 * sysdeps/i386/fpu/e_logf.S: Likewise.
15255 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15256 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15257 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15258 * sysdeps/i386/fpu/e_log10.S: Likewise.
15259 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15260 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15261 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15262 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15263 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15264 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15265 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15266 * sysdeps/i386/i686/strtok.S: Likewise.
15267 * sysdeps/i386/i386-mcount.S: Likewise.
15268 * sysdeps/i386/strtok.S: Likewise.
15269 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15270 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15271 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15272 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15273 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15274 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15275 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15276 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15277 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15278 * sysdeps/x86_64/_mcount.S: Likewise.
15279 * sysdeps/x86_64/strtok.S: Likewise.
15280 * sysdeps/sh/_mcount.S: Likewise.
15281
2747bf9a
RM
152822012-08-01 Roland McGrath <roland@hack.frob.com>
15283
15284 * libio/iofopen.c: Include <fcntl.h>.
15285 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15286 (_IO_fopen64, fopen64): Define as aliases.
15287 * libio/iofopen64.c: Include <fcntl.h>.
15288 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15289 Conditionalize body on this.
15290 * sysdeps/wordsize-64/iofopen.c: File removed.
15291 * sysdeps/wordsize-64/iofopen64.c: File removed.
15292
3fb791b8
MP
152932012-08-01 Marek Polacek <polacek@redhat.com>
15294
15295 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15296 Use dlfcn directly instead of a variable.
15297 (binfmt-subdir): Do not define.
15298 (dlfcn): Likewise.
15299
a9f1039f
JM
153002012-08-01 Joseph Myers <joseph@codesourcery.com>
15301
23bddc06
JM
15302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15303 Remove all definitions.
15304 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15305 <kernel-features.h>.
15306 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15307 (miss_F_GETOWN_EX): Remove all definitions.
15308 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15309 macro definition.
15310 [!__ASSUME_FCNTL64]: Remove conditional code.
15311 [__ASSUME_FCNTL64]: Make code unconditional.
15312 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15313 <kernel-features.h>.
15314 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15315 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15316 (lockf64) [__NR_fcntl64]: Make code unconditional.
15317 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15318
a9f1039f
JM
15319 * sysdeps/unix/sysv/linux/kernel-features.h
15320 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15321 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15322 Make code unconditional.
15323 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15324 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15326 [__NR_vfork]: Make code unconditional.
15327 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15328 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15330 [__NR_vfork]: Make code unconditional.
15331 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15332 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15333
09c0ee5f
RM
153342012-08-01 Roland McGrath <roland@hack.frob.com>
15335
48aec5b9
RM
15336 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15337 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15338
cd97c966
RM
15339 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15340 Define mkstemp64 as an alias.
3f55550c
RM
15341 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15342 Define mkstemps64 as an alias.
cd97c966
RM
15343 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15344 Define mkostemp64 as an alias.
b8625cfc
RM
15345 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15346 Define mkostemps64 as an alias.
cd97c966
RM
15347 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15348 Conditionalize body on this.
15349 * misc/mkostemp64.c: Likewise.
b8625cfc 15350 * misc/mkostemps64.c: Likewise.
3f55550c 15351 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15352 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15353 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15354 * sysdeps/wordsize-64/mkostemp.c: File removed.
15355 * sysdeps/wordsize-64/mkstemp.c: File removed.
15356 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15357 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15358 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15359 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15360
09c0ee5f
RM
15361 [BZ #14138]
15362 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15363 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15364 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15365 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15366
15367 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15368 compat_symbol macros from <shlib-compat.h> rather than the underlying
15369 default_symbol_version and symbol_version macros, so that DEFAULT
15370 lines in shlib-versions are respected.
15371 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15372
7e66ee51
FW
153732012-08-01 Florian Weimer <fweimer@redhat.com>
15374
15375 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15376 Declare with warn_unused_result.
15377 (setgid, setregid, setegid, setresgid): Likewise.
15378 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15379 Likewise.
15380 * WUR-REPORT: Remove set*id functions.
15381
d2a54255
PT
153822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15383
15384 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15385
7ecdb005
RM
153862012-07-31 Roland McGrath <roland@hack.frob.com>
15387
b4180a5e 15388 [BZ #10191]
789bd351
RM
15389 * include/sys/socket.h (__libc_accept, __libc_accept4):
15390 Add attribute_hidden.
15391 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15392
40ce302d
RM
15393 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15394 use of PTR_MANGLE.
15395 * inet/getnetgrent_r.c (setup): Likewise.
15396
7ecdb005
RM
15397 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15398
e2eabb2c
DM
153992012-07-31 David S. Miller <davem@davemloft.net>
15400
15401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15402
d0419dbf
JM
154032012-07-31 Joseph Myers <joseph@codesourcery.com>
15404
15405 [BZ #13629]
15406 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15407 value between 1.0 and 2.0 and smaller part has absolute value less
15408 than 1.0.
15409 * math/s_clog10.c (__clog10): Likewise.
15410 * math/s_clog10f.c (__clog10f): Likewise.
15411 * math/s_clog10l.c (__clog10l): Likewise.
15412 * math/s_clogf.c (__clogf): Likewise.
15413 * math/s_clogl.c (__clogl): Likewise.
15414 * math/libm-test.inc (clog_test): Add more tests.
15415 (clog10_test): Likewise.
15416 * sysdeps/i386/fpu/libm-test-ulps: Update.
15417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15418
2bc13872
FW
154192012-07-31 Florian Weimer <fweimer@redhat.com>
15420
15421 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15422 Exit with zero in case no suitable GID is found, and write a
15423 message to standard error.
15424
bea9b193
RM
154252012-07-30 Roland McGrath <roland@hack.frob.com>
15426
15427 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15428 rather than to 1.
15429 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15430 (MAXPATHLEN): Removed.
15431 (NOGROUP, NODEV): New macros.
15432 (setbit, clrbit, isset, isclr): New macros.
15433 (howmany, roundup, powerof2): New macros.
15434 (DEV_BSIZE): New macro.
15435
15436 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15437 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15438
15439 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15440 definition on [!__NO_LONG_DOUBLE_MATH].
15441
15442 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15443 PTR_MANGLE and PTR_DEMANGLE.
15444
15445 * socket/accept4.c (accept4): Rename to __libc_accept4.
15446 Define accept4 as a weak alias.
15447
15448 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15449 on [_DIRENT_HAVE_D_TYPE].
15450 * io/ftw.c (ftw_dir): Likewise.
15451
15452 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15453
15454 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15455
15456 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15457 Use the BSD numbers rather than the arbitrary ones we had.
15458 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15459 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15460 (SIGXCPU, SIGXFSZ): New macros.
15461 (_NSIG): Now 32.
15462
15463 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15464 initializer on [_LIBC_REENTRANT].
15465
15466 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15467 definitions inside [_POSIX_MAPPED_FILES].
15468
15469 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15470
15471 * dirent/opendir.c: Include <fcntl.h>.
15472
15473 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15474 (__libc_getspecific): Likewise.
15475 (__libc_key_create): Likewise.
15476
15477 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15478 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15479 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15480 (tmpfile64): Define as alias.
15481 * sysdeps/wordsize-64/tmpfile.c: File removed.
15482 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15483 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15484 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15485
15486 * stdio-common/vfscanf.c: Include <stdbool.h>.
15487 * nss/makedb.c: Likewise.
15488 * stdio-common/_i18n_number.h: Likewise.
15489 * argp/argp-help.c: Likewise.
15490 * posix/wordexp.c: Likewise.
15491 * sysdeps/posix/spawni.c: Likewise.
15492 * nss/nss_files/files-initgroups.c: Likewise.
15493 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15494 * nss/nss_files/files-initgroups.c: Likewise.
15495 * nss/nss_db/db-netgrp.c: Likewise.
15496 * nss/nss_db/db-initgroups.c: Likewise.
15497 * io/fchmodat.c: Include <sys/stat.h>.
15498
15499 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15500 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15501
15502 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15503 [HAVE_MMAP].
15504
15505 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15506 Add multiple inclusion protection.
15507
e5abc686
DM
155082012-07-27 David S. Miller <davem@davemloft.net>
15509
15510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15511
815e6fa3
GB
155122012-07-27 Gary Benson <gbenson@redhat.com>
15513
15514 [BZ #14298]
15515 * elf/rtld.c: Include <stap-probe.h>.
15516 (dl_main): Added static probes "init_start" and "init_complete".
15517 * elf/dl-load.c: Include <stap-probe.h>.
15518 (lose): Take new parameter "nsid".
15519 Added static probe "map_failed".
15520 (_dl_map_object_from_fd): Pass namespace id to lose.
15521 Added static probe "map_start".
15522 (open_verify): Pass namespace id to lose.
15523 * elf/dl-open.c: Include <stap-probe.h>.
15524 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15525 and "reloc_complete".
15526 * elf/dl-close.c: Include <stap-probe.h>.
15527 (_dl_close_worker): Added static probes "unmap_start" and
15528 "unmap_complete".
15529 * elf/rtld-debugger-interface.txt: New file documenting the above.
15530
9f98c16c
RM
155312012-07-26 Roland McGrath <roland@hack.frob.com>
15532
15533 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15534 rather than a string variable.
15535 * sunrpc/rpc_main.c (h_output): Likewise.
15536 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15537
f3c22df3
PT
155382012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15539
15540 * inet/check_native.c: New file.
15541
3129cfc6
JM
155422012-07-26 Joseph Myers <joseph@codesourcery.com>
15543
da865e95
JM
15544 [BZ #13629]
15545 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15546 if larger part has absolute value 1.0.
15547 * math/s_clog10.c (__clog10): Likewise.
15548 * math/s_clog10f.c (__clog10f): Likewise.
15549 * math/s_clog10l.c (__clog10l): Likewise.
15550 * math/s_clogf.c (__clogf): Likewise.
15551 * math/s_clogl.c (__clogl): Likewise.
15552 * math/libm-test.inc (clog_test): Add more tests.
15553 (clog10_test): Likewise.
15554 * sysdeps/i386/fpu/libm-test-ulps: Update.
15555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15556
3129cfc6
JM
15557 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15558 (pltexit): Likewise.
15559 (La_regs): Likewise.
15560 (La_retval): Likewise.
15561 (int_retval): Likewise.
15562 Update #error for removed macros to refer only to definitions in
15563 tst-audit.h.
15564 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15565 macro.
15566 (pltexit): Likewise.
15567 (La_regs): Likewise.
15568 (La_retval): Likewise.
15569 (int_retval): Likewise.
15570 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15571 macro.
15572 (pltexit): Likewise.
15573 (La_regs): Likewise.
15574 (La_retval): Likewise.
15575 (int_retval): Likewise.
15576 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15577 macro.
15578 (pltexit): Likewise.
15579 (La_regs): Likewise.
15580 (La_retval): Likewise.
15581 (int_retval): Likewise.
15582 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15583 macro.
15584 (pltexit): Likewise.
15585 (La_regs): Likewise.
15586 (La_retval): Likewise.
15587 (int_retval): Likewise.
15588 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15589 macro.
15590 (pltexit): Likewise.
15591 (La_regs): Likewise.
15592 (La_retval): Likewise.
15593 (int_retval): Likewise.
15594 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15595 macro.
15596 (pltexit): Likewise.
15597 (La_regs): Likewise.
15598 (La_retval): Likewise.
15599 (int_retval): Likewise.
15600 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15601 macro definitions in tst-audit.h.
15602 * sysdeps/i386/tst-audit.h: New file.
15603 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15604 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15605 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15606 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15607 * sysdeps/sh/tst-audit.h: Likewise.
15608 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15609 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15610 * sysdeps/x86_64/tst-audit.h: Likewise.
15611
bfc07087
AJ
156122012-07-26 Andreas Jaeger <aj@suse.de>
15613
b1b2aaf8
AJ
15614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15615 ptrace.
15616
15617 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15618 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15619 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15620 PTRACE_O_MASK.
15621 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15622 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15623 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15624
bfc07087
AJ
15625 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15626 value.
15627
15628 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15629 _sigsys.
15630 (si_call_addr, si_syscall, si_arch): Define new macro.
15631 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15632 _sigsys.
15633 (si_call_addr, si_syscall, si_arch): Define new marcro.
15634 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15635 _sigsys.
15636 (si_call_addr, si_syscall, si_arch): Define new macro.
15637 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15638 _sigsys.
15639 (si_call_addr, si_syscall, si_arch): Define new macro.
15640
89b4b02f
JM
156412012-07-25 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #13717]
15644 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15645 Change to 2.4.21 where previously 2.4.1.
15646 * sysdeps/unix/sysv/linux/configure: Regenerated.
15647 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15648 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15649 Linux kernel version.
15650 (__ASSUME_STD_AUXV): Remove.
15651 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15652 kernel version.
15653 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15654 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15655 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15656 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15657 (__ASSUME_NETLINK_SUPPORT): Likewise.
15658 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15659 (__no_netlink_support): Remove conditional definition.
15660 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15661 Remove.
15662 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15663 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15664 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15665 (if_nameindex_ioctl): Remove.
15666 (if_nameindex_netlink): Do not handle __no_netlink_support.
15667 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15668 code.
15669 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15670 Remove conditional code.
15671 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15672 code.
15673 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15674 unconditional.
15675 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15676 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15677 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15678 Remove.
15679 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15680 [!__ASSUME_STD_AUXV]: Remove conditional code.
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15682 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15683 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15685 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15686 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15687 code.
15688 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15690 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15691 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15692 conditional code.
15693 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15695 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15696 code.
15697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15698 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15699 conditional code.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15701 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15702 code unconditional.
15703 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15704 conditional code.
15705 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15706 unconditional.
15707 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15708 conditional code.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15710 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15711 unconditional.
15712 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15713 conditional code.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15715 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15716 code unconditional.
15717 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15718 conditional code.
15719 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15720 unconditional.
15721 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15722 conditional code.
15723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15724 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15725 code unconditional.
15726 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15727 conditional code.
15728 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15729 unconditional.
15730 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15731 conditional code.
15732
842a39cd
AS
157332012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15734
15735 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15736 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15737 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15738 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15739 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15740 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15741 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15742 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15743 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15744 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15745 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15746 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15747 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15748 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15749 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15750 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15751 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15752 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15753 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15755 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15756 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15757 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15758
84b3fd84
FW
157592012-07-25 Florian Weimer <fweimer@redhat.com>
15760
15761 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
15762 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15763 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15764 Introduce __libc_secure_getenv.
0c7936d5
FW
15765 * stdlib/Versions (2.17): Add secure_getenv
15766 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15767 * stdlib/secure-getenv.c: Rename __secure_getenv to
15768 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15769 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
15770 * stdlib/tst-secure-getenv.c: New.
15771 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
15772 * manual/startup.texi (Environment Access): Document
15773 secure_getenv.
84b3fd84
FW
15774 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15775 __libc_secure_getenv.
15776 * inet/ruserpass.c (ruserpass): Likewise.
15777 * malloc/mtrace.c (mtrace): Likewise.
15778 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 15779 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
15780 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15781 * sysdeps/posix/tempname.c: Likewise. Evaluate
15782 HAVE_SECURE_GETENV.
15783 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 15784 __secure_getenv to __libc_secure_getenv.
84b3fd84 15785 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
15786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15787 Likewise.
15788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15789 Likewise.
15790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15792 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 15797
56e49b71
JM
157982012-07-25 Joseph Myers <joseph@codesourcery.com>
15799
15800 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15801 (struct La_i86_retval): Likewise.
15802 (struct La_x86_64_regs): Likewise.
15803 (struct La_x86_64_retval): Likewise.
15804 (struct La_x32_regs): Likewise.
15805 (struct La_x32_retval): Likewise.
15806 (struct La_ppc32_regs): Likewise.
15807 (struct La_ppc32_retval): Likewise.
15808 (struct La_ppc64_regs): Likewise.
15809 (struct La_ppc64_retval): Likewise.
15810 (struct La_sh_regs): Likewise.
15811 (struct La_sh_retval): Likewise.
15812 (struct La_s390_32_regs): Likewise.
15813 (struct La_s390_32_retval): Likewise.
15814 (struct La_s390_64_regs): Likewise.
15815 (struct La_s390_64_retval): Likewise.
15816 (struct La_sparc32_regs): Likewise.
15817 (struct La_sparc32_retval): Likewise.
15818 (struct La_sparc64_regs): Likewise.
15819 (struct La_sparc64_retval): Likewise.
15820 (struct audit_ifaces): Remove architecture-specific pltenter and
15821 pltexit members.
15822 * sysdeps/i386/ldsodefs.h: New file.
15823 * sysdeps/powerpc/ldsodefs.h: Likewise.
15824 * sysdeps/s390/ldsodefs.h: Likewise.
15825 * sysdeps/sh/ldsodefs.h: Likewise.
15826 * sysdeps/sparc/ldsodefs.h: Likewise.
15827 * sysdeps/x86_64/ldsodefs.h: Likewise.
15828
354691b7
MP
158292012-07-25 Marek Polacek <polacek@redhat.com>
15830
15831 [BZ #6808]
15832 * math/libm-test.inc (yn_test): Add another test.
15833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15834 to ERANGE when the result is +-Inf.
15835 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15836 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15837 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15838 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15839
bf9e2071
JM
158402012-07-24 Joseph Myers <joseph@codesourcery.com>
15841
15842 * conform/data/time.h-data (NULL): Use macro-constant. Require
15843 equal to 0.
15844 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15845 clock_t.
15846 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15847
57633811
TS
158482012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15849
15850 * configure.in <sysdeps resolving>: Correct printing
15851 Implies_before.
15852 * configure: Regenerate.
15853
c23c33b0
TS
158542012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15855
15856 * math/w_ilogb.c: Include <limits.h>.
15857 * math/w_ilogbl.c: Likewise.
15858
b5982523
JM
158592012-07-20 Joseph Myers <joseph@codesourcery.com>
15860
15861 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15862 va_copy. Document allowing for unavailable va_copy only as
15863 pre-C99 compatibility.
15864 * manual/string.texi (Copying and Concatenation): Use va_copy
15865 instead of __va_copy in concat example.
15866
ac4ea442
PT
158672012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15868
15869 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15870 (__sendto): Use create_address_port. Initialize APORT and deallocate
15871 it if not null.
15872
f98eafbd
PT
15873 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15874 with O_NOLINK passed to __file_name_lookup.
15875
898c7aab
PT
15876 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15877 with O_NOLINK passed to __file_name_lookup.
15878
0ced335a
PT
15879 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15880 negative N or less than NGIDS.
15881
b3404dbd
PT
15882 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15883 type to string_t. Set ERANGE as errno and return it if NAME is not big
15884 enough. Use memcpy instead of strncpy.
15885
0f48659e
JM
158862012-07-20 Joseph Myers <joseph@codesourcery.com>
15887
15888 * elf/Makefile (check-data): Remove.
15889 (localplt.data): New vpath directive.
15890 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15891 instead of $(check-data).
15892 * scripts/data/localplt-generic.data: Move to ...
15893 * sysdeps/generic/localplt.data: ... here.
15894 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15895 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15896 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15898 ... here.
15899 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15901 ... here.
15902 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15904 ... here.
15905 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15907 ... here.
15908 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15910 ... here.
15911 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15913 ... here.
15914
d37cbdaa
AZ
159152012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15916
15917 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15918 PPC32 and PPC64 files.
15919 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15920 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15921
46f85fc2
AK
159222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15923
15924 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15925 __makecontext_ret to ...
15926 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15927 ... here and call exit if uc_link is NULL. New file.
15928 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15929 __makecontext_ret.S.
15930 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15931 __makecontext_ret to ...
15932 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15933 ... here and call exit if uc_link is NULL. New file.
15934 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15935 __makecontext_ret.S.
15936
08f43f9b
AK
159372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15938
15939 * elf/elf.h (R_390_IRELATIVE): New definition.
15940 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15941 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15942 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15943 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15944 (elf_machine_lazy_rel): Likewise.
15945 * sysdeps/s390/dl-irel.h: New file.
15946 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15947 * sysdeps/s390/s390-64/memset.S: New asm code.
15948 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15949 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15950 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15951 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15952 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15953 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15954 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15955 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15956 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15957 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15958 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15959 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15960 * sysdeps/s390/s390-32/memset.S: New asm code.
15961 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15962
3b05db33
MP
159632012-07-17 Marek Polacek <polacek@redhat.com>
15964
15965 [BZ #14349]
15966 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15967 * sysdeps/s390/s390-64/configure.in: Likewise.
15968 * sysdeps/sparc/configure.in: Likewise.
15969 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15970 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15971 * sysdeps/i386/configure.in: Likewise.
15972 * sysdeps/x86_64/configure.in: Likewise.
15973 * sysdeps/sh/configure.in: Likewise.
15974 * sysdeps/s390/s390-32/configure: Regenerated.
15975 * sysdeps/s390/s390-64/configure: Likewise.
15976 * sysdeps/x86_64/configure: Likewise.
15977 * sysdeps/sh/configure: Likewise.
15978 * sysdeps/powerpc/powerpc64/configure: Likewise.
15979 * sysdeps/powerpc/powerpc32/configure: Likewise.
15980 * sysdeps/sparc/configure: Likwise.
15981 * sysdeps/i386/configure: Likewise.
15982
a66877c6
MP
15983 * elf/dl-open.c: Comment fixes.
15984
cfc82fd8
JM
159852012-07-17 Joseph Myers <joseph@codesourcery.com>
15986
bd29910a
JM
15987 * Makefile [CXX] (check-data): Remove.
15988 [CXX] (c++-types.data): New vpath directive.
15989 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15990 vpath. Do not allow for C++ type data being missing.
15991 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15992 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15993 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15994 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15995 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15996 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15997 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15999 ... here.
16000 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16002 ... here.
16003 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16005 ... here.
16006 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16008 ... here.
16009 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16011 ... here.
16012 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16014 ... here.
16015 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16017 ... here.
16018 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16020
cfc82fd8
JM
16021 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16022 definitions to architecture-specific files.
16023 (TLS_IE): Likewise.
16024 (TLS_LD): Likewise.
16025 (TLS_GD): Likewise.
16026 * sysdeps/i386/tls-macros.h: New file.
16027 * sysdeps/powerpc/tls-macros.h: Likewise.
16028 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16029 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16030 * sysdeps/sh/tls-macros.h: Likewise.
16031 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16032 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16033 * sysdeps/x86_64/tls-macros.h: Likewise.
16034
f7db3170
TS
160352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16036
07cbfc23
TS
16037 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16038 zero value for regular exit case.
16039
f7db3170
TS
16040 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16041 (__start_context): Preserve zero value for regular exit case.
16042
dc97c227
TS
160432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16044 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16045
16046 * manual/setjmp.texi (setcontext): Clarify normal process
16047 termination when uc_link is the null pointer.
16048 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16049 exit call.
16050
d0cd7d02
AS
160512012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16054 preprocessor. Test for each exception mask separately.
16055
dd318934
AJ
160562012-07-16 Andreas Jaeger <aj@suse.de>
16057
16058 * po/ru.po: Update from translation team.
16059
8048311a
JM
160602012-07-15 Joseph Myers <joseph@codesourcery.com>
16061
16062 * conform/data/string.h-data (NULL): Use macro-constant. Require
16063 equal to 0.
16064 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16065 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16066 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16067 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16068 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16069
b637d46e
AJ
160702012-07-13 Andreas Jaeger <aj@suse.de>
16071
16072 * po/fr.po: Update from translation team.
16073
541428fe
MP
160742012-07-12 Marek Polacek <polacek@redhat.com>
16075
16076 [BZ #14173]
16077 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16078 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16079 loop condition.
16080
ec332e94
JM
160812012-07-12 Joseph Myers <joseph@codesourcery.com>
16082
16083 [BZ #13717]
16084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16085 Change to 2.4.1 where previously 2.4.0.
16086 * sysdeps/unix/sysv/linux/configure: Regenerated.
16087 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16088 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16089 version.
16090 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16091 (__ASSUME_AT_CLKTCK): Remove.
16092 (__ASSUME_AT_PAGESIZE): Likewise.
16093 (__ASSUME_AT_XID): Likewise.
16094 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16095 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16096 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16097 unconditionally.
16098 (HAVE_AUX_PAGESIZE): Likewise.
16099 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16100 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16101 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16102
7b6e99be
JB
161032012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16104
16105 [BZ #14307]
16106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16107 the temporary buffer used to invoke __gethostbyname2_r,
16108 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16109 host_data / struct gaih_addrtuple.
16110 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16111 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16112 header file nss/nsswitch.h.
16113 * nss/nsswitch.h (global scope): Add definition of implementation
16114 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16115 resolv/nss_dns/dns-host.c).
16116
608404eb
AJ
161172012-07-11 Andreas Jaeger <aj@suse.de>
16118
16119 * po/fr.po: Update from translation team.
16120
71220aca
AJ
16121 * po/sv.po: Update from translation team
16122 * po/fr.po: Another update from translation team.
16123
28cfe843
AZ
161242012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16125
16126 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16127 for subnormals or multiply small sinh result by itself.
16128 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16130
6b90f981
DM
161312012-07-11 David S. Miller <davem@davemloft.net>
16132
16133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16134
c6825772
AS
161352012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16136
16137 [BZ #14347]
16138 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16139 (INTERNAL_MARK): Shift it here.
16140
7b8e0d49
MP
161412012-07-10 Marek Polacek <polacek@redhat.com>
16142
16143 [BZ #14151]
16144 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16145 libc_cv_asm_global_directive with .globl.
16146 * configure: Regenerated.
16147 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16148 with .globl.
16149 * sysdeps/i386/configure: Regenerated.
16150 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16151 with .globl.
16152 * sysdeps/x86_64/configure: Regenerated.
16153 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16154 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16155 * elf/tst-unique2mod2.c: Likewise.
16156 * elf/tst-unique2mod1.c: Likewise.
16157 * elf/tst-unique1mod2.c: Likewise.
16158 * elf/tst-unique1mod1.c: Likewise.
16159 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16160 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16162 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16163 * sysdeps/mach/sysdep.h: Likewise.
16164 * sysdeps/i386/sysdep.h: Likewise.
16165 * sysdeps/i386/i386-mcount.S: Likewise.
16166 * sysdeps/x86_64/_mcount.S: Likewise.
16167 * sysdeps/x86_64/sysdep.h: Likewise.
16168 * sysdeps/sh/_mcount.S: Likewise.
16169 * sysdeps/sh/sysdep.h: Likewise.
16170 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16171 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16172 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16173 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16174 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16175 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16176 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16177 * locale/localeinfo.h: Likewise.
16178 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16179 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16180
6c55cda3
RM
161812012-07-09 Roland McGrath <roland@hack.frob.com>
16182
16183 [BZ #14336]
16184 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16185 system".
16186 * manual/message.texi (The Uniforum approach): Likewise.
16187 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16188 (glibc iconv Implementation): Likewise.
16189
638a572e
JM
161902012-07-09 Joseph Myers <joseph@codesourcery.com>
16191
16192 [BZ #14337]
16193 * math/s_clog.c (__clog): Avoid scaling a value down where that
16194 could result in underflow.
16195 * math/s_clog10.c (__clog10): Likewise.
16196 * math/s_clog10f.c (__clog10f): Likewise.
16197 * math/s_clog10l.c (__clog10l): Likewise.
16198 * math/s_clogf.c (__clogf): Likewise.
16199 * math/s_clogl.c (__clogl): Likewise.
16200 * math/libm-test.inc (clog_test): Add more tests.
16201 (clog10_test): Likewise.
16202 * sysdeps/i386/fpu/libm-test-ulps: Update.
16203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16204
261f4859
AS
162052012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16206
0abaf3e4
AS
16207 [BZ #14283]
16208 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16209 by 7 not 8 to examine high bit of fractional part.
16210
261f4859
AS
16211 [BZ #14042]
16212 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16213 for call to __mcount_internal.
16214 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16215 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16216 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16217
f17ac40d
JM
162182012-07-06 Joseph Myers <joseph@codesourcery.com>
16219
9ad63c23
JM
16220 [BZ #14154]
16221 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16222 approximation for values within 0x1p-13f of an odd multiple of
16223 pi/4.
16224 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16225 exception. Add more tests.
16226 * sysdeps/i386/fpu/libm-test-ulps: Update.
16227
f17ac40d
JM
16228 [BZ #6778]
16229 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16230 inputs and return -1 for them. Do not check for +Inf in case not
16231 reachable for +Inf.
16232 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16233 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16234 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16235 and return -1 for them. Do not check for +Inf in case not
16236 reachable for +Inf.
16237 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16238 define.
16239 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16240 and return -1 for them. Do not check for +Inf in case not
16241 reachable for +Inf.
16242 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16243 spurious underflow.
16244 * sysdeps/i386/fpu/libm-test-ulps: Update.
16245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16246
fb21f89b
MF
162472012-07-06 Mike Frysinger <vapier@gentoo.org>
16248
16249 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16250
cdfe2c5e
JM
162512012-07-05 Joseph Myers <joseph@codesourcery.com>
16252
16253 [BZ #14157]
16254 [BZ #14331]
16255 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16256 could result in spurious underflow. Scale down values above
16257 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16258 * math/s_csqrtf.c (__csqrtf): Likewise.
16259 * math/s_csqrtl.c (__csqrtl): Likewise.
16260 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16261 spurious underflow.
16262 * sysdeps/i386/fpu/libm-test-ulps: Update.
16263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16264
70d35b67
AS
162652012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16266
704bc459
AS
16267 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16268 xopen-msg.sed.
16269 * catgets/xopen-msg.awk: New file.
16270 * catgets/xopen-msg.sed: Removed.
16271
70d35b67
AS
16272 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16273 po2text.sed.
16274 * intl/po2test.awk: New file.
16275 * intl/po2test.sed: Removed.
16276
ca61cf32
JM
162772012-07-04 Joseph Myers <joseph@codesourcery.com>
16278
16279 [BZ #14328]
16280 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16281 or multiply small sinh result by itself.
16282 * math/s_ctanf.c (__ctanf): Likewise.
16283 * math/s_ctanh.c (__ctanh): Likewise.
16284 * math/s_ctanhf.c (__ctanhf): Likewise.
16285 * math/s_ctanhl.c (__ctanhl): Likewise.
16286 * math/s_ctanl.c (__ctanl): Likewise.
16287 * math/libm-test.inc (ctan_test_tonearest): New function.
16288 (ctan_test_towardzero): Likewise.
16289 (ctan_test_downward): Likewise.
16290 (ctan_test_upward): Likewise.
16291 (ctanh_test_tonearest): Likewise.
16292 (ctanh_test_towardzero): Likewise.
16293 (ctanh_test_downward): Likewise.
16294 (ctanh_test_upward): Likewise.
16295 (main): Call these new functions.
16296 * sysdeps/i386/fpu/libm-test-ulps: Update.
16297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16298
ca48a46a
MF
162992012-07-03 Mike Frysinger <vapier@gentoo.org>
16300
16301 * .gitignore: Delete /ports entry.
16302
9d63d37d
AJ
163032012-07-03 Andreas Jaeger <aj@suse.de>
16304
16305 * po/bg.po: Update from translation team.
16306 * po/cs.po: Likewise.
16307 * po/de.po: Likewise.
16308 * po/hr.po: Likewise.
16309 * po/nl.pl: Likewise.
16310 * po/pl.po: Likewise.
16311 * po/vi.po: Likewise.
16312
370ca3d2
JM
163132012-07-03 Joseph Myers <joseph@codesourcery.com>
16314
95f5a9a8
JM
16315 * Makeconfig [!+link] (+link-before-libc): New variable.
16316 [!+link] (+link-after-libc): Likewise.
16317 [!+link] (+link-tests): Likewise.
16318 [!+link] (+link): Define in terms of $(+link-before-libc) and
16319 $(+link-after-libc).
16320 [!+link-static] (+link-static-before-libc): New variable.
16321 [!+link-static] (+link-static-after-libc): Likewise.
16322 [!+link-static] (+link-static-tests): Likewise.
16323 [!+link-static] (+link-static): Define in terms of
16324 $(+link-static-before-libc) and $(+link-static-after-libc).
16325 [build-shared] (link-libc-before-gnulib): New variable.
16326 [build-shared] (link-libc-tests): Likewise.
16327 [build-shared] (link-libc): Define in terms of
16328 $(link-libc-before-gnulib).
16329 [!build-shared] (link-libc-tests): New variable.
16330 (link-libc-static-tests): New variable.
16331 [!gnulib] (gnulib-arch): New variable.
16332 [!gnulib] (gnulib-tests): Likewise.
16333 [!gnulib] (static-gnulib-arch): Likewise.
16334 [!gnulib] (static-gnulib-tests): Likewise.
16335 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16336 Define with "=" instead of ":=".
16337 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16338 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16339 * Rules (binaries-all-notests): New variable.
16340 (binaries-all-tests): Likewise.
16341 (binaries-static-notests): Likewise.
16342 (binaries-static-tests): Likewise.
16343 (binaries-all): Define using $(binaries-all-notests) and
16344 $(binaries-all-tests).
16345 (binaries-static): Define using $(binaries-static-notests) and
16346 $(binaries-static-tests).
16347 (binaries-shared-tests): New variable.
16348 (binaries-shared-notests): Likewise.
16349 (binaries-shared): Remove variable.
16350 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16351 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16352 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16353 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16354 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16355 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16356 * elf/Makefile (sln-modules): New variable.
16357 (extra-objs): Add $(sln-modules:=.o).
16358 (ldconfig-modules): Add static-stubs.
16359 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16360 * elf/static-stubs.c: New file.
16361
7a845b2c
JM
16362 [BZ #14283]
16363 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16364 by 7 not 8 to examine high bit of fractional part. Use volatile
16365 variables when splitting into final array of floats if
16366 __FLT_EVAL_METHOD__ != 0.
16367 * math/libm-test.inc (cos_test): Add another test.
16368 (sin_test): Likewise.
16369 * sysdeps/i386/fpu/libm-test-ulps: Update.
16370
e2283f38
JM
16371 [BZ #14273]
16372 * math/libm-test.inc (cosh_test): Add more tests.
16373
370ca3d2
JM
16374 * version.h (RELEASE): Set to "development".
16375 (VERSION): Set to "2.16.90".
16376
ee9247c3
CD
163772012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16378
16379 * NEWS: Update copyright. Remove last-updated date.
16380 Mention math library bug fixes and timezone data changes.
16381 * README: Mention GNU/Hurd, x32, and HPPA support status.
16382
4648c381
TS
163832012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16384
16385 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16386
aac78a43
AJ
163872012-06-27 Andreas Jaeger <aj@suse.de>
16388
16389 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16390
ed3dbfad
AJ
163912012-06-25 Andreas Jaeger <aj@suse.de>
16392
16393 * sysdeps/s390/fpu/libm-test-ulps: Update.
16394
4d0ee855
AS
163952012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16396 Thomas Schwinge <thomas@codesourcery.com>
16397
16398 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16399 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16400 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16401 fanotify_mark.
16402
af1bce34
TS
164032012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16404
a9fa33ba
TS
16405 * sysdeps/mach/start.c: Remove file.
16406 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16407 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16408 * sysdeps/sh/init-first.c: Likewise.
16409
58f902b8
TS
16410 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16411 registers for frame unwinding purposes, add CFI directives.
16412 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16413 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16414 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16415 Likewise.
16416
1518f58b
TS
16417 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16418 __fortify_fail returning.
16419 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16420
db9b5059
TS
16421 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16422 sysdeps/sh/____longjmp_chk.S.
16423 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16424 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16425 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16426 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16427
967705fe
TS
16428 * sysdeps/sh/abort-instr.h: New file.
16429 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16430 process in case exit returns.
16431
a9def8c4
TS
16432 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16433 initialize the GOT register before use.
16434
2a649725
TS
16435 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16436 calculation of ARGC > 4.
16437
af1bce34
TS
16438 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16439 meaningful names to some local labels.
16440
d230f50a
KK
164412012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16442 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16443
16444 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16445 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16446 (__arch_compare_and_exchange_val_16_acq): Likewise.
16447 (__arch_compare_and_exchange_val_32_acq): Likewise.
16448 (atomic_exchange_and_add): Fix gUSA sequence.
16449 (atomic_add): Likewise.
16450 (atomic_add_negative): Likewise.
16451 (atomic_add_zero): Likewise.
16452 (atomic_bit_test_set): Likewise.
16453
0479b305
AS
164542012-06-22 Andreas Schwab <schwab@redhat.com>
16455
16456 [BZ #13579]
16457 * include/link.h (struct link_map): Add l_free_initfini.
16458 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16459 l_initfini.
16460 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16461 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16462 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16463 set.
16464
0e3933b9
CD
164652012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16466
16467 * configure.in: Use AC_LANG_SOURCE.
16468 * configure: Regenerate.
16469
4248b1b1
RM
164702012-06-22 Roland McGrath <roland@hack.frob.com>
16471
16472 * configure.in (libc_cv_localstatedir): New substituted variable.
16473 * configure: Regenerated.
16474 * config.make.in (localstatedir): New variable, substituted from
16475 libc_cv_localstatedir.
16476 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16477 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16478 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16479 * sysdeps/gnu/configure: Regenerated.
16480
006dd861
JL
164812012-06-21 Jeff Law <law@redhat.com>
16482
16483 [BZ #14277]
16484 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16485 free. Simplify list management for _LIBC case.
16486
79662d42
JM
164872012-06-21 Joseph Myers <joseph@codesourcery.com>
16488
b7abb4bf
JM
16489 [BZ #14273]
16490 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16491 Clear sign bit of 64-bit integer value before comparing against
16492 overflow value.
16493
79662d42
JM
16494 * sysdeps/mach/configure: Regenerated.
16495
1f150908
L
164962012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16497
16498 [BZ #14278]
16499 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16500
28363bbf
JL
165012012-06-21 Jeff Law <law@redhat.com>
16502
16503 [BZ #13882]
16504 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16505 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 16506 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
16507 * elf/dl-open.c (dl_open_worker): Likewise.
16508
09615db4
CD
165092012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16510
16511 * scripts/list-sources.sh: Scan PORTS for translations.
16512 * po/libc.pot: Regenerated.
16513
2174c6dd
AJ
165142012-06-21 Andreas Jaeger <aj@suse.de>
16515
16516 [BZ #12194]
16517 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16518 warning.
16519 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16520 * bits/byteswap-16.h (__bswap_16): Likewise.
16521 * bits/byteswap.h (__bswap_constant_16): Likewise.
16522
3ee947b1
L
165232012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16524
16525 [BZ #14117]
a2f34833
L
16526 * sysdeps/i386/fpu_control.h: Removed.
16527 * sysdeps/x86_64/fpu_control.h: Moved to ...
16528 * sysdeps/x86/fpu_control.h: Here.
16529
3ee947b1
L
16530 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16531 (_FPU_SETCW): Likewise.
16532
ed1825f8
L
165332012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16534
25f1282a
L
16535 [BZ #14117]
16536 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16537 * sysdeps/x86/fpu/bits/mathinline.h: This.
16538 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16539
ed1825f8
L
16540 [BZ #14050]
16541 [BZ #14117]
16542 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16543 functions if __x86_64__ is defined.
16544
36d54b74
CLT
165452012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16546
16547 * string/endian.h: Add !__ASSEMBLER__ condition for including
16548 conversion interfaces.
16549
10285c21
JM
165502012-06-15 Joseph Myers <joseph@codesourcery.com>
16551
16552 [BZ #14241]
16553 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16554 of ABS(x) in calculating zero to negative powers other than odd
16555 integers.
16556 * math/libm-test.inc (pow_test): Add more tests.
16557
06c5abbd
AJ
165582012-06-15 Andreas Jaeger <aj@suse.de>
16559
16560 * manual/contrib.texi (Contributors): Update entry of Liubov
16561 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16562 Machado Filho.
16563
a3aeac40
CH
165642012-06-15 Cyril Hrubis <metan@ucw.cz>
16565
16566 * string/string.h: Add __wur to GNU version of strerror_r.
16567
49bdf4c1
L
165682012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16569
16570 [BZ #14229]
16571 * string/Makefile (tests): Add tst-strtok_r.
16572 * string/tst-strtok_r.c: New file.
16573 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16574 RAX_LP/RDX_LP on SAVE_PTR.
16575
834f9b8d
RM
165762012-06-14 Roland McGrath <roland@hack.frob.com>
16577
16578 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16579
75fa1921
JM
165802012-06-14 Joseph Myers <joseph@codesourcery.com>
16581
16582 * libm_test.inc (csqrt_test): Allow more spurious underflow
16583 exceptions.
16584 (j0_test): Likewise.
16585 (j1_test): Likewise.
16586 (y0_test): Likewise.
16587 (y1_test): Likewise.
16588
771766df
CD
165892012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16590
16591 * po/Makefile (libc.pot): Use UTF-8 charset.
16592
ceb9e56b
PP
165932012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16594
16595 [BZ #14210]
16596 Suppress sign-conversion warning from FD_SET.
16597 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16598 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16599 not unsigned long int.
16600 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16601
ddb28975
L
166022012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16603
16604 [BZ #14050]
16605 [BZ #14117]
16606 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16607 __extern_always_inline instead of __extern_inline.
16608 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16609 (__signbit): Likewise.
16610 (__signbitl): Support C++ namespace.
16611 (lrintf): New inline function.
16612 (lrint): Likewise.
16613 (llrintf): Likewise.
16614 (llrint): Likewise.
16615 (fmaxf): Likewise.
16616 (fmax): Likewise.
16617 (fminf): Likewise.
16618 (fmin): Likewise.
16619 (rint): Likewise.
16620 (rintf): Likewise.
16621 (ceil): Likewise.
16622 (ceilf): Likewise.
16623 (floor): Likewise.
16624 (floorf): Likewise.
16625 (nearbyint): Likewise.
16626 (nearbyintf): Likewise.
16627
d7b4fb26
TS
166282012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16629
16630 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16631 non-default versions.
16632
eb55f5c2
RM
166332012-06-11 Roland McGrath <roland@hack.frob.com>
16634
16635 [BZ #14218]
16636 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16637
366af02c
TS
166382012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16639
99ff6e5c
TS
16640 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16641 (FE_UPWARD, FE_DOWNWARD): Don't define.
16642 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16643 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16644
366af02c
TS
16645 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16646 reading it.
16647 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16648 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16649
793ea851
KK
166502012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16651
16652 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16654 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16655 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16656
a728a38f
L
166572012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16658
16659 [BZ #14117]
c08010c7
L
16660 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16661 * sysdeps/i386/fpu/Implies: New file.
16662 * sysdeps/x86_64/fpu/Implies: Likewise.
16663 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16664 * sysdeps/x86/fpu/bits/fenv.h: This.
16665
a728a38f
L
16666 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16667 __SSE_MATH__.
16668
6e230d11
SP
166692012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16670
16671 [BZ #14134]
16672 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16673 character 0xffff that matches the last element of the
16674 conversion table.
16675
1b671feb
AZ
166762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16677
16678 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16679 fmodl commit.
16680
6043738b
AZ
166812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16682
16683 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16684 values higher than 25.6283.
16685
34ae0b32
AZ
166862012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16687
16688 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16689 subnormal exponent extraction and add some __builtin_expect.
16690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16691 Fix for subnormal mantissa calculation.
16692
1214ec8f
MF
166932012-06-04 Mike Frysinger <vapier@gentoo.org>
16694
16695 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16696 cpu2 is -1 and errno is not ENOSYS.
16697
f3d1f93c
L
166982012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16699
16700 [BZ #14117]
0e4a3cd7
L
16701 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16702 * sysdeps/x86/bits/string.h: This.
16703 * sysdeps/x86_64/bits/string.h: Removed.
16704
6704c645
L
16705 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16706 if not compiling for x86-64, but compiling for >= i486.
16707
48495318
L
16708 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16709 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16710
14adcbfc
L
16711 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16712 New macro from Linux kernel 3.4.0.
16713 (FP_XSTATE_MAGIC2): Likewise.
16714 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16715 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16716 (struct _fpx_sw_bytes): New struct.
16717 (struct _xsave_hdr): Likewise.
16718 (struct _ymmh_state): Likewise.
16719 (struct _xstate): Likewise.
16720
68e408ab
L
16721 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16722 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16723 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16724 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16725 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16726 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16727
f3d1f93c
L
16728 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16729 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16730 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16731 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16732 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16733 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16734
d9dc34cd
TMQMF
167352012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16736
16737 [BZ #13743]
16738 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16739 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16740 (sysdep_headers): Include sys/platform/ppc.h.
16741 * sysdeps/powerpc/test-gettimebase.c: Test for
16742 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16743 * manual/Makefile (appendices): Include platform.texi.
16744 * manual/contrib.texi (Contributors): Update @node pointers.
16745 * manual/maint.texi (Maintenance): Likewise.
16746 (Platform): New node.
16747 * manual/platform.texi: New file. Document the new features.
16748
4af3879c
SP
167492012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16750 Jakub Jelinek <jakub@redhat.com>
16751
16752 [BZ #14188]
16753 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16754 where __builtin_expect is unavailable.
16755
2fd6ff13
DM
167562012-06-03 David S. Miller <davem@davemloft.net>
16757
16758 * stdlib/longlong.h: Updated from GCC.
16759
173f7220
AS
167602012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16761
16762 [BZ #14042]
16763 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16764 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16765 __mcount_internal.
16766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16767 (GLIBC_2.16): Likewise.
16768
f34a1c6f
L
167692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16770
16771 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16772
88a4576f
JM
167732012-06-01 Joseph Myers <joseph@codesourcery.com>
16774
ea32bcdd
JM
16775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16776 (default-abi): New variable.
16777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16778 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16779 variable.
16780 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16781 Likewise.
16782 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16783 Likewise.
16784 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16785 Likewise.
16786
88a4576f
JM
16787 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16788 definition. Document in comment.
16789
402fe938
DM
167902012-06-01 David S. Miller <davem@davemloft.net>
16791
16792 * stdlib/longlong.h: Updated from GCC.
16793
3553723f
L
167942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16795
16796 [BZ #14117]
3bd872c4
L
16797 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16798 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16799 sys/debugreg.h sys/io.h here.
16800 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16801 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16802 sys/io.h.
16803 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16804 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16805 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16806 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16807 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16808 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16809
3553723f
L
16810 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16811 Define only if __x86_64__ is defined.
16812
4842e4fe
JM
168132012-06-01 Joseph Myers <joseph@codesourcery.com>
16814
c5bfe3d5
JM
16815 [BZ #14048]
16816 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16817 Use int64_t for variable i.
16818 * math/libm-test.inc (fmod_test): Add more tests.
16819
4842e4fe
JM
16820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16821 z computation is not scheduled after fetestexcept.
16822 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16823 Use math_force_eval instead of asm to ensure calculation scheduled
16824 before exception test.
16825 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16826 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16827
efb73488
AJ
168282012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16829
16830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16831 computation is not scheduled after fetestexcept.
16832
29bcce7c
L
168332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16834
16835 [BZ #14117]
16836 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16837 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16838
73a68f94
AZ
168392012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16840
16841 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16842 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16843
67b6df78
L
168442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16845
edf2933a 16846 [BZ #14117]
ebc64a18
L
16847 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16848 <bits/wordsize.h>.
16849 (__WCHAR_MIN): Support __WORDSIZE == 64.
16850 (__WCHAR_MAX): Likewise.
16851
edf2933a
L
16852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16853 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16854
57c6cf40
L
16855 [BZ #14183]
16856 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16857 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16858
67b6df78 16859 [BZ #14117]
8eb6281e
L
16860 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16861 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16862
aac639f4
L
16863 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16864 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16865
67b6df78
L
16866 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16867 Defined to 1 if __x86_64__ isn't defined.
16868 (_STAT_VER_LINUX_OLD): New.
16869 (st_atime): Remove duplicate.
16870 (st_mtime): Likewise.
16871 (st_ctime): Likewise.
16872
1c2cfe81
DM
168732012-05-31 David S. Miller <davem@davemloft.net>
16874
16875 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16876 entries.
16877
5be8418c
AS
168782012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16879
e7725326
AS
16880 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16881 gen-libm-test.pl.
16882
5be8418c
AS
16883 [BZ #14132]
16884 * elf/dl-reloc.c: Include <_itoa.h>.
16885 (_dl_reloc_bad_type): Remove use of INTUSE.
16886 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16887 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16888 * stdio-common/psiginfo.c (psiginfo): Likewise.
16889 * stdio-common/psignal.c (psignal): Likewise.
16890 * string/strsignal.c (strsignal): Likewise.
16891 * include/signal.h (_sys_siglist): Declare hidden proto.
16892 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16893 INTVARDEF with libc_hidden_data_def.
16894 * stdio-common/itoa-udigits.c: Likewise.
16895 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16896 (_itoa_lower_digits_internal): Remove declaration.
16897 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16898 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16899 (_sys_sigabbrev_internal): Remove aliases.
16900 (_sys_siglist): Define hidden alias.
16901
507352f1
MT
169022012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16903
16904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16905 bits/sysctl.h.
16906
42bbb1c3
L
169072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16908
16909 [BZ #14117]
6bd784b6
L
16910 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16911 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16912
8bca20f0
L
16913 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16914 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16915 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16916 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16918 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16919
f9e890a9
L
16920 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16921 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16922 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16923
471101a1
L
16924 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16925 with __addr.
16926 (insw): Likewise.
16927 (insl): Likewise.
16928 (outsb): Likewise.
16929 (outsw): Likewise.
16930 (outsl): Likewise.
16931
6451c862
L
16932 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16933 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16934 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16935
a254b8c9
L
16936 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16937 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16938 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16939 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16940 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16941 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16942
b8dfdd92
L
16943 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16944 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16945
578cd270
L
16946 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16947 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16948
de662f5f
L
16949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16951 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16952
25653439
L
16953 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16954 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16955 to ...
16956 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16957
6bad24a0
L
16958 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16959 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16960 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16961
42bbb1c3
L
16962 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16963 for x86-64.
16964 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16965
2d10d547
JM
169662012-05-31 Joseph Myers <joseph@codesourcery.com>
16967
16968 * math/math.h (M_El): Use two more decimal places.
16969 (M_LOG2El): Likewise.
16970 (M_LOG10El): Likewise.
16971 (M_LN2l): Likewise.
16972 (M_LN10l): Likewise.
16973 (M_PIl): Likewise.
16974 (M_PI_2l): Likewise.
16975 (M_PI_4l): Likewise.
16976 (M_1_PIl): Likewise.
16977 (M_2_PIl): Likewise.
16978 (M_2_SQRTPIl): Likewise.
16979 (M_SQRT2l): Likewise.
16980 (M_SQRT1_2l): Likewise.
16981
f230c29b
DM
169822012-05-31 David S. Miller <davem@davemloft.net>
16983
16984 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16985 values between float registers.
16986 * sysdeps/sparc/sparc64/memset.S: Likewise.
16987 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16988
fed806c3
MF
169892012-05-31 Mike Frysinger <vapier@gentoo.org>
16990
16991 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16992 -D_FORTIFY_SOURCE=1.
16993 (CPPFLAGS-tst-longjmp_chk.c): Define.
16994 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16995 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16996 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16997 CFLAGS-tst-wchar-h.c.
16998
30917259
MP
169992012-05-31 Marek Polacek <polacek@redhat.com>
17000
17001 [BZ #14132]
17002 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17003 __endmntent_internal): Remove declaration.
17004 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17005 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17006 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17007
1c58d5dc
DM
170082012-05-30 David S. Miller <davem@davemloft.net>
17009
17010 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17011 (___Q_simulate_exceptions): Use real FP ops rather than writing
17012 into the %fsr.
17013 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17014 Likewise.
17015
7dc00e0d
L
170162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17017
17018 [BZ #14117]
0bd53985
L
17019 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17020 * sysdeps/x86/bits/xtitypes.h: This.
17021
3a257e66
L
17022 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17023 * sysdeps/x86/bits/wordsize.h: This.
17024
62f62904
L
17025 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17026 * sysdeps/x86/bits/huge_vall.h: This.
17027
404fe9d9
L
17028 * sysdeps/i386/bits/select.h: Removed.
17029 * sysdeps/x86_64/bits/select.h: Renamed to ...
17030 * sysdeps/x86/bits/select.h: This.
17031
d48d0446
L
17032 * sysdeps/i386/bits/setjmp.h: Removed.
17033 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17034 * sysdeps/x86/bits/setjmp.h: This.
17035
7dc00e0d
L
17036 * sysdeps/i386/bits/mathdef.h: Removed.
17037 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17038 * sysdeps/x86/bits/mathdef.h: This.
17039
03277f8f
AS
170402012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17041
17042 [BZ #14132]
17043 * include/sys/socket.h (__connect_internal)
17044 (__libc_sa_len_internal): Remove declaration.
17045 (__connect, __libc_sa_len): Declare hidden_proto.
17046 (SA_LEN): Remove use of INTUSE.
17047 * socket/connect.c: Add libc_hidden_def.
17048 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17049 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17050 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17051 alias.
17052 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17053 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17054 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17055 of adding _internal alias.
17056
13764867
L
170572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17058
17059 [BZ #14117]
6bd97696
L
17060 * sysdeps/i386/bits/link.h: Removed.
17061 * sysdeps/i386/bits/linkmap.h: Likewise.
17062 * sysdeps/x86_64/bits/link.h: Renamed to ...
17063 * sysdeps/x86/bits/link.h: This.
17064 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17065 * sysdeps/x86/bits/linkmap.h: This.
17066
f726f0bb
L
17067 * sysdeps/i386/bits/endian.h: Removed.
17068 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17069 * sysdeps/x86/bits/endian.h: This.
17070
13764867
L
17071 * sysdeps/i386/bits/byteswap.h: Removed.
17072 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17073 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17074 * sysdeps/x86/bits/byteswap.h: This.
17075 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17076 * sysdeps/x86/bits/byteswap-16.h: This.
17077 * sysdeps/i386/Implies: Add x86.
17078 * sysdeps/x86_64/Implies: Likewise.
17079
ae251b0b
DM
170802012-05-30 David S. Miller <davem@davemloft.net>
17081
17082 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17083 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17084 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17085 (FP_TRAPPING_EXCEPTIONS): Define.
17086 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17087 (FP_TRAPPING_EXCEPTIONS): Define.
17088 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17089 subnormals only when inexact has been signalled or underflow
17090 exceptions are enabled.
17091 (_FP_PACK_CANONICAL): Likewise.
17092
d5c90867
L
170932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17094
17095 [BZ #14183]
17096 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17097 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17098
63f1549e
RH
170992012-05-30 Richard Henderson <rth@twiddle.net>
17100
8d8f2279
RH
17101 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17102 with #ifndef NOT_IN_libc.
17103
63f1549e
RH
17104 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17105 marked to avoid plt entry.
17106
0ab0291b
L
171072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17108
17109 [BZ #14112]
17110 * Makeconfig (default-abi): New macro.
17111 (abi-includes): Likewise.
17112 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17113 $(abi-$(default-abi)-lib-soname) for soname if defined.
17114 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17115 abi-variants.
17116 * Makefile (installed-stubs): Likewise.
17117 * include/stubs-biarch.h: Removed.
17118 * scripts/lib-names.awk: Only handle one library at a time.
17119 * scripts/soversions.awk: Remove WORDSIZE support.
17120 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17121 entries.
17122 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17123 Removed.
17124 (syscall-list-default-condition): Likewise.
17125 (syscall-list-default-condition): Likewise.
17126 (syscall-list-includes): Likewise.
17127 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17128 syscall-list-* with abi-*. Handle undefined abi-variants.
17129 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17130 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17131 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17132 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17133 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17134 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17135 Removed.
17136 (syscall-list-32-options): Likewise.
17137 (syscall-list-32-condition): Likewise.
17138 (syscall-list-64-options): Likewise.
17139 (syscall-list-64-condition): Likewise.
17140 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17141 macro.
17142 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17143 Renamed to ...
17144 (abi-*): This.
17145 (abi-64-ld-soname): New macro.
17146 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17147 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17148 Renamed to ...
17149 (abi-*): This.
17150 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17151 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17152
4da0431d
JM
171532012-05-30 Joseph Myers <joseph@codesourcery.com>
17154
3a85279c
JM
17155 * sysdeps/unix/sysv/linux/kernel-features.h
17156 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17157 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17158 include <kernel-features.h>.
17159 [!__NR_ftruncate64]: Remove conditional code.
17160 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17161 [__NR_ftruncate64]: Make code unconditional.
17162 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17163 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17164 include <kernel-features.h>.
17165 [!__NR_ftruncate64]: Remove conditional code.
17166 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17167 [__NR_ftruncate64]: Make code unconditional.
17168 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17170 include <kernel-features.h>.
17171 [!__NR_ftruncate64]: Remove conditional code.
17172 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17173 [__NR_ftruncate64]: Make code unconditional.
17174 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17176 include <kernel-features.h>.
17177 [!__NR_ftruncate64]: Remove conditional code.
17178 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17179 [__NR_ftruncate64]: Make code unconditional.
17180 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17181
4da0431d
JM
17182 * configure.in (libc_cv_fpie): Weaken to a compile test using
17183 LIBC_TRY_CC_OPTION.
17184 * configure: Regenerated.
17185
11ef492c
AK
171862012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17187
17188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17192 Refreshed.
17193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17199 Refreshed.
17200
d66ef399
DM
172012012-05-27 David S. Miller <davem@davemloft.net>
17202
17203 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17204 (___Q_zero): New.
17205 (__Q_simulate_exceptions): Return void. Change to simulate
17206 exceptions by writing into the %fsr.
17207 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17208 (__Qp_handle_exceptions): Likewise.
17209 (numbers): Delete.
17210 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17211 __Qp_handle_exceptions.
17212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17213 __Qp_handle_exceptions.
17214 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17215 as unused and give dummy FP_RND_NEAREST initializer.
17216 (FP_INHIBIT_RESULTS): Define.
17217 (___Q_simulate_exceptions): Update declaration.
17218 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17219 formatting.
17220 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17221 as unused and give dummy FP_RND_NEAREST initializer.
17222 (__Qp_handle_exceptions): Update declaration.
17223 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17224 formatting.
17225
04fb54b5
TS
172262012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17227
17228 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17229 the temporary FPU control word.
17230 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17231 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17232 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17233 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17234 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17235 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17236 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17237 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17238 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17239 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17241
3f99608f
KK
172422012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17243
17244 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17245 fields.
17246
65a4de4e
CLT
172472012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17248
17249 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17250 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17251 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17252 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17253 Likewise.
17254 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17255 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17256 Likewise.
17257
15749d40
UD
172582012-05-27 Ulrich Drepper <drepper@gmail.com>
17259
17260 * po/h.po: Update from translation team.
17261
25dbcb27
AS
172622012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17263
3d3f8e55
AS
17264 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17265
25dbcb27
AS
17266 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17267 handling of denormals.
17268 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17269 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17270 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17271 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17273 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17275 Likewise.
17276
7ad47a80 172772012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17278
17279 [BZ #14152]
17280 * math/libm-test.inc (fma_test): Don't always expect underflow
17281 exception.
17282
9c6ea9fa
SP
172832012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17284
17285 [BZ #12416]
17286 * elf/tst-execstack.c: Include stackinfo.h.
17287 (do_test): Adjust test case to ensure that pthread_getattr_np
17288 behaviour remains the same after marking stack executable.
17289
a8239222
JM
172902012-05-25 Joseph Myers <joseph@codesourcery.com>
17291
17292 * sysdeps/unix/sysv/linux/kernel-features.h
17293 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17294 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17295 kernel-features.h.
17296 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17297 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17298 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17299 kernel-features.h.
17300 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17301 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17302
918b5606
L
173032012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17304
17305 * configure.in: Define the default includes to being none.
17306 * configure: Regenerated.
17307
3a097cc7
RM
173082012-05-25 Roland McGrath <roland@hack.frob.com>
17309
8422c9a5
RM
17310 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17311 * sysdeps/x86_64/setjmp.S: Likewise.
17312 * sysdeps/i386/bsd-setjmp.S: Likewise.
17313 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17314 * sysdeps/i386/setjmp.S: Likewise.
17315 * sysdeps/i386/__longjmp.S: Likewise.
17316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17317 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17318
3a097cc7
RM
17319 * include/stap-probe.h: New file.
17320 * configure.in: Handle --enable-systemtap.
17321 * configure: Regenerated.
17322 * config.h.in (USE_STAP_PROBE): New #undef.
17323 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17324 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17325 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17326
21708942
JM
173272012-05-25 Joseph Myers <joseph@codesourcery.com>
17328
17329 [BZ #13717]
17330 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17331 to 2.4.0 where earlier.
17332 * sysdeps/unix/sysv/linux/configure: Regenerated.
17333 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
17342 [__ASSUME_32BITUIDS]: Make code unconditional.
17343 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17344 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17345 <kernel-features.h>.
17346 [__ASSUME_32BITUIDS]: Make code unconditional.
17347 [!__ASSUME_32BITUIDS]: Remove conditional code.
17348 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17349 <kernel-features.h>.
17350 [__ASSUME_32BITUIDS]: Make code unconditional.
17351 [!__ASSUME_32BITUIDS]: Remove conditional code.
17352 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17353 <kernel-features.h>.
17354 [__ASSUME_32BITUIDS]: Make code unconditional.
17355 [!__ASSUME_32BITUIDS]: Remove conditional code.
17356 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17357 <kernel-features.h>.
17358 [__ASSUME_32BITUIDS]: Make code unconditional.
17359 [!__ASSUME_32BITUIDS]: Remove conditional code.
17360 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17361 <kernel-features.h>.
17362 [__ASSUME_32BITUIDS]: Make code unconditional.
17363 [!__ASSUME_32BITUIDS]: Remove conditional code.
17364 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17365 <kernel-features.h>.
17366 [__ASSUME_32BITUIDS]: Make code unconditional.
17367 [!__ASSUME_32BITUIDS]: Remove conditional code.
17368 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17369 <kernel-features.h>.
17370 [__ASSUME_32BITUIDS]: Make code unconditional.
17371 [!__ASSUME_32BITUIDS]: Remove conditional code.
17372 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17373 <kernel-features.h>.
17374 [__ASSUME_32BITUIDS]: Make code unconditional.
17375 [!__ASSUME_32BITUIDS]: Remove conditional code.
17376 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17377 <kernel-features.h>.
17378 [__ASSUME_32BITUIDS]: Make code unconditional.
17379 [!__ASSUME_32BITUIDS]: Remove conditional code.
17380 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17381 <kernel-features.h>.
17382 [__ASSUME_32BITUIDS]: Make code unconditional.
17383 [!__ASSUME_32BITUIDS]: Remove conditional code.
17384 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17385 <kernel-features.h>.
17386 [__NR_setresgid] (__setresgid): Do not declare.
17387 [__ASSUME_32BITUIDS]: Make code unconditional.
17388 [!__ASSUME_32BITUIDS]: Remove conditional code.
17389 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17390 <kernel-features.h>.
17391 [__NR_setresuid] (__setresuid): Do not declare.
17392 [__ASSUME_32BITUIDS]: Make code unconditional.
17393 [!__ASSUME_32BITUIDS]: Remove conditional code.
17394 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17395 <kernel-features.h>.
17396 [__ASSUME_32BITUIDS]: Make code unconditional.
17397 [!__ASSUME_32BITUIDS]: Remove conditional code.
17398 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17399 <kernel-features.h>.
17400 [__ASSUME_32BITUIDS]: Make code unconditional.
17401 [!__ASSUME_32BITUIDS]: Remove conditional code.
17402 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17403 <kernel-features.h>.
17404 [__ASSUME_32BITUIDS]: Make code unconditional.
17405 [!__ASSUME_32BITUIDS]: Remove conditional code.
17406 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17407 <kernel-features.h>.
17408 [__ASSUME_32BITUIDS]: Make code unconditional.
17409 [!__ASSUME_32BITUIDS]: Remove conditional code.
17410 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17411 <kernel-features.h>.
17412 [__ASSUME_32BITUIDS]: Make code unconditional.
17413 [!__ASSUME_32BITUIDS]: Remove conditional code.
17414 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17415 <kernel-features.h>.
17416 [__ASSUME_32BITUIDS]: Make code unconditional.
17417 [!__ASSUME_32BITUIDS]: Remove conditional code.
17418 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17419 <kernel-features.h>.
17420 [__ASSUME_32BITUIDS]: Make code unconditional.
17421 [!__ASSUME_32BITUIDS]: Remove conditional code.
17422 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17423 <kernel-features.h>.
17424 [__ASSUME_32BITUIDS]: Make code unconditional.
17425 [!__ASSUME_32BITUIDS]: Remove conditional code.
17426 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17427 <kernel-features.h>.
17428 [__ASSUME_32BITUIDS]: Make code unconditional.
17429 [!__ASSUME_32BITUIDS]: Remove conditional code.
17430 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17431 <kernel-features.h>.
17432 [__ASSUME_32BITUIDS]: Make code unconditional.
17433 [!__ASSUME_32BITUIDS]: Remove conditional code.
17434 * sysdeps/unix/sysv/linux/kernel-features.h
17435 (__ASSUME_SETRESUID_SYSCALL): Remove.
17436 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17437 (__ASSUME_32BITUIDS): Likewise.
17438 (__ASSUME_LDT_WORKS): Likewise.
17439 (__ASSUME_O_DIRECTORY): Likewise.
17440 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17441 architecture but not kernel version.
17442 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17443 (__ASSUME_MMAP2_SYSCALL): Likewise.
17444 (__ASSUME_STAT64_SYSCALL): Likewise.
17445 (__ASSUME_IPC64): Likewise.
17446 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17447 <kernel-features.h>.
17448 [__ASSUME_32BITUIDS]: Make code unconditional.
17449 [!__ASSUME_32BITUIDS]: Remove conditional code.
17450 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17451 <kernel-features.h>.
17452 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17453 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17454 132096]: Remove conditional code.
17455 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17456 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17457 <kernel-features.h>.
17458 [__ASSUME_32BITUIDS]: Make code unconditional.
17459 [!__ASSUME_32BITUIDS]: Remove conditional code.
17460 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17461 <kernel-features.h>.
17462 [__ASSUME_32BITUIDS]: Make code unconditional.
17463 [!__ASSUME_32BITUIDS]: Remove conditional code.
17464 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17465 <kernel-features.h>.
17466 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17467 unconditional.
17468 (__setresgid): Do not declare.
17469 [__ASSUME_32BITUIDS]: Make code unconditional.
17470 [!__ASSUME_32BITUIDS]: Remove conditional code.
17471 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17472 <kernel-features.h>.
17473 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17474 unconditional.
17475 (__setresuid): Do not declare.
17476 [__ASSUME_32BITUIDS]: Make code unconditional.
17477 [!__ASSUME_32BITUIDS]: Remove conditional code.
17478 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17479 <kernel-features.h>.
17480 [__ASSUME_32BITUIDS]: Make code unconditional.
17481 [!__ASSUME_32BITUIDS]: Remove conditional code.
17482 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17483 <kernel-features.h>.
17484 [__ASSUME_32BITUIDS]: Make code unconditional.
17485 [!__ASSUME_32BITUIDS]: Remove conditional code.
17486
a386f1cc
RH
174872012-05-25 Richard Henderson <rth@twiddle.net>
17488
17489 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17490 dl_hwcap to ifunc resolver.
17491 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17492 elf_ifunc_invoke.
17493 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17494 dl_hwcap to ifunc resolver.
17495 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17496
b6550497
JM
174972012-05-24 Joseph Myers <joseph@codesourcery.com>
17498
17499 [BZ #14153]
17500 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17501 for |x| <= 2**-26, not 2**-57.
17502 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17503 exception.
17504
b0bc23a1
JL
175052012-05-24 Jeff Law <law@redhat.com>
17506
17507 * stdio-common/Makefile (tests): Add bug25.
17508 * stdio-common/bug25.c: New test.
17509
347c92e9
L
175102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17511
17512 [BZ #13576]
17513 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17514 multiple of MALLOC_ALIGNMENT in size.
17515 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17516
6bcc8b3f
JM
175172012-05-24 Joseph Myers <joseph@codesourcery.com>
17518
17519 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17520 Require >= 256.
17521 (FILENAME_MAX): Use macro-int-constant.
17522 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17523 (_IOFBF): Use macro-int-constant.
17524 (_IOLBF): Likewise.
17525 (_IONBF): Likewise.
17526 (SEEK_CUR): Likewise.
17527 (SEEK_END): Likewise.
17528 (SEEK_SET): Likewise.
17529 (TMP_MAX): Likewise.
17530 (EOF): Use macro-int-constant. Require < 0.
17531 (NULL): Use macro-constant. Require == 0.
17532 (stdin): Require type to be FILE *.
17533 (stdout): Likewise.
17534 (stderr): Likewise.
17535 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17536 macro-int-constant.
17537 (EXIT_SUCCESS): Likewise.
17538 (NULL): Use macro-constant. Require == 0.
17539 (RAND_MAX): Use macro-int-constant.
17540 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17541 [C99-based standards] (strtof): Require function.
17542 [C99-based standards] (strtold): Likewise.
17543 [C99-based standards] (strtoll): Likewise.
17544 [C99-based standards] (strtoull): Likewise.
17545 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17546 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17547 [ISO || ISO99 || ISO11] (math.h): Likewise.
17548 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17549 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17551
d18ea0c5
AS
175522012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17553
17554 [BZ #14132]
56d25bb8
AS
17555 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17556 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17557 * intl/dgettext.c (DCGETTEXT): Likewise.
17558 * intl/gettext.c (DCGETTEXT): Likewise.
17559 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17560 * posix/regex_internal.h (gettext): Likewise.
17561 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17562 Remove declaration.
17563 * include/argz.h (__argz_count_internal)
17564 (__argz_stringify_internal): Remove declaration.
17565 (__argz_count, __argz_stringify): Declare hidden proto.
17566 * intl/dcgettext.c: Remove use of INTDEF.
17567 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17568 * string/argz-stringify.c: Likewise.
17569 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17570 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17571 Declare hidden proto.
d18ea0c5
AS
17572 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17573 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17574 Declare hidden proto.
17575 * include/stdio.h (__asprintf_internal): Don't declare.
17576 (__asprintf): Don't define as macro. Declare hidden proto.
17577 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17578 (__fsetlocking): Declare hidden proto.
17579 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17580 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17581 hidden proto.
17582 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17583 (_IO_setlinebuf): Remove use of INTUSE.
17584 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17585 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17586 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17587 Remove declaration.
17588 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17589 (_IO_do_flush): Remove use of INTUSE.
17590 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17591 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17592 (_IO_adjust_column, _IO_least_wmarker)
17593 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17594 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17595 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17596 (_IO_default_doallocate, _IO_wdefault_doallocate)
17597 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17598 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17599 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17600 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17601 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17602 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17603 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17604 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17605 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17606 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17607 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17608 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17609 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17610 proto.
17611 (_IO_flush_all_internal, _IO_adjust_column_internal)
17612 (_IO_default_uflow_internal, _IO_default_finish_internal)
17613 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17614 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17615 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17616 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17617 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17618 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17619 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17620 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17621 (_IO_file_close_internal, _IO_file_close_it_internal)
17622 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17623 (_IO_file_init_internal, _IO_file_attach_internal)
17624 (_IO_file_fopen_internal, _IO_file_read_internal)
17625 (_IO_file_sync_internal, _IO_file_seek_internal)
17626 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17627 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17628 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17629 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17630 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17631 (_IO_list_all_internal, _IO_link_in_internal)
17632 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17633 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17634 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17635 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17636 (_IO_do_write_internal, _IO_padn_internal)
17637 (_IO_getline_info_internal, _IO_getline_internal)
17638 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17639 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17640 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17641 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17642 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17643 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17644 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17645 with libc_hidden_ver, remove use of INTUSE.
17646 * libio/genops.c: Likewise.
17647 * libio/freopen.c: Likewise.
17648 * libio/freopen64.c: Likewise.
17649 * libio/iofclose.c: Likewise.
17650 * libio/iofdopen.c: Likewise.
17651 * libio/iofflush.c: Likewise.
17652 * libio/iofflush_u.c: Likewise.
17653 * libio/iofgets.c: Likewise.
17654 * libio/iofgets_u.c: Likewise.
17655 * libio/iofopen.c: Likewise.
17656 * libio/iofopncook.c: Likewise.
17657 * libio/iofread.c: Likewise.
17658 * libio/iofread_u.c: Likewise.
17659 * libio/ioftell.c: Likewise.
17660 * libio/iofwrite.c: Likewise.
17661 * libio/iogetline.c: Likewise.
17662 * libio/iogets.c: Likewise.
17663 * libio/iogetwline.c: Likewise.
17664 * libio/iopadn.c: Likewise.
17665 * libio/iopopen.c: Likewise.
17666 * libio/ioseekoff.c: Likewise.
17667 * libio/ioseekpos.c: Likewise.
17668 * libio/iosetbuffer.c: Likewise.
17669 * libio/iosetvbuf.c: Likewise.
17670 * libio/ioungetc.c: Likewise.
17671 * libio/ioungetwc.c: Likewise.
17672 * libio/iovdprintf.c: Likewise.
17673 * libio/iovsprintf.c: Likewise.
17674 * libio/iovsscanf.c: Likewise.
17675 * libio/memstream.c: Likewise.
17676 * libio/obprintf.c: Likewise.
17677 * libio/oldfileops.c: Likewise.
17678 * libio/oldiofclose.c: Likewise.
17679 * libio/oldiofdopen.c: Likewise.
17680 * libio/oldiofopen.c: Likewise.
17681 * libio/oldiopopen.c: Likewise.
17682 * libio/oldstdfiles.c: Likewise.
17683 * libio/putc.c: Likewise.
17684 * libio/setbuf.c: Likewise.
17685 * libio/setlinebuf.c: Likewise.
17686 * libio/stdfiles.c: Likewise.
17687 * libio/strops.c: Likewise.
17688 * libio/vasprintf.c: Likewise.
17689 * libio/vscanf.c: Likewise.
17690 * libio/vsnprintf.c: Likewise.
17691 * libio/vswprintf.c: Likewise.
17692 * libio/wfiledoalloc.c: Likewise.
17693 * libio/wfileops.c: Likewise.
17694 * libio/wgenops.c: Likewise.
17695 * libio/wmemstream.c: Likewise.
17696 * libio/wstrops.c: Likewise.
17697 * libio/__fpurge.c: Likewise.
17698 * libio/__fsetlocking.c: Likewise.
17699 * assert/assert.c: Likewise.
17700 * debug/fgets_chk.c: Likewise.
17701 * debug/fgets_u_chk.c: Likewise.
17702 * debug/fread_chk.c: Likewise.
17703 * debug/fread_u_chk.c: Likewise.
17704 * debug/gets_chk.c: Likewise.
17705 * debug/obprintf_chk.c: Likewise.
17706 * debug/vasprintf_chk.c: Likewise.
17707 * debug/vdprintf_chk.c: Likewise.
17708 * debug/vsnprintf_chk.c: Likewise.
17709 * debug/vsprintf_chk.c: Likewise.
17710 * malloc/mtrace.c: Likewise.
17711 * misc/error.c: Likewise.
17712 * misc/syslog.c: Likewise.
17713 * stdio-common/asprintf.c: Likewise.
17714 * stdio-common/fxprintf.c: Likewise.
17715 * stdio-common/getw.c: Likewise.
17716 * stdio-common/isoc99_fscanf.c: Likewise.
17717 * stdio-common/isoc99_scanf.c: Likewise.
17718 * stdio-common/isoc99_vfscanf.c: Likewise.
17719 * stdio-common/isoc99_vscanf.c: Likewise.
17720 * stdio-common/isoc99_vsscanf.c: Likewise.
17721 * stdio-common/printf-prs.c: Likewise.
17722 * stdio-common/printf_fp.c: Likewise.
17723 * stdio-common/printf_fphex.c: Likewise.
17724 * stdio-common/printf_size.c: Likewise.
17725 * stdio-common/putw.c: Likewise.
17726 * stdio-common/scanf.c: Likewise.
17727 * stdio-common/sprintf.c: Likewise.
17728 * stdio-common/tmpfile.c: Likewise.
17729 * stdio-common/vfprintf.c: Likewise.
17730 * stdio-common/vfscanf.c: Likewise.
17731 * stdlib/strfmon_l.c: Likewise.
17732 * sunrpc/openchild.c: Likewise.
17733 * sunrpc/xdr_stdio.c: Likewise.
17734 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17735 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17736
d6c33fda
RM
177372012-05-24 Roland McGrath <roland@hack.frob.com>
17738
c1487492
RM
17739 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17740
17741 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17742 in the third column, to generate for the shared library an IFUNC
17743 that uses _dl_vdso_vsym.
17744 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17745 * Makeconfig (object-suffixes-noshared): New variable.
17746
17747 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17748 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17749 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17750 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17751
d6c33fda
RM
17752 [BZ #14132]
17753 * include/sys/time.h (__gettimeofday): Remove macro.
17754 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17755 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17756 Remove INTDEF.
17757 (__gettimeofday): Add libc_hidden_def.
17758 (gettimeofday): Add libc_hidden_weak.
17759 * sysdeps/mach/gettimeofday.c: Likewise.
17760 * sysdeps/posix/gettimeofday.c: Likewise.
17761 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17762 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17764 (__gettimeofday_internal): Remove strong_alias.
17765 (__gettimeofday): Add libc_hidden_def.
17766 (gettimeofday): Add libc_hidden_weak.
17767 * sysdeps/unix/syscalls.list (gettimeofday):
17768 Remove __gettimeofday_internal alias.
17769
b5a2bbe6
L
177702012-05-24 Daniel Jacobowitz <drow@false.org>
17771 H.J. Lu <hongjiu.lu@intel.com>
17772
17773 [BZ #12495]
17774 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17775 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17776 (largebin_index_32_big): New.
17777 (largebin_index): Use it for 16-byte alignment.
17778 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17779 correction with front_misalign.
17780
cfba4fda
L
177812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17782
7f907421
L
17783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17785 Likewise.
17786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17787 Likewise.
17788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17789 Likewise.
17790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17791 Likewise.
17792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17793 Likewise.
17794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17795 Likewise.
17796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17797 Likewise.
17798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17799 Likewise.
17800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17801 Likewise.
17802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17803 Likewise.
17804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17805 Likewise.
17806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17807 Likewise.
17808
cfba4fda
L
17809 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17810 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17811
80bad0cc
JM
178122012-05-24 Joseph Myers <joseph@codesourcery.com>
17813
7a25eb06
JM
17814 [BZ #10846]
17815 [BZ #14036]
17816 * math/libm-test.inc (exp_test): Add test from bug 14036.
17817 (pow_test): Add test from bug 10846.
17818
795405f9
JM
17819 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17820 and other flags.
17821 (special_function): Do not include flags in test name.
17822 (parse_args): Likewise.
17823 * sysdeps/i386/fpu/libm-test-ulps: Update.
17824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17825 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17826 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17828
80bad0cc
JM
17829 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17830 exceptions.
17831 * math/libm-test.inc ("Philosophy"): Update comment about
17832 exception testing.
17833 (UNDERFLOW_EXCEPTION): New macro.
17834 (UNDERFLOW_EXCEPTION_OK): Likewise.
17835 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17836 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17837 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17838 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17839 (INVALID_EXCEPTION_OK): Update value.
17840 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17841 (OVERFLOW_EXCEPTION_OK): Likewise.
17842 (IGNORE_ZERO_INF_SIGN): Likewise.
17843 (test_exceptions): Handle underflow exceptions.
17844 (acos_test): Update for underflow exception expectations.
17845 (cexp_test): Likewise.
17846 (clog_test): Likewise.
17847 (clog10_test): Likewise.
17848 (csqrt_test): Likewise.
17849 (ctan_test): Likewise.
17850 (ctanh_test): Likewise.
17851 (exp_test): Likewise.
17852 (exp10_test): Likewise.
17853 (exp2_test): Likewise.
17854 (expm1_test): Likewise.
17855 (fma_test): Likewise.
17856 (j0_test): Likewise.
17857 (jn_test): Likewise.
17858 (nexttoward_test): Likewise.
17859 (pow_test): Likewise.
17860 (scalbn_test): Likewise.
17861 (scalbln_test): Likewise.
17862 (tan_test): Likewise.
17863 (y1_test): Likewise.
17864 * sysdeps/i386/fpu/libm-test-ulps: Update.
17865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17866
9e0e3d0b
DM
178672012-05-23 David S. Miller <davem@davemloft.net>
17868
17869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17870 (__libc_sigaction): Remove unused local variables.
17871
ccd0a08f
L
178722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17873
17874 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17875
62bdf9a6
PE
178762012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17877
f8591f80
PE
17878 mktime: avoid signed integer overflow
17879 * time/mktime.c (__mktime_internal): Do not mishandle the case
17880 where diff == INT_MIN.
17881
94c7d826
PE
17882 mktime: simplify computation of average
17883 * time/mktime.c (ranged_convert): Use new time_t_avg function
17884 instead of rolling our own (probably-slower) code.
17885
ce73d683
PE
17886 mktime: do not assume signed right shift propagates sign bit
17887 * time/mktime.c (isdst_differ): New static function.
17888 (__mktime_internal): No need to normalize tm_isdst now.
17889 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17890 tm_isdst values.
17891
72a22e59
PE
17892 mktime: merge another wrapv change from gnulib
17893 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17894 from some compilers.
17895
68605433
PE
17896 mktime: remove incorrect attempt at unusual arithmetics
17897 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17898 The code didn't really work on such machines anyway.
17899 (TYPE_MINIMUM): Assume two's complement.
17900 (twos_complement_arithmetic): Verify that long_int and time_t
17901 are two's complement (or unsigned, in the latter case).
17902
03cf7fe3
PE
17903 mktime: check signed shifts on long_int and time_t, too
17904 * time/mktime.c (SHR): Check that shifts work as desired
17905 on the types long_int and time_t too, as SHR is used on
17906 such types.
17907
f04dfbc2
PE
17908 mktime: do not assume 'long' is wide enough
17909 * time/mktime.c (verify): Move decl up.
17910 (long_int): New type.
17911 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17912 to remove assumption in the code that 'long' is wide enough to
17913 store year values. This assumption is not true on x32 and on
17914 some non-glibc platforms.
17915
62bdf9a6
PE
17916 mktime: merge wrapv change from gnulib
17917 * time/mktime.c (WRAPV): New macro.
17918 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17919 (guess_time_tm, __mktime_internal): Do not assume that signed
17920 integer overflow wraps around; modern compilers generate code
17921 where this assumption is no longer valid.
17922
5e292e4f
L
179232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17924
17925 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17926 Replace "jmp L(pseudo_end)" with "ret".
17927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17928 Likewise.
17929
8caf8c87
AJ
179302012-05-23 Andreas Jaeger <aj@suse.de>
17931
17932 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17933 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17934
1a09dc56
AJ
179352012-05-23 Andreas Jaeger <aj@suse.de>
17936 Maximilian Attems <max@stro.at>
17937
17938 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17939 New macros.
17940
1c87aba0
L
179412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17942
17943 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17944 code so that pseudo_end is just ret and the stack pointer is
17945 correct also for static library in error case.
17946
40e45bd5
JM
179472012-05-23 Joseph Myers <joseph@codesourcery.com>
17948
c2670533
JM
17949 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17950 move to syscalls.list.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17955
40e45bd5
JM
17956 * manual/install.texi (Running make install): Do not mention Linux
17957 kernel version for which pt_chown is not needed.
17958 (Linux): Do not mention problems with nscd with 2.0 kernels.
17959 * INSTALL: Regenerated.
17960
be08eda5
AJ
179612012-05-23 Andreas Jaeger <aj@suse.de>
17962
17963 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17964 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17965 macro.
17966 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17968 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17969 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17970 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17971 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17972 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17973 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17974 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17975 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17976 * sysdeps/unix/sysv/linux/bits/in.h
17977 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17978
a6a056bb
RM
179792012-05-22 Roland McGrath <roland@hack.frob.com>
17980
17981 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17982 (PREPARE_VERSION): Just use assert instead, it will be elided
17983 under [NDEBUG] anyway.
17984
c9009328
L
179852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17986
17987 * sysdeps/unix/sysv/linux/Makefile: Include
17988 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17989 (sysdep_routines): Remove sysctl.
c9009328
L
17990 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17991 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17992 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17993 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17994 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17995
73338355
AJ
179962012-05-22 Andreas Jaeger <aj@suse.de>
17997
17998 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17999 that pseudo_end is just ret and the stack pointer is correct also
18000 for static library in error case.
18001
d44638b0
PP
180022012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18003
18004 [BZ #14122]
18005 * nss/nsswitch.c (defconfig_entries): New variable.
18006 (__nss_database_lookup): Don't leak defconfig entries.
18007 (nss_parse_service_list): Don't leak on error paths.
18008 (free_database_entries): New function.
18009 (free_defconfig): New function.
18010 (free_mem): Move common code to free_database_entries.
18011
31a39bd8
L
180122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18013
da0331a8
L
18014 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18015 Add arch_prctl.
18016 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18017
31a39bd8
L
18018 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18019 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18021 New macro.
18022 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18023 (INTERNAL_SYSCALL_TYPES): Likewise.
18024 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18025 (LOAD_REGS_TYPES_[1-6]): Likewise.
18026 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18027 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18028
45470df3
AZ
180292012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18030
18031 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18032 copysignl for GLIBC_2_0.
18033 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18034 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18035 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18036 logbl for GLIBC_2_0.
18037 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18038 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18039
98a61bcb
L
180402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18041
a4f6e481
L
18042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18043 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18044
f63d5db6
L
18045 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18046 Use "neg %eax".
18047
98a61bcb
L
18048 * time/mktime.c: Update copyright years.
18049
95770f14
PE
180502012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18051
6226efbd
PE
18052 mktime: merge comment-quoting-style change from gnulib
18053 * time/mktime.c: Quote 'like this' in comments.
18054 The GNU coding standards suggest that we no longer quote `like this',
18055 as "`" and "'" are typically rendered asymmetrically nowadays.
18056 The typical gnulib style is to quote 'like this' when quoting
18057 code, and "like this" when quoting English.
18058
b99e4f78
PE
18059 * time/mktime.c (compile-command): Add "-I.".
18060
643e01e6
PE
18061 mktime: merge mktime-internal.h change from gnulib
18062 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18063
2554247d
PE
18064 mktime: merge time_r change from gnulib
18065 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18066
826dd0ab
PE
18067 mktime: merge DEBUG change from gnulib
18068 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18069 case system <time.h> has a #define.
18070
bd83aabe
PE
18071 mktime: merge <sys/types.h> change from gnulib
18072 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18073 since <time.t> is now guaranteed to define time_t.
18074
95770f14
PE
18075 mktime: merge HAVE_CONFIG_H change from gnulib
18076 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18077
5e1a27a9
L
180782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18079
0e44a77e
L
18080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18081 Use "neg %eax".
18082
5e1a27a9
L
18083 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18084 __rlim_t cast.
18085 (struct rusage): Use anonymous union to pad each field to
18086 __syscall_slong_t.
18087
46259bec
DM
180882012-05-21 David S. Miller <davem@davemloft.net>
18089
18090 * Makefules (o-iterator): Remove .s cases.
18091 (compile-command.s): Delete.
18092 (COMPILE.s): Delete.
18093 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18094
59f0c22e
JM
180952012-05-21 Joseph Myers <joseph@codesourcery.com>
18096
18097 * configure.in (libc_cv_predef_stack_protector): Only consider
18098 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18099 * configure: Regenerated.
18100
20c07380
L
181012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18102
bbb3154b
L
18103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18104 New macro. Use R*LP on int and pointer.
18105 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18106 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18107 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18108 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18109
20c07380
L
18110 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18111 [__WORDSIZE_TIME64_COMPAT32] instead of
18112 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18113 (struct utmp): Likewise.
18114 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18115 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18116 Renamed to ...
18117 (__WORDSIZE_TIME64_COMPAT32): This.
18118 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18119 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18120 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18121 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18122 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18123 (__WORDSIZE_TIME64_COMPAT32): New macro.
18124
d8d1017e
AJ
181252012-05-21 Andreas Jaeger <aj@suse.de>
18126
18127 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18128 only if [SHARED]. Add prototype for __wcschr_ia32.
18129
6c7fb145
RM
181302012-05-21 Roland McGrath <roland@hack.frob.com>
18131
18132 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18133 of %rbp unmolested in the jmp_buf while mangling the low bits.
18134 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18135 unmolested high bits of %rbp while demangling the low bits.
18136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18137
66274218
AJ
181382012-05-21 Andreas Jaeger <aj@suse.de>
18139
07c58f8f
AJ
18140 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18141 * sunrpc/svc_simple.c: Use it for registerrpc.
18142 * sunrpc/xcrypt.c: Use it for passwd2des.
18143
66274218
AJ
18144 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18145
61f65140
L
181462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18147
18148 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18149 Don't define if [__SYSCALL_WORDSIZE != 32].
18150 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18151 New macro.
18152
5fefb436
AJ
181532012-05-21 Bruno Haible <bruno@clisp.org>
18154 Andreas Jaeger <aj@suse.de>
18155
18156 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18157 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18158 inptr and inend for must_buffer_ch.
18159 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18160 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18161 * stdio-common/Makefile (tests): Remove bug15.
18162 (bug15-ENV): Remove macro.
18163 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18164 anymore.
18165
d8e272ab
AJ
181662012-05-19 Andreas Jaeger <aj@suse.de>
18167 Roland McGrath <roland@hack.frob.com>
18168
18169 * manual/contrib.texi: Completely rewritten. It contains now an
18170 alphabetical list of contributors and their contributions.
18171
4a56a162
RH
181722012-05-21 Richard Henderson <rth@twiddle.net>
18173
18174 * misc/getauxval.c (__getauxval): Use unsigned long int.
18175 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18176 (getauxval): Use unsigned long int.
18177
d024d23c
L
181782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18179
18180 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18181
cbc00a03
RM
181822012-05-21 Roland McGrath <roland@hack.frob.com>
18183
18184 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18185 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18186 __alignof__ (long double).
18187
478143fa
AZ
181882012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18189
18190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18191
c7683a6d
RH
181922012-05-20 Richard Henderson <rth@twiddle.net>
18193
18194 * misc/getauxval.c: New file.
18195 * misc/sys/auxv.h: New file.
18196 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18197 (routines): Add getauxval.
18198 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18199 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18200 * elf/dl-sysdep.c (_dl_auxv): Remove.
18201 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18202 * elf/dl-support.c (_dl_auxv): New variable.
18203 (_dl_aux_init): Initialize it.
18204 * manual/startup.texi (Auxiliary Vector): New node.
18205 * sysdeps/generic/bits/hwcap.h: New file.
18206 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18207 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18208 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18209 * sysdeps/sparc/sysdep.h: ... here. Include it.
18210 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18211 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18213 Update.
c7683a6d
RH
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18222
a6f1845d
AZ
182232012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18224
18225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18226
cbcbe830
DM
182272012-05-19 David S. Miller <davem@davemloft.net>
18228
18229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18230
e0b16cc2
JM
182312012-05-19 Joseph Myers <joseph@codesourcery.com>
18232
18233 [BZ #14123]
18234 * math/s_ccosh.c: Include <float.h>
18235 (__ccosh): Avoid internal overflow calculating sinh and cosh
18236 values before multiplying by sin and cos values.
18237 * math/s_ccoshf.c: Likewise.
18238 * math/s_ccoshl.c: Likewise.
18239 * math/s_csin.c: Likewise.
18240 * math/s_csinf.c: Likewise.
18241 * math/s_csinl.c: Likewise.
18242 * math/s_csinh.c: Likewise.
18243 * math/s_csinhf.c: Likewise.
18244 * math/s_csinhl.c: Likewise.
18245 * math/libm-test.inc (ccos_test): Add more tests.
18246 (ccosh_test): Likewise.
18247 (csin_test): Likewise.
18248 (csinh_test): Likewise.
18249 * sysdeps/i386/fpu/libm-test-ulps: Update.
18250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18251
6ad13e08
L
182522012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18253
f66f0ce8
L
18254 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18255 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18256
6ad13e08
L
18257 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18258
b1d072a7
JM
182592012-05-19 Joseph Myers <joseph@codesourcery.com>
18260
18261 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18262 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18263 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18264 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18265 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18266 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18267 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18268 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18269 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18270 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18271 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18272 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18273 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18274 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18275 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18276 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18277 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18278 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18279 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18280 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18281 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18282 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18283 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18284 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18285 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18286 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18287 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18288 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18289 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18290 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18291 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18292
9eae47cb
AJ
182932012-05-18 Andreas Jaeger <aj@suse.de>
18294
18295 * csu/.gitignore: Delete.
18296
bb07f69f
L
182972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18298
18299 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18300 (timex): Use __syscall_slong_t.
18301
e6bdb741
AJ
183022012-05-18 Andreas Jaeger <aj@suse.de>
18303 Carlos O'Donell <carlos_odonell@mentor.com>
18304
18305 * manual/install.texi (Configuring and compiling): Update
18306 description about files modified in the source directory.
d6c33fda 18307 * INSTALL: Regenerated.
e6bdb741 18308
1b74487e
L
183092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18310
18311 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18312 value. Use "or" to set return value to -1.
18313 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18314 negate return value.
18315
a88b64b9
TMQMF
183162012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18317
18318 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18319 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18320 failure if the compiler has Graphite support disabled.
18321 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18322 Likewise.
18323 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18324 CFLAGS-memmove.c): Likewise.
18325 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18326 Likewise.
18327
3707636e
L
183282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18329
610b8622
L
18330 * sysdeps/x86_64/x32/_itoa.h: New file.
18331
7cd195df
L
18332 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18333 getdents system call only if kernel and user dirents have the
18334 same d_ino and d_off.
18335
94b07d20
L
18336 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18337 LLONG_MAX != LONG_MAX.
18338 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18339 (_fitoa_word): Likewise.
18340
18298070
L
18341 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18342 years.
18343 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18344 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18345 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18346
553c7ea4
L
18347 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18348 include <bits/wordsize.h>. Check __x86_64__ instead of
18349 __WORDSIZE.
18350 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18351 if __x86_64__ is defined. Use anonymous union on fpstate.
18352
3707636e
L
18353 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18354 anonymous union.
18355
b53ef01a
AS
183562012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18357
37fb1dc0
AS
18358 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18359 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18360 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18361 Refer to _rtld_local_ro instead of _rtld_global_ro.
18362 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18363 Likewise.
18364 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18365 Likewise.
18366 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18367 Likewise.
18368 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18369 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18370 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18371
b53ef01a
AS
18372 * sysdeps/powerpc/powerpc32/dl-machine.c
18373 (__elf_machine_runtime_setup) [PROF]: Don't reference
18374 _dl_prof_resolve.
18375
7a185db2
AJ
183762012-05-18 Andreas Jaeger <aj@suse.de>
18377
18378 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18379 function only available for GCCs before 3.4 since GCC 3.4
18380 introduced a builtin.
18381 (lrint): Likewise.
18382 (llrintf): Likewise.
18383 (llrint): Likewise.
18384 (fmaxf): Likewise.
18385 (fmax): Likewise.
18386 (fminf): Likewise.
18387 (fmin): Likewise.
18388 (rint): Likewise.
18389 (rintf): Likewise.
18390 (nearbyint): Likewise.
18391 (nearbyintf): Likewise.
18392 (ceil): Likewise.
18393 (ceilf): Likewise.
18394 (floor): Likewise.
18395 (floorf): Likewise.
18396
3e5aef87
L
183972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18398
428bd707
L
18399 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18400 on both fields and cast pointer to __syscall_ulong_t.
18401
3e5aef87
L
18402 * bits/types.h (__fsword_t): New type.
18403 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18404 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18405 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18406 (__FSWORD_T_TYPE): Likewise.
18407 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18408 (__FSWORD_T_TYPE): Likewise.
18409 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18410 (__FSWORD_T_TYPE): Likewise.
18411 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18412 (__FSWORD_T_TYPE): Likewise.
18413 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18414 __SWORD_TYPE with __fsword_t.
18415 (statfs64): Likewise.
18416
1ba7c3dc
DM
184172012-05-17 David S. Miller <davem@davemloft.net>
18418
18419 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18420
59910343
AJ
184212012-05-17 Andreas Jaeger <aj@suse.de>
18422
18423 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18424 warning.
18425
2e4c1e9e
L
184262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18427
18428 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18429
de7f5ce7
AJ
184302012-05-17 Andreas Jaeger <aj@suse.de>
18431
18432 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18433 when it is used.
18434
286abc3d
CM
184352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18436
18437 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18438
477cc68e
L
184392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18440
18441 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18442 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18443
1a0994f5
CD
184442012-05-17 Andreas Jaeger <aj@suse.de>
18445 Carlos O'Donell <carlos_odonell@mentor.com>
18446
18447 [BZ #14059]
18448 * sysdeps/x86_64/multiarch/init-arch.h
18449 (bit_YMM_Usable): Rename to...
18450 (bit_AVX_Usable): ... this.
18451 (bit_FMA4_Usable): New macro.
18452 (bit_XMM_state): New macro.
18453 (bit_YMM_state): New macro.
18454 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18455 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18456 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18457 (CPUID_OSXSAVE): New macro.
18458 (CPUID_AVX): New macro.
18459 (CPUID_FMA4): New macro.
18460 (index_YMM_Usable): Rename to...
18461 (index_AVX_Usable): ... this.
18462 (HAS_AVX): Use HAS_ARCH_FEATURE.
18463 (HAS_FMA4): Likewise.
18464 (HAS_YMM_USABLE): Remove.
18465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18466 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18467 are present.
18468 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18469 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18470 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18471 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18472 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18473
0af797de
CM
184742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18475
18476 * math/libm-test.c: Support platforms without multiple rounding modes.
18477 * math/bug-nextafter.c: Support platforms without FP exceptions.
18478 * math/bug-nexttoward.c: Likewise.
18479 * math/test-fenv.c: Likewise.
18480 * math/test-misc.c: Likewise.
18481 * stdlib/bug-getcontext.c: Likewise.
18482
e39745ff
AJ
184832012-05-17 Andreas Jaeger <aj@suse.de>
18484
18485 * manual/examples/search.c (critter_cmp): Change signature to
18486 avoid warnings.
18487 * manual/string.texi (Collation Functions): Likewise.
18488
48970aba
L
184892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18490
18491 * bits/types.h: Fold copyright years.
18492 * bits/typesizes.h: Likewise.
18493 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18495 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18497 * time/time.h: Likewise.
18498
bedee953
PP
184992012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18500
18501 [BZ #208]
18502 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18503 in instead of returning them. Return void.
18504 (__libc_mallinfo): Accumulate over all arenas.
18505 (__malloc_stats): Adjust for change in int_mallinfo interface.
18506
61653dfb
RM
185072012-05-16 Roland McGrath <roland@hack.frob.com>
18508
30b99d79
RM
18509 [BZ #10375]
18510 * configure.in (NM): Add AC_CHECK_TOOL for it.
18511 (libc_extra_cflags): New substituted variable.
18512 Check for -fstack-protector being used implicitly.
18513 * configure: Regenerated.
18514 * config.make.in (config-extra-cflags): New variable,
18515 gets @libc_extra_cflags@.
18516 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18517
61653dfb
RM
18518 [BZ #10375]
18519 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18520 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18521 * configure: Regenerated.
18522 * config.make.in (CPPUNDEFS): New substituted variable.
18523 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18524 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18525 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18526
661768bb
L
185272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18528
18529 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18530 (mq_attr): Use __syscall_slong_t.
18531
d4261567
L
185322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18533
18534 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18535 Check __x86_64__ instead of __WORDSIZE.
18536 (_STAT_VER_LINUX): Likewise.
18537 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18538 __syscall_ulong_t and __syscall_slong_t.
18539 (stat64): Likewise.
18540
cf3ff365
L
185412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18542
18543 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18544
76cf3e4d
L
185452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18546
18547 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18548
a637753a
L
185492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18550
18551 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18552 __syscall_ulong_t.
18553
d5e05119
L
18554 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18555 include <bits/wordsize.h>. Check __x86_64__ instead of
18556 __WORDSIZE.
18557 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18558 defined.
18559 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18560
f62ee380
L
18561 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18562 include <bits/wordsize.h>. Check __x86_64__ instead of
18563 __WORDSIZE.
18564 (user_regs_struct): Use "__extension__ unsigned long long"
18565 instead of "unsigned long" if __x86_64__ is defined.
18566 (user): Likewise. Pad after pointer field if __ILP32__ is
18567 defined.
18568
4e124ced
JM
185692012-05-16 Joseph Myers <joseph@codesourcery.com>
18570
6a3951a0
JM
18571 * configure.in (makeinfo): Require version 4.5 or later. Allow
18572 versions 5 to 9.
18573 * configure: Regenerated.
18574 * manual/install.texi (texinfo): Increase version requirement to
18575 4.5 or later.
18576 * INSTALL: Regenerated.
18577
4e124ced
JM
18578 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18579
953ca31a
L
185802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18581
18582 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18583
617aca05
L
18584 * sysdeps/x86_64/x32/ffs.c: New file.
18585
5762f7ae
L
18586 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18587 __syscall_ulong_t.
18588 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18589 defined. Use __syscall_ulong_t.
18590 (shminfo): Use __syscall_ulong_t.
18591 (shm_info): Likewise.
18592
a26b6856
L
18593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18594 __syscall_ulong_t.
18595
cb2b9ef7
L
18596 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18597 <bits/wordsize.h>.
18598 (msgqnum_t): Use __syscall_ulong_t.
18599 (msglen_t): Likewise.
18600 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18601 __syscall_ulong_t.
18602
34683bb0
L
18603 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18604 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18605
84a68786
L
18606 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18607
48baa5f1
L
18608 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18609 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18610
180be88b
L
18611 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18612 __syscall_slong_t.
18613
5e90c8ad
L
18614 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18615 include <bits/wordsize.h>. Check __x86_64__ instead of
18616 __WORDSIZE.
18617
23dfb58b
L
18618 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18619 "unsigned long long int" if __x86_64__ is defined.
18620 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18621
ce5d54b0
L
18622 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18623 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18624 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18625
13dc9eac
L
18626 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18627 <stdint.h>.
18628 (GET_PC): Cast to uintptr_t first.
18629 (GET_FRAME): Likewise.
18630 (GET_STACK): Likewise.
18631
a7895d15
L
18632 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18634 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18635 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18636 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18637 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18638 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18639 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18640 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18641 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18642 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18643 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18644 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18645 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18646 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18647 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18648 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18649 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18650 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18651 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18652 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18653 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18654 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18655 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18656 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18657 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18658 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18659 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18660 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18661
656416c9
AS
186622012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18663
5bd66283
AS
18664 * Makerules (+depfiles): Also collect depfiles from .oS in
18665 $(extra-objs).
18666 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18667 .oS, $(libnldbl-routines)).
18668
656416c9
AS
18669 * Makerules (native-compile-mkdep-flags): Define.
18670 * sunrpc/Makefile (extra-objs): Add $(addprefix
18671 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18672 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18673 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18674 calling $(make-target-directory).
18675
a46f2169
L
186762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18677
18678 * bits/types.h (__snseconds_t): Removed.
18679 * time/time.h (struct timespec): Replace __snseconds_t with
18680 __syscall_slong_t.
18681 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18682 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18683 Likewise.
18684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18685 (__SNSECONDS_T_TYPE): Likewise.
18686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18687 (__SNSECONDS_T_TYPE): Likewise.
18688 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18689 (__SNSECONDS_T_TYPE): Likewise.
18690
6af6528b
L
186912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18692
18693 * sysdeps/mach/hurd/bits/typesizes.h
18694 (__SYSCALL_SLONG_TYPE): New macro.
18695 (__SYSCALL_ULONG_TYPE): Likewise.
18696
de986b56
L
186972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18698
18699 * bits/types.h (__syscall_slong_t): New type.
18700 (__syscall_ulong_t): Likewise.
18701
18702 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18703 (__SYSCALL_ULONG_TYPE): Likewise.
18704 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18705 (__SYSCALL_SLONG_TYPE): Likewise.
18706 (__SYSCALL_ULONG_TYPE): Likewise.
18707 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18708 (__SYSCALL_SLONG_TYPE): Likewise.
18709 (__SYSCALL_ULONG_TYPE): Likewise.
18710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18711 (__SYSCALL_SLONG_TYPE): Likewise.
18712 (__SYSCALL_ULONG_TYPE): Likewise.
18713
85736dc7
L
187142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18715
18716 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18717 Add sigaltstack-offsets.sym.
18718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18719 <sigaltstack-offsets.h>.
18720 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18721 longjmp_msg pointer.
18722 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18723 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18724 signal stack.
18725 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18726
cc03b296
JM
187272012-05-15 Joseph Myers <joseph@codesourcery.com>
18728
a9538892
JM
18729 * elf/stackguard-macros.h: Remove file.
18730 * sysdeps/generic/stackguard-macros.h: New file.
18731 * sysdeps/i386/stackguard-macros.h: Likewise.
18732 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18733 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18734 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18735 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18736 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18737 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18738 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18739 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18740 <elf/stackguard-macros.h>.
18741
cc03b296
JM
18742 [BZ #14109]
18743 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18744 __aligned__ in attribute.
18745 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18746 (gregset_t): Likewise.
18747
93171016
L
187482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18749
18750 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18751 * sysdeps/x86_64/64/Implies-after: Here. New file.
18752 * sysdeps/x86_64/x32/Implies-after: New file.
18753
d86813a0
L
187542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18755
18756 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18757 and access return value for _dl_profile_fixup. Use R10_LP to
18758 load frame size.
18759
2953ec75
L
187602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18761
18762 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18763
3b550e9e
L
187642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18765
18766 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18767 * sysdeps/x86_64/x32/sysdep.h: New file.
18768
eda41706
L
187692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18770
18771 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18772 * sysdeps/x86_64/setjmp.S: Likewise.
18773
9ea01d93
AZ
187742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18775
18776 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18777 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18778 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18779 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18780 remove unused global constant.
18781
02a91938
CM
187822012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18783
18784 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18785 include of <not-cancel.h>.
18786
6540185f
RM
187872012-05-15 Roland McGrath <roland@hack.frob.com>
18788
18789 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18790
509072a0
AJ
187912012-05-15 Jeff Law <law@redhat.com>
18792 Andreas Jaeger <aj@suse.de>
18793
18794 [BZ #13594]
18795 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18796 out from...
18797 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18798 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18799 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18800 code changing __hst_map_handle.map.
18801
ba75122d
RM
188022012-05-15 Roland McGrath <roland@hack.frob.com>
18803
18804 * configure.in (sysnames): Look for Implies-before and Implies-after
18805 files.
18806 * configure: Regenerated.
18807
890d8bd8
L
188082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18809
18810 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18811 8-byte data alignment with LP_SIZE alignment.
18812
f6ee6623
L
188132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18814
18815 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18816 into R10_LP.
18817
ea2626f6
L
188182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18819
18820 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18821
085f715e
L
188222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18823
18824 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18825 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18826 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18827 Likewise.
18828 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18829
be8498fc
L
188302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18831
18832 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18833 (stackinfo_sub_sp): Likewise.
18834
70bc83b9
L
188352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18836
18837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18838 RAX_LP.
18839
9bc0b730
L
188402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18841
18842 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18843 into R*_LP.
18844
6d2850e7
L
188452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18846
18847 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18848 sizes into R*_LP.
18849
3cb84561
L
188502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18851
18852 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18853
54e2ed81
L
188542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18855
18856 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18857 into R11_LP and load __x86_64_shared_cache_size_half into
18858 R8_LP.
18859
8a17f349
L
188602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18861
18862 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18863 R8_LP.
18864
777b1eea
AZ
188652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18866
18867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18868 logb for POWER7.
18869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18870 logbf for POWER7.
18871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18872 logbl for POWER7.
18873 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18874 powerpc32/power7/fpu/s_logb.c via #include.
18875 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18876 powerpc32/power7/fpu/s_logbf.c via #include.
18877 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18878 powerpc32/power7/fpu/s_logbl.c via #include.
18879
d20d4ac2
JM
188802012-05-15 Joseph Myers <joseph@codesourcery.com>
18881
18882 * README.libm: Remove file.
18883
6cdef1ab
L
188842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18885
18886 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18887 count for x32. Use R*_LP and omit operand-size suffix.
18888
0b254d8f
L
188892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18890
18891 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18892 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18893 * sysdeps/x86_64/x32/shlib-versions: New file.
18894
ceb809dc
RM
188952012-05-14 Roland McGrath <roland@hack.frob.com>
18896
18897 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18898 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18899 Use _dl_fatal_printf instead.
18900
37f1abd4
JM
189012012-05-14 Joseph Myers <joseph@codesourcery.com>
18902
18903 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18904 set if not set by the user. Do not allow for being unset.
18905 * sysdeps/unix/sysv/linux/configure: Regenerated.
18906
11de3a33
L
189072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18908
18909 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18910 the `q' suffix from lea and replace .quad with ASM_ADDR.
18911
e02f153a
L
189122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18913
18914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18915 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18916 instead of $17.
18917 (PTR_DEMANGLE): Likewise.
18918
520ae0fd
L
189192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18920
18921 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18922 (LP_OP): Likewise.
18923 (ASM_ADDR): Likewise.
18924 (RAX_LP): Likewise.
18925 (RBP_LP): Likewise.
18926 (RBX_LP): Likewise.
18927 (RCX_LP): Likewise.
18928 (RDI_LP): Likewise.
18929 (RSI_LP): Likewise.
18930 (RSP_LP): Likewise.
18931 (R8_LP): Likewise.
18932 (R9_LP): Likewise.
18933 (R10_LP): Likewise.
18934 (R10_LP): Likewise.
18935 (R11_LP): Likewise.
18936 (R12_LP): Likewise.
18937 (R13_LP): Likewise.
18938 (R14_LP): Likewise.
18939 (R15_LP): Likewise.
18940
b985be81
L
189412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18942
18943 * sysdeps/x86_64/x32/dl-machine.h: New file.
18944
6a4888ff
AJ
189452012-05-14 Andreas Jaeger <aj@suse.de>
18946
18947 * manual/Makefile (subdir): Remove export of subdir.
18948 (all): Remove target.
18949 (.PHONY): Remove all from list.
18950 (mkinstalldirs): Remove.
18951 (.PHONY): Remove installdirs from list.
18952 ($(inst_infodir)/libc.info): Use make-target-directory.
18953 (installdirs): Remove.
18954 (subdir_%): Remove.
18955 (glibc-targets): Remove.
18956 (lib): Remove.
18957 (stubs): Remove.
18958 ($(objpfx)stubs ../po/manual.pot): Remove.
18959 ($(objpfx)stamp%): Remove.
18960 (make-target-directory): Remove.
18961 (subdir_install): Remove.
18962 (routines): Remove.
18963 (aux): Remove.
18964 (sources): Remove.
18965 (objects): Remove.
18966 (headers): Remove.
18967
18968 [BZ #13750]
18969 * manual/.gitignore: Remove, it's not needed anymore.
18970 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18971 all files in it.
18972 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18973 directory.
18974 (texis): Renamed to $(objpfx)texis.
18975 (texis-path): New, contains path to generated files.
18976 (chapters.%): Use texis-path for complete path, add extra argument
18977 libc-texinfo.sh.
18978 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18979 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18980 (summary,texi, stamp-summary): Use complete path of
18981 files. Generate files in build dir.
18982 (dir-add.texi): Build in build dir.
18983 (libm-err.texi,stamp-libm-err): Likewise.
18984 (version.texi, stamp-version): Likewise.
18985 (.%c.texi): Likewise.
18986 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18987 (mostlyclean): Remove target.
18988 (realclean): Remove target.
18989 (generated): Add new variable with contents from mostlyclean and
18990 realclean, remove entries duplicated in common-mostlyclean, add
18991 stamp-libm-err and stamp-version.
18992 (generated-dirs): Add libc directory.
18993 ($(inst_infodir)/libc.info): Install files from build dir.
18994
18995 * manual/install.texi (Configuring and compiling): Adjust since
18996 the info files are not part of the tar ball anymore.
18997
7ac77294
AJ
189982012-05-14 Andreas Jaeger <aj@suse.de>
18999
19000 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19001 variable.
19002
ffb7875d
JM
190032012-05-14 Joseph Myers <joseph@codesourcery.com>
19004
19005 [BZ #13717]
19006 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19007 to 2.2.0 where earlier.
19008 * sysdeps/unix/sysv/linux/configure: Regenerated.
19009 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19010 Remove conditional code.
19011 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19012 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19013 Remove conditional code.
19014 [!__NR_lchown]: Likewise.
19015 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19016 [__NR_lchown]: Likewise.
19017 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19018 comment referencing __ASSUME_LCHOWN_SYSCALL.
19019 * sysdeps/unix/sysv/linux/i386/sigaction.c
19020 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19021 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19022 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19023 Remove conditional code.
19024 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19025 (__protocol_available): Remove #if 0 code.
19026 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19027 conditional code.
19028 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19029 * sysdeps/unix/sysv/linux/kernel-features.h
19030 (__ASSUME_GETCWD_SYSCALL): Don't define.
19031 (__ASSUME_REALTIME_SIGNALS): Likewise.
19032 (__ASSUME_PREAD_SYSCALL): Likewise.
19033 (__ASSUME_PWRITE_SYSCALL): Likewise.
19034 (__ASSUME_POLL_SYSCALL): Likewise.
19035 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19036 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19037 non-SPARC.
19038 (__ASSUME_SIOCGIFNAME): Don't define.
19039 (__ASSUME_MSG_NOSIGNAL): Likewise.
19040 (__ASSUME_SENDFILE): Define unconditionally.
19041 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19042 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19043 conditional code.
19044 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19045 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19046 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19047 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19048 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19049 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19050 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19052 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19055 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19058 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19061 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19064 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19065 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19067 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19070 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19073 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19075 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19076 Remove conditional code.
19077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19078 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19079 Remove conditional code.
19080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19081 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19082 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19083 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19084 Remove conditional code.
19085 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19086 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19087 Remove conditional code.
19088 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19089 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19090 Remove conditional code.
19091 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19092 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19093 Remove conditional code.
19094 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19095 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19096 Remove conditional code.
19097 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19098 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19099 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19101 * sysdeps/unix/sysv/linux/sigaction.c
19102 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19103 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19104 * sysdeps/unix/sysv/linux/sigpending.c
19105 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19106 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19107 * sysdeps/unix/sysv/linux/sigprocmask.c
19108 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19109 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19110 * sysdeps/unix/sysv/linux/sigsuspend.c
19111 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19112 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19113 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19114 (__libc_missing_rt_sigs): Remove.
19115 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19116 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19117 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19118 Remove conditional code.
19119 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19120 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19121 return 1.
19122 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19123 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19124 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19125 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19126
1bfb7291
AJ
191272012-05-14 Andreas Jaeger <aj@suse.de>
19128
caae5a81
AJ
19129 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19130 it's not used in glibc.
19131 (__coshm1): Likewise.
19132 (__acosh1p): Likewise.
19133 (__sgn): Likewise.
19134
1bfb7291
AJ
19135 * manual/string.texi (Copying and Concatenation): Add missing
19136 variable in concat example.
19137 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19138
c044d724
L
191392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19140
144c5467 19141 [BZ #14103]
c044d724
L
19142 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19143 __builtin_clzl with __builtin_clzll.
19144
2523c62b
L
191452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19146
19147 [BZ #14104]
19148 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19149 libc_freeres_ptr.
19150
d7bb4c42
LD
191512012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19152
19153 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19154 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19155 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19156 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19157
9dc4e1fb
MF
191582012-05-14 Mike Frysinger <vapier@gentoo.org>
19159
19160 * NEWS: Update ia64 info.
19161
c7df0112
AS
191622012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19163
19164 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19165 used as bcopy.
19166
dc70356c
TS
191672012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19168
19169 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19170 * sysdeps/unix/syscalls.list (dup3): Likewise.
19171 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19172 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19173
9fb1a21f
L
191742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19175
19176 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19177 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19178
4822a2a5
L
191792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19180
19181 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19182 thread pointer.
19183 (TLS_IE): Use mov/add instead of movq/addq to load thread
19184 pointer.
19185 (TLS_GD_PREFIX): New.
19186 (TLS_GD): Use it.
19187
842b81d6
DM
191882012-05-11 David S. Miller <davem@davemloft.net>
19189
19190 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19191 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19192 (_FPU_SETCW): Likewise.
19193
1cf463cd
L
191942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19195
19196 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19197 is 32-byte aligned.
19198
60cc4a18
AS
191992012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19200
19201 [BZ #11837]
19202 * iconvdata/gb18030.c: Update tables.
19203 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19204 characters specially.
19205 (BODY for TO_LOOP): Add encoding of missing ranges.
19206
febb44a4
TS
192072012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19208
19209 [BZ #13673]
19210 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19211 * sysdeps/mach/hurd/dup3.c: Likewise.
19212 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19213 * sysdeps/powerpc/memmove.c:: Likewise.
19214
0a10fb9e
L
192152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19216
19217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19218 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19219
df8a552f
L
192202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19221
19222 * elf/elf.h (R_X86_64_RELATIVE64): New.
19223 (R_X86_64_NUM): Updated.
19224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19225 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19226 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19227 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19228 tst-quad1pie tst-quad2pie
19229 (modules-names): Add tst-quadmod1 tst-quadmod2.
19230 ($(objpfx)tst-quad1): New dependency.
19231 ($(objpfx)tst-quad2): Likewise.
19232 ($(objpfx)tst-quad1pie): Likewise.
19233 ($(objpfx)tst-quad2pie): Likewise.
19234 * sysdeps/x86_64/tst-quad1.c: New file.
19235 * sysdeps/x86_64/tst-quad1pie.c: New file.
19236 * sysdeps/x86_64/tst-quad2.c: Likewise.
19237 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19238 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19239 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19240 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19241 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19242
f34d6f84
ST
192432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19244
f42d41d1
ST
19245 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19246 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19247 * streams/stropts.h (t_scalar_t): Define type.
19248
3c3571fc
ST
19249 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19250 (_PATH_PRESERVE): Set to "/var/lib".
19251 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19252
61f06bd3
ST
19253 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19254 instead of int.
19255
918d4d71
ST
19256 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19257 if __dir_mkfile succeeded.
19258
f34d6f84
ST
19259 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19260 checking for _hurd_dtablesize. Unlock it right after having
19261 finished _hurd_dtable allocation.
19262
10589b4a
TS
192632012-05-10 Thomas Schwinge <thomas@schwinge.name>
19264
674cdbc7
TS
19265 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19266 * sysdeps/mach/hurd/configure: Regenerated.
19267 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19268 special-casing to...
19269 * sysdeps/gnu/configure.in: ... this new file.
19270 * sysdeps/unix/sysv/linux/configure: Regenerated.
19271 * sysdeps/gnu/configure: New generated file.
19272
8e41b99f
TS
19273 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19274 for Linux: use nsec instead of usec, as well as:
19275 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19276 members of type struct timespec.
19277 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19278 New macros.
19279 (struct stat64): Likewise.
19280 (_STATBUF_ST_NSEC): New macro.
19281 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19282
10589b4a
TS
19283 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19284 __strtoul_internal rather than strtoul.
19285
63643c85
PT
192862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19287
19288 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19289 and reject them.
19290
3faebe6a
ST
192912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19292
19293 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19294 which preserves existing values.
19295 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19296
c6474b07
PT
192972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19298
19299 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19300 TIMEOUT values. Return EINVAL for NFDS values either negative or
19301 greater than FD_SETSIZE.
19302
1043890b
ST
193032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19304
19305 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19306 allocated, call __vm_protect to finish enabling the existing space, and
19307 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19308 allocate the remainder.
19309
37ed8b9b
PT
193102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19311
19312 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19313 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19314
db653660
ST
193152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19316
37ed8b9b
PT
19317 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19318 sysdeps/mach/hurd/readlink.c.
b29d4053 19319
db653660
ST
19320 * posix/tst-sysconf.c (posix_options): Only use
19321 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19322 _POSIX_SYNCHRONIZED_IO when they are defined
19323 * sysdeps/mach/hurd/bits/posix_opt.h:
19324 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19325 (_XOPEN_REALTIME): Undefine macro.
19326 (_XOPEN_REALTIME_THREADS): Undefine macro.
19327 (_XOPEN_SHM): Undefine macro.
19328 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19329 macro to -1.
19330 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19331 macro to -1.
19332 (_POSIX_ASYNC_IO): Undefine macro.
19333 (_POSIX_PRIORITIZED_IO): Undefine macro.
19334 (_POSIX_SPIN_LOCKS): Define macro to -1.
19335
ee16e894
ST
19336 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19337 SA_NODEFER, SA_RESETHAND.
19338 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19339 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19340 F_DUPFD_CLOEXEC.
19341
6103ae3b
TS
193422012-05-10 Thomas Schwinge <thomas@schwinge.name>
19343
19344 * elf/Makefile (pldd-modules): Define unconditionally.
19345
80b4e5f3
TS
193462012-05-10 Thomas Schwinge <thomas@schwinge.name>
19347
19348 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19349
edadcbd6
ST
193502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19351
19352 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19353 Return ENOENT when name is empty.
19354 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19355
80694780
TS
193562012-05-10 Thomas Schwinge <thomas@schwinge.name>
19357
1792c087
TS
19358 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19359
80694780
TS
19360 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19361
6b645f0d
ST
193622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19363
80694780
TS
19364 Fix mlock in all cases except non-readable pages.
19365 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19366 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19367
6b645f0d
ST
19368 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19369 (__mkdir): When path is `/', just fail with EEXIST.
19370 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19371
e468f8a3
TS
193722012-05-10 Thomas Schwinge <thomas@schwinge.name>
19373
19374 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19375 <sys/uio.h> (for writev).
19376 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19377 and <sys/param.h> (for MIN).
19378
a4186cff
PT
193792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19380
19381 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19382 REQUESTED_TIME. Properly set the remaining time and return EINTR
19383 if interrupted.
19384
510bbf14
TS
193852012-05-10 Thomas Schwinge <thomas@schwinge.name>
19386
19387 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19388 Depend on against $(link-rpcuserlibs).
19389
5d5722e8
ST
193902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19391
a4186cff
PT
19392 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19393 (__libc_stack_end): Do not use attribute_relro.
19394 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19395 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19396 to libthread-provided value.
a4186cff
PT
19397 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19398 attribute_relro.
5d5722e8 19399
37233df9
TS
194002012-05-10 Thomas Schwinge <thomas@schwinge.name>
19401
be971a2b
TS
19402 [BZ #3748]
19403 * bits/libc-lock.h (__libc_once_get): New macro.
19404 * sysdeps/mach/bits/libc-lock.h: Likewise.
19405 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19406 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19407 instead of using implementation details.
19408
37233df9
TS
19409 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19410 * libio/freopen.c: Likewise.
19411 * libio/freopen64.c: Likewise.
19412 * misc/syslog.c: Likewise.
19413 * nscd/connections.c: Likewise.
19414 * nscd/netgroupcache.c: Likewise.
19415 * sysdeps/posix/getcwd.c: Likewise.
19416
38de94a5
RM
194172012-05-10 Roland McGrath <roland@hack.frob.com>
19418
19419 * math/w_ilogbf.c: Add #include <limits.h>.
19420
67530489
ST
194212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19422
a4186cff 19423 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19424 path instead of returning without unlocking.
19425
67530489
ST
19426 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19427 immediate-write ioctls.
19428 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19429
5aa3a74a
TS
194302012-05-10 Thomas Schwinge <thomas@schwinge.name>
19431
18bad2ae
TS
19432 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19433 __builtin_frame_address instead of making assumptions about the
19434 location of the return address relative to DATA. Force early load of
19435 the return address.
19436 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19437 __builtin_frame_address.
19438
5aa3a74a
TS
19439 dup3 for GNU Hurd.
19440 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19441 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19442 implement dup3 and do some further code clean-ups.
19443 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19444 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19445
ecd0de9a
ST
194462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19447
cd9fa985
ST
19448 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19449
a4186cff
PT
19450 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19451 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19452 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19453 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19454 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19455 d->port.lock.
802ca5a5 19456
a4186cff
PT
19457 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19458 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19459 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19460
bcf55240
TS
194612012-05-10 Thomas Schwinge <thomas@schwinge.name>
19462
6960eb42
TS
19463 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19464 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19465 definitions.
19466
eb43375f
TS
19467 accept4 for GNU Hurd.
19468 * include/sys/socket.h (__libc_accept4): New prototype.
19469 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19470 to implement __libc_accept4.
19471 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19472 __libc_accept4.
19473 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19474
bcf55240
TS
19475 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19476 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19477 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19478 signal-defines.sym.
19479
6178c55b
ST
194802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19481
a4186cff 19482 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19483
6f080c2f
TS
194842012-05-10 Thomas Schwinge <thomas@schwinge.name>
19485
19486 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19487 assertion on O_CLOEXEC flag.
19488 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19489 * hurd/intern-fd.c: Likewise.
19490 * hurd/port2fd.c: Likewise.
19491
bcfe3a54
ST
194922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19493
19494 [BZ #3906]
19495 * bits/in.h (IPV6_PKTINFO): Define new macro.
19496 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19497
89c9aa49
AZ
194982012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19499
19500 [BZ #13954]
19501 [BZ #13955]
19502 [BZ #13956]
19503 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19504 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19505 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19506 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19507 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19508 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19509 * math/libm-test.inc (logb_test) : Additional logb tests.
19510
021db4be
AJ
195112012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19512 Andreas Jaeger <aj@suse.de>
19513
19514 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19515 * configure: Regenerated.
19516 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19517 * config.make.in (link-obsolete-rpc): New substituted variable.
19518 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19519 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19520 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19521 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19522 so that libc.a contains the symbols.
19523 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19524 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19525 * sunrpc/auth_none.c: Likewise.
19526 * sunrpc/auth_unix.c: Likewise.
19527 * sunrpc/authdes_prot.c: Likewise.
19528 * sunrpc/authuxprot.c: Likewise.
19529 * sunrpc/clnt_gen.c: Likewise.
19530 * sunrpc/clnt_perr.c: Likewise.
19531 * sunrpc/clnt_raw.c: Likewise.
19532 * sunrpc/clnt_simp.c: Likewise.
19533 * sunrpc/clnt_tcp.c: Likewise.
19534 * sunrpc/clnt_udp.c: Likewise.
19535 * sunrpc/clnt_unix.c: Likewise.
19536 * sunrpc/des_crypt.c: Likewise.
19537 * sunrpc/des_soft.c: Likewise.
19538 * sunrpc/get_myaddr.c: Likewise.
19539 * sunrpc/key_call.c: Likewise.
19540 * sunrpc/key_prot.c: Likewise.
19541 * sunrpc/netname.c: Likewise.
19542 * sunrpc/pm_getmaps.c: Likewise.
19543 * sunrpc/pm_getport.c: Likewise.
19544 * sunrpc/pmap_clnt.c: Likewise.
19545 * sunrpc/pmap_prot.c: Likewise.
19546 * sunrpc/pmap_prot2.c: Likewise.
19547 * sunrpc/pmap_rmt.c: Likewise.
19548 * sunrpc/publickey.c: Likewise.
19549 * sunrpc/rpc_cmsg.c: Likewise.
19550 * sunrpc/rpc_common.c: Likewise.
19551 * sunrpc/rpc_dtable.c: Likewise.
19552 * sunrpc/rpc_prot.c: Likewise.
19553 * sunrpc/rpc_thread.c: Likewise.
19554 * sunrpc/rtime.c: Likewise.
19555 * sunrpc/svc.c: Likewise.
19556 * sunrpc/svc_auth.c: Likewise.
19557 * sunrpc/svc_raw.c: Likewise.
19558 * sunrpc/svc_run.c: Likewise.
19559 * sunrpc/svc_tcp.c: Likewise.
19560 * sunrpc/svc_udp.c: Likewise.
19561 * sunrpc/svc_unix.c: Likewise.
19562 * sunrpc/svcauth_des.c: Likewise.
19563 * sunrpc/xcrypt.c: Likewise.
19564 * sunrpc/xdr.c: Likewise.
19565 * sunrpc/xdr_array.c: Likewise.
19566 * sunrpc/xdr_float.c: Likewise.
19567 * sunrpc/xdr_intXX_t.c: Likewise.
19568 * sunrpc/xdr_mem.c: Likewise.
19569 * sunrpc/xdr_rec.c: Likewise.
19570 * sunrpc/xdr_ref.c: Likewise.
19571 * sunrpc/xdr_sizeof.c: Likewise.
19572 * sunrpc/xdr_stdio.c: Likewise.
19573
b5c086a2
RM
195742012-05-10 Roland McGrath <roland@hack.frob.com>
19575
19576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19577 change. Update copyright years.
19578
6d74dd09
JM
195792012-05-10 Joseph Myers <joseph@codesourcery.com>
19580
19581 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19582
28e72501
MK
195832012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19584 Joseph Myers <joseph@codesourcery.com>
19585 Paul Pluzhnikov <ppluzhnikov@google.com>
19586
19587 [BZ #14012]
19588 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19589 requiring rpcgen.
19590 [cross-compiling] (extra-libs): Likewise.
19591 [cross-compiling] (extra-libs-others): Likewise.
19592 [cross-compiling] (librpcsvc-routines): Likewise.
19593 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19594 [cross-compiling] (omit-deps): Likewise.
19595 (sunrpc-CPPFLAGS): New variable.
19596 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19597 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19598 (cross-rpcgen-objs): New variable.
19599 (extra-objs): Append $(cross-rpcgen-objs).
19600 ($(cross-rpcgen-objs)): New rule.
19601 ($(objpfx)cross-rpcgen): Likewise.
19602 (rpcgen-cmd): Define to use $(built-program-file). Expand
19603 comment.
19604 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19605 ($(objpfx)x%.stmp): Likewise.
19606 * sunrpc/proto.h [IS_IN_build] (_): Define.
19607 [IS_IN_build] (_libc_intl_domainname): Likewise.
19608
c8c59454
L
196092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19610
19611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19612 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19613 and R_X86_64_TPOFF64.
19614
6f27cd16
JM
196152012-05-10 Joseph Myers <joseph@codesourcery.com>
19616
19617 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19618 sysdeps/unix/sysv/syscalls.list.
19619 (stime): Likewise.
19620 (utime): Likewise.
19621 * sysdeps/unix/sysv/syscalls.list: Remove file.
19622
02467e1c
PE
196232012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19624
19625 [BZ #3440]
19626 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19627 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19628 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19629 (__LC_IDENTIFICATION): Make these macros useful in #if
19630 expressions, as required by C99.
19631
da392631
AS
196322012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19633
19634 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19635 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19636 after this.
19637
8115f29b
L
196382012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19639
19640 * stdlib/longlong.h: Updated from GCC.
19641
bdd74070
AJ
196422012-05-09 Andreas Jaeger <aj@suse.de>
19643
edfe0dbe
AJ
19644 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19645 default is first entry.
19646 (run_mode): Set type.
19647 (main): Remove informal message about syslog.
19648 (options): Fix typo.
19649
bcfe3a54
ST
19650 [BZ #14053]
19651 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 19652 to asm.
bcfe3a54
ST
19653 (lrint): Likewise.
19654 (llrintf): Likewise.
19655 (llrint): Likewise.
19656 (rint): Likewise.
19657 (rintf): Likewise.
19658 (nearbyint): Likewise.
19659 (nearbyintf): Likewise.
bdd74070 19660
91d8d69e
AJ
196612012-05-09 Andreas Jaeger <aj@suse.de>
19662 Pedro Alves <palves@redhat.com>
19663
19664 * nscd/nscd.c (run_mode): Use enum.
19665 (main): Cleanup coding style issue.
19666
bb90b80b
AJ
196672012-05-09 Alexandre Oliva <aoliva@redhat.com>
19668 Andreas Jaeger <aj@suse.de>
19669
bcfe3a54
ST
19670 * nscd/nscd.c (go_background): Replaced with...
19671 (run_mode): ... this.
bb90b80b 19672 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
19673 (options): Add -F --foreground.
19674 (main): Implement it.
19675 (parse_opt): Parse it.
bb90b80b 19676
1a4b75a1
AJ
196772012-05-09 Andreas Jaeger <aj@suse.de>
19678
19679 [BZ #14083]
19680 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19681 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19682 -Wconversion warning.
19683 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19684 Likewise.
19685
b1cc2472
JM
196862012-05-09 Joseph Myers <joseph@codesourcery.com>
19687
19688 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19689 == 0.
19690 (LC_ALL): Use macro-int-constant.
19691 (LC_COLLATE): Likewise.
19692 (LC_CTYPE): Likewise.
19693 (LC_MESSAGES): Likewise.
19694 (LC_MONETARY): Likewise.
19695 (LC_NUMERIC): Likewise.
19696 (LC_TIME): Likewise.
19697 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19698 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19700 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19701 Specify type.
19702 [C99-based standards] (float_t): Expect type.
19703 [C99-based standards] (double_t): Expect type.
19704 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19705 type.
19706 [C99-based standards] (HUGE_VALL): Likewise.
19707 [C99-based standards] (INFINITY): Likewise.
19708 [C99-based standards] (NAN): Likewise.
19709 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19710 [C99-based standards] (FP_NAN): Likewise.
19711 [C99-based standards] (FP_NORMAL): Likewise.
19712 [C99-based standards] (FP_SUBNORMAL): Likewise.
19713 [C99-based standards] (FP_ZERO): Likewise.
19714 [C99-based standards] (FP_FAST_FMA): Use
19715 optional-macro-int-constant. Specify type. Require == 1.
19716 [C99-based standards] (FP_FAST_FMAF): Likewise.
19717 [C99-based standards] (FP_FAST_FMAL): Likewise.
19718 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19719 [C99-based standards] (FP_ILOGBNAN): Likewise.
19720 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19721 Specify type.
19722 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19723 [C99-based standards] (math_errhandling): Specify type.
19724 [ISO99 || ISO11] (signgam): Do not allow.
19725 [non-C99-based standards] (copysignf): Do not allow.
19726 [non-C99-based standards] (exp2f): Likewise.
19727 [non-C99-based standards] (log2f): Likewise.
19728 [non-C99-based standards] (modff): Allow.
19729 [non-C99-based standards] (erff): Do not allow.
19730 [non-C99-based standards] (erfcf): Likewise.
19731 [non-C99-based standards] (gammaf): Likewise.
19732 [non-C99-based standards] (hypotf): Likewise.
19733 [non-C99-based standards] (j0f): Likewise.
19734 [non-C99-based standards] (j1f): Likewise.
19735 [non-C99-based standards] (jnf): Likewise.
19736 [non-C99-based standards] (lgammaf): Likewise.
19737 [non-C99-based standards] (tgammaf): Likewise.
19738 [non-C99-based standards] (y0f): Likewise.
19739 [non-C99-based standards] (y1f): Likewise.
19740 [non-C99-based standards] (ynf): Likewise.
19741 [non-C99-based standards] (isnanf): Likewise.
19742 [non-C99-based standards] (acoshf): Likewise.
19743 [non-C99-based standards] (asinhf): Likewise.
19744 [non-C99-based standards] (atanhf): Likewise.
19745 [non-C99-based standards] (cbrtf): Likewise.
19746 [non-C99-based standards] (expm1f): Likewise.
19747 [non-C99-based standards] (ilogbf): Likewise.
19748 [non-C99-based standards] (log1pf): Likewise.
19749 [non-C99-based standards] (logbf): Likewise.
19750 [non-C99-based standards] (nextafterf): Likewise.
19751 [non-C99-based standards] (remainderf): Likewise.
19752 [non-C99-based standards] (rintf): Likewise.
19753 [non-C99-based standards] (scalbf): Likewise.
19754 [non-C99-based standards] (copysignl): Likewise.
19755 [non-C99-based standards] (exp2l): Likewise.
19756 [non-C99-based standards] (log2l): Likewise.
19757 [non-C99-based standards] (modfl): Allow.
19758 [non-C99-based standards] (erfl): Do not allow.
19759 [non-C99-based standards] (erfcl): Likewise.
19760 [non-C99-based standards] (gammal): Likewise.
19761 [non-C99-based standards] (hypotl): Likewise.
19762 [non-C99-based standards] (j0l): Likewise.
19763 [non-C99-based standards] (j1l): Likewise.
19764 [non-C99-based standards] (jnl): Likewise.
19765 [non-C99-based standards] (lgammal): Likewise.
19766 [non-C99-based standards] (tgammal): Likewise.
19767 [non-C99-based standards] (y0l): Likewise.
19768 [non-C99-based standards] (y1l): Likewise.
19769 [non-C99-based standards] (ynl): Likewise.
19770 [non-C99-based standards] (isnanl): Likewise.
19771 [non-C99-based standards] (acoshl): Likewise.
19772 [non-C99-based standards] (asinhl): Likewise.
19773 [non-C99-based standards] (atanhl): Likewise.
19774 [non-C99-based standards] (cbrtl): Likewise.
19775 [non-C99-based standards] (expm1l): Likewise.
19776 [non-C99-based standards] (ilogbl): Likewise.
19777 [non-C99-based standards] (log1pl): Likewise.
19778 [non-C99-based standards] (logbl): Likewise.
19779 [non-C99-based standards] (nextafterl): Likewise.
19780 [non-C99-based standards] (remainderl): Likewise.
19781 [non-C99-based standards] (rintl): Likewise.
19782 [non-C99-based standards] (scalbl): Likewise.
19783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19784 [non-C99-based standards] (FP_*): Do not allow.
19785 [C99-based standards] (FP_*): Change to
19786 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19787 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19788 allow.
19789 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19790 (SIG_ERR): Likewise.
19791 [X/Open-based standards] (SIG_HOLD): Likewise.
19792 (SIG_IGN): Likewise.
19793 (SIGABRT): Use macro-int-constant. Specify type. Require
19794 positive value.
19795 (SIGFPE): Likewise.
19796 (SIGILL): Likewise.
19797 (SIGINT): Likewise.
19798 (SIGSEGV): Likewise.
19799 (SIGTER): Likewise.
19800 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19801 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19802 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19803 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19804 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19805 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19806 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19807 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19808 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19809 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19810 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19811 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19812 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19813 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19814 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19815 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19816 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19817 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19818 [X/Open-based standards] (SIGTRAP): Likewise.
19819 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19820 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19821 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19822 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19823 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19824 allow.
19825
b9f1922d
IW
198262012-05-08 Ian Wienand <ianw@vmware.com>
19827
19828 [BZ #14080]
19829 * time/tzset.c (__tzset_parse_tz): Update default rules for
19830 daylight time changes in the Energy Policy Act of 2005.
19831
1db86e88
AJ
198322012-05-09 Andreas Jaeger <aj@suse.de>
19833
19834 [BZ #13983]
19835 * elf/ldconfig.c (parse_conf): Change string to make clear that
19836 ldconfig only issued a warning if ld.so.conf does not exist.
19837
dee4a4e3
DM
198382012-05-08 David S. Miller <davem@davemloft.net>
19839
ee0db190
DM
19840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19841 movxtod instead of popping the value on the stack.
19842
dee4a4e3
DM
19843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19844
6a43ec98
CD
198452012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19846
19847 * config.h.in: Add HAVE_ARM_PCS_VFP.
19848
05c2c961
RMG
198492012-05-08 Roland Mc Grath <roland@hack.frob.com>
19850
bcfe3a54
ST
19851 [BZ #13979]
19852 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19853 checking but the checks are disabled for any reason.
05c2c961 19854
4b30f61a
L
198552012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19856
19857 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19858 and ELF64_R_TYPE with ELFW(R_TYPE).
19859
eee2bc67
JM
198602012-05-08 Joseph Myers <joseph@codesourcery.com>
19861
7ea5391a
JM
19862 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19863 (ulimit): Likewise.
19864
eee2bc67
JM
19865 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19866 (settimeofday): Likewise.
19867
abb66a67
MF
198682012-05-08 Mike Frysinger <vapier@gentoo.org>
19869
19870 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19871 a struct th_u2 inside the union, and move tu_block/tu_code into
19872 a new th_u3 union of tu_block/tu_code inside of that. Move
19873 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19874 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19875 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19876 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19877 (th_stuff): Change to th_u1.tu_stuff.
19878 (th_data): Define.
19879 (th_msg): Change to th_u1.th_u2.tu_data.
19880
7f18b530
DM
198812012-05-07 David S. Miller <davem@davemloft.net>
19882
05760585
DM
19883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19884
7f18b530
DM
19885 [BZ #14074]
19886 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19887 (SETUP_PIC_REG): Use it.
19888 (SETUP_PIC_REG_LEAF): Use it.
19889
495fd99f
JM
198902012-05-07 Joseph Myers <joseph@codesourcery.com>
19891
19892 [BZ #13885]
19893 [BZ #13923]
19894 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19895 USE_AS_EXPM1L.
19896 (EXPL_FINITE): Likewise.
19897 (FLDLOG): Likewise.
19898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19899 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19900 e_expl.S.
19901 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19902 USE_AS_EXPM1L.
19903 (EXPL_FINITE): Likewise.
19904 (FLDLOG): Likewise.
19905 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19906 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19907 e_expl.S.
19908 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19909 test of -max_value argument for long double.
19910 * sysdeps/i386/fpu/libm-test-ulps: Update.
19911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19912
6693d694
DM
199132012-05-06 David S. Miller <davem@davemloft.net>
19914
19915 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19916 quad soft-float symbols whose references which are compiler
19917 generated.
19918 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19919
6c23e11c
JM
199202012-05-06 Joseph Myers <joseph@codesourcery.com>
19921
d8b82cad
JM
19922 [BZ #13884]
19923 [BZ #13914]
19924 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19925 USE_AS_EXP10L.
19926 (EXPL_FINITE): Likewise.
19927 (FLDLOG): Likewise.
19928 (c0): Likewise.
19929 (c1): Likewise.
19930 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19931 Adjust comments for base varying.
19932 (__expl_finite): Change alias to EXPL_FINITE.
19933 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19934 e_expl.S.
19935 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19936 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19937 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19938 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19939 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19940 USE_AS_EXP10L.
19941 (EXPL_FINITE): Likewise.
19942 (FLDLOG): Likewise.
19943 (c0): Likewise.
19944 (c1): Likewise.
19945 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19946 Adjust comments for base varying.
19947 (__expl_finite): Change alias to EXPL_FINITE.
19948 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19949 tests for bugs.
19950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19951
6c23e11c
JM
19952 [BZ #14064]
19953 * math/libm-test.inc (check_float_internal): Correct ulp
19954 calculation for subnormal expected results.
19955
29ba805c
AJ
199562012-05-06 Andreas Jaeger <aj@suse.de>
19957
19958 * Makeconfig (+math-flags): New, set to -frounding-math.
19959 (+cflags): Add +math-flags so that all of glibc gets compiled with
19960 it.
19961
19962 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19963
7b17aeda
JM
199642012-05-05 Joseph Myers <joseph@codesourcery.com>
19965
5779f134
JM
19966 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19967 Disable one test.
19968
41498f4d
JM
19969 [BZ #13787]
19970 [BZ #13922]
19971 [BZ #14036]
19972 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19973 (__ieee754_expl): Allow for and saturate large arguments.
19974 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19975 (u_threshold): Likewise.
19976 (__exp): Call __ieee754_exp before checking for overflow and
19977 underflow.
19978 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19979 (u_threshold): Likewise.
19980 (__expf): Call __ieee754_expf before checking for overflow and
19981 underflow.
19982 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19983 (u_threshold): Likewise.
19984 (__expl): Call __ieee754_expl before checking for overflow and
19985 underflow.
19986 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19987 (__ieee754_expl): Allow for and saturate large arguments.
19988 * math/libm-test.inc (exp_test): Add another test. Do not allow
19989 missing overflow exception on overflow.
19990 (expm1_test): Do not allow missing overflow exception on overflow.
19991
6698b8bf
JM
19992 * sysdeps/i386/fpu/e_expl.c: Move to ...
19993 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19994 rather than using inline asm.
19995 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19996 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19997 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19998
7b17aeda
JM
19999 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20000 (nice): Likewise.
20001 (poll): Likewise.
20002 (signal): Likewise.
20003 (time): Likewise.
20004 (times): Likewise.
20005
f7c85819
JM
200062012-05-04 Joseph Myers <joseph@codesourcery.com>
20007
20008 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20009 sysdeps/unix/common/syscalls.list.
20010 (fchmod): Likewise.
20011 (fchown): Likewise.
20012 (ftruncate): Likewise.
20013 (getrusage): Likewise.
20014 (gettimeofday): Likewise.
20015 (setpgid): Likewise.
20016 (setregid): Likewise.
20017 (setreuid): Likewise.
20018 (sigaction): Likewise.
20019 (truncate): Likewise.
20020 (vhangup): Likewise.
20021 * sysdeps/unix/common/syscalls.list: Remove file.
20022 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20023 * sysdeps/unix/sysv/linux/Implies: Likewise.
20024
336270d0
L
200252012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20026
20027 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20029 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20030 Moved to ...
20031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20032 Here.
20033 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20034 to ...
20035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20036 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20037 to ...
20038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20039 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20040 to ...
20041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20042 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20043 to ...
20044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20045 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20046 to ...
20047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20048 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20049 to ...
20050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20051 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20052 to ...
20053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20054 Here.
20055 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20056 to ...
20057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20058 Here.
20059 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20060 to ...
20061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20062 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20063 Moved to ...
20064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20065 Here.
20066 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20067 to ...
20068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20069
d128e450
JM
200702012-05-04 Joseph Myers <joseph@codesourcery.com>
20071
fa8ee516
JM
20072 * sysdeps/unix/common/bits/dirent.h: Remove file.
20073 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20074
d128e450
JM
20075 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20076 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20077 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20078 * sysdeps/unix/bsd/isatty.c: Likewise.
20079 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20080 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20081 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20082
ff8faaf0 200832012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20084
62881be4 20085 [BZ #13563]
31dc8730
AZ
20086 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20087 long double comparison inaccuracies.
20088 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20090
6fef930c
AS
200912012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20092
20093 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20095
8f203e6c
JM
200962012-05-04 Joseph Myers <joseph@codesourcery.com>
20097
20098 [BZ #14049]
20099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20100 nonzero digits before rounding a hex value.
20101 * stdlib/tst-strtod.c (tests): Add another test.
20102
5197d9c2
AK
201032012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20104
20105 * sysdeps/s390/fpu/libm-test-ulps: Update.
20106
f0c1dedf
AJ
201072012-05-03 Andreas Jaeger <aj@suse.de>
20108
20109 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20110 does not get optimized out.
20111 (malloc_opt_barrier): New.
20112
a65ef2ae 201132012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20114 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20115
2b942cb7 20116 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20117 intermediate file deletion.
2b942cb7 20118 (generated): Add .symlist files.
a65ef2ae 20119
54b71e02
JM
201202012-05-03 Joseph Myers <joseph@codesourcery.com>
20121
20122 [BZ #13775]
20123 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20124 Redirect under this condition.
20125 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20126 [__USE_GNU] (__dprintf_chk): Not under this condition.
20127 [__USE_GNU] (__vdprintf_chk): Likewise.
20128 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20129 under this condition.
20130 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20131 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20132 [__USE_XOPEN2K8] (vdprintf): Likewise.
20133 [__USE_GNU] (__dprintf_chk): Not under this condition.
20134 [__USE_GNU] (__vdprintf_chk): Likewise.
20135 [__USE_GNU] (dprintf): Likewise.
20136 [__USE_GNU] (vdprintf): Likewise.
20137
d3dfcc41
RM
201382012-05-03 Roland McGrath <roland@hack.frob.com>
20139
20140 * elf/Makefile (common-generated): Set this instead of generated for
20141 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20142 $(all-built-dso)-derived lists.
20143
7ac30cc5
AJ
201442012-05-03 Andreas Jaeger <aj@suse.de>
20145
0c51e550
AJ
20146 * sysdeps/i386/fpu/libm-test-ulps: Update.
20147
7ac30cc5
AJ
20148 * FAQ: Removed.
20149 * FAQ.in: Likewise.
20150 * scripts/gen-FAQ.pl: Likewise.
20151 * manual/install.texi (Installation): Point to online location of
20152 FAQ.
20153 * Makefile (files-for-dist): Remove FAQ.
20154 (FAQ): Remove.
20155
d4c2917f
AM
201562012-05-02 Allan McRae <allan@archlinux.org>
20157
20158 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20159 (LDFLAGS-reldepmod5.so): Likewise.
20160 (LDFLAGS-reldep6mod1.so): Likewise.
20161 (LDFLAGS-reldep6mod4.so): Likewise.
20162 (LDFLAGS-reldep8mod3.so): Likewise.
20163 (LDFLAGS-unload4mod1.so): Likewise.
20164 (LDFLAGS-unload4mod2.so): Likewise.
20165 (LDFLAGS-tst-initorder): Likewise.
20166 (LDFLAGS-tst-initordera2.so): Likewise.
20167 (LDFLAGS-tst-initordera3.so): Likewise.
20168 (LDFLAGS-tst-initordera4.so): Likewise.
20169 (LDFLAGS-tst-initorderb2.so): Likewise.
20170 (LDFLAGS-noload): Likewise.
20171 (LDFLAGS-next): Likewise.
20172 (LDFLAGS-order2mod1.so): Likewise.
20173 (LDFLAGS-order2mod2.so): Likewise.
20174 (LDFLAGS-tst-initorder2): Likewise.
20175 (LDFLAGS-tst-initorder2a.so): Likewise.
20176 (LDFLAGS-tst-initorder2b.so): Likewise.
20177 (LDFLAGS-tst-initorder2c.so): Likewise.
20178 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20179
d77f993f
DM
201802012-05-02 David S. Miller <davem@davemloft.net>
20181
20182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20183
171a70b4
PP
201842012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20185
20186 [BZ #14055]
20187 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20188
0be196ad
AJ
201892012-05-02 Andreas Jaeger <aj@suse.de>
20190
20191 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20192 since we manipulate rounding mode.
20193 (CPPFLAGS-test-idouble.c): Likewise.
20194 (CPPFLAGS-test-ifloat.c): Likewise.
20195 (CFLAGS-test-ldouble.c): Likewise.
20196 (CFLAGS-test-double.c): Likewise.
20197 (CFLAGS-test-float.c): Likewise.
20198 (CFLAGS-test-misc.c): Likewise.
20199 (CFLAGS-test-test-fenv.c): Likewise.
20200
4f9d04aa
AZ
202012012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20202
2b942cb7
RM
20203 [BZ #2550]
20204 [BZ #2570]
20205 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20206 comparisons to determine direction to adjust input.
4f9d04aa 20207
82a79e7d
RM
202082012-05-01 Roland McGrath <roland@hack.frob.com>
20209
f5a01ca9
RM
20210 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20211 output to the target.
20212
90fe4186
RM
20213 * scripts/localplt.awk: New file.
20214 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20215 (check-localplt-CFLAGS): Variable removed.
20216 ($(all-built-dso:=.jmprel)): New static pattern rule.
20217 (generated): Add those targets.
20218 (localplt-built-dso): New variable.
20219 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20220
20221 * elf/check-localplt.c: File removed.
20222
82397ed6
RM
20223 * scripts/check-execstack.awk: New file.
20224 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20225 (check-execstack-CFLAGS): Variable removed.
20226 ($(objpfx)check-execstack.h): Target removed.
20227 ($(objpfx)execstack-default): New target.
20228 (generated): Add that instead of check-execstack.h.
20229 ($(all-built-dso:=.phdr)): New static pattern rule.
20230 (generated): Add those targets.
20231 * elf/check-execstack.c: File removed.
20232
82a79e7d
RM
20233 * scripts/check-textrel.awk: New file.
20234 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20235 (check-textrel-CFLAGS): Variable removed.
20236 (all-built-dso): Use := to define.o
20237 ($(all-built-dso:=.dyn)): New static pattern rule.
20238 (generated): Add those targets.
20239 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20240 * config.make.in (READELF): New substituted variable.
20241 * elf/check-textrel.c: File removed.
20242
62fde54f 202432012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20244
615605c9
JM
20245 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20246 allow.
20247 * conform/data/ctype.h-data [C99-based standards] (isblank):
20248 Expect function.
20249 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20250 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20251 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20252 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20253 Specify type. Require positive value.
20254 (EILSEQ): Likewise.
20255 (ERANGE): Likewise.
20256 [ISO || POSIX] (EILSEQ): Do not expect.
20257 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20258 Specify type. Require positive value.
20259 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20260 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20261 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20262 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20263 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20264 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20265 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20266 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20267 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20268 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20269 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20270 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20271 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20272 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20273 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20274 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20275 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20276 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20277 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20278 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20279 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20280 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20281 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20282 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20283 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20284 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20285 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20286 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20287 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20288 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20289 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20290 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20291 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20292 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20293 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20294 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20295 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20296 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20297 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20298 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20299 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20300 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20301 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20302 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20303 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20304 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20305 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20306 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20307 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20308 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20309 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20310 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20311 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20312 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20313 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20314 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20315 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20316 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20317 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20318 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20319 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20320 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20321 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20322 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20323 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20324 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20327 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20329 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20331 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20332 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20333 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20334 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20335 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20336 Require >= 2.
20337 (FLT_ROUNDS): Expect as macro, not constant.
20338 (FLT_MANT_DIG): Use macro-int-constant.
20339 (DBL_MANT_DIG): Likewise.
20340 (LDBL_MANT_DIG): Likewise.
20341 (FLT_DIG): Likewise.
20342 (DBL_DIG): Likewise.
20343 (LDBL_DIG): Likewise.
20344 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20345 (DBL_MIN_EXP): Likewise.
20346 (LDBL_MIN_EXP): Likewise.
20347 (FLT_MAX_EXP): Use macro-int-constant.
20348 (DBL_MAX_EXP): Likewise.
20349 (LDBL_MAX_EXP): Likewise.
20350 (FLT_MAX_10_EXP): Likewise.
20351 (DBL_MAX_10_EXP): Likewise.
20352 (LDBL_MAX_10_EXP): Likewise.
20353 (FLT_MAX): Use macro-constant.
20354 (DBL_MAX): Likewise.
20355 (LDBL_MAX): Likewise.
20356 (FLT_EPSILON): Use macro-constant. Give upper bound.
20357 (DBL_EPSILON): Likewise.
20358 (LDBL_EPSILON): Likewise.
20359 (FLT_MIN): Likewise.
20360 (DBL_MIN): Likewise.
20361 (LDBL_MIN): Likewise.
20362 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20363 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20364 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20365 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20366 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20367 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20368 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20369 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20370 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20371 [ISO11] (FLT_TRUE_MIN): Likewise.
20372 [ISO11] (LDBL_TRUE_MIN): Likewise.
20373 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20374 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20375 (SCHAR_MIN): Use macro-int-constant. Specify type.
20376 (SCHAR_MAX): Likewise.
20377 (UCHAR_MAX): Likewise.
20378 (CHAR_MIN): Likewise.
20379 (CHAR_MAX): Likewise.
20380 (MB_LEN_MAX): Use macro-int-constant.
20381 (SHRT_MIN): Use macro-int-constant. Specify type.
20382 (SHRT_MAX): Likewise.
20383 (USHRT_MAX): Likewise.
20384 (INT_MAX): Likewise.
20385 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20386 bound negative.
20387 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20388 bound with "U".
20389 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20390 bound with "L".
20391 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20392 bound negative. Suffix upper bound with "L".
20393 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20394 bound with "UL".
20395 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20396 Specify type.
20397 [C99-based standards] (LLONG_MAX): Likewise.
20398 [C99-based standards] (ULLONG_MAX): Likewise.
20399 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20400 == 0.
20401 [ISO11] (max_align_t): Require type.
20402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20403
c9140a62
JM
20404 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20405 from $CFLAGS, without defining away __attribute__ calls.
20406 (checknamespace): Use $CFLAGS_namespace.
20407
9af0bf29
JM
20408 * conform/conformtest.pl (@keywords): Only include C99 keywords
20409 for standards based on C99 or C11.
20410
343222a2
JM
20411 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20412 Disable tests.
20413 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20414 UNIX98]: Likewise.
20415
661f8cf0
JM
20416 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20417 usability of symbols in #if.
20418
ee74b9cb
JM
20419 * conform/conformtest.pl: If macro or constant types start
20420 "promoted:", expect the symbol to be of the following type
20421 promoted by the integer promotions.
62fde54f 20422
aafc49b3
JM
20423 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20424 in one place. Also handle "macro-constant".
20425
fefdf574
JM
20426 * conform/conformtest.pl: Only accept expected macro values with
20427 "==". Parse all "macro" lines in one place.
20428 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20429
f2d922fe
JM
20430 * conform/conformtest.pl: Handle braced types on "constant" lines
20431 instead of handling "typed-constant".
20432 * conform/data/signal.h-data: Use "constant" instead of
20433 "typed-constant".
20434
d22956c9
JM
20435 * conform/conformtest.pl: Handle "optional-" at start of lines in
20436 one place rather than duplicating several cases. Handle each
20437 format of "macro" line with initial "optional-".
20438
028e2e38
JM
20439 * conform/conformtest.pl: Only accept expected constant or
20440 optional-constant values with "==". Parse all "constant" lines in
20441 one place. Parse all "optional-constant" lines in one place.
20442 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20443 * conform/data/fmtmsg.h-data: Likewise.
20444 * conform/data/netinet/in.h-data: Likewise.
20445 * conform/data/tar.h-data: Likewise.
20446 * conform/data/limits.h-data: Use "==" form on "constant" and
20447 "optional-constant" lines.
20448
1b8f2850
JM
20449 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20450 Use -std=c99 for XOPEN2K.
20451 (@knownproblems): Remove.
20452 (newtoken): Don't check %isknown.
20453
a05a144b
JM
20454 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20455 Do not expect macro.
20456 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20457 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20458 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20459 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20460 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20461 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20462 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20463 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20464 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20465 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20466 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20467 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20468 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20469 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20470 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20471 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20472 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20473 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20474 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20475 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20476 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20477 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20478 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20479 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20480 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20481 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20482 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20483 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20484 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20485 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20486 [XPG3] (acosh): Likewise.
20487 [XPG3] (asinh): Likewise.
20488 [XPG3] (atanh): Likewise.
20489 [XPG3] (cbrt): Likewise.
20490 [XPG3] (expm1): Likewise.
20491 [XPG3] (ilogb): Likewise.
20492 [XPG3] (log1p): Likewise.
20493 [XPG3] (logb): Likewise.
20494 [XPG3] (nextafter): Likewise.
20495 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20496 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20497 [XPG3] (remainder): Likewise.
20498 [XPG3] (rint): Likewise.
20499 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20500 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20501 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20502 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20503 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20504 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20505 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20506 [UNIX98 || XOPEN2K] (scalb): Expect.
20507 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20508 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20509 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20510 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20511 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20512 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20513 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20514 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20515 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20516 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20517 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20518 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20519 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20520 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20521 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20522 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20523 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20524 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20525 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20526 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20527 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20528 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20529 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20530 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20531 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20532 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20533 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20534 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20535 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20536 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20537 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20538 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20539 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20540 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20541 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20542 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20543 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20544 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20545 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20546 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20547 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20548 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20549 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20550 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20551 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20552 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20553 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20554 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20555 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20556 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20557 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20558 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20559 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20560 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20561 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20562 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20563 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20564 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20565 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20566 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20567 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20568 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20569 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20570 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20571 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20572 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20573 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20574 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20575 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20576 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20577 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20578 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20579 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20580 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20581 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20582 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20583 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20584 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20585 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20586 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20587 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20588 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20589 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20590 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20591 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20592 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20593 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20594 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20595 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20596 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20597 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20598 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20599 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20600 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20601 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20602 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20603 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20604 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20605 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20606 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20607 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20608 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20609 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20610 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20611 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20612 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20613 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20614 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20615 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20616 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20617 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20618 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20619 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20620 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20621 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20622 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20623 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20624 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20625 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20626 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20627 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20628 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20629 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20630 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20631 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20632 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20633 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20634 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20635 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20636 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20637 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20638 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20639 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20640 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20641 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20642 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20643 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20644
73c5ebe3
JM
20645 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20646 _XOPEN_SOURCE_EXTENDED for XPG4.
20647
39c33b6c
JM
20648 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20649
62fde54f
JM
20650 * Makeconfig (localtime): Remove variable.
20651 (inst_localtime-file): Likewise.
20652
0741d64c
AS
206532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20654
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20656 Update.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20658 Update.
20659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20660 Update.
20661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20662 Update.
20663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20664 Update.
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20666 Update.
20667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20668 Update.
20669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20670 Update.
20671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20672 Update.
20673
7cb029ee
JM
206742012-05-01 Joseph Myers <joseph@codesourcery.com>
20675
20676 [BZ #2550]
20677 [BZ #2570]
20678 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20679 comparisons to determine direction to adjust input.
20680 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20681 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20682 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20683 Likewise.
20684 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20685 Likewise.
20686 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20687 Likewise.
20688 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20689 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20690 Likewise.
20691 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20692 Likewise.
20693 * math/libm-test.inc (nexttoward_test): Add more tests.
20694
412bd966
AS
206952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20696
20697 [BZ #14040]
20698 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20699 in version GLIBC_2.1, not GLIBC_2.0.
20700 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20701 Likewise.
20702
9568c0c2
JM
207032012-04-30 Joseph Myers <joseph@codesourcery.com>
20704
adfbc8ac
JM
20705 [BZ #13942]
20706 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20707 (1 - x) * (1 + x).
20708 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20709 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20710 * math/libm-test.inc (acos_test): Add more tests.
20711 (asin_test): Likewise.
20712 * sysdeps/i386/fpu/libm-test-ulps: Update.
20713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20714
5ba3cc69
JM
20715 [BZ #14034]
20716 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20717 of square root.
20718 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20719 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20720 * math/libm-test.inc (acos_test_tonearest): New function.
20721 (acos_test_towardzero): Likewise.
20722 (acos_test_downward): Likewise.
20723 (acos_test_upward): Likewise.
20724 (asin_test_tonearest): Likewise.
20725 (asin_test_towardzero): Likewise.
20726 (asin_test_downward): Likewise.
20727 (asin_test_upward): Likewise.
20728 (main): Call the new functions.
20729 * sysdeps/i386/fpu/libm-test-ulps: Update.
20730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20731
9568c0c2
JM
20732 [BZ #13884]
20733 [BZ #13924]
20734 * math/e_exp10.c: Include <float.h>.
20735 (__ieee754_exp10): Handle underflow here rather than multiplying
20736 large negative argument by M_LN10.
20737 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20738 of __ieee754_expf.
20739 * math/e_exp10l.c: Include <float.h>.
20740 (__ieee754_exp10l): Handle underflow here rather than multiplying
20741 large negative argument by M_LN10l.
20742 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20743 spurious overflow exception on underflow.
20744
5ac3ea17
MP
207452012-04-29 Marek Polacek <polacek@redhat.com>
20746
20747 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20748 (__fortify_function): New macro.
20749 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20750 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20751 __extern_always_inline.
20752 * libio/bits/stdio2.h: Likewise.
20753 * libio/bits/stdio.h: Likewise.
20754 * string/string.h: Likewise.
20755 * string/bits/string3.h: Likewise.
20756 * include/stdio.h: Likewise.
20757 * stdlib/bits/stdlib.h: Likewise.
20758 * stdlib/stdlib.h: Likewise.
20759 * rt/bits/mqueue2.h: Likewise.
20760 * rt/mqueue.h: Likewise.
20761 * posix/bits/unistd.h: Likewise.
20762 * posix/unistd.h: Likewise.
20763 * io/bits/poll2.h: Likewise.
20764 * io/bits/fcntl2.h: Likewise.
20765 * io/fcntl.h: Likewise.
20766 * io/sys/poll.h: Likewise.
20767 * misc/bits/syslog.h: Likewise.
20768 * misc/bits/syslog-ldbl.h: Likewise.
20769 * misc/sys/syslog.h: Likewise.
20770 * socket/bits/socket2.h: Likewise.
20771 * socket/sys/socket.h: Likewise.
20772 * debug/tst-chk1.c: Likewise.
20773 * wcsmbs/bits/wchar2.h: Likewise.
20774 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20775 * wcsmbs/wchar.h: Likewise.
20776
ecf0ebfb
AJ
207772012-04-29 Andreas Jaeger <aj@suse.de>
20778
20779 * Makerules (tests): Remove enable-check-abi protection.
20780 (check-abi-warn): Remove.
20781 (check-abi-%): Remove check-abi-warn usage.
20782
20783 * configure.in: Remove check-abi configure option.
20784 * configure: Regenerated.
20785 * config.make.in (enable-check-abi): Remove.
20786
6d5c57fa
AS
207872012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20788
24c5d07e 20789 [BZ #14033]
ded5180a
AS
20790 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20791 double functions to double *_finite functions.
20792
7e0d315d
AS
20793 [BZ #13941]
20794 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20795 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20796 LDBL_MIN_EXP.
20797 * stdio-common/Makefile (tests): Add tst-sprintf3.
20798 * stdio-common/tst-sprintf3.c: New file.
20799
6d5c57fa
AS
20800 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20801 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20802
0749ff8b
JM
208032012-04-28 Joseph Myers <joseph@codesourcery.com>
20804
20805 * conform/conformtest.pl: Remove duplicate typed-constant
20806 handling.
20807
8dbd5d7b
DM
208082012-04-28 David S. Miller <davem@davemloft.net>
20809
20810 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20811 (check-abi-%): Remove AWK script prerequisite and explicit
20812 abilist directory.
20813 (check-abi): Rewrite to just diff the symlist with the abilist.
20814 (config-tls, config-abi-config): Delete, no longer used.
20815 (update-abi-%): Remove AWK script and explicit abilist directory.
20816 (update-abi): Rewrite to simply compare and conditionally copy the
20817 symlist and the sysdep abilist file. Remove update-abi-config
20818 checks.
20819 * abilist/ld.abilist: Remove.
20820 * abilist/libBrokenLocale.abilist: Remove.
20821 * abilist/libanl.abilist: Remove.
20822 * abilist/libcrypt.abilist: Remove.
20823 * abilist/libdl.abilist: Remove.
20824 * abilist/librt.abilist: Remove.
20825 * abilist/libthread_db.abilist: Remove.
20826 * abilist/libutil.abilist: Remove.
20827 * scripts/extract-abilist.awk: Remove.
20828 * scripts/merge-abilist.awk: Remove.
20829 * sysdeps/generic/libcidn.abilist: New file.
20830 * sysdeps/generic/libnss_compat.abilist: New file.
20831 * sysdeps/generic/libnss_db.abilist: New file.
20832 * sysdeps/generic/libnss_dns.abilist: New file.
20833 * sysdeps/generic/libnss_files.abilist: New file.
20834 * sysdeps/generic/libnss_hesiod.abilist: New file.
20835 * sysdeps/generic/libnss_nis.abilist: New file.
20836 * sysdeps/generic/libnss_nisplus.abilist: New file.
20837 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20838 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20839 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20840 file.
20841 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20842 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20843 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20844 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20845 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20846 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20847 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20848 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20849 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20850 file.
20851 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20852 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20853 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20854 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20855 file.
20856 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20857 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20858 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20859 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20860 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20861 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20862 file.
20863 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20864 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20865 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20866 file.
20867 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20869 New file.
20870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20871 New file.
20872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20873 New file.
20874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20875 New file.
20876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20877 New file.
20878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20879 New file.
20880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20881 New file.
20882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20883 New file.
20884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20885 New file.
20886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20887 New file.
20888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20889 New file.
20890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20891 New file.
20892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20893 New file.
20894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20895 file.
20896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20897 New file.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20899 New file.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20901 file.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20903 New file.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20905 New file.
20906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20907 file.
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20909 New file.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20911 New file.
20912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20913 New file.
20914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20915 New file.
20916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20917 New file.
20918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20919 New file.
20920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20922 file.
20923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20924 New file.
20925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20926 file.
20927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20928 file.
20929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20930 file.
20931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20932 file.
20933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20934 file.
20935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20936 New file.
20937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20938 file.
20939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20940 file.
20941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20942 New file.
20943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20944 file.
20945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20947 file.
20948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20949 New file.
20950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20951 file.
20952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20953 file.
20954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20955 file.
20956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20957 file.
20958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20959 file.
20960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20961 New file.
20962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20963 file.
20964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20965 file.
20966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20967 New file.
20968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20969 file.
20970 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20971 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20972 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20973 file.
20974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20975 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20976 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20977 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20978 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20979 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20980 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20981 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20982 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20983 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20986 file.
20987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20988 New file.
20989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20990 file.
20991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20992 file.
20993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20994 file.
20995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20996 file.
20997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20998 file.
20999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21000 New file.
21001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21002 New file.
21003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21004 file.
21005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21006 New file.
21007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21008 file.
21009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21011 file.
21012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21013 New file.
21014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21015 file.
21016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21017 file.
21018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21019 file.
21020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21021 file.
21022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21023 file.
21024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21025 New file.
21026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21027 New file.
21028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21029 file.
21030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21031 New file.
21032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21033 file.
21034
41d73a1b
JM
210352012-04-28 Joseph Myers <joseph@codesourcery.com>
21036
21037 * conform/conformtest.pl: Fix typo in handling typed-constant from
21038 allow-header.
21039
28aeeda4
JM
210402012-04-27 Joseph Myers <joseph@codesourcery.com>
21041
adae8f5e
JM
21042 * README: Cut down references to pre-2.6 Linux kernels and
21043 Linuxthreads. Update lists of configurations in libc and ports
21044 and sort alphabetically. Say "or newer" with Linux kernel version
21045 requirements.
21046
28aeeda4
JM
21047 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21048
a462cb63
RA
210492012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21050
21051 [BZ #887]
21052 * math/libm-test.inc (logb_test_downward): New test to expose
21053 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21054 rounding mode.
21055
6ad3493e
JM
210562012-04-27 Joseph Myers <joseph@codesourcery.com>
21057
21058 [BZ #14027]
21059 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21060 to be done.
21061 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21062 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21063
2ce4f015
JM
210642012-04-26 Joseph Myers <joseph@codesourcery.com>
21065
5aeb141a
JM
21066 * sysdeps/unix/i386/brk.S: Remove file.
21067 * sysdeps/unix/i386/dl-brk.S: Likewise.
21068 * sysdeps/unix/i386/pipe.S: Likewise.
21069 * sysdeps/unix/i386/sigreturn.S: Likewise.
21070 * sysdeps/unix/i386/syscall.S: Likewise.
21071 * sysdeps/unix/i386/vfork.S: Likewise.
21072 * sysdeps/unix/i386/wait.S: Likewise.
21073
7143acae
JM
21074 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21075 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21076
2ce4f015
JM
21077 * configure.in (arm*-none*): Do not allow without
21078 --enable-hacker-mode.
21079 (netbsd*): Remove case setting base_os.
21080 (386bsd*): Likewise.
21081 (freebsd*): Likewise.
21082 (bsdi*): Likewise.
21083 (osf*): Likewise.
21084 (sunos*): Likewise.
21085 (ultrix*): Likewise.
21086 (newsos*): Likewise.
21087 (dynix*): Likewise.
21088 (*bsd*): Likewise.
21089 (sysv*): Likewise.
21090 (isc*): Likewise.
21091 (esix*): Likewise.
21092 (sco*): Likewise.
21093 (minix*): Likewise.
21094 (irix4*): Likewise.
21095 (irix6*): Likewise.
21096 (solaris[2-9]*): Likewise.
21097 (none): Likewise.
21098 * configure: Regenerated.
21099
0ac229c8
AZ
211002012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21101
21102 [BZ #11521]
21103 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21104 overflow or cancellation in calculating denominator.
21105 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21106 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21107 down expression to avoid unexpected rounding in newer GCCs.
21108 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21109
33f244f4
DM
211102012-04-26 David S. Miller <davem@davemloft.net>
21111
21112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21113 long-double compat symbols.
21114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21127
cfa1f3e8
DM
211282012-04-25 David S. Miller <davem@davemloft.net>
21129
21130 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21131 HWCAP_* values only after the memory barriers have been defined.
21132 (atomic_full_barrier): Define.
21133 (atomic_read_barrier): Define.
21134 (atomic_write_barrier): Define.
21135
6e236b92
SP
211362012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21137
21138 * shlib-versions: Add libgcc_s version information.
21139 * sysdeps/generic/libgcc_s.h: Remove.
21140 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21141 libgcc_s.h.
21142 * sysdeps/gnu/unwind-resume.c: Likewise.
21143 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21144
aab39a09
DM
211452012-04-25 David S. Miller <davem@davemloft.net>
21146
21147 * sysdeps/unix/sparc/brk.S: Delete.
21148 * sysdeps/unix/sparc/dl-brk.S: Delete.
21149 * sysdeps/unix/sparc/pipe.S: Delete.
21150 * sysdeps/unix/sparc/sysdep.S: Delete.
21151 * sysdeps/unix/sparc/sysdep.h: Delete.
21152 * sysdeps/unix/sparc/vfork.S: Delete.
21153 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21154 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21155 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21156 ret_ERRVAL, r0, r1, MOVE): Define.
21157 (JUMPTARGET): Remove.
21158 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21159 sysdeps/unix/sparc/sysdep.h
21160 (ENTRY, END): Remove.
21161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21162
a3cc4f48
JM
211632012-04-25 Joseph Myers <joseph@codesourcery.com>
21164
2ed8cda2
JM
21165 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21166 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21167 -DIS_IN_build.
21168
35d76d59
JM
21169 * timezone/README: Update upstream location and email address for
21170 tzcode and tzdata.
21171 * timezone/zdump.c: Update from tzcode 2012b.
21172 * timezone/zic.c: Likewise.
21173
a3cc4f48
JM
21174 * configure.in (libc_cv_as_needed): Remove test.
21175 * configure: Regenerated.
21176 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21177 conditional definition.
21178 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21179 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21180 * config.make.in (have-as-needed): Remove variable.
21181
ceab42c3
SP
211822012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21183 Paul Pluzhnikov <ppluzhnikov@google.com>
21184
21185 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21186 strings correctly.
21187
3ce2865f
CLT
211882012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21189
21190 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21191 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21192 * sysdeps/sh/strlen.S: Likewise.
21193
f37e0d68
JM
211942012-04-24 Joseph Myers <joseph@codesourcery.com>
21195
ae186e9a
JM
21196 * sysdeps/unix/fork.S: Remove file.
21197 * sysdeps/unix/i386/fork.S: Likewise.
21198 * sysdeps/unix/sparc/fork.S: Likewise.
21199
b96914af
JM
21200 * sysdeps/unix/system.c: Remove file.
21201 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21202
f37e0d68
JM
21203 * sysdeps/unix/getegid.S: Remove file.
21204 * sysdeps/unix/geteuid.S: Likewise.
21205
87ef29ca
RM
212062012-04-24 Roland McGrath <roland@hack.frob.com>
21207
83bcd236
RM
21208 * scripts/check-localplt.awk: New file.
21209 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21210 of diff.
21211 * scripts/data/localplt-generic.data: Add a comment.
21212
87ef29ca
RM
21213 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21214 NODE when __dir_mkfile failed.
21215 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21216 Reported by Ludovic Courtès <ludo@gnu.org>.
21217
e5a6e567
AJ
212182012-04-24 Andreas Jaeger <aj@suse.de>
21219
21220 * Makerules (common-clean): Also remove gen-as-const-headers
21221 files.
21222
c1820385
JM
212232012-04-24 Joseph Myers <joseph@codesourcery.com>
21224
21225 * Makerules (native-compile): Do not change working directory for
21226 build. Use $(OUTPUT_OPTION) in command.
21227 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21228
94e02fc4
AZ
212292012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21230
21231 [BZ #13886]
21232 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21233 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21234 * math/libm-test.inc (floor_test): Add more tests.
21235 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21236
3a533ca3
JM
212372012-04-24 Joseph Myers <joseph@codesourcery.com>
21238
940ab4b3
JM
21239 * sysdeps/unix/getdents.c: Remove file.
21240 * sysdeps/unix/sysv/getdents.c: Likewise.
21241 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21242
90e037bd
JM
21243 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21244 sysdeps/unix/mman/syscalls.list.
21245 (mmap): Likewise.
21246 (mprotect): Likewise.
21247 (msync): Likewise.
21248 (munmap): Likewise.
21249 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21250 * sysdeps/unix/mman/syscalls.list: Remove.
21251 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21252
3a533ca3
JM
21253 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21254 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21255 * configure: Regenerated.
21256 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21257 $(libgcc_s_suffix).
21258 * config.make.in (libgcc_s_suffix): Remove variable.
21259
1ad743de
JM
212602012-04-23 Joseph Myers <joseph@codesourcery.com>
21261
4ad451e2
JM
21262 * sysdeps/unix/sysv/gethostname.c: Move to ...
21263 * sysdeps/posix/gethostname.c: ... here.
21264
5e37ce39
JM
21265 * sysdeps/unix/execve.S: Remove file.
21266
1ad743de
JM
21267 * sysdeps/unix/_exit.S: Remove file.
21268
4e681b5b
AJ
212692012-04-23 Andreas Jaeger <aj@suse.de>
21270
21271 [BZ #13739]
21272 * manual/Makefile: Remove make dist support, there's no
21273 need for a stand-alone documentation tar ball.
21274 (TEXI2DVI): Define always, it's not in Makeconfig.
21275 (dist): Removed.
21276 (tar-it): Removed.
21277 (edition): Removed.
21278 (glibc-doc-$(edition).tar): Removed
21279 (%.Z): Removed.
21280 (%.gz): Removed.
21281 (%.uu): Removed.
21282 (ETAGS): Remove, it's in Makeconfig.
21283 (move-if-change): Remove, it's in Makeconfig.
21284
38686a03 212852012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21286
21287 [BZ #13970]
21288 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21289 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21290 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21291 (strtod_l, strtof_l, strtold_l): Remove __wur.
21292 It is not necessarily an error to ignore strtol's return value.
21293 One can reliably look at the stored endptr to decide whether
21294 the number had valid syntax.
21295
7c0616fa
AJ
212962012-04-21 Andreas Jaeger <aj@suse.de>
21297
803cb6b7 21298 [BZ #13739]
7c0616fa
AJ
21299 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21300
b0fe253f
JM
213012012-04-21 Joseph Myers <joseph@codesourcery.com>
21302
21303 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21304 * sysdeps/unix/sysv/Versions: Remove file.
21305
8280f22d
MT
213062012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21307
21308 [BZ #13927]
21309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21310
75ce411f 213112012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21312
21313 [BZ #7064]
21314 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21315 version from __vm86.
21316
097d59fa
JM
213172012-04-20 Joseph Myers <joseph@codesourcery.com>
21318
a90f3bcb
JM
21319 * sysdeps/unix/common/lxstat.c: Remove file.
21320 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21321
edc7ea78
JM
21322 * sysdeps/unix/sysv/Makefile: Remove file.
21323
cb78c221
JM
21324 * sysdeps/unix/sysv/direct.h: Remove file.
21325
efa6a45f
JM
21326 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21327 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21328 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21329 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21330 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21331 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21332 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21333
9c9f2d0c
JM
21334 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21335
4541c83b
JM
21336 * sysdeps/unix/xmknod.c: Remove file.
21337 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21338
f5d153a0
JM
21339 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21340
aa746595
JM
21341 * sysdeps/unix/sysv/i386/time.S: Remove file.
21342
cce5905e
JM
21343 * sysdeps/unix/fxstat.c: Remove file.
21344 * sysdeps/unix/xstat.c: Likewise.
21345 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21346
37fa3841
JM
21347 * sysdeps/unix/sysv/sigaction.c: Remove file.
21348
ff1962a3
JM
21349 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21350 (sysdep_headers): Remove variable.
21351 [termio.h not in sysdep_headers] (generated): Likewise.
21352 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21353 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21354 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21355 * sysdeps/unix/sysv/tcflow.c: Likewise.
21356 * sysdeps/unix/sysv/tcflush.c: Likewise.
21357 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21358 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21359 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21360 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21361 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21362
e7740d31
JM
21363 * sysdeps/unix/siglist.c: Remove file.
21364
ee06f18b
JM
21365 * sysdeps/unix/getppid.S: Remove file.
21366
097d59fa
JM
21367 * sysdeps/unix/mkdir.c: Remove file.
21368 * sysdeps/unix/rmdir.c: Likewise.
21369
ff3d51ec
AS
213702012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21371
21372 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21373 ERR_MAX value.
21374 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21375 errlist-compat value.
21376
50f81fd7
DM
213772012-04-18 David S. Miller <davem@davemloft.net>
21378
21379 * sysdeps/generic/memcopy.h (reg_char): Delete.
21380 * debug/strcat_chk.c: Use char, not reg_char.
21381 * debug/strcpy_chk.c: Likewise.
21382 * debug/strncat_chk.c: Likewise.
21383 * debug/strncpy_chk.c: Likewise.
21384 * string/memchr.c: Likewise.
21385 * string/memrchr.c: Likewise.
21386 * string/rawmemchr.c: Likewise.
21387 * string/strcat.c: Likewise.
21388 * string/strchr.c: Likewise.
21389 * string/strchrnul.c: Likewise.
21390 * string/strcmp.c: Likewise.
21391 * string/strcpy.c: Likewise.
21392 * string/strncat.c: Likewise.
21393 * string/strncmp.c: Likewise.
21394 * string/strncpy.c: Likewise.
21395
8ff41c46
WS
213962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21397
21398 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21399 __builtin_memcopy is called when src and dest ranges are known to not
21400 overlap.
21401
6b652f46
WS
214022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21403
21404 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21405 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21406 fwd_align_merge macro call.
21407 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21408 bwd_align_merge macro call.
21409 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21410
b282631e
WS
214112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21412
21413 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21414 bwd_align_merge macros.
21415 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21416 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21417 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21418
95aa737c
DM
214192012-04-18 David S. Miller <davem@davemloft.net>
21420
21421 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21422
7a99a614
AJ
214232012-04-18 Andreas Jaeger <aj@suse.de>
21424
21425 [BZ# 6794]
21426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21427 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21428 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21429
21430 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21431 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21432 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21433
21434 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21435 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21436 Adjust for changed ldbl-128 files.
21437
21438 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21439 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21440 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21441
e5270c23
DM
214422012-04-17 David S. Miller <davem@davemloft.net>
21443
21444 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21445
fb5e92c9
AS
214462012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21447
21448 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21449 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21450 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21451 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21452 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21453 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21454
76da7265
AZ
214552012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21456
21457 [BZ #6794]
21458 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21459 * math/libm-test.inc: Add ilogb errno and exception tests.
21460 * math/w_ilogb.c: New file: ilogb wrapper.
21461 * math/w_ilogbf.c: New file: ilogbf wrapper.
21462 * math/w_ilogbl.c: New file: ilogbl wrapper.
21463 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21464 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21465 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21466 exception being thrown with 0.0 as argument.
21467 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21468 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21469 exception being thrown with 0.0 as argument.
21470 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21471 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21472 exception being thrown with 0.0 as argument.
21473 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21474 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21475 exception being thrown with 0.0 as argument.
21476 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21477 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21478 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21479 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21480 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21481 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21482 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21483 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21484 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21485
0396e69d
PB
214862012-04-17 Petr Baudis <pasky@ucw.cz>
21487
21488 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21489 with altivec.
21490
750b5926
MP
214912012-04-16 Marek Polacek <polacek@redhat.com>
21492
21493 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21494
751728a1
MP
214952012-04-16 Marek Polacek <polacek@redhat.com>
21496
21497 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21498 operands of fdivp instruction.
21499
34a27407
L
215002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21501
21502 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21503 * elf/tst-auditmod3b.c: Likewise.
21504 * elf/tst-auditmod4b.c: Likewise.
21505 * elf/tst-auditmod5b.c: Likewise.
21506 * elf/tst-auditmod6b.c: Likewise.
21507 * elf/tst-auditmod6c.c: Likewise.
21508 * elf/tst-auditmod7b.c: Likewise.
21509 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21510 * sysdeps/x86_64/preconfigure.in: Likewise.
21511 * sysdeps/x86_64/preconfigure: Regenerated.
21512
7e73e17d
L
215132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21514
21515 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21516 __ILP32__.
21517
c7a6ab72
AB
215182012-04-13 Antoine Balestrat <merkil33@gmail.com>
21519
21520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21521 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21522
a9e8e0e0
CL
215232012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21524
21525 [BZ #13973]
21526 * locale/iso-639.def: Fix gl language name. Spotted by
21527 Yaron Shahrabani.
21528
ec98af7d
RM
215292012-04-12 Roland McGrath <roland@hack.frob.com>
21530
21531 [BZ #2074]
21532 * libio/libio.h (__io_write_fn): Update comment.
21533
247c3ede
PB
215342012-04-12 Petr Baudis <pasky@ucw.cz>
21535
21536 [BZ #2074]
21537 * stdio.texi (Hook Functions): The user provided writer function
21538 is not allowed to return -1.
21539
55939d6d
DM
215402012-04-11 David S. Miller <davem@davemloft.net>
21541
21542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21543
90020f5a
MF
215442012-04-11 Mike Frysinger <vapier@gentoo.org>
21545
21546 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21547 Add a leading slash to rtkaio.
21548
288f9098
JM
215492012-04-11 Jim Meyering <meyering@redhat.com>
21550
90020f5a
MF
21551 [BZ #11959]
21552 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21553 It is not necessarily an error to ignore fwrite's return
21554 value. One can reliably use ferror to test for errors after
21555 the fact.
288f9098 21556
4be2b570
L
215572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21558
21559 * bits/types.h (__snseconds_t): New type.
21560 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21561
21562 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21563 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21564 (__SNSECONDS_T_TYPE): Likewise.
21565 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21566 (__SNSECONDS_T_TYPE): Likewise.
21567 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21568 (__SNSECONDS_T_TYPE): Likewise.
21569
288f9098 215702012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
21571
21572 [BZ #2636]
21573 * manual/time.texi (Processor Time): Return type of times is
21574 elapsed real time since an arbitrary point in the past.
21575 (CPU Time): Move CLK_TCK from here...
21576 (Processor Time): ...to here. Correct description.
21577 * manual/conf.texi (Constants for Sysconf): Correct description of
21578 _SC_CLK_TCK.
21579
d7dd4413
DM
215802012-04-10 David S. Miller <davem@davemloft.net>
21581
21582 [BZ #13967]
21583 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21584 where the is a gap between DT_REL(A) and DT_JMPREL.
21585
b46068fc
L
215862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21587
21588 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21589 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21590 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21591
73d65cc3
SP
215922012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21593
21594 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21595 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21596 (dl_main): Handle --inhibit-cache.
21597 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21598 _dl_inhibit_cache.
21599 * elf/dl-load.c (_dl_map_object): Use it.
21600 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21601
bcc8d661
JM
216022012-04-09 Joseph Myers <joseph@codesourcery.com>
21603
8f9a2fae
JM
21604 [BZ #13872]
21605 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21606 (__ieee754_powl): Saturate large exponents rather than testing for
21607 overflow of y*log2(x).
21608 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21609 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21610 exceptions.
21611
bcc8d661
JM
21612 [BZ #11521]
21613 * math/s_ctan.c: Include <float.h>.
21614 (__ctan): Avoid internal overflow or cancellation in calculating
21615 denominator.
21616 * math/s_ctanf.c: Likewise.
21617 * math/s_ctanl.c: Likewise.
21618 * math/s_ctanh.c: Likewise.
21619 * math/s_ctanhf.c: Likewise.
21620 * math/s_ctanhl.c: Likewise.
21621 * math/libm-test.inc (ctan_test): Add more tests.
21622 (ctanh_test): Likewise.
21623 * sysdeps/i386/fpu/libm-test-ulps: Update.
21624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21625
823fbbb4
AJ
216262012-04-09 Andreas Jaeger <aj@suse.de>
21627
03879793
AJ
21628 [BZ #6894]
21629 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21630 is an optional BSD extension.
21631
823fbbb4
AJ
21632 [BZ #10254]
21633 * manual/stdio.texi (Opening Streams): Document additional fopen
21634 parameters.
21635
8de131cb
RM
216362012-04-09 Roland McGrath <roland@hack.frob.com>
21637
21638 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21639 %eax without telling the compiler.
21640
c0ed9d7d
CD
216412012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21642
21643 [BZ # 13963]
21644 * manual/install.texi: Use sourceware.org.
21645
c483f6b4
JM
216462012-04-09 Joseph Myers <joseph@codesourcery.com>
21647
d7dd9453
JM
21648 [BZ #13873]
21649 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21650 (__ieee754_pow): Generate overflow and underflow using huge*huge
21651 and tiny*tiny rather than just returning constant infinity or zero
21652 for large exponents.
21653 * math/libm-test.inc (pow_test): Require overflow exceptions for
21654 applicable cases of large exponents.
21655
c483f6b4
JM
21656 [BZ #706]
21657 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21658 (__ieee754_pow): Use iterative multiplication algorithm only for
21659 integer exponents with absolute value below 1024. Check for odd
21660 integer exponents when using algorithm for real exponents.
21661 * math/libm-test.inc (pow_test): Add more tests.
21662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21663
d2de7579
JM
216642012-04-08 Joseph Myers <joseph@codesourcery.com>
21665
21666 [BZ #13705]
21667 * math/libm-test.inc (exp_test): Do not allow overflow exception
21668 on underflow test.
21669
f77f1232
AJ
216702012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21671
21672 [BZ #13705]
21673 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21674 instead of __kernel_standard_f.
21675
3884932b
MF
216762012-04-08 Mike Frysinger <vapier@gentoo.org>
21677
21678 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21679 * sysdeps/x86_64/memset_chk.S: Likewise.
21680
54472e9c
AJ
216812012-04-08 Andreas Jaeger <aj@suse.de>
21682
6ab0fbfc
AJ
21683 [BZ #10153]
21684 * manual/startup.texi (Environment Access): Describe return value
21685 for putenv and setenv.
21686
61efba8c
AJ
21687 [BZ #6895]
21688 * manual/filesys.texi (Directory Entries): Add description for
21689 DT_LNK.
21690
95c3f29a
AJ
21691 [BZ #6890]
21692 * manual/filesys.texi (Directory Entries): Clarify that it's file
21693 system not operating system in the description of DT_UNKNOWN.
21694
54472e9c
AJ
21695 [BZ #6578]
21696 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21697
624254b1
SC
216982012-04-08 Stephen Compall <s11@member.fsf.org>
21699
21700 [BZ #6649]
21701 * manual/llio.texi (Opening and Closing Files): Add cross
21702 reference to explain mode argument.
21703
1e4920e0
MF
217042012-04-07 Mike Frysinger <vapier@gentoo.org>
21705
21706 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21707 * sysdeps/x86_64/memset_chk.S: Likewise.
21708
5ed848f3
DM
217092012-04-07 David S. Miller <davem@davemloft.net>
21710
21711 * elf/elf.h (R_SPARC_WDISP10): Define.
21712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21713 R_SPARC_SIZE32.
21714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21715 R_SPARC_SIZE64 and R_SPARC_H34.
21716
96154cd8
CD
217172012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21718
21719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21720 conditions and remove no longer applicable assertion.
21721
9904dc47
L
217222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21723
21724 * bits/byteswap.h: Include <features.h>.
21725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21727
f8887d0a
L
217282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21729
21730 * bits/byteswap.h (__bswap_16): Removed.
21731 Include <bits/byteswap-16.h> to get __bswap_16.
21732 * sysdeps/i386/bits/byteswap.h: Likewise.
21733 * sysdeps/s390/bits/byteswap.h: Likewise.
21734 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21735 * bits/byteswap-16.h: New file.
21736 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21737 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21738 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21739 * string/Makefile (headers): Add bits/byteswap-16.h.
21740
62470f60
PP
217412012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21742
21743 [BZ #13895]
21744 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21745 extra indirection.
21746 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21747 * nss/tst-nss-static.c: New.
21748
4dad7bab
RM
217492012-04-06 Robert Millan <rmh@gnu.org>
21750
21751 [BZ #6486]
21752 * manual/llio.texi (File Position Primitive): lseek
21753 refers to WHENCE when it really means OFFSET.
21754
e9142a17
AJ
217552012-04-06 Andreas Jaeger <aj@suse.de>
21756
2c040eff
AJ
21757 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21758 strncmp declarations.
21759
e9142a17
AJ
21760 * abilist/libc.abilist: Add __poll and __ppoll.
21761
ff9f1c5f
DM
217622012-04-05 David S. Miller <davem@davemloft.net>
21763
dcd2ae90
DM
21764 * scripts/check-local-headers.sh: Accept a host triplet in the
21765 path matched by the exclude regexp.
21766
993eb054
DM
21767 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21768 definition.
21769 * sysdeps/powerpc/powerpc32/dl-machine.h
21770 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21771 * sysdeps/s390/s390-32/dl-machine.h
21772 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21773 * sysdeps/sparc/sparc32/dl-machine.h
21774 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21775 * sysdeps/sparc/sparc64/dl-machine.h
21776 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21777
ff9f1c5f
DM
21778 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21779 lazy binding.
48e2e132 21780 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
21781 undefined symbol errors.
21782
48e2e132 21783 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
21784 DT_NEEDED entries.
21785
e80d6f94
MM
217862012-04-05 Michael Matz <matz@suse.de>
21787
21788 [BZ #13592]
21789 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21790
349fa79f
AJ
217912012-04-05 Andreas Jaeger <aj@suse.de>
21792
21793 [BZ #13908]
21794 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21795 comment.
21796
f402708f
KK
217972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21798
21799 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21800 which ROUND is no valid rounding mode.
21801
2ecccfc9
KK
218022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21803
21804 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21805 read again.
21806 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21807
8a53f50f
KK
218082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21809
21810 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21811 an exception using FPU order intentionally.
21812
218132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21814
21815 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21816 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21817 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21818 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21819
d653abb7
SJ
218202012-04-05 Simon Josefsson <simon@josefsson.org>
21821
21822 [BZ #12340]
21823 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21824 EINVAL when BUFLEN is too smal.
21825
c3b1bf7d
TS
218262012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21827
21828 [BZ #13553]
21829 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21830 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21831
b1aa60f3
AJ
218322012-04-03 Andreas Jaeger <aj@suse.de>
21833
c3b1bf7d 21834 [BZ #13938]
67f60a26
AJ
21835 * manual/setjmp.texi (System V contexts): Fix sentence.
21836
b1aa60f3
AJ
21837 [BZ #13926]
21838 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21839 New macro for this case.
21840 [!__GNUC__] (__bswap_64): New inline function for this case.
21841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21842 * bits/byteswap.h: Likewise.
21843 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21844 ull, guard with __GLIBC_HAVE_LONG_LONG.
21845
21846 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21847 __GLIBC_HAVE_LONG_LONG.
21848
21849 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21850 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21851
39c59c35
TMQMF
218522012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21853
21854 [BZ #13691]
21855 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21856 inptr and inend, rather than using last_ch.
21857
135ffda8
DM
218582012-04-02 David S. Miller <davem@davemloft.net>
21859
21860 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21861 * stdio-common/printf-parse.h (read_int): Change return type to
21862 'int', return -1 on INT_MAX overflow.
21863 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21864 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21865 overflows INT_MAX. Check for overflow of in-format-string precision
21866 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21867 SIZE_MAX not INT_MAX for integer overflow test.
21868 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21869 skip the construct in the format string but do not record anything.
21870 * stdio-common/bug22.c: Adjust to test both width/prevision
21871 INT_MAX overflow as well as total length INT_MAX overflow. Check
21872 explicitly for proper errno values.
21873
228c019e
TS
218742012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21875
302cadd3
TS
21876 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21877 CHAR_MAX.
21878 * string/test-strcmp.c [! WIDE]: Likewise.
21879 * time/tst-mktime2.c: Likewise for INT_MAX.
21880 * string/test-string.h: #include <sys/param.h> for MIN.
21881
228c019e
TS
21882 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21883 * sysdeps/i386/init-first.c (init): Likewise.
21884 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21885 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21886 * sysdeps/sh/init-first.c (init): Likewise.
21887
cfa633f5
UD
218882012-04-01 Ulrich Drepper <drepper@gmail.com>
21889
21890 * po/ru.po: Update from translation team.
d1635ef8 21891 * po/vi.po: Likewise.
cfa633f5 21892
6cd0a5ea
SP
218932012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21894
21895 * resolv/nss_dns/dns-host.c: Merge copyright years.
21896
4b43400f
LD
218972012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21898
21899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21900 Optimize memcpy with prefetch if
21901 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21902 src, dst pointers have unequal 16 byte alignments.
21903
48c41d04
SP
219042012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21905
21906 [BZ #13928]
21907 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21908 from a CNAME entry and return the minimum ttl for the query.
21909 (gaih_getanswer_slice): Likewise.
21910
b8dc394d
JL
219112012-03-30 Jeff Law <law@redhat.com>
21912
21913 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21914 due to long keys.
21915 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21916 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21917
2f5a5ed0
JL
21918 * resolv/nss_dns/dns-host.c: Update copyright year.
21919
1d39e359
UD
219202012-03-30 Ulrich Drepper <drepper@gmail.com>
21921
c030f70c 21922 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21923 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21924
1d39e359
UD
21925 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21926 comments for sendmmsg.
21927
219282012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21929
21930 [BZ #13691]
21931 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21932 with only 1 character between 0x0041 and 0x01b0.
21933 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21934 * wcsmbs/tst-mbsnrtowcs.c: New file.
21935
20fde227
DM
219362012-03-29 David S. Miller <davem@davemloft.net>
21937
21938 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21939 small copies by hand.
21940
984a4237
JL
219412012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21942
21943 [BZ #13761]
21944 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21945 _nss_compat_initgroups_dyn): Fall back to malloc/free
21946 for large group memberships.
21947
18c9d62b
DM
219482012-03-28 David S. Miller <davem@davemloft.net>
21949
88d85d4f
DM
21950 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21951 that branches into memcpy.
21952 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21953 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21954 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21955 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21957 bits.
21958 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21959 implementation too.
21960 * sysdeps/sparc/mempcpy.S: New file.
21961
e5aa83e1
DM
21962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21963 the IFUNC routine in the libc case.
21964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21965
88570753
DM
21966 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21967 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21968 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21969 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21970 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21971 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21972 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21973 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21974
249d7567
DM
21975 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21976 loop to 256 bytes instead of 64 bytes and fix test signedness.
21977
18c9d62b
DM
21978 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21979 * sysdeps/sparc/sparc32/Makefile: rather than here...
21980 * sysdeps/sparc/sparc64/Makefile: and here.
21981
05f3d1f6
UD
219822012-03-28 Ulrich Drepper <drepper@gmail.com>
21983
21984 * malloc/mallocbug.c: Avoid warnings about unused variables.
21985
86ae07a8
JL
219862012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21987
21988 [BZ #13760]
21989 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21990 in the right place. Discard and retry query if response is
21991 larger than input buffer size.
21992
41bf21a1
JM
219932012-03-28 Joseph Myers <joseph@codesourcery.com>
21994
d6270972
JM
21995 [BZ #369]
21996 [BZ #2678]
21997 [BZ #3866]
21998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21999 x for large integer exponent.
22000 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22001 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22002 sign of result as needed afterwards.
22003 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22004 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22005 result for underflowing pow the same as for overflow.
22006 (__kernel_standard_l): Handle powl overflow and underflow here
22007 rather than calling __kernel_standard.
22008 * math/libm-test.inc (pow_test): Add more tests.
22009
414fca03 22010 [BZ #3868]
41bf21a1
JM
22011 [BZ #13879]
22012 [BZ #13910]
22013 [BZ #13911]
22014 [BZ #13912]
22015 [BZ #13913]
22016 [BZ #13915]
22017 [BZ #13916]
22018 [BZ #13917]
22019 [BZ #13918]
22020 [BZ #13919]
22021 [BZ #13920]
22022 [BZ #13921]
22023 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22024 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22025 (__kernel_standard_l): New function.
22026 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22027 __kernel_standard.
22028 * math/w_acosl.c (__acosl): Likewise.
22029 * math/w_asinl.c (__asinl): Likewise.
22030 * math/w_atan2l.c (__atan2l): Likewise.
22031 * math/w_atanhl.c (__atanhl): Likewise.
22032 * math/w_coshl.c (__coshl): Likewise.
22033 * math/w_exp10l.c (__exp10l): Likewise.
22034 * math/w_exp2l.c (__exp2l): Likewise.
22035 * math/w_fmodl.c (__fmodl): Likewise.
22036 * math/w_hypotl.c (__hypotl): Likewise.
22037 * math/w_j0l.c (__j0l, __y0l): Likewise.
22038 * math/w_j1l.c (__j1l, __y1l): Likewise.
22039 * math/w_jnl.c (__jnl, __ynl): Likewise.
22040 * math/w_lgammal.c (__lgammal): Likewise.
22041 * math/w_log10l.c (__log10l): Likewise.
22042 * math/w_log2l.c (__log2l): Likewise.
22043 * math/w_logl.c (__logl): Likewise.
22044 * math/w_powl.c (__powl): Likewise.
22045 * math/w_remainderl.c (__remainderl): Likewise.
22046 * math/w_scalbl.c (sysv_scalbl): Likewise.
22047 * math/w_sinhl.c (__sinhl): Likewise.
22048 * math/w_sqrtl.c (__sqrtl): Likewise.
22049 * math/w_tgammal.c (__tgammal): Likewise.
22050 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22051 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22052 * math/libm-test.inc (acos_test): Add more tests.
22053 (acosh_test): Likewise.
22054 (asin_test): Likewise.
22055 (atanh_test): Likewise.
22056 (exp_test): Likewise.
22057 (exp10_test): Likewise.
22058 (exp2_test): Likewise.
22059 (expm1_test): Likewise.
22060 (lgamma_test): Likewise.
22061 (log_test): Likewise.
22062 (log10_test): Likewise.
22063 (log1p_test): Likewise.
22064 (log2_test): Likewise.
22065 (pow_test): Do not allow some spurious overflow exceptions.
22066 (sqrt_test): Add more tests.
22067 (tgamma_test): Likewise.
22068 (y0_test): Likewise.
22069 (y1_test): Likewise.
22070 (yn_test): Likewise.
22071
dd62fda6
AB
220722012-03-27 Anton Blanchard <anton@samba.org>
22073
22074 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22075 MAP_HUGETLB.
22076 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22077 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22078 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22079
1e3cdfda
AJ
220802012-03-27 David S. Miller <davem@davemloft.net>
22081
b855ab85
DM
22082 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22083
1e3cdfda
AJ
22084 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22085 have-as-vis3 check.
22086
220872012-03-27 Andreas Jaeger <aj@suse.de>
22088
22089 * sysdeps/x86_64/elf/configure.in: Moved to ...
22090 * sysdeps/x86_64/configure.in: ... here.
22091 * sysdeps/x86_64/elf/start.S: Moved to ...
22092 * sysdeps/x86_64/start.S: ... here.
22093 * sysdeps/x86_64/elf/configure: Delete.
22094
22095 * sysdeps/x86_64/configure.in: Merge contents from
22096 sysdeps/i386/configure.in (without i686 check).
22097
22098 * sysdeps/i386/elf/Versions: Merge into ...
22099 * sysdeps/i386/Versions: ... this.
22100 * sysdeps/i386/elf/Versions: Delete file.
22101 * sysdeps/i386/elf/start.S: Moved to ...
22102 * sysdeps/i386/start.S: ...here.
22103 * sysdeps/i386/elf/configure.in: Merge into...
22104 * sysdeps/i386/configure.in: ...here.
22105 * sysdeps/i386/elf/configure.in: Delete file.
22106 * sysdeps/i386/elf/configure: Delete file.
22107
22108 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22109 * debug/backtracesyms.c: ... here.
22110 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22111 * debug/backtracesymsfd.c: ... here.
22112 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22113 * sysdeps/generic/ifunc-sel.h: ... here.
22114
22115 * sysdeps/unix/i386/start.c: Delete file.
22116 * sysdeps/unix/sparc/start.c: Delete file.
22117 * sysdeps/unix/start.c: Delete file.
22118
22119 * sysdeps/sh/elf/configure.in: Moved to ...
22120 * sysdeps/sh/configure.in: ... here.
22121 * sysdeps/sh/elf/start.S: Moved to ...
22122 * sysdeps/sh/start.S: ... here.
22123 * sysdeps/sh/elf/configure: Delete file.
22124
22125 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22126 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22127 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22128 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22129 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22130 * sysdeps/powerpc/powerpc64/start.S: here.
22131 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22132 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22133 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22134 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22135 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22136
22137 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22138 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22139 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22140 * sysdeps/powerpc/powerpc32/start.S: ... here.
22141 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22142 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22143 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22144
22145 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22146 * sysdeps/powerpc/ifunc-sel.h: ... here.
22147 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22148 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22149
22150 * sysdeps/sparc/elf/configure.in: Moved to ...
22151 * sysdeps/sparc/configure.in: ... here.
22152 * sysdeps/sparc/elf/configure: Delete file.
22153 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22154 * sysdeps/sparc/sparc32/start.S: ... here.
22155 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22156 * sysdeps/sparc/sparc64/start.S: ... here.
22157 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22158 * sysdeps/sparc/sparc32/Makefile: ... this.
22159 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22160 * sysdeps/sparc/sparc64/Makefile: ... this.
22161
22162 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22163 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22164 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22165 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22166 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22167 * sysdeps/s390/s390-32/setjmp.S: ... here.
22168 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22169 * sysdeps/s390/s390-32/configure.in: ... here.
22170 * sysdeps/s390/s390-32/elf/configure: Delete file.
22171 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22172 * sysdeps/s390/s390-32/start.S: ... here.
22173
22174 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22175 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22176 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22177 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22178 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22179 * sysdeps/s390/s390-64/setjmp.S: ... here.
22180 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22181 * sysdeps/s390/s390-64/configure.in: ... here
22182 * sysdeps/s390/s390-64/elf/configure: Delete file.
22183 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22184 * sysdeps/s390/s390-64/start.S: ... here.
22185 * sysdeps/s390/s390-64/elf/configure: Delete.
22186
22187 * configure.in: Remove support for elf directories in sysdeps.
22188
22189 * configure: Regenerated.
22190 * sysdeps/i386/configure: Regenerated.
22191 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22192 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22193 * sysdeps/s390/s390-32/configure: Regenerated.
22194 * sysdeps/s390/s390-64/configure: Regenerated.
22195 * sysdeps/sh/configure: Regenerated.
22196 * sysdeps/sparc/configure: Regenerated.
22197 * sysdeps/x86_64/configure: Regenerated.
22198
a3f61311
AS
221992012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22200
c876e002
AS
22201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22202
a3f61311
AS
22203 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22204 denormal result into account.
22205
ac4c54f0
RM
222062012-03-25 Roland McGrath <roland@hack.frob.com>
22207
22208 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22209 Reported by Allan McRae <allan@archlinux.org>.
22210
6a9b9c02
JL
222112012-03-23 Jeff Law <law@redhat.com>
22212
22213 * nss/getnssent.c (__nss_getent): Fix typo.
22214
4c42a0c1
DM
222152012-03-23 David S. Miller <davem@davemloft.net>
22216
22217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22218
1532c7ac
L
222192012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22220
22221 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22222 to pad to uint64_t for each field.
22223 (dl_tls_index): Replace unsigned long with uint64_t.
22224
3ff42526
PP
222252012-03-23 Daniel Jacobowitz <dmj@google.com>
22226 Paul Pluzhnikov <ppluzhnikov@google.com>
22227
22228 [BZ #6528]
22229 * grp/Makefile (otherlibs): Don't set it.
22230 * inet/Makefile (otherlibs): Likewise.
22231 * login/Makefile (otherlibs): Likewise.
22232 * nscd/Makefile (otherlibs): Likewise.
22233 * posix/Makefile (otherlibs): Likewise.
22234 * pwd/Makefile (otherlibs): Likewise.
22235 * rt/Makefile (otherlibs): Likewise.
22236 * sunrpc/Makefile (otherlibs): Likewise.
22237 * nss/Makefile (otherlibs): Likewise.
22238 Add libnss_files to routines and static-only-routines.
22239 ($(objpfx)getent): Remove rule.
22240 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22241 static-only-routines.
22242
7c69cd14
JM
222432012-03-22 Joseph Myers <joseph@codesourcery.com>
22244
22245 [BZ #13892]
22246 * math/s_cexp.c: Include <float.h>.
22247 (__cexp): Handle exp result overflowing not necessarily
22248 overflowing both real and imaginary parts of result.
22249 * math/s_cexpf.c: Likewise.
22250 * math/s_cexpl.c: Likewise.
22251 * math/libm-test.inc (cexp_test): Add more tests.
22252 * sysdeps/i386/fpu/libm-test-ulps: Update.
22253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22254
81b035fe
L
222552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22256
22257 * include/link.h (ELFW): New macro.
22258 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22259 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22260
1da7940c
L
222612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22262
22263 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22264 with uint64_t.
22265
b749dbb9
L
222662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22267
22268 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22269 declaration.
22270 (struct La_x32_retval): Likewise.
22271
2ff87f3f
L
222722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * sysdeps/x86_64/preconfigure.in: New file.
22275 * sysdeps/x86_64/preconfigure: New generated file.
22276
c0df8e69
JM
222772012-03-22 Joseph Myers <joseph@codesourcery.com>
22278
48e44791
JM
22279 [BZ #13824]
22280 * math/e_exp2l.c: Include <float.h>.
22281 (__ieee754_exp2l): Handle overflow and underflow cases
22282 separately. Only pass fractional part of argument to
22283 __ieee754_expl.
22284 * math/libm-test.inc (exp2_test): Add more tests.
22285
c0df8e69
JM
22286 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22287 negating x to take absolute value.
22288 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22289 Likewise.
22290 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22291 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22292 Likewise.
22293 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22294 computing low part if x was negated.
22295 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22296
c8e43ba7
L
222972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22300 la_x32_gnu_pltexit.
22301 (pltexit): Cast int_retval to ptrdiff_t.
22302 * elf/tst-auditmod3b.c: Likewise.
22303 * elf/tst-auditmod4b.c: Likewise.
22304 * elf/tst-auditmod5b.c: Likewise.
22305 * elf/tst-auditmod6b.c: Likewise.
22306 * elf/tst-auditmod6c.c: Likewise.
22307 * elf/tst-auditmod7b.c: Likewise.
22308
22309 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22310 and x32_gnu_pltexit.
22311
22312 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22313 __ELF_NATIVE_CLASS.
22314 (La_x32_regs): New macro.
22315 (La_x32_retval): Likewise.
22316 (la_x32_gnu_pltenter): New function prototype.
22317 (la_x32_gnu_pltexit): Likewise.
22318
7998fa78
AS
223192012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22320
dcb33988
AS
22321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22322 exponent.
22323
233fc563
AS
22324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22325
7998fa78
AS
22326 * configure.in (libc_cv_cc_nofma): Check for option to disable
22327 generation of FMA instructions.
22328 * configure: Regenerate.
22329 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22330 * sysdeps/ieee754/dbl-64/Makefile: New file.
22331 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22332 Remove brandred-fma4.
22333 (CFLAGS-brandred-fma4.c): Remove.
22334 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22335 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22336 define.
22337 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22338 define.
22339
8e95c99a
L
223402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22343 LLONG_MAX != LONG_MAX.
22344 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22345 (_fitoa_word): Likewise.
22346 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22347 LLONG_MAX != LONG_MAX.
22348 * stdio-common/_itowa.h: Include <_itoa.h>.
22349 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22350 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22351 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22352 only if not defined.
22353 (_ITOA_WORD_TYPE): Likewise.
22354 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22355 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22356
6f4db457
DM
223572012-03-21 David S. Miller <davem@davemloft.net>
22358
22359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22360
7785fe5a
L
223612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22362
22363 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22364 of x86_64 when setting libc_cv_slibdir, libdir and
22365 libc_cv_localedir.
22366 * sysdeps/unix/sysv/linux/configure: Regenerated.
22367
4535cd55
JM
223682012-03-21 Joseph Myers <joseph@codesourcery.com>
22369
22370 * manual/lang.texi (Old Varargs): Remove section.
22371 (How Variadic): Update menu.
22372 (va_start): Do not mention varargs.h.
22373
17228132
TS
223742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22375 Joseph Myers <joseph@codesourcery.com>
22376
22377 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22378 link test.
22379 * configure: Regenerated.
22380
8149f976
TS
223812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22382
05f3d1f6
UD
22383 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22384 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22385 conformtest.pl
8149f976 22386
1a4ac776
JM
223872012-03-21 Joseph Myers <joseph@codesourcery.com>
22388
be22ce65
JM
22389 * NOTES: Remove.
22390 * Makefile (files-for-dist): Remove NOTES.
22391 (NOTES): Remove rule.
22392 * README: Don't refer to NOTES.
22393 * manual/creature.texi: Don't include macros.texi.
22394 * manual/intro.texi (creature.texi): Remove comment referring to
22395 NOTES.
22396
40b601fb
JM
22397 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22398 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22399 * configure: Regenerated.
22400 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22401 LIBC_TRY_CC_OPTION.
22402 (libc_cv_as_i686): Likewise.
22403 (libc_cv_cc_avx): Likewise.
22404 (libc_cv_cc_sse2avx): Likewise.
22405 (libc_cv_cc_fma4): Likewise.
22406 (libc_cv_cc_novzeroupper): Likewise.
22407 * sysdeps/i386/configure: Regenerated.
22408
1a4ac776
JM
22409 [BZ #13883]
22410 * sysdeps/i386/fpu/s_cexp.S: Remove.
22411 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22412 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22413 * math/libm-test.inc (cexp_test): Add more tests.
22414 * sysdeps/i386/fpu/libm-test-ulps: Update.
22415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22416
a458e7fe
AM
224172012-03-21 Allan McRae <allan@archlinux.org>
22418
22419 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22420
0cb7efc5
JM
224212012-03-21 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #13871]
22424 * math/w_exp2.c: Do not include <float.h>.
22425 (o_threshold, u_threshold): Remove.
22426 (__exp2): Calculate result before checking finiteness and calling
22427 __kernel_standard.
22428 * math/w_exp2f.c: Likewise.
22429 * math/w_exp2l.c: Likewise.
22430 * math/libm-test.inc (exp2_test): Require overflow exception for
22431 1e6 input.
2460d3aa
JM
22432
22433 [BZ #3866]
22434 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22435 range of signed 64-bit integers before using fistpll. Remove
22436 checks for whether integers fit in mantissa bits.
22437 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22438 the range of signed 32-bit integers before using fistpl. Remove
22439 checks for whether integers fit in mantissa bits.
22440 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22441 (__ieee754_powl): Test for y outside the range of signed 64-bit
22442 integers before using fistpll. Reduce 64-bit values to 63-bit
22443 ones as needed.
22444 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22445 divide-by-zero is raised for zero to large negative powers.
22446 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22447 (__ieee754_powl): Test for y outside the range of signed 64-bit
22448 integers before using fistpll. Reduce 64-bit values to 63-bit
22449 ones as needed.
22450 * math/libm-test.inc (pow_test): Add more tests.
22451
eb96ffb0
L
224522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22455 <stdio-common/_itoa.h>.
22456 * debug/segfault.c: Likewise.
22457 * elf/dl-cache.c: Likewise.
22458 * elf/dl-minimal.c: Likewise.
22459 * elf/dl-misc.c: Likewise.
22460 * elf/dl-sysdep.c: Likewise.
22461 * elf/dl-version.c: Likewise.
22462 * elf/rtld.c: Likewise.
22463 * hurd/hurdsock.c: Likewise.
22464 * hurd/lookup-retry.c: Likewise.
22465 * malloc/malloc.c: Likewise.
22466 * malloc/mtrace.c: Likewise.
22467 * nscd/nscd_getgr_r.c: Likewise.
22468 * nscd/nscd_getpw_r.c: Likewise.
22469 * nscd/nscd_getserv_r.c: Likewise.
22470 * posix/getopt_init.c: Likewise.
22471 * posix/wordexp.c: Likewise.
22472 * stdio-common/_itoa.c: Likewise.
22473 * stdio-common/printf_fphex.c: Likewise.
22474 * stdio-common/vfprintf.c: Likewise.
22475 * string/_strerror.c: Likewise.
22476 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22477 * sysdeps/i386/i686/hp-timing.h: Likewise.
22478 * sysdeps/mach/_strerror.c: Likewise.
22479 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22480 * sysdeps/mach/hurd/sethostid.c: Likewise.
22481 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22482 * sysdeps/mach/xpg-strerror.c: Likewise.
22483 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22484 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22485 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22486 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22487 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22488 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22489 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22490 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22491 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22492 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22493 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22494 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22495 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22496 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22497 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22498 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22499 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22500 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22501 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22502 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22503 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22504
22505 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22506
22507 * stdio-common/_itoa.h: Moved to ...
22508 * sysdeps/generic/_itoa.h: Here.
22509
22510 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22511
22512 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22513 instead of "_itoa.h" and "_itowa.h".
22514 * stdio-common/vfprintf.: Likewise.
22515
d1af992d
L
225162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22517
22518 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22519 <bits/wordsize.h>.
22520 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22521 (__signbit): Likwise.
22522 (llrintf): Likwise.
22523 (llrint): Likwise.
22524
114883e0
L
225252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22526
22527 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22528 __WORDSIZE != 64.
22529
c135cc1b
JM
225302012-03-20 Joseph Myers <joseph@codesourcery.com>
22531
22532 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22533 OVERFLOW_EXCEPTION_OK.
22534 * math/libm-test.inc ("Philosophy"): Update comment about
22535 exception testing.
22536 (OVERFLOW_EXCEPTION): Define.
22537 (OVERFLOW_EXCEPTION_OK): Likewise.
22538 (INVALID_EXCEPTION_OK): Renumber.
22539 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22540 (IGNORE_ZERO_INF_SIGN): Likewise.
22541 (test_exceptions): Handle FE_OVERFLOW.
22542 (exp10_test): Expect overflow exceptions.
22543 (exp2_test): Likewise.
22544 (expm1_test): Likewise.
22545 (nextafter_test): Likewise.
22546 (pow_test): Likewise.
22547 (scalbn_test): Likewise.
22548 (scalbln_test): Likewise.
22549
95443d88
L
225502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22551
22552 * sysdeps/x86_64/bits/atomic.h
22553 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22554 64bit integer.
22555 (atomic_exchange_acq): Likewise.
22556 (__arch_exchange_and_add_body): Likewise.
22557 (__arch_add_body): Likewise.
22558 (atomic_add_negative): Likewise.
22559 (atomic_add_zero): Likewise.
22560
490df6c4
L
225612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22562
c2722551 22563 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
22564 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22565
5e52b189
L
225662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22567
22568 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22569 Check __x86_64__ instead of __WORDSIZE.
22570
a9879d4c
L
225712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22572
22573 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22574
5df98260
DM
225752012-03-19 David S. Miller <davem@davemloft.net>
22576
e1497744
DM
22577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22578
5df98260
DM
22579 * sysdeps/sparc/fpu/fenv_private.h: New file.
22580 * sysdeps/sparc/fpu/math_private.h: Use it.
22581 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22582 Remove.
22583 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22584 (libc_feholdexcept_setroundl): Remove.
22585 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22586 Remove.
22587 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22588 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22589
b4c35121
L
225902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22591
22592 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22593 int64_t instead of long int.
22594 (INSERT_WORDS64): Likwise.
22595
56965fd7
L
225962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22597
22598 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22599 _Unwind_GetCFA return to _Unwind_Ptr first.
22600
83d1aec8
JM
226012012-03-19 Joseph Myers <joseph@codesourcery.com>
22602
1897ad44
JM
22603 [BZ #13629]
22604 * math/s_clog.c: Include <float.h>.
22605 (__clog): Scale large or subnormal inputs.
22606 * math/s_clogf.c: Likewise.
22607 * math/s_clogl.c: Likewise.
22608 * math/s_clog10.c: Include <float.h>.
22609 (M_LOG10_2): Define.
22610 (__clog10): Scale large or subnormal inputs.
22611 * math/s_clog10f.c: Likewise.
22612 * math/s_clog10l.c: Likewise.
22613 * math/libm-test.inc (clog_test): Add more tests.
22614 (clog10_test): Likewise.
22615 * sysdeps/i386/fpu/libm-test-ulps: Update.
22616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22617
7726d6a9
JM
22618 [BZ #11451]
22619 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22620 x and y.
22621 * math/libm-test.inc (atan2_test): Add another test.
22622
83d1aec8
JM
22623 * Makerules (common-objdir-compile): Remove.
22624 * sysdeps/unix/Makefile (config-generated): Do not add
22625 $(unix-generated) to variable.
22626 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22627 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22628 Remove rule.
22629 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22630 Likewise.
22631 [generic bits/local_lim.h] (before-compile): Do not append to
22632 variable.
22633 [generic bits/local_lim.h] (common-generated): Likewise.
22634 [generic sys/param.h] (before-compile): Do not append to variable.
22635 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22636 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22637 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22638 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22639 include.
22640 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22641 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22642 [generic sys/param.h] ($(addprefix
22643 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22644 [generic sys/param.h] (common-generated): Do not append to
22645 variable.
22646 [generic sys/param.h] (sysdep_headers): Likewise.
22647 [generic bits/errno.h] (before-compile): Do not append to
22648 variable.
22649 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22650 rule.
22651 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22652 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22653 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22654 [generic bits/errno.h] (common-generated): Do not append to
22655 variable.
22656 [generic bits/ioctls.h] (before-compile): Do not append to
22657 variable.
22658 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22659 rule.
22660 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22661 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22662 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22663 rule.
22664 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22665 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22666 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22667 [generic bits/ioctls.h] (common-generated): Do not append to
22668 variable.
22669 [generic sys/syscall.h] (syscall.h): Remove variable.
22670 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22671 rule.
22672 [generic sys/syscall.h] (before-compile): Do not append to
22673 variable.
22674 [generic sys/syscall.h] (common-generated): Likewise.
22675 * sysdeps/unix/errnos-tmpl.c: Remove file.
22676 * sysdeps/unix/errnos.awk: Likewise.
22677 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22678 * sysdeps/unix/ioctls.awk: Likewise.
22679 * sysdeps/unix/mk-local_lim.c: Likewise.
22680 * sysdeps/unix/snarf-ioctls: Likewise.
22681
4851a949
RH
226822012-03-19 Richard Henderson <rth@twiddle.net>
22683
bd37f2ee
RH
22684 * sysdeps/i386/fpu/fenv_private.h: New file.
22685 * sysdeps/i386/fpu/math_private.h: Use it.
22686 (math_opt_barrier, math_force_eval): Remove.
22687 (libc_feholdexcept_setround_53bit): Remove.
22688 (libc_feupdateenv_53bit): Remove.
22689 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22690 (math_opt_barrier, math_force_eval): Remove.
22691 (libc_feholdexcept): Remove.
22692 (libc_feholdexcept_setround): Remove.
22693 (libc_fetestexcept, libc_fesetenv): Remove.
22694 (libc_feupdateenv_test): Remove.
22695 (libc_feupdateenv, libc_feholdsetround): Remove.
22696 (libc_feresetround): Remove.
22697
d0adc922
RH
22698 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22699 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22700
0fe0f1f8
RH
22701 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22702 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22703 (libc_feupdateenv_testl): New.
22704 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22705 (libc_feupdateenv_testf): New.
22706 (libc_feupdateenv): Use libc_feupdateenv_test.
22707 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22708 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22709
eb92c487
RH
22710 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22711 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22712 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22713 (libc_feresetround_noex): New.
22714 (libc_feresetround_noexf): New.
22715 (libc_feresetround_noexl): New.
22716 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22717 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22718 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22719 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22720 SET_RESTORE_ROUND.
22721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22723 (__cos): Likewise.
22724 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22725 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22726 SET_RESTORE_ROUND_NOEX.
22727 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22728 SET_RESTORE_ROUND_NOEXF.
22729 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22730 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22731 (libc_feholdsetroundf): New.
22732 (libc_feresetround, libc_feresetroundf): New.
22733
7d2e8012
RH
22734 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22735 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22736 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22737
b4dabbb4
RH
22738 * sysdeps/generic/math_private.h: Include <fenv.h>.
22739 (default_libc_feholdexcept): New.
22740 (default_libc_feholdexcept_setround): New.
22741 (default_libc_fesetenv, default_libc_feupdateenv): New.
22742 (libc_feholdexcept): Only define if undefined.
22743 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22744 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22745 (libc_feholdexcept_setroundl): Likewise.
22746 (libc_feholdexcept_setround_53bit): Likewise.
22747 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22748 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22749 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22750 (libc_feupdateenv_53bit): Likewise.
22751 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22752 (libc_feholdexcept): Convert from macro to inline function.
22753 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22754 (libc_fesetenv, libc_feupdateenv): Likewise.
22755
4851a949
RH
22756 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22757 not previously defined.
22758 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22759 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22760 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22761 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22762 * sysdeps/ieee754/flt-32/math_private.h: New file.
22763 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22764 math_private.h below SET_FLOAT_WORD.
22765 (__isnan, __isinf_ns, __finite): Remove.
22766 (__isnanf, __isinf_nsf, __finitef): Remove.
22767
e79d442e
AS
227682012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22769
22770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22771
90b80344
DM
227722012-03-17 David S. Miller <davem@davemloft.net>
22773
22774 [BZ #6471]
22775 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22776 for 2.16.
22777
edc21804
DM
227782012-03-16 David S. Miller <davem@davemloft.net>
22779
77e927af
DM
22780 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22781 warnings.
22782
374976dd
DM
22783 [BZ #6471]
22784 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22785 properly.
22786 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22787 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22788 sysdep_routines when subdir is sysvipc.
22789 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22790 __getshmlba helper.
22791
edc21804
DM
22792 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22793
473c3ef3
L
227942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22795
22796 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22797 [__LP64__].
22798
eb0f39b6
L
227992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22800
22801 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22802 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22803 (__lround): Renamed to ...
22804 (__llround): This. Replace long int with long long int.
22805 Define lround functions as aliases of llround functions.
22806 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22807
6b6cd74b
L
228082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22809
22810 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22811 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22812 adresses to uintptr_t. Replace "long int" and "unsigned long
22813 int" with "greg_t" on va_arg.
22814
f1a77b01
L
228152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22818 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22819
22820 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22821 Move e_machine check before EI_CLASS check. Handle x32
22822 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22823 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22824 SKIP_EM_IA_64 and include
22825 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22826
22827 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22828 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22829 (add_system_dir): New macro.
22830
22831 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22832 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22833
11b90b9f
JM
228342012-03-16 Joseph Myers <joseph@codesourcery.com>
22835
c36e1d23
JM
22836 [BZ #2551]
22837 [BZ #2552]
22838 [BZ #2553]
22839 [BZ #2554]
22840 [BZ #2562]
22841 [BZ #2563]
22842 [BZ #2565]
22843 [BZ #2566]
22844 [BZ #2576]
22845 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22846 (y0): Likewise.
22847 * math/w_j0f.c (j0f): Likewise.
22848 (y0f): Likewise.
22849 * math/w_j0l.c (__j0l): Likewise.
22850 (__y0l): Likewise.
22851 * math/w_j1.c (j1): Likewise.
22852 (y1): Likewise.
22853 * math/w_j1f.c (j1f): Likewise.
22854 (y1f): Likewise.
22855 * math/w_j1l.c (__j1l): Likewise.
22856 (__y1l): Likewise.
22857 * math/w_jn.c (jn): Likewise.
22858 (yn): Likewise.
22859 * math/w_jnf.c (jnf): Likewise.
22860 (ynf): Likewise.
22861 * math/w_jnl.c (__jnl): Likewise.
22862 (__ynl): Likewise.
22863 * math/libm-test.inc (j0_test): Add more tests.
22864 (j1_test): Likewise.
22865 (jn_test): Likewise. Add trailing semicolon to existing test.
22866 (y0_test): Likewise.
22867 (y1_test): Likewise.
22868 * sysdeps/i386/fpu/libm-test-ulps: Update.
22869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22870
11b90b9f
JM
22871 [BZ #13851]
22872 [BZ #13854]
22873 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22874 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22875 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22876 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22877 (__tanl): Set errno for infinite argument.
22878 * sysdeps/i386/fpu/mptan.c: Remove.
22879 * sysdeps/i386/fpu/s_tan.S: Likewise.
22880 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22881 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22882 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22883 * math/libm-test.inc (tan_test): Add more tests and enable more
22884 tests for double and long double.
22885 * sysdeps/i386/fpu/libm-test-ulps: Update.
22886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22887
6a1bd2a1
JK
228882012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22889
22890 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22891 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22892
10a803e0
RM
228932012-03-16 Roland McGrath <roland@hack.frob.com>
22894
22895 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22896 * configure.in: Use it for both main tree and add-ons.
22897 * configure: Regenerated.
22898
f196c7f7
L
228992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22900
22901 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22902
8848d99d
JM
229032012-03-16 Joseph Myers <joseph@codesourcery.com>
22904
96cbe7f4
JM
22905 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22906 in comment.
22907
8848d99d
JM
22908 [BZ #13851]
22909 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22910 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22911 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22912 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22913 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22914 infinite argument.
22915 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22916 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22917 != 0 for prec == 2.
22918 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22919 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22920 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22921 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22922 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22923 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22924 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22925 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22926 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22927 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22928 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22929 * math/libm-test.inc (cos_test): Add more tests and enable more
22930 tests for long double.
22931 (sin_test): Likewise.
22932 (sincos_test): Likewise.
22933 * sysdeps/i386/fpu/libm-test-ulps: Update.
22934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22935
dd7f4703
DM
229362012-03-16 David S. Miller <davem@davemloft.net>
22937
22938 * sysdeps/sparc/fpu/math_private.h: New file.
22939
006f1daa
DM
229402012-03-15 David S. Miller <davem@davemloft.net>
22941
c0c83bc8
DM
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22943 file.
e6a62e18 22944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22946 file.
e6a62e18
DM
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22953 sysdep routines.
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22955
88cb87d9
DM
22956 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22957 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22958
006f1daa 22959 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22961 sparc-ifunc.h
006f1daa 22962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22964 Likewise.
22965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22966 Likewise.
006f1daa
DM
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22971 Likewise.
006f1daa
DM
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22977 Likewise.
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22979 Likewise.
006f1daa
DM
22980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22996 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22997 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22998 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23002 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23004
11e0098e
AS
230052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23006
23007 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23008 scaling.
23009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23010
e85b09d0
AJ
230112012-03-15 Andreas Jaeger <aj@suse.de>
23012
23013 [BZ #13852]
23014 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23015 ieee754/flt-32 implementation for sin, cos and sincos.
23016 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23017 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23018 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23019 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23020 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23021 ieee754/flt-32 implementation for tan.
23022
23023 * math/libm-test.inc (cos_test): Enable some large input tests for
23024 float as well
23025 (sin_test): Likewise.
23026 (sincos_test): Likewise.
23027 (tan_test): Add tests for large input.
23028
23029 * sysdeps/i386/fpu/libm-test-ulps: Update.
23030
81c64153
AJ
230312012-03-15 Andreas Jaeger <aj@suse.de>
23032
23033 [BZ #13658]
23034 * math/libm-test.inc (cos_test): Add more test cases.
23035 (sin_test): Likewise.
23036 (sincos_test): Likewise.
23037
7bbfa5c6
AJ
230382012-03-15 Andreas Jaeger <aj@suse.de>
23039
23040 [BZ #13837]
23041 * math/libm-test.inc (cos_test): Add a test case for large input
23042 value.
23043 (sin_test): Likewise.
23044 (sincos_test): Likewise.
23045
230462012-03-15 Andreas Jaeger <aj@suse.de>,
23047 Joseph Myers <joseph@codesourcery.com>
23048
23049 [BZ #13658]
0671f479 23050 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23051 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23052 * sysdeps/i386/fpu/branred.c: Likewise.
23053 * sysdeps/i386/fpu/dosincos.c: Likewise.
23054 * sysdeps/i386/fpu/mpa.c: Likewise.
23055 * sysdeps/i386/fpu/s_cos.S: Likewise.
23056 * sysdeps/i386/fpu/s_sin.S: Likewise.
23057 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23058 * sysdeps/i386/fpu/sincos32.c: Likewise.
23059
23060 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23061 Define.
23062 (libc_feupdateenv_53bit): Define.
23063 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23064 Define.
23065 (libc_feupdateenv_53bit): Define.
23066
23067 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23068 53 bit (without extend i386 double precision).
23069
23070 * math/libm-test.inc (sincos_test): Add tests for large input.
23071 (sin): Likewise.
23072 (cos): Likewise.
23073
23074 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23075
9cad04ea
AS
230762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23077
23078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23079
f7062b9a
DM
230802012-03-15 David S. Miller <davem@davemloft.net>
23081
23082 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23083 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23084 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23098 file.
f7062b9a 23099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23101 file.
f7062b9a 23102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23104 file.
f7062b9a 23105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23107 file.
f7062b9a
DM
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23110 fmin/fmax sysdep routines.
23111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23112
7bd951ff
DM
231132012-03-14 David S. Miller <davem@davemloft.net>
23114
559398ab
DM
23115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23116 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23119 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23120 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23123 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23126 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23129 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23134 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23136 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23137 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23138 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23139 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23140 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23144 routines.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23146 file.
559398ab 23147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23149 file.
559398ab 23150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23152 file.
559398ab 23153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23155 file.
559398ab 23156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23158 file.
559398ab 23159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23161 file.
23162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23163 file.
23164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23165 file.
23166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23167 file.
23168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23169 New file.
23170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23171 file.
23172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23173 file.
559398ab 23174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23176 file.
559398ab 23177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23179 file.
559398ab 23180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23182 file.
559398ab 23183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23185 VIS3 routines.
559398ab
DM
23186
23187 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23188 New file.
23189
5a1c1e32
DM
23190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23191
eae47a36
DM
23192 * sysdeps/sparc/configure.in: New file.
23193 * sysdeps/sparc/configure: Generate.
23194 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23195 * configure: Regenerate.
23196 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23197 * config.make.in (have-as-vis3): New.
23198 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23199 available use -Av9d instead of -Av9a.
23200 * sysdeps/sparc/sparc64/Makefile: Likewise.
23201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23203 New file.
23204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23205 file.
23206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23207 New file.
23208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23209 file.
eae47a36
DM
23210 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23211 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23212 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23213 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23214 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23215
c0c83bc8
DM
23216 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23217 fzeros/fnegs to load 0x80000000 into a float register instead of
23218 using the stack.
7bd951ff
DM
23219 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23220
bd951ccb
JM
232212012-03-14 Joseph Myers <joseph@codesourcery.com>
23222
23223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23224 bits/syscall.h.
23225 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23226 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23227 ($(inst_includedir)/bits/syscall.h): Remove rule.
23228 ($(objpfx)bits/syscall.d): Include instead of
23229 $(objpfx)syscall-list.d.
23230 (generated): Change syscall-list.h and syscall-list.d to
23231 bits/syscall.h and bits/syscall.d.
23232
bb4e6db2
RM
232332012-03-14 Roland McGrath <roland@hack.frob.com>
23234
23235 [BZ #13846]
23236 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23237
aa4a2ae1
JM
232382012-03-14 Joseph Myers <joseph@codesourcery.com>
23239
e456826d
JM
23240 [BZ #13841]
23241 * math/s_csqrt.c: Include <float.h>.
23242 (__csqrt): Scale large or subnormal inputs.
23243 * math/s_csqrtf.c: Likewise.
23244 * math/s_csqrtl.c: Likewise.
23245 * math/libm-test.inc (csqrt_test): Add more tests.
23246 * sysdeps/i386/fpu/libm-test-ulps: Update.
23247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23248
aa4a2ae1
JM
23249 [BZ #13840]
23250 * math/libm-test.inc (hypot_test): Add more tests.
23251
7c10fd35
DM
232522012-03-13 David S. Miller <davem@davemloft.net>
23253
23254 [BZ #13840]
23255 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23256 double-precision for the calculation instead of scaling.
23257
f453b98b
JM
232582012-03-13 Joseph Myers <joseph@codesourcery.com>
23259
23260 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23261 manipulate bits before adding and subtracting TWO52[sx].
23262 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23263 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23264 Likewise.
23265 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23266
09a3453f
DM
232672012-03-13 David S. Miller <davem@davemloft.net>
23268
8e59da90
DM
23269 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23270 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23272 rtld-global-offsets.h
23273 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23274
2a8ab7f2
DM
23275 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23276 large parameters.
23277
10f62770
DM
23278 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23279
5f0bdb18
DM
23280 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23281 'err' in the ifdef scope in which it is actually used.
23282
09a3453f
DM
23283 * nss/nss_db/db-init.c: Include string.h
23284
b4b2eb5e
DM
232852012-03-12 David S. Miller <davem@davemloft.net>
23286
98bb2f1c
DM
23287 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23288 masking out of the most significant byte of random value used.
23289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23290 Fix coding style in previous change.
23291
b4b2eb5e
DM
23292 * sysdeps/unix/sysv/linux/kernel-features.h
23293 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23294 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23295 expression.
23296 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23297 later.
23298
6e226b09
DM
232992012-03-11 David S. Miller <davem@davemloft.net>
23300
a1bcbd40
DM
23301 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23302 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23303 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23304 for 'resultvar' otherwise things get truncated on 64-bit.
23305
cb9d6174
DM
23306 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23307 Fix masking out of the most significant byte of random value used.
23308
6e226b09
DM
23309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23310
058c132d
AS
233112012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23312
23313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23314
2d2cd515
DM
233152012-03-09 David S. Miller <davem@davemloft.net>
23316
23317 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23318 variables with appropriate CPP guards.
23319 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23320 frame pointer, not the stack pointer. Correct layout comments. Fix test
23321 on resulting framesize and the management of the outregs buffer for pltexit.
23322 Preserve floating point return values across _dl_call_pltexit call.
23323 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23324 framesize and the management of the outregs buffer for pltexit.
23325 Preserve floating point return values across _dl_call_pltexit
23326 call.
23327 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23328 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23329 (print_exit): Fix format string for return register value.
23330
9a07f9d0
JM
233312012-03-10 Joseph Myers <joseph@codesourcery.com>
23332
23333 * sunrpc/Makefile (others): Add rpcgen.
23334 ($(objpfx)rpcgen): Remove special build rule and dependency on
23335 libc.
23336 * sunrpc/rpcgen.c: New file.
23337
547b5e30
PE
233382012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23339
c524201a
PE
23340 [BZ #13673]
23341 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23342 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23343 * sysdeps/i386/crti.S: Likewise.
23344 * sysdeps/i386/crtn.S: Likewise.
23345 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23346 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23347 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23348 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23349 * sysdeps/sh/crti.S: Likewise.
23350 * sysdeps/sh/crtn.S: Likewise.
23351 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23352
7b6235f2
PE
23353 [BZ #13673]
23354 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23355 with URL.
23356 * locale/programs/locfile-kw.gperf: Likewise.
23357 * locale/programs/charmap-kw.h: Regenerated.
23358 * locale/programs/locfile-kw.h: Likewise.
23359
547b5e30
PE
23360 [BZ #13673]
23361 * intl/plural.y: Replace FSF snail mail address with URL.
23362 * intl/plural.c: Regenerated.
23363
5f0a5dae
RH
233642012-03-09 Richard Henderson <rth@twiddle.net>
23365
23366 * include/math_private.h: Remove file.
23367 * math/math_private.h: Move file ...
23368 * sysdeps/generic/math_private.h: ... here.
23369
b8c03620
RH
23370 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23371 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23372 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23373
4e234f5d 23374 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23375 and <math_private.h>.
23376 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23377 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23378 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23379 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23380 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23410 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23411 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23412 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23413 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23414 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23415 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23416 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23417 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23418 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23419 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23420 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23421 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23423 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23433 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23434 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23439 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23444 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23464 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23465 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23466 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23467 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23468 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23469 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23470 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23471 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23472 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23473 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23474 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23475 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23476 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23477 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23478 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23479 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23480 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23481 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23482 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23483 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23484 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23485 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23486 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23487 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23488 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23489 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23490 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23491 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23492 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23493 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23494 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23495 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23496 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23497 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23498 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23499 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23500 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23501 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23502 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23503 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23504 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23505 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23506 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23507 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23508 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23509 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23510 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23511 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23512 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23513 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23514 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23515 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23516 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23517 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23518 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23519 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23520 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23521 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23522 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23523 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23524 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23525 * sysdeps/ieee754/k_standard.c: Likewise.
23526 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23528 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23530 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23531 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23532 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23533 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23534 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23535 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23536 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23576 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23577 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23578 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23583 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23586 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23587 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23588 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23589 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23590 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23591 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23592 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23596 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23598 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23599 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23600 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23603 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23604 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23607 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23608 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23609 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23610 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23611 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23612 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23613 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23615 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23616 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23617 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23618 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23619 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23620 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23621 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23624 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23625 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23630 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23631 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23632 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23633 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23636 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23637 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23639 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23640 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23641 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23642 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23643 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23644 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23645 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23646 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23647 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23648 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23649 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23650 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23651 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23653 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23654 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23656 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23657 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23658 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23659 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23661 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23662 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23663 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23664 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23665 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23666 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23667 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23668 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23669 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23670 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23671 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23672 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23673 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23674 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23675 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23677 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23678 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23679 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23680 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23681 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23682 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23683 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23684 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23685 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23686 * sysdeps/ieee754/s_lib_version.c: Likewise.
23687 * sysdeps/ieee754/s_matherr.c: Likewise.
23688 * sysdeps/ieee754/s_signgam.c: Likewise.
23689 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23690 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23691 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23692 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23693 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23694 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23695 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23696 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23697 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23698 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23699 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23700 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23701 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23702 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23703 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23704 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23705 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23706 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23707 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23708 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23709 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 23710
1991fa03
JM
237112012-03-09 Joseph Myers <joseph@codesourcery.com>
23712
23713 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23714 * sunrpc/rpc_main.c: Likewise.
23715 * sunrpc/rpc_svcout.c: Likewise.
23716
60d6f5a6
DM
237172012-03-09 David S. Miller <davem@davemloft.net>
23718
23719 * include/math_private.h: New file.
23720
4962050e
JM
237212012-03-09 Joseph Myers <joseph@codesourcery.com>
23722
02a6f887
JM
23723 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23724 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23725 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23726 from <bits/socket_type.h>.
23727 (enum __socket_type): Don't define here.
23728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23730 bits/socket_type.h.
23731
c6e013c1
JM
23732 [BZ #13566]
23733 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23734 checking __USE_GNU.
23735
4962050e
JM
23736 * Makerules ($(inst_includedir)/%.h): New rule.
23737 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23738 (install-others): Remove variable setting.
23739 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23740
38842f45
RH
237412012-03-08 Richard Henderson <rth@twiddle.net>
23742
67bb6da6
RH
23743 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23744 from macro to inline function; merge with the
23745 !__LIBC_INTERNAL_MATH_INLINES version.
23746 (__ieee754_sqrtf): Likewise.
23747
15194b4b
RH
23748 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23749 to inline function.
23750 (__rintf, __floor, __floorf): Likewise.
23751
64e21ede
RH
23752 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23753 macro to inline function.
23754 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23755
38842f45
RH
23756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23757 not <math/math_private.h>.
23758
c64bf5fe
DM
237592012-03-08 David S. Miller <davem@davemloft.net>
23760
23761 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23762 copyright year.
23763 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23764
82d86f28
TS
237652012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23766
23767 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23768 normalization.
23769 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23770 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23771
aea5d727
UD
237722012-03-08 Ulrich Drepper <drepper@gmail.com>
23773
23774 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23775 be defined individually, they must be defined as a block. Define
23776 S for printing a string instead of hidint the different by using a
23777 macro for adding the 'l'.
23778 * stdio-common/tst-fphex-wide.c: Adjust.
23779
70bca0a3
MP
237802012-03-07 Marek Polacek <polacek@redhat.com>
23781
23782 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23783
65b81130
MP
237842012-03-08 Marek Polacek <polacek@redhat.com>
23785
23786 [BZ #13806]
23787 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23788 * stdio-common/tst-fphex.c: Define a few macros to make the
23789 test reusable. Use them.
23790 * stdio-common/tst-fphex-wide.c: New file.
23791
07037eeb
JM
237922012-03-08 Joseph Myers <joseph@codesourcery.com>
23793
a7a93d50
JM
23794 [BZ #6911]
23795 * manual/macros.texi (gnusystems): New macro.
23796 (nongnusystems): Likewise.
23797 (gnulinuxhurdsystems): Likewise.
23798 (gnuhurdsystems): Likewise..
23799 (gnulinuxsystems): Likewise.
23800 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23801 variants of the GNU system, not "GNU system".
23802 * manual/conf.texi: Likewise.
23803 * manual/errno.texi: Likewise. Update example of errno macro
23804 expansion.
23805 * manual/filesys.texi: Likewise.
23806 (getumask): Document as specific to GNU/Hurd.
23807 * manual/install.texi: Likewise. Reword some references to
23808 GNU/Linux.
23809 * manual/intro.texi: Likewise.
23810 * manual/io.texi: Likewise.
23811 (File Name Portability): Detail which constraints are inapplicable
23812 to all GNU systems and which are only inapplicable to GNU/Hurd.
23813 * manual/job.texi: Likewise.
23814 * manual/llio.texi: Likewise.
23815 (O_NOCTTY): Document as present on GNU/Linux.
23816 * manual/maint.texi: Likewise.
23817 * manual/memory.texi: Likewise.
23818 * manual/pattern.texi: Likewise.
23819 * manual/pipe.texi: Likewise.
23820 * manual/process.texi: Likewise.
23821 * manual/resource.texi: Likewise.
23822 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23823 child on GNU/Hurd.
23824 * manual/setjmp.texi: Likewise.
23825 * manual/signal.texi: Likewise.
23826 * manual/startup.texi: Likewise.
23827 * manual/stdio.texi: Likewise.
23828 * manual/terminal.texi: Likewise.
23829 (ONLCR): Document as POSIX.
23830 (OXTABS): Document availability on GNU/Linux as XTABS.
23831 (ONOEOT): Document availability separately from other bits.
23832 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23833 * manual/time.texi: Likewise.
23834 * manual/users.texi: Likewise.
23835 * INSTALL: Regenerated.
23836 * sysdeps/gnu/errlist.c: Regenerated.
23837
07037eeb
JM
23838 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23839 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23840 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23841 puts.
23842 * configure: Regenerated.
23843
d1d3431a
JM
238442012-03-07 Joseph Myers <joseph@codesourcery.com>
23845
af6a1e37
JM
23846 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23847 default includes instead of AC_HEADER_CHECK.
23848 * sysdeps/i386/configure: Regenerated.
23849
d1d3431a
JM
23850 [BZ #10716]
23851 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23852 * math/s_cacoshf.c (__cacoshf): Likewise.
23853 * math/s_cacoshl.c (__cacoshl): Likewise.
23854 * math/s_casinh.c (__casinh): Set signs of result from argument.
23855 * math/s_casinhf.c (__casinhf): Likewise.
23856 * math/s_casinhl.c (__casinhl): Likewise.
23857 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23858 (casinh_test): Add more tests.
23859 * sysdeps/i386/fpu/libm-test-ulps: Update.
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23861
482ff4da
UD
238622012-03-07 Ulrich Drepper <drepper@gmail.com>
23863
872fda05
UD
23864 * po/zh_TW.po: Update from translation team.
23865
a4300c7a
UD
23866 * login/Makefile (distribute): Remove variable.
23867 * catgets/Makefile: Likewise.
23868 * mach/Makefile: Likewise.
23869 * malloc/Makefile: Likewise.
23870 * misc/Makefile: Likewise.
23871 * iconv/Makefile: Likewise.
23872 * nscd/Makefile: Likewise.
23873 * hurd/Makefile: Likewise.
23874 * manual/Makefile: Likewise.
23875 * locale/Makefile: Likewise.
23876 * intl/Makefile: Likewise.
23877 * conform/Makefile: Likewise.
23878 * nss/Makefile: Likewise.
23879 * time/Makefile: Likewise.
23880 * soft-fp/Makefile: Likewise.
23881 * dirent/Makefile: Likewise.
23882 * gmon/Makefile: Likewise.
23883 * po/Makefile: Likewise.
23884 * rt/Makefile: Likewise.
23885 * socket/Makefile: Likewise.
23886 * math/Makefile: Likewise.
23887 * signal/Makefile: Likewise.
23888 * debug/Makefile: Likewise.
23889 * elf/Makefile: Likewise.
23890 * timezone/Makefile: Likewise.
23891 * stdlib/Makefile: Likewise.
23892 * iconvdata/Makefile: Likewise.
23893 * sunrpc/Makefile: Likewise.
23894 * io/Makefile: Likewise.
23895 * argp/Makefile: Likewise.
23896 * inet/Makefile: Likewise.
23897 * hesiod/Makefile: Likewise.
23898 * grp/Makefile: Likewise.
23899 * csu/Makefile: Likewise.
23900 * wctype/Makefile: Likewise.
23901 * crypt/Makefile: Likewise.
23902 * libio/Makefile: Likewise.
23903 * string/Makefile: Likewise.
23904 * nis/Makefile: Likewise.
23905 * resolv/Makefile: Likewise.
23906 * stdio-common/Makefile: Likewise.
23907 * wcsmbs/Makefile: Likewise.
23908 * dlfcn/Makefile: Likewise.
23909 * posix/Makefile: Likewise.
23910
3b7c4e74 23911 [BZ #6959]
482ff4da
UD
23912 * timezone/Makefile: Don't install timezone files, just the programs
23913 and scripts.
23914
f72ed77d
UD
239152012-03-06 Ulrich Drepper <drepper@gmail.com>
23916
a000466f
UD
23917 * nss/databases.def: Add missing gshadow entry.
23918
f72ed77d
UD
23919 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23920
a53b7a4e
MP
239212012-03-06 Marek Polacek <polacek@redhat.com>
23922
23923 [BZ #13726]
23924 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23925 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23926 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23927 * stdio-common/tst-long-dbl-fphex.c: New file.
23928
e9258400
DM
239292012-03-06 David S. Miller <davem@davemloft.net>
23930
23931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23932 (set_obp_int): New function.
23933 (get_obp_int): New function.
23934 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23936 Avoid unused variable warnings on 'val' and use builtin_expect.
23937 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23938 __builtin_expect.
e9258400
DM
23939 (INLINE_CLONE_SYSCALL): Likewise.
23940
3bd2c723
DM
239412012-03-05 David S. Miller <davem@davemloft.net>
23942
23943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23944
bbb78d03
AS
239452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23946
884c5db4
AS
23947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23948
bbb78d03
AS
23949 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23950 only for |x| >= 40.
23951 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23952
1c9f702a 239532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23954
23955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23956 Replace gettimeofday with __vdso_gettimeofday.
23957
7be16f82
RM
23958 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23959 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23960 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23961
23962 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23963 time with __vdso_time.
23964
ed58a00f
JM
239652012-03-05 Joseph Myers <joseph@codesourcery.com>
23966
23967 * manual/lang.texi (size_t): Note types to which size_t may be
23968 equivalent with the GNU C Library, but do not describe when
23969 differences between them are significant.
23970
30ee4ced
AJ
239712012-03-05 Andreas Jaeger <aj@suse.de>
23972
23973 * sysdeps/i386/fpu/libm-test-ulps: Update.
23974
b7cd39e8
JM
239752012-03-05 Joseph Myers <joseph@codesourcery.com>
23976
23977 [BZ #3976]
23978 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23979 (__ieee754_pow): Save and restore rounding mode and use
23980 round-to-nearest for main computations.
23981 * math/libm-test.inc (pow_test_tonearest): New function.
23982 (pow_test_towardzero): Likewise.
23983 (pow_test_downward): Likewise.
23984 (pow_test_upward): Likewise.
23985 (main): Call the new functions.
23986 * sysdeps/i386/fpu/libm-test-ulps: Update.
23987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23988
23989 [BZ #3976]
23990 * math/libm-test.inc (cosh_test_tonearest): New function.
23991 (cosh_test_towardzero): Likewise.
23992 (cosh_test_downward): Likewise.
23993 (cosh_test_upward): Likewise.
23994 (sinh_test_tonearest): Likewise.
23995 (sinh_test_towardzero): Likewise.
23996 (sinh_test_downward): Likewise.
23997 (sinh_test_upward): Likewise.
23998 (main): Call the new functions.
23999 * sysdeps/i386/fpu/libm-test-ulps: Update.
24000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24001
6c6a98c9
TV
240022012-03-05 Tom de Vries <tom@codesourcery.com>
24003
24004 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24005 default stack guard is set in last bytes.
24006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24007
21bb2d2e 240082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24009
21bb2d2e 24010 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24011
21bb2d2e
AJ
24012 [BZ #13656]
24013 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24014 possibly allocate from heap instead of stack.
24015 * stdio-common/bug-vfprintf-nargs.c: New file.
24016 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24017
c6922934
AS
240182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24019
24020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24021
bc957d53
MP
240222012-03-03 Marek Polacek <polacek@redhat.com>
24023
24024 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24025 * math/math_private.h: Likewise.
24026 * stdlib/tst-strtod.c: Likewise.
24027 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24028 * sysdeps/x86_64/bits/atomic.h: Likewise.
24029
6358490d
DM
240302012-03-02 David S. Miller <davem@davemloft.net>
24031
24032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24036 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24037 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24038 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24039 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24040
01ae168d
RM
240412012-03-02 Roland McGrath <roland@hack.frob.com>
24042
d9a17c07
RM
24043 [BZ #13792]
24044 * manual/examples/README: New file, says the example source files
24045 can be used under GPL>=2.
24046 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24047 line containing just "*/".
24048 * manual/examples/add.c: Add copyright header (GPL>=2).
24049 * manual/examples/argp-ex1.c: Likewise.
24050 * manual/examples/argp-ex2.c: Likewise.
24051 * manual/examples/argp-ex3.c: Likewise.
24052 * manual/examples/argp-ex4.c: Likewise.
24053 * manual/examples/atexit.c: Likewise.
24054 * manual/examples/db.c: Likewise.
24055 * manual/examples/dir.c: Likewise.
24056 * manual/examples/dir2.c: Likewise.
24057 * manual/examples/execinfo.c: Likewise.
24058 * manual/examples/filecli.c: Likewise.
24059 * manual/examples/filesrv.c: Likewise.
24060 * manual/examples/fmtmsgexpl.c: Likewise.
24061 * manual/examples/genpass.c: Likewise.
24062 * manual/examples/inetcli.c: Likewise.
24063 * manual/examples/inetsrv.c: Likewise.
24064 * manual/examples/isockad.c: Likewise.
24065 * manual/examples/longopt.c: Likewise.
24066 * manual/examples/memopen.c: Likewise.
24067 * manual/examples/memstrm.c: Likewise.
24068 * manual/examples/mkfsock.c: Likewise.
24069 * manual/examples/mkisock.c: Likewise.
24070 * manual/examples/mygetpass.c: Likewise.
24071 * manual/examples/pipe.c: Likewise.
24072 * manual/examples/popen.c: Likewise.
24073 * manual/examples/rprintf.c: Likewise.
24074 * manual/examples/search.c: Likewise.
24075 * manual/examples/select.c: Likewise.
24076 * manual/examples/setjmp.c: Likewise.
24077 * manual/examples/sigh1.c: Likewise.
24078 * manual/examples/sigusr.c: Likewise.
24079 * manual/examples/stpcpy.c: Likewise.
24080 * manual/examples/strdupa.c: Likewise.
24081 * manual/examples/strftim.c: Likewise.
24082 * manual/examples/strncat.c: Likewise.
24083 * manual/examples/subopt.c: Likewise.
24084 * manual/examples/swapcontext.c: Likewise.
24085 * manual/examples/termios.c: Likewise.
24086 * manual/examples/testopt.c: Likewise.
24087 * manual/examples/testpass.c: Likewise.
24088 * manual/examples/timeval_subtract.c: Likewise.
24089
01ae168d
RM
24090 [BZ #13792]
24091 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24092 function to ...
24093 * manual/timeval_subtract.c.texi: ... here, new file.
24094
49efa33d
DM
240952012-03-02 David S. Miller <davem@davemloft.net>
24096
24097 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24098
28afd92d
JM
240992012-03-02 Joseph Myers <joseph@codesourcery.com>
24100
804360ed
JM
24101 [BZ #3976]
24102 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24103 (__sin): Save and restore rounding mode and use round-to-nearest
24104 for all computations.
24105 (__cos): Save and restore rounding mode and use round-to-nearest
24106 for all computations.
24107 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24108 <fenv.h>.
24109 (tan): Save and restore rounding mode and use round-to-nearest for
24110 all computations.
24111 * math/libm-test.inc (cos_test_tonearest): New function.
24112 (cos_test_towardzero): Likewise.
24113 (cos_test_downward): Likewise.
24114 (cos_test_upward): Likewise.
24115 (sin_test_tonearest): Likewise.
24116 (sin_test_towardzero): Likewise.
24117 (sin_test_downward): Likewise.
24118 (sin_test_upward): Likewise.
24119 (tan_test_tonearest): Likewise.
24120 (tan_test_towardzero): Likewise.
24121 (tan_test_downward): Likewise.
24122 (tan_test_upward): Likewise.
24123 (main): Call the new functions.
24124 * sysdeps/i386/fpu/libm-test-ulps: Update.
24125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24126
a6d06d7b
JM
24127 [BZ #10135]
24128 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24129 small n, then large n, before computing and testing k+n.
24130 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24131 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24132 Likewise.
24133 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24134 Likewise.
24135 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24136 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24137 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24138 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24140 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24142 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24143 * math/libm-test.inc (scalbn_test): Add more tests.
24144 (scalbln_test): Likewise.
24145
07e12bb3
JM
24146 * manual/filesys.texi (mode_t): Describe constraints on size and
24147 signedness, not exact equivalence to a particular type.
24148 (ino_t): Likewise.
24149 (ino64_t): Likewise.
24150 (dev_t): Likewise.
24151 (nlink_t): Likewise.
24152 (blkcnt_t): Likewise.
24153 (blkcnt64_t): Likewise.
24154 * manual/llio.texi (off_t): Likewise.
24155
28afd92d
JM
24156 [BZ #3976]
24157 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24158 (__ieee754_exp): Save and restore rounding mode and use
24159 round-to-nearest for all computations.
24160 * math/libm-test.inc (exp_test_tonearest): New function.
24161 (exp_test_towardzero): Likewise.
24162 (exp_test_downward): Likewise.
24163 (exp_test_upward): Likewise.
24164 (main): Call the new functions.
24165 * sysdeps/i386/fpu/libm-test-ulps: Update.
24166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24167
b1eeb65d
CD
241682012-03-01 Chris Demetriou <cgd@google.com>
24169
24170 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24171 have predictable order.
24172
53362a4b
DM
241732012-03-01 David S. Miller <davem@davemloft.net>
24174
3c969083
DM
24175 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24176
759707de
DM
24177 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24178 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24179 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24180 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24181
dfdb8ff2
DM
24182 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24183 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24184 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24186 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24187 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24188 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24189 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24190 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24191
ead89f96
DM
24192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24193
7f66bd07
DM
24194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24195 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24196 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24197
53362a4b
DM
24198 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24199 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24200 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24201 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24202 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24204 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24205 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24206 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24207 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24208 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24209 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24211 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24212 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24214 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24215 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24216 * sysdeps/sparc/elf/configure: Regenerated.
24217
7b1902cb
JM
242182012-03-01 Joseph Myers <joseph@codesourcery.com>
24219
bec039bc
JM
24220 * configure.in (AS, LD): Require binutils 2.20 or later.
24221 * configure: Regenerated.
24222 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24223 as required minimum version.
24224 * INSTALL: Regenerated.
24225
7b1902cb
JM
24226 [BZ #2541]
24227 [BZ #4108]
24228 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24229 before squaring exponent.
24230 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24231 bottom long double and 27 bits of top long double before squaring
24232 exponent.
24233 * math/libm-test.inc (erfc_test): Add more tests.
24234 * sysdeps/i386/fpu/libm-test-ulps: Update.
24235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237
f775c276
KT
242382012-03-01 Kai Tietz <ktietz@redhat.com>
24239
24240 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24241 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24242 containing bit-fields.
24243 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24244 * soft-fp/single.h (_FP_UNION_S): Likewise.
24245 * soft-fp/double.h (_FP_UNION_D): Likewise.
24246
5b8a4d4a
JM
242472012-02-29 Joseph Myers <joseph@codesourcery.com>
24248
0bab47b6
JM
24249 [BZ #13786]
24250 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24251 not include ../strcmp.S.
24252 [USE_AS_STRNCASECMP_L]: Likewise.
24253 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24254 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24255 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24256 (__strncasecmp_l_ia32): Define as alias to
24257 __strncasecmp_l_nonascii.
24258
0fcad3e2
JM
24259 [BZ #5794]
24260 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24261 * sysdeps/i386/fpu/libm-test-ulps: Update.
24262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24263
5b8a4d4a
JM
24264 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24266
8fdceb2e
JL
242672012-02-29 Jeff Law <law@redhat.com>
24268
24269 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24270 out of bounds read.
24271
1f393a11
MP
242722012-02-29 Marek Polacek <polacek@redhat.com>
24273
24274 [BZ #13706]
24275 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24276 * elf/Makefile: Add rules to run tst-unused-dep.out.
24277
8847f037
DM
242782012-02-28 David S. Miller <davem@davemloft.net>
24279
24280 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24281 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24282 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24283 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24284 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24285 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24286
169d7f11
JM
242872012-02-29 Joseph Myers <joseph@codesourcery.com>
24288
24289 * math/libm-test.inc (llround_test): Move one test from
24290 lround_test. Use TEST_f_L in moved test.
24291 (lround_test): Move misplaced test to llround_test. Add testcase
24292 from bug 2561.
24293
39adf059
UD
242942012-02-28 Ulrich Drepper <drepper@gmail.com>
24295
24296 * sysdeps/x86_64/fpu/e_expf.S: New file.
24297 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24298
71b5d1c5
SB
242992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24300
24301 [BZ #13637]
24302 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24303 of remain_len that may cause incomplete multi-byte character and
24304 false match.
24305 * posix/bug-regex33.c: New file.
24306 * posix/Makefile (tests): Add bug-regex33.
24307
1f77f049
JM
243082012-02-28 Joseph Myers <joseph@codesourcery.com>
24309
24310 * manual/macros.texi: New file.
24311 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24312 * manual/libc.texinfo: Include macros.texi.
24313 * manual/creatute.texi: Likewise.
24314 * manual/install.texi: Likewise.
24315 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24316 @glibcadj{} in references to the GNU C Library.
24317 * manual/charset.texi: Likewise.
24318 * manual/conf.texi: Likewise.
24319 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24320 when not using those macros.
24321 * manual/creature.texi: Likewise.
24322 * manual/crypt.texi: Likewise.
24323 * manual/errno.texi: Likewise.
24324 * manual/filesys.texi: Likewise.
24325 * manual/header.texi: Likewise.
24326 * manual/install.texi: Likewise.
24327 * manual/intro.texi: Likewise.
24328 * manual/io.texi: Likewise.
24329 * manual/job.texi: Likewise.
24330 * manual/lang.texi: Likewise.
24331 * manual/libc.texiinfo: Likewise.
24332 * manual/llio.texi: Likewise.
24333 * manual/locale.texi: Likewise.
24334 * manual/maint.texi: Likewise.
24335 * manual/math.texi: Likewise.
24336 * manual/memory.texi: Likewise.
24337 * manual/message.texi: Likewise.
24338 * manual/nss.texi: Likewise.
24339 * manual/pattern.texi: Likewise.
24340 * manual/process.texi: Likewise.
24341 * manual/resource.texi: Likewise.
24342 * manual/search.texi: Likewise.
24343 * manual/setjmp.texi: Likewise.
24344 * manual/signal.texi: Likewise.
24345 * manual/socket.texi: Likewise.
24346 * manual/startup.texi: Likewise.
24347 * manual/stdio.texi: Likewise.
24348 * manual/string.texi: Likewise.
24349 * manual/sysinfo.texi: Likewise.
24350 * manual/syslog.texi: Likewise.
24351 * manual/terminal.texi: Likewise.
24352 * manual/time.texi: Likewise.
24353 * manual/users.texi: Likewise.
24354 * INSTALL: Regenerated.
24355 * NOTES: Regenerated.
d40c5d54 24356 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24357
450bf206
AS
243582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24359
24360 * include/dirent.h: Include <dirstream.h> before
24361 <dirent/dirent.h>.
24362
741a235b
DM
243632012-02-28 David S. Miller <davem@davemloft.net>
24364
24365 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24366 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24367 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24368 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24369
d6b5aa58
DM
243702012-02-27 David S. Miller <davem@davemloft.net>
24371
1aff59a3
DM
24372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24374 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24375 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24376
d6b5aa58
DM
24377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24378 frame pointer instead of stack pointer relative arg slot.
24379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24380 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24381 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24382
433f48bf
CD
243832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24384
24385 [BZ #3992]
24386 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24387
d674b76d
DM
243882012-02-27 David S. Miller <davem@davemloft.net>
24389
24390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24394 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24395 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24396 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24397 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24398
0e7727f7
JM
243992012-02-27 Joseph Myers <joseph@codesourcery.com>
24400
24401 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24402 later. Allow versions 5-9.
43be4ca2 24403 * configure: Regenerated.
0e7727f7
JM
24404 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24405 required minimum version and 4.6 as recommended version. Do not
24406 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24407 * INSTALL: Regenerated.
0e7727f7 24408
a78bc654
DM
244092012-02-27 David S. Miller <davem@davemloft.net>
24410
428d5830
DM
24411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24415 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24416 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24417 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24418 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24419
a78bc654
DM
24420 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24421 manipulate bits before adding and subtracting TWO112[sx].
24422 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24423
4579f81c
RM
244242012-02-27 Roland McGrath <roland@hack.frob.com>
24425
36c8acb4
RM
24426 [BZ #13775]
24427 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24428 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24429 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24430 being in POSIX, because they are in 1003.1-2008.
24431
84ad622b
RM
24432 * rt/tst-aio.c: Include <fcntl.h>.
24433 * rt/tst-aio7.c: Likewise.
24434 * rt/tst-aio64.c: Likewise.
24435
4579f81c
RM
24436 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24437
abd923db
JM
244382012-02-27 Joseph Myers <joseph@codesourcery.com>
24439
24440 * manual/install.texi (--with-headers): Describe headers as
24441 interface headers, not private headers.
24442 (Specific advice for GNU/Linux systems): Describe use of headers
24443 from "make headers_install", not private headers from older
24444 kernels.
43be4ca2 24445 * INSTALL: Regenerated.
abd923db
JM
24446 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24447 Change to 2.6.19.
24448 * sysdeps/unix/sysv/linux/configure: Regenerated.
24449
6664049b
JM
24450 * manual/llio.texi (fclean): Remove documentation.
24451
bb8b6697
JM
24452 * manual/Makefile (libc-texi-generated): New variable. Include
24453 version.texi.
24454 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24455 $(libc-texi-generated), not duplicated list of files.
24456 (version.texi, stamp-version): New rules.
24457 (realclean): Remove $(libc-texi-generated), not individual files
24458 from that list. Do not remove dir-add.texinfo.
24459 * manual/libc.texinfo: Comment out uses of edition numbers and
24460 references to printed manual. Remove last-updated dates.
24461 (EDITION): Comment out.
24462 (ISBN): Likewise.
24463 (VERSION, UPDATED): Remove.
24464 (version.texi): Include.
24465
12e5c3b9
AS
244662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24467
24468 * sysdeps/posix/spawni.c: Include <signal.h>.
24469 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24470 * sysdeps/pthread/aio_fsync.c: Likewise.
24471
4efeffc1 244722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24473
ba63ba08
UD
24474 * conform/Makefile (tests): Run only when not cross-compiling and
24475 when fast-check is not defined.
24476
d94a4670
UD
24477 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24478 * conform/data/limits.h-data: Fixes for POSIX2008.
24479 * conform/run-conformtest.sh: Run all tests.
24480 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24481 headers.
24482 * include/bits/dlfcn.h: Likewise.
24483 * include/langinfo.h: Likewise.
24484 * include/monetary.h: Likewise.
24485 * include/sys/poll.h: Likewise.
24486
24487 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24488 for __USE_GNU.
24489 * posix/spawn.h: Define __need_sigset_t.
24490 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24491 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24492 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24493 to get sigevent_t only.
24494 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24495 only for __USE_GNU.
24496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24497 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24498 process_vm_writev only for __USE_GNU.
24499 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
24500
24501 * conform/Makefile: For now ignore errors from run-conformtest.
24502 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24503 POSIX to avoid namespace pollution. Don't prepend headers.
24504 * conform/data/aio.h-data: Fixes for POSIX testing.
24505 * conform/data/fcntl.h-data: Likewise.
24506 * conform/data/glob.h-data: Likewise.
24507 * conform/data/grp.h-data: Likewise.
24508 * conform/data/pthread.h-data: Likewise.
24509 * conform/data/pwd.h-data: Likewise.
24510 * conform/data/signal.h-data: Likewise.
24511 * conform/data/spawn.h-data: Likewise.
24512 * conform/data/stdio.h-data: Likewise.
24513 * conform/data/stdlib.h-data: Likewise.
24514 * conform/data/stropts.h-data: Likewise.
24515 * conform/data/sys/mman.h-data: Likewise.
24516 * conform/data/sys/stat.h-data: Likewise.
24517 * conform/data/sys/types.h-data: Likewise.
24518 * conform/data/sys/wait.h-data: Likewise.
24519 * conform/data/time.h-data: Likewise.
24520 * conform/data/unistd.h-data: Likewise.
24521 * conform/data/utime.h-data: Likewise.
24522
24523 * io/sys/stat.h: fchmod was always in POSIX.
24524 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24525 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24526 * rt/aio.h: Define __need_timespec before including <time.h>.
24527 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24528 struct. Add forward declaration of pthread_attr_t and use it in
24529 sigevent.
24530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24532 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24533 always remove CLK_TCK definition.
24534
c20105c3
AS
245352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24536
24537 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24538
7a270350
UD
245392012-02-25 Ulrich Drepper <drepper@gmail.com>
24540
31341567
UD
24541 * conform/run-conformtest.sh: New file.
24542 * conform/Makefile: Run run-conformtest for tests.
24543 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24544 support.
24545
24546 * conform/data/uchar.h-data: New file.
24547 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24548 * conform/data/arpa/inet.h-data: Likewise.
24549 * conform/data/assert.h-data: Likewise.
24550 * conform/data/complex.h-data: Likewise.
24551 * conform/data/cpio.h-data: Likewise.
24552 * conform/data/ctype.h-data: Likewise.
24553 * conform/data/dirent.h-data: Likewise.
24554 * conform/data/dlfcn.h-data: Likewise.
24555 * conform/data/errno.h-data: Likewise.
24556 * conform/data/fcntl.h-data: Likewise.
24557 * conform/data/float.h-data: Likewise.
24558 * conform/data/fmtmsg.h-data: Likewise.
24559 * conform/data/fnmatch.h-data: Likewise.
24560 * conform/data/ftw.h-data: Likewise.
24561 * conform/data/glob.h-data: Likewise.
24562 * conform/data/grp.h-data: Likewise.
24563 * conform/data/iconv.h-data: Likewise.
24564 * conform/data/inttypes.h-data: Likewise.
24565 * conform/data/langinfo.h-data: Likewise.
24566 * conform/data/libgen.h-data: Likewise.
24567 * conform/data/limits.h-data: Likewise.
24568 * conform/data/locale.h-data: Likewise.
24569 * conform/data/math.h-data: Likewise.
24570 * conform/data/monetary.h-data: Likewise.
24571 * conform/data/mqueue.h-data: Likewise.
24572 * conform/data/ndbm.h-data: Likewise.
24573 * conform/data/net/if.h-data: Likewise.
24574 * conform/data/netdb.h-data: Likewise.
24575 * conform/data/netinet/in.h-data: Likewise.
24576 * conform/data/nl_types.h-data: Likewise.
24577 * conform/data/poll.h-data: Likewise.
24578 * conform/data/pthread.h-data: Likewise.
24579 * conform/data/pwd.h-data: Likewise.
24580 * conform/data/regex.h-data: Likewise.
24581 * conform/data/sched.h-data: Likewise.
24582 * conform/data/search.h-data: Likewise.
24583 * conform/data/semaphore.h-data: Likewise.
24584 * conform/data/setjmp.h-data: Likewise.
24585 * conform/data/signal.h-data: Likewise.
24586 * conform/data/spawn.h-data: Likewise.
24587 * conform/data/stdarg.h-data: Likewise.
24588 * conform/data/stdio.h-data: Likewise.
24589 * conform/data/stdlib.h-data: Likewise.
24590 * conform/data/string.h-data: Likewise.
24591 * conform/data/strings.h-data: Likewise.
24592 * conform/data/stropts.h-data: Likewise.
24593 * conform/data/sys/ipc.h-data: Likewise.
24594 * conform/data/sys/mman.h-data: Likewise.
24595 * conform/data/sys/msg.h-data: Likewise.
24596 * conform/data/sys/resource.h-data: Likewise.
24597 * conform/data/sys/select.h-data: Likewise.
24598 * conform/data/sys/sem.h-data: Likewise.
24599 * conform/data/sys/shm.h-data: Likewise.
24600 * conform/data/sys/socket.h-data: Likewise.
24601 * conform/data/sys/stat.h-data: Likewise.
24602 * conform/data/sys/statvfs.h-data: Likewise.
24603 * conform/data/sys/time.h-data: Likewise.
24604 * conform/data/sys/timeb.h-data: Likewise.
24605 * conform/data/sys/times.h-data: Likewise.
24606 * conform/data/sys/types.h-data: Likewise.
24607 * conform/data/sys/uio.h-data: Likewise.
24608 * conform/data/sys/un.h-data: Likewise.
24609 * conform/data/sys/utsname.h-data: Likewise.
24610 * conform/data/sys/wait.h-data: Likewise.
24611 * conform/data/syslog.h-data: Likewise.
24612 * conform/data/tar.h-data: Likewise.
24613 * conform/data/termios.h-data: Likewise.
24614 * conform/data/utime.h-data: Likewise.
24615 * conform/data/utmpx.h-data: Likewise.
24616 * conform/data/varargs.h-data: Likewise.
24617 * conform/data/wchar.h-data: Likewise.
24618 * conform/data/wctype.h-data: Likewise.
24619 * conform/data/wordexp.h-data: Likewise.
24620
24621 * include/stropts.h: New file.
24622 * include/uchar.h: New file.
24623 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24624 * include/assert.h: Likewise.
24625 * include/ctype.h: Likewise.
24626 * include/dirent.h: Likewise.
24627 * include/dlfcn.h: Likewise.
24628 * include/fcntl.h: Likewise.
24629 * include/fnmatch.h: Likewise.
24630 * include/glob.h: Likewise.
24631 * include/grp.h: Likewise.
24632 * include/libio.h: Likewise.
24633 * include/locale.h: Likewise.
24634 * include/math.h: Likewise.
24635 * include/net/if.h: Likewise.
24636 * include/netdb.h: Likewise.
24637 * include/netinet/in.h: Likewise.
24638 * include/pthread.h: Likewise.
24639 * include/pwd.h: Likewise.
24640 * include/regex.h: Likewise.
24641 * include/sched.h: Likewise.
24642 * include/search.h: Likewise.
24643 * include/setjmp.h: Likewise.
24644 * include/signal.h: Likewise.
24645 * include/stdio.h: Likewise.
24646 * include/stdlib.h: Likewise.
24647 * include/string.h: Likewise.
24648 * include/sys/cdefs.h: Likewise.
24649 * include/sys/mman.h: Likewise.
24650 * include/sys/msg.h: Likewise.
24651 * include/sys/resource.h: Likewise.
24652 * include/sys/select.h: Likewise.
24653 * include/sys/socket.h: Likewise.
24654 * include/sys/stat.h: Likewise.
24655 * include/sys/statvfs.h: Likewise.
24656 * include/sys/time.h: Likewise.
24657 * include/sys/times.h: Likewise.
24658 * include/sys/uio.h: Likewise.
24659 * include/sys/utsname.h: Likewise.
24660 * include/sys/wait.h: Likewise.
24661 * include/termios.h: Likewise.
24662 * include/time.h: Likewise.
24663 * include/ulimit.h: Likewise.
24664 * include/unistd.h: Likewise.
24665 * include/utime.h: Likewise.
24666 * include/wchar.h: Likewise.
24667 * include/wctype.h: Likewise.
24668 * include/wordexp.h: Likewise.
24669
24670 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24671
7a270350
UD
24672 * time/time.h: TIME_UTC must be a macro.
24673 Make timespec_get available for ISO C11 only as well.
24674
7724defc
UD
246752012-02-24 Ulrich Drepper <drepper@gmail.com>
24676
24677 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24678 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24679
6b1d1d46
JM
246802012-02-24 Joseph Myers <joseph@codesourcery.com>
24681
24682 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 24683
0f8bbd69
JM
246842012-02-24 Joseph Myers <joseph@codesourcery.com>
24685
24686 * manual/texinfo.tex: Update to version 2012-01-19.16.
24687
66ab80bc
JM
246882012-02-24 Joseph Myers <joseph@codesourcery.com>
24689
24690 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24691
74981cc5
RM
246922012-02-24 Roland McGrath <roland@hack.frob.com>
24693
ee968201
RM
24694 [BZ #13738]
24695 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24696 * manual/fdl-1.3.texi: New file.
24697 * manual/fdl-1.1.texi: File removed.
24698
74981cc5
RM
24699 [BZ #13738]
24700 * manual/libc.texinfo (FDL_VERSION): New @set.
24701 Use it for mention of FDL in cover text.
24702 (Documentation License): Use it in @include file name.
24703
7bb764bc
JM
247042012-02-22 Joseph Myers <joseph@codesourcery.com>
24705 Roland McGrath <roland@hack.frob.com>
24706
24707 [BZ #5461]
24708 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24709 not LONG_LONG_MAX and LONG_LONG_MIN.
24710 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24711 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24712 name.
24713 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24714
6cbeae47
JM
247152012-02-22 Joseph Myers <joseph@codesourcery.com>
24716
24717 [BZ #2547]
24718 [BZ #11365]
24719 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24720 manipulate bits before adding and subtracting TWO23[sx].
24721 * math/libm-test.inc (nearbyint_test): Add more tests.
24722
fe45ce09
JM
247232012-02-22 Joseph Myers <joseph@codesourcery.com>
24724
24725 [BZ #2548]
24726 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24727 bits before adding and subtracting TWO23[sx].
24728 * math/libm-test.inc (rint_test): Add more tests.
24729 (rint_test_tonearest): Likewise.
24730 (rint_test_towardzero): Likewise.
24731 (rint_test_downward): Likewise.
24732 (rint_test_upward: Likewise.
24733
ff3b3d82
JM
247342012-02-22 Joseph Myers <joseph@codesourcery.com>
24735
24736 [BZ #10110]
24737 * include/stdc-predef.h: New file. Extracted from features.h.
24738 * include/features.h: Include stdc-predef.h.
24739 * Makefile (headers): Add stdc-predef.h.
24740 * CONFORMANCE (Compiler limitations): Update.
24741
ef0aab35
JM
247422012-02-22 Joseph Myers <joseph@codesourcery.com>
24743
24744 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24745
58639409
DM
247462012-02-21 David S. Miller <davem@davemloft.net>
24747
24748 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24749 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24750
c0e70b25
DM
247512012-02-20 David S. Miller <davem@davemloft.net>
24752
24753 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24754 using a normal save/restore sequence, rather than allocating a
24755 dummy stack frame just to store a frame pointer and restore.
24756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24757
fb06851d
JM
247582012-02-21 Joseph Myers <joseph@codesourcery.com>
24759
24760 * manual/install.texi: Fix stray word in line-wrapped comment.
24761
7a8b71c3
DM
247622012-02-20 David S. Miller <davem@davemloft.net>
24763
d510c123
DM
24764 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24765 both binutils and gcc support GOTDATA.
24766
0722d7c2
DM
24767 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24768 "rd %pc" in the PIC register setup sequences.
24769
3d2b3019
DM
24770 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24771 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24772 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24773 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24774 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24777 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24778 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24779 (SYSCALL_ERROR_HANDLER): Likewise.
24780 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24781 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24783 (SYSCALL_ERROR_HANDLER): Likewise.
24784
c80098a9
DM
24785 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24786 (HAVE_GCC_GOTDATA): New.
24787 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24788 relocation support in both binutils and gcc.
24789 * sysdeps/sparc/elf/configure: Regenerate.
24790
3a2545a0
DM
24791 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24792 * sysdeps/sparc/sparc32/elf/configure: Delete.
24793 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24794 * sysdeps/sparc/sparc64/elf/configure: Delete.
24795 * sysdeps/sparc/elf/configure.in: New file.
24796 * sysdeps/sparc/elf/configure: Generate.
24797
7a8b71c3
DM
24798 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24799 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24800 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24801 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24802 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24803
f1e86fca
JM
248042012-02-21 Joseph Myers <joseph@codesourcery.com>
24805
24806 * manual/install.texi: Do not mention specific glibc version
24807 numbers.
24808 * manual/libc.texinfo (VERSION, UPDATED): Update.
24809 (@copying): Use @copyright{} and range of years.
24810
0e7dfaef
JM
248112012-02-21 Joseph Myers <joseph@codesourcery.com>
24812
24813 [BZ #13695]
24814 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24815 [crti.S not in sysdirs] (generated): Do not append.
24816 [crti.S not in sysdirs] (omit-deps): Likewise.
24817 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24818 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24819 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24820 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24821 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24822 Likewise.
24823 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24824 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24825 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24826 * csu/defs.awk: Remove file.
24827 * sysdeps/generic/initfini.c: Likewise.
24828 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24829 variable.
24830 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24831 Likewise.
24832
599af3ca
JM
248332012-02-20 Joseph Myers <joseph@codesourcery.com>
24834
24835 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24836 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24837 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24838 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24839 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24840 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24841 <bits/epoll.h>.
24842 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24843 (__EPOLL_PACKED): Define to empty if not defined by
24844 <bits/epoll.h>.
24845 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24846 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24847 bits/epoll.h.
24848
0e499750
JM
248492012-02-20 Joseph Myers <joseph@codesourcery.com>
24850
24851 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24852 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24853 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24854 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24855 <bits/timerfd.h>.
24856 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24858 bits/timerfd.h.
24859
5ad91f6e
JM
248602012-02-20 Joseph Myers <joseph@codesourcery.com>
24861
24862 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24863 in C locale.
24864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24865 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24868
06b99b02
AJ
248692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24870
24871 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24872 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24873
7638c0fd
AS
248742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24875
24876 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24877 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24878 defined.
24879 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24880 Likewise.
24881 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24882 entry for 2.16.
24883
92221550
AJ
248842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24885
24886 * math/w_acos.c: Use non-signaling floating-point comparisons.
24887 * math/w_acosf.c: Likewise.
24888 * math/w_acosh.c: Likewise.
24889 * math/w_acoshf.c: Likewise.
24890 * math/w_acoshl.c: Likewise.
24891 * math/w_acosl.c: Likewise.
24892 * math/w_asin.c: Likewise.
24893 * math/w_asinf.c: Likewise.
24894 * math/w_asinl.c: Likewise.
24895 * math/w_atanh.c: Likewise.
24896 * math/w_atanhf.c: Likewise.
24897 * math/w_atanhl.c: Likewise.
24898 * math/w_exp2.c: Likewise.
24899 * math/w_exp2f.c: Likewise.
24900 * math/w_exp2l.c: Likewise.
24901 * math/w_j0.c: Likewise.
24902 * math/w_j0f.c: Likewise.
24903 * math/w_j0l.c: Likewise.
24904 * math/w_j1.c: Likewise.
24905 * math/w_j1f.c: Likewise.
24906 * math/w_j1l.c: Likewise.
24907 * math/w_jn.c: Likewise.
24908 * math/w_jnf.c: Likewise.
24909 * math/w_log.c: Likewise.
24910 * math/w_log10.c: Likewise.
24911 * math/w_log10f.c: Likewise.
24912 * math/w_log10l.c: Likewise.
24913 * math/w_log2.c: Likewise.
24914 * math/w_log2f.c: Likewise.
24915 * math/w_log2l.c: Likewise.
24916 * math/w_logf.c: Likewise.
24917 * math/w_logl.c: Likewise.
24918 * math/w_sqrt.c: Likewise.
24919 * math/w_sqrtf.c: Likewise.
24920 * math/w_sqrtl.c: Likewise.
24921 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24922 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24923 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24924 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24925 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24926
ebaf36eb
JM
249272012-02-19 Joseph Myers <joseph@codesourcery.com>
24928
24929 [BZ #9739]
24930 * manual/string.texi (strnlen): Use correct parameter name in
24931 equivalent expression.
24932
71c254a6
JM
249332012-02-19 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #11174]
24936 * manual/users.texi (seteuid): Consistently use neweuid for
24937 argument name.
24938
16d2c631
JM
249392012-02-19 Joseph Myers <joseph@codesourcery.com>
24940
24941 [BZ #13704]
24942 * manual/nss.texi (Services in the NSS configuration): Correct
24943 list of services in example configuration file.
24944
cd837b09
NB
249452012-02-19 Nick Bowler <nbowler@draconx.ca>
24946
24947 [BZ #11322]
24948 * manual/arith.texi: Remove statements about negative zero
24949 behaving identically to zero.
24950
02c4bbad
JM
249512012-02-18 Joseph Myers <joseph@codesourcery.com>
24952
24953 [BZ #5993]
24954 * manual/install.texi: Do not document upgrading from libc5.
24955
366842e7
JM
249562012-02-18 Joseph Myers <joseph@codesourcery.com>
24957
24958 [BZ #4596]
24959 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24960
dd54084d
DM
249612012-02-18 David S. Miller <davem@davemloft.net>
24962
24963 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24964 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24965 %o7 across the call.
24966 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24967 instead.
24968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24969 SETUP_PIC_REG_LEAF.
24970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24971 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24972 * sysdeps/sparc/crtn.S: Likewise.
24973
2bcc53a3
UD
249742012-02-17 Ulrich Drepper <drepper@gmail.com>
24975
24976 * aout/Makefile: Remove.
24977
09c093b5
RK
249782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24979
24980 [BZ #13058]
24981 * manual/examples/argp-ex1.c (main): Format definition in GNU
24982 style.
24983 * manual/examples/argp-ex2.c (main): Likewise.
24984 * manual/examples/argp-ex3.c (main): Likewise.
24985 * manual/examples/argp-ex4.c (main): Likewise.
24986 * manual/examples/longopt.c (main): Use new-style prototype
24987 definition.
24988 * manual/examples/strncat.c (main): Specify return type and use
24989 (void) for arguments.
24990 * manual/examples/subopt.c (main): Use char **argv argument.
24991
2ee633a2
JM
249922012-02-17 Joseph Myers <joseph@codesourcery.com>
24993
24994 [BZ #5077]
24995 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24996 rounding modes.
24997
0520adde
FB
249982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24999
25000 [BZ #6907]
25001 * manual/string.texi (strchr): Change when strchrnul is
25002 recommended.
25003
3f4081cd
DGM
250042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25005
25006 [BZ #174]
25007 * manual/locale.texi (setlocale): Document LOCPATH.
25008
d1b10e78
JM
250092012-02-17 Joseph Myers <joseph@codesourcery.com>
25010
25011 [BZ #10210]
25012 * manual/process.texi (execle): Move @dots{} before last argument.
25013
79c6869c
PB
250142012-02-17 Paul Bolle <pebolle@tiscali.nl>
25015
25016 [BZ #12047]
25017 * manual/charset.texi (Generic Charset Conversion): Fix typo
25018 (LC_TYPE -> LC_CTYPE).
25019
cc6e48bc
NB
250202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25021
25022 [BZ #5805]
25023 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25024 (scalbnf): Likewise.
25025 (scalbnl): Likewise.
25026 (scalbln): Likewise.
25027 (scalblnf): Likewise.
25028 (scalblnl): Likewise.
25029 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25030 (vwarnx): Likewise.
25031 (verr): Likewise.
25032 (verrx): Likewise.
25033 * manual/filesys.texi (telldir): Use braces around return type.
25034 * manual/llio.texi (mmap): Add space after comma.
25035 (mmap64): Likewise.
25036 * manual/math.texi (jn): Use @var{} on parameter names.
25037 (jnf): Likewise.
25038 (jnl): Likewise.
25039 (yn): Likewise.
25040 (ynf): Likewise.
25041 (ynl): Likewise.
25042 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25043 line.
25044 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25045 "...".
25046 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25047 (sched_get_priority_max): Likewise.
25048 * manual/signal.texi (sigvec): Add space after comma.
25049 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25050 names.
25051 (if_indextoname): Likewise.
25052 (if_freenameindex): Likewise.
25053 (sendto): Use ',' instead of '.' in prototype.
25054 * manual/startup.texi (syscall): Use @dots{} instead of literal
25055 "...".
25056 * manual/stdio.texi (__fpending): Separate initial words of
25057 paragraph from @deftypefun line.
25058 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25059 "...".
25060 (vsyslog): Use @var{} on parameter names.
25061 * manual/terminal.texi (stty): Use @var{} on parameter names.
25062 * manual/users.texi (getutmp): Use @var{} on parameter names.
25063 (getutmpx): Likewise.
25064
5b23062f
JM
250652012-02-17 Joseph Myers <joseph@codesourcery.com>
25066
25067 [BZ #6884]
25068 * manual/stdio.texi (fopen): Fix typos in description of
25069 ",ccs=STRING".
25070
8dee4833
AJ
250712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25072
25073 [BZ #4026]
25074 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25075 get clock_id definition.
25076
9078ce93
TS
250772012-02-17 Thomas Schwinge <thomas@schwinge.name>
25078
25079 [BZ #4822]
25080 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25081 (madvise): Cast every argument to void on its own.
25082
3835c55f
JM
250832012-02-17 Joseph Myers <joseph@codesourcery.com>
25084
25085 [BZ #9902]
25086 * manual/startup.texi (Exit Status): Fix typo.
25087
35c47e37
JM
250882012-02-17 Joseph Myers <joseph@codesourcery.com>
25089
25090 [BZ #10140]
25091 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25092 * manual/examples/argp-ex2.c: Likewise.
25093 * manual/examples/argp-ex3.c: Likewise.
25094
e3b69ca7
RH
250952012-02-16 Richard Henderson <rth@redhat.com>
25096
25097 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25098 * sysdeps/s390/s390-32/initfini.c: Remove.
25099 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25100 * sysdeps/s390/s390-64/initfini.c: Remove.
25101
df83af67
KK
251022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25103
25104 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25105 compiler output for sysdeps/generic/initfini.c.
25106 * sysdeps/sh/elf/initfini.c: Remove file.
25107
f63f3380
DM
251082012-02-16 David S. Miller <davem@davemloft.net>
25109
fb59b3a4
DM
25110 [BZ #11494]
25111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25112
f63f3380
DM
25113 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25114 * sysdeps/sparc/crti.S: New file.
25115 * sysdeps/sparc/crtn.S: New file.
25116 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25117 * sysdeps/sparc/sparc64/Makefile: Likewise.
25118
df6a4a4a
MF
251192012-02-15 Mike Frysinger <vapier@gentoo.org>
25120
6dd8f3dc 25121 [BZ #3335]
df6a4a4a
MF
25122 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25123
1cac7236
RM
251242012-02-15 Roland McGrath <roland@hack.frob.com>
25125
d2c736f8
RM
25126 [BZ #4822]
25127 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25128
1cac7236
RM
25129 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25130 (write, read, close): Likewise.
25131 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25132
8e475601
JM
251332012-02-15 Joseph Myers <joseph@codesourcery.com>
25134
25135 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25136 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25137 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25138 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25139 <bits/signalfd.h>.
25140 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25142 bits/signalfd.h.
25143
ed656b40
MP
251442012-02-14 Marek Polacek <polacek@redhat.com>
25145
25146 * sysdeps/x86_64/crti.S: New file.
25147 * sysdeps/x86_64/crtn.S: New file.
25148 * sysdeps/x86_64/elf/initfini.c: Remove file.
25149
2a979d3a
JM
251502012-02-13 Joseph Myers <joseph@codesourcery.com>
25151
25152 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25153 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25154 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25155 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25156 <bits/inotify.h>.
25157 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25159 bits/inotify.h.
25160
2a418ac3
JM
251612012-02-13 Joseph Myers <joseph@codesourcery.com>
25162
25163 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25164 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25165 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25166 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25167 <bits/eventfd.h>.
25168 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25170 bits/eventfd.h.
25171
fb779be7
TS
251722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25173
e19e83c5
RM
25174 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25175 __feraiseexcept instead of feraiseexcept.
7c35ffed 25176
fb779be7
TS
25177 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25178 nanosleep invocations.
25179 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25180 strings, and add error checking for a nanosleep invocations.
25181
59ba27a6
PE
251822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25183
25184 Replace FSF snail mail address with URLs, as per GNU coding standards.
25185 Most of the snail mail addresses were wrong anyway, and omitting
25186 them makes the source code easier to maintain. Almost all of the
25187 changes are to license notices and to locale LC_IDENTIFICATION
25188 addresses, except for this one:
25189 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25190 not its snail mail address.
25191
57b957eb
RH
251922012-02-09 Richard Henderson <rth@twiddle.net>
25193
af850b1c
RH
25194 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25195 of kernel-features.h.
25196
57b957eb
RH
25197 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25198
6b73181a
MP
251992012-02-08 Marek Polacek <polacek@redhat.com>
25200
25201 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25202 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25203 * sysdeps/gnu/_G_config.h: Likewise.
25204 * sysdeps/generic/_G_config.h: Likewise.
25205
26ecc33a
AS
252062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25207
6c6dbc63
AS
25208 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25209 tests.
25210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25211
e216c012
AS
25212 * sysdeps/powerpc/powerpc32/crti.S: New file.
25213 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25214 * sysdeps/powerpc/powerpc64/crti.S: New file.
25215 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25216
26ecc33a
AS
25217 * Makeconfig (have-initfini): Don't set.
25218 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25219 * configure.in (nopic_initfini): Don't substitute.
25220 * config.h.in (HAVE_INITFINI): Don't #undef.
25221 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25222 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25223
3add8e13
JM
252242012-02-08 Joseph Myers <joseph@codesourcery.com>
25225
25226 Support crti.S and crtn.S provided directly by architectures.
25227 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25228 [crti.S in sysdirs] (omit-deps): Likewise.
25229 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25230 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25231 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25232 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25233 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25234 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25235 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25236 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25237 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25238 compiler output for sysdeps/generic/initfini.c.
25239 * sysdeps/i386/elf/Makefile: Remove file.
25240 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25241
a22f12b4
MP
252422012-02-07 Marek Polacek <polacek@redhat.com>
25243
25244 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25245 * sysdeps/gnu/_G_config.h: Likewise.
25246 * sysdeps/mach/hurd/_G_config.h: Likewise.
25247
148cf100
MP
252482012-02-07 Marek Polacek <polacek@redhat.com>
25249
25250 * math/Makefile (tests): Add tst-CMPLX2.
25251 * math/tst-CMPLX2.c: New file.
25252
cfdc0dd7
AS
252532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25254
84ba42c4
AS
25255 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25256
cfdc0dd7
AS
25257 * math/libm-test.inc (jn_test): Add missing L suffix.
25258
622c86f4
MP
252592012-02-06 Marek Polacek <polacek@redhat.com>
25260
25261 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25262 * sysdeps/i386/fpu/e_powf.S: Likewise.
25263 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25264 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25265 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25266 * sysdeps/i386/fpu/e_pow.S: Likewise.
25267 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25268 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25269 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25270 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25271 * sysdeps/i386/fpu/e_log2.S: Likewise.
25272 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25273 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25274 * sysdeps/i386/fpu/e_powl.S: Likewise.
25275 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25277 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25278 * sysdeps/i386/fpu/e_logl.S: Likewise.
25279 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25280 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25281 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25282 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25283 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25284 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25285 * sysdeps/i386/fpu/e_log.S: Likewise.
25286 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25287 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25288 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25289 * sysdeps/i386/fpu/e_logf.S: Likewise.
25290 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25292 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25293 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25294 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25295 * sysdeps/i386/fpu/e_log10.S: Likewise.
25296 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25297 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25298 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25299 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25300 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25301 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25302 * sysdeps/i386/asm-syntax.h: Likewise.
25303 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25304 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25305 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25306 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25307 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25308 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25309 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25310 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25311 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25312 * sysdeps/powerpc/sysdep.h: Likewise.
25313 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25314 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25315
d4a54ac6
JM
253162012-02-06 Joseph Myers <joseph@codesourcery.com>
25317
25318 [BZ #411]
25319 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25320
314054ea
JM
253212012-02-06 Joseph Myers <joseph@codesourcery.com>
25322
25323 * sysdeps/i386/sysdep.h: Include <features.h>.
25324 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25325 version.
25326
d8e0ca50
JM
253272012-02-05 Joseph Myers <joseph@codesourcery.com>
25328
25329 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25330 Define.
25331 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25332 LOAD_PIC_REG_STR.
25333
b1da7dd9
JM
253342012-02-03 Joseph Myers <joseph@codesourcery.com>
25335
25336 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25337 (SETUP_PIC_REG): Use GET_PC_THUNK.
25338 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25339 macro.
25340
9a1d9254
JM
253412012-02-03 Joseph Myers <joseph@codesourcery.com>
25342
25343 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25344 for non-PIC compilation.
25345 (SETUP_PIC_REG): Add .p2align directive.
25346 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25347 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25348 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25349 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25350 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25351 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25352 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25353 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25354 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25355 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25356 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25357 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25358 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25359 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25360 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25361 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25362 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25363 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25364 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25365 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25366 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25368 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25369 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25370 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25371 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25372 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25373 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25374 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25375 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25376 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25378 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25379 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25380 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25381 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25382 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25383 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25384 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25385 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25386 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25387
65dc3b75
JM
253882012-02-03 Joseph Myers <joseph@codesourcery.com>
25389
25390 * math/tst-CMPLX.c: Include <stdio.h>.
25391
d55bf177
JM
253922012-01-31 Joseph Myers <joseph@codesourcery.com>
25393
25394 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25395 float.
25396 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25397 * sysdeps/sparc/bits/mathdef.h: Likewise.
25398
69db4f8f
MP
253992012-01-31 Marek Polacek <polacek@redhat.com>
25400
25401 * libio/libio.h: Don't define _PARAMS.
25402 * locale/programs/config.h: Don't define PARAMS.
25403 * stdlib/strtol_l.c: Likewise.
25404 (__strtol_l): Remove PARAMS from the prototype.
25405
41b81892
UD
254062012-01-31 Ulrich Drepper <drepper@gmail.com>
25407
3b49edc0
UD
25408 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25409 names. Just use the correct names. Remove unnecessary wrapper
25410 functions.
25411 * malloc/arena.c: Likewise.
25412 * malloc/hooks.c: Likewise.
25413
41b81892
UD
25414 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25415 ARENA_TEST says not to. Simplify test for creation of a new arena.
25416 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25417
27a25b6e
UD
254182012-01-30 Ulrich Drepper <drepper@gmail.com>
25419
25420 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25421 into tail calls.
25422 (update_get_addr): New function.
25423 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25424 GET_ADDR_MODULE parameter.
25425
c8a89e7d
JM
254262012-01-30 Joseph Myers <joseph@codesourcery.com>
25427
25428 * crypt/cert.c: Remove __STDC__ conditionals.
25429 * crypt/crypt-entry.c: Likewise.
25430 * crypt/crypt_util.c: Likewise.
25431 * libio/filedoalloc.c: Likewise.
25432 * libio/fileops.c: Likewise.
25433 * libio/genops.c: Likewise.
25434 * libio/iofclose.c: Likewise.
25435 * libio/iofdopen.c: Likewise.
25436 * libio/iofopen.c: Likewise.
25437 * libio/iofopen64.c: Likewise.
25438 * libio/iogetdelim.c: Likewise.
25439 * libio/iopopen.c: Likewise.
25440 * libio/obprintf.c: Likewise.
25441 * libio/oldfileops.c: Likewise.
25442 * libio/oldiofclose.c: Likewise.
25443 * libio/oldiofdopen.c: Likewise.
25444 * libio/oldiofopen.c: Likewise.
25445 * libio/oldiopopen.c: Likewise.
25446 * libio/wfiledoalloc.c: Likewise.
25447 * libio/wgenops.c: Likewise.
25448 * locale/programs/xmalloc.c: Likewise.
25449 * misc/syslog.c: Likewise.
25450 * stdio-common/xbug.c: Likewise.
25451 * string/memchr.c: Likewise.
25452 * string/memcmp.c: Likewise.
25453 * string/memrchr.c: Likewise.
25454 * string/rawmemchr.c: Likewise.
25455 * sysdeps/posix/getcwd.c: Likewise.
25456 * time/strftime_l.c: Likewise.
25457
3b100462
JM
254582012-01-30 Joseph Myers <joseph@codesourcery.com>
25459
25460 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25461 * config.make.in (config-cflags-sse2avx): Define.
25462 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25463 Fix typo.
25464
607998af
CM
254652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25466
25467 * scripts/config.guess: Update from upstream config git repository.
25468 * scripts/config.sub: Likewise.
25469
3601428f
CM
254702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25471
3ac8b282
CM
25472 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25473 (EM_NUM): Update.
25474 (R_TILEPRO_*, R_TILEGX_*): New macros.
25475
e034841e
CM
25476 * scripts/firstversions.awk: Fix bug in version range handling.
25477
540d7568
CM
25478 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25479
3601428f
CM
25480 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25481
463de862
CM
25482 * include/sys/epoll.h: New file.
25483 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25484 libc_hidden_def.
25485
73139a76
UD
254862012-01-28 Ulrich Drepper <drepper@gmail.com>
25487
96bc5b45
UD
25488 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25489 Avoid unnecessary __WORDSIZE == 64 test.
25490 (fmaxf): Use VEX format if possible.
25491 (fmax): Likewise.
25492 (fminf): Likewise.
25493 (fmin): Likewise.
25494
56f6f6a2
UD
25495 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25496 * math/math_private.h: Remove libc_fegetround* and
25497 libc_fesetround*.
25498 * sysdeps/i386/configure.in: Check for -msse2avx.
25499 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25500 also if SSE2AVX is defined.
25501 Remove libc_fegetround* and libc_fesetround*.
25502 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25503 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25504 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25505 of HAS_YMM_USABLE.
25506 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25507 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25508 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25509 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25510 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25511
73139a76
UD
25512 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25513
d73f93a4
AZ
255142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25515
25516 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25517 size is not set.
25518 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25519
6ee65ed6
UD
255202012-01-27 Ulrich Drepper <drepper@gmail.com>
25521
25522 [BZ #13618]
25523 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25524 relocation.
25525 * Makeconfig (libm): Define.
25526 * elf/Makefile: Add rules to build and run tst-relsort1.
25527 * elf/tst-relsort1.c: New file.
25528 * elf/tst-relsort1mod1.c: New file.
25529 * elf/tst-relsort1mod2.c: New file.
25530
8db21882
JM
255312012-01-27 Joseph Myers <joseph@codesourcery.com>
25532
25533 * math/s_ldexp.c: Remove __STDC__ conditionals.
25534 * math/s_ldexpf.c: Likewise.
25535 * math/s_ldexpl.c: Likewise.
25536 * math/s_nextafter.c: Likewise.
25537 * math/s_nexttowardf.c: Likewise.
25538 * math/s_significand.c: Likewise.
25539 * math/s_significandf.c: Likewise.
25540 * math/s_significandl.c: Likewise.
25541 * math/w_jnl.c: Likewise.
25542 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25543 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25544 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25545 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25546 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25554 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25555 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25557 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25558 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25559 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25564 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25566 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25567 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25568 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25569 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25570 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25571 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25572 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25573 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25574 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25575 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25576 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25577 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25578 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25579 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25580 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25582 * sysdeps/ieee754/k_standard.c: Likewise.
25583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25587 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25601 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25602 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25644 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25649 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25657 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25658 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25662 * sysdeps/ieee754/s_matherr.c: Likewise.
25663 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25664 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25665 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25667
965a54a4
JM
256682012-01-26 Joseph Myers <joseph@codesourcery.com>
25669
25670 * crypt/md5.h: Remove __STDC__ conditionals.
25671 * libio/libioP.h: Likewise.
25672 * locale/programs/config.h: Likewise.
25673 * sysdeps/generic/sysdep.h: Likewise.
25674 * sysdeps/i386/asm-syntax.h: Likewise.
25675 * sysdeps/s390/asm-syntax.h: Likewise.
25676 * sysdeps/unix/sysdep.h: Likewise.
25677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25679
7071ad79
JM
256802012-01-26 Joseph Myers <joseph@codesourcery.com>
25681
25682 * libio/libio.h: Remove __STDC__ conditionals.
25683 * malloc/obstack.h: Likewise.
25684 * math/complex.h: Likewise.
25685 * math/math.h: Likewise.
25686 * sysdeps/generic/_G_config.h: Likewise.
25687 * sysdeps/gnu/_G_config.h: Likewise.
25688 * sysdeps/mach/hurd/_G_config.h: Likewise.
25689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25690 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25691 * sysdeps/sparc/bits/mathdef.h: Likewise.
25692
afc5ed09
UD
256932012-01-26 Ulrich Drepper <drepper@gmail.com>
25694
25695 [BZ #13583]
25696 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 25697 Clean up HAS_* macros.
afc5ed09 25698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
25699 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25700 possible.
25701 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25702 HAS_AVX.
25703 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25704 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25706 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25707 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 25708
bdb6de1d
JM
257092012-01-25 Joseph Myers <joseph@codesourcery.com>
25710
25711 * elf/tst-unique3.cc (gets): Remove declaration.
25712 * elf/tst-unique3lib.cc (gets): Likewise.
25713 * elf/tst-unique3lib2.cc (gets): Likewise.
25714 * elf/tst-unique4.cc (gets): Likewise.
25715
b15549e6
UD
257162012-01-24 Ulrich Drepper <drepper@gmail.com>
25717
25718 * include/stdio.h: Add C++ protection. Add gets declarations and
25719 definitions.
25720 * debug/tst-chk1.c: Don't declare gets here.
25721 * stdio-common/tst-gets.c: Likewise.
25722
a037381f
JM
257232012-01-24 Joseph Myers <joseph@codesourcery.com>
25724
25725 * posix/glob: Remove directory.
25726
f1d4aa75
JM
257272012-01-24 Joseph Myers <joseph@codesourcery.com>
25728
25729 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25730
81c0c964
PT
257312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25732
25733 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25734 of the non-standard EPFNOSUPPORT.
25735
0ea698ae
ST
257362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25737
25738 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25739 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25740 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25741
d220b117
UD
257422012-01-21 Ulrich Drepper <drepper@gmail.com>
25743
25744 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25745
3e1aa84e
UD
257462012-01-20 Ulrich Drepper <drepper@gmail.com>
25747
25748 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25749 transient errors.
25750 * nscd/grpcache.c (cache_addgr): Likewise.
25751 * nscd/hstcache.c (cache_addhst): Likewise.
25752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25753 * nscd/pwdcache.c (cache_addpw): Likewise.
25754 * nscd/servicescache.c (cache_addserv): Likewise.
25755
400aa020
UD
257562012-01-16 Ulrich Drepper <drepper@gmail.com>
25757
d77e7869
UD
25758 * malloc/malloc.c: Various cleanups.
25759 * malloc/hooks.c: Likewise.
25760
400aa020
UD
25761 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25762 * stdlib/bug-fmtmsg1.c: New file.
25763
25764 * stdlib/fmtmsg.c (init): Add missing unlock.
25765 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25766
e0a309cf
MP
257672012-01-12 Marek Polacek <polacek@redhat.com>
25768
25769 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25770 and _GNU_SOURCE.
25771
929d11c7
WS
257722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25773
25774 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25775 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25776 macro to ensure uniqueness of label name.
25777 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25778 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25779
41d0e869
UD
257802012-01-11 Ulrich Drepper <drepper@gmail.com>
25781
0cc5ed3b
UD
25782 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25783
41d0e869
UD
25784 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25785 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25786 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25787 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25788
a47a831a
UD
257892012-01-10 Ulrich Drepper <drepper@gmail.com>
25790
daa891c0
UD
25791 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25792
25793 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25794 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25795 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25796
e58ef0f2
UD
25797 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25798
a47a831a 25799 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
25800 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25801 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 25802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
25803
25804 * math/bits/math-finite.h: Add ldexp support.
25805
a0bfc9c7
MP
258062012-01-10 Marek Polacek <polacek@redhat.com>
25807
25808 * locale/programs/localedef.h (show_archive_content): Add noreturn
25809 attribute.
25810
d6e97a1d
UD
258112012-01-09 Ulrich Drepper <drepper@gmail.com>
25812
25813 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25814
d5835c26
UD
258152012-01-08 Ulrich Drepper <drepper@gmail.com>
25816
e5f484c6
UD
25817 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25818
d5835c26
UD
25819 * io/Makefile (headers): Add bits/poll2.h.
25820
d1f741e9
WS
258212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25822
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25824 typo #include statement.
25825
ec09c1c4
UD
258262012-01-08 Ulrich Drepper <drepper@gmail.com>
25827
25828 * include/sys/cdefs.h: Define __attribute_alloc_size.
25829 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25830 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25831 * elf/pldd.c: Likewise.
25832 * iconv/iconv_charmap.c: Likewise.
25833 * iconv/iconvconfig.c: Likewise.
25834 * iconv/strtab.c: Likewise.
25835 * locale/programs/locale.c: Likewise.
25836 * locale/programs/localedef.h: Likewise.
25837 * locale/programs/simple-hash.c: Likewise.
25838 * nscd/nscd.h: Likewise.
25839 * nss/makedb.c: Likewise.
25840 * sysdeps/generic/ldconfig.h: Likewise.
25841 * locale/programs/localedef.c: Remove xmalloc prototype.
25842 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25843
20b38e03
PP
258442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25845
25846 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25847 appropriate.
25848
a0da5fe1
UD
258492012-01-08 Ulrich Drepper <drepper@gmail.com>
25850
1d5a644a 25851 * math/Makefile (tests): Add tst-CMPLX.
669704fd 25852 * math/tst-CMPLX.c: New file.
1d5a644a 25853
8784a6db
UD
25854 * math/complex.h (CMPLXL): Fix typo.
25855
d9a216c0
UD
25856 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25857 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25858 GLIBC_2.16.
25859 * debug/tst-chk1.c: Add poll and ppoll tests.
25860 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25861 * include/sys/poll.h: Add hidden proto for ppoll.
25862 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25863 * sysdeps/mach/hurd/ppoll.c: Likewise.
25864 * io/ppoll.c: Likewise.
25865 * debug/poll_chk.c: New file.
25866 * debug/ppoll_chk.c: New file.
25867 * include/bits/poll2.h: New file.
25868 * io/bits/poll2.h: New file.
25869
ac097f5c
UD
25870 [BZ #1350]
25871 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25872
2119dcfa
UD
25873 * configure.in: static is always set to yes. Remove.
25874 * config.make.in: Don't set build-static.
25875 * Makeconfig: Remove use of build-static.
25876 * dlfcn/Makefile: Likewise.
25877 * elf/Makefile: Likewise.
25878 * math/Makefile: Likewise.
25879 * misc/Makefile: Likewise.
25880 * nptl/Makefile: Likewise.
25881 * sysdeps/mach/hurd/Makefile: Likewise.
25882
121766a9
UD
25883 * configure.in: PWD_P is not used anymore.
25884 * config.make.in: Remove PWD_P entry.
25885
51a1d39c 25886 * configure.in: Remove last remnants of RANLIB.
8720d066 25887 No need to check for signed size_t anymore.
215f4bdc
UD
25888 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25889 and IA-64.
3857022a 25890 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25891 * aclocal.m4: Likewise.
25892
d3ed7225
UD
25893 * wcsmbs/mbrtoc16.c: Implement using towc function.
25894 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25895 * wcsmbs/wcsmbsload.c: Likewise.
25896 * iconv/gconv_simple.c: Likewise.
25897 * iconv/gconv_int.h: Likewise.
25898 * iconv/gconv_builtin.h: Likewise.
25899 * iconv/iconv_prog.c: Remove CHAR16 handling.
25900
25901 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25902
25903 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25904
a0da5fe1
UD
25905 * configure.in: Remove --with-elf and --enable-bounded options.
25906 Dont set base_machine for ia64. More non-ELF conditions removed.
25907 Remove testing and setting of leading underscore information.
25908 * config.make.in (build-bounded): Set to no.
25909 * config.h.in: Remove NO_UNDERSCORES entry.
25910 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25911 them.
25912 * csu/start.c: Remove !NO_UNDERSCORE code.
25913 * locale/localeinfo.h: Likewise.
25914 * sysdeps/generic/machine-gmon.h: Likewise.
25915 * sysdeps/generic/sysdep.h: Likewise.
25916 * sysdeps/i386/sysdep.h: Likewise.
25917 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25918 * sysdeps/mach/sysdep.h: Likewise.
25919 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25920 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25921 * sysdeps/sh/sysdep.h: Likewise.
25922 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25923 * sysdeps/unix/i386/sysdep.S: Likewise.
25924 * sysdeps/unix/sparc/start.c: Likewise.
25925 * sysdeps/unix/sparc/sysdep.S: Likewise.
25926 * sysdeps/unix/sparc/sysdep.h: Likewise.
25927 * sysdeps/unix/start.c: Likewise.
25928 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25929 * sysdeps/x86_64/sysdep.h: Likewise.
25930
df78418a
UD
259312012-01-07 Ulrich Drepper <drepper@gmail.com>
25932
a784e502
UD
25933 [BZ #13553]
25934 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25935 for non-gcc.
25936 * argp/argp-fmtstream.h: Use const instead __const.
25937 * argp/argp.h: Likewise.
25938 * assert/assert.h: Likewise.
25939 * bits/fenv.h: Likewise.
25940 * bits/sched.h: Likewise.
25941 * bits/sigset.h: Likewise.
25942 * bits/sigthread.h: Likewise.
25943 * catgets/nl_types.h: Likewise.
25944 * conform/data/pthread.h-data: Likewise.
25945 * crypt/crypt-private.h: Likewise.
25946 * crypt/crypt.h: Likewise.
25947 * crypt/crypt_util.c: Likewise.
25948 * ctype/ctype.h: Likewise.
25949 * debug/execinfo.h: Likewise.
25950 * debug/mbsnrtowcs_chk.c: Likewise.
25951 * debug/mbsrtowcs_chk.c: Likewise.
25952 * debug/wcsnrtombs_chk.c: Likewise.
25953 * debug/wcsrtombs_chk.c: Likewise.
25954 * debug/wcstombs_chk.c: Likewise.
25955 * dirent/dirent.h: Likewise.
25956 * dlfcn/dlfcn.h: Likewise.
25957 * elf/neededtest4.c: Likewise.
25958 * grp/grp.h: Likewise.
25959 * gshadow/gshadow.h: Likewise.
25960 * iconv/gconv.h: Likewise.
25961 * iconv/gconv_int.h: Likewise.
25962 * iconv/gconv_simple.c: Likewise.
25963 * iconv/iconv.h: Likewise.
25964 * iconv/loop.c: Likewise.
25965 * iconv/skeleton.c: Likewise.
25966 * include/aio.h: Likewise.
25967 * include/aliases.h: Likewise.
25968 * include/argz.h: Likewise.
25969 * include/arpa/inet.h: Likewise.
25970 * include/assert.h: Likewise.
25971 * include/dirent.h: Likewise.
25972 * include/dlfcn.h: Likewise.
25973 * include/execinfo.h: Likewise.
25974 * include/fcntl.h: Likewise.
25975 * include/fenv.h: Likewise.
25976 * include/glob.h: Likewise.
25977 * include/grp.h: Likewise.
25978 * include/libintl.h: Likewise.
25979 * include/mntent.h: Likewise.
25980 * include/netdb.h: Likewise.
25981 * include/pwd.h: Likewise.
25982 * include/rpc/netdb.h: Likewise.
25983 * include/sched.h: Likewise.
25984 * include/search.h: Likewise.
25985 * include/shadow.h: Likewise.
25986 * include/signal.h: Likewise.
25987 * include/stdio.h: Likewise.
25988 * include/stdlib.h: Likewise.
25989 * include/string.h: Likewise.
25990 * include/sys/socket.h: Likewise.
25991 * include/sys/stat.h: Likewise.
25992 * include/sys/statfs.h: Likewise.
25993 * include/sys/statvfs.h: Likewise.
25994 * include/sys/syslog.h: Likewise.
25995 * include/sys/time.h: Likewise.
25996 * include/sys/uio.h: Likewise.
25997 * include/time.h: Likewise.
25998 * include/unistd.h: Likewise.
25999 * include/utmp.h: Likewise.
26000 * include/wchar.h: Likewise.
26001 * include/wctype.h: Likewise.
26002 * inet/aliases.h: Likewise.
26003 * inet/arpa/inet.h: Likewise.
26004 * inet/netinet/ether.h: Likewise.
26005 * inet/netinet/in.h: Likewise.
26006 * intl/libintl.h: Likewise.
26007 * io/bits/fcntl2.h: Likewise.
26008 * io/fcntl.h: Likewise.
26009 * io/ftw.h: Likewise.
26010 * io/sys/poll.h: Likewise.
26011 * io/sys/stat.h: Likewise.
26012 * io/sys/statfs.h: Likewise.
26013 * io/sys/statvfs.h: Likewise.
26014 * io/utime.h: Likewise.
26015 * libio/bits/stdio.h: Likewise.
26016 * libio/bits/stdio2.h: Likewise.
26017 * libio/libio.h: Likewise.
26018 * libio/libioP.h: Likewise.
26019 * libio/stdio.h: Likewise.
26020 * locale/lc-ctype.c: Likewise.
26021 * locale/locale.h: Likewise.
26022 * login/utmp.h: Likewise.
26023 * malloc/arena.c: Likewise.
26024 * malloc/malloc.c: Likewise.
26025 * malloc/malloc.h: Likewise.
26026 * malloc/mcheck.c: Likewise.
26027 * malloc/mtrace.c: Likewise.
26028 * math/bits/mathcalls.h: Likewise.
26029 * math/fenv.h: Likewise.
26030 * math/math_private.h: Likewise.
26031 * misc/bits/error.h: Likewise.
26032 * misc/bits/syslog.h: Likewise.
26033 * misc/err.h: Likewise.
26034 * misc/error.h: Likewise.
26035 * misc/fstab.h: Likewise.
26036 * misc/mntent.h: Likewise.
26037 * misc/regexp.h: Likewise.
26038 * misc/search.h: Likewise.
26039 * misc/sgtty.h: Likewise.
26040 * misc/sys/mman.h: Likewise.
26041 * misc/sys/syslog.h: Likewise.
26042 * misc/sys/uio.h: Likewise.
26043 * misc/sys/xattr.h: Likewise.
26044 * misc/ttyent.h: Likewise.
26045 * nis/rpcsvc/ypclnt.h: Likewise.
26046 * nss/nss.h: Likewise.
26047 * posix/bits/unistd.h: Likewise.
26048 * posix/fnmatch.h: Likewise.
26049 * posix/glob.h: Likewise.
26050 * posix/sched.h: Likewise.
26051 * posix/spawn.h: Likewise.
26052 * posix/sys/wait.h: Likewise.
26053 * posix/unistd.h: Likewise.
26054 * posix/wordexp.h: Likewise.
26055 * pwd/pwd.h: Likewise.
26056 * resolv/netdb.h: Likewise.
26057 * resource/sys/resource.h: Likewise.
26058 * rt/aio.h: Likewise.
26059 * rt/bits/mqueue2.h: Likewise.
26060 * rt/mqueue.h: Likewise.
26061 * shadow/shadow.h: Likewise.
26062 * signal/signal.h: Likewise.
26063 * socket/send.c: Likewise.
26064 * socket/sendto.c: Likewise.
26065 * socket/sys/socket.h: Likewise.
26066 * stdio-common/printf.h: Likewise.
26067 * stdlib/bits/stdlib.h: Likewise.
26068 * stdlib/fmtmsg.h: Likewise.
26069 * stdlib/monetary.h: Likewise.
26070 * stdlib/stdlib.h: Likewise.
26071 * stdlib/ucontext.h: Likewise.
26072 * streams/stropts.h: Likewise.
26073 * string/argz.h: Likewise.
26074 * string/bits/string2.h: Likewise.
26075 * string/string.h: Likewise.
26076 * string/strings.h: Likewise.
26077 * sunrpc/rpc/auth.h: Likewise.
26078 * sunrpc/rpc/auth_des.h: Likewise.
26079 * sunrpc/rpc/clnt.h: Likewise.
26080 * sunrpc/rpc/netdb.h: Likewise.
26081 * sunrpc/rpc/pmap_clnt.h: Likewise.
26082 * sunrpc/rpc/xdr.h: Likewise.
26083 * sysdeps/generic/inttypes.h: Likewise.
26084 * sysdeps/generic/net/if.h: Likewise.
26085 * sysdeps/generic/sys/swap.h: Likewise.
26086 * sysdeps/gnu/net/if.h: Likewise.
26087 * sysdeps/gnu/utmpx.h: Likewise.
26088 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26089 * sysdeps/i386/i486/bits/string.h: Likewise.
26090 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26091 * sysdeps/s390/bits/string.h: Likewise.
26092 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26093 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26094 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26095 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26096 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26097 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26098 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26099 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26100 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26101 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26102 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26103 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26104 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26105 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26106 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26107 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26108 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26110 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26111 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26112 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26113 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26114 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26115 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26116 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26117 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26118 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26119 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26120 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26121 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26122 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26123 * sysvipc/sys/ipc.h: Likewise.
26124 * sysvipc/sys/msg.h: Likewise.
26125 * sysvipc/sys/sem.h: Likewise.
26126 * sysvipc/sys/shm.h: Likewise.
26127 * termios/termios.h: Likewise.
26128 * time/sys/time.h: Likewise.
26129 * time/time.h: Likewise.
26130 * wcsmbs/bits/wchar2.h: Likewise.
26131 * wcsmbs/uchar.h: Likewise.
26132 * wcsmbs/wchar.h: Likewise.
26133 * wctype/wctype.h: Likewise.
26134
0269750c
UD
26135 [BZ #13551]
26136 * Makeconfig: Remove all but ELF support including AIX support.
26137 * Makerules: Likewise.
26138 * config.h.in: Likewise.
26139 * config.make.in: Likewise.
26140 * configure: Likewise.
26141 * configure.in: Likewise.
26142 * csu/Makefile: Likewise.
26143 * csu/version.c: Likewise.
26144 * debug/Makefile: Likewise.
26145 * dlfcn/Makefile: Likewise.
26146 * elf/Makefile: Likewise.
26147 * extra-lib.mk: Likewise.
26148 * iconv/Makefile: Likewise.
26149 * include/libc-symbols.h: Likewise.
26150 * include/shlib-compat.h: Likewise.
26151 * resolv/Makefile: Likewise.
26152 * resolv/res_libc.c: Likewise.
26153 * rt/Makefile: Likewise.
26154 * sysdeps/i386/asm-syntax.h: Likewise.
26155 * sysdeps/i386/sysdep.h: Likewise.
26156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26157 * sysdeps/mach/sysdep.h: Likewise.
26158 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26159 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26160 * sysdeps/s390/asm-syntax.h: Likewise.
26161 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26162 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26163 * sysdeps/sh/sysdep.h: Likewise.
26164 * sysdeps/unix/sparc/sysdep.h: Likewise.
26165 * sysdeps/wordsize-32/divdi3.c: Likewise.
26166 * sysdeps/x86_64/sysdep.h: Likewise.
26167
00bbd29b
UD
26168 * argp/Versions: Remove _argp_unlock_xxx.
26169
26170 [BZ #13559]
26171 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26172 * abilist/libBrokenLocale.abilist: Likewise.
26173 * abilist/libanl.abilist: Likewise.
26174 * abilist/libc.abilist: Likewise.
26175 * abilist/libcrypt.abilist: Likewise.
26176 * abilist/libdl.abilist: Likewise.
26177 * abilist/libm.abilist: Likewise.
26178 * abilist/libnsl.abilist: Likewise.
26179 * abilist/libpthread.abilist: Likewise.
26180 * abilist/libresolv.abilist: Likewise.
26181 * abilist/librt.abilist: Likewise.
26182 * abilist/libthread_db.abilist: Likewise.
26183 * abilist/libutil.abilist: Likewise.
26184 * abilist/libnss_db.abilist: New file.
26185
26186 * scripts/abilist.awk: Add support for indirect functions.
26187
a2693a0e
UD
26188 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26189
3f05895f
UD
26190 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26191
ecb6fb48
UD
26192 * shlib-versions: Remove entries for ports architectures.
26193
664f8cb9
UD
26194 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26195 files in ports.
26196 * elf/stackguard-macros.h: Remove support for IA-64.
26197 * elf/tst-auditmod1.c: Likewise.
26198 * sysdeps/generic/ldsodefs.h: Likewise.
26199
7ae81d88
UD
26200 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26201 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26202 configure files.
26203
bdeba135
UD
26204 [BZ #13552]
26205 * configure.in: Remove --enable-omitfp support.
26206 * FAQ.in: Adjust.
26207 * config.make.in: Likewise.
26208 * Makeconfig: Likewise.
26209 * manual/install.texi: Likewise.
26210
d75a0a62
UD
26211 In case anyone cares, the IA-64 architecture could move to ports.
26212 * sysdeps/ia64/*: Removed.
26213 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26214 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26215
dcc9756b
UD
26216 [BZ #13555]
26217 * configure.in: Remove entries for unsupported architectures.
26218
d3761ebc 26219 [BZ #13533]
9954432e
UD
26220 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26221 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26222 routines.
26223 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26224 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26225 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26226 fall back to using wcrtomb.
26227 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26228 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26229 renaming.
26230 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26231 * wcsmbs/tst-c16c32-1.c: New file.
26232
26233 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26234 local variable.
26235
c3a87236
UD
26236 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26237
28926a1b
UD
26238 * elf/tst-unique3.cc: Add explicit declaration of gets.
26239 * elf/tst-unique3lib.cc: Likewise.
26240 * elf/tst-unique3lib2.cc: Likewise.
26241 * elf/tst-unique4.cc: Likewise.
26242
df78418a
UD
26243 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26244
8ecd6b2a
JM
262452012-01-06 Joseph Myers <joseph@codesourcery.com>
26246
26247 [BZ #13566]
26248 * assert/assert.h (static_assert): Don't define for C++.
26249 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26250 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26251
9f115170
UD
262522012-01-03 Ulrich Drepper <drepper@gmail.com>
26253
5e0d0300
UD
26254 * iconv/loop.c (single loop): Fix assertion in storing of
26255 remaining bytes.
26256
9f115170
UD
26257 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26258
81fb02b0
UD
262592012-01-01 Ulrich Drepper <drepper@gmail.com>
26260
26261 * posix/getconf.c: Update copyright year.
26262 * nss/getent.c: Likewise.
a316c1f6 26263 * nss/makedb.c: Likewise.
81fb02b0
UD
26264 * iconv/iconvconfig.c: Likewise.
26265 * iconv/iconv_prog.c: Likewise.
26266 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26267 * elf/pldd.c: Likewise.
26268 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26269 * catgets/gencat.c: Likewise.
26270 * csu/version.c: Likewise.
26271 * elf/ldd.bash.in: Likewise.
26272 * elf/sprof.c (print_version): Likewise.
26273 * locale/programs/locale.c: Likewise.
26274 * locale/programs/localedef.c: Likewise.
a316c1f6 26275 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26276 * nscd/nscd.c (print_version): Likewise.
26277 * debug/xtrace.sh: Likewise.
26278 * malloc/memusage.sh: Likewise.
26279 * malloc/mtrace.pl: Likewise.
26280 * debug/catchsegv.sh: Likewise.
26281
2ba92745
JJ
262822011-12-30 Jakub Jelinek <jakub@redhat.com>
26283
26284 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26285 pure attribute.
26286
dadebdae
UD
262872011-12-24 Ulrich Drepper <drepper@gmail.com>
26288
d3761ebc 26289 [BZ #13533]
db6af3eb
UD
26290 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26291 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26292 transformations.
26293 * iconv/gconv_int.h: Likewise.
26294 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26295 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26296 from libc for GLIBC_2.16.
26297 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26298 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26299 * wcsmbs/uchar.h: Really define mbstate_t.
26300 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26301 * wcsmbs/c16rtomb.c: New file.
26302 * wcsmbs/mbrtoc16.c: New file.
26303 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26304 for C/POSIX locale.
26305 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26306 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26307
dadebdae
UD
26308 * wcsmbs/wchar.h: Add missing __restrict.
26309
67371b56
UD
263102011-12-23 Ulrich Drepper <drepper@gmail.com>
26311
74033a25
UD
26312 [BZ #13532]
26313 * time/Makefile (routines): Add timespec_get.
26314 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26315 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26316 timespec for ISO C11.
26317 * time/timespec_get.c: New file.
26318 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26319 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26320
380d7e87
UD
26321 [BZ #13531]
26322 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26323 * stdlib/stdlib.h: Declare aligned_alloc.
26324 * Versions.def: Add GLIBC_2.16 for libc.
26325 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26326
4e9e7a35
UD
26327 [BZ 13527]
26328 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26329 ISO C11.
26330
380d7e87 26331 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26332 code.
26333
03a71829
UD
26334 [BZ #13528]
26335 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26336
839e283e
UD
26337 [BZ #13529]
26338 * assert/assert.h (static_assert): Define.
26339
ce5294e2 26340 * version.h: Update for 2.16 development version.
90fa7312 26341
8d44e150 26342 [BZ #13526]
d7809905
UD
26343 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26344 _ISOC11_SOURCE.
26345
c0da14cd
UD
26346 * version.h (RELEASE): Bump for 2.15 release.
26347 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26348
530a3249
MP
26349 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26350 Patch by Marek Polacek <mpolacek@redhat.com>.
26351
67371b56
UD
26352 * bits/byteswap.h: Protect long long constants with __extension__.
26353 * sysdeps/i386/bits/byteswap.h: Likewise.
26354 * sysdeps/ia64/bits/byteswap.h: Likewise.
26355 * sysdeps/s390/bits/byteswap.h: Likewise.
26356 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26357
15db4de1
LD
263582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26359
26360 [BZ #13540]
bbe315ea
LD
26361 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26362 destination buffer.
15db4de1
LD
26363 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26364
2b2596b1
MP
263652011-12-23 Marek Polacek <polacek@redhat.com>
26366
26367 * elf/dl-addr.c (determine_info): Add inline keyword.
26368 * elf/tst-auditmod4b.c (check_avx): Likewise.
26369 * elf/tst-auditmod6b.c (check_avx): Likewise.
26370 * elf/tst-auditmod6c.c (check_avx): Likewise.
26371 * elf/tst-auditmod7b.c (check_avx): Likewise.
26372
70c6c246
UD
263732011-12-23 Ulrich Drepper <drepper@gmail.com>
26374
26375 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26376 !__SSE_MATH__.
26377
c044cf14
LD
263782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26379
15db4de1 26380 [BZ #13540]
c044cf14
LD
26381 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26382 processing for last bytes.
26383
6b13d9d9
BH
263842011-08-06 Bruno Haible <bruno@clisp.org>
26385
d455f537
BH
26386 [BZ #13061]
26387 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26388 U+0385, not to U+1FEE.
26389
6b13d9d9
BH
26390 [BZ #13062]
26391 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26392 entry for U+00A5 U+0301.
26393
db910efd
UD
263942011-12-22 Ulrich Drepper <drepper@gmail.com>
26395
27deeafc
UD
26396 [BZ #13166]
26397 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26398 buffer for the output is too small.
26399
aed9d171
UD
26400 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26401 optimization.
26402
db910efd
UD
26403 [BZ #13185]
26404 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26405 SSE flags if possible.
26406
2bd779ae
LD
264072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26408
e7f9dac3 26409 [BZ #13540]
2bd779ae
LD
26410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26411 processing for last bytes.
26412
154bfc16
JM
264132011-12-22 Joseph Myers <joseph@codesourcery.com>
26414
26415 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26416 (syscall-list-default-options, syscall-list-default-condition)
26417 (syscall-list-includes): Define.
26418 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26419 list of ABIs and options and #if conditions for each ABI. Do not
26420 handle common syscalls between ABIs specially.
26421 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26422 Remove.
26423 (syscall-list-variants, syscall-list-32bit-options)
26424 (syscall-list-32bit-condition, syscall-list-64bit-options)
26425 (syscall-list-64bit-condition): Define.
26426 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26427 (syscall-list-variants, syscall-list-32bit-options)
26428 (syscall-list-32bit-condition, syscall-list-64bit-options)
26429 (syscall-list-64bit-condition): Define.
26430 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26431 Remove.
26432 (syscall-list-variants, syscall-list-32bit-options)
26433 (syscall-list-32bit-condition, syscall-list-64bit-options)
26434 (syscall-list-64bit-condition): Define.
26435 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26436 Remove.
26437 (syscall-list-variants, syscall-list-32bit-options)
26438 (syscall-list-32bit-condition, syscall-list-64bit-options)
26439 (syscall-list-64bit-condition): Define.
26440
21eaf3a5
UD
264412011-12-22 Ulrich Drepper <drepper@gmail.com>
26442
16c6f992
UD
26443 * locale/iso-639.def: Add brx entry.
26444
41043168
UD
26445 [BZ #13328]
26446 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26447 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26448
21eaf3a5
UD
26449 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26450 __feraiseexcept_renamed.
26451
e3a851a2
UD
264522011-12-21 Ulrich Drepper <drepper@gmail.com>
26453
4920765e
UD
26454 [BZ #13538]
26455 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26456 EPOLLET with unsigned values.
26457 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26458 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26459
e3a851a2
UD
26460 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26461 to large cancellation.
26462 * math/s_cacoshf.c: Likewise.
26463 * math/s_cacoshl.c: Likewise.
26464
b27e24b8
RK
264652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26466
26467 [BZ #13305]
aebefeee 26468 [BZ #12786]
b27e24b8
RK
26469 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26470 * math/s_cacoshf.c: Likewise.
26471 * math/s_cacoshl.c: Likewise.
26472
ee190f67
UD
264732011-12-21 Ulrich Drepper <drepper@gmail.com>
26474
26475 [BZ #13439]
26476 * iconv/gconv.h: Define __GCONV_SWAP.
26477 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26478 * iconvdata/utf-16.c: Likewise.
26479 * iconvdata/utf-32.c: Likewise.
26480
707f25df
AS
264812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26482
26483 [BZ #13524]
26484 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26485 numerator after shifting it by one limb.
26486
d2daaa1e
RÁE
264872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26488
26489 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26490 under [__USE_EXTERN_INLINES].
26491
a4647e72
UD
264922011-12-17 Ulrich Drepper <drepper@gmail.com>
26493
26494 [BZ #13446]
26495 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26496
f0b264f1
AZ
264972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26498
26499 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26500 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26501 optimized code.
26502 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26504 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26505 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26506 for strncasecmp/strncasecmp_l compilation.
26507 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26508 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26509
8ef4f244
MP
265102011-12-08 Marek Polacek <mpolacek@redhat.com>
26511
26512 [BZ #13484]
26513 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26514 of __asm__.
26515
97ac2654
UD
265162011-12-17 Ulrich Drepper <drepper@gmail.com>
26517
26518 [BZ #13506]
26519 * time/tzfile.c (__tzfile_read): Check values from file header.
26520
91d2a845
WS
265212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26522
26523 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26524 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26525 * powerpc/powerpc32/dl-start.S: Likewise.
26526 * powerpc/powerpc32/elf/start.S: Likewise.
26527 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26528 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26529 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26530 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26531 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26532 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26533 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26534 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26535 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26536 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26537 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26538 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26539 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26540 * powerpc/powerpc32/memset.S: Likewise.
26541 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26542 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26543 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26544 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26545 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26546 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26547 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26548 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26549 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26550 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26551 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26552 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26553 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26554
a1267ba1
AZ
265552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26556
26557 * math/libm-test.inc: Added more nearbyint tests.
26558 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26559 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26560 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26562
ad8ac1bd
RL
265632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26564
26565 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26566 FD_CLOEXEC.
26567
1d3e4b61
UD
265682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26569
26570 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26571 Add wcscpy-ssse3 wcscpy-c.
26572 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26573 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26574 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26575 * sysdeps/x86_64/wcschr.S: New file.
26576 * sysdeps/x86_64/wcsrchr.S: New file.
26577 * string/test-strcmp.c: Remove checking of wcscmp function for
26578 wrong alignments.
26579 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26580 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26581 wcsrchr-sse2 wcsrchr-c.
26582 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26583 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26584 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26585 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26586 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26587 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26588 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26589 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26590 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26591 * wcsmbc/wcschr.c (WCSCHR): New macro.
26592
5b330a2d
UD
265932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26594
26595 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26596 * wcsmbs/test-wcsrchr.c: New file.
26597 * string/test-strrchr.c: Add wcsrchr support.
26598 (WIDE): New macro.
26599 * wcsmbs/test-wcscpy.c: New file.
26600 * string/test-strcpy.c: Add wcscpy support.
26601 (WIDE): New macro.
26428b7c 26602
f039c043
UD
266032011-12-10 Ulrich Drepper <drepper@gmail.com>
26604
26605 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26606 the inner loop.
26607
850fb039
AS
266082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26609
26610 [BZ #13472]
26611 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26612
4efbd5cb
UD
266132011-12-04 Ulrich Drepper <drepper@gmail.com>
26614
52ff5dd0 26615 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 26616 Minor optimizations.
52ff5dd0 26617
4efbd5cb
UD
26618 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26619 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26620 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26621
8a426e12
UD
266222011-12-03 Ulrich Drepper <drepper@gmail.com>
26623
aff2453d
UD
26624 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26625 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26626 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26627 for gcc to avoid warnings.
26628 * inet/Makefile (tests): Add tst-checks.
26629 * inet/tst-checks.c: New file.
26630
26631 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26632 warning.
26633
26634 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26635 __wmemcmp_sse2.
26636
26637 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26638 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26639
8a426e12
UD
26640 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26641
9bea3473
UD
266422011-12-02 Ulrich Drepper <drepper@gmail.com>
26643
3a965496
UD
26644 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26645 problem.
26646
9bea3473
UD
26647 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26648
f101631b
UD
266492011-11-29 Joseph Myers <joseph@codesourcery.com>
26650
26651 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26652 conditional on GCC version.
26653 (__arch_compare_and_exchange_val_8_acq)
26654 (__arch_compare_and_exchange_val_16_acq)
26655 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26656 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26657 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26658
a98275aa
UD
266592011-12-02 Joseph Myers <joseph@codesourcery.com>
26660
26661 * sysdeps/sh/backtrace.c: New file.
26662
d4cc29a2
AS
266632011-12-02 Andreas Schwab <schwab@redhat.com>
26664
26665 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26666 parenthesis.
26667
6257af2d
AS
266682011-12-01 Andreas Schwab <schwab@redhat.com>
26669
26670 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26671 falling back to utime.
26672
b5f44c1a
AS
266732011-11-30 Andreas Schwab <schwab@redhat.com>
26674
26675 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26676 expectations for float.
26677
f3a6cc0a
AS
266782011-11-29 Andreas Schwab <schwab@redhat.com>
26679
26680 * locale/weight.h (findidx): Add parameter len.
26681 * locale/weightwc.h (findidx): Likewise.
26682 * posix/fnmatch_loop.c (FCT): Adjust caller.
26683 * posix/regcomp.c (build_equiv_class): Likewise.
26684 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26685 * posix/regexec.c (check_node_accept_bytes): Likewise.
26686 * string/strcoll_l.c (STRCOLL): Likewise.
26687 * string/strxfrm_l.c (STRXFRM): Likewise.
26688
9d65ea3a
UD
266892011-11-17 Ulrich Drepper <drepper@gmail.com>
26690
26691 * Makefile.in: Remove CVSOPT handling.
26692 * configure.in: Remove use of AC_REVISION.
26693 * iconvdata/Makefile (distribute): No need to filter out CVS.
26694 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26695 handling.
26696
5583a086
AS
266972011-11-16 Andreas Schwab <schwab@redhat.com>
26698
26699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26700 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26701 [USE_AS_STRNCASECMP_L]: Likewise.
26702 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26703 NO_TLS_DIRECT_SEG_REFS.
26704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26705 Fix argument offsets for non-PIC.
26706 [USE_AS_STRNCASECMP_L]: Likewise.
26707 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26708 NO_TLS_DIRECT_SEG_REFS.
26709
d62a8200
UD
267102011-11-15 Ulrich Drepper <drepper@gmail.com>
26711
9d65ea3a 26712 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
26713 O_CLOEXEC.
26714 * locale/loadlocale.c (_nl_load_locale): Likewise.
26715
09f93bd3
AS
267162011-11-15 Andreas Schwab <schwab@redhat.com>
26717
446514f9
AS
26718 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26719 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26720 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26721 (SYSCALL_GETTIME): Set errno on error.
26722
09f93bd3
AS
26723 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26724 count references to noai6ai_cached.
26725
312be3f9
UD
267262011-11-15 Ulrich Drepper <drepper@gmail.com>
26727
26728 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26729
26730 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26731 FD_CLOEXEC for /proc/self/maps.
26732
26733 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26734 FD_CLOEXEC for /proc/meminfo.
26735
26736 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26737 gai.conf.
26738
26739 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26740 FD_CLOEXEC for given file.
26741
26742 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26743
26744 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26745 FD_CLOEXEC for /etc/hosts.
26746 (_gethtent): Likewise.
26747
26748 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26749
26750 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26751 cancellation and set FD_CLOEXEC for /etc/netgroup.
26752
26753 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26754 reading /etc/publickey.
26755
26756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26757 allow cancellation when reading /etc/group.
26758
26759 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26760 cancellation.
26761 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26762
26763 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26764 when using data file.
26765
26766 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26767
26768 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26769 (write_nis_obj): Use "c" and "e" in fopen.
26770
26771 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26772
26773 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26774
26775 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26776
26777 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26778
26779 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26780 locale.alias.
26781
26782 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26783
26784 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26785
26786 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26787
26788 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26789 file parsing and set FD_CLOEXEC.
26790
82af0fa8
UD
267912011-11-14 Ulrich Drepper <drepper@gmail.com>
26792
26793 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26794
a5fb313c
AS
267952011-11-14 Andreas Schwab <schwab@redhat.com>
26796
26797 * malloc/arena.c (arena_get2): Don't call reused_arena when
26798 _int_new_arena failed.
26799
6abf3465
UD
268002011-11-14 Ulrich Drepper <drepper@gmail.com>
26801
26802 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26803 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26804 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26805 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26806 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26807 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26808 to compile strcasecmp and strncasecmp.
26809 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26810 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26811
26812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26813
76e3966e
UD
268142011-11-13 Ulrich Drepper <drepper@gmail.com>
26815
26816 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26817 locale-defines.sym to gen-as-const-headers.
26818 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26819 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26820 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26821 to compile strcasecmp and strncasecmp.
26822 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26823 strcasecmp_l and strncasecmp_l.
26824 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26825 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26826 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26827 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26828 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26829 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26830 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26831 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26832 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26833 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26834 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26835
ab26144e
UD
268362011-11-12 Ulrich Drepper <drepper@gmail.com>
26837
7edb22ef
UD
26838 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26839 result of SYSDEP_GETTIME_CPU to retval.
26840 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26841 parameter list to macro. Remove trailing semicolon. Adjust users.
26842
9694fc44
UD
26843 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26844 variable.
26845
8ad89ef8
UD
26846 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26847 mantissa words.
26848 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26849
0c822ef9
UD
26850 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26851 from unused variable.
26852
874e0564
UD
26853 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26854 DWARF definitions.
26855 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26856 for assembling.
26857
3a2edc79
UD
26858 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26859 over namespaces.
26860
f3c2577f
UD
26861 * sunrpc/rpc_prot.c (rejected): Fix case value.
26862
294ce126
UD
26863 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26864 unsigned long long int to avoid warnings in shift.
26865
5e2b63c6
UD
26866 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26867 of use of trans.
26868 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26869 variable tmp.
26870
e7f4b08e
UD
26871 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26872 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26873 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26874
ab26144e
UD
26875 * nis/nis_table.c (nis_list): Use variable of correct type for
26876 result of __follow_path call.
26877
8a6d5255
AZ
268782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26879
26880 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26881 of math functions ceil, trunc, floor, round, and sqrt, when
26882 avaliable on the platform.
26883 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26884 name clash.
26885 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26886 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26887 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26888
aaddc98c
MP
268892011-10-30 Marek Polacek <mpolacek@redhat.com>
26890
26891 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26892 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26893
95b7042b
RM
268942011-11-11 Roland McGrath <roland@hack.frob.com>
26895
26896 * include/unistd.h: Fix __readlink return type.
26897 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26898
57769839
UD
268992011-11-11 Ulrich Drepper <drepper@gmail.com>
26900
26901 * stdlib/ucontext.h: Undo last change for makecontext.
26902
edc5984d
AS
269032011-11-11 Andreas Schwab <schwab@redhat.com>
26904
98591e58
AS
26905 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26906
edc5984d
AS
26907 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26908 * setjmp/setjmp.h: Mark functions as non-leaf.
26909 * setjmp/bits/setjmp2.h: Likewise.
26910 * stdlib/ucontext.h: Likewise.
26911
77cdc054
AS
269122011-11-10 Andreas Schwab <schwab@redhat.com>
26913
26914 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26915 (reused_arena): Don't check arena limit.
26916 (arena_get2): Atomically check arena limit.
26917
fe72eebd
UD
269182011-11-08 Ulrich Drepper <drepper@gmail.com>
26919
5f078c32
UD
26920 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26921 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26922
fe72eebd
UD
26923 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26924 instructions.
26925
ae1bc2fa
AS
269262011-11-07 Andreas Schwab <schwab@redhat.com>
26927
7583a88d
AS
26928 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26929 handler when locking.
26930
ae1bc2fa
AS
26931 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26932 Fix size of allocated buffer.
26933
10fb0bfa
AS
269342011-11-04 Andreas Schwab <schwab@redhat.com>
26935
998832a4
AS
26936 [BZ #10103]
26937 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26938 declarations for long double functions.
26939 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26940
10fb0bfa
AS
26941 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26942
3d7ba52b
AS
269432011-11-03 Andreas Schwab <schwab@redhat.com>
26944
a9ae54a1
AS
26945 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26946 installed.
26947
3d7ba52b
AS
26948 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26949 is disabled.
26950
bc8db248
ST
269512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26952
26953 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26954
45b96dd6
AS
269552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26956
647776f6
AS
26957 * include/alloca.h (stackinfo_alloca_round): Define.
26958 (extend_alloca): Use it.
26959 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26960 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26961 here.
26962
d91a8b93
AS
26963 * scripts/check-local-headers.sh: Ignore libaudit.h.
26964
45b96dd6
AS
26965 * nscd/Makefile (extra-objs): Make recursively expanded.
26966
432d41ce
UD
269672011-11-01 Ulrich Drepper <drepper@gmail.com>
26968
34372fc6
UD
26969 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26970 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26971
fadb59f8
UD
26972 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26973 * posix/tst-rfc3484-2.c: Likewise.
26974 * posix/tst-rfc3484-3.c: Likewise.
26975
78239589
UD
26976 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26977 process_vm_writev.
26978 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26979 process_vm_writev.
26980 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26981 process_vm_writev from libc using GLIBC_2.15 version.
26982
432d41ce
UD
26983 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26984
02f9c6cf
PP
269852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26986
26987 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26988 stack usage.
26989
3a2c0242
UD
269902011-10-31 Ulrich Drepper <drepper@gmail.com>
26991
f4ec4833
UD
26992 [BZ #13367]
26993 * nss/getent.c (initgroups_keys): Show error message in case no group
26994 names are given.
26995
3a2c0242
UD
26996 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26997 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26998 __bump_nl_timestamp.
26999 * nscd/connections (nscd_init): When host database is served open
27000 netlink socket and request notification about configuration changes.
27001 (main_loop_poll): Track netlink file descriptor and bump timestamp
27002 in case data becomes available.
27003 (main_loop_epoll): Likewise.
27004 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27005 (database_pers_head): Add extra_data fileds.
27006 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27007 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27008 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27009 Adjust caller.
27010 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27011 in6ai data, call __free_in6ai.
27012 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27013 Add -DHAVE_NETLINK.
27014 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27015 interface information. Reuse previous data if netlink timestamp
27016 is not changed.
27017 (__bump_nl_timestamp): New function.
27018 (__free_in6ai): New function.
27019
636064eb
UD
270202011-10-30 Ulrich Drepper <drepper@gmail.com>
27021
27022 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27023 close_not_cancel_no_status here.
27024 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27025
9beb2334
UD
270262011-10-29 Ulrich Drepper <drepper@gmail.com>
27027
6ef76f3b
UD
27028 [BZ #13276]
27029 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27030 return value.
27031
0ffc4f3e 27032 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27033 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27034 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27035
cb95113e
UD
270362011-07-03 Andreas Jaeger <aj@suse.de>
27037
27038 [BZ #10709]
27039 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27040 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27041 * math/libm-test.inc (sin_test): Add test case.
27042
a1b560ff
UD
270432011-10-29 Ulrich Drepper <drepper@gmail.com>
27044
c9aaface
UD
27045 [BZ #13337]
27046 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27047 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27048
d272e7f1
UD
27049 * elf/chroot_canon.c (chroot_canon): Cleanups.
27050
1bc33071
UD
27051 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27052
1760874d
TJ
27053 [BZ #13335]
27054 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27055 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27056
51d91b18
UD
27057 * string/test-strchr.c: Make usable for strchrnul testing.
27058 * string/test-strchrnul.c: New file.
27059 * string/Makefile (strop-tests): Add strchrnul.
27060
a1b560ff 27061 * po/it.po: Update from translation team.
b611fb81 27062 * po/es.po: Likewise.
a1b560ff 27063
a5b81e1f
UD
270642011-10-28 Ulrich Drepper <drepper@gmail.com>
27065
fd52bc6d
UD
27066 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27067 the three constants needed as parameters. Drop the others.
27068 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27069 __m128i_strloadu_tolower.
52e4b9eb
UD
27070 Create and initialize variable zero and use it in all the places
27071 where _mm_setzero_si128 was used.
fd52bc6d 27072
a5b81e1f
UD
27073 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27074 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27075 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27076 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27077 anymore.
27078 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27079 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27080 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27081 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27082 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27083 __mpranred, __mptan.
27084 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27085 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27086 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27087 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27088 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27089 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27090 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27091 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27092 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27093
b4343346
AS
270942011-10-28 Andreas Schwab <schwab@redhat.com>
27095
0c92d8a8
AS
27096 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27097 redefine if SHARED.
27098 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27099
b4343346
AS
27100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27101 wide char related routines to wcsmbs subdir.
27102
3871f58f
AS
271032011-10-27 Andreas Schwab <schwab@redhat.com>
27104
27105 [BZ #13344]
27106 * misc/sys/cdefs.h (__THROWNL): Define.
27107 * posix/unistd.h: Use __THREADNL instead of __THREAD
27108 for memory synchronization functions.
27109
94d44d9f
RM
271102011-10-26 Roland McGrath <roland@hack.frob.com>
27111
21b64b15 27112 [BZ #13349]
94d44d9f
RM
27113 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27114 doesn't exist.
27115 * manual/stdio.texi (Obstack Streams): Node removed.
27116
f6ce9294
AS
271172011-10-26 Andreas Schwab <schwab@redhat.com>
27118
80479147
AS
27119 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27120 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27121 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27122
f6ce9294
AS
27123 * math/math_private.h (math_force_eval): Allow non-addressable
27124 arguments.
27125 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27126
618280a1
UD
271272011-10-25 Ulrich Drepper <drepper@gmail.com>
27128
e0016b11
UD
27129 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27130 file is not needed.
27131
27132 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27133 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27134 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27135 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27136 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27137 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27138 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27139 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27140 Add AVX variants.
27141 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27142 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27143 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27144 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27145 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27146 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27147 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27148 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27149 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27150 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27151 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27152 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27153 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27154 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27155 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27156 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27157 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27158 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27159 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27160
27161 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27162 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27163
618280a1
UD
27164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27165 place. Use VEX encoding when compiling for AVX.
27166
37822576
AS
271672011-10-25 Andreas Schwab <schwab@redhat.com>
27168
1f1e1947
AS
27169 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27170 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27171
37822576
AS
27172 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27173
31ea014d
UD
271742011-10-25 Ulrich Drepper <drepper@gmail.com>
27175
d7826aa1 27176 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27177 useless if() expression.
d7826aa1
UD
27178 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27179 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27180 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27181 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27183 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27184 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27185 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27186 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27187 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27188 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27190 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27192 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27193 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27194 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27195 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27196 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27197
31ea014d
UD
27198 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27199
16437fec
AS
272002011-10-25 Andreas Schwab <schwab@redhat.com>
27201
27202 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27203 condition.
27204 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27205
31d3cc00
UD
272062011-10-25 Ulrich Drepper <drepper@gmail.com>
27207
27208 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27209 .text section. Avoid duplicate constants.
27210 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27212 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27214 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27218 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27220 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27222 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27223 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27224 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27225 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27227 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27232 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27233 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27234 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27235 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27236 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27237 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27238 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27239 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27240 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27243 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27244 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27245 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27246 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27248 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27250 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27251 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27252 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27253 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27254 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27255
58985aa9
UD
272562011-10-24 Ulrich Drepper <drepper@gmail.com>
27257
202c9deb
UD
27258 * sysdeps/x86_64/dla.h: Move to ...
27259 * sysdeps/x86_64/fpu/dla.h: ...here.
27260 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27261 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27262
af968f62
UD
27263 * config.make.in: Add have-mfma4 entry.
27264 * configure.in: Substitute libc_cv_cc_fma4.
27265 * math/Makefile (dbl-only-routines): Add sincostab.
27266 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27267 Use __sincostab not sincos.
27268 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27269 name is a macro.
27270 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27274 using __copysign.
27275 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27276 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27277 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27278 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27279 and __inv.
27280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27281 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27282 __copysign.
27283 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27284 define aliases when function name is a macro.
27285 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27286 sysdeps/ieee754/dbl-64/sincos.tbl.
27287 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27288 fma4-enabled routines.
27289 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27290 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27291 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27292 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27293 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27294 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27296 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27298 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27299 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27300 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27301 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27302 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27303 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27304 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27305 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27306 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27307 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27308 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27309 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27310 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27311 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27312 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27314 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27316 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27317 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27318 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27319
58985aa9
UD
27320 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27321 rename.
27322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27329 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27330
a201fbcf
AS
273312011-10-24 Andreas Schwab <schwab@redhat.com>
27332
27333 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27334
fc2ee42a
LD
273352011-10-23 Ulrich Drepper <drepper@gmail.com>
27336
bb3129bd
UD
27337 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27338
0275fff8
UD
27339 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27340 prediction.
27341 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27342
2fa2ae85
UD
27343 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27344 Remove unused variable magic_bits.
27345 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27346
fc2ee42a
LD
27347 * string/strnlen.c: Define and use STRNLEN macro.
27348 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27349 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27351 * wcsmbs/wcslen.c: Define and use WCSLEN.
27352 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27353 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27354 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27355 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27356 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27357 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27358 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27359
ce7dd29f
LD
273602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27361
27362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27363 strnlen-sse2-no-bsf.
27364 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27366 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27367 Add strnlen support.
27368 (USE_AS_STRNLEN): New macro.
27369 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27370 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27371 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27372 * sysdeps/x86_64/wcslen.S: New file.
27373
979c70a3
MZ
273742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27375
27376 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27377 XMM-moves are used for copying on small sizes.
27378
2d09f82f
LD
273792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27380
27381 * wcsmbs/Makefile (strop-tests): Add wcschr.
27382 * wcsmbs/test-wcschr.c: New file.
27383 * string/test-strchr.c: Update.
27384 Add wcschr support.
27385 (WIDE): New macro.
27386
619fccca
LD
273872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27388
2d09f82f 27389 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27390 * wcsmbs/test-wcslen.c: New file.
27391 * string/test-strlen.c: Update.
27392 Add wcslen support.
27393 (WIDE): New macro.
27394
09f699ea
UD
273952011-10-23 Ulrich Drepper <drepper@gmail.com>
27396
27397 * po/it.po: Update from translation team.
27398
95584d3b
LD
273992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27400
27401 * sysdeps/x86_64/wcscmp.S: Update.
27402 Fix wrong comparison semantics.
27403 wcscmp shall use signed comparison not unsigned.
27404 Don't use substraction to avoid overflow bug.
27405 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27406 * wcsmbc/wcscmp.c: Likewise.
27407 * string/test-strcmp.c: Likewise.
27408 Add new tests to check cases with negative values.
27409
c8b3296b
UD
274102011-10-23 Ulrich Drepper <drepper@gmail.com>
27411
27412 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27413 * sysdeps/x86_64/dla.h: ...here. New file.
27414 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27421 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27422 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27423
246ad57a
AS
274242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27425
27426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27427 __ynl_finite aliases.
27428
a1a87169
UD
274292011-10-22 Ulrich Drepper <drepper@gmail.com>
27430
0d355eb7
UD
27431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27432
a1a87169
UD
27433 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27434 define DLA_FMA.
27435 [DLA_FMA] (EMULV): Use DLA_FMA.
27436 [DLA_FMA] (MUL12): Use EMULV.
27437 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27438 that are not needed.
27439 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27443 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27444 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27445 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27446
ee2aafe0
AS
274472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27448
27449 * math/s_nan.c: Undef __nan.
27450 * math/s_nanf.c: Undef __nanf.
27451 * math/s_nanl.c: Undef __nanl.
27452 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27453 "math_private.h".
27454
bc62c2fb
UD
274552011-10-22 Ulrich Drepper <drepper@gmail.com>
27456
77425c63
UD
27457 * math/s_catan.c: Add branch predictions.
27458 * math/s_catanf.c: Likewise.
27459 * math/s_catanh.c: Likewise.
27460 * math/s_catanhf.c: Likewise.
27461 * math/s_catanhl.c: Likewise.
27462 * math/s_catanl.c: Likewise.
27463 * math/s_cexp.c: Likewise.
27464 * math/s_cexpf.c: Likewise.
27465 * math/s_cexpl.c: Likewise.
27466 * math/s_clog.c: Likewise.
27467 * math/s_clog10.c: Likewise.
27468 * math/s_clog10f.c: Likewise.
27469 * math/s_clog10l.c: Likewise.
27470 * math/s_clogf.c: Likewise.
27471 * math/s_clogl.c: Likewise.
27472 * math/s_csqrt.c: Likewise.
27473 * math/s_csqrtf.c: Likewise.
27474 * math/s_csqrtl.c: Likewise.
27475 * math/s_ctanf.c: Likewise.
27476 * math/s_ctanh.c: Likewise.
27477 * math/s_ctanhf.c: Likewise.
27478 * math/s_ctanhl.c: Likewise.
27479 * math/s_ctanl.c: Likewise.
27480
bc62c2fb
UD
27481 * math/math_private.h: Define __nan, __nanf, __nanl.
27482 * math/s_cacosh.c: Include <math_private.h>.
27483 * math/s_cacoshl.c: Likewise.
27484 * math/s_casinh.c: Likewise.
27485 * math/s_casinhf.c: Likewise.
27486 * math/s_casinhl.c: Likewise.
27487 * math/s_ccos.c: Rely entire on ccosh.
27488 * math/s_ccosf.c: Rely entire on ccoshf.
27489 * math/s_ccosl.c: Rely entirely on ccoshl.
27490 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27491 Remove tests for FE_INVALID.
27492 * math/s_ccoshf.c: Likewise.
27493 * math/s_ccoshl.c: Likewise.
27494 * math/s_csin.c: Likewise.
27495 * math/s_csinf.c: Likewise.
27496 * math/s_csinh.c Likewise.
27497 * math/s_csinhf.c: Likewise.
27498 * math/s_csinhl.c: Likewise.
27499 * math/s_csinl.c: Likewise.
27500 * math/s_ctan.c: Likewise.
27501 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27502 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27503 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27504
8ec250a4
UD
275052011-10-21 Ulrich Drepper <drepper@gmail.com>
27506
c196fed8
UD
27507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27508 compilation problems.
27509
8ec250a4
UD
27510 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27511 __builtin_expect.
27512
8d4f46c6
UD
275132011-10-20 Ulrich Drepper <drepper@gmail.com>
27514
ed72b654
UD
27515 * sysdeps/i386/configure.in: Test for -mfma4 option.
27516 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27517 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27518 COMMON_CPUID_INDEX_80000001.
27519 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27520 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27521 use it if FMA3 is not supported.
27522 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27523
8d4f46c6
UD
27524 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27525 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27526
d45c60c2
AS
275272011-10-20 Andreas Schwab <schwab@redhat.com>
27528
27529 [BZ #12892]
27530 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27531 it would create a cycle with a link time dependency.
27532
d9a4d2ab
UD
275332011-10-19 Ulrich Drepper <drepper@gmail.com>
27534
855d1560
UD
27535 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27536 instruction.
27537 * string/Makefile (strop-tests): Add rawmemchr.
27538 * string/test-rawmemchr.c: New file.
27539
d9a4d2ab
UD
27540 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27542 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27543 when compiling str{,n}casecmp and when AVX is available. Hook up
27544 new optimized code in initializers.
27545
8f3b1ffe
AS
275462011-10-19 Andreas Schwab <schwab@redhat.com>
27547
27548 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27549 __feraiseexcept instead of feraiseexcept.
27550
d38f1dba
UD
275512011-10-18 Ulrich Drepper <drepper@gmail.com>
27552
d9a8d0ab
UD
27553 * math/math_private.h: Define defaults for libc_fetestexcept and
27554 libc_feupdateenv.
27555 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27556 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27557 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27558 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27559 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27560 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27561 libc_fetestexcept and libc_feupdateenv.
27562
4855e3dd
UD
27563 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27564 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27565 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27566 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27567 libc_feholdexcept_setround.
27568
581d30e3
UD
27569 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27570 Add s_nearbyint-c and s_nearbyintf-c.
27571 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27572 nearbyintf inlines.
27573 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27575 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27576 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27577
d38f1dba
UD
27578 * math/math_private.h: Define defaults for libc_fegetround,
27579 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27580 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27581 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27582 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27583 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27584 standard functions.
27585 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27586 Remove comments and hacks for old compiler versions.
27587 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27588 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27589 libc_feholdexceptl.
27590
caa6c9d8
AS
275912011-10-18 Andreas Schwab <schwab@redhat.com>
27592
27593 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
27594 (__feraiseexcept_renamed): Add __NTH.
27595 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
27596 namespace violations.
27597
97c066e6
UD
275982011-10-17 Ulrich Drepper <drepper@gmail.com>
27599
99ce7b04
UD
27600 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27601
1004d182
UD
27602 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27603
228a984d
UD
27604 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27605 recently added interfaces.
27606 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27607
c8553a6a
UD
27608 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27609 about macro parameter expansion.
27610
ed22dcf6
UD
27611 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27612 __NO_MATH_INLINES is defined. Cleanups.
27613
27614 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27615 and __floorf is target has SSE4.1.
27616 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27617 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27618 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27619 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27620
b171c137
UD
27621 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27622 name.
27623 (floorf): Likewise.
27624
97c066e6
UD
27625 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27626
629f62ef
AS
276272011-10-17 Andreas Schwab <schwab@redhat.com>
27628
49a43d80
AS
27629 * misc/sys/cdefs.h: Fix last change.
27630
629f62ef
AS
27631 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27632 database lookup.
27633
e453f6cd
UD
276342011-10-16 Ulrich Drepper <drepper@gmail.com>
27635
aa78043a
UD
27636 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27637
ad0f5cad
UD
27638 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27642 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27644 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27645 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27646 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27647 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27648 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27649 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27650 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27651 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27652 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27653 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27654 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27655 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27656 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27657 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27658 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27659 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27660
27661 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27662 ceil, ceilf, floor, floorf.
27663
27664 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27665 Perform IRELATIVE relocations last.
27666
e453f6cd
UD
27667 * elf/do-rel.h: Add another parameter nrelative, replacing the
27668 local variable with the same name. Change name of the function
27669 to end in Rel or Rela (uppercase).
27670 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27671 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27672 elf_dynamic_do_##reloc function.
27673
fd5bdc09
UD
276742011-10-15 Ulrich Drepper <drepper@gmail.com>
27675
79b195b5
UD
27676 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27677 is sufficient, at least on modern CPUs.
27678
d4a28569
UD
27679 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27680
b61099b5
UD
27681 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27682 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27683
bcf01e6d
UD
27684 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27685 __expl_finite.
27686 * math/bits/math-finite.h: Add entries for exp.
27687 * math/e_expl.c: Add __*_finite alias.
27688 * sysdeps/i386/fpu/e_exp.S: Likewise.
27689 * sysdeps/i386/fpu/e_expf.S: Likewise.
27690 * sysdeps/i386/fpu/e_expl.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27692 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27696 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27697 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27698
ba1a0d59
UD
27699 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27700 is sufficient, at least on modern CPUs.
27701
fd5bdc09
UD
27702 * ctype/ctype-info.c (__ctype_init): Define.
27703 * include/ctype.h (__ctype_init): Declare.
27704 (__ctype_b_loc): The variable is always initialized.
27705 (__ctype_toupper_loc): Likewise.
27706 (__ctype_tolower_loc): Likewise.
27707 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27708 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27709
7872cfb0
AS
277102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27711
b468825a
AS
27712 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27713
7872cfb0
AS
27714 * configure.in: Also look in $cxxmachine/include for C++ system
27715 headers.
27716
be13f7bf
LD
277172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27718
27719 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27720 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27721 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27722 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27723 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27724 (USE_AS_WMEMCMP): New macro.
27725 Fixing indents.
27726 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27727 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27728 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27729 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27731 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27732 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27733 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27734 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27735 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27736 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27737 (USE_AS_WMEMCMP): New macro.
27738 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27739 * sysdeps/string/test-memcmp.c: Update.
27740 Fix simple_wmemcmp.
27741 Add new tests.
27742 * wcsmbs/wmemcmp.c: Update.
27743 (WMEMCMP): New macro.
27744 Fix overflow bug.
27745
556a2007
AJ
277462011-10-12 Andreas Jaeger <aj@suse.de>
27747
27748 [BZ #13268]
27749 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27750
538faaa7
UD
277512011-10-15 Ulrich Drepper <drepper@gmail.com>
27752
ab6737ff
UD
27753 * libio/iofwide.c (do_length): Avoid warning.
27754
538faaa7
UD
27755 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27756
396a21b1
UD
277572011-10-14 Ulrich Drepper <drepper@gmail.com>
27758
cdf2901f
UD
27759 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27760
38ad40ce
UD
27761 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27762 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27763 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27764 * sysdeps/i386/i686/fpu/e_log.S: New file.
27765 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27766 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27767
396a21b1
UD
27768 * ctype/ctype.h: Add support for inlined isXXX functions when
27769 compiling C++ code.
27770
6b1f68c9
AS
277712011-10-14 Andreas Schwab <schwab@redhat.com>
27772
349290c0
AS
27773 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27774
6b1f68c9
AS
27775 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27776
f2282d42
RM
277772011-10-13 Roland McGrath <roland@hack.frob.com>
27778
27779 [BZ #13291]
27780 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27781
5298ffa8
AS
277822011-10-13 Andreas Schwab <schwab@redhat.com>
27783
714fad23
AS
27784 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27785 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27786 feraiseexcept.
27787
81dcc7fb
AS
27788 * sysdeps/x86_64/memrchr.S: Check for zero size.
27789
5298ffa8
AS
27790 * string/stratcliff.c: Add memrchr tests.
27791
951fbcec
LD
277922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27793
27794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27795 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27796 rawmemchr-sse2 rawmemchr-sse2-bsf.
27797 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27798 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27799 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27800 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27801 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27802 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27803 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27804 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27805 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27806 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27807 * string/memrchr.c (MEMRCHR): New macro.
27808
0ac5ae23
UD
278092011-10-12 Ulrich Drepper <drepper@gmail.com>
27810
27811 Add integration with gcc's -ffinite-math-only and optimize wrapper
27812 functions in libm.
27813 * Versions.def: Define GLIBC_2.15 version for libm.
27814 * math/Makefile (headers): Add bits/math-finite.h.
27815 * math/bits/math-finite.h: New file.
27816 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27817 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27818 * math/e_acoshl.c: Add __*_finite alias.
27819 * math/e_acosl.c: Likewise.
27820 * math/e_asinl.c: Likewise.
27821 * math/e_atan2l.c: Likewise.
27822 * math/e_atanhl.c: Likewise.
27823 * math/e_coshl.c: Likewise.
27824 * math/e_exp10.c: Likewise.
27825 * math/e_exp10f.c: Likewise.
27826 * math/e_exp10l.c: Likewise.
27827 * math/e_exp2l.c: Likewise.
27828 * math/e_fmodl.c: Likewise.
27829 * math/e_gammal_r.c: Likewise.
27830 * math/e_hypotl.c: Likewise.
27831 * math/e_j0l.c: Likewise.
27832 * math/e_j1l.c: Likewise.
27833 * math/e_jnl.c: Likewise.
27834 * math/e_lgammal_r.c: Likewise.
27835 * math/e_log10l.c: Likewise.
27836 * math/e_log2l.c: Likewise.
27837 * math/e_logl.c: Likewise.
27838 * math/e_powl.c: Likewise.
27839 * math/e_sinhl.c: Likewise.
27840 * math/e_sqrtl.c: Likewise.
27841 * math/e_scalb.c: Completely rewritten and optimized.
27842 * math/e_scalbf.c: Likewise.
27843 * math/e_scalbl.c: Likewise.
27844 * math/w_acos.c: Likewise.
27845 * math/w_acosf.c: Likewise.
27846 * math/w_acosl.c: Likewise.
27847 * math/w_acosh.c: Likewise.
27848 * math/w_acoshf.c: Likewise.
27849 * math/w_acoshl.c: Likewise.
27850 * math/w_asin.c: Likewise.
27851 * math/w_asinf.c: Likewise.
27852 * math/w_asinl.c: Likewise.
27853 * math/w_atan2.c: Likewise.
27854 * math/w_atan2f.c: Likewise.
27855 * math/w_atan2l.c: Likewise.
27856 * math/w_atanh.c: Likewise.
27857 * math/w_atanhf.c: Likewise.
27858 * math/w_atanhl.c: Likewise.
27859 * math/w_exp10.c: Likewise.
27860 * math/w_exp10f.c: Likewise.
27861 * math/w_exp10l.c: Likewise.
27862 * math/w_fmod.c: Likewise.
27863 * math/w_fmodf.c: Likewise.
27864 * math/w_fmodl.c: Likewise.
27865 * math/w_j0.c: Likewise.
27866 * math/w_j0f.c: Likewise.
27867 * math/w_j0l.c: Likewise.
27868 * math/w_j1.c: Likewise.
27869 * math/w_j1f.c: Likewise.
27870 * math/w_j1l.c: Likewise.
27871 * math/w_jn.c: Likewise.
27872 * math/w_jnf.c: Likewise.
27873 * math/w_log.c: Likewise.
27874 * math/w_logf.c: Likewise.
27875 * math/w_logl.c: Likewise.
27876 * math/w_log10.c: Likewise.
27877 * math/w_log10f.c: Likewise.
27878 * math/w_log10l.c: Likewise.
27879 * math/w_log2.c: Likewise.
27880 * math/w_log2f.c: Likewise.
27881 * math/w_log2l.c: Likewise.
27882 * math/w_pow.c: Likewise.
27883 * math/w_powf.c: Likewise.
27884 * math/w_powl.c: Likewise.
27885 * math/w_remainder.c: Likewise.
27886 * math/w_remainderf.c: Likewise.
27887 * math/w_remainderl.c: Likewise.
27888 * math/w_scalb.c: Likewise.
27889 * math/w_scalbf.c: Likewise.
27890 * math/w_scalbl.c: Likewise.
27891 * math/w_sqrt.c: Likewise.
27892 * math/w_sqrtf.c: Likewise.
27893 * math/w_sqrtl.c: Likewise.
27894 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27895 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27896 used.
27897 * math/math_private.h: Declare __kernel_standard_f.
27898 * math/w_cosh.c: Remove cruft and optimize a bit.
27899 * math/w_coshf.c: Likewise.
27900 * math/w_coshl.c: Likewise.
27901 * math/w_exp2.c: Likewise.
27902 * math/w_exp2f.c: Likewise.
27903 * math/w_exp2l.c: Likewise.
27904 * math/w_hypot.c: Likewise.
27905 * math/w_hypotf.c: Likewise.
27906 * math/w_hypotl.c: Likewise.
27907 * math/w_lgamma.c: Likewise.
27908 * math/w_lgamma_r.c: Likewise.
27909 * math/w_lgammaf.c: Likewise.
27910 * math/w_lgammaf_r.c: Likewise.
27911 * math/w_lgammal.c: Likewise.
27912 * math/w_lgammal_r.c: Likewise.
27913 * math/w_sinh.c: Likewise.
27914 * math/w_sinhf.c: Likewise.
27915 * math/w_sinhl.c: Likewise.
27916 * math/w_tgamma.c: Likewise.
27917 * math/w_tgammaf.c: Likewise.
27918 * math/w_tgammal.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27920 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27921 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27922 Minor optimizations. Pretty printing. Remove cruft.
27923 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27924 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27925 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27926 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27927 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27928 * sysdeps/i386/fpu/e_asin.S: Likewise.
27929 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27930 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27931 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27932 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27933 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27934 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27935 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27936 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27937 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27938 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27939 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27940 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27941 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27942 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27943 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27944 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27945 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27946 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27947 * sysdeps/i386/fpu/e_log.S: Likewise.
27948 * sysdeps/i386/fpu/e_log10.S: Likewise.
27949 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27950 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27951 * sysdeps/i386/fpu/e_log2.S: Likewise.
27952 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27953 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27954 * sysdeps/i386/fpu/e_logf.S: Likewise.
27955 * sysdeps/i386/fpu/e_logl.S: Likewise.
27956 * sysdeps/i386/fpu/e_pow.S: Likewise.
27957 * sysdeps/i386/fpu/e_powf.S: Likewise.
27958 * sysdeps/i386/fpu/e_powl.S: Likewise.
27959 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27960 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27961 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27962 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27963 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27964 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27965 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27966 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27967 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27968 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27969 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27971 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27972 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27973 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27974 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27975 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27978 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27979 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27981 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27982 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27983 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27984 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27985 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27986 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27988 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27989 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27990 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27991 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27992 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27993 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27994 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27995 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27996 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27997 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27998 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27999 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28000 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28002 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28003 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28004 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28005 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28006 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28007 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28008 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28009 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28010 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28011 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28012 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28013 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28014 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28015 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28016 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28017 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28018 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28020 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28021 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28022 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28023 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28024 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28025 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28026 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28027 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28028 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28029 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28030 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28031 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28032 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28033 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28034 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28035 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28037 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28038 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28039 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28040 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28041 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28044 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28045 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28046 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28047 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28048 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28049 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28050 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28059 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28060 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28061 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28062 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28063 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28064 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28065 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28066 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28067 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28068 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28069 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28070 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28071 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28072 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28073 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28074 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28075 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28076 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28077 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28078 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28079 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28080 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28081 (__isnanf): Likewise.
28082 (__isinf_ns): Likewise.
28083 (__isinf_nsf): Likewise.
28084 (__finite): Likewise.
28085 (__finitef): Likewise.
28086 (__ieee754_sqrt): Define as macro.
28087 (__ieee754_sqrtf): Define as macro.
28088 (__ieee754_sqrtl): Define as macro.
28089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28090 inlined copy.
28091 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28092 __FINITE_MATH_ONLY__ consistent.
28093 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28094
12cc2fcd
AS
280952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28096
a843a204
AS
28097 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28098 of rawmemchr.
28099
12cc2fcd
AS
28100 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28101
c853acd5
UD
281022011-10-09 Ulrich Drepper <drepper@gmail.com>
28103
28104 * po/ja.po: Update from translation team.
28105
c658d255
RM
281062011-10-08 Roland McGrath <roland@hack.frob.com>
28107
110946e4
RM
28108 * locale/programs/locarchive.c (prepare_address_space): New function.
28109 (create_archive, enlarge_archive, open_archive): Use it.
28110
50604220
RM
28111 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28112 inside [SHARED], where it is used.
28113
c658d255
RM
28114 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28115
28116 * nss/getent.c (netgroup_keys): Remove unused variable.
28117 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28118
6a621eb7
UD
281192011-10-08 Ulrich Drepper <drepper@gmail.com>
28120
7edb55ce
UD
28121 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28122 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28124 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28125 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28126 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28127 * math/Makefile (libm-calls): Add s_isinf_ns.
28128 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28129 * math/multc3.c: Likewise.
28130 * math/s_casin.c: Likewise.
28131 * math/s_casinf.c: Likewise.
28132 * math/s_casinl.c: Likewise.
28133 * math/s_ccos.c: Likewise.
28134 * math/s_ccosf.c: Likewise.
28135 * math/s_ccosl.c: Likewise.
28136 * math/s_ctan.c: Likewise.
28137 * math/s_ctanf.c: Likewise.
28138 * math/s_ctanh.c: Likewise.
28139 * math/s_ctanhf.c: Likewise.
28140 * math/s_ctanhl.c: Likewise.
28141 * math/s_ctanl.c: Likewise.
28142 * math/w_fmod.c: Likewise.
28143 * math/w_fmodf.c: Likewise.
28144 * math/w_fmodl.c: Likewise.
28145 * math/w_remainder.c: Likewise.
28146 * math/w_remainderf.c: Likewise.
28147 * math/w_remainderl.c: Likewise.
28148 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28149 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28150 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28152 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28153 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28154 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28155 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28156
187da0ae
UD
28157 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28158 of the number.
28159 * stdio-common/printf_fphex.c: Likewise.
28160 * stdio-common/printf_size.c: Likewise.
28161
9277c064
UD
28162 * math/e_exp10.c: Include math_private.h using <...> not "...".
28163 * math/e_exp10f.c: Likewise.
28164 * math/e_exp10l.c: Likewise.
28165 * math/e_exp2l.c: Likewise.
28166 * math/e_j0l.c: Likewise.
28167 * math/e_j1l.c: Likewise.
28168 * math/e_jnl.c: Likewise.
28169 * math/e_lgammal_r.c: Likewise.
28170 * math/e_rem_pio2l.c: Likewise.
28171 * math/e_scalb.c: Likewise.
28172 * math/e_scalbf.c: Likewise.
28173 * math/e_scalbl.c: Likewise.
28174 * math/k_cosl.c: Likewise.
28175 * math/k_sinl.c: Likewise.
28176 * math/k_tanl.c: Likewise.
28177 * math/s_cacoshf.c: Likewise.
28178 * math/s_catan.c: Likewise.
28179 * math/s_catanf.c: Likewise.
28180 * math/s_catanh.c: Likewise.
28181 * math/s_catanhf.c: Likewise.
28182 * math/s_catanhl.c: Likewise.
28183 * math/s_catanl.c: Likewise.
28184 * math/s_ccosh.c: Likewise.
28185 * math/s_ccoshf.c: Likewise.
28186 * math/s_ccoshl.c: Likewise.
28187 * math/s_cexp.c: Likewise.
28188 * math/s_cexpf.c: Likewise.
28189 * math/s_cexpl.c: Likewise.
28190 * math/s_clog.c: Likewise.
28191 * math/s_clog10.c: Likewise.
28192 * math/s_clog10f.c: Likewise.
28193 * math/s_clog10l.c: Likewise.
28194 * math/s_clogf.c: Likewise.
28195 * math/s_clogl.c: Likewise.
28196 * math/s_csin.c: Likewise.
28197 * math/s_csinf.c: Likewise.
28198 * math/s_csinh.c: Likewise.
28199 * math/s_csinhf.c: Likewise.
28200 * math/s_csinhl.c: Likewise.
28201 * math/s_csinl.c: Likewise.
28202 * math/s_csqrt.c: Likewise.
28203 * math/s_csqrtf.c: Likewise.
28204 * math/s_csqrtl.c: Likewise.
28205 * math/s_ctan.c: Likewise.
28206 * math/s_ctanf.c: Likewise.
28207 * math/s_ctanh.c: Likewise.
28208 * math/s_ctanhf.c: Likewise.
28209 * math/s_ctanhl.c: Likewise.
28210 * math/s_ctanl.c: Likewise.
28211 * math/s_ldexp.c: Likewise.
28212 * math/s_ldexpf.c: Likewise.
28213 * math/s_ldexpl.c: Likewise.
28214 * math/s_significand.c: Likewise.
28215 * math/s_significandf.c: Likewise.
28216 * math/s_significandl.c: Likewise.
28217 * math/w_acos.c: Likewise.
28218 * math/w_acosf.c: Likewise.
28219 * math/w_acosh.c: Likewise.
28220 * math/w_acoshf.c: Likewise.
28221 * math/w_acoshl.c: Likewise.
28222 * math/w_acosl.c: Likewise.
28223 * math/w_asin.c: Likewise.
28224 * math/w_asinf.c: Likewise.
28225 * math/w_asinl.c: Likewise.
28226 * math/w_atan2.c: Likewise.
28227 * math/w_atan2f.c: Likewise.
28228 * math/w_atan2l.c: Likewise.
28229 * math/w_atanh.c: Likewise.
28230 * math/w_atanhf.c: Likewise.
28231 * math/w_atanhl.c: Likewise.
28232 * math/w_cosh.c: Likewise.
28233 * math/w_coshf.c: Likewise.
28234 * math/w_coshl.c: Likewise.
28235 * math/w_dremf.c: Likewise.
28236 * math/w_exp10.c: Likewise.
28237 * math/w_exp10f.c: Likewise.
28238 * math/w_exp10l.c: Likewise.
28239 * math/w_exp2.c: Likewise.
28240 * math/w_exp2f.c: Likewise.
28241 * math/w_fmod.c: Likewise.
28242 * math/w_fmodf.c: Likewise.
28243 * math/w_fmodl.c: Likewise.
28244 * math/w_hypot.c: Likewise.
28245 * math/w_hypotf.c: Likewise.
28246 * math/w_hypotl.c: Likewise.
28247 * math/w_j0.c: Likewise.
28248 * math/w_j0f.c: Likewise.
28249 * math/w_j0l.c: Likewise.
28250 * math/w_j1.c: Likewise.
28251 * math/w_j1f.c: Likewise.
28252 * math/w_j1l.c: Likewise.
28253 * math/w_jn.c: Likewise.
28254 * math/w_jnf.c: Likewise.
28255 * math/w_jnl.c: Likewise.
28256 * math/w_lgamma.c: Likewise.
28257 * math/w_lgamma_r.c: Likewise.
28258 * math/w_lgammaf.c: Likewise.
28259 * math/w_lgammaf_r.c: Likewise.
28260 * math/w_lgammal.c: Likewise.
28261 * math/w_lgammal_r.c: Likewise.
28262 * math/w_log.c: Likewise.
28263 * math/w_log10.c: Likewise.
28264 * math/w_log10f.c: Likewise.
28265 * math/w_log10l.c: Likewise.
28266 * math/w_log2.c: Likewise.
28267 * math/w_log2f.c: Likewise.
28268 * math/w_log2l.c: Likewise.
28269 * math/w_logf.c: Likewise.
28270 * math/w_logl.c: Likewise.
28271 * math/w_pow.c: Likewise.
28272 * math/w_powf.c: Likewise.
28273 * math/w_powl.c: Likewise.
28274 * math/w_remainder.c: Likewise.
28275 * math/w_remainderf.c: Likewise.
28276 * math/w_remainderl.c: Likewise.
28277 * math/w_scalb.c: Likewise.
28278 * math/w_scalbf.c: Likewise.
28279 * math/w_scalbl.c: Likewise.
28280 * math/w_sinh.c: Likewise.
28281 * math/w_sinhf.c: Likewise.
28282 * math/w_sinhl.c: Likewise.
28283 * math/w_sqrt.c: Likewise.
28284 * math/w_sqrtf.c: Likewise.
28285 * math/w_sqrtl.c: Likewise.
28286 * math/w_tgamma.c: Likewise.
28287 * math/w_tgammaf.c: Likewise.
28288 * math/w_tgammal.c: Likewise.
28289
6a621eb7
UD
28290 * po/ja.po: Update from translation team.
28291
bf582445
AJ
282922011-09-29 Andreas Jaeger <aj@suse.de>
28293
f9efbf3a
AJ
28294 [BZ #13179]
28295 * sunrpc/netname.c (netname2host): Fix logic.
28296
bf582445
AJ
28297 [BZ #6779]
28298 [BZ #6783]
28299 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28300 correctly.
28301 * math/w_remainder.c (__remainder): Likewise.
28302 * math/w_remainderf.c (__remainderf): Likewise.
28303 * math/libm-test.inc (remainder_test): Add test cases.
28304
48693bea
AK
283052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28306
28307 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28308 sdiv_qrnnd.
28309
42622229
LD
283102011-10-07 Ulrich Drepper <drepper@gmail.com>
28311
28312 * string/test-memcmp.c: Avoid unncessary #defines.
28313 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28314
093ecf92
LD
283152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28316
28317 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28318 Use new sse2 version for core i3 - i7 as it's faster
28319 than sse42 version.
28320 (bit_Prefer_PMINUB_for_stringop): New.
28321 * sysdeps/x86_64/rawmemchr.S: Update.
28322 Replace with faster SSE2 version.
28323 * sysdeps/x86_64/memrchr.S: New file.
28324 * sysdeps/x86_64/memchr.S: Update.
28325 Replace with faster SSE2 version.
28326
fde56e5c
MP
283272011-09-12 Marek Polacek <mpolacek@redhat.com>
28328
28329 * elf/dl-load.c (lose): Add cast to avoid warning.
28330
21fd49a9
UD
283312011-10-07 Ulrich Drepper <drepper@gmail.com>
28332
5a06e643
UD
28333 * po/ca.po: Update from translation team.
28334
684ae515
UD
28335 * inet/getnetgrent_r.c: Hook up nscd.
28336 * nscd/Makefile (routines): Add nscd_netgroup.
28337 (nscd-modules): Add netgroupcache.
28338 (CFLAGS-netgroupcache.c): Define.
28339 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28340 (cache_search): Add const to second parameter.
28341 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28342 INNETGR.
28343 (dbs): Add netgrdb entry.
28344 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28345 (verify_persistent_db): Handle netgrdb.
28346 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28347 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28348 GETFDNETGR.
28349 (netgroup_response_header): Define.
28350 (innetgroup_response_header): Define.
28351 (datahead): Add netgroup_response_header and innetgroup_response_header
28352 elements.
28353 * nscd/nscd.conf: Add entries for netgroup cache.
28354 * nscd/nscd.h (dbtype): Add netgrdb.
28355 (_PATH_NSCD_NETGROUP_DB): Define.
28356 (netgroup_iov_disabled): Declare.
28357 (xmalloc, xcalloc, xrealloc): Move declarations here.
28358 (cache_search): Adjust prototype.
28359 Add netgroup-related prototypes.
28360 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28361 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28362 (__nscd_innetgr): Declare.
28363 * nscd/selinux.c (perms): Use access_vector_t as element type and
28364 add netgroup-related initializers.
28365 * nscd/netgroupcache.c: New file.
28366 * nscd/nscd_netgroup.c: New file.
28367 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28368 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28369 For four parameters use innetgr.
28370 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28371 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28372 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28373 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28374
21fd49a9
UD
28375 * nscd/connections.c (register_traced_file): Don't register file
28376 for disabled databases.
28377
054c0457
UD
283782011-10-06 Ulrich Drepper <drepper@gmail.com>
28379
32b63198
UD
28380 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28381
054c0457
UD
28382 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28383 from tree and freeing node.
28384
64031225
JO
283852011-09-25 Jiri Olsa <jolsa@redhat.com>
28386
28387 * nss/nsswitch.c (__nss_database_lookup): Handle
28388 nss_parse_service_list out of memory case.
28389
0490345c
JO
283902011-09-15 Jiri Olsa <jolsa@redhat.com>
28391
28392 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28393 out of memory case.
28394
3a62d00d
AS
283952011-10-04 Andreas Schwab <schwab@redhat.com>
28396
28397 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28398 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28399 pass it down.
28400 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28401 elf_machine_rela, elf_machine_lazy_rel.
28402 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28403 (ELF_DYNAMIC_DO_REL): Likewise.
28404 (ELF_DYNAMIC_DO_RELA): Likewise.
28405 (ELF_DYNAMIC_RELOCATE): Likewise.
28406 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28407 to ELF_DYNAMIC_DO_REL.
28408 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28409 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28410 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28411 elf_machine_rela.
28412 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28413 skip_ifunc, don't call ifunc function if non-zero.
28414 (elf_machine_rela): Likewise.
28415 (elf_machine_lazy_rel): Likewise.
28416 (elf_machine_lazy_rela): Likewise.
28417 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28418 (elf_machine_lazy_rel): Likewise.
28419 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28420 Likewise.
28421 (elf_machine_lazy_rel): Likewise.
28422 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28423 Likewise.
28424 (elf_machine_lazy_rel): Likewise.
28425 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28426 (elf_machine_lazy_rel): Likewise.
28427 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28428 (elf_machine_lazy_rel): Likewise.
28429 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28430 (elf_machine_lazy_rel): Likewise.
28431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28432 (elf_machine_lazy_rel): Likewise.
28433 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28434 (elf_machine_lazy_rel): Likewise.
28435 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28436 (elf_machine_lazy_rel): Likewise.
28437
68577918
UD
284382011-09-28 Ulrich Drepper <drepper@gmail.com>
28439
28440 * nss/nss_files/files-init.c (_nss_files_init): Use static
28441 initialization for all the *_traced_file variables.
28442
68822d74
AS
284432011-09-28 Andreas Schwab <schwab@redhat.com>
28444
28445 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28446
2056100b
RM
284472011-09-27 Roland McGrath <roland@hack.frob.com>
28448
28449 [BZ #13226]
28450 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28451
32c76b63
AS
284522011-09-27 Andreas Schwab <schwab@redhat.com>
28453
28454 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28455 Reread the line before reparsing it.
28456
bf972c9d
AS
284572011-09-26 Andreas Schwab <schwab@redhat.com>
28458
28459 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28460
e057a1b5
JM
284612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28462 Maxim Kuvyrkov <maxim@codesourcery.com>
28463 Joseph Myers <joseph@codesourcery.com>
28464
28465 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28466 if needed for __stack_chk_guard.
28467
bc7e1c36
RM
284682011-09-19 Roland McGrath <roland@hack.frob.com>
28469
ecb1482f
RM
28470 * sysdeps/posix/spawni.c (script_execute): Always define it.
28471 It will be optimized away if unused.
28472 (maybe_script_execute): New function.
28473 (__spawni): Call it.
28474
bc7e1c36
RM
28475 * Makerules: Don't include tls.make.
28476 (config-tls): Always set to thread.
28477 * tls.make.c: File removed.
28478
1c3b002b
MF
284792011-09-19 Mike Frysinger <vapier@gentoo.org>
28480
28481 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28482 * config.make.in (CPPFLAGS-config): New substituted variable.
28483
2840865d
UD
284842011-09-15 Ulrich Drepper <drepper@gmail.com>
28485
88738eb6
UD
28486 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28487
cbf645a6 28488 [BZ #13192]
2840865d
UD
28489 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28490 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28491
b402e91a
RM
284922011-09-15 Roland McGrath <roland@hack.frob.com>
28493
28494 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28495 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28497 (CALL_FAIL): Likewise.
28498 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28499 (CALL_FAIL): Macro removed.
28500 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28501
4c1a1f71
UD
285022011-09-15 Ulrich Drepper <drepper@gmail.com>
28503
28504 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28505 for __FINITE_MATH_ONLY__ == 1.
28506
edc121be
AS
285072011-09-15 Andreas Schwab <schwab@redhat.com>
28508
28509 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28510 __ieee754_sqrt instead of sqrt.
28511 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28512 __ieee754_sqrtf instead of sqrtf.
28513 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28514 __floorf instead of floorf.
28515 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28516 __floorf, __truncf instead of floorf, truncf.
28517
cd205654
UD
285182011-09-14 Ulrich Drepper <drepper@gmail.com>
28519
ee4d0315
UD
28520 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28521
cd205654
UD
28522 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28523 __extern_always_inline.
28524 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28525 32-bit.
28526
48b67d71
AS
285272011-09-14 Andreas Schwab <schwab@redhat.com>
28528
28529 * elf/rtld.c (dl_main): Also relocate in dependency order when
28530 doing symbol dependency testing.
28531
1ae12c75
AS
285322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28533
28534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28535 Always define `refsym'.
28536
995a80df
AS
285372011-09-13 Andreas Schwab <schwab@redhat.com>
28538
e529793b
AS
28539 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28540 (__FD_ELT): Renamed from __FDELT.
28541 * misc/bits/select2.h (__FD_ELT): Likewise.
28542 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28543 __FD_MASK instead of __FDELT, __FDMASK.
28544 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28545 Likewise.
28546 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28547 Likewise.
28548
52d4fef8
AS
28549 * elf/Makefile (gen-ldd): Fix pattern.
28550
995a80df
AS
28551 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28552 (init_tls): Likewise.
28553
8682f8b0
UD
285542011-09-12 Ulrich Drepper <drepper@gmail.com>
28555
28556 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28557
de82006d
AS
285582011-09-12 Andreas Schwab <schwab@redhat.com>
28559
a7c8e6a1
AS
28560 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28561 `struct cmsghdr *' instead of `void *'.
28562 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28563 Likewise.
28564
0f31fe77
AS
285652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28566
28567 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28568 if non-absolute.
28569 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28570 ldd_rewrite_script.
0f31fe77 28571
32b4c839
UD
285722011-09-11 Ulrich Drepper <drepper@gmail.com>
28573
83cd1420
UD
28574 * configure.in: Remove --with-tls option.
28575 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28576 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28577 out in case it is missing.
28578 * sysdeps/ia64/elf/configure.in: Likewise.
28579 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28580 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28581 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28582 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28583 * sysdeps/sh/elf/configure.in: Likewise.
28584 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28585 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28586 * sysdeps/x86_64/elf/configure.in: Likewise.
28587 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28588 * sysdeps/mach/hurd/tls.h: Likewise.
28589
633f745d
UD
28590 [BZ #13067]
28591 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28592
f318beb8
UD
28593 [BZ #13090]
28594 * configure.in: Fix use of AC_INIT.
28595
32b4c839
UD
28596 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28597
3ce1f295
UD
285982011-09-10 Ulrich Drepper <drepper@gmail.com>
28599
bb016596
UD
28600 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28601 __set_errno.
8e58439c
UD
28602 * malloc/hooks.c: Likewise.
28603
aebae053 28604 [BZ #11929]
02d46fc4
UD
28605 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28606 variables statically.
28607 (narenas): Initialize.
28608 (list_lock): Initialize.
bb016596
UD
28609 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28610 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
28611 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28612 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28613 Add initializers to main_arena and mp_.
28614 (malloc_state): Remove pagesize member. Change all users to use
28615 GLRO(dl_pagesize).
28616
28617 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28618 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28619 is always initialized.
28620
22a89187
UD
28621 * malloc/malloc.c: Removed unused configurations and dead code.
28622 * malloc/arena.c: Likewise.
28623 * malloc/hooks.c: Likewise.
02d46fc4 28624 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 28625
d063d164
UD
28626 * include/tls.h: Removed. USE___THREAD must always be defined.
28627 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28628 * elf/dl-libc.c: Likewise.
28629 * elf/dl-tsd.c: Likewise.
28630 * include/errno.h: Likewise.
28631 * include/netdb.h: Likewise.
28632 * include/resolv.h: Likewise.
28633 * inet/herrno-loc.c: Likewise.
28634 * inet/herrno.c: Likewise.
28635 * malloc/arena.c: Likewise.
28636 * malloc/hooks.c: Likewise.
28637 * malloc/malloc.c: Likewise.
28638 * resolv/res-state.c: Likewise.
28639 * resolv/res_libc.c: Likewise.
28640 * sysdeps/i386/dl-machine.h: Likewise.
28641 * sysdeps/ia64/dl-machine.h: Likewise.
28642 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28643 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28644 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28645 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28646 * sysdeps/sh/dl-machine.h: Likewise.
28647 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28648 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28649 * sysdeps/unix/i386/sysdep.S: Likewise.
28650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28651 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28652 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28654 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28655 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28656 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28660 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28661 * sysdeps/x86_64/dl-machine.h: Likewise.
28662 * tls.make.c: Likewise.
28663
3ce1f295
UD
28664 * configure.in: Remove --with-__thread option. Make tests for
28665 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28666 tls_model attribute fail if no support is available. Remove
28667 USE_IN_LIBIO.
28668 * Makeconfig: Adjust for dropped configure option. All features are
28669 now mandatory.
28670 * Makerules: Likewise.
28671 * Versions.def: Likewise.
28672 * argp/argp-fmtstream.c: Likewise.
28673 * argp/argp-fmtstream.h: Likewise.
28674 * argp/argp-help.c: Likewise.
28675 * assert/assert.c: Likewise.
28676 * config.h.in: Likewise.
28677 * config.make.in: Likewise.
28678 * configure: Likewise.
28679 * configure.in: Likewise.
28680 * csu/Versions: Likewise.
28681 * csu/init.c: Likewise.
28682 * elf/tst-audit2.c: Likewise.
28683 * elf/tst-tls10.c: Likewise.
28684 * elf/tst-tls10.h: Likewise.
28685 * elf/tst-tls11.c: Likewise.
28686 * elf/tst-tls12.c: Likewise.
28687 * elf/tst-tls14.c: Likewise.
28688 * elf/tst-tlsmod11.c: Likewise.
28689 * elf/tst-tlsmod12.c: Likewise.
28690 * elf/tst-tlsmod13.c: Likewise.
28691 * elf/tst-tlsmod13a.c: Likewise.
28692 * elf/tst-tlsmod14a.c: Likewise.
28693 * elf/tst-tlsmod15b.c: Likewise.
28694 * elf/tst-tlsmod16a.c: Likewise.
28695 * elf/tst-tlsmod16b.c: Likewise.
28696 * elf/tst-tlsmod7.c: Likewise.
28697 * elf/tst-tlsmod8.c: Likewise.
28698 * elf/tst-tlsmod9.c: Likewise.
28699 * gmon/gmon.c: Likewise.
28700 * grp/fgetgrent_r.c: Likewise.
28701 * grp/putgrent.c: Likewise.
28702 * hurd/fopenport.c: Likewise.
28703 * include/libc-symbols.h: Likewise.
28704 * include/tls.h: Likewise.
28705 * intl/gettextP.h: Likewise.
28706 * intl/loadinfo.h: Likewise.
28707 * locale/global-locale.c: Likewise.
28708 * locale/localeinfo.h: Likewise.
28709 * mach/devstream.c: Likewise.
28710 * malloc/arena.c: Likewise.
28711 * malloc/set-freeres.c: Likewise.
28712 * misc/err.c: Likewise.
28713 * misc/getttyent.c: Likewise.
28714 * misc/mntent_r.c: Likewise.
28715 * posix/getopt.c: Likewise.
28716 * posix/wordexp.c: Likewise.
28717 * pwd/fgetpwent_r.c: Likewise.
28718 * resolv/Versions: Likewise.
28719 * resolv/res_hconf.c: Likewise.
28720 * shadow/fgetspent_r.c: Likewise.
28721 * shadow/putspent.c: Likewise.
28722 * stdio-common/printf_fphex.c: Likewise.
28723 * stdio-common/tmpfile.c: Likewise.
28724 * stdlib/abort.c: Likewise.
28725 * stdlib/fmtmsg.c: Likewise.
28726 * sunrpc/auth_unix.c: Likewise.
28727 * sunrpc/clnt_perr.c: Likewise.
28728 * sunrpc/clnt_tcp.c: Likewise.
28729 * sunrpc/clnt_udp.c: Likewise.
28730 * sunrpc/clnt_unix.c: Likewise.
28731 * sunrpc/openchild.c: Likewise.
28732 * sunrpc/svc_simple.c: Likewise.
28733 * sunrpc/svc_tcp.c: Likewise.
28734 * sunrpc/svc_udp.c: Likewise.
28735 * sunrpc/svc_unix.c: Likewise.
28736 * sunrpc/xdr.c: Likewise.
28737 * sunrpc/xdr_array.c: Likewise.
28738 * sunrpc/xdr_rec.c: Likewise.
28739 * sunrpc/xdr_ref.c: Likewise.
28740 * sunrpc/xdr_stdio.c: Likewise.
28741
1248c1c4
PB
287422011-09-09 Ulrich Drepper <drepper@gmail.com>
28743
28744 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28745
287462011-07-03 Andreas Jaeger <aj@suse.de>
28747
28748 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28749 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28750 regenerate with gen-libm-tests.pl.
28751
287522010-05-12 Petr Baudis <pasky@suse.cz>
28753
28754 [BZ #11589]
28755 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28756 around j0() zero points by switching to j1().
28757 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28761
f22e1074
UD
287622011-09-09 Ulrich Drepper <drepper@gmail.com>
28763
f19009c1
UD
28764 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28765 instead of 0.
28766 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 28767 instead of 0.
f19009c1
UD
28768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28769 Patch in part by Pavel Roskin <proski@gnu.org>.
28770
3f8cc204
UD
28771 [BZ #13138]
28772 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28773 realloc.
28774 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28775 Free memory block if necessary.
28776
f22e1074
UD
28777 [BZ #12847]
28778 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28779 be NULL. Don't lock in this case.
28780
0a2349f9
RM
287812011-09-09 Roland McGrath <roland@hack.frob.com>
28782
28783 * elf/elf.h (ELFOSABI_GNU): New macro.
28784 (ELFOSABI_LINUX): Define to that.
28785
f3cdd467
DZ
287862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28787
28788 * string/strncat.c (strncat): Undef the symbol in case it has been
28789 defined in bits/string.h.
28790
74718d13
UD
287912011-09-09 Ulrich Drepper <drepper@gmail.com>
28792
633e9e0f
UD
28793 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28794
0a2349f9 28795 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
28796 link map.
28797
f9924780
AJ
287982011-08-17 Andreas Jaeger <aj@suse.de>
28799
28800 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28801
7f5517aa
PP
288022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28803 Ian Lance Taylor <iant@google.com>
28804
28805 * math/libm-test.inc (lround_test): New testcase.
28806 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28807
762011fe
UD
288082011-09-08 Ulrich Drepper <drepper@gmail.com>
28809
92963737
UD
28810 * Makefile: Remove support for automatic cvs check-ins.
28811 * Makerules: Likewise.
28812 * config.make.in: Likewise.
28813 * configure.in: Likewise.
28814 * intl/Makefile: Likewise.
28815 * locale/Makefile: Likewise.
28816 * po/Makefile: Likewise.
28817 * posix/Makefile: Likewise.
28818 * sysdeps/gnu/Makefile: Likewise.
28819 * sysdeps/mach/hurd/Makefile: Likewise.
28820 * sysdeps/sparc/sparc32/Makefile: Likewise.
28821
b0727fd8
JS
28822 [BZ #13118]
28823 * posix/Makefile (bug-regex32-ENV): Define.
28824 Patch by John Stanley <jpsinthemix@verizon.net>.
28825
a0f33f99
UD
28826 * misc/Makefile (headers): Add bits/select2.h.
28827 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28828 * misc/bits/select2.h: New file.
28829 * include/bits/select2.h: New file.
28830 * debug/Makefile (routines): Add fdelt_chk.
28831 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28832 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28833 FD_ISSET.
28834 * debug/fdelt_chk.c: New file.
28835
762011fe
UD
28836 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28837 * wcsmbs/test-wmemcmp.c: Likewise.
28838 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 28839 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
28840
288412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28842
28843 * string/Makefile (strop-tests): Add memcmp.
28844 * string/test-wmemcmp.c: New file.
28845 * string/test-memcmp.c: Add wmemcmp support.
28846
7f513ec8
RM
288472011-09-08 Roland McGrath <roland@hack.frob.com>
28848
0442afb4
RM
28849 [BZ #13153]
28850 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28851 2011-07-19 change.
28852
7f513ec8
RM
28853 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28854 garbage value in a __mach_port_mod_refs call in the cases of the
28855 task-self and thread-self ports.
28856
a12b2239
ST
288572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28858
28859 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28860
610f9ab4
AS
288612011-09-08 Andreas Schwab <schwab@redhat.com>
28862
7f513ec8 28863 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 28864
48882a1a
LD
288652011-09-07 Ulrich Drepper <drepper@gmail.com>
28866
b49865be
UD
28867 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28868
fdc86bc9
UD
28869 * elf/dl-libc.c (dlerror_run): Pass back error code from
28870 dl_catch_error.
28871
c966526a
UD
28872 [BZ #13123]
28873 * elf/dl-load.c (lose): Free l_origin if it is valid.
28874
48882a1a
LD
28875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28876 names.
28877 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28880 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28881 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28882 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28883
77a2a8b4
AZ
288842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28885
28886 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28887 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28888 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28889 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28890 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28891 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28892 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28893 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28894 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28895 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28896
24f579d8
AM
288972011-08-15 Alan Modra <amodra@gmail.com>
28898
28899 [BZ #13092]
28900 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28901 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28902 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28903 ppc_mcount to static-only-routines.
28904 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28905 __mcount_internal.
28906 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28907 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28908
3d4837df
UD
289092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28910
28911 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28912 for finite and infinity parameters.
28913
22700377
WS
289142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28915
28916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28917 and add nop instructions for throughput optimization.
28918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28919
5025581e
WS
289202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28921
28922 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28923 aligned copy for power7 with vector-scalar instructions.
28924 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28925
08a300c9
L
289262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28927
28928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28929 AVX check.
28930
59178ef9
AS
289312011-09-07 Andreas Schwab <schwab@redhat.com>
28932
28933 [BZ #13144]
28934 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28935 last change.
28936
e38ba7ab
UD
289372011-09-07 Ulrich Drepper <drepper@gmail.com>
28938
28939 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28940 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28941 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28942 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28943 clock_gettime.
28944
d53a73ac
UD
289452011-09-06 Ulrich Drepper <drepper@gmail.com>
28946
fc8bffcc
UD
28947 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28948 Forgot to demangle the pointer.
28949
ceaa0c5d
UD
28950 * sysdeps/i386/sysdep.h: Define atom_text_section.
28951 * sysdeps/x86_64/sysdep.h: Likewise.
28952 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28953 section with atom_text_section.
28954 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28955 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28956 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28959
a77d3c17
UD
28960 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28961 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28962 already be defined. Change to take two parameters and don't assign
28963 result to variable. Adjust all users.
28964 Define INTERNAL_GETTIME if not already defined.
28965 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28966 call.
28967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28968 HAVE_CLOCK_GETTIME_VSYSCALL.
28969 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28970
d53a73ac
UD
28971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28972 gettimeofday vsyscall, just use time.
28973
a8f84144
AS
289742011-09-06 Andreas Schwab <schwab@redhat.com>
28975
28976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28977 <errno.h>.
28978
ef606249
UD
289792011-09-06 Ulrich Drepper <drepper@gmail.com>
28980
28981 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28982 syscall on x86-64.
28983 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28984 syscall.
28985 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28986 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28987 syscall if possible.
28988
6585cb60
UD
289892011-09-05 Ulrich Drepper <drepper@gmail.com>
28990
28991 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28992 e_ident. Don't pass to find_mapsXX.
28993 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28994
a5f524e4
LD
289952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28996
28997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28998 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28999 * sysdeps/x86_64/multiarch/strchr.S: Update.
29000 Check bit_slow_BSF bit.
29001 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29002 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29003 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29004
554881ef
UD
290052011-09-05 Ulrich Drepper <drepper@gmail.com>
29006
d96de963
UD
29007 [BZ #13134]
29008 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29009 before glibc 2.15.
29010 (tryshell): Define.
29011 (__spawni): Change last parameter to be flag. Test
29012 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29013 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29014 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29015 * posix/spawni.c: Likewise.
29016 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29017 * posix/spawnp.c: Likewise. Change normal version to use
29018 SPAWN_XFLAGS_USE_PATH.
29019 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29020 SPAWN_XFLAGS_TRY_SHELL.
29021
d48e5868
UD
29022 [BZ #13150]
29023 * posix/glob.h: Remove gcc 1.x support.
29024
554881ef
UD
29025 [BZ #13068]
29026 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29027
693fb948
LD
290282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29029
29030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29031 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29032 strrchr-sse2-bsf
29033 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29034 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29035 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29036 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29037 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29038 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29039
1b48c537
UD
290402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29041
49d42c37
UD
29042 * sysdeps/x86_64/wcscmp.S: New file.
29043
1b48c537
UD
29044 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29045 wcscmp-c wcscmp-sse2
29046 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29047 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29048 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29049 * wcsmbs/wcscmp.c: Allow renaming.
29050
15c95c5d
DM
290512011-09-05 David S. Miller <davem@davemloft.net>
29052
29053 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29054 stack slot, rather than the struct return pointer slot.
29055 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29056 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29058 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29059
2f0ad8f3
UD
290602011-09-05 Ulrich Drepper <drepper@gmail.com>
29061
d88ae418
UD
29062 * po/ja.po: Update from translation team.
29063
2f0ad8f3
UD
29064 [BZ #13144]
29065 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29066 kernel in 64-bit binaries.
29067
5f4318d1
DM
290682011-09-01 David S. Miller <davem@davemloft.net>
29069
29070 * elf/elf.h (HWCAP_SPARC_*): Move to..
29071 * sysdeps/sparc/sysdep.h: this new file and add new values.
29072 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29073 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29074 _DL_HWCAP_COUNT to 24.
29075 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29076 entries.
29077 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29078 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29079 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29081 instead of magic constants.
29082 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29083
3ba57516
DM
290842011-08-31 David S. Miller <davem@davemloft.net>
29085
29086 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29088 Reimplement to do errno handling inline.
29089 (SYSCALL_ERROR_HANDLER): New macro.
29090 (__SYSCALL_STRING): Do not do errno handling in asm.
29091 (__CLONE_SYSCALL_STRING): Delete.
29092 (__INTERNAL_SYSCALL_STRING): Delete.
29093 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29094 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29095 (PSEUDO): Reimplement to do errno handling inline.
29096 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29097 (SYSCALL_ERROR_HANDLER): New macro.
29098 (__SYSCALL_STRING): Do not do errno handling in asm.
29099 (__CLONE_SYSCALL_STRING): Delete.
29100 (__INTERNAL_SYSCALL_STRING): Delete.
29101 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29102 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29103 i386.
29104 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29105 (inline_syscall*): Add 'err' argument.
29106 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29107 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29108 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29109 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29110
29111 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29112 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29113
2bc17433
AS
291142011-08-30 Andreas Schwab <schwab@redhat.com>
29115
29116 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29117
fbeb5f4d
JO
291182011-08-29 Jiri Olsa <jolsa@redhat.com>
29119
29120 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29121 directive.
29122
ad69cc26
DM
291232011-08-24 David S. Miller <davem@davemloft.net>
29124
29125 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29126
39dd69df
AS
291272011-08-24 Andreas Schwab <schwab@redhat.com>
29128
29129 * elf/Makefile: Add rules to build and run unload8 test.
29130 * elf/unload8.c: New file.
29131 * elf/unload8mod1.c: New file.
29132 * elf/unload8mod1x.c: New file.
29133 * elf/unload8mod2.c: New file.
29134 * elf/unload8mod3.c: New file.
29135
29136 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29137 it wasn't used.
29138
2c0b250a
DM
291392011-08-23 David S. Miller <davem@davemloft.net>
29140
29141 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29142 subtract stack bias.
29143 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29144 %sp not %fp in calculations.
29145 (_JMPBUF_UNWINDS_ADJ): Likewise.
29146
22044b48
DM
29147 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29148 (aio_suspend): Call it to force an exception region around the
29149 AIO_MISC_WAIT() invocation.
29150
2cae4995
AS
291512011-08-23 Andreas Schwab <schwab@redhat.com>
29152
29153 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29154 backslash.
29155
873a772e
AJ
291562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29157
29158 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29159 protection macro.
29160 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29161 and <dl-machine.h>.
29162 (Elf64_FuncDesc): Remove.
29163
25ad0df1
DM
291642011-08-22 David S. Miller <davem@davemloft.net>
29165
29166 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29167 sigaltstack check, add missing cfi directives.
29168 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29169 missing cfi directives, and sigaltstack handling.
29170
e888bcbe
AS
291712011-08-16 Andreas Schwab <schwab@redhat.com>
29172
29173 [BZ #11724]
29174 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29175 object is seen twice.
29176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29177
29178 * elf/Makefile (distribute): Add tst-initorder2.c.
29179 (tests): Add tst-initorder2.
29180 (modules-names): Add tst-initorder2a tst-initorder2b
29181 tst-initorder2c tst-initorder2d. Add rules to build them.
29182 ($(objpfx)tst-initorder2.out): New rule.
29183 * elf/tst-initorder2.c: New file.
29184 * elf/tst-initorder2.exp: New file.
29185
87162f46
AS
291862011-08-22 Andreas Schwab <schwab@redhat.com>
29187
70538b7f
AS
29188 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29189
f55ffe58
AS
29190 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29191 dependencies back to end of function.
29192
87162f46
AS
29193 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29194 $(elfobjdir)/ld.so.
29195
91b392a4
UD
291962011-08-21 Ulrich Drepper <drepper@gmail.com>
29197
29198 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29199 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29201 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29202 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29203 of __vdso_gettimeofday.
29204 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29205 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29206 attribute_hidden.
29207 (_libc_vdso_platform_setup): Remove initialization of
29208 __vdso_gettimeofday and __vdso_time.
29209
5c43483f
UD
292102011-08-20 Ulrich Drepper <drepper@gmail.com>
29211
775a77e7
UD
29212 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29213 and fgetc_unlocked.
29214 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29215 getc_unlocked.
89f447ed 29216
49c74ba9
UD
29217 * elf/dl-open.c (add_to_global): Report additions to the global scope
29218 for LD_DEBUG=scopes.
29219 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29220 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29221
5c43483f
UD
29222 [BZ #13114]
29223 * stdio-common/Makefile (tests): Add bug24.
29224 * stdio-common/bug24.c: New file.
29225
a101b025
AJ
292262011-08-19 Andreas Jaeger <aj@suse.de>
29227
29228 [BZ #13114]
29229 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29230 non-existant file when using close-on-exec mode.
29231
c88f1766
UD
292322011-08-20 Ulrich Drepper <drepper@gmail.com>
29233
0276a718
UD
29234 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29235 the very first instruction.
29236
c88f1766
UD
29237 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29238 the CFI state in the end.
29239 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29240 inclusion of dl-trampoline.h.
29241 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29242
51ccffa0
AS
292432011-08-19 Andreas Schwab <schwab@redhat.com>
29244
94d7165f
AS
29245 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29246 expectations for long double.
29247
51ccffa0
AS
29248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29249 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29250
fd708658 292512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29252
29253 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29254 artificual limit depends upon the system page size.
29255
44f0a71e
UD
292562011-08-17 Ulrich Drepper <drepper@gmail.com>
29257
29258 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29259 * resolv/Makefile: Define CFLAGS-libresolv.
29260
8de79a24
AS
292612011-08-17 Andreas Schwab <schwab@redhat.com>
29262
29263 * nss/makedb.c (compute_tables): Make variables used in nested
29264 function static.
29265
27724598
UD
292662011-08-17 Ulrich Drepper <drepper@gmail.com>
29267
c5305d88
UD
29268 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29269 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29270 if buffer was too small.
29271
27724598
UD
29272 * elf/pldd.c (main): Attach to all threads in the process.
29273 Rewrite /proc handling to use *at functions.
29274
076fe015
UD
292752011-08-16 Ulrich Drepper <drepper@gmail.com>
29276
174baab3
UD
29277 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29278 specifies first scope to show.
29279 (dl_open_worker): Update callers. Move printing scope of new
29280 object to before the relocation.
44f0a71e 29281 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29282 * sysdeps/generic/ldsodefs.h: Update declaration.
29283
076fe015
UD
29284 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29285 string for the scope number.
29286
a60df2c3
UD
292872011-08-14 Ulrich Drepper <drepper@gmail.com>
29288
29289 * nscd/servicescache.c (cache_addserv): Make sure written is always
29290 initialized.
29291
5e4287d1
RM
292922011-08-14 Roland McGrath <roland@hack.frob.com>
29293
85ae0589
RM
29294 * sysdeps/i386/i486/bits/atomic.h
29295 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29296 statement expression, so as to suppress "set but not used" warning.
29297 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29298
69f63097
RM
29299 * string/strncat.c (STRNCAT): Use prototype definition.
29300
675456ef
RM
29301 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29302 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29303 -Iprograms here.
29304 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29305 (localedef-modules): Add localedef.
29306 (locale-modules): Add locale.
29307
5e4287d1
RM
29308 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29309 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29310 to avoid a warning.
29311
9c96ff23
DM
293122011-08-14 David S. Miller <davem@davemloft.net>
29313
29314 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29315 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29316
f9ddf089
UD
293172011-08-13 Ulrich Drepper <drepper@gmail.com>
29318
44f0a71e 29319 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29320 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29321 * elf/rtld.c (dl_main): Set l_name of vDSO.
29322 Call _dl_show_scope when DL_DEBUG_SCOPES.
29323 (process_dl_debug): Recognize scopes flag and also set it for all.
29324 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29325 Declare _dl_show_scope.
29326
1dc27704
UD
29327 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29328 (do_dlopen): Pass caller_dlopen to dl_open.
29329 (__libc_dlopen_mode): Initialize caller_dlopen.
29330
f9ddf089
UD
29331 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29332 of libc. Make tolower call locale-independent. Optimize a bit by
29333 using isdigit instead of isalnum.
29334 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29335
9ac533d3
UD
293362011-08-12 Ulrich Drepper <drepper@gmail.com>
29337
29338 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29339 was a dependency or dynamically loaded.
29340
89edf2e9
UD
293412011-08-11 Ulrich Drepper <drepper@gmail.com>
29342
8e999d29
UD
29343 * intl/l10nflist.c: Allow architecture-specific pop function.
29344 * sysdeps/x86_64/l10nflist.c: New file.
29345
89edf2e9
UD
29346 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29347 classification.
29348
14d96785
AS
293492011-08-10 Andreas Schwab <schwab@redhat.com>
29350
29351 * include/dirent.h: Add libc_hidden_proto for scandirat and
29352 scandirat64. Don't declare __scandirat64.
29353 * dirent/scandirat.c: Add libc_hidden_def.
29354 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29355 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29356
6761ac04
DM
293572011-08-10 David S. Miller <davem@davemloft.net>
29358
29359 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29360 enum.
29361 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29362 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29363 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29364
c55fbd1e
UD
293652011-08-09 Ulrich Drepper <drepper@gmail.com>
29366
29367 * Versions.def [libc]: Add GLIBC_2.15.
29368 * dirent/Makefile (routines): Add scandirat and scandirat64.
29369 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29370 GLIBC_2.15.
29371 * dirent/dirent.h: Declare scandirat and scandirat64.
29372 * dirent/scandirat.c: New file.
29373 * dirent/scandirat64.c: New file.
29374 * sysdeps/wordsize-64/scandirat.c: New file.
29375 * sysdeps/wordsize-64/scandirat64.c: New file.
29376 * dirent/opendir.c: Define opendirat.
29377 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29378 using scandirat.
29379 * dirent/scandir64.c: Adjust for scandir.c change.
29380 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29381 __scandirat64, and __scandir_cancel_handler.
29382 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29383 additional parameter and use openat instead of open (outside of ld.so).
29384 Add new __opendir as wrapper around __opendirat.
29385 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29386 here without requiring old scandirat implementation.
29387
879165f2
UD
293882011-08-08 Ulrich Drepper <drepper@gmail.com>
29389
29390 * dirent/scandir.c (cancel_handler): Renamed to
29391 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29392 defined. Adjust users.
29393 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29395
cb7e923b
UD
293962011-08-04 Ulrich Drepper <drepper@gmail.com>
29397
16292edd
UD
29398 * string/test-string.h (IMPL): Use __STRING to expand name and then
29399 stringify it.
29400
cb7e923b
UD
29401 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29402 of cleanups.
29403
cff82933
LD
294042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29405
29406 * string/Makefile: Update.
29407 (strop-tests): Append strncat.
29408 * string/test-wcscmp.c: New file.
29409 New comprehensive test for wcscmp.
29410 * string/test-strcmp.c: Update.
29411 (WIDE): New define.
29412
9be9bfcc
AS
294132011-07-22 Andreas Schwab <schwab@redhat.com>
29414
29415 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29416 line.
29417
2e96f1c7
AS
294182011-07-26 Andreas Schwab <schwab@redhat.com>
29419
29420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29421 encoding to ACE if AI_IDN.
29422
85188888
JJ
294232011-08-01 Jakub Jelinek <jakub@redhat.com>
29424
29425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29426 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29427
5fa16e9b
LD
294282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29429
29430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29431 Fix overflow bug in strncat.
29432 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29433
29434 * string/test-strncat.c: Update.
29435 Add new tests for checking overflow bugs.
29436
294372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29438
29439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29440 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29441 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29442 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29443 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29444 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29445 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29446 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29447 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29448
29449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29450 (USE_AS_STRCAT): Define.
29451 Add strcat and strncat support.
29452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29453
8c1a459f
AS
294542011-07-25 Andreas Schwab <schwab@redhat.com>
29455
29456 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29457 __n bigger than INT_MAX+1.
29458 (__strncmp_g): Likewise.
29459
bba33c28
UD
294602011-07-23 Ulrich Drepper <drepper@gmail.com>
29461
798be72d
UD
29462 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29463 * libio/stido.h: Likewise.
29464
8accd4dc
UD
29465 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29466 (AF_NFC): Define.
29467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29468 (AF_NFC): Define.
29469
cbff0d96
UD
29470 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29471 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29473 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29475
9191c04a
UD
29476 [BZ #13021]
29477 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29478 installed.
29479
bba33c28
UD
29480 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29481 typo.
29482 (_dl_x86_64_save_sse): Likewise.
29483
90f139dd
UD
294842011-07-22 Ulrich Drepper <drepper@gmail.com>
29485
1aae088a
UD
29486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29487 OSXSAVE.
29488 (_dl_x86_64_save_sse): Likewise.
29489
8e2045f5
UD
29490 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29491
90f139dd
UD
29492 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29493
1d002f25
AS
294942011-07-21 Andreas Schwab <schwab@redhat.com>
29495
29496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29497 change.
29498 (_dl_x86_64_save_sse): Use correct AVX check.
29499
21137f89
UD
295002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29501
29502 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29503 bug in strncpy/strncat.
29504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29505
a65c0b7a
UD
295062011-07-21 Ulrich Drepper <drepper@gmail.com>
29507
29508 * string/tester.c (test_strcat): Add tests for different alignments
29509 of source and destination.
29510 (test_strncat): Likewise.
29511
6986b98a
UD
295122011-07-20 Ulrich Drepper <drepper@gmail.com>
29513
90bb2039
UD
29514 [BZ #12852]
29515 * posix/glob.c (glob): Check passed in values before using them in
29516 expressions to avoid some overflows.
29517 (glob_in_dir): Likewise.
29518
5644ef54
UD
29519 [BZ #13007]
29520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29521 check for AVX enablement so that we don't crash with old kernels and
29522 new hardware.
29523 * elf/tst-audit4.c: Add same checks here.
29524 * elf/tst-audit6.c: Likewise.
29525
29526 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 29527
bfc9dc9b
AS
295282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29529
29530 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29531
702e64bb
UD
295322011-07-20 Ulrich Drepper <drepper@gmail.com>
29533
29534 * po/cs.po: Update from translation team.
29535 * po/bg.po: Likewise.
29536
295e904f
MP
295372011-07-12 Marek Polacek <mpolacek@redhat.com>
29538
29539 * misc/sys/cdefs.h: Add support for const attribute.
29540 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29541 to gnu_dev_{major,minor,makedev} functions.
29542
3ff94596
MP
295432011-07-20 Marek Polacek <mpolacek@redhat.com>
29544
29545 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29546
28b59fca
AS
295472011-07-20 Andreas Schwab <schwab@redhat.com>
29548
29549 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29550 strlen results.
29551
19df733e
AK
295522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29553
29554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29555 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29556 register in order to avoid conflicts with the soft frame pointer
29557 being held in r11 when necessary.
29558 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29559 (INTERNAL_VSYSCALL_NCS): Likewise.
29560
c8835729
MP
295612011-07-14 Marek Polacek <mpolacek@redhat.com>
29562
29563 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29564 * elf/dl-fini.c (_dl_fini): Adjust caller.
29565 * elf/dl-close.c (_dl_close_worker): Likewise.
29566 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29567
b902330c
MP
295682011-07-15 Marek Polacek <mpolacek@redhat.com>
29569
8991e135
MP
29570 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29571 "aux_cache->nlibs < 0".
29572
b902330c
MP
29573 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29574 in the reload-count case.
29575
99710781
LD
295762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29577
29578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29579 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29580 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29581 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29582 * sysdeps/x86_64/multiarch/strcat.S: New file.
29583 * sysdeps/x86_64/multiarch/strncat.S: New file.
29584 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29586 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29587 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29588 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29589 (USE_AS_STRCAT): Define.
29590 Add strcat and strncat support.
29591 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29592 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29593 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29594 * string/strncat.c: Update.
29595 (USE_AS_STRNCAT): Define.
29596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29597 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29598 and i7.
29599 * sysdeps/x86_64/multiarch/init-arch.h
29600 (bit_Prefer_PMINUB_for_stringop): New.
29601 (index_Prefer_PMINUB_for_stringop): Likewise.
29602 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29603 bit_Prefer_PMINUB_for_stringop.
29604
7dc6bd90
UD
296052011-07-19 Ulrich Drepper <drepper@gmail.com>
29606
29607 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29608 buffer64.
29609 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29610 of casting of buffer.
29611 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29612 buffer32 and buffer64.
29613 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29614 writes instead of casting of buffer.
29615 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29616 buffer32.
29617 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29618 casting of buffer.
29619
e0e72284
AS
296202011-07-19 Andreas Schwab <schwab@redhat.com>
29621
29622 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29623
feb1eb0b
UD
296242011-07-19 Ulrich Drepper <drepper@gmail.com>
29625
29626 * nscd/nscd.c (termination_handler): Don't do anything for a database
29627 if it has not yet been initialized.
29628
298711ff
UD
296292011-07-18 Ulrich Drepper <drepper@gmail.com>
29630
29631 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29632
296332011-07-15 Marek Polacek <mpolacek@redhat.com>
29634
29635 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29636
f9d68389
UD
296372011-07-18 Ulrich Drepper <drepper@gmail.com>
29638
29639 * po/nl.po: Update from translation team.
29640 * po/sv.po: Likewise.
29641
db290cf5
RM
296422011-07-16 Roland McGrath <roland@hack.frob.com>
29643
29644 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29645 now disallowed by GCC.
5c550700 29646
fd5e21c7
RM
29647 * configure.in (use-default-link): Default to yes if a test -shared
29648 link meets our qualifications.
29649 * configure: Regenerated.
29650
5c550700
RM
29651 * config.make.in (output-format): New variable.
29652 * configure.in: Check for ld --print-output-format support.
29653 * configure: Regenerated.
29654 * Makerules ($(common-objpfx)format.lds)
29655 [$(output-format) != unknown]: Just use $(output-format),
29656 instead of the linker-script munging.
29657
9fa2c032
RM
296582011-07-14 Roland McGrath <roland@hack.frob.com>
29659
a6928d51
RM
29660 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29661 of $(common-objpfx)shlib.lds.
29662 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29663
661607b3
RM
29664 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29665 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29666
9fa2c032
RM
29667 * configure.in (-z relro check): Adjust test code to add a large
29668 writable data section after it.
29669 * configure: Regenerated.
29670
defe9061
RM
296712011-07-11 Roland McGrath <roland@hack.frob.com>
29672
29673 * configure.in (-z relro check): Fix test code to make the variable
29674 truly const.
29675 * configure: Regenerated.
29676
319b9ad4
UD
296772011-07-11 Ulrich Drepper <drepper@gmail.com>
29678
29679 * nscd/nscd.h (struct traced_file): Define.
29680 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29681 elements. Add traced_files.
29682 (inotify_fd): Declare.
29683 (register_traced_file): Declare.
29684 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29685 (inotify_fd): Export.
29686 (resolv_conf_descr): Remove.
29687 (nscd_init): Move inotify descriptor creation to main.
29688 Don't register files for notification here.
29689 (register_traced_file): New function.
29690 (invalidate_cache): Don't use reset_res to determine whether to call
29691 res_init, go through the list of registered files.
29692 (main_loop_poll): The inotify descriptors are now stored in the
29693 structures for the traced files.
29694 (main_loop_epoll): Likewise
29695 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29696 to __nss_disable_nscd.
29697 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29698 for a database anymore. Check the records for all the registered
29699 files instead.
29700 * nss/Makefile (libnss_files-routines): Add files-init.
29701 (libnss_db-routines): Add db-init.
29702 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29703 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29704 * nss/nss_db/db-init.c: New file.
29705 * nss/nss_files/files-init.c: New file.
29706 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29707 __nss_lookup_function.
29708 (__nss_lookup_function): Call nss_load_library.
29709 (nss_load_all_libraries): New function.
29710 (__nss_disable_nscd): Take parameter with callback function for files
29711 to register. Set is_nscd. Load all the DSOs for the NSS modules
29712 used for the cached services.
29713 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29714 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29715 options for features to all the files in nscd.
29716
29717 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29718
23bee3e8
RM
297192011-07-10 Roland McGrath <roland@hack.frob.com>
29720
29721 * csu/elf-init.c (__libc_csu_init): Comment typo.
29722
46a5b7f0
UD
297232011-07-09 Ulrich Drepper <drepper@gmail.com>
29724
29725 * po/pl.po: Update from translation team.
29726 * po/ja.po: Likewise.
29727 * po/ru.po: Likewise.
29728 * po/ko.po: Likewise.
29729 * po/fr.po: Likewise.
29730
d30cf5bb
RM
297312011-07-09 Roland McGrath <roland@hack.frob.com>
29732
113ddea4
RM
29733 * configure.in (.ctors/.dtors header and trailer check):
29734 Use an empirical test on a built program.
29735 * configure: Regenerated.
29736
574920b4
RM
29737 * configure.in (-z relro check): Use an empirical test on a built DSO.
29738 Detect, but do not require, on ia64.
29739 * configure: Regenerated.
29740
d30cf5bb
RM
29741 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29742 Update tests that use readelf to use $READELF instead.
29743 * configure: Regenerated.
29744
8538fdb3
UD
297452011-07-08 Ulrich Drepper <drepper@gmail.com>
29746
29747 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29748 if the result is not used.
29749
04d08991
AJ
297502011-07-05 Andreas Jaeger <aj@suse.de>
29751
29752 [BZ#9696]
29753 * stdlib/tst-strtod.c: Add testcase.
29754
de283087
AD
297552011-07-07 Ulrich Drepper <drepper@gmail.com>
29756
4e5f31c8 29757 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 29758 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
29759 The latter has a higher limit. Take additional parameter to pass to
29760 the new function.
29761 (__pathconf): Pass file to __statfs_link_max.
29762 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29763 __statfs_link_max.
29764 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29765 __statfs_link_max.
29766
de283087
AD
29767 [BZ #12868]
29768 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29769 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29770 Handle Lustre.
29771 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29772 (__statfs_filesize_max): Likewise.
29773 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29774
c75fa153
AJ
297752011-07-05 Andreas Jaeger <aj@suse.de>
29776
29777 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29778
1a544854
UD
297792011-07-06 Marek Polacek <mpolacek@redhat.com>
29780
29781 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29782 `status' variable.
29783 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29784 Likewise.
29785
6f0eec67
UD
297862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29787
29788 * Makefile (strop-tests): Add strncat.
29789 * string/test-strncat.c: New file.
29790
aae30307
UD
297912011-06-30 Marek Polacek <mpolacek@redhat.com>
29792
29793 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29794
c0cfb5eb
UD
297952011-06-21 Andreas Jaeger <aj@suse.de>
29796
29797 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29798 Copy rule from iconvdata/Makefile.
29799
01636b21
UD
298002011-07-06 Ulrich Drepper <drepper@gmail.com>
29801
29802 [BZ #12922]
29803 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29804 but no long options are defined, just return 'W'.
29805
9895c8bc
UD
298062011-06-22 Marek Polacek <mpolacek@redhat.com>
29807
29808 [BZ #9696]
29809 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29810
5d4cf042
UD
298112011-07-06 Ulrich Drepper <drepper@gmail.com>
29812
29813 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29814 netgroups to read.
960e5535 29815 (innetgr): Likewise.
5d4cf042 29816
751eb97e
RM
298172011-07-05 Roland McGrath <roland@hack.frob.com>
29818
29819 * config.make.in (install_root): Default to $(DESTDIR).
29820
f15f1e45
UD
298212011-07-05 Ulrich Drepper <drepper@gmail.com>
29822
29823 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29824
4e34ac6a
RM
298252011-07-02 Roland McGrath <roland@hack.frob.com>
29826
5e9b6af4
RM
29827 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29828
84f9ea0f
RM
29829 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29830 containing directory rather than embedding absolute directory names.
29831
ea5ee9f7
RM
29832 * scripts/check-local-headers.sh: Rewritten using awk.
29833 Match by word, not by line. Print error messages for matches.
29834 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29835
1b74661a
RM
29836 * Makerules [shlib-lds-flags empty]:
29837 ($(common-objpfx)libc_pic.opts): New target.
29838 ($(common-objpfx)libc_pic.os.clean): New target.
29839 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29840
29841 * config.make.in (OBJCOPY): New variable.
29842 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29843 * configure: Regenerated.
29844
f781ef40
RM
29845 * config.make.in (use-default-link): New variable.
29846 * configure.in (use_default_link): Grok --with-default-link to set it.
29847 * configure: Regenerated.
29848 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29849 (shlib-lds, shlib-lds-flags): Define to empty.
29850
2d4fa81e
RM
29851 * Makerules (shlib-lds): New variable.
29852 (shlib-lds-flags): New variable.
29853 (build-shlib, build-moduile, build-module-asneeded): Use it.
29854 ($(common-objpfx)libc.so): Use $(shlib-lds).
29855 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29856 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29857
31fffa6b
RM
29858 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29859 DT_FLAGS/DT_FLAGS_1 with zero flags.
29860
4e34ac6a
RM
29861 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29862 linker script munging.
29863
fcfc776b
UD
298642011-07-02 Ulrich Drepper <drepper@gmail.com>
29865
29866 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29867 as 128-bit value.
29868 * crypt/sha512.c (sha512_process_block): Perform total addition using
29869 128-bit if possible.
29870 (__sha512_finish_ctx): Likewise.
29871 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29872 as 64-bit value.
29873 * crypt/sha256.c (SWAP64): Define.
29874 (sha256_process_block): Perform total addition using 64-bit if
29875 possible.
29876 (__sha256_finish_ctx): Likewise.
29877
99231d9a
UD
298782011-07-01 Ulrich Drepper <drepper@gmail.com>
29879
29880 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29882 * nscd/hstcache.c (cache_addhst): Likewise.
29883 * nscd/grpcache.c (cache_addgr): Likewise.
29884 * nscd/aicache.c (addhstaiX): Likewise
29885 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29886
445b4a53
TK
298872011-07-01 Thorsten Kukuk <kukuk@suse.de>
29888
29889 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29890 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29891 * nscd/hstcache.c (cache_addhst): Likewise.
29892 * nscd/grpcache.c (cache_addgr): Likewise.
29893 * nscd/aicache.c (addhstaiX): Likewise
29894
6d4d8e8e
AS
298952011-07-01 Andreas Schwab <schwab@redhat.com>
29896
29897 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29898 domain only when needed.
29899
89f654c5
AS
299002011-06-30 Andreas Schwab <schwab@redhat.com>
29901
29902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29903 is always restored.
29904
cf3b23ff
UD
299052011-06-29 Ulrich Drepper <drepper@gmail.com>
29906
29907 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29908 are re-adding the entry.
29909 * nscd/servicescache.c (cache_addserv): Likewise.
29910
751626f9
AJ
299112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29912
29913 * sysdeps/generic/dl-irel.h: fix protection against multiple
29914 inclusions.
29915 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29916
9113ea1f
UD
299172011-06-28 Ulrich Drepper <drepper@gmail.com>
29918
5c0b8d90
UD
29919 [BZ #12935]
29920 * malloc/memusage.sh: Fix quoting in message.
29921 * debug/xtrace.sh: Likewise.
29922
9113ea1f
UD
29923 * configure.in: Remove support for --experimental-malloc option, make
29924 it the default.
29925 * config.make.in: Likewise.
29926 * malloc/Makefile: Likewise.
29927
a4172181
AS
299282011-06-27 Andreas Schwab <schwab@redhat.com>
29929
29930 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29931 two-byte characters.
29932
78a7eee7
RM
299332011-06-27 Roland McGrath <roland@hack.frob.com>
29934
62bede13
RM
29935 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29936 AC_CACHE_CHECK invocation.
29937 * configure: Regenerated.
29938
78a7eee7
RM
29939 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29940
5ce33a62
UD
299412011-06-27 Ulrich Drepper <drepper@gmail.com>
29942
034807a9
UD
29943 [BZ #12350]
29944 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29945 bit from old_res_options.
29946
4902da17
UD
29947 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29948
5ce33a62
UD
29949 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29950 value type for setfct.
29951
c2344f56
L
299522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29953
29954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29955 __gettimeofday instead of gettimeofday.
29956
68468076
UD
299572011-06-26 Ulrich Drepper <drepper@gmail.com>
29958
29959 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29960
acb0d739
L
299612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29962
29963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29964
29965 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29966 info.
29967
8912479f
L
299682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29969
29970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29971 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29972 strcpy-sse2-unaligned strncpy-sse2-unaligned
29973 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29974 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29975 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29976 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29977 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29978 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29979 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29980 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29981 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29982 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29983 (STRCPY): Support SSE2 and SSSE3 versions.
29984
d5495a11
UD
299852011-06-24 Ulrich Drepper <drepper@gmail.com>
29986
29987 [BZ #12874]
29988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29989 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29990 kernels which artificially limit size of requests.
29991
0b1cbaae
L
299922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29993
29994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29995 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29996 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29997 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29998 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29999 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30000 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30001 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30004 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30005 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30006 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30007 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30008 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30010 Enable unaligned load optimization for Intel Core i3, i5 and i7
30011 processors.
30012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30013 Define.
30014 (index_Fast_Unaligned_Load): Define.
30015 (HAS_FAST_UNALIGNED_LOAD): Define.
30016
07f494a0
MP
300172011-06-23 Marek Polacek <mpolacek@redhat.com>
30018
30019 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30020
fa3fc0fe
UD
300212011-06-22 Ulrich Drepper <drepper@gmail.com>
30022
30023 [BZ #12907]
30024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30025 until it is clear that the information is realy needed.
30026 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30027
e12df166
AS
300282011-06-22 Andreas Schwab <schwab@redhat.com>
30029
30030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30031
852eb34d
UD
300322011-06-22 Ulrich Drepper <drepper@gmail.com>
30033
84e2a551
UD
30034 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30035 /sys/devices/system/cpu/online if it is usable.
30036
852eb34d
UD
30037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30038 reading the information from the /proc filesystem to once a second.
30039
6e502e19
UD
300402011-06-21 Andreas Jaeger <aj@suse.de>
30041
30042 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30043 NULL after inclusion of kernel headers.
30044
75d39ff2
UD
300452011-06-21 Ulrich Drepper <drepper@gmail.com>
30046
51f9aa6a
UD
30047 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30048 calls to internal_setent.
30049
c0244a9d
UD
30050 [BZ #12885]
30051 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30052 addresses using gethostbyname4_r ignore IPv4 addresses.
30053
c5e3c2ae
UD
30054 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30055 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30056
75d39ff2
UD
30057 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30058
42675c6f
DM
300592011-06-20 David S. Miller <davem@davemloft.net>
30060
30061 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30062 inclusions.
30063 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30064
30065 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30066 (elf_irel): Use it.
30067 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30068 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30069 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30070 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30071 * sysdeps/x86_64/dl-irel.h: Likewise.
30072
30073 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30074 * elf/dl-sym.c: Likewise.
30075
57912a71
UD
300762011-06-15 Ulrich Drepper <drepper@gmail.com>
30077
30078 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30079 need to dereference resplen2.
30080
ee22793d
AS
300812011-06-14 Andreas Schwab <schwab@redhat.com>
30082
30083 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30084
a9e836b0
UD
300852011-06-15 Ulrich Drepper <drepper@gmail.com>
30086
77fb9117
UD
30087 * Makeconfig: Define vardbdir and inst_vardbdir.
30088 * nss/Makefile: Add rules to install db-Makefile.
30089
40c1b22c
UD
30090 * nss/nss_db/db-XXX.c: Cleanup.
30091
9f2da732
UD
30092 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30093 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30094 GLIBC_PRIVATE.
30095 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30096 * nss/makedb.c: Implement -g option to specify that value strings
30097 are generated and should not be added to table iterated over for
30098 get*ent calls.
30099 * nss/nss_db/db-initgroups.c: New file.
30100
82e9a1f7
UD
30101 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30102 interface.
30103
c41af17e
UD
30104 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30105 (internal_getgrouplist): Adjust to name change.
30106 Update use_initgroups_entry if this is not the first call.
30107 * nss/databases.def: Add initgroups entry.
30108
a9e836b0
UD
30109 * nss/makedb.c (compute_tables): Check result of multiple hash table
30110 sizes to minimize maximum chain length.
30111
2666d441
UD
301122011-06-14 Ulrich Drepper <drepper@gmail.com>
30113
30114 * Versions.def: Add entry for libnss_db.
30115 * shlib-versions: Likewise.
30116 * nss/Makefile: Add rules to build libnss_db.
30117 * nss/Versions: Add libnss_db information. Organize libnss_files
30118 entries better.
30119 * nss/db-Makefile: Add gshadow support. Change rules for the new
30120 makedb progra. Some minor improvements to generate smaller files.
30121 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30122 here from...
30123 * nss/makedb.c: ...here.
30124 Improve database format to be smaller and require less memory at
30125 runtime.
30126 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30127 db anymore.
30128 * nss/nss_db/db-netgrp.c: Likewise.
30129 * nss/nss_db/db-open.c: Likewise.
30130 * nss/nss_files/flies-XXX.x: Adjust comments.
30131 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30132 * nss/nss_files/files-grp.c: Likewise.
30133 * nss/nss_files/files-hosts.c: Likewise.
30134 * nss/nss_files/files-network.c: Likewise.
30135 * nss/nss_files/files-proto.c: Likewise.
30136 * nss/nss_files/files-pwd.c: Likewise.
30137 * nss/nss_files/files-rpc.c: Likewise.
30138 * nss/nss_files/files-service.c: Likewise.
30139 * nss/nss_files/files-sgrp.c: Likewise.
30140 * nss/nss_files/files-spwd.c: Likewise.
30141 * nss/nss_db/db-alias.c: Removed.
30142 * nss/nss_db/dummy-db.h: Removed.
30143
9ee76b5a
UD
301442011-06-02 Ulrich Drepper <drepper@gmail.com>
30145
30146 * nss/makedb.c: Rewritten to not use database library.
30147 * nss/Makefile: Update to build new makedb program.
30148
c71ca1f8
AJ
301492011-06-14 Andreas Jaeger <aj@suse.de>
30150
30151 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30152 memset declaration.
30153
3154bfb8
UD
301542011-06-10 Andreas Schwab <schwab@redhat.com>
30155
30156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30157 tmpbuf.
30158
b350afab
RM
301592011-06-10 Roland McGrath <roland@hack.frob.com>
30160
decd4e50
RM
30161 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30162 * elf/Makefile ($(objpfx)ld.so): Likewise.
30163
5615eaf2
RM
30164 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30165 Don't list ld.so twice in dependencies.
30166
30167 * posix/bug-regex31.c: Include <stdlib.h>.
30168
30169 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30170
30171 * nis/nss_compat/compat-spwd.c
30172 (getspent_next_nss_netgr): Remove unused variable.
30173 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30174
30175 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30176 nonmembers" output to use the right array.
30177
30178 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30179
30180 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30181
30182 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30183 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30184 * catgets/gencat.c (read_input_file): Likewise.
30185 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30186
30187 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30188 variable definition inside #if's controlling its use.
30189
30190 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30191
30192 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30193
30194 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30195
30196 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30197 unreachable code.
30198
30199 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30200
b68e08db
RM
30201 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30202 * configure: Regenerated.
30203
b350afab
RM
30204 * Makerules: Revert last change.
30205 * elf/Makefile: Likewise.
30206
28368601
RM
302072011-06-09 Roland McGrath <roland@hack.frob.com>
30208
30209 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30210 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30211 (reloc-link): Likewise.
30212
11988f8f
UD
302132011-06-09 Ulrich Drepper <drepper@gmail.com>
30214
30215 * elf/Makefile: Add rules to build pldd.
30216 * elf/pldd.c: New file.
30217 * elf/pldd-xx.c: New file.
30218
e80fab37
UD
302192011-06-07 Ulrich Drepper <drepper@gmail.com>
30220
30221 * version.h: Update for 2.15 development version.
30222
9b849836
DM
302232011-06-07 David S. Miller <davem@davemloft.net>
30224
30225 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30226 ifuncs.
30227 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30228 elf_machine_lazy_rel): Likewise.
30229 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30231 elf_machine_lazy_rel): Likewise.
30232 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30233 dl_hwcap via passed in argument.
30234 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30235 Likewise.
30236
5a31b283
AK
302372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30238
30239 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30240
069e52f8
RM
302412011-06-06 Roland McGrath <roland@hack.frob.com>
30242
30243 [BZ #12849]
30244 * manual/fdl-1.1.texi: New file, verbatim from:
30245 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30246 * manual/lgpl-2.1.texi: New file, verbatim from:
30247 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30248 * manual/Makefile (licenses): New variable, list those new file names.
30249 (texis): Use it.
30250 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30251
30252 * manual/fdl.texi: File removed.
30253 * manual/lesser.texi: File removed.
30254 * manual/libc.texinfo (Copying, Documentation License):
30255 Use new @include file names, put @appendix directive before @include.
30256
f16846a5
JJ
302572011-06-04 Jakub Jelinek <jakub@redhat.com>
30258
30259 [BZ #12841]
30260 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30261 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30262 (mq_open): Add __NTH.
30263
3d29045b
L
302642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30267 Assume Intel Core i3/i5/i7 processor if AVX is available.
30268
8c297311
UD
302692011-05-31 Ulrich Drepper <drepper@gmail.com>
30270
30271 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30272 typo.
30273
c8fc0c91
UD
302742011-05-31 Andreas Schwab <schwab@redhat.com>
30275
30276 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30277 memory. Use alloca_account. Fix memory leak when retrying.
30278
5b27a807
UD
302792011-05-31 Ulrich Drepper <drepper@gmail.com>
30280
356f8bc6
UD
30281 * version.h (RELEASE): Bump for 2.14 release.
30282 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30283
5b27a807
UD
30284 * config.make.in (RANLIB): Remove entry.
30285
01f16ab0
UD
302862011-05-30 Ulrich Drepper <drepper@gmail.com>
30287
41fce8bd
UD
30288 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30289 (libc.pot): Work around missing support for .ksh extension in xgettext.
30290
4769ae77
UD
30291 [BZ #12684]
30292 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30293 if both request failed.
30294 (send_dg): In case of server errors clear resplen or *resplen2.
30295
6b1e7d19
UD
30296 [BZ #12454]
30297 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30298 when there are multiple maps.
30299 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30300 (_dl_fini): Remove test here.
30301
01f16ab0
UD
30302 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30303
b1ebd700
UD
303042011-05-29 Ulrich Drepper <drepper@gmail.com>
30305
7ae22829
UD
30306 [BZ #12350]
30307 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30308 bit from old_res_options.
30309 (gaih_inet): Likewise.
30310
553149f6 30311 [BZ #11099]
18a84741 30312 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30313 as signed.
30314
652ffab1
UD
30315 * resolv/res_init.c (res_setoptions): Make the code more compact.
30316
16985fd0
UD
30317 [BZ #11558]
30318 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30319 set RES_USEVC.
30320
0464f746
UD
30321 [BZ #11634]
30322 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30323
7d17596c
UD
30324 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30325
cf6bbbd7
UD
30326 [BZ #11781]
30327 * malloc/malloc.h: Declare malloc hook variables as volatile.
30328
13f1ab36
UD
30329 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30330 in last patch.
30331
b1ebd700
UD
30332 [BZ #11799]
30333 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30334 raise in the comment.
80e2212d
UD
30335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30337 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30338
ce67228d
UD
303392011-05-28 Ulrich Drepper <drepper@gmail.com>
30340
8887a920
UD
30341 [BZ #12811]
30342 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30343 grow the buffers more if it already has to be sufficient.
30344 (build_wcs_upper_buffer): Likewise.
30345 * posix/regexec.c (check_matching): Likewise.
30346 (clean_state_log_if_needed): Likewise.
30347 (extend_buffers): Don't enlarge buffers beyond size of the input
30348 buffer.
30349 Patches mostly by Emil Wojak <emil@wojak.eu>.
30350 * posix/bug-regex32.c: New file.
30351 * posix/Makefile (tests): Add bug-regex32.
30352
4f031072
UD
30353 * locale/findlocale.c (_nl_find_locale): Return right away if
30354 _nl_explode_name failed.
30355 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30356
d0478f0c
UD
30357 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30358
de81b246
UD
30359 * debug/xtrace.sh: Unify messages.
30360 * malloc/memusage.sh: Likewise.
30361
c738465a
UD
30362 [BZ #12813]
30363 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30364 time symbol from vDSO. Substitute with vsyscall if not available.
30365 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30366 __vdso_time.
30367
f1f929d7
UD
30368 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30369 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30370 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30371 Add sendmmsg and internal_sendmmsg.
30372 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30373 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30374 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30375
ce67228d
UD
30376 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30377 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30378 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30379
e57420c6
UD
303802011-05-27 Ulrich Drepper <drepper@gmail.com>
30381
a8509ca5
UD
30382 [BZ #12813]
30383 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30384 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30385 available.
30386 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30387 __vdso_getcpu.
30388
e57420c6
UD
30389 [BZ #12814]
30390 * iconvdata/Makefile (tests): Add bug-iconv9.
30391 * iconvdata/bug-iconv9.c: New file.
30392
4d07db15
AS
303932011-05-27 Andreas Schwab <schwab@redhat.com>
30394
30395 [BZ #12814]
30396 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30397
ea486f69
JJ
303982011-05-25 Jakub Jelinek <jakub@redhat.com>
30399
30400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30401 (struct user_regs_struct): Change intcs field back to cs.
30402
6f038433
UD
304032011-05-25 Ulrich Drepper <drepper@gmail.com>
30404
30405 * po/ja.po: Update from translation team.
30406
67f86a25
UD
304072011-05-23 Ulrich Drepper <drepper@gmail.com>
30408
30409 [BZ #12795]
30410 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30411 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30412
def7fbd6
AS
304132011-05-20 Andreas Schwab <schwab@redhat.com>
30414
30415 * stdlib/longlong.h: Update from GCC.
30416
f50ef8f1
AS
304172011-05-23 Andreas Schwab <schwab@redhat.com>
30418
30419 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30420 parameter name.
30421 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30422 Add parameter name.
30423 (__sysconf): Pass it down.
30424
de7ce8f1
UD
304252011-05-22 Ulrich Drepper <drepper@gmail.com>
30426
f2962a71
UD
30427 [BZ #12671]
30428 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30429 some situations.
30430 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30431 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30432 add in in __libc_use_alloca calls. Adjust callers.
30433 (glob): Use malloc in some situations.
30434
de7ce8f1
UD
30435 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30436 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30437 pltexit.
30438
aec84f53
UD
304392011-05-21 Ulrich Drepper <drepper@gmail.com>
30440
05bb4a68
UD
30441 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30442 and CLOCK_BOOTTIME_ALARM.
30443
7ea72f99
UD
30444 [BZ #12782]
30445 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30446 is returned.
30447
7e4afad5
UD
30448 * string/_strerror.c (__strerror_r): Print negative errors as signed
30449 numbers.
30450
8e211fec
UD
30451 [BZ #12777]
30452 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30453 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30454 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30455
f7d82dc9
UD
30456 * configure.in: Fix typo in redirection and correct removal of test
30457 files in two cases.
30458
cc9e536d
UD
30459 [BZ #12788]
30460 * locale/setlocale.c (new_composite_name): Fix test to check for
30461 identical name of all categories.
30462
aec84f53
UD
30463 [BZ #12792]
30464 * libio/filedoalloc.c (local_isatty): New function.
30465 (_IO_file_doallocate): Use local_isatty.
30466 * stdio-common/perror.c (perror): In case a new stream is used
30467 forward the stream error.
30468 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30469 error flag.
30470
78e64fdc
RT
304712011-05-20 Ulrich Drepper <drepper@gmail.com>
30472
34a9094f
UD
30473 [BZ #11869]
30474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30475 alloca.
30476 * include/alloca.h (extend_alloca_account): Define.
30477
78e64fdc
RT
30478 [BZ #11857]
30479 * posix/regex.h: Fix comments with documentation of user-accessible
30480 fields after compilation and describe correct free'ing of pattern
30481 after re_compile_pattern.
30482 Patch by Reuben Thomas <rrt@sc3d.org>.
30483
457bddfc
RA
304842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30485
30486 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30487 and -mno-altivec to prevent the compiler from using Altivec and/or
30488 VSX instructions when the corresponding registers are not available.
30489
a4527b51
AS
304902011-05-19 Andreas Schwab <schwab@redhat.com>
30491
30492 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30493
ed690b2f
UD
304942011-05-19 Ulrich Drepper <drepper@gmail.com>
30495
30496 * libio/freopen.c (freopen): Use __dup2, not dup2.
30497 * libio/freopen64.c (freopen64): Likewise.
30498
8db73634
L
304992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30500
30501 [BZ #12775]
30502 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30503 * math/Makefile (tests): Add test-powl.
30504 (CFLAGS-test-powl.c): Define.
30505 * math/test-powl.c: New file.
30506
0a197a9d
L
305072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30508
30509 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30510
ee30c380
UD
305112011-05-17 Ulrich Drepper <drepper@gmail.com>
30512
30513 [BZ #11837]
30514 * iconvdata/gb18030.c: Update to GB18020-2005.
30515
6ce75379
UD
305162011-05-16 Ulrich Drepper <drepper@gmail.com>
30517
a4b89fd8
AR
30518 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30519 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30520 Patch by Aharon Robbins <arnold@skeeve.com>.
30521
ea389b12
UD
30522 [BZ #11892]
30523 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30524 on the stack.
30525
68a3f91f
UD
30526 [BZ #11895]
30527 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30528 through underflows.
30529
15cc7dd1
UD
30530 [BZ #12766]
30531 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30532 point to strings before performing equality test for error_one_per_line
30533 mode.
30534
f3799213
UD
30535 [BZ #11697]
30536 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30537
d79a9c94
UD
30538 [BZ #11820]
30539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30540 (struct user_fpregs_struct): Avoid __uint*_t types.
30541
56e5eb46
UD
30542 [BZ #6420]
30543 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30544 symbol info. Use it instead of calling _dl_addr locally.
30545 (lock_and_info): New function.
30546 (tr_freehook): Call lock_and_info and pass symbol info as additional
30547 parameter to tr_where.
30548 (tr_mallochook): Likewise.
30549 (tr_reallochook): Likewise.
30550 (tr_memalignhook): Likewise.
30551
6ce75379
UD
30552 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30553 used and couldn't be at all thread-safe.
30554
f8a3b5bf
UD
305552011-05-15 Ulrich Drepper <drepper@gmail.com>
30556
94b7cc37
UD
30557 * libio/freopen.c (freopen): Don't close old file descriptor
30558 before the new one is opened. Instead dup the new file descriptor
30559 to the old one after the new stream is created.
30560 * libio/freopen64.c (freopen64): Likewise.
30561 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30562 * libio/fileops.c (_IO_new_file_close_it): Handle new
30563 _IO_FLAGS2_NOCLOSE flag.
30564 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30565 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30566 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30567 _IO_FLAGS2_NOCLOSE flag.
30568 * include/unistd.h: Add hidden_proto for dup3.
30569 Define __have_dup3.
30570 * io/dup3.c: Define hidden symbol.
30571 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30572
bd25564e
UD
30573 [BZ #7101]
30574 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30575 when an incomplete long option is used.
30576 * posix/tst-getopt_long1.c: New file.
30577 * posix/Makefile (tests): Add tst-getopt_long1.
30578
c84cfef4
UD
30579 [BZ #10138]
30580 * scripts/config.guess: Update from autoconf-2.68.
30581 * scripts/config.sub: Likewise.
30582
3b85df27
UD
30583 [BZ #10157]
30584 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30585 tests into ...
30586 (has_cpuclock): ...this. New function.
30587 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30588 macro here based on has_cpuclock code.
30589
15a856b1
UD
30590 [BZ #10149]
30591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30592 First byte (not low byte) is now always NUL.
30593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30594
05f399e6
UD
30595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30596 Use non-cancelable interfaces.
30597
10a52685 30598 [BZ #9809]
94ecc67d
UD
30599 * locale/iso-639.def: Add entry for Sorani.
30600
f8a3b5bf
UD
30601 [BZ #11901]
30602 * include/stdlib.h: Move include protection to the right place.
30603 Define abort_msg_s. Declare __abort_msg with it.
30604 * stdlib/abort.c (__abort_msg): Adjust type.
30605 * assert/assert.c (__assert_fail_base): New function. Majority
30606 of code from __assert_fail. Allocate memory for __abort_msg with
30607 mmap.
30608 (__assert_fail): Now call __assert_fail_base.
30609 * assert/assert-perr.c: Remove bulk of implementation. Use
30610 __assert_fail_base.
30611 * include/assert.hL Declare __assert_fail_base.
30612 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30613 mmap.
30614 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30615
1af4e298
UD
306162011-05-14 Ulrich Drepper <drepper@gmail.com>
30617
f8a3b5bf 30618 [BZ #11952]
d26dfc60
MG
30619 [BZ #12453]
30620 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30621 until all modules are registered in the DTV.
30622 * elf/Makefile: Add rules to build and run tst-tls19.
30623 * elf/tst-tls19.c: New file.
30624 * elf/tst-tls19mod1.c: New file.
30625 * elf/tst-tls19mod2.c: New file.
30626 * elf/tst-tls19mod3.c: New file.
30627 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30628
2fc54d6f
UD
30629 [BZ #12083]
30630 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30631 correctly.
30632
98d76b46
UD
30633 [BZ #12601]
30634 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30635 two-byte sequence errors.
30636 * iconvdata/Makefile (tests): Add bug-iconv8.
30637 * iconvdata/bug-iconv8.c: New file.
30638
da3c19ef
UD
30639 [BZ #12626]
30640 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30641 buf2 definition.
30642
ca408c15
UD
30643 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30644
d6f67f7d
UD
30645 [BZ #12432]
30646 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30647 (dummy_getcfa): New function.
30648 (init): Get _Unwind_GetCFA address, use dummy if not found.
30649 (backtrace_helper): In recursion check, also check whether CFA changes.
30650 (__backtrace): Completely initialize arg.
30651
1af4e298 30652 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
30653 storing incomplete byte sequence in state object. Avoid testing for
30654 guaranteed too small input if we know there is enough data available.
1af4e298 30655
da62f81b
AS
306562011-05-11 Andreas Schwab <schwab@redhat.com>
30657
30658 * Makeconfig (+link-pie): Indent.
30659 * Rules (binaries-pie): Define if $(have-fpie) and
30660 $(build-shared).
30661 (binaries-shared): Also filter out $(binaries-pie).
30662 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30663 * nscd/Makefile (others-pie): Add nscd.
30664 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30665 ($(objpfx)nscd): Remove command override.
30666 * login/Makefile (others-pie): Add pt_chown.
30667 ($(objpfx)pt_chown): Remove command override.
30668 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30669 remove command overrides.
30670
fcabc0f8
UD
306712011-05-13 Ulrich Drepper <drepper@gmail.com>
30672
20030ae6
UD
30673 * libio/tst_putwc.c: Fix error messages.
30674
fcabc0f8
UD
30675 [BZ #12724]
30676 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30677 currently writing and seek to current position when not.
30678 * libio/Makefile (tests): Add bug-fclose1.
30679 * libio/bug-fclose1.c: New file.
30680
320a5dc0
PB
306812011-05-12 Ulrich Drepper <drepper@gmail.com>
30682
30683 [BZ #12511]
30684 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30685 don't set DF_1_NODELETE here.
30686 (do_lookup_x): When entering new entry test for copy relocation
30687 and if necessary set DF_1_NODELETE flag.
30688 * elf/tst-unique4.cc: New file.
30689 * elf/tst-unique4.h: New file.
30690 * elf/tst-unique4lib.cc: New file.
30691 * elf/Makefile: Add rules to build and run tst-unique4.
30692 Patch by Piotr Bury <pbury@goahead.com>.
30693
22836f52
UD
306942011-05-11 Ulrich Drepper <drepper@gmail.com>
30695
f574184a
UD
30696 [BZ #12052]
30697 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30698
e1fb097f
UD
30699 [BZ #12625]
30700 * misc/mntent_r.c (addmntent): Flush the stream after the output
30701
22836f52
UD
30702 [BZ #12393]
30703 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30704 (is_trusted_path_normalize): Skip initial colon. Append slash
30705 to empty buffer. Duplicate is_trusted_path code but allow
30706 constructed patch to be prefix.
30707 (is_dst): Allow $ORIGIN followed by /.
30708 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30709 Correct testing of result of is_trusted_path_normalize
30710 (decompose_rpath): Fix warning.
30711
7b3b0b2a
UD
307122011-05-10 Ulrich Drepper <drepper@gmail.com>
30713
30714 [BZ #11257]
30715 * grp/initgroups.c (internal_getgrouplist): When we found the service
30716 list through the initgroups entry in nsswitch.conf do not always
30717 continue on a successful lookup. Don't always use the
eac80ce2 30718 __nss_group_database value if it is set.
7b3b0b2a
UD
30719 * nss/nsswitch.conf (initgroups): Change action for successful db
30720 lookup to continue for compatibility.
30721
2a81eaa5
UD
307222011-05-09 Ulrich Drepper <drepper@gmail.com>
30723
be97a69e
UD
30724 [BZ #11532]
30725 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30726 and CP774 modules.
30727 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30728 and CP774 modules.
30729 * iconvdata/tst-tables.sh: Likewise.
30730 * iconvdata/cp770.c: New file.
30731 * iconvdata/cp771.c: New file.
30732 * iconvdata/cp772.c: New file.
30733 * iconvdata/cp773.c: New file.
30734 * iconvdata/cp774.c: New file.
30735 * iconvdata/testdata/CP770: New file.
30736 * iconvdata/testdata/CP770..UTF8: New file.
30737 * iconvdata/testdata/CP771: New file.
30738 * iconvdata/testdata/CP771..UTF8: New file.
30739 * iconvdata/testdata/CP772: New file.
30740 * iconvdata/testdata/CP772..UTF8: New file.
30741 * iconvdata/testdata/CP773: New file.
30742 * iconvdata/testdata/CP773..UTF8: New file.
30743 * iconvdata/testdata/CP774: New file.
30744 * iconvdata/testdata/CP774..UTF8: New file.
30745
30746 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30747 END CHARMAP line.
30748 * iconvdata/gen-8bit-gap.sh: Likewise.
30749 * iconvdata/gen-8bit.sh: Likewise.
30750
c1e9e399
UD
30751 * locale/iso-639.def: Add ary entry.
30752
24c55fb3 30753 [BZ #11258]
96b4b1b0
UD
30754 * locale/C-translit.h.in: Add U20A1 transliteration.
30755
bdc2f971
KB
30756 [BZ #12178]
30757 * locale/iso-639.def: Add wae entry.
30758 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30759
2952b117
UD
30760 [BZ #12545]
30761 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30762 for n.
30763
2a81eaa5
UD
30764 [BZ #12711]
30765 * locale/C-translit.h.in: Add entry for U20B9.
30766 Patch by pravin.d.s@gmail.com.
30767
28377d1b
UD
307682011-05-08 Ulrich Drepper <drepper@gmail.com>
30769
7fb90fb8
UD
30770 [BZ #12713]
30771 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30772 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
30773 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30774 in rtld. Use *stat64.
7fb90fb8 30775 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 30776 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 30777 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
30778 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30779 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30780 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30781 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30782 __fstatat64 macros.
7fb90fb8
UD
30783 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30784 * dirent/rewinddir.c: Add libc_hidden_def.
30785 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 30786 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 30787
28377d1b
UD
30788 * include/dirent.h (__alloc_dir): Add flags parameter.
30789 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30790 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30791 __alloc_dir.
30792 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30793 from fdopendir if O_CLOEXEC is already set.
30794
66bdbaa4
AM
307952011-03-15 Alan Modra <amodra@gmail.com>
30796
30797 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30798 l_tls_firstbyte_offset non-zero. Save padding offset in
30799 l_tls_firstbyte_offset for later use.
30800 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30801 freeing static tls block.
30802
95721191
JN
308032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30804
30805 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30806 where #ifdef was intended. The intent is to prevent ARG_MAX from
30807 being defined by the kernel headers.
30808
f87dfb1f
UD
308092011-05-07 Ulrich Drepper <drepper@gmail.com>
30810
30811 [BZ #12734]
30812 * resolv/resolv.h: Define RES_NOTLDQUERY.
30813 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30814 no-tld-query and set RES_NOTLDQUERY.
30815 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30816 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30817 modern BIND to search name as TLD unless forbidden.
30818
47c3cd7a
UD
308192011-05-07 Petr Baudis <pasky@suse.cz>
30820 Ulrich Drepper <drepper@gmail.com>
30821
30822 [BZ #12393]
30823 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30824 (is_trusted_path): ...to here.
c1e9ea35 30825 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 30826 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 30827 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 30828
8a35c912
PP
308292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30830
30831 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30832 __BEGIN/__END_DECLS.
30833
acd41f47
UD
308342011-05-06 Ulrich Drepper <drepper@gmail.com>
30835
30836 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30837 NSS_STATUS_NOTFOUND if no record was found.
30838
597df647
AS
308392011-05-05 Andreas Schwab <schwab@redhat.com>
30840
30841 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30842 (headers-not-in-tirpc): Remove rpc/netdb.h
30843 * resolv/netdb.h: Revert last change.
30844
b9af1301
PP
308452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30846
30847 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30848 circular dependency between libgcc.a and libc.a.
30849
4e34d5f5
AS
308502011-05-05 Andreas Schwab <schwab@redhat.com>
30851
30852 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30853 * nis/Makefile: Don't install rpcsvc/*.
30854 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30855 instead of <rpc/types.h>.
30856 (MAXHOSTNAMELEN): Define.
30857
00ee369c
AS
308582011-05-03 Andreas Schwab <schwab@redhat.com>
30859
30860 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30861
0b592a30
MB
308622011-04-28 Maciej Babinski <mbabinski@google.com>
30863
30864 [BZ #12714]
30865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30866 gethostbyname4_r when IPv6 results are possible.
30867
6e04cbbe
UD
308682011-05-02 Ulrich Drepper <drepper@gmail.com>
30869
30870 [BZ #12723]
30871 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30872 _PC_PIPE_BUF handling.
30873
e4ecafe0
BH
308742011-04-30 Bruno Haible <bruno@clisp.org>
30875
30876 [BZ #12717]
30877 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30878 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30879 to 'int'.
30880 * inet/getnameinfo.c (getnameinfo): Likewise.
30881
125ee683
UD
308822011-04-29 Ulrich Drepper <drepper@gmail.com>
30883
30884 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30885 to groups setting in database lookup.
30886 * nss/nsswitch.conf: Add initgroups entry.
30887
b722481a
EB
308882011-04-22 Ulrich Drepper <drepper@gmail.com>
30889
30890 [BZ #12685]
30891 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30892 mode string.
30893 Patch by Eric Blake <eblake@redhat.com>.
30894
4df46dbd
L
308952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30896
30897 * sunrpc/Makefile (need-export-routines): Add svc_run.
30898 (routines): Remove svc_run.
30899 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30900 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30901 * sunrpc/svc_run.c (svc_run): Likewise.
30902 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30903
e84142d2
UD
309042011-04-21 Ulrich Drepper <drepper@gmail.com>
30905
30906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30907 problem in reallocation in last patch.
30908
877175d8
UD
309092011-04-20 Ulrich Drepper <drepper@gmail.com>
30910
30911 * sunrpc/Makefile: Move inclusion of Rules.
30912
ab8eed78
UD
309132011-04-19 Ulrich Drepper <drepper@gmail.com>
30914
30915 * nss/nss_files/files-initgroups.c: New file.
30916 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30917 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30918 _nss_files_initgroups_dyn.
30919
e3d8f584
RS
309202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30921
30922 * elf/elf.h (R_ARM_IRELATIVE): Define.
30923
af190f45
UD
309242011-04-19 Ulrich Drepper <drepper@gmail.com>
30925
30926 * po/ru.po: Update from translation team.
30927
53cf59ef
UD
309282011-04-17 Ulrich Drepper <drepper@gmail.com>
30929
30930 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30931 dependencies.
30932
4c559bcd
MF
309332011-02-06 Mike Frysinger <vapier@gentoo.org>
30934
30935 [BZ #12653]
30936 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30937 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30938 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30939 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30941
4420675c
AS
309422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30943
30944 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30945 differing bytes.
30946 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30949
75ea32ab
UD
309502011-04-17 Ulrich Drepper <drepper@gmail.com>
30951
30952 [BZ #12420]
30953 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30954 storing it.
30955 * stdlib/bug-getcontext.c: New file.
30956 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30957
27390476
AK
309582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30959
30960 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30961 instructions into .machine "z9-109".
30962 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30963 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30964
10442705
AK
309652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30966
30967 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30968 between environment variables and auxiliary vector.
30969
7b57bfe5
UD
309702011-04-16 Ulrich Drepper <drepper@gmail.com>
30971
30972 * Makefile: Add rules to build linkobj/libc.so.
30973 * include/libc-symbols.h: Define libc_hidden_nolink.
30974 * include/rpc/auth.h: Mark functions which are to be hidden.
30975 * include/rpc/auth_des.h: Likewise.
30976 * include/rpc/auth_unix.h: Likewise.
30977 * include/rpc/clnt.h: Likewise.
30978 * include/rpc/des_crypt.h: Likewise.
30979 * include/rpc/key_prot.h: Likewise.
30980 * include/rpc/pmap_clnt.h: Likewise.
30981 * include/rpc/pmap_prot.h: Likewise.
30982 * include/rpc/pmap_rmt.h: Likewise.
30983 * include/rpc/rpc_msg.h: Likewise.
30984 * include/rpc/svc.h: Likewise.
30985 * include/rpc/svc_auth.h: Likewise.
30986 * include/rpc/xdr.h: Likewise.
30987 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30988 * nss/Makefile: Likewise.
30989 * sunrpc/Makefile: Don't install headers. Build library with normal
30990 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30991 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30992 for the compat linking library. Remove use of INTDEF/INTUSE.
30993 * sunrpc/auth_none.c: Likewise.
30994 * sunrpc/auth_unix.c: Likewise.
30995 * sunrpc/authdes_prot.c: Likewise.
30996 * sunrpc/authuxprot.c: Likewise.
30997 * sunrpc/clnt_gen.c: Likewise.
30998 * sunrpc/clnt_perr.c: Likewise.
30999 * sunrpc/clnt_raw.c: Likewise.
31000 * sunrpc/clnt_simp.c: Likewise.
31001 * sunrpc/clnt_tcp.c: Likewise.
31002 * sunrpc/clnt_udp.c: Likewise.
31003 * sunrpc/clnt_unix.c: Likewise.
31004 * sunrpc/des_crypt.c: Likewise.
31005 * sunrpc/des_soft.c: Likewise.
31006 * sunrpc/get_myaddr.c: Likewise.
31007 * sunrpc/key_call.c: Likewise.
31008 * sunrpc/key_prot.c: Likewise.
31009 * sunrpc/netname.c: Likewise.
31010 * sunrpc/pm_getmaps.c: Likewise.
31011 * sunrpc/pm_getport.c: Likewise.
31012 * sunrpc/pmap_clnt.c: Likewise.
31013 * sunrpc/pmap_prot.c: Likewise.
31014 * sunrpc/pmap_prot2.c: Likewise.
31015 * sunrpc/pmap_rmt.c: Likewise.
31016 * sunrpc/publickey.c: Likewise.
31017 * sunrpc/rpc_cmsg.c: Likewise.
31018 * sunrpc/rpc_common.c: Likewise.
31019 * sunrpc/rpc_dtable.c: Likewise.
31020 * sunrpc/rpc_prot.c: Likewise.
31021 * sunrpc/rpc_thread.c: Likewise.
31022 * sunrpc/rtime.c: Likewise.
31023 * sunrpc/svc.c: Likewise.
31024 * sunrpc/svc_auth.c: Likewise.
31025 * sunrpc/svc_authux.c: Likewise.
31026 * sunrpc/svc_raw.c: Likewise.
31027 * sunrpc/svc_run.c: Likewise.
31028 * sunrpc/svc_simple.c: Likewise.
31029 * sunrpc/svc_tcp.c: Likewise.
31030 * sunrpc/svc_udp.c: Likewise.
31031 * sunrpc/svc_unix.c: Likewise.
31032 * sunrpc/svcauth_des.c: Likewise.
31033 * sunrpc/xcrypt.c: Likewise.
31034 * sunrpc/xdr.c: Likewise.
31035 * sunrpc/xdr_array.c: Likewise.
31036 * sunrpc/xdr_float.c: Likewise.
31037 * sunrpc/xdr_intXX_t.c: Likewise.
31038 * sunrpc/xdr_mem.c: Likewise.
31039 * sunrpc/xdr_rec.c: Likewise.
31040 * sunrpc/xdr_ref.c: Likewise.
31041 * sunrpc/xdr_sizeof.c: Likewise.
31042 * sunrpc/xdr_stdio.c: Likewise.
31043
e6c61494
UD
310442011-04-10 Ulrich Drepper <drepper@gmail.com>
31045
31046 [BZ #12650]
31047 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31048 * sysdeps/ia64/dl-tls.h: Likewise.
31049 * sysdeps/powerpc/dl-tls.h: Likewise.
31050 * sysdeps/s390/dl-tls.h: Likewise.
31051 * sysdeps/sh/dl-tls.h: Likewise.
31052 * sysdeps/sparc/dl-tls.h: Likewise.
31053 * sysdeps/x86_64/dl-tls.h: Likewise.
31054 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31055
34fe483e
AS
310562011-03-14 Andreas Schwab <schwab@redhat.com>
31057
31058 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31059 rpath element also skip the following colon.
31060 (expand_dynamic_string_token): Add is_path parameter and pass
31061 down to DL_DST_REQUIRED and _dl_dst_substitute.
31062 (decompose_rpath): Call expand_dynamic_string_token with
31063 non-zero is_path. Ignore empty rpaths.
31064 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31065 with zero is_path.
31066
f12a32e6
AS
310672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31068
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31070 Make cancelable.
31071
38a7d692
UD
310722011-04-09 Ulrich Drepper <drepper@gmail.com>
31073
31074 [BZ #12655]
31075 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31076 Patch by Filipe David Manana <fdmanana@apache.org>.
31077
e451d22b
AS
310782011-04-07 Andreas Schwab <schwab@redhat.com>
31079
31080 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31081 Maintain aligned stack.
31082 (CHECK_RSP): Remove unused macro.
31083
dedc7c7b
UD
310842011-04-03 Ulrich Drepper <drepper@gmail.com>
31085
31086 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31087 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31088
94521213
UD
310892011-04-02 Ulrich Drepper <drepper@gmail.com>
31090
31091 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31092
8cb700c0 31093 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31094
0354e355
L
310952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31096
31097 [BZ #12518]
31098 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31099 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31100 * sysdeps/x86_64/memmove.c: New file.
31101 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31102 (memcpy): Renamed to ...
31103 (__new_memcpy): This.
31104 (memcpy): Provide GLIBC_2_14 memcpy.
31105 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31106 (memcpy): Provide GLIBC_2_2_5 memcpy.
31107
8593482f
UD
311082011-04-01 Ulrich Drepper <drepper@gmail.com>
31109
31110 [BZ #12631]
31111 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31112
81a5726b
AS
311132011-03-30 Andreas Schwab <schwab@redhat.com>
31114
31115 * misc/syncfs.c: New file.
31116 * misc/Makefile (routines): Add syncfs.
31117 * posix/unistd.h: Declare syncfs.
31118 * sysdeps/unix/syscalls.list: Add syncfs.
31119
00e5419f
AS
311202011-04-01 Andreas Schwab <schwab@redhat.com>
31121
31122 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31123 open_by_handle_at.
31124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31125 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31129 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31130 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31131
748876bf
UD
311322011-04-01 Ulrich Drepper <drepper@gmail.com>
31133
658e451d
UD
31134 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31135 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31136 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31141
748876bf
UD
31142 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31143 sync_file_range.c with -fexceptions.
31144 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31145 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31146 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31147 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31148 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31149 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31151 sync_file_range as cancellation point
31152 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31153 now a wrapper around __call_sync_file_range with cancellation handling.
31154 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31155 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31156 function name to __call_sync_file_range.
31157 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31158 Add call_sync_file_range.
748876bf 31159
6e63d5e1
AS
311602011-04-01 Andreas Schwab <schwab@redhat.com>
31161
31162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31163 bits/timex.h.
6e63d5e1 31164
46998f74
UD
311652011-04-01 Ulrich Drepper <drepper@gmail.com>
31166
4c1423ed
UD
31167 * iconv/iconv.h: Fix typo in comment.
31168 * io/fcntl.h: Likewise.
31169 * libio/stdio.h: Likewise.
31170 * posix/spawn.h: Likewise.
31171 * posix/unistd.h: Likewise.
31172 * stdlib/stdlib.h: Likewise.
31173 * time/time.h: Likewise.
31174 * wcsmbs/wchar.h: Likewise.
31175
158648c0
UD
31176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31177 open_by_handle): Add.
31178 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31179 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31180 Augment a few comments.
31181 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31182 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31184 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31186 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31187 open_by_handle.
31188
46998f74
UD
31189 * io/fcntl.h (AT_EMPTY_PATH): Define.
31190
83fe108b
UD
311912011-03-30 Ulrich Drepper <drepper@gmail.com>
31192
31193 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31194 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31195 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31196 to...
31197 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31198 * Versions.def: Add GLIBC_2.14.
31199 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31200 Export.
83fe108b 31201
bb242059
UD
312022011-03-22 Ulrich Drepper <drepper@gmail.com>
31203
31204 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31205 round counter.
31206 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31207
c97a1282
L
312082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31209
31210 [BZ #12597]
31211 * string/test-strncmp.c (do_page_test): New function.
31212 (check2): Likewise.
31213 (test_main): Call check2.
31214 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31215
2a115601
UD
312162011-03-20 Ulrich Drepper <drepper@gmail.com>
31217
31218 [BZ #12587]
31219 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31220 Handle cache information in CPU leaf 4.
31221 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31222
8126d904
UD
312232011-03-18 Ulrich Drepper <drepper@gmail.com>
31224
042c49c6 31225 [BZ #12583]
8126d904
UD
31226 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31227 character representation.
31228 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31229
ccfe366e
RA
312302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31231
31232 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31233 END(__isnan) to END(__isnanf) to match function entry point/label
31234 EALIGN(__isnanf,...).
31235
c6e13027
JJ
312362011-03-10 Jakub Jelinek <jakub@redhat.com>
31237
31238 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31239
33f85a3f
UD
312402011-03-10 Ulrich Drepper <drepper@gmail.com>
31241
028478fa
UD
31242 [BZ #12510]
31243 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31244 copy from the symbol referenced in the relocation to initialize the
31245 used variable.
31246 Patch by Piotr Bury <pbury@goahead.com>.
31247 * elf/Makefile: Add rules to build and tst-unique3.
31248 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31249 * elf/tst-unique3.cc: New file.
31250 * elf/tst-unique3.h: New file.
31251 * elf/tst-unique3lib.cc: New file.
31252 * elf/tst-unique3lib2.cc: New file.
31253
33f85a3f
UD
31254 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31255
03592fc7
MF
312562011-03-10 Mike Frysinger <vapier@gentoo.org>
31257
31258 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31259 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31260 to _start.
03592fc7 31261
6a5ee102
UD
312622011-03-06 Ulrich Drepper <drepper@gmail.com>
31263
31264 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31265 to-be-loaded object along a path to loader is ld.so.
31266
7e4ba49c
HJ
312672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31268 Ulrich Drepper <drepper@gmail.com>
31269
31270 * sysdeps/x86_64/memset.S: After aligning destination, code
31271 branches to different locations depending on the value of
31272 misalignment, when multiarch is enabled. Fix this.
31273
312742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31275
31276 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31277 Set _x86_64_preferred_memory_instruction for AMD processsors.
31278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31279 Set bit_Prefer_SSE_for_memop for AMD processors.
31280
13a804de
UD
312812011-03-04 Ulrich Drepper <drepper@gmail.com>
31282
31283 * libio/fmemopen.c (fmemopen): Optimize a bit.
31284
9d25c392
AS
312852011-03-03 Andreas Schwab <schwab@redhat.com>
31286
31287 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31288
a5543c6a
RM
312892011-03-03 Roland McGrath <roland@redhat.com>
31290
31291 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31292
012d35f7
DM
312932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31294
7e4ba49c 31295 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31296 __bzero_ultra1 instead of __memset_ultra1.
31297
4bff6e01
AS
312982011-02-23 Andreas Schwab <schwab@redhat.com>
31299 Ulrich Drepper <drepper@gmail.com>
31300
31301 [BZ #12509]
31302 * include/link.h (struct link_map): Add l_orig_initfini.
31303 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31304 returning unsuccessfully.
31305 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31306 close of a file loaded at startup, restore the original l_initfini
31307 list.
31308 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31309 list, store the pointer.
31310 * elf/Makefile ($(objpfx)noload-mem): New rule.
31311 (noload-ENV): Define.
31312 (tests): Add $(objpfx)noload-mem.
31313 * elf/noload.c: Include <memcheck.h>.
31314 (main): Call mtrace. Close all opened handles.
31315
f2092faf
AS
313162011-02-17 Andreas Schwab <schwab@redhat.com>
31317
31318 [BZ #12454]
31319 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31320 dependencies are missing.
31321
6c8a2e88
ST
313222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31323
f2092faf 31324 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31325 Hurd needs munmap.
31326 * sysdeps/mach/hurd/ifreq.h: New file.
31327
84a42118
PB
313282011-01-27 Petr Baudis <pasky@suse.cz>
31329 Ulrich Drepper <drepper@gmail.com>
31330
071f805e 31331 [BZ 12445]#
84a42118
PB
31332 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31333 to extend_alloca().
31334 * stdio-common/bug23.c: New file.
31335 * stdio-common/Makefile (tests): Add bug23.
31336
e23fe25b
AS
313372010-09-28 Andreas Schwab <schwab@redhat.com>
31338 Ulrich Drepper <drepper@gmail.com>
31339
31340 [BZ #12489]
31341 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31342 before performing relro protection. At old place add assertion
31343 to make sure nothing changed.
31344
d3f02e10
NS
313452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31346 Glauber de Oliveira Costa <glommer@gmail.com>
31347
31348 * elf/elf.h: Add new ARM TLS relocs.
31349
d55fd7a5
RA
313502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31351
31352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31353 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31354 cast from r3.
31355 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31356 'tests' variable.
31357 * sysdeps/wordsize-64/tst-writev.c: New file.
31358
2206397e
RA
313592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31360
31361 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31362 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31363 insns in _dl_start to prevent a TOC reference before relocs are
31364 resolved.
31365
e9433893
UD
313662011-02-15 Ulrich Drepper <drepper@gmail.com>
31367
31368 [BZ #12469]
31369 * Makeconfig: Remove RANLIB definition.
31370 * Makerules: Don't use RANLIB.
31371 * aclocal.m4: Remove ranlib test.
31372 * configure.in: No need to check for ranlib.
31373 * elf/rtld-Rules: Don't use RANLIB.
31374
f75286c6
ST
313752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31376
8e31c82d
ST
31377 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31378 protection macro.
31379 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31380 inclusion protection macro.
31381
f75286c6
ST
31382 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31383 SIGRTMIN and SIGRTMAX and print information in that case only when
31384 SIGRTMIN is defined.
31385
c1d0e639
JJ
313862011-02-11 Jakub Jelinek <jakub@redhat.com>
31387
31388 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31389 arginfo fn returning -1.
31390
31391 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31392 and thousands string is zero terminated.
31393
edf9294e
AS
313942011-02-03 Andreas Schwab <schwab@redhat.com>
31395
31396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31397 sysdeps/unix/sysv/linux/bits/socket.h.
31398
2b7e92df
ST
313992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31400
edf9294e
AS
31401 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31402 (__CPU_COUNT): Remove old macros.
31403 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31404 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31405 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31406 (__sched_cpualloc, __sched_cpufree): Add declarations.
31407
a4c7ea7b
UD
314082011-02-05 Ulrich Drepper <drepper@gmail.com>
31409
31410 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31411 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31412 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31413 (readdhstai): Return value of addhstaiX call.
31414 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31415 (addgrbyX): Return value returned by cache_addgr.
31416 (readdgrbyname): Return value returned by addgrbyX.
31417 (readdgrbygid): Likewise.
31418 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31419 (addpwbyX): Return value returned by cache_addpw.
31420 (readdpwbyname): Return value returned by addhstbyX.
31421 (readdpwbyuid): Likewise.
31422 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31423 (addservbyX): Return value returned by cache_addserv.
31424 (readdservbyname): Return value returned by addservbyX:
31425 (readdservbyport): Likewise.
31426 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31427 (addhstbyX): Return value returned by cache_addhst.
31428 (readdhstbyname): Return value returned by addhstbyX.
31429 (readdhstbyaddr): Likewise.
31430 (readdhstbynamev6): Likewise.
31431 (readdhstbyaddrv6): Likewise.
31432 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31433 (readdinitgroups): Return value returned by addinitgroupsX.
31434 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31435 (prune_cache): Keep track of timeout value of re-added entries.
31436 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31437 * nscd/nscd.h: Adjust prototypes of readd* functions.
31438
a0bf67cc
RM
314392011-02-04 Roland McGrath <roland@redhat.com>
31440
31441 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31442 (nis_stats): Likewise.
31443 * nis/nis_modify.c (nis_modify): Likewise.
31444 * nis/nis_remove.c (nis_remove): Likewise.
31445 * nis/nis_add.c (nis_add): Likewise.
31446
31447 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31448
31449 * posix/fnmatch_loop.c: Add some consts.
31450
31451 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31452
435b95eb
L
314532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31454
31455 [BZ #12460]
31456 * config.make.in (config-cflags-novzeroupper): Define.
31457 * configure.in: Substitute libc_cv_cc_novzeroupper.
31458 * elf/Makefile (AVX-CFLAGS): Define.
31459 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31460 (CFLAGS-tst-auditmod4a.c): Likewise.
31461 (CFLAGS-tst-auditmod4b.c): Likewise.
31462 (CFLAGS-tst-auditmod6b.c): Likewise.
31463 (CFLAGS-tst-auditmod6c.c): Likewise.
31464 (CFLAGS-tst-auditmod7b.c): Likewise.
31465 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31466
8517b15e
UD
314672011-02-02 Ulrich Drepper <drepper@gmail.com>
31468
31469 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31470 function to the callback.
31471 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31472
10a656fe
AS
314732011-02-02 Andreas Schwab <schwab@redhat.com>
31474
31475 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31476 of errno.
31477
968dad0a
UD
314782011-01-19 Ulrich Drepper <drepper@gmail.com>
31479
9f94d2ea 31480 [BZ #11724]
968dad0a
UD
31481 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31482 of constructors.
31483 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31484 of destructors.
31485 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31486
31487 [BZ #11724]
31488 * elf/Makefile: Add rules to build and run new test.
31489 * elf/tst-initorder.c: New file.
31490 * elf/tst-initorder.exp: New file.
31491 * elf/tst-initordera1.c: New file.
31492 * elf/tst-initordera2.c: New file.
31493 * elf/tst-initordera3.c: New file.
31494 * elf/tst-initordera4.c: New file.
31495 * elf/tst-initorderb1.c: New file.
31496 * elf/tst-initorderb2.c: New file.
31497 * elf/tst-order-a1.c: New file.
31498 * elf/tst-order-a2.c: New file.
31499 * elf/tst-order-a3.c: New file.
31500 * elf/tst-order-a4.c: New file.
31501 * elf/tst-order-b1.c: New file.
31502 * elf/tst-order-b2.c: New file.
31503 * elf/tst-order-main.c: New file.
31504 New test case by George Gensure <werkt0@gmail.com>.
31505
86e92359
UD
315062010-10-01 Andreas Schwab <schwab@redhat.com>
31507
31508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31509 decoding ACE if AI_CANONIDN.
31510
5d5732b0
UD
315112011-01-18 Ulrich Drepper <drepper@gmail.com>
31512
31513 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31514
a77e8cbc
UD
315152011-01-17 Ulrich Drepper <drepper@gmail.com>
31516
6392473f
UD
31517 * version.h (RELEASE): Bump for 2.13 release.
31518 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31519
620a0529
UD
31520 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31521
18ba70a5
UD
31522 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31523 MADV_NOHUGEPAGE.
32465c3e
UD
31524 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31525 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31526 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31527 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31528 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31529 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31530
c0dafcf1
UD
31531 * posix/getconf.c: Update copyright year.
31532 * catgets/gencat.c: Likewise.
31533 * csu/version.c: Likewise.
31534 * debug/catchsegv.sh: Likewise.
31535 * debug/xtrace.sh: Likewise.
31536 * elf/ldconfig.c: Likewise.
31537 * elf/ldd.bash.in: Likewise.
31538 * elf/sprof.c (print_version): Likewise.
31539 * iconv/iconv_prog.c: Likewise.
31540 * iconv/iconvconfig.c: Likewise.
31541 * locale/programs/locale.c: Likewise.
31542 * locale/programs/localedef.c: Likewise.
31543 * malloc/memusage.sh: Likewise.
31544 * malloc/mtrace.pl: Likewise.
31545 * nscd/nscd.c (print_version): Likewise.
31546 * nss/getent.c: Likewise.
31547
a77e8cbc
UD
31548 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31549 PF_CAIF, and PF_ALG.
31550 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31551
77e8bddf
AS
315522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31553
1f20b93a
AS
31554 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31555 (modules-names): Use them.
31556 (ifunc-test-modules, ifunc-pie-tests): Define.
31557 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31558 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31559 (test-extras): Likewise.
31560 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31561 $(compile-command.c).
31562 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31563 (all-built-dso): Define.
31564 (check-textrel.out, check-execstack.out): Depend on it.
31565
77e8bddf
AS
31566 * configure.in: Don't override --enable-multi-arch.
31567
bc425b33
UD
315682011-01-15 Ulrich Drepper <drepper@gmail.com>
31569
31570 [BZ #6812]
31571 * nscd/hstcache.c (tryagain): Define.
31572 (cache_addhst): Return tryagain not notfound for temporary errors.
31573 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31574 failed.
31575
794c3ad3
UD
315762011-01-14 Ulrich Drepper <drepper@gmail.com>
31577
70181fdd
UD
31578 [BZ #10563]
31579 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31580 to make the syscall.
31581 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31582
794c3ad3
UD
31583 [BZ #12378]
31584 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31585 and fall back to matching as normal character if the string ends before
31586 the matching ']' is found. This is what POSIX requires.
31587 * posix/testfnm.c: Adjust test result.
31588 * posix/globtest.sh: Adjust test result. Add new test.
31589 * posix/tst-fnmatch.input: Likewise.
31590 * posix/tst-fnmatch2.c: Add new test.
31591
68dc9497
AS
315922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31593
31594 * elf/Makefile (check-execstack): Revert last change. Depend on
31595 check-execstack.h.
31596 (check-execstack.h): New target.
31597 (generated): Add check-execstack.h.
31598 * elf/check-execstack.c: Include "check-execstack.h".
31599 (main): Revert last change.
31600 (handle_file): Return zero if GNU_STACK is absent and
31601 DEFAULT_STACK_PERMS doesn't include PF_X.
31602
451f001b
UD
316032011-01-13 Ulrich Drepper <drepper@gmail.com>
31604
cfa28e56
UD
31605 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31606 in child fails because the descriptor is already closed.
8cf8ce17
UD
31607 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31608 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31609 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 31610
1086d70d
UD
31611 [BZ #12397]
31612 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31613 syscall.
31614
451f001b
UD
31615 [BZ #10484]
31616 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31617 temporary buffer used to handle multi lookups locally.
a85b5cb4 31618 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 31619
08769175
UD
316202011-01-12 Ulrich Drepper <drepper@gmail.com>
31621
31622 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31623 loader is ld.so.
31624
5e49c52e
UD
316252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31626
31627 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31628 alignment for SSE2.
31629
60522a5f
UD
316302011-01-12 Ulrich Drepper <drepper@gmail.com>
31631
31632 [BZ #12394]
31633 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31634 characters. When rounding increased number of integer digits recompute
31635 number of groups.
31636 * stdio-common/tst-grouping.c: New file.
31637 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31638
f257bbd7
UD
316392011-01-09 Ulrich Drepper <drepper@gmail.com>
31640
31641 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31642 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31643
31644 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31645 void.
31646 * bits/select.h: Likewise.
31647
fa9c15cb
UD
316482011-01-08 Ulrich Drepper <drepper@gmail.com>
31649
31650 * po/ja.po: Update from translation team.
31651
16c2895f
DM
316522011-01-04 David S. Miller <davem@sunset.davemloft.net>
31653
31654 [BZ #11155]
31655 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31656 implementation just like for lxstat, fxstatat, et al.
31657
2543fef2
JM
316582010-12-27 Jim Meyering <meyering@redhat.com>
31659
31660 [BZ #12348]
31661 * posix/regexec.c (build_trtable): Return failure indication upon
31662 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31663
98727dbe
UD
316642010-12-25 Ulrich Drepper <drepper@gmail.com>
31665
5bd6dc5c
UD
31666 [BZ #12201]
31667 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31668 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31669 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31671
97983464
UD
31672 [BZ #12207]
31673 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31674
98727dbe
UD
31675 [BZ #12204]
31676 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31677 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31678
4a531bb0
L
316792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31680
31681 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31682 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31683 script has SORT_BY_INIT_PRIORITY.
31684 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31685 NO_CTORS_DTORS_SECTIONS is defined.
31686 * elf/soinit.c: Likewise.
31687 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31688 NO_CTORS_DTORS_SECTIONS is defined.
31689 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31690 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31691 * sysdeps/sh/init-first.c: Likewise.
31692 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31693
07eb4b71
UD
316942010-12-24 Ulrich Drepper <drepper@gmail.com>
31695
31696 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31697 always use the slow path.
31698
30950a5f
RA
316992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31700
31701 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31702 similar rule which adds the sysdep directories to the header search in
31703 order to pick up the correct platform stackinfo.h.
31704 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31705 perform test if it is, otherwise return successfully without testing.
31706 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31707 DEFAULT_STACK_PERMS define in stackinfo.h.
31708 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31709 defined in stackinfo.h.
31710 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31711 DEFAULT_STACK_PERMS defined in stackinfo.h.
31712 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31713 * sysdeps/ia64/stackinfo.h: Likewise.
31714 * sysdeps/s390/stackinfo.h: Likewise.
31715 * sysdeps/sh/stackinfo.h: Likewise.
31716 * sysdeps/sparc/stackinfo.h: Likewise.
31717 * sysdeps/x86_64/stackinfo.h: Likewise.
31718 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31719 PF_X for powerpc64. Retain PF_X for powerpc32.
31720
db753e2c
UD
317212010-12-19 Ulrich Drepper <drepper@gmail.com>
31722
14b697f7
UD
31723 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31724 accurately.
db753e2c
UD
31725 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31726 GETDENTS_64BIT_ALIGNED.
31727
28300719
UD
317282010-12-14 Ulrich Drepper <dreper@gmail.com>
31729
14b697f7 31730 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 31731
4f197237
AS
317322010-12-10 Andreas Schwab <schwab@redhat.com>
31733
dbb0472f
AS
31734 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31735 _GNU_SOURCE.
31736
4f197237
AS
31737 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31738 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31739 Remove __restrict.
31740 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31741 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31742
fb88ac72
UD
317432010-12-09 Ulrich Drepper <drepper@gmail.com>
31744
31745 [BZ #11655]
31746 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31747 are initialized.
31748
42acbb92
JJ
317492010-12-09 Jakub Jelinek <jakub@redhat.com>
31750
31751 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31752
c038d98d
UD
317532010-12-03 Ulrich Drepper <drepper@gmail.com>
31754
31755 * po/it.po: Update from translation team.
31756
3a4a2499
L
317572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31758
31759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31760 unused codes.
31761
1e24cf6e
UD
317622010-11-30 Ulrich Drepper <drepper@gmail.com>
31763
31764 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31765
a7690819
AS
317662010-11-24 Andreas Schwab <schwab@redhat.com>
31767
31768 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31769 specially.
31770 (gaih_getanswer_slice): Likewise.
31771
3bf8d1b1
JJ
317722010-10-20 Jakub Jelinek <jakub@redhat.com>
31773
31774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31775
6db52fbb
PB
317762010-05-31 Petr Baudis <pasky@suse.cz>
31777
31778 [BZ #11149]
31779 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31780 silently even in the chroot mode.
31781
eaca7569
UD
317822010-11-22 Ulrich Drepper <drepper@gmail.com>
31783
31784 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31785 last patch a bit. Pretty printing
31786
3056dcdb
UD
317872010-05-31 Petr Baudis <pasky@suse.cz>
31788
31789 [BZ #10085]
31790 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31791 initialization of skip_initgroups_dyn.
31792
cf7c9078
UD
317932010-11-19 Ulrich Drepper <drepper@gmail.com>
31794
31795 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31796 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31797
a1fb5e3e
UD
317982010-11-16 Ulrich Drepper <drepper@gmail.com>
31799
31800 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31801
3540d66b
AS
318022010-11-11 Andreas Schwab <schwab@redhat.com>
31803
31804 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31805 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31806 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31807 ($(objpfx)tst-fnmatch-mem): New rule.
31808 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31809 * posix/tst-fnmatch.c (main): Call mtrace.
31810
13b69574
L
318112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31812
31813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31814 Support Intel processor model 6 and model 0x2c.
31815
da93d214
LM
318162010-11-10 Luis Machado <luisgpm@br.ibm.com>
31817
31818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31819 signed comparison.
31820
8ca52c6e
L
318212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31822
31823 [BZ #12205]
31824 * string/test-strncasecmp.c (check_result): New function.
31825 (do_one_test): Use it.
31826 (check1): New function.
31827 (test_main): Use it.
31828 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31829 Support strcasecmp and strncasecmp.
31830
69da074d
UD
318312010-11-08 Ulrich Drepper <drepper@gmail.com>
31832
31833 [BZ #12194]
31834 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31835 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31836
ff02d528
L
318372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31840 IFUNC support.
31841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31842 memset-x86-64.
31843 * sysdeps/x86_64/multiarch/bzero.S: New file.
31844 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31845 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31846 * sysdeps/x86_64/multiarch/memset.S: New file.
31847 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31849 Set bit_Prefer_SSE_for_memop for Intel processors.
31850 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31851 Define.
31852 (index_Prefer_SSE_for_memop): Define.
31853 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31854
344d0b54
LM
318552010-11-04 Luis Machado <luisgpm@br.ibm.com>
31856
31857 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31858 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31859
c0dde15b
UD
318602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31861
31862 [BZ #12191]
31863 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31864 (__x86_64_raw_data_cache_size_half): Likewise.
31865 (__x86_64_raw_shared_cache_size): Likewise.
31866 (__x86_64_raw_shared_cache_size_half): Likewise.
31867
31868 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31869 (__x86_64_raw_data_cache_size_half): Likewise.
31870 (__x86_64_raw_shared_cache_size): Likewise.
31871 (__x86_64_raw_shared_cache_size_half): Likewise.
31872 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31873 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31874 and __x86_64_raw_shared_cache_size_half. Round
31875 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31876 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31877 to multiple of 256 bytes.
31878
0e516e0e
MS
318792010-11-03 Ulrich Drepper <drepper@gmail.com>
31880
31881 [BZ #12167]
31882 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31883 of inacessible symlinks. Verify result of symlink before returning it.
31884 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31885 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31886
0e012e87
ER
318872010-10-28 Erich Ritz <erichritz@gmail.com>
31888
31889 * math/math.h (isinf): Fix typo in comment.
31890
de0ff7bc
UD
318912010-11-01 Ulrich Drepper <drepper@gmail.com>
31892
31893 * po/da.po: Update from translation team.
31894
fa41c84d
UD
318952010-10-26 Ulrich Drepper <drepper@gmail.com>
31896
31897 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31898 is added to the list.
31899
f0967738
AK
319002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31901 Ulrich Drepper <drepper@gmail.com>
31902
31903 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31904 the global list here. Move code to...
31905 (_dl_add_to_namespace_list): ...here. New function.
31906 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31907 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31908 * elf/dl-load.c (lose): Don't remove the element from the list.
31909 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31910 (_dl_map_object): Likewise.
31911
319122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31913
31914 [BZ #12159]
31915 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31916 into all bytes of SSE register.
31917 Patch by Richard Li <richardpku@gmail.com>.
31918
f0967738 319192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31920
31921 [BZ #12140]
31922 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31923 perturbing.
31924
d0b9e94f
MB
319252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31926
31927 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31928 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31929 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31930 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31932 submachine.
31933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31934
8e9f92e9
AS
319352010-10-22 Andreas Schwab <schwab@redhat.com>
31936
31937 * include/dlfcn.h (__RTLD_SECURE): Define.
31938 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31939 mode & __RTLD_SECURE instead.
31940 (open_path): Rename preloaded parameter to secure.
31941 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31942 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31943 * elf/dl-deps.c (openaux): Likewise.
31944 * elf/rtld.c (struct map_args): Remove is_preloaded.
31945 (map_doit): Don't use it.
31946 (dl_main): Likewise.
31947 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31948 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31949
bc96fbda
AS
319502010-09-09 Andreas Schwab <schwab@redhat.com>
31951
31952 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31953 (sysd-rules-targets): Remove duplicates.
31954 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31955 rtld-%.$o dependency.
31956
22cd1c9b
AS
319572010-10-18 Andreas Schwab <schwab@redhat.com>
31958
31959 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31960 _dl_map_object do it.
31961
18edac48
UD
319622010-10-19 Ulrich Drepper <drepper@gmail.com>
31963
31964 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31965 fast fma builtins, define the macros in the C99 standard.
31966 (FP_FAST_FMAF): Likewise.
31967 (FP_FAST_FMAL): Likewise.
31968 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31969
31970 * bits/mathdef.h: Update copyright year.
31971 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31972
d2050124
MM
319732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31974
31975 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31976 builtins, define the macros in the C99 standard.
31977 (FP_FAST_FMAF): Likewise.
31978 (FP_FAST_FMAL): Likewise.
31979 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31980 multiply/add.
31981 (FP_FAST_FMAF): Likewise.
31982
475facd1
JJ
319832010-10-15 Jakub Jelinek <jakub@redhat.com>
31984
31985 [BZ #3268]
31986 * math/libm-test.inc (fma_test): Some new testcases.
31987 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31989 y and infinite z. Do multiplication by C already in long double.
31990 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31992 y and infinite z. Do bitwise or of inexact bit into u.d.
31993 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31994 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31995 * sysdeps/i386/fpu/s_fma.S: Removed.
31996 * sysdeps/i386/fpu/s_fmal.S: Removed.
31997
7c08a05c
JJ
319982010-10-16 Jakub Jelinek <jakub@redhat.com>
31999
32000 [BZ #3268]
32001 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32003 computation is not scheduled after fetestexcept. Fix value
32004 of minimum denormal long double.
32005
f3f7372d
JJ
320062010-10-14 Jakub Jelinek <jakub@redhat.com>
32007
32008 [BZ #3268]
32009 * math/libm-test.inc (fma_test): Add some more tests.
32010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32011 correctly.
32012
14d43591
AS
320132010-10-15 Andreas Schwab <schwab@redhat.com>
32014
32015 * scripts/data/localplt-s390-linux-gnu.data: New file.
32016 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32017
5e908464
JJ
320182010-10-13 Jakub Jelinek <jakub@redhat.com>
32019
32020 [BZ #3268]
32021 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32022 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32023 instead of dbl-64.
32024 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32025 inlines.
32026 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32028 if one of x and y is very large and the other is subnormal.
32029 * sysdeps/s390/fpu/s_fmaf.c: New file.
32030 * sysdeps/s390/fpu/s_fma.c: New file.
32031 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32032 * sysdeps/powerpc/fpu/s_fma.S: New file.
32033 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32034 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32035 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32036
320372010-10-12 Jakub Jelinek <jakub@redhat.com>
32038
32039 [BZ #3268]
32040 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32041 fma tests.
32042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32043 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32044 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32045 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32046 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32047 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32048 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32049
b833d51f
UD
320502010-10-12 Ulrich Drepper <drepper@redhat.com>
32051
32052 [BZ #12078]
32053 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32054 * posix/bug-regex31.input: Add test case.
32055
1751705d
UD
320562010-10-11 Ulrich Drepper <drepper@gmail.com>
32057
e9b9cbf5
UD
32058 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32059 * posix/bug-regex31.input: New file.
32060
32061 [BZ #12078]
32062 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32063 (parse_sub_exp): Fix last change, use postorder.
32064
ef06edbe
UD
32065 * posix/bug-regex31.c: New file.
32066 * posix/Makefile: Add rules to build and run bug-regex31.
32067
a129c80d
UD
32068 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32069
32070 [BZ #12078]
32071 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32072
b76b818e
UD
32073 [BZ #12108]
32074 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32075 to have entries in sys_siglist.
32076
1751705d
UD
32077 [BZ #12093]
32078 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32079 be NULL.
32080
9ff8d36f
JJ
320812010-10-07 Jakub Jelinek <jakub@redhat.com>
32082
32083 [BZ #3268]
32084 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32085 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32086 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32087 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32088 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32089 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32090 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32091 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32092 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32093 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32094 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32095 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32096 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32097 * math/ftestexcept.c (fetestexcept): Likewise.
32098 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32099 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32100 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32101 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32102 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32103 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32104 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32105
af325969
UD
321062010-10-11 Ulrich Drepper <drepper@gmail.com>
32107
c579b202 32108 [BZ #12107]
af325969
UD
32109 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32110 newline.
32111
67a67b95
UD
321122010-10-06 Ulrich Drepper <drepper@gmail.com>
32113
32114 * string/bug-strstr1.c: New file.
32115 * string/Makefile: Add rules to build and run bug-strstr1.
32116
5fb308bc
EB
321172010-10-05 Eric Blake <eblake@redhat.com>
32118
32119 [BZ #12092]
32120 * string/str-two-way.h (two_way_long_needle): Always clear memory
32121 when skipping input due to the shift table.
32122
45db99c7
UD
321232010-10-03 Ulrich Drepper <drepper@gmail.com>
32124
3b111893
UD
32125 [BZ #12005]
32126 * malloc/mcheck.c: Handle large requests.
32127
45db99c7
UD
32128 [BZ #12077]
32129 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32130 for strncmp and strncasecmp.
32131 * string/stratcliff.c: Add tests for strcmp and strncmp.
32132 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32133
cf7a1eb8
NI
321342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32135
32136 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32137 __set_fpscr.
32138
6484ba5e
AJ
321392010-09-30 Andreas Jaeger <aj@suse.de>
32140
32141 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32142 (CGROUP_SUPER_MAGIC): Define.
32143 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32144 Handle btrfs and cgroup file systems.
32145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32146 Likewise.
32147
91c42559
LM
321482010-09-27 Luis Machado <luisgpm@br.ibm.com>
32149
32150 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32151 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32152
87a97932
AK
321532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32154
32155 [BZ #12067]
32156 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32157 trying to locate the ELF header.
32158
c21cc9bc
AS
321592010-09-27 Andreas Schwab <schwab@redhat.com>
32160
32161 [BZ #11611]
32162 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32163 Mask out sign-bit copies when constructing f_fsid.
32164
315970f6
PB
321652010-09-24 Petr Baudis <pasky@suse.cz>
32166
32167 * debug/stack_chk_fail_local.c: Add missing licence exception.
32168 * debug/warning-nop.c: Likewise.
32169
1ac7a2c7
JM
321702010-09-15 Joseph Myers <joseph@codesourcery.com>
32171
32172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32173 implementing getdents64 using getdents syscall, set d_type if
32174 __ASSUME_GETDENTS32_D_TYPE.
32175
56801c50
AS
321762010-09-16 Andreas Schwab <schwab@redhat.com>
32177
32178 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32179 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32180
dda51327
UD
321812010-09-21 Ulrich Drepper <drepper@redhat.com>
32182
32183 [BZ #12037]
32184 * posix/unistd.h: Undo change of feature selection for ftruncate from
32185 2010-01-11.
32186
8ffcee4a
UD
321872010-09-20 Ulrich Drepper <drepper@redhat.com>
32188
a545ecd9 32189 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32190 detection.
32191
e24f0a8b
AS
321922010-09-20 Andreas Schwab <schwab@redhat.com>
32193
32194 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32195 fanotify_mark.
32196 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32197
7291c56f
AS
321982010-09-14 Andreas Schwab <schwab@redhat.com>
32199
32200 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32201 variables after CHECK_SP call.
32202 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32203
bc5fb037
AS
322042010-09-13 Andreas Schwab <schwab@redhat.com>
32205 Ulrich Drepper <drepper@redhat.com>
32206
32207 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32208 re-relocationg ld.so.
32209 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32210 _dl_init_paths call.
32211 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32212 here anymore.
32213
e66e7419
UD
322142010-09-14 Ulrich Drepper <drepper@redhat.com>
32215
32216 * resolv/res_init.c (__res_vinit): Count the default server we added.
32217
c044aa75
CLT
322182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32219 Ulrich Drepper <drepper@redhat.com>
32220
32221 [BZ #11968]
32222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32223 (____longjmp_chk): Use %ebx for saving value across system call.
32224 Add unwind info.
32225
32cf4069
AS
322262010-09-06 Andreas Schwab <schwab@redhat.com>
32227
32228 * manual/Makefile: Don't mix pattern rules with normal rules.
32229
817328ee
AS
322302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32231
32232 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32233 operation.
32234 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32235 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32236 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32237 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32239 Likewise.
32240
29fddf61
UD
322412010-09-04 Ulrich Drepper <drepper@redhat.com>
32242
32243 [BZ #11979]
32244 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32245 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32246
0959ffc9
UD
322472010-09-02 Ulrich Drepper <drepper@redhat.com>
32248
32249 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32250 * sysdeps/x86_64/addmul_1.S: Likewise.
32251 * sysdeps/x86_64/lshift.S: Likewise.
32252 * sysdeps/x86_64/mul_1.S: Likewise.
32253 * sysdeps/x86_64/rshift.S: Likewise.
32254 * sysdeps/x86_64/sub_n.S: Likewise.
32255 * sysdeps/x86_64/submul_1.S: Likewise.
32256
ece29840
ST
322572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32258
0959ffc9
UD
32259 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32260 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32261 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32262 * bits/sched.h [__need_schedparam]
ece29840 32263 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32264 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32265 (__defined_schedparam): Define to 1.
ece29840
ST
32266 (__sched_param): New structure, identical to sched_param.
32267 (__need_schedparam): Undefine.
32268
e53a31fe
MF
322692010-08-31 Mike Frysinger <vapier@gentoo.org>
32270
fdc0c10d
MF
32271 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32272 (epoll_create1): Declare.
32273
e53a31fe
MF
32274 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32275
a726d796
AS
322762010-08-31 Andreas Schwab <schwab@redhat.com>
32277
32278 [BZ #7066]
32279 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32280 shifting retval into place.
32281
2f3e3dc7
UD
322822010-09-01 Ulrich Drepper <drepper@redhat.com>
32283
f2933da9
UD
32284 * nis/rpcsvc/nis.h: Update copyright notice.
32285 * nis/rpcsvc/nis.x: Likewise.
32286 * nis/rpcsvc/nis_callback.h: Likewise.
32287 * nis/rpcsvc/nis_callback.x: Likewise.
32288 * nis/rpcsvc/nis_object.x: Likewise.
32289 * nis/rpcsvc/nis_tags.h: Likewise.
32290 * nis/rpcsvc/yp.h: Likewise.
32291 * nis/rpcsvc/yp.x: Likewise.
32292 * nis/rpcsvc/ypupd.h: Likewise.
32293 * nis/yp_xdr.c: Likewise.
32294 * nis/ypupdate_xdr.c: Likewise.
32295
2f3e3dc7
UD
32296 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32297 mainly the body of pmap_getport. Add parameters to specify timeouts.
32298 (pmap_getport): Use __libc_rpc_getport.
32299 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32300 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32301 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32302
f3dcc2f9
AS
323032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32304
32305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32306 fanotify_mark.
32307
6d34eb5b
RM
323082010-08-27 Roland McGrath <roland@redhat.com>
32309
32310 * sysdeps/i386/i686/multiarch/Makefile
32311 (CFLAGS-varshift.c): New variable.
32312
9ea3de11
UD
323132010-08-27 Ulrich Drepper <drepper@redhat.com>
32314
c96d23fc
UD
32315 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32316 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32317
9ea3de11
UD
32318 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32319
32320 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32321
623aac7f
L
323222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32323
32324 * sysdeps/x86_64/strlen.S: Unroll the loop.
32325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32326 strlen-sse2 strlen-sse2-bsf.
32327 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32328 __strlen_no_bsf if bit_Slow_BSF is set.
32329 (__strlen_sse42): Removed.
32330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32331 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32332
8b2b7715
RM
323332010-08-25 Roland McGrath <roland@redhat.com>
32334
32335 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32336 * sysdeps/x86_64/multiarch/varshift.c: New file.
32337 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32338 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32339 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32340 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32341
e73015f2
L
323422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32343
32344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32345 strlen-sse2 strlen-sse2-bsf.
32346 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32347 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32348 (__strlen_sse2): Removed.
32349 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32352 bit_Slow_BSF for Atom.
32353 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32354 (index_Slow_BSF): Define.
32355 (HAS_SLOW_BSF): Define.
32356
df24a73e
UD
323572010-08-25 Ulrich Drepper <drepper@redhat.com>
32358
32359 [BZ #10851]
32360 * resolv/res_init.c (__res_vinit): When no server address at all
32361 is given default to loopback.
32362
f2ac4868
RM
323632010-08-24 Roland McGrath <roland@redhat.com>
32364
09055553
RM
32365 * configure.in: Remove config-name.h generation.
32366 * configure: Regenerated.
32367 * config-name.in: File removed.
32368 * scripts/config-uname.sh: New file.
32369 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32370 ($(objdir)config-name.h): New target.
32371
f2ac4868
RM
32372 * sunrpc/rpc_parse.h: Avoid nested comment.
32373
73f27d5e
RH
323742010-08-24 Richard Henderson <rth@redhat.com>
32375 Ulrich Drepper <drepper@redhat.com>
32376 H.J. Lu <hongjiu.lu@intel.com>
32377
32378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32380 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32381 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32382 _mm_alignr_epi8 with _mm_loadu_si128.
32383 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32384 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32385 (__m128i_shift_right): Removed.
32386 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32387 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32388 * sysdeps/x86_64/multiarch/varshift.h: New file.
32389 * sysdeps/x86_64/multiarch/varshift.S: New file.
32390
84b9230c
MF
323912010-08-21 Mike Frysinger <vapier@gentoo.org>
32392
32393 * configure.in: Move assembler checks to before sysdep dir checking.
32394
9bbd0ddc
PB
323952010-08-20 Petr Baudis <pasky@suse.cz>
32396
32397 * LICENSES: Sync the sunrpc license.
32398
9da4bb31
UD
323992010-08-19 Ulrich Drepper <drepper@redhat.com>
32400
a7ab6ec8
UD
32401 * sunrpc/auth_des.c: Update copyright notice once again.
32402 * sunrpc/auth_none.c: Likewise.
32403 * sunrpc/auth_unix.c: Likewise.
32404 * sunrpc/authdes_prot.c: Likewise.
32405 * sunrpc/authuxprot.c: Likewise.
32406 * sunrpc/bindrsvprt.c: Likewise.
32407 * sunrpc/clnt_gen.c: Likewise.
32408 * sunrpc/clnt_perr.c: Likewise.
32409 * sunrpc/clnt_raw.c: Likewise.
32410 * sunrpc/clnt_simp.c: Likewise.
32411 * sunrpc/clnt_tcp.c: Likewise.
32412 * sunrpc/clnt_udp.c: Likewise.
32413 * sunrpc/clnt_unix.c: Likewise.
32414 * sunrpc/des_crypt.c: Likewise.
32415 * sunrpc/des_soft.c: Likewise.
32416 * sunrpc/get_myaddr.c: Likewise.
32417 * sunrpc/getrpcport.c: Likewise.
32418 * sunrpc/key_call.c: Likewise.
32419 * sunrpc/key_prot.c: Likewise.
32420 * sunrpc/openchild.c: Likewise.
32421 * sunrpc/pm_getmaps.c: Likewise.
32422 * sunrpc/pm_getport.c: Likewise.
32423 * sunrpc/pmap_clnt.c: Likewise.
32424 * sunrpc/pmap_prot.c: Likewise.
32425 * sunrpc/pmap_prot2.c: Likewise.
32426 * sunrpc/pmap_rmt.c: Likewise.
32427 * sunrpc/rpc/auth.h: Likewise.
32428 * sunrpc/rpc/auth_unix.h: Likewise.
32429 * sunrpc/rpc/clnt.h: Likewise.
32430 * sunrpc/rpc/des_crypt.h: Likewise.
32431 * sunrpc/rpc/key_prot.h: Likewise.
32432 * sunrpc/rpc/netdb.h: Likewise.
32433 * sunrpc/rpc/pmap_clnt.h: Likewise.
32434 * sunrpc/rpc/pmap_prot.h: Likewise.
32435 * sunrpc/rpc/pmap_rmt.h: Likewise.
32436 * sunrpc/rpc/rpc.h: Likewise.
32437 * sunrpc/rpc/rpc_des.h: Likewise.
32438 * sunrpc/rpc/rpc_msg.h: Likewise.
32439 * sunrpc/rpc/svc.h: Likewise.
32440 * sunrpc/rpc/svc_auth.h: Likewise.
32441 * sunrpc/rpc/types.h: Likewise.
32442 * sunrpc/rpc/xdr.h: Likewise.
32443 * sunrpc/rpc_clntout.c: Likewise.
32444 * sunrpc/rpc_cmsg.c: Likewise.
32445 * sunrpc/rpc_common.c: Likewise.
32446 * sunrpc/rpc_cout.c: Likewise.
32447 * sunrpc/rpc_dtable.c: Likewise.
32448 * sunrpc/rpc_hout.c: Likewise.
32449 * sunrpc/rpc_main.c: Likewise.
32450 * sunrpc/rpc_parse.c: Likewise.
32451 * sunrpc/rpc_parse.h: Likewise.
32452 * sunrpc/rpc_prot.c: Likewise.
32453 * sunrpc/rpc_sample.c: Likewise.
32454 * sunrpc/rpc_scan.c: Likewise.
32455 * sunrpc/rpc_scan.h: Likewise.
32456 * sunrpc/rpc_svcout.c: Likewise.
32457 * sunrpc/rpc_tblout.c: Likewise.
32458 * sunrpc/rpc_util.c: Likewise.
32459 * sunrpc/rpc_util.h: Likewise.
32460 * sunrpc/rpcinfo.c: Likewise.
32461 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32462 * sunrpc/rpcsvc/key_prot.x: Likewise.
32463 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32464 * sunrpc/rpcsvc/mount.x: Likewise.
32465 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32466 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32467 * sunrpc/rpcsvc/rex.x: Likewise.
32468 * sunrpc/rpcsvc/rstat.x: Likewise.
32469 * sunrpc/rpcsvc/rusers.x: Likewise.
32470 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32471 * sunrpc/rpcsvc/spray.x: Likewise.
32472 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32473 * sunrpc/rtime.c: Likewise.
32474 * sunrpc/svc.c: Likewise.
32475 * sunrpc/svc_auth.c: Likewise.
32476 * sunrpc/svc_authux.c: Likewise.
32477 * sunrpc/svc_raw.c: Likewise.
32478 * sunrpc/svc_run.c: Likewise.
32479 * sunrpc/svc_simple.c: Likewise.
32480 * sunrpc/svc_tcp.c: Likewise.
32481 * sunrpc/svc_udp.c: Likewise.
32482 * sunrpc/svc_unix.c: Likewise.
32483 * sunrpc/svcauth_des.c: Likewise.
32484 * sunrpc/xcrypt.c: Likewise.
32485 * sunrpc/xdr.c: Likewise.
32486 * sunrpc/xdr_array.c: Likewise.
32487 * sunrpc/xdr_float.c: Likewise.
32488 * sunrpc/xdr_mem.c: Likewise.
32489 * sunrpc/xdr_rec.c: Likewise.
32490 * sunrpc/xdr_ref.c: Likewise.
32491 * sunrpc/xdr_sizeof.c: Likewise.
32492 * sunrpc/xdr_stdio.c: Likewise.
32493
9da4bb31
UD
32494 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32495 handling.
32496
bdaa77bc
AS
324972010-08-19 Andreas Schwab <schwab@redhat.com>
32498
32499 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32500
fe2f79db
LM
325012010-08-19 Luis Machado <luisgpm@br.ibm.com>
32502
32503 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32504 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32505 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32506 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32507 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32508 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32509 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32510 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32511 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32512 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32513 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32514 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32515 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32516 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32517
b9b42ee0
AB
325182010-07-26 Anton Blanchard <anton@samba.org>
32519
32520 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32521 * malloc/arena.c (heap_trim): Likewise.
32522
1c06ba31
UD
325232010-08-16 Ulrich Drepper <drepper@redhat.com>
32524
32525 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32526 here. Not...
32527 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32528 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32529
f8392f40
L
325302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32531
32532 * sysdeps/i386/elf/Makefile: New file.
32533
3162f12e
AS
325342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32535
32536 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32537 from fanotify_init.
32538 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32539 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32540
28c90b2c
UD
325412010-08-15 Ulrich Drepper <drepper@redhat.com>
32542
32543 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32544 of strncasecmp_l.
1feccb6c 32545 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 32546
ca6bb004
UD
325472010-08-14 Ulrich Drepper <drepper@redhat.com>
32548
e9f82e0d
UD
32549 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32550 strncase_l-nonascii.
32551 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32552 Add strncase_l-ssse3.
32553 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32554 * sysdeps/x86_64/strcmp.S: Likewise.
32555 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32556 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32557 * sysdeps/x86_64/strncase.S: New file.
32558 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32559 * sysdeps/x86_64/strncase_l.S: New file.
32560 * string/Makefile (strop-tests): Add strncasecmp.
32561 * string/test-strncasecmp.c: New file.
32562
32563 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32564 warning.
32565
ca6bb004
UD
32566 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32567 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32568
052fa7b3
AS
325692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32570
32571 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32572
962dba78
UD
325732010-08-12 Ulrich Drepper <drepper@redhat.com>
32574
32575 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32576 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32577 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32578
bebff237
AM
325792010-05-01 Alan Modra <amodra@gmail.com>
32580
32581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32582 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32583 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32584 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32585 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32586 tidying. Don't tail-call __sigjmp_save for static lib.
32587 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32588 save location.
32589 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32590 (CALL_MCOUNT): Add eh info, and nop after bl.
32591 (TAIL_CALL_SYSCALL_ERROR): New macro.
32592 (PSEUDO_RET): Use it.
32593 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32594 Correct save location of integer regs and cr.
32595 (_dl_profile_resolve): Correct cr save location. Delete nops
32596 after bl when SHARED. Reduce cfi size a little by better
32597 placement of cfi directives.
32598 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32599 make a stack frame. Instead use parm save area as a temp.
32600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32601 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32603 Don't make a stack frame for parent, use parm save area.
32604 Increase child stack frame to 112 bytes. Don't save unused reg,
32605 and adjust reg usage. Set up cfi on error recovery and
32606 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32608 (__makecontext): Add dummy nop after jump to exit.
32609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32610 Use correct parm save area and cr save, reduce stack frame.
32611 Correct cfi for possible PSEUDO_RET frame setup.
32612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32613 Branch to local label emitted by PSEUDO_RET rather than
32614 __syscall_error.
32615
02637374
AS
326162010-08-12 Andreas Schwab <schwab@redhat.com>
32617
32618 [BZ #11904]
32619 * locale/programs/locale.c (print_assignment): New function.
32620 (show_locale_vars): Use it.
32621
c3e2f19b
UD
326222010-08-11 Ulrich Drepper <drepper@redhat.com>
32623
3cdaa6ad
UD
32624 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32625 field.
32626 (struct statfs64): Likewise.
32627 (_STATFS_F_FLAGS): Define.
32628 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32629 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32630 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32631 (ST_VALID): Define locally.
32632 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32633 __statvfs_getflags, use the provided value.
32634 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32635 __ASSUME_STATFS_F_FLAGS.
32636
754f7da3
UD
32637 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32638
10b3bedc
UD
32639 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32640 Add sys/fanotify.h.
32641 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32642 fanotify_mask for GLIBC_2.13.
32643 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32644 fanotify_init and fanotify_mark.
32645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32646 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32647
c08fb0d7
UD
32648 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32649 Add prlimit.
32650 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32651 prlimit64 for GLIBC_2.13.
32652 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32653 prlimit64.
32654 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32655 syscall.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32657 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32658 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32659 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32660 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32661 add prlimit alias.
32662 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32663
15bac72b
UD
32664 [BZ #11903]
32665 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32666 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32667
c3e2f19b
UD
32668 * nss/Makefile: Add rules to build and run tst-nss-test1.
32669 * shlib-versions: Add entry for libnss_test1.
32670 * nss/nss_test1.c: New file.
32671 * nss/tst-nss-test1.c: New file.
32672
32673 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32674 (__nss_configure_lookup): Set appropriate entry in
32675 __nss_configure_lookup to true.
32676 * nss/nsswitch.h: Define enum with indeces of databases in
32677 databases and __nss_database_custom arrays. Declare
32678 __nss_database_custom.
32679 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32680 to avoid using nscd when custom rules are installed.
32681 * nss/getXXbyYY_r.c: Likewise.
32682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32683
32684 * nss/nss_files/files-parse.c: Whitespace fixes.
32685
f15ce4d8
UD
326862010-08-09 Ulrich Drepper <drepper@redhat.com>
32687
32688 [BZ #11883]
32689 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32690 * posix/fnmatch_loop.c: Likewise.
32691
d22e4cc9
AK
326922010-07-17 Andi Kleen <ak@linux.intel.com>
32693
32694 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32695 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32696 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32697 * Versions.def [GLIBC_2.13]: Add.
32698
805bc17d
UD
326992010-08-06 Ulrich Drepper <drepper@redhat.com>
32700
32701 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32702 Also fail if tpwd after pwuid call is NULL.
32703
5a42321d
ST
327042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32705
32706 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32707 when converting to ms.
32708
fd3ebeda
ST
327092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32710
32711 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32712 EOPNOTSUPP errors with ENOTTY.
32713 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32714 EOPNOTSUPP errors with ENOTTY.
32715
73507d3a
UD
327162010-07-31 Ulrich Drepper <drepper@redhat.com>
32717
32718 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32719 Add strcasecmp_l-ssse3.
32720 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32721 strcasecmp.
32722 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32723 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32724 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32725
fe36dd02
UD
327262010-07-30 Ulrich Drepper <drepper@redhat.com>
32727
66f6765a
UD
32728 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32729
42e08a54
UD
32730 * string/Makefile (strop-tests): Add strcasecmp.
32731 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32732 strcasecmp_l-nonascii.
32733 (gen-as-const-headers): Add locale-defines.sym.
32734 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32735 * sysdeps/x86_64/strcasecmp.S: New file.
32736 * sysdeps/x86_64/strcasecmp_l.S: New file.
32737 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32738 * sysdeps/x86_64/locale-defines.sym: New file.
32739 * string/test-strcasecmp.c: New file.
32740
fe36dd02
UD
32741 * string/test-strcasestr.c: Test both ends of the range of characters.
32742 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32743
48cbc0d6
RM
327442010-07-29 Roland McGrath <roland@redhat.com>
32745
76e6d6bc 32746 [BZ #11856]
48cbc0d6
RM
32747 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32748
880113d9
UD
327492010-07-27 Ulrich Drepper <drepper@redhat.com>
32750
32751 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32752 for ld.so.
32753
deb9cabb
AS
327542010-07-27 Andreas Schwab <schwab@redhat.com>
32755
32756 * manual/memory.texi (Malloc Tunable Parameters): Document
32757 M_PERTURB.
32758
1c7570ff
RM
327592010-07-26 Roland McGrath <roland@redhat.com>
32760
32761 [BZ #11840]
32762 * configure.in (-fgnu89-inline check): Set and substitute
32763 gnu89_inline, not libc_cv_gnu89_inline.
32764 * configure: Regenerated.
32765 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32766
24fb0f88
UD
327672010-07-26 Ulrich Drepper <drepper@redhat.com>
32768
32769 * string/test-strnlen.c: New file.
32770 * string/Makefile (strop-tests): Add strnlen.
32771 * string/tester.c (test_strnlen): Add a few more test cases.
32772 * string/tst-strlen.c: Better error reporting.
32773
32774 * sysdeps/x86_64/strnlen.S: New file.
32775
8e96b93a
UD
327762010-07-24 Ulrich Drepper <drepper@redhat.com>
32777
32778 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32779 lower-latency instructions.
32780
dbc676d4
UD
327812010-07-23 Ulrich Drepper <drepper@redhat.com>
32782
32783 * string/test-strcasestr.c: New file.
32784 * string/test-strstr.c: New file.
32785 * string/Makefile (strop-tests): Add strstr and strcasestr.
32786 * string/str-two-way.h: Don't undefine MAX.
32787 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32788
f6a31e0e
AS
327892010-07-21 Andreas Schwab <schwab@redhat.com>
32790
32791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32792 strcasestr-nonascii.
32793 (CFLAGS-strcasestr-nonascii.c): Define.
32794 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32796 Remove unused attribute.
32797
5dbc3b6c
RM
327982010-07-20 Roland McGrath <roland@redhat.com>
32799
32800 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32801 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32802 ld.so.cache was broken. With it, there is no way to disable dsocaps
32803 like LD_HWCAP_MASK can disable hwcaps.
32804
23d101d8
EPM
328052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32806
32807 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32808
cc9f2e47
UD
328092010-07-16 Ulrich Drepper <drepper@redhat.com>
32810
32811 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32812 call in strcasestr.
32813 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32814 __strcasestr_sse42_nonascii.
32815 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32816 strcasestr-nonascii.c.
32817 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32818
77c1b069
LM
328192010-06-15 Luis Machado <luisgpm@br.ibm.com>
32820
32821 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32822 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32823 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32824 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32825
440566c3
UD
328262010-07-09 Ulrich Drepper <drepper@redhat.com>
32827
32828 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32829 fcntl.
32830
5be9d05d
AS
328312010-07-06 Andreas Schwab <schwab@redhat.com>
32832
c30b7ee2 32833 [BZ #11577]
5be9d05d
AS
32834 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32835 dl_signal_cerror.
32836
8a492a67
UD
328372010-07-06 Ulrich Drepper <drepper@redhat.com>
32838
32839 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32840 _PC_PIPE_BUF using F_GETPIPE_SZ.
32841
713df3d5
RM
328422010-07-05 Roland McGrath <roland@redhat.com>
32843
32844 * manual/arith.texi (Rounding Functions): Fix rint description
32845 implicit in round description.
32846
702e8f14
UD
328472010-07-02 Ulrich Drepper <drepper@redhat.com>
32848
32849 * elf/Makefile: Fix linking for a few tests to make recent linker
32850 happy.
32851
52ed8be9
AS
328522010-06-30 Andreas Schwab <schwab@redhat.com>
32853
32854 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32855 $(common-objpfx)libc_nonshared.a.
32856
f47c9a11
LM
328572010-06-21 Luis Machado <luisgpm@br.ibm.com>
32858
32859 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32860 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32861 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32862 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32863 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32864 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32865 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32866 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32881 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32882 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32883 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32884 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32885 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32886 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32887 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32888 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32889 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32890 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32891 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32892 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32907
6fb8cbcb
L
329082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32909
32910 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32911 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32912 * string/memmove.c (memmove): Renamed to ...
32913 (MEMMOVE): ...this. Default to memmove.
32914 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32915 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32916 (END_CHK): Define.
32917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32918 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32919 mempcpy-ssse3-back memmove-ssse3-back.
32920 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32921 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32922 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32923 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32924 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32925 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32926 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32927 * sysdeps/x86_64/multiarch/memmove.c: New file.
32928 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32929 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32930 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32931 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32932 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32934 Define.
32935 (index_Fast_Copy_Backward): Define.
32936 (HAS_ARCH_FEATURE): Define.
32937 (HAS_FAST_REP_STRING): Define.
32938 (HAS_FAST_COPY_BACKWARD): Define.
32939
4e733bac 329402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32941
32942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32943 Restore proper fallback handling.
32944
63c4ed22
UD
329452010-06-19 Ulrich Drepper <drepper@redhat.com>
32946
ac2b484c
UD
32947 [BZ #11701]
32948 * posix/group_member.c (__group_member): Correct checking loop.
32949
63c4ed22
UD
32950 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32951 OOM in getpwuid_r correctly. Return error number when the caller
32952 should return, otherwise -1.
32953 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32954 call returning > 0 value.
32955 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32956
765ade4b
AS
329572010-06-07 Andreas Schwab <schwab@redhat.com>
32958
32959 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32960 libc_nonshared.a from targets in modules-names.
32961
80da2e09
KS
329622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32963
32964 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32965 requires it.
32966
158db122
LM
329672010-06-10 Luis Machado <luisgpm@br.ibm.com>
32968
32969 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32970 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32973
caa78cf8
AS
329742010-06-02 Andreas Schwab <schwab@redhat.com>
32975
32976 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32977
b2ef2c01
UD
329782010-06-14 Ulrich Drepper <drepper@redhat.com>
32979
32980 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32981 and F_GETPIPE_SZ.
32982 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32984 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32986 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32987 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32988
fbd643b6
RM
329892010-06-14 Roland McGrath <roland@redhat.com>
32990
32991 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32992
f32f2869
JJ
329932010-06-07 Jakub Jelinek <jakub@redhat.com>
32994
32995 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32996 __REDIRECT followed by __THROW.
32997 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32998 * posix/getopt.h (getopt): Likewise.
32999
2a50c078
EPM
330002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33001
33002 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33003 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33004 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33005 in AT_FLAGS.
33006 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33007 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33008
eb5ad2eb
LM
330092010-05-28 Luis Machado <luisgpm@br.ibm.com>
33010
33011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33012
3c88fe1e
L
330132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33014
33015 [BZ #11640]
33016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33017 Properly check family and model.
33018
d2f73151
TY
330192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33020
33021 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33022
ebd2e13d
LM
330232010-05-24 Luis Machado <luisgpm@br.ibm.com>
33024
33025 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33026
b32b8b45
UD
330272010-05-21 Ulrich Drepper <drepper@redhat.com>
33028
33029 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33030 symbol reference.
33031
9acbe24d
AS
330322010-05-19 Andreas Schwab <schwab@redhat.com>
33033
33034 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33035 symbol reference.
33036
f0ccf6ea
AS
330372010-05-21 Andreas Schwab <schwab@redhat.com>
33038
3d04ff3a
AS
33039 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33040 and internal_recvmmsg.
33041 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33042 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33043 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33044 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33045
f0ccf6ea
AS
33046 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33047 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33048 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33049
5b08ac57
AS
330502010-05-20 Andreas Schwab <schwab@redhat.com>
33051
33052 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33053
4828935d
LM
330542010-05-17 Luis Machado <luisgpm@br.ibm.com>
33055
33056 POWER7 optimizations.
33057 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33058 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33059
373d545e
UD
330602010-05-19 Ulrich Drepper <drepper@redhat.com>
33061
33062 * version.h: Update for 2.13 development version.
33063
21a2b1ae
AS
330642010-05-12 Andrew Stubbs <ams@codesourcery.com>
33065
33066 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33067 exceptions. Return 0.
33068
3f7dcb2b
RM
330692010-05-07 Roland McGrath <roland@redhat.com>
33070
33071 * elf/ldconfig.c (main): Add a const.
33072
5f24d53a 330732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33074
a160f8d8
UD
33075 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33076 (args_options): Add no-idn option.
33077 (ahosts_keys_int): Add idn_flags to ai_flags.
33078 (parse_option): Handle 'i' option to clear idn_flags.
33079
5f24d53a
UD
33080 * malloc/malloc.c (_int_free): Possible race in the most recently
33081 added check. Only act on the data if no current modification
33082 happened.
265bb1ce
UD
33083
33084See ChangeLog.17 for earlier changes.
This page took 4.430771 seconds and 5 git commands to generate.